@charset "UTF-8";
/* ============================================================================
   config.scss  —  똑똑수학 공통 디자인 토큰 (Single Source of Truth)
   ----------------------------------------------------------------------------
   · 색상 / 버튼 치수 / 폰트 / breakpoint 등 "여러 파일에서 공통으로 쓰이는 값"을
     이 파일 한 곳에서만 정의합니다.
   · 각 scss 파일 최상단에서  @import 'config';  로 불러와 사용합니다.
   ※ 색상 토큰 접두사는 $c- 로 통일 (각 파일의 로컬 변수명과 충돌 방지)
   ============================================================================ */
/* ── 브랜드 · 퍼플 (2025 기존) ──────────────────────────────────────────── */
/* ── 브랜드 · 인디고 (버튼/포인트) ──────────────────────────────────────── */
/* ── 브랜드 · 바이올렛 (2026 리뉴얼 메인) ───────────────────────────────── */
/* ── 브랜드 · 보라 틴트(보조) ───────────────────────────────────────────── */
/* ── 액센트 ────────────────────────────────────────────────────────────── */
/* ── gray ────────────────────────────────────────────────────────────── */
/* ── 버튼 치수 · 폰트 토큰 ─────────────────────────────────────────────── */
/* ── 공통 믹스인 ───────────────────────────────────────────────────────── */
/* ── 반응형 breakpoint (신규 작업용 표준값) ────────────────────────────────
   ※ 기존 미디어쿼리는 값이 제각각(1200/1440/770/768/500/640…)이라 자동 치환하지
      않았습니다. 앞으로 새로 작성하는 반응형은 아래 믹스인 사용을 권장합니다.
      예)  @include respond-to($bp-sm) { ... }   또는   @include respond-to(600px) { ... }
   ------------------------------------------------------------------------- */
main {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 40px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 36px;
  width: 100%;
}
.hero:has(.teacher-hero) > .hero-right {
  height: 460px !important;
  min-height: 460px !important;
  max-height: 460px !important;
}
.hero-left {
  padding: 30px 10px 0 10px;
  position: relative;
  min-height: 460px;
  overflow: visible;
}
.hero-left.teacher-hero {
  padding: 0;
  height: 460px;
  min-height: 460px;
  max-height: 460px;
}
.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
}
.hero-title {
  font-size: 46px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 22px;
  white-space: nowrap;
  line-height: 1.4;
}
.hero-title .accent-blue {
  color: #3b82f6;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.hero-title .accent-green {
  display: inline-block;
  -webkit-animation: accentPop 3.5s ease-in-out infinite;
          animation: accentPop 3.5s ease-in-out infinite;
  color: #22c55e;
  -webkit-animation-delay: 0.35s;
          animation-delay: 0.35s;
}
.hero-title .accent-orange {
  display: inline-block;
  -webkit-animation: accentPop 3.5s ease-in-out infinite;
          animation: accentPop 3.5s ease-in-out infinite;
  color: #f97316;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.hero-title .accent-purple {
  display: inline-block;
  -webkit-animation: accentPop 3.5s ease-in-out infinite;
          animation: accentPop 3.5s ease-in-out infinite;
  color: #7c3aed;
  -webkit-animation-delay: 0.7s;
          animation-delay: 0.7s;
}
.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: #4b5563;
  margin-bottom: 32px;
}
.hero-cta {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #7c3aed 0, #6d28d9 100%);
  color: #fff !important;
  font-size: 20px;
  font-weight: 500;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  -webkit-box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35);
          box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35);
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  text-decoration: none;
  position: relative;
  -webkit-animation: ctaPulse 2.5s ease-in-out infinite;
          animation: ctaPulse 2.5s ease-in-out infinite;
}
.hero-cta:hover {
  -webkit-transform: translateY(-3px) scale(1.03);
          transform: translateY(-3px) scale(1.03);
  -webkit-box-shadow: 0 14px 32px rgba(124, 58, 237, 0.55);
          box-shadow: 0 14px 32px rgba(124, 58, 237, 0.55);
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
  color: white;
}
.hero-cta::before {
  content: "📖";
  font-size: 20px;
}
.hero-character {
  position: absolute;
  right: 20px;
  top: 0;
  width: 380px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  -webkit-animation: charBobble 4.5s ease-in-out infinite;
          animation: charBobble 4.5s ease-in-out infinite;
  -webkit-filter: drop-shadow(0 18px 30px rgba(124, 58, 237, 0.22));
          filter: drop-shadow(0 18px 30px rgba(124, 58, 237, 0.22));
}
.hero-character img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}
.hero-right {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 380px;
  -webkit-box-shadow: 0 12px 32px rgba(19, 78, 58, 0.25);
          box-shadow: 0 12px 32px rgba(19, 78, 58, 0.25);
  background: #134e3a;
}
.hero-right__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
}
.hero-right__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  opacity: 0;
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
  -webkit-transition: opacity 0.8s ease, -webkit-transform 6s ease;
  transition: opacity 0.8s ease, -webkit-transform 6s ease;
  transition: opacity 0.8s ease, transform 6s ease;
  transition: opacity 0.8s ease, transform 6s ease, -webkit-transform 6s ease;
  pointer-events: none;
}
.hero-right__img.is-active {
  opacity: 1;
  -webkit-transform: scale(1);
          transform: scale(1);
  pointer-events: auto;
}
.hero a {
  color: #fff;
}

.teacher-hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
}

.teacher-actions--grid {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  padding: 0;
  min-height: 0;
  height: 100%;
  overflow: visible;
}
.teacher-actions--grid .teacher-action--code {
  grid-column: 1;
  grid-row: 1;
}
.teacher-actions--grid .teacher-action--eval {
  grid-column: 1;
  grid-row: 2;
}
.teacher-actions--grid .teacher-action--play {
  grid-column: 2;
  grid-row: 1/span 2;
}

.teacher-action--imgcard {
  display: block;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  overflow: visible;
  position: relative;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-filter 0.4s ease;
  transition: -webkit-transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-filter 0.4s ease;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease, -webkit-transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-filter 0.4s ease;
  -webkit-filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1)) drop-shadow(0 10px 18px rgba(15, 23, 42, 0.14)) drop-shadow(0 24px 38px rgba(15, 23, 42, 0.1));
          filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.1)) drop-shadow(0 10px 18px rgba(15, 23, 42, 0.14)) drop-shadow(0 24px 38px rgba(15, 23, 42, 0.1));
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  border-radius: 18px;
}
.teacher-action--imgcard img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
  border-radius: 18px;
}
.teacher-action--imgcard:hover {
  -webkit-transform: translateY(-6px) scale(1.02);
          transform: translateY(-6px) scale(1.02);
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.teacher-action--imgcard:active {
  -webkit-transform: translateY(-2px) scale(1);
          transform: translateY(-2px) scale(1);
}

.teacher-action--code {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.teacher-action--code:hover {
  -webkit-filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.15)) drop-shadow(0 16px 26px rgba(124, 58, 237, 0.2)) drop-shadow(0 34px 52px rgba(15, 23, 42, 0.1));
          filter: drop-shadow(0 2px 4px rgba(124, 58, 237, 0.15)) drop-shadow(0 16px 26px rgba(124, 58, 237, 0.2)) drop-shadow(0 34px 52px rgba(15, 23, 42, 0.1));
}

.teacher-action--eval {
  -webkit-animation-delay: -1.8s;
          animation-delay: -1.8s;
}
.teacher-action--eval:hover {
  -webkit-filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.15)) drop-shadow(0 16px 26px rgba(249, 115, 22, 0.2)) drop-shadow(0 34px 52px rgba(15, 23, 42, 0.1));
          filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.15)) drop-shadow(0 16px 26px rgba(249, 115, 22, 0.2)) drop-shadow(0 34px 52px rgba(15, 23, 42, 0.1));
}

.teacher-action--play {
  -webkit-animation-delay: -3.6s;
          animation-delay: -3.6s;
}
.teacher-action--play:hover {
  -webkit-filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.15)) drop-shadow(0 16px 26px rgba(34, 197, 94, 0.2)) drop-shadow(0 34px 52px rgba(15, 23, 42, 0.1));
          filter: drop-shadow(0 2px 4px rgba(34, 197, 94, 0.15)) drop-shadow(0 16px 26px rgba(34, 197, 94, 0.2)) drop-shadow(0 34px 52px rgba(15, 23, 42, 0.1));
}

.teacher-actions-mobile {
  display: none;
}

.card-text {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 2;
  font-family: inherit;
}
.card-text--horizontal {
  padding: 0 19% 0 47%;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  text-align: left;
  gap: 4px;
}
.card-text--horizontal .card-title {
  font-size: clamp(18px, 2.05vw, 28px);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}
.card-text--horizontal .card-desc {
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 400;
  min-width: 300px;
  line-height: 1.3;
}
.card-text--code .card-title {
  color: #4c1d95;
}
.card-text--code .card-desc {
  color: #6d28d9;
}
.card-text--eval .card-title {
  color: #c2410c;
}
.card-text--eval .card-desc {
  color: #9a3412;
}
.card-text--title-only {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.card-text--title-only .card-title {
  font-size: clamp(20px, 2.4vw, 32px);
}
.card-text--vertical {
  padding: 60% 6% 6%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}
.card-text--vertical .card-text__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}
.card-text--vertical .card-title-large {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  color: #14532d;
  margin-bottom: 6px;
}
.card-text--vertical .card-desc {
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 500;
  color: #166534;
  line-height: 1.3;
}
.card-text--vertical .card-cta-text {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 9%;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #78e769 0%, #43bf73 100%);
  padding: 4px 26px;
  border-radius: 50px;
}
.card-text--vertical .card-cta-text::after {
  content: "→";
  font-size: 0.9em;
  font-weight: 700;
}

.taction {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 20px;
  font-family: inherit;
  text-align: left;
  -webkit-box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
          box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-box-shadow 0.25s ease;
  transition: -webkit-transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-box-shadow 0.25s ease;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, -webkit-transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-box-shadow 0.25s ease;
}
.taction:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.13);
          box-shadow: 0 14px 28px rgba(0, 0, 0, 0.13);
}
.taction:hover .taction__arrow {
  -webkit-transform: translateX(4px);
          transform: translateX(4px);
}
.taction:active {
  -webkit-transform: translateY(-1px);
          transform: translateY(-1px);
}
.taction__icon {
  width: 84px;
  height: 84px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: grid;
  place-items: center;
}
.taction__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  -webkit-filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
          filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
}
.taction__text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}
.taction__text strong {
  display: block;
  font-size: clamp(18px, 4.2vw, 20px);
  font-weight: 700;
}
.taction__text span {
  display: block;
  font-size: clamp(14px, 3vw, 16px);
  margin-top: 3px;
  font-weight: 500;
}
.taction__arrow {
  width: 38px;
  height: 38px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}
