/* 자동 생성 — tools/scope_shell_css.py (옛 셸 CSS 를 헤더·푸터 감싸개 .legacy-shell 안에 가둔 것). 손으로 고치지 말 것. */

@scope (.legacy-shell) {
*, *::before, *::after {box-sizing: border-box;}
:scope {--serif: "Noto Serif KR", serif;
  --cos-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
  --cos-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -2px rgba(0, 0, 0, .05);
  --cos-ease: .2s ease-out;}
.btn {display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; height: 48px; padding: 0 24px; border-radius: 999px;
       border: 1px solid var(--border-subtle); background: var(--bg-surface); color: var(--text-main); font-size: 16px; font-weight: 600; cursor: pointer;
       transition: transform var(--cos-ease), background var(--cos-ease), border-color var(--cos-ease), color var(--cos-ease), box-shadow var(--cos-ease);}
.btn:hover {background: var(--bg-body); border-color: var(--accent); color: var(--accent);}
.btn:active {background: var(--accent-soft); transform: scale(.98);}
.btn--primary {border-color: transparent; background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end)); color: var(--text-on-accent); box-shadow: var(--cos-shadow-md);}
.btn--primary:hover {border-color: transparent; background: linear-gradient(135deg, var(--accent-gradient-end), var(--accent-gradient-start)); color: var(--text-on-accent);
                      transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .15), 0 4px 6px -2px rgba(0, 0, 0, .1);}
.btn--primary:active {transform: translateY(1px) scale(.98); box-shadow: 0 2px 4px -1px rgba(0, 0, 0, .1), 0 1px 2px -1px rgba(0, 0, 0, .06);}
.btn--block {width: 100%;}
.page-container {width: min(1120px, 100% - 48px); margin-inline: auto;}
.page-container--narrow {width: min(1024px, 100% - 48px);}
.page-container--read {width: min(768px, 100% - 32px);}
.section {padding-block: 80px;}
.section--tone-elevated {background: var(--bg-surface); border-block: 1px solid var(--border-subtle);}
.section-header {display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 48px;}
.section-header--left {align-items: flex-start; text-align: left;}
.eyebrow {font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-strong);}
.section-title {font-family: var(--serif); font-size: clamp(28px, 3vw, 36px); line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: var(--text-main);}
.section-description {max-width: 36rem; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.7; color: var(--text-muted);}
.section-header--left .section-description {max-width: 32rem;}
.grid-2 {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px;}
.grid-3 {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px;}
.grid-4 {display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;}
.stack {display: flex; flex-direction: column; gap: 16px;}
.row-center {display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;}
.row-left {display: flex; flex-wrap: wrap; align-items: center; gap: 12px;}
.cos-gap-top {margin-top: 32px;}
.card {display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 16px;
        box-shadow: var(--cos-shadow-md); transition: transform var(--cos-ease), box-shadow var(--cos-ease), border-color var(--cos-ease); color: var(--text-main);}
