
/* /library/css/phonics-blue-sky.css */
/* Phonics Blue Sky identity. Loaded after shared component styles. */
html[lang="ko"] body.theme-phonics-sky {
  --accent: #E05A47 !important;
  --accent-rgb: 224, 90, 71 !important;
  --soft: #FFF1ED !important;
  --page: #FFF8F6 !important;
  --line: #dfe5ee !important;
  --phonics-sky: linear-gradient(135deg, #FFB3A5 0%, #E05A47 52%, #B84435 100%);
  --phonics-sky-soft: linear-gradient(135deg, rgba(255, 248, 246, .98), rgba(255, 225, 218, .9) 58%, rgba(224, 90, 71, .20));
  --phonics-sky-ink: #8B3027;
  --phonics-rainbow: var(--phonics-sky) !important;
  --phonics-rainbow-soft: var(--phonics-sky-soft) !important;
  --phonics-ink: #fff !important;
  background: #fff;
}

html[lang="ko"] body.theme-phonics-sky :where(.side-card, .topbar, .section, .program-stage) {
  border-color: #e1e7f0;
  background-color: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 30px rgba(28, 53, 88, .07);
}

html[lang="ko"] body.theme-phonics-sky .topbar {
  background: rgba(255, 255, 255, .90);
}

html[lang="ko"] body.theme-phonics-sky .topbar a {
  border-color: #e2e7ef;
  color: #28364c;
  background: #fff;
}

html[lang="ko"] body.theme-phonics-sky .topbar a.active[href^="phonics.php"] {
  border-color: #E05A47;
  color: #fff;
  background: var(--phonics-sky);
  box-shadow: 0 8px 18px rgba(224, 90, 71, .24);
}

html[lang="ko"] body.theme-phonics-sky .topbar a.active[href^="phonics.php"]::before {
  background: #fff !important;
}

html[lang="ko"] body.theme-phonics-sky .hero {
  border-color: #e4eaf2;
  background:
    linear-gradient(90deg, transparent 0 43%, #fff 54% 100%),
    radial-gradient(ellipse 72% 105% at 10% 100%, rgba(var(--accent-rgb), .24) 0%, rgba(var(--accent-rgb), .12) 40%, transparent 72%),
    #fff !important;
  box-shadow: 0 15px 42px rgba(28, 53, 88, .07);
}

html[lang="ko"] body.theme-phonics-sky .hero::after {
  display: none;
}

html[lang="ko"] body.theme-phonics-sky .hero-portrait-rotator {
  background: transparent !important;
}

html[lang="ko"] body.theme-phonics-sky :where(.eyebrow, .path-chooser) {
  border-color: #c5e6f9;
  color: var(--phonics-sky-ink);
  background: var(--phonics-sky-soft);
}

html[lang="ko"] body.theme-phonics-sky :where(.side-topic span, .focus-item b, .section-tag, .path-chooser__head span, .path-choice i) {
  color: #1577bb;
}

html[lang="ko"] body.theme-phonics-sky :where(.sample, .hero-actions .primary) {
  border-color: transparent;
  color: #fff;
  background: var(--phonics-sky);
  box-shadow: 0 10px 24px rgba(28, 132, 205, .24);
}

html[lang="ko"] body.theme-phonics-sky .sample small {
  color: #e9f8ff;
  opacity: .92;
}

html[lang="ko"] body.theme-phonics-sky :where(.tiny-btn, .hero-actions .secondary, .program-stage__external, .path-chooser__close, .program-stage__close) {
  border-color: #a9d8f3;
  color: #155a88;
  background: #fff;
}

html[lang="ko"] body.theme-phonics-sky :where(.tiny-btn, .hero-actions .secondary, .program-stage__external, .path-chooser__close, .program-stage__close):hover {
  border-color: #3aa6e9;
  background: #f0faff;
}

html[lang="ko"] body.theme-phonics-sky :where(.focus-item, .path-choice) {
  border-color: rgba(var(--accent-rgb), .15);
  background: rgba(255, 255, 255, .86);
}

html[lang="ko"] body.theme-phonics-sky :where(.focus-item, .path-choice):hover {
  border-color: #54b4ed;
  box-shadow: 0 11px 24px rgba(41, 136, 197, .13);
}

html[lang="ko"] body.theme-phonics-sky .visual-card {
  background: linear-gradient(155deg, #62c3f8, #1d86d2 68%, #1769aa);
  box-shadow: 0 24px 46px rgba(27, 122, 187, .25);
}

html[lang="ko"] body.theme-phonics-sky .visual-dot {
  color: #1477ba;
  box-shadow: 0 14px 25px rgba(28, 122, 184, .16);
}

html[lang="ko"] body.theme-phonics-sky .visual-orbit {
  border-color: rgba(40, 148, 218, .30);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu {
  border-color: rgba(var(--accent-rgb), .18);
  background: #fff;
  box-shadow: 0 12px 34px rgba(28, 53, 88, .055);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .section-tag {
  border-color: transparent;
  color: #fff;
  background: var(--phonics-sky);
  box-shadow: 0 7px 18px rgba(29, 132, 203, .20);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card {
  --card: #E05A47;
  --card-rgb: 224, 90, 71;
  border-color: rgba(var(--accent-rgb), .23);
  background: linear-gradient(145deg, #fff 18%, rgba(var(--accent-rgb), .065));
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), .075);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card::before {
  border-color: rgba(29, 126, 189, .14);
  color: #145f91;
  background: rgba(217, 242, 255, .82);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card::after {
  border-color: rgba(43, 154, 223, .07);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card .icon-box {
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
  background: var(--phonics-sky);
  box-shadow: 0 11px 23px rgba(27, 130, 200, .23);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card .status {
  color: #176b9f;
  background: #dff3ff;
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card:hover,
html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card.is-selected {
  border-color: #4bafe9;
  background: linear-gradient(145deg, #fff 7%, #dff3ff 100%);
  box-shadow: 0 17px 32px rgba(30, 129, 191, .18);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card:focus-visible {
  outline-color: rgba(27, 135, 205, .40);
}

html[lang="ko"] body.theme-phonics-sky .path-chooser {
  box-shadow: 0 12px 28px rgba(40, 133, 191, .10);
}

html[lang="ko"] body.theme-phonics-sky .program-stage__bar {
  border-color: #d4eaf7;
  background: #f0faff;
}

html[lang="ko"] body.theme-phonics-sky .program-stage__title span {
  background: #2b9de5;
  box-shadow: 0 0 0 4px rgba(43, 157, 229, .13);
}

html[lang="ko"] body.theme-phonics-sky :where(.annotation-panel-toggle, .fw-annotation-panel-toggle) {
  border-color: #177cc4;
  color: #fff;
  background: var(--phonics-sky);
  box-shadow: 0 10px 26px rgba(27, 126, 194, .27);
}

html[lang="ko"] body.theme-phonics-sky :where(.annotation-panel-toggle, .fw-annotation-panel-toggle).is-open {
  border-color: #8dcef2;
  color: #176b9f;
  background: #fff;
}

html[lang="ko"] body.theme-phonics-sky :where(.annotation-toolbar, .fw-annotation-toolbar) {
  border-color: #afd8ef;
  background: rgba(248, 253, 255, .97);
  box-shadow: 0 16px 38px rgba(28, 110, 164, .17);
}

html[lang="ko"] body.theme-phonics-sky :where(.annotation-toolbar__status, .fw-annotation-toolbar__status) {
  background: #2b9de5;
  box-shadow: 0 0 0 3px #d9f1ff;
}

html[lang="ko"] body.theme-phonics-sky :where(.annotation-toggle, .fw-annotation-toggle) {
  border-color: #8ecbf0;
  color: #176da6;
  background: #fff;
}

html[lang="ko"] body.theme-phonics-sky :where(.annotation-toolbar, .fw-annotation-toolbar).is-drawing :where(.annotation-toggle, .fw-annotation-toggle) {
  border-color: #208bd3;
  color: #fff;
  background: var(--phonics-sky);
}

html[lang="ko"] body.theme-phonics-sky :where(.annotation-tool, .annotation-size, .fw-annotation-tool, .fw-annotation-size).is-active {
  border-color: #71bde9;
  color: #176a9f;
  background: #e5f6ff;
}

html[lang="ko"] body.theme-phonics-sky :where(.annotation-divider, .fw-annotation-divider) {
  background: #cfe8f7;
}

html[lang="ko"] body.theme-phonics-sky .footer {
  color: #6e93ad;
}


/* /library/css/phonics-image-menu.css */


body.theme-phonics-sky #learning-menu .learning-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.theme-phonics-sky #learning-menu .learning-card {
  --menu-art: url("/library/css/../img/phonics-menu/weekly.webp");
  position: relative;
  isolation: isolate;
  min-height: 244px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px 26px;
  border: 2px solid #d7e8f7;
  border-radius: 19px;
  background-color: #dbeeff;
  background-image: var(--menu-art);
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: left;
  box-shadow: 0 10px 24px rgba(40, 83, 127, .09);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.theme-phonics-sky #learning-menu .learning-card[data-route="/newspaper/courses"] {
  --menu-art: url("/library/css/../img/phonics-menu/weekly.webp");
  background-position: 62% center;
}

body.theme-phonics-sky #learning-menu .learning-card[data-choice="lesson"] {
  --menu-art: url("/library/css/../img/phonics-menu/lesson.webp");
  background-position: 62% center;
}

body.theme-phonics-sky #learning-menu .learning-card[data-choice="game"] {
  --menu-art: url("/library/css/../img/phonics-menu/games.webp");
  background-position: 58% center;
}

body.theme-phonics-sky #learning-menu .learning-card[data-route="/story/first-weekly"] {
  --menu-art: url("/library/css/../img/phonics-menu/story.webp");
  background-position: 58% center;
}

body.theme-phonics-sky #learning-menu .learning-card[data-route="/cards"] {
  --menu-art: url("/library/css/../img/phonics-menu/sound-cards.webp");
  background-position: 58% center;
}

body.theme-phonics-sky #learning-menu .learning-card[data-route="/curriculum/first-weekly"] {
  --menu-art: url("/library/css/../img/phonics-menu/curriculum.webp");
  background-position: 58% center;
}

body.theme-phonics-sky #learning-menu .learning-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 25, 50, .2) 60%, rgba(5, 24, 48, .82) 100%);
  box-shadow: none;
  transform: none;
}

body.theme-phonics-sky #learning-menu .learning-card::after,
body.theme-phonics-sky #learning-menu .learning-card .icon-box {
  display: none;
}

body.theme-phonics-sky #learning-menu .learning-card strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -.055em;
  text-shadow: 0 2px 9px rgba(0, 20, 45, .5);
}

body.theme-phonics-sky #learning-menu .learning-card .status {
  position: relative;
  z-index: 1;
  min-height: 0;
  width: max-content;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(6, 42, 74, .44);
  color: rgba(255, 255, 255, .93);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(5px);
}

body.theme-phonics-sky #learning-menu .learning-card:hover,
body.theme-phonics-sky #learning-menu .learning-card.is-selected {
  transform: translateY(-4px);
  border-color: #70bdf2;
  background-color: #dbeeff;
  background-image: var(--menu-art);
  box-shadow: 0 16px 32px rgba(26, 83, 130, .18);
}

body.theme-phonics-sky #learning-menu .learning-card.is-selected {
  outline: 4px solid rgba(46, 161, 233, .16);
  outline-offset: 2px;
}

