:root {
    --brand: #2F8F83;
    --brand-deep: #226E65;
    --brand-soft: #DDEEEA;
    --accent: #F2B36F;
    --accent-soft: #FFF0DF;
    --signal: #E96B4C;
    --ink: #243331;
    --text: #2E3836;
    --muted: #71807C;
    --canvas: #FAFCFA;
    --surface: #FFFFFF;
    --surface-soft: #EEF5F2;
    --line: #D9E5E1;
    --line-dark: #C4D5D0;
    --shadow-soft: 0 18px 48px rgba(36, 51, 49, .08);
    --shadow-card: 0 12px 32px rgba(36, 51, 49, .07);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shell: min(1180px, calc(100% - 48px));
    --section-gap: clamp(76px, 9vw, 132px);
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--canvas);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.72;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
::selection { background: var(--brand-soft); color: var(--ink); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-150%);
    transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(18px);
    background: rgba(250, 252, 250, .88);
    border-bottom: 1px solid rgba(217, 229, 225, .75);
}
.header-shell {
    width: var(--shell);
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}
.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--brand-soft);
    border: 1px solid var(--line);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.22; }
.brand-copy strong { color: var(--ink); font-size: 17px; letter-spacing: .02em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.nav-link, .nav-cta {
    border-radius: 999px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 650;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.nav-link { color: #4B5B57; }
.nav-link:hover, .nav-link:focus-visible { color: var(--brand-deep); background: var(--surface-soft); }
.nav-link.is-current { color: var(--brand-deep); background: var(--brand-soft); }
.nav-cta { margin-left: 8px; background: var(--ink); color: #fff; }
.nav-cta:hover, .nav-cta:focus-visible { transform: translateY(-1px); background: var(--brand-deep); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--ink); }

main { overflow: hidden; }
.section, .page-shell, .page-hero, .show-article { width: var(--shell); margin-left: auto; margin-right: auto; }
.section { margin-top: var(--section-gap); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--accent); }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(42px, 6.2vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 21px; }
p { margin-top: 0; }
.section-heading { max-width: 760px; }
.section-heading p { margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.split-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); align-items: end; gap: 48px; }
.split-heading > p { max-width: 420px; margin: 0 0 4px auto; }
.narrow-heading { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.narrow-heading .eyebrow { justify-content: center; }
.compact-heading { max-width: 860px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--brand); box-shadow: 0 10px 26px rgba(47, 143, 131, .22); }
.button-primary:hover, .button-primary:focus-visible { background: var(--brand-deep); box-shadow: 0 14px 30px rgba(47, 143, 131, .28); }
.button-quiet { color: var(--ink); background: var(--surface); border: 1px solid var(--line); }
.button-quiet:hover, .button-quiet:focus-visible { border-color: var(--brand); }
.text-link, .card-link { color: var(--brand-deep); font-weight: 800; }
.text-link:hover, .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-home {
    width: var(--shell);
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
    gap: clamp(36px, 6vw, 84px);
    align-items: center;
    min-height: calc(100vh - 112px);
    padding: 54px 0 68px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { max-width: 760px; }
.hero-lead { max-width: 650px; margin: 24px 0 0; color: #53625F; font-size: clamp(17px, 2vw, 20px); }
.hero-facts { margin: 42px 0 0; padding-top: 26px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hero-facts div { min-width: 0; }
.hero-facts dt { margin-bottom: 5px; color: var(--muted); font-size: 12px; }
.hero-facts dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 700; }
.hero-visual { position: relative; min-height: 610px; }
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 5% -7% auto auto;
    width: 78%;
    height: 78%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(242, 179, 111, .28), rgba(47, 143, 131, .06) 62%, transparent 63%);
}
.hero-visual > img {
    position: relative;
    width: 82%;
    height: 540px;
    margin-left: auto;
    object-fit: cover;
    border-radius: 36px 36px 100px 36px;
    box-shadow: var(--shadow-soft);
}
.hero-float-card {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: min(320px, 72%);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 22px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 22px 60px rgba(36, 51, 49, .15);
    backdrop-filter: blur(12px);
}
.hero-float-card span { color: var(--signal); font-size: 12px; font-weight: 800; }
.hero-float-card strong { display: block; margin-top: 5px; color: var(--ink); font-size: 18px; line-height: 1.35; }
.hero-float-card p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.featured-grid { margin-top: 38px; display: grid; grid-template-columns: 1.35fr .65fr .65fr; grid-template-rows: repeat(2, minmax(220px, auto)); gap: 18px; }
.featured-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 220px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(36, 51, 49, .04);
}
.featured-card-large { grid-row: 1 / 3; grid-template-columns: 1fr; }
.featured-card:nth-child(4) { grid-column: 2 / 4; }
.featured-media { overflow: hidden; min-height: 100%; background: var(--surface-soft); }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.featured-card:hover .featured-media img { transform: scale(1.035); }
.featured-card-large .featured-media { height: 340px; }
.featured-copy { padding: 20px; align-self: center; }
.featured-card-large .featured-copy { padding: 26px 28px 30px; }
.featured-copy h3 { margin-top: 8px; font-size: 24px; }
.featured-card-large h3 { font-size: 31px; }
.featured-copy p { margin: 10px 0 14px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 12px; }
.meta-row span { position: relative; }
.meta-row span + span::before { content: "·"; position: absolute; left: -10px; }