.card:hover {transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--cos-shadow-lg);}
.card--soft {background: var(--accent-soft); border-color: transparent; box-shadow: none;}
.card--soft:hover {border-color: var(--accent);}
.card--tint {background: var(--tint); border-color: transparent; box-shadow: none;}
.card--line {border: 2px solid var(--accent); box-shadow: none;}
.card--hot {border: 2px solid var(--accent);}
.card--static:hover, .card--flush.card--static:hover {transform: none; border-color: var(--border-subtle); box-shadow: var(--cos-shadow-md);}
.card--line.card--static:hover {border-color: var(--accent); box-shadow: none;}
.card--flush {padding: 0; overflow: hidden; gap: 0;}
.card__pad {display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px;}
.card--prog .card__pad {flex: 1;}
.card-no {font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--accent-highlight);}
.card-label {font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--accent-strong);}
.card-title {font-family: var(--serif); font-size: 20px; line-height: 1.4; font-weight: 700; letter-spacing: -.02em; color: var(--text-main);}
.card-body {font-size: 15px; line-height: 1.7; color: var(--text-muted);}
.card-note {font-size: 14px; line-height: 1.7; color: var(--text-main); padding: 12px 14px; border-radius: 12px; background: var(--accent-soft);}
.card-link {margin-top: auto; padding-top: 4px; font-size: 14px; font-weight: 600; color: var(--accent);}
a.card:hover .card-link, .card-link:hover {color: var(--accent-strong);}
.card-mark {display: flex; align-items: baseline; justify-content: space-between; padding: 28px; background: var(--accent-soft);}
.card-mark b {font: 500 64px/1 var(--serif); color: var(--accent);}
.card-head {display: flex; justify-content: space-between; align-items: baseline; gap: 12px;}
.card-head strong {font-size: 13.5px; font-weight: 700; color: var(--accent);}
.card--hot .card-head strong::after {content: "";}
.cos-photo {display: block; margin: 0; border-radius: 16px; overflow: hidden; background: var(--accent-soft);}
.cos-photo img {display: block; width: 100%; height: 100%; object-fit: cover;}
.cos-photo--tall {aspect-ratio: 3 / 4; max-width: 480px; width: 100%; justify-self: center;}
.cos-photo--wide {aspect-ratio: 4 / 3;}
.hero-section {padding-block: clamp(72px, 10vw, 140px) clamp(56px, 7vw, 96px); text-align: center;}
.hero-section .eyebrow {display: block; margin-bottom: 28px; letter-spacing: .3em; font-weight: 500;}
.hero-title {font-family: var(--serif); font-size: clamp(44px, 7.5vw, 112px); line-height: 1.2; font-weight: 400; letter-spacing: -.02em; color: var(--text-main); margin-bottom: 32px;}
.hero-sub {font-family: var(--serif); font-size: clamp(20px, 2vw, 28px); line-height: 1.5; font-weight: 700; letter-spacing: -.02em; margin-bottom: 20px;}
.hero-lead {max-width: 40rem; margin-inline: auto; font-family: var(--serif); font-size: clamp(17px, 1.5vw, 20px); line-height: 2; font-weight: 300; color: var(--text-muted);}
.hero-actions {margin-top: 40px;}
.site-moon {isolation: isolate;}
.site-backdrop {position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .15;}
.site-backdrop canvas {display: block; width: 100%; height: 100%;}
.site-moon .section--tone-elevated {background: transparent; border-block-color: transparent;}
@media (max-width: 720px) {
.hero-actions {flex-direction: column; align-items: center;}
.hero-actions .btn {width: min(100%, 320px); justify-content: center;}
}
.page-hero {padding-block: 48px 64px;}
.page-hero__text {display: flex; flex-direction: column; align-items: flex-start; gap: 16px;}
.page-title {font-family: var(--serif); font-size: clamp(36px, 5.2vw, 72px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--text-main);}
.page-lead {max-width: 40rem; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.8; color: var(--text-muted);}
.page-note {max-width: 40rem; padding-top: 14px; border-top: 1px solid var(--border-subtle); font-size: 14px; line-height: 1.7; color: var(--text-muted);}
.crumb {display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-muted);}
.crumb [aria-current] {color: var(--text-main);}
.cos-hanja {font: 500 clamp(48px, 5vw, 64px)/1 var(--serif); color: var(--accent);}
.cos-hanja--sm {font-size: 40px;}
.cos-points {display: flex; flex-direction: column; gap: 8px;}
.cos-points li {display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; font-size: 15px; line-height: 1.7; color: var(--text-main);}
.cos-points li::before {content: ""; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: var(--accent);}
.cos-numbered {display: flex; flex-direction: column;}
.cos-numbered > li {display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-top: 1px solid var(--border-subtle);}
.cos-numbered > li:first-child {border-top: 0; padding-top: 0;}
.cos-numbered > li > .card-no {padding-top: 3px;}
.cos-numbered > li > div {display: flex; flex-direction: column; gap: 4px; min-width: 0;}
.cos-dl {display: flex; flex-direction: column;}
.cos-dl > div {display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 6px 20px; padding: 14px 0; border-top: 1px solid var(--border-subtle);}
.cos-dl > div:first-child {border-top: 0; padding-top: 0;}
.cos-dl dt {font-size: 14.5px; font-weight: 700; color: var(--text-main);}
.cos-dl dd {font-size: 15px; line-height: 1.75; color: var(--text-muted);}
.cos-dl dd a {font-weight: 700; color: var(--accent);}
.cos-dl--tight > div {grid-template-columns: 44px minmax(0, 1fr); gap: 4px 10px; padding: 8px 0;}
.cos-dl--tight dt {font-size: 13.5px; color: var(--text-muted);}
.cos-dl--tight dd {font-size: 14px; line-height: 1.65; color: var(--text-main);}
.cos-muted {font-size: 13.5px; line-height: 1.7; color: var(--text-muted);}
.cos-basis {margin-top: 24px; text-align: center; font-size: 13.5px; line-height: 1.7; color: var(--text-muted);}
.cos-chips {display: flex; flex-wrap: wrap; gap: 6px;}
.cos-chips > * {display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; background: var(--accent-soft); font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--text-main);}
.cos-chips--line > * {background: var(--bg-surface); border: 1px solid var(--border-subtle);}
.cos-chips--tint > * {background: var(--tint);}
.cos-chips--ban > * {background: var(--accent); color: var(--text-on-accent); font-weight: 700;}
.cos-chips--avoid > * {background: transparent; border: 1.5px solid var(--accent); color: var(--accent); font-weight: 700; text-decoration: line-through; text-decoration-thickness: 1.5px;}
.cos-split {align-items: center;}
.cos-split--top {align-items: start;}
@media (min-width: 721px) {
#view .cos-split {align-items: stretch;}
#view .cos-photo--tall {aspect-ratio: auto; height: 100%;}
}
.cos-sticky {position: sticky; top: 104px; margin-bottom: 0;}
.cos-body {display: flex; flex-direction: column; gap: 20px;}
.cos-body > p {font-size: clamp(16px, 1.3vw, 18px); line-height: 1.85; color: var(--text-main);}
.cos-body > p.cos-muted {font-size: 13.5px; color: var(--text-muted);}
.cos-sub {font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; font-weight: 700; letter-spacing: -.02em; color: var(--text-main);}
.cos-faq {display: flex; flex-direction: column; gap: 12px;}
.cos-faq details {padding: 0; gap: 0;}
.cos-faq details:hover, .cos-faq details[open]:hover {transform: none;}
.cos-faq details[open] {box-shadow: var(--cos-shadow-lg);}
.cos-faq summary {display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.5;}
.cos-faq summary::after {content: "+"; flex-shrink: 0; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .2s;}
.cos-faq details[open] summary::after {transform: rotate(45deg);}
.cos-faq .faq-a {padding: 0 24px 22px; font-size: 15px; line-height: 1.8; color: var(--text-muted);}
.cos-faq--sm summary {padding: 16px 20px; font-size: 15.5px;}
.cos-faq--sm .faq-a {padding: 0 20px 18px; font-size: 14.5px;}
.cos-cta {align-items: center; text-align: center; gap: 20px; padding: 56px 40px;}
.cos-cta .card-body {max-width: 40rem;}
.cos-cta:hover {transform: none; border-color: var(--border-subtle); box-shadow: var(--cos-shadow-md);}
.cos-toc {gap: 6px; padding: 24px;}
.cos-toc:hover {transform: none; border-color: var(--border-subtle); box-shadow: var(--cos-shadow-md);}
.cos-toc a {display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--border-subtle); font-size: 15px; font-weight: 500; color: var(--text-muted);}
.cos-toc li:first-child a {border-top: 0;}
.cos-toc a:hover {color: var(--accent);}
.cos-toc a small {font-size: 12.5px;}
.cos-groups {display: flex; flex-direction: column; gap: 56px;}
.cos-groups > section {display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 100px;}
.cos-linklist {display: flex; flex-direction: column; margin-top: auto;}
.cos-linklist a {display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border-subtle); font-size: 15px; font-weight: 600;}
.cos-linklist a::after {content: "→"; color: var(--accent); transition: transform .2s;}
.cos-linklist a:hover {color: var(--accent);}
.cos-linklist a:hover::after {transform: translateX(3px);}
.cos-tool {display: flex; flex-direction: column; gap: 24px;}
.cos-dayhead {display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--deep); color: var(--surface);}
.cos-dayhead__top {display: flex; justify-content: space-between; align-items: baseline; gap: 12px;}
.cos-dayhead__top strong {font-size: 14.5px; font-weight: 700; color: #9fd3cd;}
.cos-dayhead__top span, .cos-dayhead p {font-size: 12.5px; line-height: 1.6; color: color-mix(in srgb, var(--surface) 78%, transparent);}
.cos-dayhead p a {color: var(--surface); text-decoration: underline; text-underline-offset: 3px;}
.cos-days {display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px;}
.cos-days .day-btn {border-radius: 12px !important;}
.cos-today {display: flex; flex-direction: column; gap: 14px; padding: 24px;}
.cos-today__head {display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px;}
.cos-today__head h2 {font-size: clamp(22px, 3vw, 28px); line-height: 1.25;}
.cos-today__head span#phase-amount {font-size: 14px; font-weight: 600; color: var(--accent-highlight);}
.cos-meals {display: flex; flex-direction: column; gap: 8px;}
.cos-meals > div {display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; background: var(--tint); border-radius: 12px;}
.cos-meals > div.is-snack {background: var(--soft);}
.cos-meals dt {padding-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--accent);}
.cos-meals dd {font-size: 16.5px; line-height: 1.55; font-weight: 500;}
.cos-tip {margin-top: 10px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 12px 12px 0; font-size: 14px; line-height: 1.7; color: var(--text-muted);}
.cos-more {margin-top: 14px; border-top: 1px solid var(--border-subtle);}
.cos-more summary {display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-size: 15px; font-weight: 700;}
.cos-more summary::after {content: "+"; font-size: 22px; font-weight: 300; color: var(--accent);}
.cos-more[open] summary::after {content: "–";}
.cos-more .cos-dl > div {grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0;}
.cos-more .cos-dl > div:first-child {padding-top: 10px; border-top: 1px solid var(--border-subtle);}
.cos-more .cos-dl dd {font-size: 13.5px;}
.cos-more > p {padding: 10px 0 4px; font-size: 13.5px; line-height: 1.65; color: var(--text-muted);}
.cos-more > p strong {color: var(--text-main);}
.cos-rules2 {padding: 0 24px 24px; gap: 12px;}
.cos-rules2 .card {padding: 20px 22px; gap: 10px;}
.cos-tiles a.card {padding: 20px; gap: 10px; min-height: 132px;}
.cos-tiles .card-head b {font: 500 34px/.9 var(--serif); color: var(--accent);}
.cos-tiles .card-head span {color: var(--accent-highlight);}
.cos-tiles .card-title {font-size: 18px;}
.cos-tiles .card-body {font-size: 13px; line-height: 1.5;}
.cos-sheet {display: flex; flex-direction: column;}
.cos-sheet__head {display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 40px) 24px; background: var(--deep); color: var(--surface);}
.cos-sheet__title {display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap;}
.cos-sheet__title > div {display: flex; align-items: baseline; gap: 12px;}
.cos-sheet__title b {font: 500 44px/.9 var(--serif); color: #9fd3cd;}
.cos-sheet__title h1 {font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; color: var(--surface);}
.cos-sheet__head > p {max-width: 560px; font-size: 15px; line-height: 1.7; color: color-mix(in srgb, var(--surface) 82%, transparent);}
.cos-print {height: 40px; padding: 0 18px; border: 1px solid color-mix(in srgb, var(--surface) 40%, transparent); border-radius: 999px; background: transparent; color: var(--surface); font-size: 14px; font-weight: 700;}
.cos-print:hover {background: color-mix(in srgb, var(--surface) 12%, transparent);}
.cos-sheet__sec {display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 4vw, 32px) clamp(20px, 4vw, 40px); border-top: 1px solid var(--border-subtle);}
.cos-sheet__sec:first-of-type {border-top: 0;}
.cos-sheet__sec h2 {font-size: 20px; line-height: 1.3;}
.cos-sheet__foot {display: flex; flex-direction: column; gap: 10px; padding: 20px clamp(20px, 4vw, 40px) 24px; background: var(--soft); font-size: 13px; line-height: 1.7; color: var(--text-muted);}
.cos-sheet__foot strong {color: var(--text-main);}
.cos-sheet__foot a {font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px;}
.cos-rows {display: flex; flex-direction: column; gap: 14px;}
.cos-rows > div, .cos-rows > dl > div {display: grid; grid-template-columns: minmax(0, 96px) minmax(0, 1fr); gap: 8px 14px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle);}
.cos-rows dt {padding-top: 6px; font-size: 13.5px; font-weight: 700; line-height: 1.5; color: var(--accent);}
.cos-rows .is-dim {opacity: .55;}
.cos-rows .is-dim dt {color: var(--text-muted);}
.cos-rows .is-dim .cos-chips > * {background: var(--bg-surface); border: 1px solid var(--border-subtle);}
.cos-plan {display: flex; flex-direction: column; gap: 10px;}
.cos-plan > div {display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 8px 20px; padding: 12px 14px; background: var(--soft); border-radius: 12px;}
.cos-plan h3 {font-size: 14px; line-height: 1.4;}
.cos-plan .cos-dl--tight > div {padding: 2px 0; border: 0; grid-template-columns: 72px minmax(0, 1fr);}
.cos-plan .cos-dl--tight dt {color: var(--accent-highlight);}
.cos-shop summary {display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--border-subtle); font-size: 16px; font-weight: 700;}
.cos-shop summary::after {content: "+"; font-weight: 300; color: var(--accent);}
.cos-shop[open] summary::after {content: "–";}
.cos-shop .cos-chips {padding-top: 12px;}
.cos-seg {display: grid; gap: 6px;}
.cos-seg--4 {grid-template-columns: repeat(4, minmax(0, 1fr));}
.cos-seg--3 {grid-template-columns: repeat(3, minmax(0, 1fr));}
.cos-seg a {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 48px; padding: 6px 4px; border: 1px solid var(--border-subtle); border-radius: 12px;
             background: var(--bg-surface); font-size: 14px; font-weight: 700; white-space: nowrap; transition: border-color var(--cos-ease), color var(--cos-ease), transform var(--cos-ease);}