.taction--play {
  background: linear-gradient(135deg, #e7f8e9 0, #c9f0cf 100%);
}
.taction--play .taction__text strong {
  color: #15803d;
}
.taction--play .taction__text span {
  color: #3f7a4b;
}
.taction--play .taction__arrow {
  background: #22c55e;
}
.taction--code {
  background: linear-gradient(135deg, #efe7ff 0, #ddc9ff 100%);
}
.taction--code .taction__text strong {
  color: #5b21b6;
}
.taction--code .taction__text span {
  color: #6d28d9;
}
.taction--code .taction__arrow {
  background: #7c3aed;
}
.taction--eval {
  background: linear-gradient(135deg, #ffedd9 0, #ffd6a8 100%);
}
.taction--eval .taction__text strong {
  color: #c2410c;
}
.taction--eval .taction__text span {
  color: #9a3412;
}
.taction--eval .taction__arrow {
  background: #f97316;
}

.carousel-ctrl {
  position: absolute;
  bottom: 14px;
  right: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0px 10px;
  border-radius: 999px;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  z-index: 12;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.carousel-ctrl .nav {
  border: 0;
  padding: 0;
  background: transparent;
  color: #6b7280;
  font-weight: 700;
  font-size: 22px;
  cursor: pointer;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  -webkit-transition: background 0.15s ease, color 0.15s ease;
  transition: background 0.15s ease, color 0.15s ease;
}
.carousel-ctrl .nav:hover {
  background: #ede9fe;
  color: #7c3aed;
}
.carousel-ctrl__counter {
  padding: 0 6px;
  color: #4b5563;
  font-weight: 500;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.carousel-ctrl #bannerIdx {
  color: #7c3aed;
}

.carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
  z-index: 12;
}
.carousel-dots .dot {
  width: 14px;
  height: 14px;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: background 0.25s ease, width 0.25s ease;
  transition: background 0.25s ease, width 0.25s ease;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.carousel-dots .dot.is-active {
  width: 24px;
  background: #865dd5;
  border-radius: 999px;
}
.carousel-dots .dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 36px;
}

.feature-card {
  border-radius: 24px;
  padding: 20px 24px 20px 18px;
  -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
          box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  min-height: 200px;
  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-box-shadow 0.35s ease;
  transition: -webkit-transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-box-shadow 0.35s ease;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, -webkit-transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.feature-card:hover {
  -webkit-transform: translateY(-8px) scale(1.02);
          transform: translateY(-8px) scale(1.02);
  -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
          box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.feature-card:hover::before {
  left: 125%;
}
.feature-card:hover::after {
  -webkit-animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
          animation: iconBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.feature-card:hover .portal-ring {
  opacity: 0.65;
}
.feature-card:hover .portal-ring::before {
  opacity: 0.8;
}
.feature-card:hover .portal-ring::after {
  opacity: 0.8;
  -webkit-animation-duration: 0.8s;
          animation-duration: 0.8s;
}
.feature-card:hover .portal-arrow {
  -webkit-transform: translateX(8px) scale(1.2);
          transform: translateX(8px) scale(1.2);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  -webkit-transition: left 0.8s ease;
  transition: left 0.8s ease;
  pointer-events: none;
}
.feature-card.orange {
  background: linear-gradient(135deg, #fff1dc 0, #ffd9a8 100%);
}
.feature-card.orange .info h3 {
  color: #ea580c;
}
.feature-card.orange .portal {
  color: #ea580c;
}
.feature-card.orange::after {
  background-image: url("/resources/toctocmath/images/main-guest/icon-tool-20006be680e2979f39f26b1d3c082e4b.png?");
}
.feature-card.purple {
  background: linear-gradient(135deg, #dbe9ff 0, #a8c8ff 100%);
}
.feature-card.purple .info h3 {
  color: #2563eb;
}
.feature-card.purple .portal {
  color: #2563eb;
}
.feature-card.purple::after {
  background-image: url("/resources/toctocmath/images/main-guest/icon-reality-6babf3d7375e6b74449aa21aca982338.png");
}
.feature-card { /*20260713 실감형 콘텐츠으로 변경 아이콘 변경*/ }
.feature-card.violet {
  background: linear-gradient(135deg, #ecdfff 0, #c9b3ff 100%);
}
.feature-card.violet .info h3 {
  color: #8b5cf6;
}
.feature-card.violet .portal {
  color: #8b5cf6;
}
.feature-card.violet::after {
  background-image: url("/resources/toctocmath/images/main-guest/icon-data-ec721981c92660c3cb33533b79954360.png");
}
.feature-card::after {
  content: "";
  display: block;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
  width: 180px;
  height: 180px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  margin: -10px 0 -10px -8px;
  -webkit-animation: iconFloat 4.5s ease-in-out infinite;
          animation: iconFloat 4.5s ease-in-out infinite;
  -webkit-filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
          filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}
.feature-card:nth-child(2)::after {
  -webkit-animation-delay: -1.5s;
          animation-delay: -1.5s;
}
.feature-card:nth-child(3)::after {
  -webkit-animation-delay: -3s;
          animation-delay: -3s;
}
.feature-card .info {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.feature-card .info h3 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 14px;
  min-width: 300px;
}
.feature-card .info { /*20260707 자주묻는질문으로 변경시 타이틀 넓이 지정*/ }
.feature-card .info p {
  font-size: 18px;
  color: #363636;
  font-weight: 500;
  margin-bottom: 0;
  word-break: keep-all;
  min-width: 160px;
}
.feature-card .portal {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 90px;
  height: 90px;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.feature-card .portal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed currentColor;
  opacity: 0.35;
  -webkit-animation: portalSpin 8s linear infinite;
          animation: portalSpin 8s linear infinite;
}
.feature-card .portal-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.4;
}
.feature-card .portal-ring::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 0, transparent 70%);
  opacity: 0.25;
  -webkit-animation: portalGlow 2.5s ease-in-out infinite;
          animation: portalGlow 2.5s ease-in-out infinite;
}
.feature-card .portal-arrow {
  position: relative;
  font-size: 32px;
  font-weight: 900;
  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: -webkit-transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-shadow: 0 0 12px currentColor;
}

@media (max-width: 1440px) {
  .feature-card .info h3 {
    margin-bottom: 0px;
  }
  .feature-card .info p br {
    display: none;
  }
}
@media (max-width: 1200px) {
  main {
    margin: 40px 0;
  } /* 20260629 모바일일때 메인 상단 영역수정*/
  .app-card-body {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

.info-card {
  background: white;
  border-radius: 22px;
  padding: 26px 30px;
  -webkit-box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  min-height: 240px;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}
.info-card h2 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #1f2937;
  position: relative;
  padding-left: 60px;
}
.info-card h2:after {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 52px;
  height: 52px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  -webkit-filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
          filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}
.info-card h2.notice:after {
  background: url("/resources/toctocmath/images/main-guest/icon-notice-b87e63f10209c5af75f270c0d504bd5b.png") no-repeat center center/contain;
}
.info-card h2.app:after {
  background: url("/resources/toctocmath/images/main-guest/icon-app-fe07374f49180776fd76b780662a5379.png") no-repeat center center/contain;
}
.info-card h2.support:after {
  background: url("/resources/toctocmath/images/main-guest/icon-support-1d838d988544fede542ac606c3fe3722.png") no-repeat center center/contain;
}
.info-card h2 .ico {
  font-size: 32px;
}

.notice-list {
  list-style: none;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.notice-list li {
  padding: 13px 0;
  font-size: 18px;
  border-bottom: 1px dashed #e5e7eb;
}
.notice-list li:last-of-type {
  border-bottom: 0;
}
.notice-list li .date {
  color: #9ca3af;
  font-size: 16px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.notice-list__item-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  -webkit-transition: color 0.15s ease;
  transition: color 0.15s ease;
  min-width: 0;
}
.notice-list__item-link:hover .notice-list__title-text {
  color: #7c3aed;
}
.notice-list__item-link .date {
  color: #9ca3af;
  font-size: 16px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.notice-list__title {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  color: #374151;
  font-weight: 500;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  overflow: hidden;
}
.notice-list__title-text {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-transition: color 0.15s ease;
  transition: color 0.15s ease;
}
.notice-list__badge {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ec4899, #7c3aed);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
}

.more-link {
  position: absolute;
  right: 20px;
  top: 30px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px 14px;
  background: #f3f4f6;
  border-radius: 8px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  font-size: 14px;
}
.more-link:hover {
  background: #e5e7eb;
}

.app-card-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 18px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.app-text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}
.app-text__title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  white-space: nowrap;
}
.app-text__title .em {
  color: #7c3aed;
}
.app-text__desc {
  color: #6b7280;
  font-weight: 500;
  margin: 10px 0;
}

.app-subtitle {
  font-size: 20px;
  color: #4b5563;
  font-weight: 500;
  margin: 0;
}

.app-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.qr-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.qr-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.qr-img {
  width: 96px;
  height: 96px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  border-radius: 10px;
  background: white;
  padding: 4px;
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
          box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.qr-label {
  display: inline-block;
  padding: 5px 18px;
  background: #e5e7eb;
  color: #4b5563;
  font-weight: 500;
  border-radius: 999px;
}

.support-card .support-flow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  gap: 10px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.support-card .faq-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 12px 14px 12px 110px;
  background: #eef3ff;
  border-radius: 16px;
  text-decoration: none;
  -webkit-transition: -webkit-transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: -webkit-transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.support-card .faq-btn:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 76px;
  height: 76px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  -webkit-filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.18));
          filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.18));
  background: url("/resources/toctocmath/images/main-guest/icon-faq-efd4c6dcf67e11fa14fe61b825992d67.png") no-repeat center center/contain;
  -webkit-transition: -webkit-transform 0.25s ease;
  transition: -webkit-transform 0.25s ease;
  transition: transform 0.25s ease;
  transition: transform 0.25s ease, -webkit-transform 0.25s ease;
}
.support-card .faq-btn:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
.support-card .faq-btn:hover:after {
  -webkit-transform: translateY(-50%) rotate(-3deg) scale(1.05);
          transform: translateY(-50%) rotate(-3deg) scale(1.05);
}
.support-card .faq-btn .faq-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.support-card .faq-btn .faq-desc {
  font-size: 18px;
  color: #4b5563;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -1px;
}
.support-card .faq-btn .faq-desc .em {
  color: #1f2937;
  font-weight: 700;
}
.support-card .faq-btn .faq-go {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2px;
  color: #3b82f6;
  font-weight: 700;
  font-size: 18px;
}
.support-card .faq-btn .faq-go i {
  font-size: 20px;
}

.support-mini {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  gap: 20px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.support-mini .item {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  padding-left: 46px;
}
.support-mini .item .text-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1px;
}
.support-mini .item .label {
  color: #9ca3af;
  font-size: 16px;
  font-weight: 500;
}
.support-mini .item .val {
  color: #1f2937;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}
.support-mini .item:after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 42px;
  height: 42px;
  -o-object-fit: contain;
     object-fit: contain;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
          filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}
.support-mini .item.mail:after {
  background: url("/resources/toctocmath/images/main-guest/icon-mail-a776cf52793227444b908abb9630335d.png") no-repeat center center/contain;
}
.support-mini .item.tel:after {
  background: url("/resources/toctocmath/images/main-guest/icon-tel-63ff660cab40074b63f90594dce43e16.png") no-repeat center center/contain;
}

/* ==========================================================================
Layout Containers & Components / Feature Cards & Info Cards — Media Queries
========================================================================== */
@media (max-width: 1440px) {
  .app-text {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    min-width: 0;
    padding-left: 20px;
  }
  .app-text__title {
    text-align: left;
    font-size: 22px;
    margin-top: 10px;
  }
  .app-text__desc {
    text-align: left;
    font-size: 16px;
  }
  .app-card-body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .feature-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .feature-card .info h3, .feature-card .info p {
    text-align: center;
  }
  .hero:has(.teacher-hero) > .hero-right {
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
  }
  .hero-left.teacher-hero {
    height: 400px !important;
    min-height: 400px !important;
    max-height: 400px !important;
  }
}
@media (max-width: 1200px) {
  .container {
    padding: 20px 10px 0 10px;
  }
  .hero, .feature-row {
    grid-template-columns: 1fr;
  }
  .info-row {
    grid-template-columns: 1fr 1fr; /* 공지 100% + 앱/지원 50:50 */
  }
  .info-row > .info-card:first-child {
    grid-column: 1/-1;
  }
  .hero.has-teacher-hero .hero-right {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 16/9;
  }
  .hero-left {
    min-height: auto;
    padding: 20px 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
  }
  .hero-left.teacher-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    width: 100%;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    padding: 0;
    text-align: left;
  }
  .hero-copy {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-title {
    white-space: normal;
  }
  .hero-character {
    display: none;
  }
  .hero-right__track {
    min-height: 0;
    height: 100%;
  }
  .hero-right__img {
    width: 100%;
    height: 100%;
    min-height: 0;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .hero-right {
    min-height: auto;
    width: 100%;
    height: auto;
    background: #ece9f7;
    min-height: 400px;
  }
  .feature-card {
    min-height: 160px;
    padding: 18px 22px;
    gap: 16px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .feature-card::after {
    width: 130px;
    height: 130px;
    margin: -4px 0;
  }
  .feature-card .portal {
    width: 70px;
    height: 70px;
  }
  .feature-card .info h3 {
    font-size: 22px;
    text-align: left;
  }
  .feature-card .info p {
    text-align: left;
  }
  .feature-card .portal-arrow {
    font-size: 24px;
  }
  .feature-card:hover .portal-arrow {
    -webkit-transform: translateX(2px) scale(1);
            transform: translateX(2px) scale(1);
  }
  .app-card-body {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
  }
  .hero-cta {
    padding: 12px 26px;
    font-size: 18px;
  }
  .info-card {
    min-height: 200px;
    padding: 22px 22px;
  }
  .info-card h4 {
    font-size: 22px;
    gap: 10px;
    margin-bottom: 16px;
  }
  .info-card h4 .ico-img {
    width: 44px;
    height: 44px;
  }
  /*20260629 반응형시 배너이미지 잘림현상 추가 */
  .hero:has(.teacher-hero) > .hero-right {
    height: auto !important;
    min-height: 300px !important;
  }
  .more-link {
    right: 20px;
    font-size: 14px;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 20px 10px 0 10px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .hero-character {
    width: 220px;
  }
  .hero-right {
    min-height: 220px;
    border-radius: 18px;
  }
  .feature-card {
    padding: 16px 18px;
    gap: 12px;
    min-height: 140px;
    border-radius: 20px;
  }
  .feature-card::after {
    width: 100px;
    height: 100px;
  }
  .feature-card .portal {
    width: 56px;
    height: 56px;
  }
  .feature-card .info h3 {
    font-size: 20px;
    margin-bottom: 2px;
  }
  .feature-card .info p {
    margin-bottom: 0;
  }
  .feature-card .portal-arrow {
    font-size: 20px;
  }
  .info-card {
    padding: 20px;
    min-height: auto;
  }
  .info-card h4 {
    font-size: 20px;
  }
  .info-card h4 .ico-img {
    width: 38px;
    height: 38px;
  }
  /*20260629 반응형시 배너이미지 잘림현상 추가 */
  .hero:has(.teacher-hero) > .hero-right {
    min-height: 200px !important;
  }
}
@media (max-width: 380px) {
  .hero-title {
    font-size: 28px;
  }
  .feature-card::after {
    width: 86px;
    height: 86px;
  }
  .feature-card .portal {
    width: 48px;
    height: 48px;
  }
  .feature-card .info h3 {
    font-size: 18px;
  }
}
/* ==========================================================================
Guidebook Modal & Content
========================================================================== */
.guidebook {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 40px 80px 40px 40px;
}
.guidebook.is-open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-animation: gbFade 0.3s ease both;
          animation: gbFade 0.3s ease both;
}
.guidebook.is-closing {
  -webkit-animation: gbFadeOut 0.3s ease both;
          animation: gbFadeOut 0.3s ease both;
}
.guidebook.is-closing .guidebook__book {
  -webkit-animation: bookClose 0.3s ease both;
          animation: bookClose 0.3s ease both;
}
.guidebook__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(40, 20, 80, 0.55) 0, rgba(10, 5, 25, 0.85) 100%);
  backdrop-filter: blur(10px);
}
.guidebook__book {
  position: relative;
  width: min(1100px, 100%);
  height: min(680px, 88vh);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 14px;
  -webkit-box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 0 6px #92400e, 0 0 0 9px #78350f, inset 0 0 0 2px rgba(255, 255, 255, 0.35);
          box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), 0 0 0 6px #92400e, 0 0 0 9px #78350f, inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  -webkit-perspective: 2200px;
          perspective: 2200px;
  -webkit-animation: bookOpen 0.85s cubic-bezier(0.34, 1.4, 0.64, 1) both;
          animation: bookOpen 0.85s cubic-bezier(0.34, 1.4, 0.64, 1) both;
}
.guidebook__book::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 6px;
  margin-left: -3px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(120, 53, 15, 0.5)), color-stop(50%, rgba(180, 83, 9, 0.35)), to(rgba(120, 53, 15, 0.5)));
  background: linear-gradient(180deg, rgba(120, 53, 15, 0.5) 0, rgba(180, 83, 9, 0.35) 50%, rgba(120, 53, 15, 0.5) 100%);
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  z-index: 5;
  pointer-events: none;
}
.guidebook__close {
  position: absolute;
  top: -26px;
  right: -23px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid #fef3c7;
  background: #1f2937;
  color: white;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  z-index: 20;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.guidebook__close:hover {
  background: #ef4444;
  -webkit-transform: rotate(90deg) scale(1.05);
          transform: rotate(90deg) scale(1.05);
}
.guidebook__page {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 50px 48px;
  overflow-y: auto;
  position: relative;
}
.guidebook__page::-webkit-scrollbar {
  width: 6px;
}
.guidebook__page::-webkit-scrollbar-thumb {
  background: rgba(120, 53, 15, 0.25);
  border-radius: 3px;
}
.guidebook__page--left {
  border-radius: 8px 0 0 8px;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.15) 0, transparent 6%), radial-gradient(ellipse at 80% 20%, rgba(255, 235, 200, 0.4) 0, transparent 50%), linear-gradient(135deg, #fef9e7 0, #fdf2c4 100%);
}
.guidebook__page--right {
  border-radius: 0 8px 8px 0;
  background: linear-gradient(-90deg, rgba(120, 53, 15, 0.15) 0, transparent 6%), radial-gradient(ellipse at 20% 30%, rgba(255, 235, 200, 0.35) 0, transparent 50%), linear-gradient(135deg, #fdf2c4 0, #f4d4a0 100%);
}
.guidebook {
  /*20260701 서비스 소개 탭 위치변경*/
}
.guidebook__tabs {
  position: absolute;
  right: -94px;
  top: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 10;
}
.guidebook__tabs .tab {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 4px;
  width: 84px;
  min-height: 70px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #fbbf24 0, #f59e0b 100%);
  border: 0;
  border-radius: 0 14px 14px 0;
  cursor: pointer;
  color: #78350f;
  -webkit-transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  font-family: inherit;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}
.guidebook__tabs .tab:hover {
  width: 92px;
  -webkit-transform: translateX(4px);
          transform: translateX(4px);
}
.guidebook__tabs .tab.is-active {
  width: 100px;
  background: linear-gradient(135deg, #ea580c 0, #c2410c 100%);
  color: #fef3c7;
  -webkit-transform: translateX(6px);
          transform: translateX(6px);
  -webkit-box-shadow: 8px 4px 18px rgba(234, 88, 12, 0.55), inset -2px 0 0 rgba(120, 53, 15, 0.3);
          box-shadow: 8px 4px 18px rgba(234, 88, 12, 0.55), inset -2px 0 0 rgba(120, 53, 15, 0.3);
}
.guidebook__tabs .tab-emoji {
  font-size: 22px;
}

@-webkit-keyframes gbFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gbFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes gbFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes gbFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes bookOpen {
  0% {
    -webkit-transform: scale(0.2) rotateY(75deg);
            transform: scale(0.2) rotateY(75deg);
    opacity: 0;
  }
  60% {
    -webkit-transform: scale(1.02) rotateY(-5deg);
            transform: scale(1.02) rotateY(-5deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1) rotateY(0);
            transform: scale(1) rotateY(0);
    opacity: 1;
  }
}
@keyframes bookOpen {
  0% {
    -webkit-transform: scale(0.2) rotateY(75deg);
            transform: scale(0.2) rotateY(75deg);
    opacity: 0;
  }
  60% {
    -webkit-transform: scale(1.02) rotateY(-5deg);
            transform: scale(1.02) rotateY(-5deg);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1) rotateY(0);
            transform: scale(1) rotateY(0);
    opacity: 1;
  }
}
@-webkit-keyframes bookClose {
  to {
    -webkit-transform: scale(0.5) rotateY(60deg);
            transform: scale(0.5) rotateY(60deg);
    opacity: 0;
  }
}
@keyframes bookClose {
  to {
    -webkit-transform: scale(0.5) rotateY(60deg);
            transform: scale(0.5) rotateY(60deg);
    opacity: 0;
  }
}
/* Guidebook Inner Components */
.gb-cover {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  gap: 18px;
}
.gb-cover__badge {
  display: inline-block;
  padding: 6px 18px;
  background: #78350f;
  color: #fef3c7;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.gb-cover__title {
  font-family: "Jua", "Pretendard", sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: #78350f;
  text-shadow: 2px 2px 0 #fef3c7, 4px 4px 0 rgba(120, 53, 15, 0.2);
  margin: 8px 0;
  line-height: 1.2;
}
.gb-cover__title .accent {
  color: #ea580c;
}
.gb-cover__sub {
  font-size: 18px;
  color: #92400e;
  font-weight: 500;
}
.gb-cover__divider {
  width: 80px;
  height: 3px;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(#92400e), to(transparent));
  background: linear-gradient(90deg, transparent, #92400e, transparent);
  margin: 12px 0;
}
.gb-cover__stamp {
  margin-top: 22px;
  padding: 10px 20px;
  border: 3px double #92400e;
  border-radius: 8px;
  font-size: 14px;
  color: #92400e;
  font-weight: 700;
  -webkit-transform: rotate(-3deg);
          transform: rotate(-3deg);
  background: rgba(255, 255, 255, 0.3);
}
.gb-cover__emoji {
  font-size: 72px;
  margin-bottom: 6px;
  -webkit-filter: drop-shadow(0 6px 12px rgba(120, 53, 15, 0.35));
          filter: drop-shadow(0 6px 12px rgba(120, 53, 15, 0.35));
}

.gb-chapter {
  display: none;
  height: 100%;
}
.gb-chapter.is-active {
  display: block;
  -webkit-animation: pageFlipIn 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
          animation: pageFlipIn 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
  -webkit-transform-origin: left center;
          transform-origin: left center;
}
.gb-chapter__num {
  display: inline-block;
  padding: 3px 12px;
  background: #fbbf24;
  color: #78350f;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}
.gb-chapter__title {
  font-family: "Jua", "Pretendard", sans-serif;
  font-size: 36px;
  color: #78350f;
  font-weight: 700;
  margin: 0 0 18px;
  border-bottom: 2px dashed rgba(120, 53, 15, 0.35);
  padding-bottom: 14px;
  line-height: 1.1;
}
.gb-chapter__lead {
  font-size: 18px;
  color: #4b5563;
  font-weight: 500;
  margin-bottom: 22px;
}
.gb-chapter__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
}
.gb-chapter__list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  border-left: 3px solid #ea580c;
}
.gb-chapter__list .gb-li-icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  font-size: 28px;
}
.gb-chapter__list .gb-li-body strong {
  display: block;
  color: #78350f;
  font-weight: 700;
  margin-bottom: 3px;
  font-size: 18px;
}
.gb-chapter__list .gb-li-body span {
  font-size: 16px;
  color: #6b7280;
}
.gb-chapter__foot {
  margin-top: 22px;
  padding: 14px 18px;
  background: rgba(251, 191, 36, 0.18);
  border: 1px dashed #f59e0b;
  border-radius: 10px;
  font-size: 14px;
  color: #78350f;
  font-weight: 500;
}

@-webkit-keyframes pageFlipIn {
  0% {
    -webkit-transform: rotateY(-95deg);
            transform: rotateY(-95deg);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    opacity: 1;
  }
}

@keyframes pageFlipIn {
  0% {
    -webkit-transform: rotateY(-95deg);
            transform: rotateY(-95deg);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    -webkit-transform: rotateY(0);
            transform: rotateY(0);
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .info-row {
    grid-template-columns: 1fr; /* 900px 이하 : 세로 1열 */
  }
  .info-row > .info-card:first-child {
    grid-column: auto;
  }
  .guidebook {
    padding: 16px 12px;
  }
  .guidebook__book {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    width: 100%;
    margin-top: 10px;
  }
  .guidebook__book::before {
    display: none;
  }
  .guidebook__close {
    top: -24px;
    right: -8px;
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .guidebook__page--left {
    display: none;
  }
  .guidebook__page--right {
    border-radius: 8px;
    padding: 36px 22px 22px;
  }
  .guidebook__tabs {
    position: absolute;
    top: -49px;
    left: -10%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
  .guidebook__tabs .tab {
    -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
            writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: auto;
    min-height: 0;
    padding: 8px 14px;
    border-radius: 10px 10px 0 0;
    font-size: 14px;
  }
  .guidebook__tabs .tab:hover {
    width: auto;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  .guidebook__tabs .tab.is-active {
    width: auto;
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
    margin-top: -1px;
  }
  .guidebook__tabs .tab-emoji {
    font-size: 16px;
  }
  .gb-chapter__title {
    font-size: 26px;
  }
  .gb-chapter__lead {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .guidebook {
    min-width: 360px;
  }
  .guidebook__page--right {
    padding: 32px 16px 18px;
  }
  .guidebook__tabs {
    top: -44px;
    left: -20%;
  }
  .guidebook__tabs .tab {
    padding: 6px 11px;
    font-size: 14px;
  }
  .gb-chapter__title {
    font-size: 22px;
  }
}
/* ==========================================================================
Teacher Section
========================================================================== */
/* ==========================================================================
Header, App & UI Small Controls
========================================================================== */
.app-card-body {
  gap: 12px;
}

@media (max-width: 1440px) {
  .teacher-actions--grid {
    display: none;
  }
  .teacher-actions--grid .teacher-action--code, .teacher-actions--grid .teacher-action--eval, .teacher-actions--grid .teacher-action--play {
    grid-column: 1;
    grid-row: auto;
    height: clamp(150px, 23vw, 230px);
    min-height: 0;
  }
  .teacher-actions--grid .teacher-action--play {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
  .teacher-actions--grid .teacher-action--imgcard img {
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .teacher-actions--grid .teacher-action--code img, .teacher-actions--grid .teacher-action--eval img {
    -o-object-position: center;
       object-position: center;
  }
  .teacher-actions--grid .teacher-action--play img {
    -o-object-position: center bottom;
       object-position: center bottom;
  }
  .teacher-actions-mobile {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 14px;
    width: 100%;
    min-height: 0;
  }
  .teacher-actions-mobile .taction {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .card-text--horizontal {
    padding: 0 13% 0 44%;
  }
  .card-text--horizontal .card-title {
    font-size: clamp(18px, 3.8vw, 28px);
  }
  .card-text--horizontal .card-desc {
    font-size: clamp(12px, 2vw, 15px);
  }
  .card-text--title-only {
    padding-left: 50%;
  }
  .card-text--title-only .card-title {
    font-size: clamp(20px, 4.4vw, 30px);
  }
  .teacher-action--play .card-text--vertical {
    padding: 9% 6% 6%;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    gap: 4px;
  }
  .card-text--vertical .card-title-large {
    font-size: clamp(20px, 4vw, 30px);
    margin-bottom: 2px;
  }
  .card-text--vertical .card-desc {
    display: none;
  }
  .card-text--vertical .card-cta-text {
    font-size: clamp(16px, 3.4vw, 24px);
    margin-bottom: 6%;
  }
}
@media (max-width: 768px) {
  .app-text__title {
    font-size: 20px;
  }
  .app-text__desc {
    font-size: 16px;
  }
  .qr-img {
    width: 80px;
    height: 80px;
  }
  .qr-label {
    font-size: 14px;
    padding: 3px 12px;
  }
  .support-card .faq-btn {
    font-size: 18px;
    min-height: 60px;
  }
  .support-card .faq-btn .faq-desc {
    min-width: 140px;
  }
  .support-mini {
    margin-top: 10px;
  }
  .support-mini .ico-img {
    width: 28px;
    height: 28px;
  }
  .carousel-ctrl {
    padding: 5px 10px;
    font-size: 14px;
    bottom: 10px;
    right: 10px;
  }
}
@media (max-width: 640px) {
  .app-card-body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 14px;
  }
  .app-text {
    text-align: center;
  }
  .qr-row {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .notice-list li {
    padding: 10px 0;
    font-size: 16px;
  }
  .notice-list li .date {
    font-size: 14px;
  }
  .support-mini {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
@media (max-width: 400px) {
  .support-mini {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
/* ==========================================================================
Explorer Row & Adventure Cards
========================================================================== */
.explorer-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 22px;
  margin-bottom: 36px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

/* 20260629 넓이340-->280 수정보완*/
.explorer-card {
  position: relative;
  background: url("/resources/toctocmath/images/main-student/card-bg-e258247dd8f2589e0f0ea6fd1d822c66.png") no-repeat center/cover, linear-gradient(135deg, #2d1b69 0, #1e293b 100%);
  border-radius: 28px;
  padding: 28px 30px;
  overflow: hidden;
  -webkit-box-shadow: 0 16px 40px rgba(45, 27, 105, 0.35);
          box-shadow: 0 16px 40px rgba(45, 27, 105, 0.35);
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  min-height: 380px;
}
.explorer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(linear, left top, right top, color-stop(0, rgba(45, 27, 105, 0.55)), color-stop(35%, rgba(45, 27, 105, 0.25)), color-stop(60%, transparent));
  background: linear-gradient(90deg, rgba(45, 27, 105, 0.55) 0, rgba(45, 27, 105, 0.25) 35%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.explorer-card > * {
  position: relative;
  z-index: 1;
}
.explorer-card__main {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.explorer-card__main .explorer-stats {
  margin-top: auto;
}
.explorer-card__cave {
  position: relative;
  min-height: 340px;
  min-width: 0;
}
.explorer-card__cave.is-walking .cave-tiger {
  -webkit-animation: tigerTurnAway 0.45s ease-in forwards;
          animation: tigerTurnAway 0.45s ease-in forwards;
}
.explorer-card__cave.is-walking .cave-tiger-walk {
  -webkit-animation: tigerWalkNatural 1.8s cubic-bezier(0.33, 0.04, 0.43, 1) 0.4s forwards;
          animation: tigerWalkNatural 1.8s cubic-bezier(0.33, 0.04, 0.43, 1) 0.4s forwards;
}
.explorer-card__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  font-size: 32px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  margin: 0;
}
.explorer-card__title img {
  width: 52px;
  height: 52px;
  -webkit-filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
          filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}
.explorer-card__sub {
  margin: 0;
  opacity: 0.92;
  font-size: 16px;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Floating Sparkles inside Explorer Card */
.explorer-sparkle {
  position: absolute;
  color: #fff;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.9);
  z-index: 2;
  pointer-events: none;
  -webkit-animation: sparkleFloat 3s ease-in-out infinite;
          animation: sparkleFloat 3s ease-in-out infinite;
}
.explorer-sparkle.s1 {
  top: 14%;
  left: 46%;
  font-size: 22px;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.explorer-sparkle.s2 {
  top: 24%;
  left: 92%;
  font-size: 18px;
  -webkit-animation-delay: 1s;
          animation-delay: 1s;
}
.explorer-sparkle.s3 {
  top: 8%;
  left: 62%;
  font-size: 16px;
  -webkit-animation-delay: 2s;
          animation-delay: 2s;
}

@-webkit-keyframes sparkleFloat {
  0%, 100% {
    opacity: 0.5;
    -webkit-transform: scale(0.85) rotate(0);
            transform: scale(0.85) rotate(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1.15) rotate(15deg);
            transform: scale(1.15) rotate(15deg);
  }
}

@keyframes sparkleFloat {
  0%, 100% {
    opacity: 0.5;
    -webkit-transform: scale(0.85) rotate(0);
            transform: scale(0.85) rotate(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1.15) rotate(15deg);
            transform: scale(1.15) rotate(15deg);
  }
}
@media (max-width: 1440px) {
  .explorer-row {
    grid-template-columns: 1fr 1fr;
    margin-top: 30px;
  }
  .explorer-card {
    grid-auto-flow: row;
    grid-template-columns: auto;
  }
  .explorer-card__cave {
    min-height: 190px;
  }
}
@media (max-width: 1200px) {
  .explorer-row {
    grid-template-columns: 1fr;
  }
  .explorer-card {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    min-height: 0;
  }
  .explorer-card__cave {
    min-height: 240px;
  }
}
/* Cave Characters & CTA */
.cave-tiger {
  position: absolute;
  left: 38%;
  bottom: 12%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 60%;
  max-width: 200px;
  z-index: 3;
  pointer-events: none;
  -webkit-animation: tigerBob 3s ease-in-out infinite;
          animation: tigerBob 3s ease-in-out infinite;
  -webkit-filter: drop-shadow(0 0 18px rgba(251, 191, 36, 0.45)) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
          filter: drop-shadow(0 0 18px rgba(251, 191, 36, 0.45)) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  -webkit-transform-origin: 50% 80%;
          transform-origin: 50% 80%;
}

.cave-tiger-walk {
  position: absolute;
  left: 38%;
  bottom: 12%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 60%;
  max-width: 200px;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  -webkit-filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
          filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  -webkit-transform-origin: 50% 90%;
          transform-origin: 50% 90%;
}

@-webkit-keyframes tigerBob {
  0%, 100% {
    -webkit-transform: translateX(-50%) translateY(0) rotate(-1deg);
            transform: translateX(-50%) translateY(0) rotate(-1deg);
  }
  50% {
    -webkit-transform: translateX(-50%) translateY(-6px) rotate(1deg);
            transform: translateX(-50%) translateY(-6px) rotate(1deg);
  }
}

@keyframes tigerBob {
  0%, 100% {
    -webkit-transform: translateX(-50%) translateY(0) rotate(-1deg);
            transform: translateX(-50%) translateY(0) rotate(-1deg);
  }
  50% {
    -webkit-transform: translateX(-50%) translateY(-6px) rotate(1deg);
            transform: translateX(-50%) translateY(-6px) rotate(1deg);
  }
}
@-webkit-keyframes tigerTurnAway {
  0% {
    opacity: 1;
    -webkit-transform: translateX(-50%) scaleX(1) rotate(0);
            transform: translateX(-50%) scaleX(1) rotate(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: translateX(-50%) scaleX(0.18) rotate(2deg);
            transform: translateX(-50%) scaleX(0.18) rotate(2deg);
  }
  51% {
    opacity: 0;
    -webkit-transform: translateX(-50%) scaleX(0.18) rotate(0);
            transform: translateX(-50%) scaleX(0.18) rotate(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(-50%) scaleX(1) rotate(0);
            transform: translateX(-50%) scaleX(1) rotate(0);
  }
}
@keyframes tigerTurnAway {
  0% {
    opacity: 1;
    -webkit-transform: translateX(-50%) scaleX(1) rotate(0);
            transform: translateX(-50%) scaleX(1) rotate(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: translateX(-50%) scaleX(0.18) rotate(2deg);
            transform: translateX(-50%) scaleX(0.18) rotate(2deg);
  }
  51% {
    opacity: 0;
    -webkit-transform: translateX(-50%) scaleX(0.18) rotate(0);
            transform: translateX(-50%) scaleX(0.18) rotate(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateX(-50%) scaleX(1) rotate(0);
            transform: translateX(-50%) scaleX(1) rotate(0);
  }
}
@-webkit-keyframes tigerWalkNatural {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(0) scale(1);
            transform: translateX(-50%) translateY(0) scale(1);
  }
  15% {
    opacity: 1;
    -webkit-transform: translateX(-50%) translateY(0) scale(1);
            transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: translate(-38%, -18px) scale(0.88) rotate(-1.5deg);
            transform: translate(-38%, -18px) scale(0.88) rotate(-1.5deg);
  }
  78% {
    opacity: 0.9;
    -webkit-transform: translate(-20%, -42px) scale(0.6) rotate(1deg);
            transform: translate(-20%, -42px) scale(0.6) rotate(1deg);
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(-5%, -76px) scale(0.32) rotate(0);
            transform: translate(-5%, -76px) scale(0.32) rotate(0);
  }
}
@keyframes tigerWalkNatural {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(0) scale(1);
            transform: translateX(-50%) translateY(0) scale(1);
  }
  15% {
    opacity: 1;
    -webkit-transform: translateX(-50%) translateY(0) scale(1);
            transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: translate(-38%, -18px) scale(0.88) rotate(-1.5deg);
            transform: translate(-38%, -18px) scale(0.88) rotate(-1.5deg);
  }
  78% {
    opacity: 0.9;
    -webkit-transform: translate(-20%, -42px) scale(0.6) rotate(1deg);
            transform: translate(-20%, -42px) scale(0.6) rotate(1deg);
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(-5%, -76px) scale(0.32) rotate(0);
            transform: translate(-5%, -76px) scale(0.32) rotate(0);
  }
}
.cave-cta {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 92%;
  max-width: 300px;
  -webkit-filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
          filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.45));
  -webkit-transition: -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  transition: -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  transition: transform 0.2s ease, filter 0.2s ease;
  transition: transform 0.2s ease, filter 0.2s ease, -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  -webkit-animation: ctaShine 2.6s ease-in-out infinite;
          animation: ctaShine 2.6s ease-in-out infinite;
}
.cave-cta img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.cave-cta:hover {
  -webkit-transform: translateY(-4px) scale(1.04);
          transform: translateY(-4px) scale(1.04);
  -webkit-filter: drop-shadow(0 18px 28px rgba(251, 191, 36, 0.6));
          filter: drop-shadow(0 18px 28px rgba(251, 191, 36, 0.6));
}
.cave-cta:active {
  -webkit-transform: translateY(-1px) scale(1.01);
          transform: translateY(-1px) scale(1.01);
}

@-webkit-keyframes ctaShine {
  0%, 100% {
    -webkit-filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.4));
            filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.4));
  }
  50% {
    -webkit-filter: drop-shadow(0 14px 28px rgba(251, 191, 36, 0.55));
            filter: drop-shadow(0 14px 28px rgba(251, 191, 36, 0.55));
  }
}

@keyframes ctaShine {
  0%, 100% {
    -webkit-filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.4));
            filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.4));
  }
  50% {
    -webkit-filter: drop-shadow(0 14px 28px rgba(251, 191, 36, 0.55));
            filter: drop-shadow(0 14px 28px rgba(251, 191, 36, 0.55));
  }
}
/* Explorer Statistics Panel */
.explorer-stats {
  list-style: none;
  margin: 12px 0 0;
  padding: 14px 24px 14px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr;
  gap: 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 16px;
  z-index: 2;
}
.explorer-stats li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  min-width: 0;
}
.explorer-stats li img {
  width: 38px;
  height: 38px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
          filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.stat-col {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700;
  font-size: 14px;
}

.stat-bar {
  position: relative;
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  overflow: hidden;
  margin: 4px 0;
}
.stat-bar__fill {
  height: 100%;
  border-radius: 999px;
  -webkit-transition: width 0.8s ease;
  transition: width 0.8s ease;
  -webkit-box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
          box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.stat-bar__fill.green {
  background: -webkit-gradient(linear, left top, right top, from(#84cc16), to(#22c55e));
  background: linear-gradient(90deg, #84cc16, #22c55e);
}
.stat-bar__fill.purple {
  background: -webkit-gradient(linear, left top, right top, from(#c084fc), to(#a855f7));
  background: linear-gradient(90deg, #c084fc, #a855f7);
}
.stat-bar__pct {
  position: absolute;
  right: 0;
  top: -20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.stat-meta {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.stat-meta strong {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.stat-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}

/* 20260629 폰트 사이즈 변경*/
.stat-time {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* Recent Activity Feed */
.recent-activity {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.96);
  padding: 16px 20px;
  border-radius: 18px;
  -webkit-box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
          box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  color: #1f2937;
  max-width: 560px;
  cursor: default;
}
.recent-activity__icon {
  width: 52px;
  height: 52px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.recent-activity__text {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}
.recent-activity__meta {
  margin: 0 0 5px;
  color: #6b7280;
  font-weight: 500;
}
.recent-activity__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f1545;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .explorer-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 16px 14px;
  }
  .recent-activity {
    max-width: none;
  }
}
/* ==========================================================================
Animal / Creature Collections
========================================================================== */
.animal-card {
  background: white;
  border-radius: 26px;
  padding: 22px 24px;
  -webkit-box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
          box-shadow: 0 10px 26px rgba(0, 0, 0, 0.08);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}
.animal-card__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 14px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.animal-card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.animal-card__title .paw {
  font-size: 22px;
}
.animal-card__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 18px;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: 0;
}

.rewards-row--inline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.rewards-row--inline .reward {
  padding: 5px 10px;
  font-size: 14px;
  gap: 5px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.rewards-row--inline .reward img {
  width: 20px;
  height: 20px;
}

.reward {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #faf5ff 0, #f3eeff 100%);
  border-radius: 999px;
  -webkit-box-shadow: inset 0 0 0 1.5px #ddd6fe, 0 1px 3px rgba(124, 58, 237, 0.08);
          box-shadow: inset 0 0 0 1.5px #ddd6fe, 0 1px 3px rgba(124, 58, 237, 0.08);
  font-weight: 700;
  color: #1f1545;
  min-width: 0;
}
.reward img {
  width: 24px;
  height: 24px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

/* Creature Stats Card */
.creature-card {
  position: relative;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 200px;
  height: 320px;
  min-height: 320px;
  max-height: 320px;
  border-radius: 22px;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, #7c3aed 0, #4c1d95 45%, #1e1b4b 100%);
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 14px 12px 0;
  -webkit-box-shadow: 0 14px 30px rgba(76, 29, 149, 0.5), inset 0 0 0 3px rgba(255, 255, 255, 0.22), inset 0 0 60px rgba(124, 58, 237, 0.4), inset 0 -10px 30px rgba(0, 0, 0, 0.35);
          box-shadow: 0 14px 30px rgba(76, 29, 149, 0.5), inset 0 0 0 3px rgba(255, 255, 255, 0.22), inset 0 0 60px rgba(124, 58, 237, 0.4), inset 0 -10px 30px rgba(0, 0, 0, 0.35);
  contain: layout style;
}
.creature-card__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.creature-card__ribbon {
  position: absolute;
  top: 12px;
  right: -32px;
  background: linear-gradient(135deg, #fb7185, #e11d48);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 4px 36px;
  -webkit-transform: rotate(35deg);
          transform: rotate(35deg);
  -webkit-box-shadow: 0 4px 10px rgba(225, 29, 72, 0.5);
          box-shadow: 0 4px 10px rgba(225, 29, 72, 0.5);
  z-index: 4;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.creature-card__rank {
  position: relative;
  z-index: 3;
  margin-top: 4px;
  color: #facc15;
  font-size: 20px;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.95);
}
.creature-card__halo {
  position: absolute;
  left: 50%;
  top: 55%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 75%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.55) 0, rgba(251, 191, 36, 0.25) 35%, transparent 70%);
  -webkit-filter: blur(8px);
          filter: blur(8px);
  z-index: 1;
  -webkit-animation: haloGlow 3.2s ease-in-out infinite;
          animation: haloGlow 3.2s ease-in-out infinite;
}
.creature-card__char {
  position: relative;
  z-index: 2;
  width: 85%;
  max-width: 170px;
  height: 180px;
  max-height: 180px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: auto auto 4px;
  -webkit-filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
          filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.55));
  -webkit-animation: charBob 3.5s ease-in-out infinite;
          animation: charBob 3.5s ease-in-out infinite;
  -webkit-transition: opacity 0.25s ease, -webkit-filter 0.25s ease;
  transition: opacity 0.25s ease, -webkit-filter 0.25s ease;
  transition: opacity 0.25s ease, filter 0.25s ease;
  transition: opacity 0.25s ease, filter 0.25s ease, -webkit-filter 0.25s ease;
}
.creature-card__nameplate {
  position: relative;
  z-index: 3;
  width: calc(100% + 24px);
  margin: 0 -12px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0.45)), to(rgba(0, 0, 0, 0.78)));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0, rgba(0, 0, 0, 0.78) 100%);
  border-top: 2px solid rgba(251, 191, 36, 0.55);
  padding: 9px 8px 11px;
  text-align: center;
}
.creature-card__name {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.creature-card__role {
  margin: 2px 0 0;
  color: #facc15;
  font-size: 14px;
  font-weight: 500;
}
.creature-card.is-swapping .creature-card__char {
  -webkit-animation: cardSwap 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
          animation: cardSwap 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.creature-card.is-not-newest .creature-card__ribbon {
  opacity: 0;
  pointer-events: none;
}
.creature-card.is-locked .creature-card__char {
  -webkit-filter: brightness(0) opacity(0.22);
          filter: brightness(0) opacity(0.22);
  -webkit-animation: none;
          animation: none;
}
.creature-card.is-locked .creature-card__halo {
  opacity: 0.25;
}
.creature-card.is-locked .creature-card__rank {
  color: rgba(255, 255, 255, 0.35);
  text-shadow: none;
}
.creature-card.is-locked .creature-card__ribbon {
  display: none;
}
.creature-card.is-locked .creature-card__name {
  color: rgba(255, 255, 255, 0.65);
}
.creature-card.is-locked .creature-card__role {
  color: rgba(251, 191, 36, 0.55);
}

@media (max-width: 1440px) {
  .animal-card__body {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}
@media (max-width: 1200px) {
  .animal-card__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .creature-card {
    width: 100%;
    max-width: 240px;
  }
}
/* Background Paw Padded Elements */
.deco-paw {
  position: absolute;
  color: rgba(255, 255, 255, 0.1);
  font-size: 22px;
}
.deco-paw--1 {
  top: 18%;
  left: 8%;
  -webkit-transform: rotate(-20deg);
          transform: rotate(-20deg);
}
.deco-paw--2 {
  bottom: 38%;
  right: 6%;
  -webkit-transform: rotate(15deg);
          transform: rotate(15deg);
  font-size: 16px;
}
.deco-paw--3 {
  top: 42%;
  left: 78%;
  -webkit-transform: rotate(-8deg);
          transform: rotate(-8deg);
  font-size: 14px;
}

.deco-star {
  position: absolute;
  color: #facc15;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.9);
  -webkit-animation: starTwinkle 2.5s ease-in-out infinite;
          animation: starTwinkle 2.5s ease-in-out infinite;
  pointer-events: none;
}
.deco-star--1 {
  top: 10%;
  left: 18%;
  font-size: 16px;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
}
.deco-star--2 {
  top: 22%;
  right: 18%;
  font-size: 14px;
  -webkit-animation-delay: 0.8s;
          animation-delay: 0.8s;
}
.deco-star--3 {
  top: 8%;
  left: 50%;
  font-size: 14px;
  -webkit-animation-delay: 1.6s;
          animation-delay: 1.6s;
}

@-webkit-keyframes starTwinkle {
  0%, 100% {
    opacity: 0.35;
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 0.35;
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
  }
  50% {
    opacity: 1;
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}
@-webkit-keyframes haloGlow {
  0%, 100% {
    opacity: 0.85;
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
            transform: translate(-50%, -50%) scale(1.1);
  }
}
@keyframes haloGlow {
  0%, 100% {
    opacity: 0.85;
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    -webkit-transform: translate(-50%, -50%) scale(1.1);
            transform: translate(-50%, -50%) scale(1.1);
  }
}
@-webkit-keyframes charBob {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
  }
}
@keyframes charBob {
  0%, 100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  50% {
    -webkit-transform: translateY(-4px);
            transform: translateY(-4px);
  }
}
@-webkit-keyframes cardSwap {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  40% {
    opacity: 0;
    -webkit-transform: scale(0.7) rotate(-8deg);
            transform: scale(0.7) rotate(-8deg);
  }
  60% {
    opacity: 0;
    -webkit-transform: scale(0.7) rotate(8deg);
            transform: scale(0.7) rotate(8deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0);
            transform: scale(1) rotate(0);
  }
}
@keyframes cardSwap {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  40% {
    opacity: 0;
    -webkit-transform: scale(0.7) rotate(-8deg);
            transform: scale(0.7) rotate(-8deg);
  }
  60% {
    opacity: 0;
    -webkit-transform: scale(0.7) rotate(8deg);
            transform: scale(0.7) rotate(8deg);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) rotate(0);
            transform: scale(1) rotate(0);
  }
}
/* ==========================================================================
Collection Album Grid
========================================================================== */
.collection-album {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: linear-gradient(135deg, #ecfdf5 0, #d1fae5 100%);
  border-radius: 16px;
  padding: 12px 14px;
  -webkit-box-shadow: inset 0 0 0 1.5px #bbf7d0, 0 2px 6px rgba(34, 197, 94, 0.06);
          box-shadow: inset 0 0 0 1.5px #bbf7d0, 0 2px 6px rgba(34, 197, 94, 0.06);
  gap: 10px;
}
.collection-album__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.collection-album__label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #166534;
  font-weight: 700;
}
.collection-album__label img {
  width: 18px;
  height: 18px;
}
.collection-album__count {
  font-size: 14px;
  color: #166534;
  font-weight: 700;
}
.collection-album__count strong {
  color: #047857;
  font-size: 20px;
  font-weight: 700;
  margin-right: 1px;
}
.collection-album__grid {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  -ms-flex-line-pack: stretch;
      align-content: stretch;
}
.collection-album__foot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 10px;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.collection-album__hint {
  margin: 0;
  font-size: 14px;
  color: #15803d;
  font-weight: 500;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-width: 0;
}
.collection-album__hint strong {
  color: #065f46;
  font-weight: 700;
}

.album-slot {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 40%, rgba(34, 197, 94, 0.15) 0, rgba(255, 255, 255, 0.9) 70%);
  border: 2px dashed rgba(34, 197, 94, 0.35);
  border-radius: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  -webkit-transition: outline-offset 0.15s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
  transition: outline-offset 0.15s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
  transition: transform 0.15s ease, box-shadow 0.2s ease, outline-offset 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.2s ease, outline-offset 0.15s ease, -webkit-transform 0.15s ease, -webkit-box-shadow 0.2s ease;
}
.album-slot:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
}
.album-slot.is-selected {
  outline: 3px solid #06b6d4;
  outline-offset: 2px;
  -webkit-transform: translateY(-2px) scale(1.02);
          transform: translateY(-2px) scale(1.02);
  -webkit-box-shadow: 0 6px 14px rgba(6, 182, 212, 0.35);
          box-shadow: 0 6px 14px rgba(6, 182, 212, 0.35);
}
.album-slot.is-selected.album-slot--owned {
  outline-color: #f59e0b;
  -webkit-box-shadow: 0 6px 14px rgba(245, 158, 11, 0.45);
          box-shadow: 0 6px 14px rgba(245, 158, 11, 0.45);
}
.album-slot img {
  width: 92%;
  height: 92%;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  pointer-events: none;
}
.album-slot:not(.album-slot--owned) img {
  -webkit-filter: brightness(0) opacity(0.18);
          filter: brightness(0) opacity(0.18);
}
.album-slot__lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  color: rgba(22, 101, 52, 0.55);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
}
.album-slot--owned {
  background: linear-gradient(135deg, #fde047 0, #f59e0b 100%);
  border: 2px solid #d97706;
  -webkit-box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
          box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
  -webkit-animation: ownedPulse 2.8s ease-in-out infinite;
          animation: ownedPulse 2.8s ease-in-out infinite;
}
.album-slot--owned img {
  width: 94%;
  height: 94%;
  -webkit-filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
          filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

@-webkit-keyframes ownedPulse {
  0%, 100% {
    -webkit-box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
            box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
  }
  50% {
    -webkit-box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55), 0 0 0 3px rgba(251, 191, 36, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
            box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55), 0 0 0 3px rgba(251, 191, 36, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
  }
}

@keyframes ownedPulse {
  0%, 100% {
    -webkit-box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
            box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
  }
  50% {
    -webkit-box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55), 0 0 0 3px rgba(251, 191, 36, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
            box-shadow: 0 4px 14px rgba(245, 158, 11, 0.55), 0 0 0 3px rgba(251, 191, 36, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.6), inset 0 -3px 0 rgba(180, 83, 9, 0.25);
  }
}
.album-more-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: linear-gradient(135deg, #16a34a 0, #15803d 100%);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  -webkit-box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
          box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  -webkit-transition: -webkit-transform 0.15s ease, -webkit-filter 0.2s ease;
  transition: -webkit-transform 0.15s ease, -webkit-filter 0.2s ease;
  transition: transform 0.15s ease, filter 0.2s ease;
  transition: transform 0.15s ease, filter 0.2s ease, -webkit-transform 0.15s ease, -webkit-filter 0.2s ease;
  white-space: nowrap;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.album-more-btn:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-filter: brightness(1.08);
          filter: brightness(1.08);
}
.album-more-btn .ico {
  font-size: 14px;
}
.album-more-btn em {
  font-style: normal;
  font-weight: 700;
}

/* ==========================================================================
Modals & Overall Layout Overrides / Album Modal Component
========================================================================== */
.album-modal {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(120, 53, 15, 0.55) 0, rgba(10, 5, 25, 0.92) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 9500;
  padding: 24px;
  opacity: 0;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}
.album-modal.is-open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 1;
  -webkit-animation: albumModalIn 0.35s ease-out;
          animation: albumModalIn 0.35s ease-out;
}
.album-modal.is-open .album-modal__inner {
  -webkit-transform: scale(1) translateY(0);
          transform: scale(1) translateY(0);
}
.album-modal__inner {
  width: 1300px;
  max-width: 100%;
  height: 800px;
  max-height: 92vh;
  background: radial-gradient(ellipse at 50% 0, rgba(254, 243, 199, 0.9) 0, transparent 60%), linear-gradient(135deg, #fef3c7 0, #fde68a 50%, #fbbf24 100%);
  border-radius: 24px;
  -webkit-box-shadow: 0 0 0 5px rgba(146, 64, 14, 0.85), 0 0 0 8px rgba(251, 191, 36, 0.55), 0 30px 70px rgba(0, 0, 0, 0.6);
          box-shadow: 0 0 0 5px rgba(146, 64, 14, 0.85), 0 0 0 8px rgba(251, 191, 36, 0.55), 0 30px 70px rgba(0, 0, 0, 0.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  overflow: hidden;
  -webkit-transform: scale(0.92) translateY(20px);
          transform: scale(0.92) translateY(20px);
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), -webkit-transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.album-modal__head {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0, transparent 60%), linear-gradient(135deg, #78350f 0, #92400e 100%);
  color: #fef3c7;
  border-bottom: 4px solid rgba(251, 191, 36, 0.85);
  -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
          box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}
.album-modal__head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.album-modal__scroll-ico {
  font-size: 28px;
}
.album-modal__count {
  margin-left: auto;
  padding: 7px 18px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 999px;
  font-weight: 700;
  color: #fef3c7;
}
.album-modal__count strong {
  color: #fde047;
  font-size: 20px;
  margin-right: 2px;
}
.album-modal__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.9);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  -webkit-box-shadow: 0 4px 12px rgba(244, 63, 94, 0.5);
          box-shadow: 0 4px 12px rgba(244, 63, 94, 0.5);
  -webkit-transition: background 0.2s ease, -webkit-transform 0.15s ease;
  transition: background 0.2s ease, -webkit-transform 0.15s ease;
  transition: transform 0.15s ease, background 0.2s ease;
  transition: transform 0.15s ease, background 0.2s ease, -webkit-transform 0.15s ease;
}
.album-modal__close:hover {
  background: #e11d48;
  -webkit-transform: scale(1.08) rotate(90deg);
          transform: scale(1.08) rotate(90deg);
}
.album-modal__close:focus-visible {
  outline: 2px dashed #fff;
  outline-offset: 1px;
}
.album-modal__body {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 28px;
  background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.35) 0, transparent 30%), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.25) 0, transparent 30%);
  scrollbar-width: thin;
  scrollbar-color: #92400e rgba(146, 64, 14, 0.15);
}
.album-modal__body::-webkit-scrollbar {
  width: 10px;
}
.album-modal__body::-webkit-scrollbar-track {
  background: rgba(146, 64, 14, 0.15);
  border-radius: 999px;
}
.album-modal__body::-webkit-scrollbar-thumb {
  background: -webkit-gradient(linear, left top, left bottom, from(#92400e), to(#78350f));
  background: linear-gradient(180deg, #92400e, #78350f);
  border-radius: 999px;
}
.album-modal__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}

body.is-album-open .ai-bot, body.is-album-open .chatbot-layer {
  display: none !important;
}

@-webkit-keyframes albumModalIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes albumModalIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* ==========================================================================
Album Card Component
========================================================================== */
.album-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  -webkit-transition: -webkit-transform 0.15s ease;
  transition: -webkit-transform 0.15s ease;
  transition: transform 0.15s ease;
  transition: transform 0.15s ease, -webkit-transform 0.15s ease;
}
.album-card:hover {
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
.album-card:not(.album-card--owned) .album-card__frame img {
  -webkit-filter: brightness(0) opacity(0.2);
          filter: brightness(0) opacity(0.2);
}
.album-card__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 40%, rgba(146, 64, 14, 0.25) 0, rgba(255, 255, 255, 0.8) 70%);
  border: 2px dashed rgba(146, 64, 14, 0.35);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.album-card__frame img {
  width: 92%;
  height: 92%;
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  pointer-events: none;
}
.album-card__lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: rgba(120, 53, 15, 0.55);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  pointer-events: none;
}
.album-card__grade {
  position: absolute;
  top: 4px;
  right: 4px;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.album-card__name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(120, 53, 15, 0.85);
}
.album-card--owned .album-card__frame {
  background: linear-gradient(135deg, #fde047 0, #f59e0b 100%);
  border: 2px solid #b45309;
  -webkit-box-shadow: 0 6px 14px rgba(245, 158, 11, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.55), inset 0 -4px 0 rgba(180, 83, 9, 0.3);
          box-shadow: 0 6px 14px rgba(245, 158, 11, 0.4), inset 0 0 0 2px rgba(255, 255, 255, 0.55), inset 0 -4px 0 rgba(180, 83, 9, 0.3);
}
.album-card--owned .album-card__frame img {
  -webkit-filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
          filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}
.album-card--owned .album-card__name {
  color: #78350f;
}

@media (max-width: 1200px) {
  .collection-album {
    width: 100%;
  }
  .collection-album__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
@media (max-width: 1380px) {
  .album-modal__grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .album-modal__inner {
    height: auto;
    max-height: 92vh;
  }
  .album-modal__head h2 {
    font-size: 20px;
  }
  .album-modal__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .collection-album {
    width: 100%;
  }
  .collection-album__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .album-modal {
    padding: 12px;
  }
  .album-modal__head {
    padding: 14px 10px;
    gap: 10px;
  }
  .album-modal__head h2 {
    font-size: 18px;
  }
  .album-modal__scroll-ico {
    font-size: 22px;
  }
  .album-modal__count {
    padding: 2px 10px;
    font-size: 14px;
  }
  .album-modal__count strong {
    font-size: 16px;
  }
  .album-modal__close {
    width: 34px;
    height: 34px;
  }
  .album-modal__body {
    padding: 16px;
  }
  .album-modal__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
  }
  .album-card__lock {
    font-size: 20px;
  }
  .album-card__name {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .album-modal__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .album-modal__scroll-ico {
    display: none;
  }
}
/* ==========================================================================
   20260701플로팅 카드
   ========================================================================== */
.floating-card {
  position: fixed;
  top: 30%;
  right: 2%;
  z-index: 98;
  width: 130px;
  text-align: center;
}
.floating-card__body {
  position: relative;
  z-index: 1;
  margin-top: -12px;
  padding: 20px 6px 10px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid #4d4969;
  -webkit-box-shadow: 0 6px 20px rgba(99, 60, 200, 0.15), 0 6px 20px rgba(99, 60, 200, 0.15);
          box-shadow: 0 6px 20px rgba(99, 60, 200, 0.15), 0 6px 20px rgba(99, 60, 200, 0.15);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
.floating-card__body:after {
  content: "";
  position: absolute;
  top: -70px;
  left: 17%;
  z-index: 2;
  display: block;
  width: 80px;
  height: 80px;
  -o-object-fit: contain;
     object-fit: contain;
  margin: 0 auto;
  background: url("/resources/toctocmath/images/main-guest/ico-bot-floating-75fe5d1200d873d27da24f521abe5fdb.png") no-repeat;
  background-size: 80px auto;
}
.floating-card__text {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  word-break: keep-all;
  background: linear-gradient(135deg, #7b56ff 0%, #753fcb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.floating-card__btn {
  display: block;
  width: 100%;
  padding: 6px 14px;
  background: -webkit-gradient(linear, left top, left bottom, from(#bd78ef), to(#8654d2));
  background: linear-gradient(180deg, #bd78ef 0%, #8654d2 100%);
  color: #fff !important;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}
.floating-card__btn:hover {
  background: #7c3aed;
}
.floating-card__btn:focus-visible {
  background: #7c3aed;
}

@media (max-width: 1800px) {
  .floating-card {
    right: 18px;
  }
}
@media (max-width: 1200px) {
  .info-row {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
  }
  .floating-card {
    position: static;
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 16px;
    margin-bottom: 30px;
  }
  .floating-card__body {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-top: 0;
    padding: 20px 20px 20px 100px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    border: none;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    border-radius: 14px;
    -webkit-box-shadow: 0 3px 10px rgba(99, 60, 200, 0.1), 0 3px 10px rgba(99, 60, 200, 0.1);
            box-shadow: 0 3px 10px rgba(99, 60, 200, 0.1), 0 3px 10px rgba(99, 60, 200, 0.1);
    background: url("/resources/toctocmath/images/main-guest/bg-floating-ac74349f55c7f3e617aa86c2e5a06b7c.png") center/60% auto no-repeat, linear-gradient(135deg, #e4d5ff 0%, #e9f1ff 100%);
  }
  .floating-card__body::after {
    top: 10px;
    left: 30px;
    background-size: 60px auto;
  }
  .floating-card__text {
    text-align: center;
    margin: 0;
    font-size: 24px;
    width: 100%;
  }
  .floating-card__btn {
    width: auto;
    white-space: nowrap;
    padding: 8px 20px;
  }
}
@media (max-width: 560px) {
  .floating-card__body {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    margin-top: 0;
    padding: 20px 20px 20px 70px;
    background: linear-gradient(135deg, #e4d5ff 0%, #e9f1ff 100%);
  }
  .floating-card__body::after {
    left: 10px;
  }
  .floating-card__text {
    font-size: 20px;
  }
}
@media (max-width: 400px) {
  .floating-card__body {
    padding: 20px;
  }
  .floating-card__body::after {
    display: none;
  }
  .floating-card__text {
    text-align: left;
    font-size: 20px;
    width: 100%;
  }
}
/* ==========================================================================
   메인 팝업존 (m_popupzone)  최대 3개, 반응형 2·1개 컨트롤바(카운터·재생/정지·닫기·오늘하루열지않기)
   ========================================================================== */
/* Swiper 5 core (팝업존 전용 스코프) */
.m_popupzone .swiper-container {
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}
.m_popupzone .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
}
.m_popupzone .swiper-slide {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
}
.m_popupzone .swiper-container-autoheight, .m_popupzone .swiper-container-autoheight .swiper-slide {
  height: auto;
}
.m_popupzone .swiper-container-autoheight .swiper-wrapper {
  -webkit-transition-property: height, -webkit-transform;
  transition-property: height, -webkit-transform;
  transition-property: transform, height;
  transition-property: transform, height, -webkit-transform;
}

.m_popupzone {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: safe center;
  gap: 24px;
  padding: 30px 20px;
  background: rgba(18, 16, 38, 0.85);
  overflow-y: auto;
}
.m_popupzone.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.m_popupzone .pz-title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-weight: 800;
  font-size: clamp(24px, 3.2vw, 40px);
  letter-spacing: -0.5px;
}
.m_popupzone .pz-title span {
  color: #af84ff;
}
.m_popupzone .pz-stage {
  position: relative;
  width: 100%;
  max-width: 1367px;
}
.m_popupzone { /* 3개 노출(445×3+gap) */ }
.m_popupzone.pz-max-2 .pz-stage {
  max-width: 976px;
}
.m_popupzone { /* 2개 (480×2 + gap16) */ }
.m_popupzone.pz-max-1 .pz-stage {
  max-width: 480px;
}
.m_popupzone { /* 1개 */ }
.m_popupzone .pz-swiper {
  width: 100%;
}
.m_popupzone {
  /* 팝업 카드 : 기본(가로형 445×325) */
}
.m_popupzone .swiper-slide a {
  display: block;
  width: 100%;
  max-width: 445px;
  margin: 0 auto;
  aspect-ratio: 445/325;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  -webkit-box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
          box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}
.m_popupzone .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
.m_popupzone {
  /* 세로형 팝업 이미지 : 가로 480px, 세로는 비율대로 auto */
}
.m_popupzone.pz-max-1 .swiper-slide a, .m_popupzone.pz-max-2 .swiper-slide a {
  max-width: 480px;
  aspect-ratio: auto;
}
.m_popupzone.pz-max-1 .swiper-slide img, .m_popupzone.pz-max-2 .swiper-slide img {
  height: auto;
  -o-object-fit: fill;
     object-fit: fill;
}
.m_popupzone {
  /* 이미지 대신 HTML 로 구성하는 슬라이드 (넓이 470px) 시스템 점검예시 */
}
.m_popupzone .pz-html {
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  -webkit-box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
          box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  text-align: left;
  color: #333;
}
.m_popupzone .pz-html__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #7c3aed 0%, #5743cb 100%);
  color: #fff;
}
.m_popupzone .pz-html__head i {
  font-size: 32px;
}
.m_popupzone .pz-html__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}
.m_popupzone .pz-html__body {
  padding: 30px;
}
.m_popupzone .pz-html__lead {
  margin: 0 0 16px;
}
.m_popupzone .pz-html .ul_list {
  list-style: none;
  margin: 0 0 16px;
  padding: 14px 16px;
  background: #f5f3ff;
  border-radius: 10px;
}
.m_popupzone .pz-html .ul_list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}
.m_popupzone .pz-html .ul_list li + li {
  margin-top: 6px;
}
.m_popupzone .pz-html .ul_list li strong {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 66px;
  color: #5743cb;
  font-weight: 700;
  font-size: 18px;
}
.m_popupzone .pz-html p {
  margin: 0;
  font-size: 16px;
  color: #656565;
  line-height: 1.4;
}
.m_popupzone .pz-html p.txt_center {
  text-align: center;
}
.m_popupzone .pz-html p.txt_left {
  text-align: left;
}
.m_popupzone .pz-html p.sub_tit {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #1f2937;
  text-align: center;
  margin-bottom: 20px;
}
.m_popupzone {
  /* 좌우 네비 */
}
.m_popupzone .pz-nav {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #fff;
  color: #333;
  font-size: 36px;
  -webkit-box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
          box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.m_popupzone .pz-nav:hover {
  background: linear-gradient(135deg, #b98eff 0%, #874cf5 100%);
  color: #fff;
}
.m_popupzone .pz-nav:focus-visible {
  outline: 3px solid #7ea6ff;
  outline-offset: 2px;
}
.m_popupzone .pz-nav.pz-prev {
  left: -20px;
}
.m_popupzone .pz-nav.pz-next {
  right: -20px;
}
.m_popupzone .pz-nav.pz-nav--lock {
  display: none;
}
.m_popupzone .pz-nav { /* 다 보이면 숨김 */ }
.m_popupzone {
  /* 하단 컨트롤 바 */
}
.m_popupzone .pz-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px;
}
.m_popupzone .pz-counter {
  margin: 0;
  min-width: 76px;
  text-align: center;
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 16px;
}
.m_popupzone .pz-counter .current {
  font-weight: 700;
}
.m_popupzone .ctl-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #111;
  color: #fff;
  font-size: 26px;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.m_popupzone .ctl-btn:hover {
  background: #656565;
}
.m_popupzone .ctl-btn:focus-visible {
  outline: 3px solid #7ea6ff;
  outline-offset: 2px;
}
.m_popupzone .pz-close {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 22px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.m_popupzone .pz-close i {
  font-size: 18px;
}
.m_popupzone .pz-close:hover {
  background: #865dd5;
  color: #ffffff;
}
.m_popupzone .pz-close:focus-visible {
  outline: 3px solid #7ea6ff;
  outline-offset: 2px;
}
.m_popupzone.is-locked .ctl-btn {
  display: none;
}
.m_popupzone { /* 잠금(다 보임) 시 재생/정지 숨김 */ }

/* 팝업 다시보기 — AI 테스트랩 플로팅 메뉴 하단, 원형 버튼 (JS 가 display 제어) */
.floating-card .popup-open {
  display: none;
  margin: 14px auto 0;
  width: 100px;
  height: 100px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: linear-gradient(130deg, #865dd5 8.03%, #6b4fe9 58.55%), #09258c;
  color: #fff;
  font-size: 20px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2px;
  -webkit-box-shadow: 0 6px 18px rgba(87, 67, 203, 0.4);
          box-shadow: 0 6px 18px rgba(87, 67, 203, 0.4);
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
}
.floating-card .popup-open:hover {
  background: #865dd5;
}
.floating-card .popup-open:focus-visible {
  outline: 2px solid #5743cb;
  outline-offset: 2px;
}

/* 팝업존 : 550px 이하에서는 1개만 노출 (가로 480) — JS 가 .pz-max-N 부여 */
@media (max-width: 550px) {
  .m_popupzone.pz-max-1 .pz-stage,
  .m_popupzone.pz-max-2 .pz-stage {
    max-width: 480px;
  }
}
@media (max-width: 1200px) {
  /* 플로팅 카드가 본문 흐름(가로형)으로 전환될 때 : 버튼을 카드 아래 줄 중앙에 */
  .floating-card {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .floating-card .popup-open {
    z-index: 99;
    margin: 6px auto 0;
    position: fixed;
    bottom: 350px;
    right: 20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
  }
}
@media (max-width: 720px) {
  .m_popupzone {
    gap: 16px;
    padding: 20px 14px;
  }
  .m_popupzone .pz-nav {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }
  .m_popupzone .pz-nav.pz-prev {
    left: -12px;
  }
  .m_popupzone .pz-nav.pz-next {
    right: -12px;
  }
  .m_popupzone .pz-counter {
    min-width: 64px;
    padding: 9px 16px;
    font-size: 14px;
  }
  .m_popupzone .ctl-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  .m_popupzone .pz-close {
    padding: 10px 16px;
    font-size: 14px;
  }
  .floating-card .popup-open {
    bottom: 140px;
    right: 26px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.4);
  }
  .floating-card .popup-open span {
    display: none;
  }
}