body.theme-phonics-sky #learning-menu .learning-card:focus-visible {
  outline: 4px solid rgba(46, 161, 233, .34);
  outline-offset: 3px;
}

/* The Phonics sky theme has a deliberately high-specificity card skin.
   These equal-specificity rules keep that identity while replacing only
   the six menu cards with the requested photographic tile treatment. */
html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card {
  background-color: #dbeeff;
  background-image: var(--menu-art);
  background-position: center;
  background-size: cover;
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card::before {
  content: "";
  inset: 0;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 25, 50, .2) 60%, rgba(5, 24, 48, .82) 100%);
  color: transparent;
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card .status {
  color: rgba(255, 255, 255, .93);
  background: rgba(6, 42, 74, .44);
}

html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card:hover,
html[lang="ko"] body.theme-phonics-sky #learning-menu .learning-card.is-selected {
  background-color: #dbeeff;
  background-image: var(--menu-art);
  box-shadow: 0 16px 32px rgba(26, 83, 130, .18);
}

@media (max-width: 820px) {
  body.theme-phonics-sky #learning-menu .learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  body.theme-phonics-sky #learning-menu .learning-card {
    min-height: 205px;
    padding: 22px 20px;
  }

  body.theme-phonics-sky #learning-menu .learning-card strong {
    font-size: 21px;
  }
}

@media (max-width: 620px) {
  body.theme-phonics-sky #learning-menu .learning-grid {
    grid-template-columns: 1fr;
  }

  body.theme-phonics-sky #learning-menu .learning-card {
    min-height: 190px;
  }
}

/* Original alphabet lesson picker reconstructed from the user's Phonics ZIP. */
body.theme-phonics-sky #learning-menu.phonics-zip-lesson-picker {
  padding: 26px;
  border-color: #dbe6ef;
  background: linear-gradient(145deg, #f9fbfd, #f4f8fb);
}

body.theme-phonics-sky .phonics-course-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid #d7e3ee;
}

body.theme-phonics-sky .phonics-course-menu__button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid #cbd9e6;
  border-radius: 14px;
  background: #fff;
  color: #17395f;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(41, 73, 104, .06);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

body.theme-phonics-sky .phonics-course-menu__button:hover,
body.theme-phonics-sky .phonics-course-menu__button:focus-visible {
  border-color: #36a8df;
  transform: translateY(-2px);
  outline: none;
  box-shadow: 0 10px 22px rgba(35, 143, 223, .17);
}

body.theme-phonics-sky .phonics-course-menu__button.is-selected {
  border-color: transparent;
  background: linear-gradient(135deg, #238fdf, #315ee8);
  color: #fff;
  box-shadow: 0 10px 24px rgba(46, 91, 255, .22);
}

body.theme-phonics-sky .phonics-zip-lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 10px;
}

body.theme-phonics-sky .phonics-zip-lesson-card {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 7px;
}

