:root {
    --ink: #10162f;
    --ink-soft: #273052;
    --paper: #f7f8fc;
    --white: #ffffff;
    --line: #dfe3ee;
    --muted: #67708c;
    --coral: #ff6b6b;
    --coral-dark: #e74e61;
    --cyan: #60dfe7;
    --violet: #7768f2;
    --yellow: #ffd166;
    --shadow: 0 20px 60px rgba(16, 22, 47, 0.12);
    --radius-large: 30px;
    --radius-medium: 20px;
    --radius-small: 12px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: "";
    background-image: radial-gradient(circle at 12% 8%, rgba(96, 223, 231, 0.13), transparent 24%), radial-gradient(circle at 88% 18%, rgba(119, 104, 242, 0.12), transparent 28%);
    pointer-events: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
}

.site-shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.section-space {
    margin-top: 104px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(223, 227, 238, 0.82);
    background: rgba(247, 248, 252, 0.92);
    backdrop-filter: blur(18px);
}

.header-shell {
    display: flex;
    min-height: 84px;
    align-items: center;
    gap: 26px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--white);
    border-radius: 16px 16px 16px 5px;
    background: linear-gradient(135deg, var(--coral), var(--violet));
    box-shadow: 0 10px 24px rgba(119, 104, 242, 0.25);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.08em;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.75rem;
}

.primary-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.primary-nav a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    color: var(--ink-soft);
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-nav a:hover {
    color: var(--coral-dark);
    background: var(--white);
    transform: translateY(-2px);
}

.primary-nav a.is-active {
    color: var(--white);
    background: var(--ink);
}

.nav-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 7px;
    background: rgba(119, 104, 242, 0.12);
    font-size: 0.75rem;
}

.is-active .nav-icon {
    color: var(--ink);
    background: var(--cyan);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}

.hero {
    display: grid;
    min-height: 650px;
    margin-top: 42px;
    padding: 70px 72px;
    grid-template-columns: 0.96fr 1.04fr;
    align-items: center;
    gap: 68px;
    color: var(--white);
    border-radius: 38px;
    background: linear-gradient(138deg, #10162f 0%, #1e2650 52%, #392b69 100%);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 3;
}

.hero-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--coral);
    font-size: 0.77rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-kicker::before,
.eyebrow::before {
    width: 24px;
    height: 2px;
    content: "";
    background: currentColor;
}

.hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(3.8rem, 8vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.hero h1 a {
    background: linear-gradient(110deg, #ffffff 18%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 530px;
    margin: 0;
    color: #d8dcf0;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 21px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    box-shadow: 0 13px 28px rgba(255, 107, 107, 0.26);
}

.button-secondary {
    color: inherit;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.button-light {
    color: var(--ink);
    background: var(--white);
}

.hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 44px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    color: var(--cyan);
    font-size: 1.3rem;
}

.hero-stats span {
    color: #9ea7ca;
    font-size: 0.78rem;
}

.hero-visual {
    position: relative;
    min-height: 500px;
}

.hero-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(96, 223, 231, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 44px rgba(96, 223, 231, 0.04), 0 0 0 88px rgba(119, 104, 242, 0.04);
}

.hero-poster {
    position: absolute;
    display: block;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.hero-poster img {
    height: 100%;
    border-radius: 18px;
}

.hero-poster-main {
    top: 8px;
    right: 54px;
    width: 63%;
    height: 440px;
    transform: rotate(4deg);
}

.hero-poster-main span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(16, 22, 47, 0.84);
    font-size: 0.86rem;
    font-weight: 800;
}

.hero-poster-small {
    bottom: 4px;
    left: 8px;
    width: 34%;
    height: 260px;
    transform: rotate(-8deg);
}

.floating-note {
    position: absolute;
    right: 0;
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--ink);
    border-radius: 16px;
    background: var(--yellow);
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.24);
}

.floating-note > span {
    font-size: 1.4rem;
}

.floating-note div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.floating-note small {
    font-size: 0.72rem;
}

.pulse-strip {
    margin-top: 24px;
}

