/* 糖心Vlog 全站样式 */
:root {
    --page: #FFF9FC;
    --surface: #FFFFFF;
    --pink-soft: #FFF1F6;
    --purple-soft: #F6F3FF;
    --gray-soft: #F8F6F7;
    --title: #31262C;
    --text: #51454C;
    --muted: #7C6E75;
    --light-text: #A2949B;
    --pink: #FF5C98;
    --berry: #D9467B;
    --peach: #FF96AD;
    --purple: #8B74E8;
    --deep-purple: #6250B0;
    --border: rgba(255,92,152,0.15);
    --shadow: 0 14px 38px rgba(70,44,58,0.08);
    --shadow-strong: 0 20px 48px rgba(217,70,123,0.14);
    --gradient: linear-gradient(135deg, #FF96AD 0%, #FF5C98 50%, #8B74E8 100%);
    --header-height: 76px;
    --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--page);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}
body.mobile-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
main { min-height: 60vh; }
section { scroll-margin-top: calc(var(--header-height) + 24px); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { color: var(--title); line-height: 1.28; margin: 0; }
h1 { font-size: clamp(2.25rem, 6vw, 4.8rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); letter-spacing: -0.025em; }
h3 { font-size: 1.17rem; }
ul { margin: 0; padding-left: 1.2em; }
:focus-visible { outline: 3px solid rgba(139,116,232,.42); outline-offset: 4px; border-radius: 8px; }
.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 3000;
    background: var(--title);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.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;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255,249,252,.92);
    border-bottom: 1px solid rgba(217,70,123,.1);
    backdrop-filter: blur(18px);
}
.header-inner {
    width: min(calc(100% - 32px), var(--max));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 48px minmax(0,1fr) auto minmax(0,1fr) 48px;
    align-items: center;
    gap: 18px;
}
.header-balance { width: 46px; height: 46px; }
.desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.5vw, 24px);
    min-width: 0;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.desktop-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    color: var(--muted);
    font-size: .94rem;
    white-space: nowrap;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient);
    transform: translateX(-50%);
    transition: width .22s ease;
    pointer-events: none;
}
.desktop-nav a:hover,
.desktop-nav a.is-active { color: var(--title); }
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after { width: 26px; }

.brand,
.footer-logo,
.drawer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    font-weight: 800;
    color: var(--title);
    white-space: nowrap;
}
.brand { min-width: 170px; }
.brand img, .footer-logo img, .drawer-brand img { width: auto; max-height: 48px; object-fit: contain; }
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border-radius: 13px 13px 18px 13px;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 9px 22px rgba(217,70,123,.24);
}
.brand-text { font-size: 1.16rem; letter-spacing: -.03em; }

.round-menu-button,
.mobile-menu-button {
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(70,44,58,.06);
}
.mobile-menu-button, .mobile-actions { display: none; }
.menu-lines,
.menu-lines::before,
.menu-lines::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: var(--title);
}
.menu-lines { position: relative; }
.menu-lines::before,
.menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }

.container {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
}
.page-section { padding: clamp(64px, 8vw, 112px) 0; }
.page-section.compact { padding: clamp(46px, 6vw, 78px) 0; }
.page-section.soft { background: var(--pink-soft); }
.page-section.purple { background: var(--purple-soft); }
.page-section.gray { background: var(--gray-soft); }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 26px;
    margin-bottom: 34px;
}
.section-head .lead { max-width: 650px; margin: 14px 0 0; color: var(--muted); }
.eyebrow {
    margin: 0 0 10px;
    color: var(--berry);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}
.text-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--berry);
    font-weight: 700;
}
.text-link::after { content: " →"; margin-left: 6px; transition: transform .18s ease; }
.text-link:hover::after { transform: translateX(4px); }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}
.btn-primary {
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 14px 30px rgba(217,70,123,.24);
}
.btn-secondary {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--title);
}
.btn:hover { transform: translateY(-2px); }