body.theme-phonics-sky .phonics-zip-lesson-card > button {
  min-width: 0;
  min-height: 234px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  justify-items: center;
  padding: 10px 10px 12px;
  overflow: hidden;
  border: 1px solid #cfdae6;
  border-radius: 13px;
  background: #fff;
  color: #153860;
  font: inherit;
  cursor: default;
  box-shadow: 0 9px 22px rgba(41, 73, 104, .06);
}

body.theme-phonics-sky .phonics-zip-lesson-card:first-child > button {
  border-color: #6faeff;
  box-shadow: 0 0 0 3px rgba(91, 155, 255, .15), 0 9px 22px rgba(41, 73, 104, .08);
}

body.theme-phonics-sky .phonics-zip-lesson-card.is-review > button {
  border-color: #f3a826;
}

body.theme-phonics-sky .phonics-zip-lesson-card img {
  width: 100%;
  height: 142px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

body.theme-phonics-sky .phonics-zip-lesson-card strong {
  display: block;
  margin-top: 4px;
  color: #238fdf;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: 1.25;
  text-align: center;
}

body.theme-phonics-sky .phonics-zip-lesson-card.is-review strong,
body.theme-phonics-sky .phonics-zip-lesson-card.is-review .phonics-zip-word-list {
  color: #e33f45;
}

body.theme-phonics-sky .phonics-zip-lesson-card > button > span {
  width: 36px;
  height: 29px;
  display: grid;
  place-items: center;
  margin-top: 8px;
  border-radius: 999px;
  background: #e4f7ee;
  color: #0b9f72;
  font-size: 13px;
}

body.theme-phonics-sky .phonics-zip-word-list {
  display: block;
  color: #6250c2;
  font-size: 11px;
  font-weight: 850;
  text-align: center;
  cursor: default;
}

@media (max-width: 1100px) {
  body.theme-phonics-sky .phonics-zip-lesson-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.theme-phonics-sky #learning-menu.phonics-zip-lesson-picker {
    padding: 18px;
  }

  body.theme-phonics-sky .phonics-course-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  body.theme-phonics-sky .phonics-course-menu__button {
    min-height: 46px;
    padding: 8px 10px;
    font-size: 13px;
  }

  body.theme-phonics-sky .phonics-zip-lesson-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.theme-phonics-sky .phonics-zip-lesson-card > button {
    min-height: 210px;
  }

  body.theme-phonics-sky .phonics-zip-lesson-card img {
    height: 124px;
  }
}

@media (max-width: 430px) {
  body.theme-phonics-sky .phonics-zip-lesson-grid {
    grid-template-columns: 1fr;
  }
}

/* Static alphabet lesson screen placed below the Phonics course selector. */
body.theme-phonics-sky #learning-menu.alphabet-lesson-preview {
  padding: 32px;
  border-color: #d7e7f5;
  background:
    radial-gradient(circle at 93% 5%, rgba(76, 183, 239, .12), transparent 25%),
    #fff;
}

body.theme-phonics-sky .alphabet-lesson-preview__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

body.theme-phonics-sky .alphabet-lesson-preview__header > div:first-child > span,
body.theme-phonics-sky .alphabet-lesson-preview__units > header span,
body.theme-phonics-sky .alphabet-lesson-preview__flow > header span {
  color: #258dc8;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .1em;
}

body.theme-phonics-sky .alphabet-lesson-preview__header h2 {
  margin: 7px 0 5px;
  color: #132943;
  font-size: 30px;
  letter-spacing: -.06em;
}

body.theme-phonics-sky .alphabet-lesson-preview__header p,
body.theme-phonics-sky .alphabet-lesson-preview__units > header p {
  margin: 0;
  color: #73839a;
  font-size: 12px;
}

body.theme-phonics-sky .alphabet-lesson-preview__progress {
  min-width: 125px;
  padding: 12px 16px;
  border: 1px solid #d5e6f2;
  border-radius: 15px;
  background: #f7fbff;
  text-align: right;
}

body.theme-phonics-sky .alphabet-lesson-preview__progress small {
  display: block;
  color: #75a1bd;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}

body.theme-phonics-sky .alphabet-lesson-preview__progress strong {
  display: block;
  margin-top: 3px;
  color: #197fb8;
  font-size: 25px;
}

body.theme-phonics-sky .alphabet-lesson-preview__progress strong span {
  color: #9bb2c2;
  font-size: 13px;
}

body.theme-phonics-sky .alphabet-lesson-preview__stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: 16px;
}

body.theme-phonics-sky .alphabet-lesson-preview__focus {
  min-height: 340px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #bfe0f2;
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 25%, rgba(255, 208, 88, .36), transparent 21%),
    radial-gradient(circle at 77% 65%, rgba(74, 186, 236, .22), transparent 25%),
    linear-gradient(145deg, #eefaff, #f9fdff 58%, #fff8e7);
}

body.theme-phonics-sky .alphabet-lesson-preview__focus > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.theme-phonics-sky .alphabet-lesson-preview__focus > header span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #1986c1;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}

body.theme-phonics-sky .alphabet-lesson-preview__focus > header strong {
  color: #4d6d83;
  font-size: 13px;
}

body.theme-phonics-sky .alphabet-lesson-preview__letter {
  align-self: center;
  text-align: center;
}

body.theme-phonics-sky .alphabet-lesson-preview__letter small {
  display: block;
  color: #62849a;
  font-size: 12px;
  font-weight: 850;
}

body.theme-phonics-sky .alphabet-lesson-preview__letter strong {
  display: block;
  margin-top: 3px;
  color: #167eb8;
  font-family: Arial, sans-serif;
  font-size: 98px;
  line-height: .95;
  letter-spacing: -.08em;
  text-shadow: 0 10px 28px rgba(21, 126, 184, .12);
}

body.theme-phonics-sky .alphabet-lesson-preview__letter strong em {
  color: #ff8259;
  font-size: .68em;
  font-style: normal;
}

body.theme-phonics-sky .alphabet-lesson-preview__letter > span {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: #df6749;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(43, 93, 124, .1);
}