.pulse-grid {
    display: grid;
    padding: 18px 22px;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.pulse-grid > * {
    padding-inline: 14px;
    border-right: 1px solid var(--line);
}

.pulse-grid > *:last-child {
    border-right: 0;
}

.pulse-grid a {
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.pulse-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 6px rgba(255, 107, 107, 0.14);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.section-heading h2 {
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.section-heading p {
    max-width: 650px;
    margin: 10px 0 0;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--violet);
    font-weight: 800;
    white-space: nowrap;
}

.spotlight-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 0;
    border-radius: var(--radius-large);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.spotlight-image {
    min-height: 520px;
}

.spotlight-image img {
    height: 100%;
}

.spotlight-copy {
    display: flex;
    padding: 46px;
    flex-direction: column;
    justify-content: center;
}

.tag {
    display: inline-flex;
    width: fit-content;
    padding: 5px 10px;
    color: var(--coral-dark);
    border-radius: 999px;
    background: #fff0f1;
    font-size: 0.76rem;
    font-weight: 800;
}

.spotlight-copy h3 {
    margin: 18px 0 12px;
    font-size: 2.2rem;
}

.spotlight-copy > p {
    margin: 0;
    color: var(--muted);
}

.detail-list {
    margin: 24px 0 0;
}

.detail-list div {
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.detail-list dt {
    color: var(--muted);
    font-size: 0.75rem;
}

.detail-list dd {
    margin: 2px 0 0;
    font-weight: 700;
}

.category-section,
.ranking-section,
.schedule-section,
.about-section {
    padding: 90px 0;
    background: var(--white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
}

.category-tile {
    position: relative;
    display: flex;
    min-height: 220px;
    padding: 26px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: #fafbff;
    grid-column: span 3;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover {
    border-color: var(--violet);
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.category-symbol {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 16px;
    background: #eceafe;
    font-size: 1.2rem;
    font-weight: 900;
}

.category-tile h3 {
    margin: 20px 0 6px;
    font-size: 1.16rem;
}

.category-tile p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.tile-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--muted);
}

.category-tile:nth-child(n + 5) {
    grid-column: span 4;
    min-height: 180px;
}

.timeline-list {
    position: relative;
    display: grid;
    gap: 0;
}

.timeline-list::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100px;
    width: 1px;
    content: "";
    background: var(--line);
}

.timeline-item {
    position: relative;
    display: grid;
    padding: 22px 0;
    grid-template-columns: 72px 28px 130px 1fr 48px;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.timeline-item time {
    color: var(--muted);
    font-weight: 800;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    width: 11px;
    height: 11px;
    margin: auto;
    border: 3px solid var(--paper);
    border-radius: 50%;
    background: var(--violet);
    box-shadow: 0 0 0 2px var(--violet);
}

.timeline-thumb img {
    height: 88px;
    border-radius: 14px;
}

.timeline-copy h3 {
    margin: 6px 0 1px;
    font-size: 1.15rem;
}

.timeline-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.round-link {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
}

.ranking-list {
    display: grid;
    margin: 0;
    padding: 0;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    list-style: none;
}

.ranking-list li {
    position: relative;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--paper);
}

.rank-number {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--white);
    border-radius: 12px;
    background: var(--ink);
    font-weight: 900;
}

.rank-cover img {
    aspect-ratio: 3 / 4;
    border-radius: 14px;
}

.rank-copy h3 {
    margin: 16px 0 5px;
}

.rank-copy p {
    min-height: 52px;
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
}

.rank-copy span {
    display: block;
    margin-top: 12px;
    color: var(--violet);
    font-size: 0.72rem;
    font-weight: 800;
}

.rank-meter {
    height: 5px;
    margin-top: 8px;
    border-radius: 99px;
    background: var(--line);
    overflow: hidden;
}

.rank-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--coral), var(--violet));
}

.korean-feature {
    position: relative;
    display: grid;
    min-height: 510px;
    padding: 58px 64px;
    grid-template-columns: 0.88fr 1.12fr;
    align-items: center;
    gap: 50px;
    color: var(--white);
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, #27204b, #593c82 60%, #a35f86);
    overflow: hidden;
}

.korean-feature-copy {
    position: relative;
    z-index: 4;
}

.korean-feature h2 {
    margin: 14px 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.18;
}

.korean-feature p {
    color: #e6daf0;
}