.hero {
    position: relative;
    padding: clamp(72px, 8vw, 120px) 0 56px;
    overflow: hidden;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}
.hero::before {
    width: 380px;
    height: 380px;
    right: -150px;
    top: 20px;
    background: radial-gradient(circle, rgba(255,150,173,.34), rgba(255,150,173,0) 68%);
}
.hero::after {
    width: 320px;
    height: 320px;
    left: -140px;
    bottom: 20px;
    background: radial-gradient(circle, rgba(139,116,232,.22), rgba(139,116,232,0) 68%);
}
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,.8fr) minmax(430px,1.55fr) minmax(0,.8fr);
    gap: clamp(22px, 4vw, 54px);
    align-items: center;
}
.hero-center { text-align: center; }
.hero-center .intro {
    max-width: 760px;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: 1.02rem;
}
.hero-center .button-row { justify-content: center; }
.hero-note {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255,255,255,.74);
    box-shadow: var(--shadow);
}
.hero-note h2 { font-size: 1.18rem; margin-bottom: 12px; }
.hero-note p { margin: 0; color: var(--muted); font-size: .94rem; }

.css-visual {
    position: relative;
    min-height: 330px;
    margin-top: 54px;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 24%, rgba(255,255,255,.95) 0 7%, transparent 7.2%),
        radial-gradient(circle at 74% 34%, rgba(255,255,255,.72) 0 10%, transparent 10.2%),
        linear-gradient(135deg, #ffd6e3, #fff2f7 42%, #e8e0ff);
    box-shadow: var(--shadow-strong);
}
.css-visual::before {
    content: "";
    position: absolute;
    inset: 14% 8% 12% 8%;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.62)),
        linear-gradient(135deg, #FF96AD, #8B74E8);
    transform: rotate(-2deg);
}
.css-visual::after {
    content: "生活 · 影像 · 兴趣";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    color: var(--title);
    font-size: clamp(1.4rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: .08em;
    white-space: nowrap;
}

.index-grid,
.card-grid,
.topic-grid,
.feedback-grid,
.faq-grid,
.service-grid {
    display: grid;
    gap: 20px;
}
.index-grid { grid-template-columns: repeat(6, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.topic-grid { grid-template-columns: repeat(5, 1fr); }
.feedback-grid { grid-template-columns: repeat(3, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.service-grid { grid-template-columns: repeat(4, 1fr); }

.card,
.index-card,
.story-card,
.feedback-card,
.service-card,
.notice-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.card,
.story-card,
.feedback-card,
.service-card,
.notice-card { padding: 26px; }
.index-card {
    min-height: 210px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
}
.index-card::before {
    content: "";
    width: 44px;
    height: 8px;
    margin-bottom: 24px;
    border-radius: 99px;
    background: var(--gradient);
}
.index-card h3 { margin-bottom: 12px; }
.index-card p { color: var(--muted); font-size: .92rem; }
.index-card .text-link { margin-top: auto; }

.story-layout,
.media-split,
.info-split,
.app-split,
.about-split {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
    gap: clamp(28px, 5vw, 68px);
    align-items: center;
}
.story-feature {
    min-height: 480px;
    padding: clamp(28px, 5vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: end;
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(49,38,44,.05), rgba(49,38,44,.76)),
        linear-gradient(135deg, #ffc0d2, #8b74e8);
    box-shadow: var(--shadow-strong);
    color: #fff;
}
.story-feature h3 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.story-feature p { max-width: 680px; margin-top: 16px; color: rgba(255,255,255,.9); }
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    width: fit-content;
    margin-bottom: 14px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: inherit;
    font-size: .76rem;
    font-weight: 800;
}
.story-list { display: grid; gap: 14px; }
.story-card { padding: 20px 22px; }
.story-card h3 { font-size: 1.04rem; margin-bottom: 7px; }
.story-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.gallery-card { overflow: hidden; padding: 0; }
.visual-block {
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, var(--pink-soft), var(--purple-soft));
    position: relative;
    overflow: hidden;
}
.visual-block::before,
.visual-block::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.visual-block::before {
    width: 58%;
    aspect-ratio: 1;
    left: -12%;
    bottom: -25%;
    background: rgba(255,92,152,.34);
}
.visual-block::after {
    width: 48%;
    aspect-ratio: 1;
    right: -8%;
    top: -16%;
    background: rgba(139,116,232,.32);
}
.gallery-card .card-body { padding: 23px; }
.gallery-card p { color: var(--muted); }

.interest-chip {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: var(--pink-soft);
    color: var(--berry);
    font-size: .79rem;
    font-weight: 800;
}
.topic-card { min-height: 280px; display: flex; flex-direction: column; }
.topic-card:nth-child(even) { background: var(--purple-soft); }
.topic-card p { color: var(--muted); }
.topic-card .text-link { margin-top: auto; }

.quote-card {
    padding: 28px;
    border-radius: 26px;
    background: var(--title);
    color: #fff;
}
.quote-card h3 { color: #fff; }
.quote-card p { color: rgba(255,255,255,.78); }
.rule-list {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}
.rule-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: start;
}
.rule-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    font-weight: 900;
}

.app-panel {
    padding: clamp(34px, 6vw, 72px);
    border-radius: 34px;
    background: linear-gradient(135deg, #fff, #fff1f6 44%, #f0ecff);
    box-shadow: var(--shadow-strong);
}
.phone-mock {
    position: relative;
    width: min(330px, 82%);
    aspect-ratio: 9 / 18;
    margin: 0 auto;
    padding: 14px;
    border-radius: 42px;
    background: #2f2730;
    box-shadow: 0 30px 70px rgba(49,38,44,.22);
}
.phone-screen {
    height: 100%;
    border-radius: 31px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.96)),
        var(--gradient);
}
.phone-screen::before {
    content: "糖心Vlog";
    display: block;
    width: 54%;
    margin: 16px auto 26px;
    padding: 8px 0;
    border-radius: 999px;
    text-align: center;
    background: var(--gradient);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
}
.phone-screen::after {
    content: "";
    display: block;
    width: calc(100% - 34px);
    height: 72%;
    margin: auto;
    border-radius: 24px;
    background:
        linear-gradient(#fff 0 0) 0 0 / 100% 28% no-repeat,
        linear-gradient(#fff 0 0) 0 42% / 100% 18% no-repeat,
        linear-gradient(#fff 0 0) 0 76% / 100% 18% no-repeat,
        linear-gradient(135deg, rgba(255,92,152,.24), rgba(139,116,232,.24));
    box-shadow: 0 12px 34px rgba(70,44,58,.08);
}

.feedback-card p { color: var(--muted); margin: 0; }
.feedback-card::before {
    content: "“";
    display: block;
    height: 42px;
    color: var(--peach);
    font-size: 3.2rem;
    font-family: Georgia, serif;
    line-height: 1;
}

details {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 10px 26px rgba(70,44,58,.05);
}
details + details { margin-top: 12px; }
summary {
    min-height: 58px;
    padding: 16px 54px 16px 20px;
    cursor: pointer;
    list-style: none;
    color: var(--title);
    font-weight: 800;
    position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.45rem;
    color: var(--berry);
}
details[open] summary::after { content: "−"; }
details p { padding: 0 20px 20px; margin: 0; color: var(--muted); }

.page-hero {
    padding: clamp(72px, 9vw, 126px) 0 clamp(48px, 7vw, 86px);
    background:
        radial-gradient(circle at 12% 24%, rgba(255,150,173,.26), transparent 24%),
        radial-gradient(circle at 86% 18%, rgba(139,116,232,.20), transparent 26%);
}
.page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(280px,.58fr);
    gap: clamp(34px, 7vw, 86px);
    align-items: center;
}
.page-hero p { max-width: 780px; margin-top: 22px; color: var(--muted); font-size: 1.03rem; }
.page-symbol {
    position: relative;
    min-height: 260px;
    border-radius: 32px;
    background: linear-gradient(135deg, #fff, var(--pink-soft) 50%, var(--purple-soft));
    box-shadow: var(--shadow);
    overflow: hidden;
}
.page-symbol::before {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 52px;
    left: 50%;
    top: 50%;
    transform: translate(-54%,-54%) rotate(22deg);
    background: var(--gradient);
    box-shadow: 62px 42px 0 rgba(255,255,255,.62);
}
.page-symbol::after {
    content: "";
    position: absolute;
    width: 74px;
    height: 74px;
    border: 13px solid rgba(255,255,255,.86);
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-30%,-20%);
}

.prose {
    max-width: 880px;
    color: var(--text);
}
.prose p { margin-bottom: 1.15em; }
.prose strong { color: var(--title); }
.content-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
}
.content-block {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.content-block h3 { margin-bottom: 12px; }
.content-block p { color: var(--muted); }
.content-block p:last-child { margin-bottom: 0; }

.steps {
    counter-reset: step;
    display: grid;
    gap: 16px;
}
.step {
    counter-increment: step;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
}
.step::before {
    content: counter(step);
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--gradient);
    color: #fff;
    font-weight: 900;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

.notice-bar {
    padding: 24px 28px;
    border-left: 5px solid var(--berry);
    border-radius: 0 20px 20px 0;
    background: var(--pink-soft);
}
.notice-bar p:last-child { margin-bottom: 0; }

.related-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.related-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--berry);
    font-weight: 700;
}

.site-footer {
    background: #30252B;
    color: #FFEAF2;
    padding: 72px 0 calc(32px + env(safe-area-inset-bottom));
}
.footer-inner {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr repeat(4, .8fr);
    gap: 34px;
}
.footer-brand p { max-width: 300px; color: rgba(255,234,242,.7); margin-top: 18px; }
.footer-logo { justify-content: flex-start; color: #fff; }
.footer-column h2 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-column a {
    display: block;
    width: fit-content;
    min-height: 34px;
    color: rgba(255,234,242,.72);
    font-size: .9rem;
}
.footer-column a:hover { color: #fff; }
.footer-note {
    width: min(calc(100% - 32px), var(--max));
    margin: 38px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255,234,242,.58);
    font-size: .85rem;
}
.footer-note p { margin: 0; }

.channel-overlay,
.mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(49,38,44,.32);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}
.channel-panel {
    position: fixed;
    z-index: 1100;
    left: 0;
    right: 0;
    top: var(--header-height);
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-strong);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .22s ease, opacity .22s ease, visibility .22s ease;
}
body.channel-open .channel-panel {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
body.channel-open .channel-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.channel-panel-inner {
    width: min(calc(100% - 32px), var(--max));
    margin: 0 auto;
    padding: 34px 0 44px;
}
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 28px; }
.panel-heading h2 { font-size: 1.7rem; }
.panel-close {
    min-width: 72px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    cursor: pointer;
    font-weight: 700;
}
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.channel-group {
    padding: 22px;
    border-radius: 22px;
    background: var(--pink-soft);
}
.channel-group:nth-child(even) { background: var(--purple-soft); }
.channel-group h3 { margin-bottom: 12px; }
.channel-group a {
    display: block;
    min-height: 62px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(49,38,44,.08);
}
.channel-group a:last-child { border-bottom: 0; }
.channel-group strong { display: block; color: var(--title); }
.channel-group span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.55; margin-top: 3px; }