body.theme-phonics-sky .alphabet-lesson-preview__words {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.theme-phonics-sky .alphabet-lesson-preview__words span {
  padding: 10px;
  border: 1px solid #d9e8f1;
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: #4d6679;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

body.theme-phonics-sky .alphabet-lesson-preview__words b {
  color: #1685c0;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow {
  padding: 23px;
  border: 1px solid #dbe5ee;
  border-radius: 24px;
  background: #fbfdff;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow h3 {
  margin: 7px 0 0;
  color: #233b55;
  font-size: 18px;
  letter-spacing: -.045em;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow ol {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 11px;
  border: 1px solid #e1e9f0;
  border-radius: 13px;
  background: #fff;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow li > b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf4f8;
  color: #7893a6;
  font-size: 10px;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow li strong,
body.theme-phonics-sky .alphabet-lesson-preview__flow li small {
  display: block;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow li strong {
  color: #2b4259;
  font-size: 13px;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow li small {
  margin-top: 2px;
  color: #8190a1;
  font-size: 10px;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow li.is-current {
  border-color: #68bae6;
  background: #eef9ff;
}

body.theme-phonics-sky .alphabet-lesson-preview__flow li.is-current > b {
  background: #218fc9;
  color: #fff;
}

body.theme-phonics-sky .alphabet-lesson-preview__units {
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid #e3ebf2;
}

body.theme-phonics-sky .alphabet-lesson-preview__units > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

body.theme-phonics-sky .alphabet-lesson-preview__units h3 {
  margin: 5px 0 0;
  color: #1d344d;
  font-size: 20px;
  letter-spacing: -.045em;
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid button {
  min-height: 82px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 9px;
  padding: 13px;
  border: 1px solid #dbe5ed;
  border-radius: 14px;
  background: #fff;
  color: #2b435a;
  text-align: left;
  font: inherit;
  cursor: default;
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid small {
  grid-row: 1 / 3;
  align-self: center;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eaf4fa;
  color: #448ab2;
  font-size: 9px;
  font-weight: 900;
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid strong {
  font-size: 13px;
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid span {
  margin-top: 3px;
  color: #8795a4;
  font-size: 9px;
  font-weight: 800;
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid button.is-current {
  border-color: #58b3e3;
  background: linear-gradient(145deg, #157db8, #44b4e8);
  color: #fff;
  box-shadow: 0 9px 20px rgba(24, 132, 192, .2);
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid button.is-current small {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid button.is-current span {
  color: rgba(255, 255, 255, .75);
}

body.theme-phonics-sky .alphabet-lesson-preview__unit-grid button.is-review {
  background: #fff9ef;
}

@media (max-width: 900px) {
  body.theme-phonics-sky .alphabet-lesson-preview__stage {
    grid-template-columns: 1fr;
  }

  body.theme-phonics-sky .alphabet-lesson-preview__unit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.theme-phonics-sky #learning-menu.alphabet-lesson-preview {
    padding: 22px 18px;
  }

  body.theme-phonics-sky .alphabet-lesson-preview__header,
  body.theme-phonics-sky .alphabet-lesson-preview__units > header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.theme-phonics-sky .alphabet-lesson-preview__progress {
    text-align: left;
  }

  body.theme-phonics-sky .alphabet-lesson-preview__focus {
    min-height: 320px;
  }

  body.theme-phonics-sky .alphabet-lesson-preview__letter strong {
    font-size: 82px;
  }

  body.theme-phonics-sky .alphabet-lesson-preview__unit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phonics-only replacement for the common reader-services strip. */
body.theme-phonics-sky .common-phonics-navigation {
  overflow: hidden;
  border: 1px solid #d9e5f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(28, 53, 88, .06);
}

body.theme-phonics-sky .common-phonics-navigation__menu {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 60px;
  padding: 0 16px;
}

body.theme-phonics-sky .common-phonics-navigation__menu button {
  position: relative;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: #53647a;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -.035em;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

body.theme-phonics-sky .common-phonics-navigation__menu button:hover,
body.theme-phonics-sky .common-phonics-navigation__menu button:focus-visible {
  background: rgba(70, 177, 232, .08);
  color: #183f61;
  outline: none;
}

body.theme-phonics-sky .common-phonics-navigation__menu button:active {
  transform: translateY(1px);
}

body.theme-phonics-sky .common-phonics-navigation__menu button::after {
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, #ff6b4a, #ffc34d 47%, #55bdf2);
  content: "";
  opacity: 0;
}

body.theme-phonics-sky .common-phonics-navigation__menu button.is-active {
  color: #183f61;
}

body.theme-phonics-sky .common-phonics-navigation__menu button.is-active::after {
  opacity: 1;
}

body.theme-phonics-sky .common-phonics-navigation__courses {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) minmax(0, 2.45fr);
  align-items: center;
  gap: 16px;
  padding: 15px 18px 17px;
  border-bottom: 1px solid #e6edf4;
  background:
    radial-gradient(circle at 92% 10%, rgba(80, 184, 242, .14), transparent 24%),
    linear-gradient(135deg, #f8fbff, #eff6ff 68%, #fffaf0);
}

body.theme-phonics-sky .common-phonics-navigation__heading span {
  display: block;
  color: #278fc9;
  font-size: 8px;
  font-weight: 950;
  letter-spacing: .1em;
}

body.theme-phonics-sky .common-phonics-navigation__heading strong {
  display: block;
  margin-top: 4px;
  color: #172c47;
  font-size: 17px;
  letter-spacing: -.04em;
}

body.theme-phonics-sky .common-phonics-navigation__buttons {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

body.theme-phonics-sky .common-phonics-navigation__buttons button {
  position: relative;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid #d6e2ef;
  border-radius: 13px;
  background: rgba(255, 255, 255, .94);
  color: #273b55;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body.theme-phonics-sky .common-phonics-navigation__buttons button:hover,
body.theme-phonics-sky .common-phonics-navigation__buttons button:focus-visible {
  border-color: #76c7ed;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(35, 143, 223, .12);
}

body.theme-phonics-sky .common-phonics-navigation__buttons button:active {
  transform: translateY(1px);
}

body.theme-phonics-sky .common-phonics-navigation__buttons button::after {
  position: absolute;
  top: -24px;
  right: -22px;
  width: 64px;
  height: 64px;
  border: 14px solid rgba(52, 163, 231, .08);
  border-radius: 50%;
  content: "";
}

body.theme-phonics-sky .common-phonics-navigation__buttons small {
  color: #4c9bc7;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
}

body.theme-phonics-sky .common-phonics-navigation__buttons strong {
  font-size: 14px;
  letter-spacing: -.035em;
}

body.theme-phonics-sky .common-phonics-navigation__buttons button.is-current {
  border-color: #4cace1;
  background: linear-gradient(145deg, #197eb8, #45b5eb);
  color: #fff;
  box-shadow: 0 8px 18px rgba(28, 131, 190, .22);
}

body.theme-phonics-sky .common-phonics-navigation__buttons button.is-current small {
  color: rgba(255, 255, 255, .8);
}

@media (max-width: 900px) {
  body.theme-phonics-sky .common-phonics-navigation__menu {
    display: flex;
    padding: 0 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.theme-phonics-sky .common-phonics-navigation__menu::-webkit-scrollbar {
    display: none;
  }

  body.theme-phonics-sky .common-phonics-navigation__menu button {
    flex: 0 0 auto;
    min-width: 100px;
  }

  body.theme-phonics-sky .common-phonics-navigation__courses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body.theme-phonics-sky .common-phonics-navigation__buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* /library/css/site-shell.css */


body:is(.theme-teens, .teens-unified) {
  --accent: #6F5AD7;
  --accent-rgb: 111, 90, 215;
  --soft: #F1EEFF;
  --ink: #172133;
  --muted: #667085;
  --line: #d8dde5;
  --page: #f4f5f7;
  background: var(--page);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
}

/* The Teens layout is the shared site frame; only the age color changes. */
body.teens-unified.theme-phonics-sky {
  --accent: #2e5bff;
  --accent-rgb: 46, 91, 255;
  --soft: #eaf0ff;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky {
  --page: #f4f5f7 !important;
  background: var(--page) !important;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky .topbar {
  border: 0;
  border-radius: 0;
  background: rgba(244, 245, 247, .97);
  box-shadow: none;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky .topbar a {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4c5565;
  box-shadow: none;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky .topbar a.active[href^="phonics.php"] {
  border: 0;
  background: var(--soft);
  color: var(--accent);
  box-shadow: none;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky .topbar a::before {
  display: none !important;
}

body.teens-unified.theme-kinder:not(.theme-phonics-sky) {
  --accent: #E05A47;
  --accent-rgb: 224, 90, 71;
  --soft: #FFF1ED;
}

body.teens-unified.theme-kids {
  --accent: #1387B8;
  --accent-rgb: 19, 135, 184;
  --soft: #EAF7FC;
}

body.teens-unified.theme-junior {
  --accent: #238A68;
  --accent-rgb: 35, 138, 104;
  --soft: #EAF7F2;
}

body.teens-unified.theme-general {
  --accent: #3E7185;
  --accent-rgb: 62, 113, 133;
  --soft: #EDF5F7;
}

body.teens-unified.theme-video {
  --accent: #087f8c;
  --accent-rgb: 8, 127, 140;
  --soft: #e7f6f7;
}

body.teens-unified.theme-home {
  --accent: #334155;
  --accent-rgb: 51, 65, 85;
  --soft: #f1f5f9;
}

body.teens-unified.theme-reading-test {
  --accent: #b23a48;
  --accent-rgb: 178, 58, 72;
  --soft: #fbecef;
}

body.teens-unified.theme-mypage {
  --accent: #4a4fa3;
  --accent-rgb: 74, 79, 163;
  --soft: #eff0fa;
}

body:is(.theme-teens, .teens-unified) a,
body:is(.theme-teens, .teens-unified) button {
  -webkit-tap-highlight-color: transparent;
}

body:is(.theme-teens, .teens-unified) a:focus-visible,
body:is(.theme-teens, .teens-unified) button:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), .25);
  outline-offset: 3px;
}

body:is(.theme-teens, .teens-unified) .top-utility-wrap {
  max-width: 1400px;
  min-height: 64px;
  padding: 10px 24px 6px;
  border-bottom: 0;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu {
  min-height: 48px;
  padding: 0;
}

body:is(.theme-teens, .teens-unified) .top-utility-actions {
  gap: 4px;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu button {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #475467;
  font-size: 12.5px;
  font-weight: 750;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu button:hover {
  background: #f1f3f6;
  color: var(--ink);
}

body:is(.theme-teens, .teens-unified) .top-utility-priority-links {
  display: flex;
  align-items: center;
  padding: 3px 4px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #f7f8fa;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-priority-links button {
  min-height: 32px;
  padding: 7px 9px;
  border-radius: 6px;
  background: transparent;
  color: #344054;
  font-size: 11.5px;
  font-weight: 750;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-priority-links button + button {
  margin-left: 1px;
  border-left: 1px solid #d8dde5;
  border-radius: 0 6px 6px 0;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account--signup {
  color: var(--accent);
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account--login {
  margin-left: 2px;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account:hover,
body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account:focus-visible {
  background: var(--soft);
  color: var(--accent);
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu button[data-utility-action="free-sample"] {
  margin-left: 4px;
  padding-inline: 15px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: none;
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu button[data-utility-action="free-sample"]:hover {
  background: #b9245c;
}

body:is(.theme-teens, .teens-unified) .top-utility-language {
  margin-left: 2px;
  border: 0 !important;
  background: #f5f6f8 !important;
  color: #434c5d !important;
}

body:is(.theme-teens, .teens-unified) .top-utility-language:hover {
  background: #ebeef2 !important;
}

body:is(.theme-teens, .teens-unified) .top-utility-language-menu {
  border: 1px solid #cfd4dc;
  border-radius: 2px;
  background-color: #fff;
  background-image: none;
  box-shadow: 0 18px 40px rgba(23, 33, 51, .13);
  backdrop-filter: none;
}

body:is(.theme-teens, .teens-unified) .shell {
  max-width: 1400px;
  display: block;
  padding: 18px 24px 64px;
}

body:is(.theme-teens, .teens-unified).has-top-utility .shell {
  padding-top: 18px;
}

body:is(.theme-teens, .teens-unified) .side {
  gap: 18px;
}

body.teens-unified .side--brand-only > :not(.brand) {
  display: none !important;
}

@media (min-width: 1181px) {
  body:is(.theme-teens, .teens-unified) .side--brand-only {
    width: 100%;
    height: 0;
    min-height: 0;
    margin: 0;
  }
}

body:is(.theme-teens, .teens-unified) .side-card {
  padding: 12px 4px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:is(.theme-teens, .teens-unified) .side-label {
  margin-bottom: 8px;
  color: #7b8494;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side > .side-card--account,
body:is(.theme-teens, .teens-unified) .side-card--account {
  display: block !important;
}

body:is(.theme-teens, .teens-unified) .side-card--account .account-row {
  width: 100%;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side .side-label--group,
body:is(.theme-teens, .teens-unified) .side-label--group {
  min-height: 18px;
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #30394a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
}

body:is(.theme-teens, .teens-unified) .side-label--group::before {
  width: 3px;
  height: 16px;
  flex: 0 0 auto;
  background: var(--accent);
  content: "";
}

body:is(.theme-teens, .teens-unified) .side-label--group > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}

body:is(.theme-teens, .teens-unified) .side-topic-kicker {
  display: block;
  margin-bottom: 5px;
  color: #7b8494;
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

body:is(.theme-teens, .teens-unified) .side-card--topic {
  padding: 14px;
}

body:is(.theme-teens, .teens-unified) .side-card--topic + .sample {
  margin-top: 0;
}

body:is(.theme-teens, .teens-unified) .side-card--account,
body:is(.theme-teens, .teens-unified) .side-card--topic {
  border: 1px solid #d6dbe3;
  background: #fff;
}

body:is(.theme-teens, .teens-unified) .side-card--account {
  padding: 14px;
}

body:is(.theme-teens, .teens-unified) .account-row {
  gap: 8px;
}

body:is(.theme-teens, .teens-unified) .tiny-btn {
  min-height: 46px;
  border: 1px solid #aeb6c2;
  border-radius: 2px;
  background: #fff;
  color: #30394a;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

body:is(.theme-teens, .teens-unified) .tiny-btn:hover,
body:is(.theme-teens, .teens-unified) .tiny-btn:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

body:is(.theme-teens, .teens-unified) .tiny-btn:last-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .tiny-btn:last-child:hover,
body:is(.theme-teens, .teens-unified) .tiny-btn:last-child:focus-visible {
  border-color: #b9245c;
  background: #b9245c;
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .tiny-btn.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

body:is(.theme-teens, .teens-unified) .side-topic {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.03em;
}

body:is(.theme-teens, .teens-unified) .side-topic span {
  margin-top: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}

body:is(.theme-teens, .teens-unified) .sample {
  position: relative;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 46px 14px 18px;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}

body:is(.theme-teens, .teens-unified) .sample::after {
  position: absolute;
  top: 50%;
  right: 18px;
  font-size: 18px;
  line-height: 1;
  content: "→";
  transform: translateY(-50%);
}

body:is(.theme-teens, .teens-unified) .sample:hover,
body:is(.theme-teens, .teens-unified) .sample:focus-visible {
  background: #b9245c;
  transform: translateY(-1px);
}

body:is(.theme-teens, .teens-unified) .sample small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  opacity: .82;
}

body:is(.theme-teens, .teens-unified) .topbar {
  position: sticky;
  top: 8px;
  z-index: 30;
  min-height: 82px;
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(244, 245, 247, .97);
  box-shadow: none;
  backdrop-filter: none;
}

body:is(.theme-teens, .teens-unified) .topbar a {
  position: relative;
  min-width: 0;
  min-height: 81px;
  flex: 1 1 0;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4c5565;
  font-size: 16px;
  font-weight: 780;
  box-shadow: none;
  transition: color .16s ease, background .16s ease;
}

body:is(.theme-teens, .teens-unified) .topbar a::before {
  display: none;
}

body:is(.theme-teens, .teens-unified) .topbar a::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: var(--accent);
  content: "";
  opacity: 0;
}

body:is(.theme-teens, .teens-unified) .topbar a:hover,
body:is(.theme-teens, .teens-unified) .topbar a:focus-visible {
  background: #eceef2;
  color: var(--ink);
}

body:is(.theme-teens, .teens-unified) .topbar a.active {
  background: var(--soft);
  color: var(--accent);
  box-shadow: none;
}

body:is(.theme-teens, .teens-unified) .topbar a.active::after {
  opacity: 1;
}

body.teens-unified .home-compact-banner {
  height: 244px;
  min-height: 244px;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: 28px 38px;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 0;
  background: linear-gradient(
    96deg,
    #b41950 0%,
    #c02661 64%,
    #dd6e9a 78%,
    #f1b8cd 88%,
    #fae8ef 95%,
    #fff 100%
  );
  box-shadow: none;
  color: #fff;
}

body.teens-unified .home-compact-banner::after {
  display: none;
}

body.teens-unified .home-compact-banner__copy {
  gap: 7px;
}

body.teens-unified .home-compact-banner__copy > span {
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

body.teens-unified .home-compact-banner__copy strong {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.1vw, 46px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -.05em;
}

body.teens-unified .home-compact-banner__copy p {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.6;
}

body:is(.theme-teens, .teens-unified) .common-news-area {
  gap: 18px;
}

body:is(.theme-teens, .teens-unified) .common-news-banner--teens {
  --banner-from: #b41950;
  --banner-mid: #bd1f5d;
}

body:is(.theme-teens, .teens-unified) .common-news-banner {
  height: 244px;
  min-height: 244px;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  padding: 28px 38px;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 0;
  background: linear-gradient(
    96deg,
    var(--banner-from) 0%,
    var(--banner-mid) 65%,
    color-mix(in srgb, var(--banner-mid) 72%, #fff) 78%,
    color-mix(in srgb, var(--banner-mid) 52%, #fff) 86%,
    color-mix(in srgb, var(--banner-mid) 30%, #fff) 92%,
    color-mix(in srgb, var(--banner-mid) 12%, #fff) 97%,
    #fff 100%
  );
  box-shadow: none;
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .common-news-banner::after {
  display: none;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__copy {
  gap: 7px;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__copy > span {
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__copy strong,
body:is(.theme-teens, .teens-unified) .common-news-banner__copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 3.1vw, 46px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -.05em;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__copy p {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.6;
  opacity: 1;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__link {
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: #fff;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__link:hover,
body:is(.theme-teens, .teens-unified) .common-news-banner__link:focus-visible {
  background: var(--ink);
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .edition-cover-deck {
  width: 280px;
  height: 212px;
  justify-self: center;
}

body:is(.theme-teens, .teens-unified) .edition-cover-deck--single::before,
body:is(.theme-teens, .teens-unified) .edition-cover-deck--single::after {
  display: none;
}

body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single[data-cover-index] {
  top: 4px;
  left: 62px;
  width: 150px;
  height: 202px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(29px);
  transition: none;
}

body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single.is-current {
  opacity: 1;
  transform: translateY(29px);
  animation: teens-cover-rise 3.6s cubic-bezier(.22, .68, .18, 1) both;
}

@keyframes teens-cover-rise {
  0% {
    opacity: 0;
    transform: translateY(118px);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(29px);
  }
}

@keyframes teens-cover-rise-mobile {
  0% {
    opacity: 0;
    transform: translateY(72px);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body:is(.theme-teens, .teens-unified) .common-reader-services {
  min-height: 88px;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: #eceff3;
  box-shadow: none;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__heading {
  padding: 12px 18px 12px 0;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__heading > span {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .13em;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__heading h2 {
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__links {
  height: 100%;
  gap: 8px;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__links button {
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid #d6dbe3;
  border-radius: 8px;
  background: #fff;
  color: #414a5a;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__links button:hover,
body:is(.theme-teens, .teens-unified) .common-reader-services__links button:focus-visible {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
  transform: translateY(-1px);
}

body:is(.theme-teens, .teens-unified) .common-reader-services__links button.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: none;
}

body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section {
  min-height: 720px;
  margin-top: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section:not(:has(.category-news-panel))::after {
  display: block;
  padding: 42px 0;
  color: #747d8c;
  font-size: 14px;
  content: "이번 주 기사를 불러오는 중입니다.";
}

body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section .section-head {
  display: none;
}

body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section .section-copy {
  color: #667085;
  font-size: 15px;
  text-align: left;
}

body:is(.theme-teens, .teens-unified) .category-news-panel {
  padding-bottom: 24px;
}

body:is(.theme-teens, .teens-unified) .category-news-intro {
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 18px 0 24px;
  border-top: 0;
  border-bottom: 0;
}

body:is(.theme-teens, .teens-unified) .category-news-intro div {
  gap: 4px;
}

body:is(.theme-teens, .teens-unified) .category-news-intro span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

body:is(.theme-teens, .teens-unified) .category-news-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: -.055em;
}

body:is(.theme-teens, .teens-unified) .category-news-intro > b {
  margin-left: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #596273;
  font-size: 14px;
  font-weight: 700;
}

body:is(.theme-teens, .teens-unified) .category-news-resources {
  gap: 6px !important;
  margin-left: auto;
}

body:is(.theme-teens, .teens-unified) .category-news-resource-button {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #3e4757;
  font-size: 14px;
  font-weight: 780;
  text-shadow: none;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

body:is(.theme-teens, .teens-unified) .category-news-resource-button:nth-child(n) {
  border: 1px solid #cfd4dc;
  background: transparent;
  box-shadow: none;
  color: #3e4757;
  text-shadow: none;
}

body:is(.theme-teens, .teens-unified) .category-news-resource-button:hover,
body:is(.theme-teens, .teens-unified) .category-news-resource-button:focus-visible,
body:is(.theme-teens, .teens-unified) .category-news-resource-button.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: none;
  color: #fff;
  filter: none;
  transform: none;
}

body:is(.theme-teens, .teens-unified) .category-news-grid {
  gap: 44px 24px;
  padding-top: 28px;
}

body:is(.theme-teens, .teens-unified) .category-news-card {
  overflow: visible;
  padding: 14px;
  border: 1px solid #d6dbe3;
  border-radius: 0;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body:is(.theme-teens, .teens-unified) .category-news-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(23, 33, 51, .08);
  transform: translateY(-2px);
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-lead {
  min-height: 380px;
  padding: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-wide {
  grid-template-columns: minmax(210px, .9fr) minmax(0, 1.1fr);
}

body:is(.theme-teens, .teens-unified) .category-news-image {
  position: relative;
  overflow: hidden;
  height: 210px;
  background: #e4e7ec;
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-image,
body:is(.theme-teens, .teens-unified) .category-news-card.is-wide .category-news-image {
  min-height: 260px;
}

body:is(.theme-teens, .teens-unified) .category-news-image img {
  filter: saturate(.9) contrast(1.02);
}

body:is(.theme-teens, .teens-unified) .category-news-card:hover .category-news-image img {
  transform: scale(1.012);
}

body:is(.theme-teens, .teens-unified) .category-news-copy {
  padding: 18px 4px 4px;
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-copy {
  justify-content: center;
  padding: 26px 2px 26px 28px;
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-wide .category-news-copy {
  padding: 18px 4px 18px 22px;
}

body:is(.theme-teens, .teens-unified) .category-news-meta {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

body:is(.theme-teens, .teens-unified) .category-news-copy h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.02em;
}

body:is(.theme-teens, .teens-unified) .category-news-copy h3 {
  font-size: 22px;
  line-height: 1.13;
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-copy h3 {
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.05;
}

body:is(.theme-teens, .teens-unified) .category-news-copy h3 a {
  display: block;
  max-width: 100%;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
}

body:is(.theme-teens, .teens-unified) .category-news-copy h3 a:hover,
body:is(.theme-teens, .teens-unified) .category-news-copy h3 a:focus-visible {
  color: var(--accent);
}

body:is(.theme-teens, .teens-unified) .category-news-excerpt {
  margin: 13px 0 18px;
  color: #5f6878;
  font-size: 14px;
  line-height: 1.7;
}

body:is(.theme-teens, .teens-unified) .category-news-action {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
  transition: color .16s ease;
}

body:is(.theme-teens, .teens-unified) .category-news-action:hover,
body:is(.theme-teens, .teens-unified) .category-news-action:focus-visible {
  border: 0;
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: none;
}

body:is(.theme-teens, .teens-unified) .footer {
  margin-top: 42px;
  padding: 18px 0 0;
  border-top: 1px solid #cfd4dc;
  color: #737c8b;
  text-align: left;
}

body.teens-unified .footer {
  display: none;
}

body:is(.theme-teens, .teens-unified) .commercial-footer {
  max-width: 1400px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 14px 36px;
  margin: 0 auto;
  padding: 34px 24px 42px;
  border-top: 1px solid #cfd4dc;
  background-color: inherit;
  background-image: none;
  color: #596273;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__brand,
body:is(.theme-teens, .teens-unified) .commercial-footer__links {
  background-color: transparent;
  background-image: none;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__brand strong {
  display: block;
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
}

body:is(.theme-teens, .teens-unified) .brand__common-logo {
  display: block;
  width: 164px;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
  transform: translateY(4px);
}

.site-mobile-brand { display: none; }

@media (min-width: 761px) {
  html[lang="ko"] body .site-mobile-brand { display: none !important; }
}

body:is(.theme-teens, .teens-unified) .commercial-footer__logo {
  display: block;
  width: 164px;
  height: 42px;
  max-width: 100%;
  margin: 0 0 2px;
  object-fit: contain;
  background: transparent;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__brand p,
body:is(.theme-teens, .teens-unified) .commercial-footer__notice,
body:is(.theme-teens, .teens-unified) .commercial-footer__copyright {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__links {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__links button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #cfd4dc;
  border-radius: 6px;
  background: #fff;
  color: #3e4757;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__links button:hover,
body:is(.theme-teens, .teens-unified) .commercial-footer__links button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

body:is(.theme-teens, .teens-unified) .commercial-footer__notice,
body:is(.theme-teens, .teens-unified) .commercial-footer__copyright {
  grid-column: 1 / -1;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__copyright {
  margin-top: -6px;
  color: #7a8290;
}

body:is(.theme-teens, .teens-unified) .commercial-action-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  max-width: min(380px, calc(100vw - 32px));
  padding: 13px 16px;
  border-left: 4px solid var(--accent);
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(23, 33, 51, .2);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .16s ease, transform .16s ease;
}

body:is(.theme-teens, .teens-unified) .commercial-action-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1181px) {
  body:is(.theme-teens, .teens-unified) .edition-cover-deck {
    transform: translate(-138px, -22px) scale(1.58);
    transform-origin: center center;
  }

  body:is(.theme-teens, .teens-unified) .side {
    gap: 0;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side > .brand {
    top: -75px;
    left: 0;
    width: 210px;
    height: 50px;
    background-position: left center;
    background-size: 164px auto;
    margin-bottom: 18px;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side > .side-card:first-of-type {
    min-height: 108px;
    padding: 14px;
    border: 1px solid #d6dbe3;
    border-bottom: 0;
    border-radius: 0;
  }

  body:is(.theme-teens, .teens-unified) .side-card--topic {
    border-top: 1px solid #e3e6eb;
    border-bottom: 0;
  }

  body:is(.theme-teens, .teens-unified) .side-card--topic + .sample {
    min-height: 84px;
    border-radius: 0;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side > .side-card:first-of-type .tiny-btn {
    min-height: 44px;
    border-radius: 0;
  }
}

@media (min-width: 901px) and (max-width: 1450px) {
  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead {
    grid-column: span 12;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(2),
  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(3) {
    grid-column: span 6;
  }

  body:is(.theme-teens, .teens-unified) .category-news-copy h3 {
    font-size: clamp(32px, 3.4vw, 42px);
  }
}

@media (max-width: 1180px) {
  body:is(.theme-teens, .teens-unified) .shell {
    display: block;
    padding-top: 12px;
  }

  body:is(.theme-teens, .teens-unified) .side {
    position: static;
    display: grid;
    grid-template-columns: 220px minmax(220px, 1fr) 220px;
    gap: 0 18px;
    margin-bottom: 18px;
    border-bottom: 0;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified) .side > .brand {
    position: static;
    width: 210px;
    min-width: 0;
    height: 64px;
    background-position: left center;
    background-size: 164px auto;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:first-of-type {
    min-height: 64px;
    padding: 8px 0;
    border-top: 0;
    border-bottom: 0;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:nth-of-type(2) {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  body:is(.theme-teens, .teens-unified) .side > .sample {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
  }

  body:is(.theme-teens, .teens-unified) .topbar {
    top: 0;
  }
}

@media (max-width: 900px) {
  body:is(.theme-teens, .teens-unified) .topbar {
    overflow-x: auto;
    padding: 0 10px;
    scrollbar-width: none;
  }

  body:is(.theme-teens, .teens-unified) .topbar a {
    min-width: 104px;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner {
    height: auto;
    min-height: 260px;
    grid-template-columns: minmax(0, 1fr) 210px;
    padding: 32px;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner::after {
    right: 226px;
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck {
    width: 190px;
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single[data-cover-index] {
    left: 30px;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services {
    grid-template-columns: 1fr;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__heading {
    padding: 15px 0;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button:first-child {
    border-left: 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-intro {
    flex-wrap: wrap;
  }

  body:is(.theme-teens, .teens-unified) .category-news-resources {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-wide {
    grid-column: span 6;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body:is(.theme-teens, .teens-unified) .top-utility-wrap {
    padding-inline: 16px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu {
    min-height: 0;
    overflow: visible;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-actions {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-priority-links {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-priority-links button,
  body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-priority-links button + button {
    width: 100%;
    margin-left: 0;
    border-left: 0;
    border-radius: 6px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu button[data-utility-action="free-sample"] {
    grid-column: span 2;
    width: 100%;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-language-picker {
    grid-column: span 2;
    width: 100%;
    min-width: 0;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account {
    grid-column: span 2;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu button {
    width: 100%;
    min-width: 0;
    padding-inline: 6px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account--login,
  body:is(.theme-teens, .teens-unified) .top-utility-menu button[data-utility-action="free-sample"] {
    margin-left: 0;
  }

  body:is(.theme-teens, .teens-unified) .shell,
  body:is(.theme-teens, .teens-unified).has-top-utility .shell {
    padding: 8px 16px 40px;
  }

  body:is(.theme-teens, .teens-unified) .side {
    grid-template-columns: 1fr 160px;
    gap: 0 12px;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified) .side > .brand {
    width: 100%;
    height: 54px;
    background-size: 150px auto;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:first-of-type {
    grid-column: 2;
    grid-row: 1;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:nth-of-type(2) {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 14px 0;
  }

  body:is(.theme-teens, .teens-unified) .side > .sample {
    min-height: 60px;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-bottom: 16px;
  }

  body:is(.theme-teens, .teens-unified) .topbar {
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px;
    background: #fff;
    scroll-snap-type: x proximity;
  }

  body:is(.theme-teens, .teens-unified) .topbar a {
    min-height: 60px;
    font-size: 14px;
    scroll-snap-align: center;
  }

  body:is(.theme-teens, .teens-unified) .topbar {
    min-height: 60px;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 24px 26px;
  }

  body.teens-unified .home-compact-banner {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 24px 26px;
  }

  body.teens-unified .home-compact-banner__copy strong {
    font-size: 36px;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner::after {
    display: none;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner__copy strong,
  body:is(.theme-teens, .teens-unified) .common-news-banner__copy h1 {
    font-size: 36px;
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck {
    width: 140px;
    height: 182px;
    justify-self: end;
    margin-right: 6px;
    transform: none !important;
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single[data-cover-index] {
    top: 0;
    left: 0;
    width: 135px;
    height: 182px;
    box-shadow: none;
    transform: translateY(0);
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single.is-current {
    transform: translateY(0);
    animation-name: teens-cover-rise-mobile;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button {
    min-height: 58px;
    border-top: 0;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button:nth-child(odd) {
    border-left: 0;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section {
    min-height: 520px;
    margin-top: 28px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-intro {
    align-items: flex-start;
  }

  body:is(.theme-teens, .teens-unified) .category-news-resources {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:is(.theme-teens, .teens-unified) .category-news-resource-button {
    width: 100%;
  }

  body:is(.theme-teens, .teens-unified) .category-news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-wide {
    grid-column: auto;
    display: block;
    min-height: 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-image,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-image,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-wide .category-news-image {
    height: 210px;
    min-height: 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-copy,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-wide .category-news-copy,
  body:is(.theme-teens, .teens-unified) .category-news-copy {
    padding: 18px 0 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-copy h3 {
    font-size: 31px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) {
    min-height: 176px;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 0;
    padding: 10px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-image {
    width: 132px;
    height: 100%;
    min-height: 156px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-copy {
    min-width: 0;
    justify-content: center;
    padding: 4px 2px 4px 14px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-meta {
    margin-bottom: 6px;
    font-size: 10px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-copy h3 {
    font-size: 19px;
    line-height: 1.15;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-excerpt {
    margin: 8px 0 10px;
    font-size: 13px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-action {
    min-height: 0;
    padding: 0;
    font-size: 13px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-copy h3 a {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body:is(.theme-teens, .teens-unified) .footer {
    margin-top: 30px;
  }

  body:is(.theme-teens, .teens-unified) .commercial-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 16px 34px;
  }

  body:is(.theme-teens, .teens-unified) .commercial-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body:is(.theme-teens, .teens-unified) .commercial-footer__links button {
    min-height: 44px;
    padding: 0 8px;
  }

  body:is(.theme-teens, .teens-unified) .commercial-action-toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 430px) {
  body:is(.theme-teens, .teens-unified) .side {
    grid-template-columns: 1fr;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified) .side > .brand,
  body:is(.theme-teens, .teens-unified) .side > .side-card:first-of-type,
  body:is(.theme-teens, .teens-unified) .side > .side-card:nth-of-type(2),
  body:is(.theme-teens, .teens-unified) .side > .sample {
    grid-column: 1;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:first-of-type {
    grid-row: 2;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:nth-of-type(2) {
    grid-row: 3;
  }

  body:is(.theme-teens, .teens-unified) .side > .sample {
    grid-row: 4;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner__copy strong,
  body:is(.theme-teens, .teens-unified) .common-news-banner__copy h1 {
    font-size: 32px;
  }

  body.teens-unified .home-compact-banner__copy strong {
    font-size: 32px;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links,
  body:is(.theme-teens, .teens-unified) .category-news-resources {
    grid-template-columns: 1fr;
  }

  body:is(.theme-teens, .teens-unified) .commercial-footer__links {
    grid-template-columns: 1fr;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button {
    border-left: 0;
  }
}

.topbar a[href^="index.php"]:not(.active)::before {
  background: #21418f;
}

body:is(.theme-teens, .teens-unified) .topbar a.active[href^="index.php"] {
  background: #eaf0ff;
  color: #21418f;
}

body:is(.theme-teens, .teens-unified) .topbar a.active[href^="index.php"]::after {
  background: #21418f;
}

body.theme-home {
  --accent: #21418f;
  --accent-rgb: 33, 65, 143;
  --soft: #eaf0ff;
}

body.theme-home.teens-unified .home-compact-banner {
  border-top-color: #21418f;
  background: linear-gradient(
    96deg,
    #17356b 0%,
    #21418f 64%,
    #3156d8 78%,
    #9eb4e6 88%,
    #eaf0ff 95%,
    #fff 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  body:is(.theme-teens, .teens-unified) *,
  body:is(.theme-teens, .teens-unified) *::before,
  body:is(.theme-teens, .teens-unified) *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 20261001-BYKIDS-NAV-COLORS-V1: each top-level service keeps its own configured identity colour. */
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger {
  color: var(--accent) !important;
  font-weight: 850;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a:hover,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a:focus-visible,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:hover,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:focus-visible {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active::after,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active::after {
  background: var(--accent) !important;
  opacity: 1;
}

/* 20261001-BYKIDS-NAV-INTERACTION-V1: neutral at rest; age/service colour on hover, focus, and selection. */
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger {
  color: #4c5565 !important;
  font-weight: 780;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a:hover,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a:focus-visible,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:hover,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:focus-visible {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active::after,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active::after {
  background: var(--accent) !important;
  opacity: 1;
}

/* 20261001-BYKIDS-NAV-INTERACTION-V2: neutral at rest; age/service colour on hover, focus, and selection. */
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger {
  color: #4c5565 !important;
  font-weight: 780;
}

html[lang="ko"] body:has(.consumer-header):is(.theme-teens, .teens-unified) .topbar > a:hover:not(.active),
html[lang="ko"] body:has(.consumer-header):is(.theme-teens, .teens-unified) .topbar > a:focus-visible:not(.active),
html[lang="ko"] body:has(.consumer-header):is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:hover:not(.active),
html[lang="ko"] body:has(.consumer-header):is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:focus-visible:not(.active) {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active::after,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active::after {
  background: var(--accent) !important;
  opacity: 1;
}