.cos-seg--4 a {min-height: 56px;}
.cos-seg a b {font: 500 15px/1 var(--serif);}
.cos-seg a:hover {border-color: var(--accent); color: var(--accent);}
.cos-seg a:active {transform: scale(.98);}
.cos-seg a[aria-selected="true"] {border-color: transparent; background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end)); color: var(--text-on-accent); box-shadow: var(--cos-shadow-md);}
.cos-foods {display: flex; flex-direction: column; gap: 14px;}
.cos-foods > div {display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border-subtle);}
.cos-foods > div:last-child {border-bottom: 0; padding-bottom: 0;}
.cos-foods dt {font-size: 13.5px; font-weight: 700; color: var(--accent);}
@media (max-width: 900px) {
.grid-3, .grid-4 {grid-template-columns: repeat(2, minmax(0, 1fr));}
.cos-sticky {position: static;}
}
@media (max-width: 720px) {
.section {padding-block: 64px;}
.section-header {margin-bottom: 32px;}
.grid-2, .grid-3 {grid-template-columns: minmax(0, 1fr); gap: 20px;}
.grid-4 {grid-template-columns: minmax(0, 1fr); gap: 16px;}
.grid-2.cos-tiles, .grid-4.cos-keep2 {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;}
.card {padding: 24px;}
.card--flush {padding: 0;}
.hero-title {margin-bottom: 24px;}
.page-hero {padding-block: 32px 48px;}
.cos-dl > div {grid-template-columns: minmax(0, 1fr); gap: 4px;}
.cos-dl--tight > div {grid-template-columns: 44px minmax(0, 1fr);}
.cos-cta {padding: 36px 22px;}
.cos-today {padding: 20px 16px;}
.cos-dayhead {padding: 18px 16px 16px;}
.cos-rules2 {padding: 0 16px 20px;}
.cos-plan > div {grid-template-columns: minmax(0, 1fr);}
.cos-tiles a.card {padding: 16px;}
}
@media (prefers-reduced-motion: reduce) {
.card, .btn, .cos-seg a {transition: none;}
.card:hover, .btn:hover, .btn:active {transform: none;}
}
@media print {
.card {box-shadow: none !important;}
.cos-sheet {border: 0 !important; border-radius: 0 !important;}
}
.cos-main {display: flex; flex-direction: column; gap: 28px; padding-block: 32px 72px;}
.page-title--sm {font-size: clamp(30px, 5vw, 44px);}
.card-badge {display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 700; letter-spacing: .04em;}
.cos-chips--links > a:hover {border-color: var(--accent); color: var(--accent);}
.cos-faqgrid {grid-template-columns: minmax(0, 280px) minmax(0, 1fr);}
.cos-toc ol {display: flex; flex-direction: column;}
@media (max-width: 720px) {
.cos-faqgrid {grid-template-columns: minmax(0, 1fr);}
.cos-main {padding-block: 24px 56px; gap: 24px;}
}
#gamrosu {border-bottom: 0;}
.cos-strip {gap: 16px; margin-top: 8px;}
.cos-strip__who {display: flex; align-items: center; gap: 16px;}
.cos-strip__who > div {display: flex; flex-direction: column; gap: 2px;}
.cos-strip__who .eyebrow {font-size: 12px;}
.cos-strip__who strong {font-family: var(--serif); font-size: 20px; font-weight: 700; letter-spacing: -.02em;}
.cos-strip__who span:last-child {font-size: 14px; color: var(--text-muted);}
.cos-strip__face {flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--accent-soft);}
.cos-strip__face img {width: 100%; height: 100%; object-fit: cover;}
.cos-strip .row-left {gap: 12px 20px;}
.cos-strip .card-link {margin-top: 0; padding-top: 0;}
.tabbar {display: none;}
@media (max-width: 720px) {
.tabbar {position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr);
    height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.05);}