.phone-stack {
    position: relative;
    min-height: 390px;
}

.phone-card {
    position: absolute;
    width: 180px;
    height: 360px;
    padding: 7px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 25px 50px rgba(19, 9, 43, 0.35);
}

.phone-card img {
    height: 100%;
    border-radius: 22px;
}

.phone-card-1 {
    top: 10px;
    left: 5%;
    transform: rotate(-8deg);
}

.phone-card-2 {
    top: -12px;
    left: 34%;
    z-index: 2;
}

.phone-card-3 {
    top: 14px;
    left: 63%;
    transform: rotate(8deg);
}

.duo-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.duo-panel {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
}

.duo-guoman {
    background: linear-gradient(145deg, #fff9ef, #ffffff);
}

.duo-japanese {
    background: linear-gradient(145deg, #f2f0ff, #ffffff);
}

.duo-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.duo-title > span {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    color: var(--white);
    border-radius: 20px;
    background: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.duo-title h2,
.duo-title p {
    margin: 0;
}

.duo-title p {
    color: var(--muted);
    font-size: 0.88rem;
}

.mini-story-list {
    display: grid;
    margin: 28px 0;
}

.mini-story-list a {
    display: grid;
    padding: 16px 0;
    grid-template-columns: 38px 130px 1fr;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--line);
}

.mini-story-list span {
    color: var(--coral);
    font-weight: 900;
}

.mini-story-list small {
    color: var(--muted);
}

.completed-section {
    padding: 90px 0;
    color: var(--white);
    background: var(--ink);
}

.completed-section .section-heading p {
    color: #aeb6d0;
}

.completed-section .text-link {
    color: var(--cyan);
}

.completed-shelf {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.book-spine {
    position: relative;
    display: flex;
    min-height: 330px;
    padding: 24px;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px 18px 5px 5px;
    background: linear-gradient(160deg, rgba(119, 104, 242, 0.62), rgba(255, 107, 107, 0.2));
    transition: transform 0.22s ease;
}

.book-spine:nth-child(2n) {
    background: linear-gradient(160deg, rgba(96, 223, 231, 0.46), rgba(119, 104, 242, 0.2));
}

.book-spine:hover {
    transform: translateY(-10px);
}

.spine-index {
    position: absolute;
    top: 20px;
    left: 22px;
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.book-spine strong {
    font-size: 1.25rem;
}

.book-spine small {
    margin-top: 10px;
    color: #c7cce0;
    line-height: 1.6;
}

.spine-arrow {
    margin-top: 20px;
    color: var(--cyan);
    font-size: 1.4rem;
}

.film-strip {
    position: relative;
    display: grid;
    padding: 26px;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    border-radius: 22px;
    background: #222844;
}

.film-strip::before,
.film-strip::after {
    position: absolute;
    right: 18px;
    left: 18px;
    height: 8px;
    content: "";
    background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.75) 18px 30px);
}

.film-strip::before {
    top: 8px;
}

.film-strip::after {
    bottom: 8px;
}

.film-frame {
    background: var(--white);
}

.film-frame img {
    aspect-ratio: 3 / 2;
}

.film-frame > div {
    padding: 16px;
}

.film-frame span {
    color: var(--coral-dark);
    font-size: 0.7rem;
    font-weight: 900;
}

.film-frame h3 {
    margin: 4px 0;
    font-size: 1rem;
}

.film-frame p {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.schedule-day {
    display: flex;
    min-height: 180px;
    padding: 18px;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
}

.schedule-day > span {
    color: var(--muted);
    font-size: 0.78rem;
}

.schedule-day strong {
    margin-top: auto;
}

.schedule-day small {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.45;
}

.schedule-day.is-highlight {
    color: var(--white);
    border-color: var(--violet);
    background: var(--violet);
    transform: translateY(-10px);
    box-shadow: 0 16px 30px rgba(119, 104, 242, 0.25);
}

.schedule-day.is-highlight > span,
.schedule-day.is-highlight small {
    color: #e3e0ff;
}

.reader-section {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
}

.reader-quote,
.reader-picks {
    padding: 46px;
    border-radius: var(--radius-large);
}

.reader-quote {
    color: var(--white);
    background: linear-gradient(140deg, var(--coral-dark), #ff8b72);
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 0.8;
}

.reader-quote blockquote {
    margin: 20px 0;
    font-size: 1.45rem;
    line-height: 1.6;
}

.reader-quote p {
    color: #ffe5e2;
}

.reader-picks {
    border: 1px solid var(--line);
    background: var(--white);
}

.reader-picks h2 {
    margin: 10px 0 24px;
    font-size: 2rem;
}

.pick-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pick-cloud a {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    font-size: 0.87rem;
}

.about-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.2fr 0.8fr;
    gap: 48px;
}

.about-title h2 {
    margin: 10px 0;
    font-size: 2.8rem;
}

.about-title p,
.about-copy p,
.about-values p {
    color: var(--muted);
}

.about-copy p {
    margin-top: 0;
}

.about-values {
    display: grid;
    gap: 12px;
}

.about-values div {
    display: grid;
    padding: 17px;
    grid-template-columns: 38px 1fr;
    gap: 4px 10px;
    border-left: 3px solid var(--coral);
    background: var(--paper);
}

.about-values span {
    grid-row: 1 / span 2;
    color: var(--violet);
    font-weight: 900;
}

.about-values p {
    margin: 0;
    font-size: 0.82rem;
}

.app-section {
    position: relative;
    display: grid;
    margin-bottom: 104px;
    padding: 54px 64px;
    grid-template-columns: 220px 1fr 190px;
    align-items: center;
    gap: 48px;
    color: var(--white);
    border-radius: var(--radius-large);
    background: var(--ink);
    overflow: hidden;
}

.app-orbit {
    position: relative;
    display: grid;
    width: 180px;
    height: 180px;
    place-items: center;
    border: 1px solid rgba(96, 223, 231, 0.45);
    border-radius: 50%;
}

.app-orbit > span {
    display: grid;
    width: 94px;
    height: 94px;
    place-items: center;
    border-radius: 32px 32px 32px 10px;
    background: linear-gradient(135deg, var(--coral), var(--violet));
    font-size: 2rem;
    font-weight: 900;
}

.app-orbit i {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cyan);
}

.app-orbit i:nth-of-type(1) {
    top: 10px;
    right: 32px;
}

.app-orbit i:nth-of-type(2) {
    right: 4px;
    bottom: 46px;
}

.app-orbit i:nth-of-type(3) {
    bottom: 3px;
    left: 40px;
}

.app-copy h2 {
    margin: 10px 0;
    font-size: 2.4rem;
}

.app-copy p {
    max-width: 650px;
    color: #b9c0d8;
}

.subscribe-status {
    min-height: 28px;
    margin-bottom: 0;
    color: var(--cyan) !important;
    font-size: 0.86rem;
}

.qr-card {
    padding: 16px;
    color: var(--ink);
    border-radius: 20px;
    background: var(--white);
    text-align: center;
}

.qr-pattern {
    display: grid;
    aspect-ratio: 1;
    padding: 8px;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    border: 2px solid var(--ink);
}

.qr-pattern span {
    background: var(--ink);
}

.qr-pattern span:nth-child(2),
.qr-pattern span:nth-child(4),
.qr-pattern span:nth-child(8) {
    background: var(--coral);
}

.qr-card strong,
.qr-card small {
    display: block;
}

.qr-card strong {
    margin-top: 8px;
}

.qr-card small {
    color: var(--muted);
    font-size: 0.7rem;
}

.inner-main,
.reader-main {
    padding: 38px 0 100px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 0.86rem;
}

.breadcrumb a:hover {
    color: var(--violet);
}

.channel-hero {
    display: grid;
    min-height: 300px;
    padding: 48px;
    grid-template-columns: 100px 1fr 120px;
    align-items: center;
    gap: 34px;
    color: var(--white);
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, var(--ink), #342b6a);
}

.channel-icon {
    display: grid;
    width: 90px;
    height: 90px;
    place-items: center;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 2rem;
    font-weight: 900;
}

.channel-hero h1 {
    margin: 8px 0 6px;
    font-size: clamp(2.5rem, 5vw, 4.4rem);
    line-height: 1.1;
}

.channel-hero p {
    max-width: 720px;
    margin: 0;
    color: #cdd3e7;
}

.channel-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.channel-count strong {
    color: var(--cyan);
    font-size: 3rem;
}

.channel-count span {
    color: #aeb6d0;
    font-size: 0.78rem;
}

.channel-intro {
    display: grid;
    margin-top: 26px;
    padding: 30px 34px;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
}

.channel-intro h2,
.channel-intro p {
    margin: 0;
}

.channel-intro p {
    margin-top: 6px;
    color: var(--muted);
}

.channel-tags {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px;
}

.channel-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    background: #f0efff;
    color: var(--violet);
    font-size: 0.75rem;
    font-weight: 800;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.comic-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    overflow: hidden;
}

.comic-card.featured-card {
    grid-column: auto;
}

.comic-card.featured-card .comic-cover img {
    aspect-ratio: 3 / 4;
}

.comic-cover {
    position: relative;
    display: block;
    overflow: hidden;
}

.comic-cover img {
    aspect-ratio: 3 / 4;
    transition: transform 0.35s ease;
}

.comic-cover:hover img {
    transform: scale(1.04);
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 10px;
    color: var(--white);
    border-radius: 999px;
    background: rgba(16, 22, 47, 0.86);
    font-size: 0.72rem;
    font-weight: 800;
}

.comic-card-body {
    padding: 20px;
}

.comic-card-body h3 {
    margin: 0;
    font-size: 1.15rem;
}

.comic-card-body p {
    min-height: 56px;
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.card-meta {
    display: flex;
    margin-top: 16px;
    justify-content: space-between;
    color: var(--violet);
    font-size: 0.74rem;
    font-weight: 800;
}

.channel-note {
    display: flex;
    margin-top: 50px;
    padding: 30px;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid #f1d2a1;
    border-radius: 20px;
    background: #fff9ec;
}

.channel-note > span {
    color: #c98517;
    font-size: 1.8rem;
}

.channel-note h2,
.channel-note p {
    margin: 0;
}

.channel-note p {
    color: #77674d;
}

.reader-article {
    max-width: 1000px;
    margin-inline: auto;
}

.reader-header {
    padding: 52px;
    color: var(--white);
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, var(--ink), #332b6b);
}

.reader-labels {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reader-labels > span:last-child {
    color: var(--cyan);
    font-size: 0.86rem;
    font-weight: 800;
}

.reader-header h1 {
    margin: 18px 0 12px;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.reader-deck {
    max-width: 780px;
    color: #cbd1e5;
    font-size: 1.05rem;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: #9fa8c7;
    font-size: 0.82rem;
}

.reading-guide {
    display: flex;
    margin: 24px 0 70px;
    padding: 24px 28px;
    align-items: flex-start;
    gap: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
}

.reading-guide > span {
    color: var(--coral);
    font-size: 1.5rem;
}

.reading-guide h2,
.reading-guide p {
    margin: 0;
}

.reading-guide p {
    color: var(--muted);
}

.chapter-heading {
    display: flex;
    margin-bottom: 30px;
    align-items: center;
    gap: 18px;
}

.chapter-heading > span {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    color: var(--white);
    border-radius: 18px;
    background: var(--coral);
    font-weight: 900;
}

.chapter-heading h2,
.chapter-heading p {
    margin: 0;
}

.chapter-heading p {
    color: var(--muted);
}

.chapter-panel {
    margin: 0 0 60px;
}

.chapter-panel img {
    aspect-ratio: 49 / 64;
    border-radius: 24px;
    background: var(--line);
    box-shadow: var(--shadow);
}

.chapter-panel figcaption {
    display: grid;
    max-width: 840px;
    margin: 18px auto 0;
    grid-template-columns: 52px 1fr;
    gap: 18px;
}

.chapter-panel figcaption > span {
    color: var(--violet);
    font-size: 1.2rem;
    font-weight: 900;
}

.chapter-panel h3,
.chapter-panel p {
    margin: 0;
}

.chapter-panel p {
    margin-top: 4px;
    color: var(--muted);
}

.chapter-end {
    padding: 54px;
    border-radius: var(--radius-large);
    background: var(--white);
    text-align: center;
}

.end-mark {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    place-items: center;
    color: var(--white);
    border-radius: 50%;
    background: var(--ink);
    font-size: 1.3rem;
    font-weight: 900;
}

.chapter-end h2,
.chapter-end p {
    margin: 0;
}

.chapter-end p {
    max-width: 670px;
    margin: 8px auto 0;
    color: var(--muted);
}

.chapter-navigation {
    display: grid;
    margin-top: 26px;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
}

.chapter-navigation > .button-secondary {
    color: var(--ink);
    border-color: var(--line);
    background: var(--white);
}

.chapter-nav-link {
    display: flex;
    min-height: 82px;
    padding: 15px 18px;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
}

.chapter-nav-link > span {
    color: var(--violet);
    font-size: 1.4rem;
}

.chapter-nav-link div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.chapter-nav-link small {
    color: var(--muted);
}

.chapter-nav-link strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chapter-next {
    justify-content: flex-end;
    text-align: right;
}

.site-footer {
    padding: 70px 0 22px;
    color: #d8dced;
    background: #0b1026;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.75fr 0.75fr;
    gap: 70px;
}

.footer-brand .brand-copy strong {
    color: var(--white);
}

.footer-grid p {
    max-width: 460px;
    color: #8f98b9;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--white);
    font-size: 1rem;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: #9da5c2;
    font-size: 0.88rem;
}

.footer-bottom {
    display: flex;
    margin-top: 50px;
    padding-top: 20px;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #707997;
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 40;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: var(--white);
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 1050px) {
    .header-shell {
        flex-wrap: wrap;
        gap: 10px;
        padding-block: 12px;
    }

    .brand {
        margin-right: auto;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .primary-nav {
        display: none;
        width: 100%;
        padding-top: 10px;
        flex-basis: 100%;
        grid-template-columns: repeat(4, 1fr);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .primary-nav a {
        justify-content: center;
    }

    .hero {
        padding: 56px 44px;
        gap: 32px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-tile,
    .category-tile:nth-child(n + 5) {
        grid-column: auto;
    }

    .phone-card {
        width: 150px;
        height: 310px;
    }

    .schedule-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .schedule-day:last-child {
        grid-column: 1 / -1;
    }

    .about-layout {
        grid-template-columns: 1fr 1.5fr;
    }

    .about-values {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }

    .app-section {
        grid-template-columns: 150px 1fr;
    }

    .app-orbit {
        width: 140px;
        height: 140px;
    }

    .qr-card {
        display: none;
    }
}

@media (max-width: 760px) {
    .site-shell {
        width: min(100% - 28px, 1200px);
    }

    .section-space {
        margin-top: 72px;
    }

    .header-shell {
        min-height: 72px;
    }

    .brand-copy small {
        display: none;
    }

    .primary-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .primary-nav a {
        justify-content: flex-start;
        padding-inline: 14px;
        background: var(--white);
    }

    .hero {
        min-height: auto;
        margin-top: 24px;
        padding: 44px 26px 34px;
        grid-template-columns: 1fr;
        border-radius: 26px;
    }

    .hero h1 {
        font-size: 4.2rem;
    }

    .hero-actions .button {
        flex: 1;
    }

    .hero-stats {
        gap: 18px;
        justify-content: space-between;
    }

    .hero-visual {
        min-height: 390px;
    }

    .hero-poster-main {
        right: 18px;
        width: 70%;
        height: 340px;
    }

    .hero-poster-small {
        width: 36%;
        height: 205px;
    }

    .floating-note {
        right: 6px;
        bottom: 10px;
    }

    .pulse-grid {
        grid-template-columns: 1fr;
    }

    .pulse-grid > * {
        padding: 5px 8px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .pulse-grid > *:last-child {
        border-bottom: 0;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .spotlight-layout,
    .korean-feature,
    .duo-section,
    .reader-section,
    .about-layout,
    .app-section {
        grid-template-columns: 1fr;
    }

    .spotlight-image {
        min-height: 320px;
    }

    .spotlight-copy {
        padding: 30px;
    }

    .category-section,
    .ranking-section,
    .schedule-section,
    .about-section,
    .completed-section {
        padding: 64px 0;
    }

    .category-grid,
    .ranking-list,
    .channel-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-tile,
    .category-tile:nth-child(n + 5) {
        grid-column: auto;
    }

    .category-tile:last-child,
    .channel-grid .comic-card:last-child {
        grid-column: 1 / -1;
    }

    .timeline-list::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 28px;
        grid-template-columns: 95px 1fr 42px;
    }

    .timeline-item time,
    .timeline-marker {
        position: absolute;
    }

    .timeline-item time {
        top: 12px;
        left: 28px;
        font-size: 0.72rem;
    }

    .timeline-marker {
        top: 20px;
        left: 5px;
    }

    .timeline-thumb {
        grid-row: 1;
    }

    .timeline-copy {
        padding-top: 20px;
    }

    .korean-feature {
        padding: 40px 28px;
    }

    .phone-stack {
        min-height: 330px;
    }

    .phone-card {
        width: 42%;
        height: 280px;
    }

    .phone-card-1 {
        left: 0;
    }

    .phone-card-2 {
        left: 29%;
    }

    .phone-card-3 {
        left: 58%;
    }

    .mini-story-list a {
        grid-template-columns: 32px 1fr;
    }

    .mini-story-list small {
        grid-column: 2;
    }

    .completed-shelf,
    .film-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .completed-shelf .book-spine:last-child,
    .film-frame:last-child {
        grid-column: 1 / -1;
    }

    .book-spine {
        min-height: 250px;
    }

    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-day:last-child {
        grid-column: 1 / -1;
    }

    .about-values {
        grid-column: auto;
        grid-template-columns: 1fr;
    }

    .app-section {
        padding: 42px 28px;
        text-align: center;
    }

    .app-orbit {
        margin-inline: auto;
    }

    .app-copy .eyebrow {
        justify-content: center;
    }

    .channel-hero {
        padding: 34px 26px;
        grid-template-columns: 70px 1fr;
    }

    .channel-icon {
        width: 66px;
        height: 66px;
        border-radius: 20px;
    }

    .channel-count {
        display: none;
    }

    .channel-intro {
        grid-template-columns: 1fr;
    }

    .reader-header {
        padding: 34px 26px;
    }

    .reader-meta {
        flex-direction: column;
        gap: 4px;
    }

    .chapter-panel {
        margin-bottom: 42px;
    }

    .chapter-end {
        padding: 38px 24px;
    }

    .chapter-navigation {
        grid-template-columns: repeat(2, 1fr);
    }

    .chapter-navigation > .button-secondary {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 24px;
    }

    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .site-shell {
        width: min(100% - 20px, 1200px);
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .toggle-label {
        display: none;
    }

    .hero {
        padding-inline: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats strong {
        font-size: 1.05rem;
    }

    .hero-poster-main {
        width: 76%;
    }

    .section-heading h2 {
        font-size: 2rem;
    }

    .category-grid,
    .ranking-list,
    .channel-grid,
    .completed-shelf,
    .film-strip {
        grid-template-columns: 1fr;
    }

    .category-tile:last-child,
    .channel-grid .comic-card:last-child {
        grid-column: auto;
    }

    .ranking-list li:last-child,
    .completed-shelf .book-spine:last-child,
    .film-frame:last-child {
        grid-column: auto;
    }

    .timeline-item {
        grid-template-columns: 78px 1fr;
    }

    .round-link {
        display: none;
    }

    .timeline-thumb img {
        height: 82px;
    }

    .phone-card {
        width: 44%;
        height: 250px;
    }

    .phone-card-3 {
        display: none;
    }

    .phone-card-1 {
        left: 4%;
    }

    .phone-card-2 {
        left: 50%;
    }

    .duo-panel,
    .reader-quote,
    .reader-picks {
        padding: 28px;
    }

    .schedule-day {
        min-height: 150px;
    }

    .channel-hero {
        grid-template-columns: 1fr;
    }

    .channel-tags {
        grid-template-columns: repeat(2, 1fr);
    }

    .chapter-panel figcaption {
        grid-template-columns: 34px 1fr;
    }

    .chapter-nav-link {
        min-height: 72px;
        padding: 12px;
    }

    .chapter-nav-link strong {
        font-size: 0.82rem;
    }
}