.mobile-drawer {
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;
    width: min(88vw, 390px);
    height: 100vh;
    padding: 20px 18px calc(30px + env(safe-area-inset-bottom));
    background: var(--surface);
    box-shadow: -20px 0 60px rgba(49,38,44,.16);
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, visibility .24s ease;
    overflow-y: auto;
}
body.mobile-open .mobile-drawer {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
body.mobile-open .mobile-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.drawer-brand { justify-content: flex-start; }
.drawer-nav { display: grid; gap: 5px; padding-top: 16px; }
.drawer-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 15px;
    border-radius: 14px;
    color: var(--title);
}
.drawer-nav a:hover { background: var(--pink-soft); color: var(--berry); }

.mobile-bottom-nav { display: none; }

@media (max-width: 1100px) {
    .index-grid { grid-template-columns: repeat(3, 1fr); }
    .topic-grid { grid-template-columns: repeat(3, 1fr); }
    .card-grid.four, .service-grid { grid-template-columns: repeat(2, 1fr); }
    .desktop-nav { gap: 2px; }
    .desktop-nav a { font-size: .84rem; padding: 0 5px; }
    .brand { min-width: 142px; }
    .footer-inner { grid-template-columns: 1.25fr repeat(2, 1fr); }
    .footer-brand { grid-row: span 2; }
}
@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-center { grid-column: 1 / -1; grid-row: 1; }
    .hero-note { grid-row: 2; }
    .story-layout, .media-split, .info-split, .app-split, .about-split { grid-template-columns: 1fr; }
    .card-grid.three, .feedback-grid { grid-template-columns: repeat(2, 1fr); }
    .page-hero-inner { grid-template-columns: 1fr; }
    .page-symbol { min-height: 210px; }
    .channel-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    :root { --header-height: 66px; }
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
    .header-inner {
        width: min(calc(100% - 24px), var(--max));
        grid-template-columns: 1fr auto auto;
        gap: 8px;
    }
    .header-balance, .desktop-nav, .round-menu-button { display: none; }
    .brand { justify-content: flex-start; min-width: 0; }
    .brand-mark { width: 34px; height: 34px; border-radius: 12px; }
    .brand-text { font-size: 1.02rem; }
    .mobile-actions { display: block; }
    .mobile-experience {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 0 15px;
        border-radius: 999px;
        background: var(--gradient);
        color: #fff;
        font-size: .84rem;
        font-weight: 800;
    }
    .mobile-menu-button { display: inline-grid; width: 42px; height: 42px; }
    .container { width: min(calc(100% - 32px), var(--max)); }
    .page-section { padding: 60px 0; }
    .section-head { align-items: flex-start; flex-direction: column; margin-bottom: 25px; }
    .hero { padding-top: 54px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-center { grid-column: auto; }
    .hero-note { grid-row: auto; }
    .hero-note:nth-of-type(1) { order: 2; }
    .hero-note:nth-of-type(2) { order: 3; }
    .hero-center { order: 1; }
    .css-visual { order: 4; min-height: 240px; margin-top: 28px; border-radius: 24px; }
    .css-visual::after { font-size: 1.3rem; }
    .index-grid, .card-grid.three, .card-grid.four, .topic-grid, .feedback-grid, .faq-grid, .service-grid, .content-columns {
        grid-template-columns: 1fr;
    }
    .index-card { min-height: auto; }
    .story-feature { min-height: 390px; }
    .page-hero { padding-top: 56px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; grid-row: auto; }
    .footer-note { flex-direction: column; }
    .channel-panel, .channel-overlay { display: none; }
    .mobile-bottom-nav {
        position: fixed;
        z-index: 950;
        left: 10px;
        right: 10px;
        bottom: calc(8px + env(safe-area-inset-bottom));
        min-height: 58px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        padding: 6px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(255,255,255,.95);
        box-shadow: 0 16px 40px rgba(70,44,58,.16);
        backdrop-filter: blur(16px);
    }
    .mobile-bottom-nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        border-radius: 16px;
        color: var(--muted);
        font-size: .82rem;
        font-weight: 800;
    }
    .mobile-bottom-nav a.is-active { background: var(--pink-soft); color: var(--berry); }
}
@media (max-width: 520px) {
    .footer-inner { grid-template-columns: 1fr; }
    .button-row { align-items: stretch; }
    .button-row .btn { width: 100%; }
    .story-feature { min-height: 340px; }
    .content-block, .card, .feedback-card, .service-card { padding: 22px; }
    .channel-grid { 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; }
}