.tabbar a {display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ink); text-decoration: none; font-size: 12.5px; font-weight: 600;}
.tabbar svg {width: 22px; height: 22px;}
.tabbar__main {background: linear-gradient(135deg, var(--accent-gradient-start), var(--accent-gradient-end)); color: var(--text-on-accent) !important;}
:scope {padding-bottom: calc(64px + env(safe-area-inset-bottom));}
}
@media print {
.tabbar {display: none !important;}
:scope {padding-bottom: 0 !important;}
}
@media (max-width: 720px) {
.tabbar {grid-template-columns: repeat(5, 1fr);}
.tabbar a {font-size: 12px;}
.tabbar img {width: 24px; height: 24px;}
.tabbar__nbook {color: #03a94f !important;}
}
@media (max-width: 720px) {
.tabbar {height: calc(54px + env(safe-area-inset-bottom));}
.tabbar a {gap: 2px; font-size: 11.5px;}
.tabbar svg {width: 20px; height: 20px;}
.tabbar img {width: 21px; height: 21px;}
:scope {padding-bottom: calc(54px + env(safe-area-inset-bottom));}
}
@media (max-width: 720px) {
.tabbar {height: calc(50px + env(safe-area-inset-bottom));}
:scope {padding-bottom: calc(50px + env(safe-area-inset-bottom));}
}
@media (max-width: 720px) {
.tabbar__main {background: none !important; color: var(--accent) !important; font-weight: 800;}
}
:scope {margin: 0; background: #fefcfb; color: #1f1e1b; font: 1rem/1.8 "Noto Sans KR", "Malgun Gothic", sans-serif; word-break: keep-all; -webkit-text-size-adjust: 100%;}
h1, h2, h3, h4 {font-weight: 700; letter-spacing: -.045em; word-break: keep-all; margin: 0;}
p {margin: 0; word-break: keep-all; text-wrap: pretty;}
ul, ol, dl, dd {margin: 0; padding: 0; list-style: none;}
a {color: inherit; text-decoration: none;}
a:hover {color: #9b3f52;}
button {font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; background: none;}
summary {list-style: none; cursor: pointer;}
summary::-webkit-details-marker {display: none;}
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible {outline: 2px solid #9b3f52; outline-offset: 3px;}
@media print {
[data-noprint] {display: none !important;}
[data-printonly] {display: flex !important;}
:scope {background: #fff;}
[data-page] {box-shadow: none !important; margin: 0 !important; width: auto !important;}
}
:scope {--sh-sm: 0 1px 2px 0 rgba(31,30,27,.06), 0 1px 3px 0 rgba(31,30,27,.05); --sh-md: 0 4px 6px -1px rgba(31,30,27,.10), 0 2px 4px -2px rgba(31,30,27,.08); --sh-lg: 0 10px 15px -3px rgba(31,30,27,.12), 0 4px 6px -4px rgba(31,30,27,.08); --ease: .2s cubic-bezier(.2,.7,.2,1);}
:scope, :scope {overflow-x: clip;}
.dj-card {transition: box-shadow var(--ease), transform var(--ease);}
.dj-card:hover {box-shadow: var(--sh-md) !important; transform: translateY(-2px);}
.dj-card-dark:hover {box-shadow: 0 20px 25px -5px rgba(0,0,0,.4), 0 8px 10px -6px rgba(0,0,0,.3) !important; transform: translateY(-2px);}
details.dj-card[open] {box-shadow: var(--sh-md) !important;}
.dj-bleed .dj-card {box-shadow: var(--sh-md) !important;}
.dj-bleed .dj-card:hover {box-shadow: var(--sh-lg) !important;}
.dj-btn {transition: background-color .15s, color .15s, box-shadow var(--ease), transform var(--ease);}
.dj-btn:hover {box-shadow: var(--sh-md) !important; transform: translateY(-2px);}
.dj-btn:active {box-shadow: var(--sh-sm) !important; transform: none;}
@media (prefers-reduced-motion: reduce) {
.dj-card, .dj-btn {transition: none;}
.dj-card:hover, .dj-card-dark:hover, .dj-btn:hover {transform: none;}
}
.site-nav-desktop {display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 14px; font-weight: 500; color: var(--muted);}
.site-menu-btn {display: none; margin-left: auto;}
:scope.menu-open {overflow: hidden;}
@media (max-width: 720px) {
.sticky-100 {position: static !important; top: auto !important;}
}
@media (max-width: 767px) {
.site-nav-desktop {display: none;}
.site-menu-btn {display: inline-flex;}
:scope.menu-open header[data-noprint] {backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--surface) !important;}
:scope.menu-open header[data-noprint] {position: fixed !important; top: 0; left: 0; right: 0;}
:scope.menu-open .site-nav-desktop {position: fixed; top: 72px; left: 0; right: 0; bottom: 0; z-index: 35; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 24px; background: var(--surface); font-size: 18px; overflow-y: auto; overscroll-behavior: contain;}
:scope.menu-open .site-nav-desktop a:not(.cta-pill) {padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--ink);}
:scope.menu-open .site-nav-desktop .cta-pill {margin-top: 24px; height: 52px !important; font-size: 16px !important; justify-content: center;}
}
:scope {--ink:#221d1c; --muted:#6b605e; --line:#eaded9; --surface:#fefcfb; --soft:#f6ecea; --paper:#ffffff; --accent:#9b3f52; --deep:#5e2433; --gold:#b07a86; --tint:#f9eef0;}
:scope[data-skin="mom"] {--bg-body: var(--surface);
    --bg-surface: var(--paper);
    --surface-elevated: var(--paper);
    --bg-header: rgba(254,252,251,0.9);
    --bg-footer: var(--soft);
    --text-main: var(--ink);
    --text-muted: var(--muted);
    --text-subtle: var(--text-muted);
    --accent-soft: var(--soft);
    --accent-strong: var(--deep);
    --accent-gradient-start: var(--accent);
    --accent-gradient-end: var(--accent-strong);
    --border-subtle: var(--line);
    --danger: #b91c1c;
    --text-on-accent: #ffffff;
    --accent-highlight: var(--gold);

    
    --font-sans: "Noto Sans KR", "Malgun Gothic", sans-serif;
    --font-serif: "Noto Serif KR", serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    
    --ds-space-xs: 4px; --ds-space-sm: 8px; --ds-space-md: 16px; --ds-space-lg: 24px; --ds-space-xl: 32px; --ds-space-2xl: 48px;
    --ds-radius-sm: 4px; --ds-radius-md: 8px; --ds-radius-lg: 16px; --ds-radius-xl: 24px; --ds-radius-full: 9999px;
    --ds-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --ds-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --ds-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);}
:scope {--font-sans: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;}
:scope {font-family: var(--font-sans); line-height: 1.625;}
h1, h2, h3, h4 {font-family: "Noto Serif KR", serif; font-weight: 700; letter-spacing: -.02em;}
.dx-ft-cols {display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 36px 48px; padding-top: 44px; border-top: 1px solid color-mix(in srgb, var(--surface) 16%, transparent);}
.dx-ft-col {display: flex; flex-direction: column; gap: 2px;}
.dx-ft-col h3 {font-family: var(--font-sans); font-size: 13px; font-weight: 600; letter-spacing: .02em; color: color-mix(in srgb, var(--surface) 62%, transparent); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid color-mix(in srgb, var(--surface) 16%, transparent);}
.dx-ft-col a, .dx-ft-col span {display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 7px 0; font-size: 15px; line-height: 1.5; color: color-mix(in srgb, var(--surface) 88%, transparent);}
.dx-ft-col a:hover {color: var(--surface);}
.dx-ft-col a small {font-size: 12px; color: color-mix(in srgb, var(--surface) 45%, transparent); transition: transform .15s, color .15s;}
.dx-ft-col a:hover small {color: var(--surface); transform: translate(2px, -2px);}
.dx-ft-col span {color: color-mix(in srgb, var(--surface) 70%, transparent);}
.dx-ft-legal {display: flex; flex-direction: column; gap: 16px; padding-top: 28px; border-top: 1px solid color-mix(in srgb, var(--surface) 16%, transparent); font-size: 12.5px;}
.dx-ft-legal p {max-width: 760px; line-height: 1.75; color: color-mix(in srgb, var(--surface) 58%, transparent);}
.dx-ft-bottom a:hover {color: var(--surface);}
.dx-ft-bottom {display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--surface) 10%, transparent); font-size: 13px;}
.dx-ft-bottom a {color: color-mix(in srgb, var(--surface) 82%, transparent);}
.dx-ft-bottom > span:last-child {margin-left: auto; font-size: 12.5px; color: color-mix(in srgb, var(--surface) 55%, transparent);}
@media (max-width: 720px) {
.dx-ft-cols {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-top: 32px;}
.dx-ft-bottom > span:last-child {margin-left: 0; width: 100%;}
}
:scope {--cos-shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06); --cos-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);}
.dj-card {border-color: var(--border-subtle) !important; box-shadow: var(--cos-shadow-md) !important; transition: transform .2s ease-out, box-shadow .2s ease-out, border-color .2s ease-out;}
.dj-card:hover, .dj-bleed .dj-card:hover {transform: translateY(-4px); border-color: var(--accent) !important; box-shadow: var(--cos-shadow-lg) !important;}
.dj-bleed .dj-card {box-shadow: var(--cos-shadow-md) !important;}
details.dj-card[open] {box-shadow: var(--cos-shadow-lg) !important;}
.dj-panel {border-color: var(--border-subtle) !important; box-shadow: var(--cos-shadow-md);}
.dj-btn {box-shadow: var(--cos-shadow-md) !important; transition: transform .2s ease-out, box-shadow .2s ease-out, background .2s ease-out, color .2s ease-out;}
.dj-btn:hover {transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(0,0,0,.15), 0 4px 6px -2px rgba(0,0,0,.1) !important;}
.dj-btn:active {transform: translateY(1px) scale(.98); box-shadow: 0 2px 4px -1px rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.06) !important;}
.dj-btn-secondary {transition: transform .2s ease-out, background .2s ease-out, border-color .2s ease-out, color .2s ease-out;}
.dj-btn-secondary:hover {background: var(--bg-body) !important;}
.dj-btn-secondary:active {background: var(--accent-soft) !important; transform: scale(.98);}
@media (prefers-reduced-motion: reduce) {
.dj-card, .dj-btn, .dj-btn-secondary {transition: none; transform: none !important;}
}
.dj-btn-primary:hover {background: linear-gradient(135deg, var(--accent-strong), var(--accent)) !important;}
.dj-btn-secondary:hover {border-color: var(--accent) !important; color: var(--accent) !important;}
header[data-noprint] > div {position: relative;}
.mega__btn {display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; font-size: 14px; font-weight: 500; color: inherit;}
.mega__btn svg {transition: transform .2s;}
.mega__panel {display: none; position: absolute; top: calc(100% - 4px); left: 50%; transform: translateX(-50%); width: min(880px, 100%); padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 10px 30px rgba(34,29,28,.12); z-index: 40;}
.mega__head {display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 6px 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line);}
.mega__head strong {font-size: 16px; color: var(--ink);}
.mega__head span {font-size: 13px; color: var(--muted);}
.mega__grid {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;}
.mega__card {display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); transition: border-color .15s, background .15s;}
.mega__card:hover {border-color: var(--accent); background: var(--tint); color: var(--ink);}
.mega__kicker {font-size: 12.5px; font-weight: 600; color: var(--accent);}
.mega__card strong {font-size: 15.5px; font-weight: 700; line-height: 1.4;}
.mega__sub {font-size: 13px; color: var(--muted); line-height: 1.5;}
.mega__card--all {background: var(--soft);}
@media (min-width: 768px) {
.mega:hover .mega__panel, .mega:focus-within .mega__panel, .mega.open .mega__panel {display: block;}
.mega:hover .mega__btn svg, .mega.open .mega__btn svg {transform: rotate(180deg);}
.mega:hover .mega__btn, .mega.open .mega__btn {color: var(--accent);}
.mega__panel::before {content: ''; position: absolute; left: 0; right: 0; top: -24px; height: 24px;}
}
@media (max-width: 767px) {
:scope.menu-open .mega {border-bottom: 1px solid var(--line); padding: 14px 4px 18px;}
:scope.menu-open .mega__btn {font-size: 13px; font-weight: 600; color: var(--muted); pointer-events: none;}
:scope.menu-open .mega__btn svg {display: none;}
:scope.menu-open .mega__panel {display: block; position: static; transform: none; width: auto; padding: 10px 0 0; border: 0; box-shadow: none; background: transparent;}
:scope.menu-open .mega__head {display: none;}
:scope.menu-open .mega__grid {grid-template-columns: 1fr; gap: 8px;}
:scope.menu-open .mega__card {padding: 12px 14px;}
:scope.menu-open .site-nav-desktop {overflow-y: auto;}
}
}