.library-section {
    padding: clamp(34px, 5vw, 64px);
    border-radius: 36px;
    background: var(--surface-soft);
}
.library-topline { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: 44px; align-items: end; }
.genre-filter { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.filter-chip {
    padding: 9px 13px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: rgba(255,255,255,.7);
    color: #52625E;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s var(--ease);
}
.filter-chip:hover, .filter-chip:focus-visible { border-color: var(--brand); color: var(--brand-deep); }
.filter-chip.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }
.drama-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.drama-card {
    overflow: hidden;
    border: 1px solid rgba(217, 229, 225, .86);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(36, 51, 49, .04);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.drama-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.drama-card[hidden] { display: none !important; }
.drama-cover { position: relative; display: block; height: 230px; overflow: hidden; background: #DDE9E6; }
.drama-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.drama-card:hover .drama-cover img { transform: scale(1.04); }
.cover-label { position: absolute; left: 14px; bottom: 14px; padding: 6px 9px; border-radius: 999px; background: rgba(36, 51, 49, .82); color: #fff; font-size: 11px; font-weight: 800; backdrop-filter: blur(8px); }
.drama-card-body { padding: 20px; }
.drama-card-body h3 { margin-top: 8px; font-size: 23px; }
.drama-card-body > p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; min-height: 80px; margin: 10px 0 14px; color: var(--muted); font-size: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0 0 18px; list-style: none; }
.tag-list li { padding: 5px 8px; border-radius: 8px; background: var(--accent-soft); color: #8A5A28; font-size: 11px; font-weight: 700; }
.card-link { display: inline-flex; gap: 8px; font-size: 13px; }
.filter-empty { margin: 28px 0 0; padding: 22px; border-radius: 16px; background: #fff; color: var(--muted); text-align: center; }

.format-strip { display: grid; grid-template-columns: .7fr 1.3fr; gap: 58px; align-items: start; }
.genre-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.genre-note { padding: 24px; border-top: 1px solid var(--line-dark); }
.genre-note h3 { font-size: 19px; }
.genre-note p { margin: 10px 0; color: var(--muted); font-size: 14px; }
.genre-note a { color: var(--brand-deep); font-size: 13px; font-weight: 800; }

.web-entry { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 92px); align-items: center; }
.web-entry-media { position: relative; }
.web-entry-media::after { content: ""; position: absolute; right: -24px; bottom: -24px; width: 44%; height: 42%; border-radius: 26px; background: var(--accent-soft); z-index: -1; }
.web-entry-media img { width: 100%; height: 540px; object-fit: cover; border-radius: 30px; }
.web-entry-copy h2 { margin-bottom: 18px; }
.web-entry-copy > p { color: var(--muted); font-size: 17px; }
.check-list { margin: 24px 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; margin: 13px 0; color: #485754; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); font-size: 11px; font-weight: 900; }

.device-ribbon {
    margin-bottom: var(--section-gap);
    padding: clamp(30px, 5vw, 58px);
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: center;
    border-radius: 34px;
    background: var(--ink);
    color: #fff;
}
.device-ribbon h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); }
.device-ribbon p { margin: 16px 0 0; color: #BFD0CC; }
.device-ribbon .eyebrow { color: #9FD4CC; }
.device-links { display: grid; gap: 12px; }
.device-link { position: relative; padding: 22px 52px 22px 22px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.05); transition: background .2s var(--ease), transform .2s var(--ease); }
.device-link::after { content: "→"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 22px; }
.device-link:hover, .device-link:focus-visible { transform: translateX(4px); background: rgba(255,255,255,.09); }
.device-link strong { display: block; color: #fff; font-size: 18px; }
.device-link span { display: block; margin-top: 4px; color: #BFD0CC; font-size: 13px; }

.page-shell { padding-top: 30px; }
.breadcrumbs { color: var(--muted); font-size: 12px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 7px; color: #A8B6B2; }
.breadcrumbs a:hover { color: var(--brand-deep); }
.page-hero {
    margin-top: 24px;
    padding: clamp(38px, 6vw, 72px);
    display: grid;
    grid-template-columns: 1fr .86fr;
    gap: 56px;
    align-items: center;
    border-radius: 36px;
    background: linear-gradient(135deg, #EDF7F4 0%, #FAFCFA 58%, #FFF1E2 100%);
    min-height: 520px;
}
.page-hero-copy h1 { font-size: clamp(38px, 5.4vw, 64px); }
.page-hero-copy > p { max-width: 660px; margin: 22px 0 0; color: #596864; font-size: 18px; }
.page-hero-image { position: relative; }
.page-hero-image img { width: 100%; height: 390px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-soft); }
.page-hero-image::after { content: ""; position: absolute; inset: auto -18px -18px auto; width: 120px; height: 120px; border-radius: 28px; border: 10px solid var(--accent); opacity: .34; z-index: -1; }

.web-steps { padding: clamp(30px, 4vw, 52px) 0 0; }
.step-line { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.step-line::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 1px; background: var(--line-dark); }
.step-line article { position: relative; z-index: 1; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.step-line article > span { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 900; box-shadow: 0 10px 20px rgba(47, 143, 131, .18); }
.step-line h3 { font-size: 20px; }
.step-line p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.browser-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.browser-panel { padding: 30px; border-radius: 32px; background: var(--surface-soft); }
.mock-browser { overflow: hidden; border-radius: 20px; border: 1px solid var(--line-dark); background: #fff; box-shadow: var(--shadow-card); }
.mock-browser-bar { height: 52px; padding: 0 16px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--line); background: #F8FAF9; }
.mock-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #CCD8D5; }
.mock-browser-bar span { margin-left: 12px; padding: 6px 12px; flex: 1; border-radius: 8px; background: #EFF4F2; color: #82908C; font-size: 10px; }
.mock-browser-body { min-height: 320px; display: grid; grid-template-columns: 92px 1fr; }
.mock-side { padding: 24px 14px; background: #F2F7F5; border-right: 1px solid var(--line); }
.mock-side b { display: block; height: 10px; margin-bottom: 14px; border-radius: 5px; background: #D6E3DF; }
.mock-side b:nth-child(2) { width: 72%; background: #A9D5CE; }
.mock-content { padding: 36px; }
.mock-content > strong { display: block; width: 62%; height: 24px; border-radius: 8px; background: #2F8F83; opacity: .9; }
.mock-content > p { height: 10px; margin: 16px 0 0; border-radius: 5px; background: #DFE7E4; }
.mock-content > p:nth-of-type(2) { width: 76%; }
.mock-content > div { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-content > div i { height: 128px; border-radius: 14px; background: linear-gradient(180deg, #DCECE8, #F5E6D4); }
.browser-copy h2 { margin-bottom: 18px; }
.browser-copy > p { color: var(--muted); font-size: 16px; }
.feature-definition { margin: 30px 0 0; }
.feature-definition div { padding: 17px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 140px 1fr; gap: 18px; }
.feature-definition dt { color: var(--ink); font-weight: 800; }
.feature-definition dd { margin: 0; color: var(--muted); }

.compact-card-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.compact-drama-card { overflow: hidden; display: grid; grid-template-columns: 118px 1fr; min-height: 150px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.compact-drama-card img { width: 118px; height: 100%; object-fit: cover; }
.compact-drama-card > div { padding: 16px; }
.compact-drama-card span { color: var(--brand-deep); font-size: 11px; font-weight: 800; }
.compact-drama-card h3 { margin: 5px 0 8px; font-size: 18px; }
.compact-drama-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.faq-section { margin-bottom: var(--section-gap); }
.faq-list { max-width: 860px; margin: 36px auto 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 0; background: transparent; text-align: left; cursor: pointer; font-weight: 800; }
.faq-item button i { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-soft); color: var(--brand-deep); font-style: normal; transition: transform .2s var(--ease); }
.faq-item button[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-answer { padding: 0 46px 22px 0; }
.faq-answer p { margin: 0; color: var(--muted); }

.page-hero-desktop { background: linear-gradient(135deg, #F4F8F6 0%, #ECF5F2 58%, #FFF2E5 100%); }
.desktop-device { padding: 28px 18px 18px; border-radius: 24px; background: var(--ink); }
.desktop-device::before { content: ""; display: block; width: 54px; height: 5px; margin: -10px auto 18px; border-radius: 999px; background: #60716D; }
.desktop-device img { border-radius: 14px; height: 310px; }
.advantage-grid { margin-top: 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.advantage-card { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.advantage-card > span { color: var(--accent); font-size: 12px; font-weight: 900; }
.advantage-card h3 { margin: 18px 0 10px; font-size: 19px; }
.advantage-card p { margin: 0; color: var(--muted); font-size: 14px; }
.workstation-section { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.workstation-media img { width: 100%; height: 500px; object-fit: cover; border-radius: 30px; }
.workstation-copy > p { color: var(--muted); }
.workstation-copy .text-link { display: inline-block; margin-top: 12px; }
.horizontal-list { margin-top: 34px; border-top: 1px solid var(--line); }
.horizontal-card { display: grid; grid-template-columns: 70px 1fr 50px; gap: 24px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); }
.horizontal-number { color: var(--accent); font-size: 13px; font-weight: 900; }
.horizontal-main > span { color: var(--brand-deep); font-size: 12px; font-weight: 800; }
.horizontal-main h3 { margin: 4px 0 8px; }
.horizontal-main p { margin: 0; color: var(--muted); font-size: 14px; }
.horizontal-action { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); color: var(--brand-deep); transition: all .2s var(--ease); }
.horizontal-card:hover .horizontal-action { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateX(3px); }
.desktop-next { margin-bottom: var(--section-gap); padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 28px; background: var(--accent-soft); }
.desktop-next > div { max-width: 760px; }
.desktop-next h2 { font-size: clamp(28px, 3vw, 38px); }
.desktop-next p { margin: 12px 0 0; color: #78654E; }

.page-hero-app { background: linear-gradient(135deg, #F8FBF9, #E8F4F0 55%, #FFF0DE); }
.app-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.phone-frame { position: relative; width: 240px; height: 430px; padding: 12px; border-radius: 38px; background: var(--ink); box-shadow: 0 30px 60px rgba(36, 51, 49, .2); transform: rotate(4deg); }
.phone-frame::before { content: ""; position: absolute; top: 17px; left: 50%; width: 72px; height: 18px; transform: translateX(-50%); border-radius: 999px; background: #16201F; z-index: 2; }
.phone-frame img { width: 100%; height: 100%; border-radius: 29px; object-fit: cover; }
.phone-note { position: absolute; left: 0; bottom: 58px; width: 210px; padding: 17px 18px; border-radius: 18px; background: rgba(255,255,255,.95); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.phone-note strong { display: block; color: var(--ink); }
.phone-note span { color: var(--muted); font-size: 12px; }
.mobile-note-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mobile-note-grid article { padding: 28px; border-radius: 22px; background: var(--surface-soft); }
.mobile-note-grid article > span { display: block; color: var(--signal); font-size: 12px; font-weight: 900; }
.mobile-note-grid h3 { margin: 30px 0 10px; }
.mobile-note-grid p { margin: 0; color: var(--muted); }
.mobile-story-section { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.mobile-story-copy p { color: var(--muted); }
.mobile-story-copy code { padding: 2px 6px; border-radius: 6px; background: var(--surface-soft); color: var(--brand-deep); }
.mobile-story-media img { width: 100%; height: 520px; object-fit: cover; border-radius: 30px 90px 30px 30px; }
.mini-stack { margin-top: 34px; display: grid; gap: 10px; }
.mini-story { display: grid; grid-template-columns: 130px 170px 1fr 34px; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.mini-story:hover, .mini-story:focus-visible { transform: translateX(4px); border-color: var(--brand); }
.mini-story span { color: var(--brand-deep); font-size: 12px; font-weight: 800; }
.mini-story strong { color: var(--ink); }
.mini-story em { color: var(--muted); font-style: normal; font-size: 13px; }
.mini-story i { color: var(--signal); font-style: normal; font-size: 20px; }
.app-bridge { margin-bottom: var(--section-gap); display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; padding: 28px; border-radius: 30px; background: var(--ink); }
.app-bridge img { width: 100%; height: 330px; object-fit: cover; border-radius: 20px; }
.app-bridge h2 { color: #fff; }
.app-bridge p { color: #BFD0CC; }
.app-bridge .eyebrow { color: #9FD4CC; }

.show-article { margin-top: 24px; margin-bottom: var(--section-gap); }
.show-hero { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 90px); align-items: center; padding: clamp(34px, 5vw, 56px); border-radius: 34px; background: var(--surface-soft); }
.show-poster { position: relative; }
.show-poster::before { content: ""; position: absolute; left: -18px; top: 24px; bottom: -18px; width: 84%; border-radius: 30px; background: var(--accent-soft); z-index: 0; }
.show-poster img { position: relative; z-index: 1; width: 100%; height: 540px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-card); }
.show-intro h1 { margin: 12px 0 18px; font-size: clamp(42px, 6vw, 70px); }
.show-tagline { color: var(--ink) !important; font-size: 21px; font-weight: 700; }
.show-intro > p { color: var(--muted); }
.show-intro .tag-list { margin-top: 24px; }
.show-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.show-summary { margin-top: 70px; padding: 34px 0; display: grid; grid-template-columns: .6fr 1.4fr; gap: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.show-summary h2 { font-size: 30px; }
.show-summary > p { margin: 0; color: #55645F; font-size: 20px; line-height: 1.82; }
.show-details { margin-top: 70px; }
.detail-timeline { max-width: 940px; margin: 42px auto 0; }
.detail-timeline article { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.detail-timeline article:last-child { border-bottom: 1px solid var(--line); }
.detail-timeline article > span { color: var(--accent); font-size: 12px; font-weight: 900; }
.detail-timeline h3 { margin-bottom: 10px; }
.detail-timeline p { margin: 0; color: var(--muted); }
.show-note { margin-top: 70px; padding: 28px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 44px; align-items: center; border-radius: 28px; background: var(--accent-soft); }
.show-note img { width: 100%; height: 300px; object-fit: cover; border-radius: 20px; }
.show-note h2 { font-size: 34px; }
.show-note p { margin: 12px 0 0; color: #74624C; }
.related-section { margin-top: 70px; }
.related-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.related-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.related-card img { width: 100%; height: 220px; object-fit: cover; }
.related-card > div { padding: 18px; }
.related-card span { color: var(--brand-deep); font-size: 11px; font-weight: 800; }
.related-card h3 { margin: 5px 0 8px; font-size: 19px; }
.related-card p { margin: 0; color: var(--muted); font-size: 12px; }

.error-main { min-height: 70vh; display: grid; place-items: center; padding: 80px 24px; }
.error-card { width: min(720px, 100%); padding: 56px; border-radius: 30px; background: var(--surface-soft); text-align: center; }
.error-code { display: block; color: var(--signal); font-size: 14px; font-weight: 900; letter-spacing: .18em; }
.error-card h1 { margin-top: 10px; font-size: clamp(38px, 6vw, 64px); }
.error-card p { max-width: 520px; margin: 20px auto 0; color: var(--muted); }
.error-card .hero-actions { justify-content: center; }

.site-footer { margin-top: 0; background: #1F2C2A; color: #fff; }
.footer-shell { width: var(--shell); margin: 0 auto; padding: 64px 0 28px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; }
.footer-brand { max-width: 500px; }
.footer-logo { color: #fff; font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.footer-brand p { margin: 14px 0 0; color: #AFC1BD; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.footer-links > div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { margin-bottom: 4px; color: #fff; }
.footer-links a { color: #AFC1BD; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-note { grid-column: 1 / -1; padding-top: 24px; margin-top: 18px; border-top: 1px solid rgba(255,255,255,.09); display: flex; justify-content: space-between; gap: 20px; color: #81938F; font-size: 12px; }
.back-to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--brand-deep); box-shadow: var(--shadow-card); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .2s var(--ease); }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

:focus-visible { outline: 3px solid rgba(47, 143, 131, .35); outline-offset: 3px; }

@media (max-width: 1080px) {
    :root { --shell: min(100% - 36px, 980px); }
    .hero-home { grid-template-columns: 1fr .86fr; }
    .hero-visual { min-height: 500px; }
    .hero-visual > img { height: 460px; width: 90%; }
    .featured-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .featured-card-large { grid-row: auto; grid-column: 1 / -1; grid-template-columns: .9fr 1.1fr; }
    .featured-card-large .featured-media { height: auto; min-height: 310px; }
    .featured-card:nth-child(4) { grid-column: auto; }
    .drama-grid { grid-template-columns: repeat(2, 1fr); }
    .format-strip { grid-template-columns: 1fr; gap: 28px; }
    .genre-index-grid { grid-template-columns: repeat(3, 1fr); }
    .compact-card-grid { grid-template-columns: repeat(2, 1fr); }
    .advantage-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    :root { --shell: min(100% - 30px, 760px); --section-gap: 82px; }
    .header-shell { min-height: 70px; }
    .menu-toggle { display: block; }
    .site-nav {
        position: absolute;
        left: 15px;
        right: 15px;
        top: calc(100% + 8px);
        display: none;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: rgba(255,255,255,.98);
        box-shadow: var(--shadow-soft);
    }
    .site-nav.is-open { display: flex; }
    .nav-link, .nav-cta { margin: 0; text-align: left; }
    .hero-home { grid-template-columns: 1fr; min-height: auto; padding-top: 38px; }
    .hero-copy { max-width: 720px; }
    .hero-visual { min-height: 470px; }
    .hero-visual > img { width: 86%; height: 430px; }
    .hero-float-card { left: 4%; }
    .split-heading { grid-template-columns: 1fr; gap: 18px; }
    .split-heading > p { margin-left: 0; }
    .library-topline { grid-template-columns: 1fr; gap: 24px; }
    .genre-filter { justify-content: flex-start; }
    .genre-index-grid { grid-template-columns: repeat(2, 1fr); }
    .web-entry { grid-template-columns: 1fr; }
    .web-entry-media img { height: 430px; }
    .device-ribbon { grid-template-columns: 1fr; }
    .page-hero { grid-template-columns: 1fr; padding: 42px; }
    .page-hero-image img { height: 340px; }
    .step-line { grid-template-columns: 1fr; }
    .step-line::before { display: none; }
    .browser-layout, .workstation-section, .mobile-story-section { grid-template-columns: 1fr; }
    .browser-panel { order: 2; }
    .workstation-media img, .mobile-story-media img { height: 420px; }
    .mini-story { grid-template-columns: 110px 150px 1fr 24px; gap: 12px; }
    .app-bridge { grid-template-columns: 1fr; }
    .show-hero { grid-template-columns: 1fr; }
    .show-poster { max-width: 460px; }
    .show-summary { grid-template-columns: 1fr; gap: 18px; }
    .show-note { grid-template-columns: 1fr; }
    .footer-shell { grid-template-columns: 1fr; }
    .footer-note { grid-column: auto; }
}

@media (max-width: 620px) {
    :root { --shell: calc(100% - 24px); --section-gap: 68px; }
    .brand-copy small { display: none; }
    .brand-mark { width: 40px; height: 40px; }
    h1 { font-size: 42px; }
    h2 { font-size: 32px; }
    .section-heading p { font-size: 15px; }
    .hero-home { margin-top: 10px; padding-top: 28px; }
    .hero-lead { font-size: 17px; }
    .hero-actions { align-items: stretch; }
    .hero-actions .button { flex: 1 1 180px; }
    .hero-facts { grid-template-columns: 1fr; gap: 12px; }
    .hero-facts div { padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
    .hero-visual { min-height: 380px; }
    .hero-visual > img { width: 92%; height: 360px; border-radius: 26px 26px 68px 26px; }
    .hero-float-card { width: 76%; bottom: -8px; padding: 18px; }
    .featured-grid { grid-template-columns: 1fr; }
    .featured-card, .featured-card-large { grid-column: auto; grid-template-columns: 110px 1fr; min-height: 170px; }
    .featured-card-large .featured-media { min-height: 170px; height: auto; }
    .featured-card-large .featured-copy { padding: 18px; }
    .featured-card-large h3, .featured-copy h3 { font-size: 20px; }
    .featured-copy p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .library-section { padding: 28px 16px; border-radius: 24px; }
    .genre-filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
    .filter-chip { flex: 0 0 auto; }
    .drama-grid { grid-template-columns: 1fr; }
    .drama-cover { height: 260px; }
    .genre-index-grid { grid-template-columns: 1fr; }
    .genre-note { padding-left: 0; padding-right: 0; }
    .web-entry-media img { height: 340px; }
    .device-ribbon { padding: 28px 22px; border-radius: 24px; }
    .page-shell { padding-top: 20px; }
    .page-hero { margin-top: 18px; padding: 28px 20px; border-radius: 24px; min-height: auto; }
    .page-hero-copy h1 { font-size: 39px; }
    .page-hero-copy > p { font-size: 16px; }
    .page-hero-image img { height: 280px; border-radius: 20px; }
    .step-line article { padding: 20px; }
    .browser-panel { padding: 14px; }
    .mock-browser-body { grid-template-columns: 64px 1fr; min-height: 250px; }
    .mock-content { padding: 24px 18px; }
    .mock-content > div { grid-template-columns: 1fr 1fr; }
    .mock-content > div i:last-child { display: none; }
    .feature-definition div { grid-template-columns: 1fr; gap: 6px; }
    .compact-card-grid { grid-template-columns: 1fr; }
    .compact-drama-card { grid-template-columns: 104px 1fr; }
    .compact-drama-card img { width: 104px; }
    .advantage-grid { grid-template-columns: 1fr; }
    .workstation-media img, .mobile-story-media img { height: 340px; border-radius: 22px; }
    .horizontal-card { grid-template-columns: 42px 1fr 36px; gap: 12px; }
    .horizontal-main p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .desktop-next { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
    .phone-frame { width: 210px; height: 380px; }
    .mobile-note-grid { grid-template-columns: 1fr; }
    .mini-story { grid-template-columns: 1fr 30px; }
    .mini-story span, .mini-story strong, .mini-story em { grid-column: 1; }
    .mini-story i { grid-column: 2; grid-row: 1 / 4; align-self: center; }
    .app-bridge { padding: 18px; }
    .app-bridge img { height: 250px; }
    .show-hero { padding: 22px; border-radius: 24px; }
    .show-poster img { height: 430px; }
    .show-intro h1 { font-size: 44px; }
    .show-tagline { font-size: 18px; }
    .show-summary { margin-top: 52px; }
    .show-summary > p { font-size: 17px; }
    .detail-timeline article { grid-template-columns: 42px 1fr; gap: 12px; }
    .show-note { padding: 18px; }
    .show-note img { height: 230px; }
    .show-note h2 { font-size: 28px; }
    .related-grid { grid-template-columns: 1fr 1fr; }
    .related-card img { height: 150px; }
    .related-card p { display: none; }
    .error-card { padding: 38px 20px; }
    .footer-shell { padding-top: 48px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-note { flex-direction: column; gap: 4px; }
}

@media (max-width: 420px) {
    .related-grid { grid-template-columns: 1fr; }
    .related-card { display: grid; grid-template-columns: 110px 1fr; }
    .related-card img { width: 110px; height: 100%; min-height: 120px; }
    .footer-links { grid-template-columns: 1fr; }
}

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

.has-observer .drama-card,
.has-observer .featured-card,
.has-observer .related-card {
    opacity: .001;
    transform: translateY(12px);
}
.has-observer .drama-card.is-revealed,
.has-observer .featured-card.is-revealed,
.has-observer .related-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .25s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
    .has-observer .drama-card,
    .has-observer .featured-card,
    .has-observer .related-card { opacity: 1; transform: none; }
}
