/* 糖心Vlog 全站样式 */
:root {
    --page: #FFF9FC;
    --surface: #FFFFFF;
    --soft-pink: #FFF1F6;
    --soft-purple: #F6F3FF;
    --soft-gray: #F8F6F7;
    --title: #31262C;
    --text: #51454C;
    --muted: #7C6E75;
    --hint: #A2949B;
    --brand: #FF5C98;
    --berry: #D9467B;
    --peach: #FF96AD;
    --purple: #8B74E8;
    --deep-purple: #6250B0;
    --border: rgba(255, 92, 152, .15);
    --shadow: 0 14px 38px rgba(70, 44, 58, .08);
    --strong-shadow: 0 20px 48px rgba(217, 70, 123, .14);
    --header-h: 78px;
    --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--page);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p, h1, h2, h3, h4 { margin-top: 0; }
main { display: block; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 300;
    padding: 10px 16px;
    border-radius: 999px;
    color: #fff;
    background: var(--deep-purple);
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 120;
    height: var(--header-h);
    border-bottom: 1px solid rgba(255, 92, 152, .11);
    background: rgba(255, 249, 252, .93);
    backdrop-filter: blur(18px);
}
.header-inner {
    width: min(calc(100% - 32px), var(--max));
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.desktop-nav { display: flex; align-items: center; gap: 6px; min-width: 0; }
.desktop-nav-left { justify-content: flex-end; }
.desktop-nav-right { justify-content: flex-start; }
.nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--berry); background: var(--soft-pink); }
.nav-link:focus-visible, .brand-mark:focus-visible, .round-menu-button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
    outline: 3px solid rgba(139, 116, 232, .35);
    outline-offset: 3px;
}
.brand-mark, .footer-logo, .drawer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    color: var(--title);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .03em;
    white-space: nowrap;
}
.brand-mark img, .footer-logo img, .drawer-brand img { width: auto; max-height: 46px; object-fit: contain; }
.brand-dot {
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 6px solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--peach), var(--brand), var(--purple));
    box-shadow: 0 0 0 1px var(--border), 0 5px 16px rgba(217, 70, 123, .25);
}
.round-menu-button {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-content: center;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 8px 24px rgba(70, 44, 58, .08);
}
.round-menu-button span { width: 17px; height: 2px; border-radius: 2px; background: var(--title); }
.mobile-header-actions { display: none; justify-self: end; align-items: center; gap: 8px; }
.mobile-experience {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 17px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--peach) 0%, var(--brand) 50%, var(--purple) 100%);
    font-weight: 800;
}
.site-main { padding-top: var(--header-h); min-height: 70vh; }

.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.section { padding: 86px 0; }
.section.compact { padding: 58px 0; }
.section.soft-pink { background: var(--soft-pink); }
.section.soft-purple { background: var(--soft-purple); }
.section.soft-gray { background: var(--soft-gray); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--berry);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--purple)); }
h1, h2, h3, h4 { color: var(--title); line-height: 1.25; }
h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; }
h2 { font-size: clamp(28px, 3.5vw, 44px); letter-spacing: -.03em; }
h3 { font-size: 21px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.9; }
.muted { color: var(--muted); }
.text-link { color: var(--berry); font-weight: 800; border-bottom: 1px solid rgba(217, 70, 123, .3); }
.text-link:hover { color: var(--deep-purple); }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.primary-button, .secondary-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    font-weight: 900;
    white-space: nowrap;
}
.primary-button { color: #fff; background: linear-gradient(135deg, var(--peach) 0%, var(--brand) 50%, var(--purple) 100%); box-shadow: var(--strong-shadow); }
.secondary-button { color: var(--berry); border: 1px solid var(--border); background: rgba(255,255,255,.8); }
.primary-button:hover, .secondary-button:hover { transform: translateY(-2px); }

.home-hero { padding: 74px 0 42px; position: relative; overflow: hidden; }
.home-hero::before, .home-hero::after {
    content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none;
}
.home-hero::before { width: 380px; height: 380px; left: -160px; top: 10px; background: radial-gradient(circle, rgba(255,150,173,.28), rgba(255,241,246,0) 70%); }
.home-hero::after { width: 420px; height: 420px; right: -180px; top: 60px; background: radial-gradient(circle, rgba(139,116,232,.2), rgba(246,243,255,0) 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(190px, .65fr) minmax(440px, 1.7fr) minmax(190px, .65fr); gap: 30px; align-items: center; }
.hero-center { text-align: center; }
.hero-center .lead { max-width: 720px; margin: 0 auto; }
.hero-center .button-row { justify-content: center; }
.hero-note { padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: rgba(255,255,255,.75); box-shadow: var(--shadow); }
.hero-note h2 { font-size: 20px; margin-bottom: 10px; }
.hero-note p { margin-bottom: 0; font-size: 14px; color: var(--muted); }
.hero-visual { margin-top: 44px; }

.media-frame, .media-fallback {
    position: relative;
    width: 100%;
    min-height: 280px;
    overflow: hidden;
    border: 1px solid rgba(255, 92, 152, .13);
    border-radius: 28px;
    background: linear-gradient(135deg, #FFF0F6, #F7F1FF);
    box-shadow: var(--shadow);
}
.media-frame img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }
.media-fallback { isolation: isolate; }
.media-fallback::before {
    content: "";
    position: absolute;
    inset: 12% 18%;
    z-index: -1;
    border-radius: 42% 58% 63% 37% / 41% 37% 63% 59%;
    background: linear-gradient(145deg, rgba(255,150,173,.75), rgba(255,92,152,.45) 52%, rgba(139,116,232,.62));
    transform: rotate(-6deg);
}
.media-fallback::after {
    content: "";
    position: absolute;
    left: 10%; right: 10%; bottom: 9%; height: 36%;
    border-radius: 28px 28px 60px 60px;
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(6px);
}
.media-fallback span, .media-fallback i, .media-fallback b { position: absolute; display: block; border-radius: 50%; pointer-events: none; }
.media-fallback span { width: 62px; height: 62px; top: 18%; left: 18%; background: rgba(255,255,255,.88); }
.media-fallback i { width: 90px; height: 90px; top: 25%; right: 17%; background: rgba(246,243,255,.85); }
.media-fallback b { width: 26px; height: 26px; top: 14%; right: 38%; background: var(--brand); box-shadow: 0 0 0 12px rgba(255,92,152,.12); }
.media-wide { min-height: 430px; }
.media-tall { min-height: 520px; }
.media-small { min-height: 210px; }

.index-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.index-card, .content-card, .story-card, .topic-card, .feedback-card, .service-card, .interest-card, .rule-card, .info-card {
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.index-card { min-height: 210px; padding: 22px; display: flex; flex-direction: column; }
.index-card:nth-child(2n) { background: var(--soft-purple); }
.index-card h3 { font-size: 18px; margin-bottom: 10px; }
.index-card p { color: var(--muted); font-size: 14px; flex: 1; }
.index-card a { color: var(--berry); font-weight: 800; }

.split-layout { display: grid; grid-template-columns: 1.02fr .98fr; gap: 42px; align-items: center; }
.split-layout.reverse > :first-child { order: 2; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.content-card, .story-card, .topic-card, .feedback-card, .service-card, .interest-card, .rule-card, .info-card { padding: 26px; }
.content-card p, .story-card p, .topic-card p, .feedback-card p, .service-card p, .interest-card p, .rule-card p, .info-card p { color: var(--muted); }
.card-number { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; color: #fff; font-weight: 900; background: linear-gradient(135deg, var(--brand), var(--purple)); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border-radius: 999px; color: var(--deep-purple); background: var(--soft-purple); font-size: 12px; font-weight: 800; }
.story-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.story-main { grid-row: span 2; padding: 28px; border-radius: 28px; background: linear-gradient(145deg, #fff, #fff5f9); box-shadow: var(--strong-shadow); border: 1px solid var(--border); }
.story-side { padding: 22px; border-radius: 24px; background: #fff; border: 1px solid var(--border); }
.story-side h3 { font-size: 18px; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.gallery-item { grid-column: span 4; }
.gallery-item.wide { grid-column: span 8; }
.gallery-item .media-frame, .gallery-item .media-fallback { min-height: 260px; margin-bottom: 18px; }
.gallery-item.wide .media-frame, .gallery-item.wide .media-fallback { min-height: 360px; }
.gallery-item p { color: var(--muted); }
.interest-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.interest-card { min-height: 240px; }
.interest-card:nth-child(3n+2) { background: var(--soft-pink); }
.interest-card:nth-child(3n) { background: var(--soft-purple); }
.topic-list { display: grid; gap: 16px; }
.topic-card { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 22px; }
.topic-index { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 22px; background: var(--soft-pink); color: var(--berry); font-size: 22px; font-weight: 900; }
.topic-card a { color: var(--berry); font-weight: 900; white-space: nowrap; }
.quote-box { padding: 34px; border-radius: 28px; background: linear-gradient(145deg, #30252B, #493641); color: #FFEAF2; box-shadow: var(--strong-shadow); }
.quote-box h2, .quote-box h3 { color: #fff; }
.quote-box p { color: #F9DDE8; }
.feedback-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feedback-card::before { content: "“"; display: block; height: 38px; color: var(--brand); font-size: 48px; line-height: 1; font-family: Georgia, serif; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(70,44,58,.05); }
.faq-item summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; cursor: pointer; color: var(--title); font-weight: 900; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--brand); font-size: 24px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

.page-hero { padding: 82px 0 54px; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.page-hero-copy .lead { max-width: 720px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--berry); font-weight: 800; }
.article-shell { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.article-main { display: grid; gap: 24px; }
.article-block { padding: 32px; border: 1px solid var(--border); border-radius: 26px; background: #fff; box-shadow: var(--shadow); }
.article-block h2 { font-size: 28px; }
.article-block p:last-child { margin-bottom: 0; }
.article-aside { position: sticky; top: calc(var(--header-h) + 22px); display: grid; gap: 16px; }
.aside-card { padding: 24px; border-radius: 24px; background: var(--soft-purple); border: 1px solid var(--border); }
.aside-card:nth-child(2) { background: var(--soft-pink); }
.aside-card h2 { font-size: 20px; }
.aside-card a { display: block; min-height: 42px; padding: 8px 0; color: var(--berry); font-weight: 800; border-bottom: 1px dashed rgba(217,70,123,.2); }
.aside-card a:last-child { border-bottom: 0; }
.step-list { display: grid; gap: 16px; counter-reset: step; }
.step-item { position: relative; padding: 24px 24px 24px 76px; border-radius: 22px; border: 1px solid var(--border); background: #fff; }
.step-item::before { counter-increment: step; content: counter(step); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--purple)); font-weight: 900; }
.step-item h3 { margin-bottom: 8px; }
.step-item p { margin: 0; color: var(--muted); }
.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; padding: 0 0 30px 34px; border-left: 2px solid rgba(255,92,152,.2); }
.timeline-item::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px var(--soft-pink); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item h3 { margin-bottom: 8px; }
.timeline-item p { margin-bottom: 0; color: var(--muted); }
.notice-bar { padding: 18px 22px; border-left: 4px solid var(--purple); border-radius: 0 18px 18px 0; background: var(--soft-purple); color: var(--deep-purple); }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--berry); font-weight: 900; }
.warning-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.warning-list li { position: relative; padding-left: 30px; }
.warning-list li::before { content: "!"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--brand); font-size: 12px; font-weight: 900; }
.page-cta { padding: 42px; border-radius: 30px; background: linear-gradient(135deg, #FFF0F6, #F3EEFF); border: 1px solid var(--border); text-align: center; }
.page-cta h2 { margin-bottom: 12px; }
.page-cta p { max-width: 760px; margin: 0 auto; color: var(--muted); }
.page-cta .button-row { justify-content: center; }

.site-footer { padding: 72px 0 108px; background: #30252B; color: #FFEAF2; }
.footer-inner { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; }
.footer-brand p { max-width: 340px; color: #D8C3CC; }
.footer-logo { justify-content: flex-start; color: #fff; margin-bottom: 16px; }
.footer-group h2 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-group a { display: block; min-height: 38px; padding: 5px 0; color: #EBD7E0; font-size: 14px; }
.footer-group a:hover { color: #fff; }
.footer-bottom { width: min(calc(100% - 32px), var(--max)); margin: 46px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 28px; color: #BFA9B3; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom p:first-child { max-width: 760px; }
.mobile-bottom-nav { display: none; }

.site-overlay {
    position: fixed;
    inset: 0;
    z-index: 150;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    background: rgba(48,37,43,.28);
    backdrop-filter: blur(3px);
    transition: opacity .2s ease, visibility .2s ease;
}
.site-overlay.is-visible { visibility: visible; pointer-events: auto; opacity: 1; }
.channel-panel {
    position: fixed;
    left: 0; right: 0; top: var(--header-h);
    z-index: 170;
    max-height: calc(100vh - var(--header-h) - 24px);
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-16px);
    padding: 30px max(16px, calc((100% - var(--max)) / 2));
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,.98);
    box-shadow: var(--strong-shadow);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.channel-panel.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.channel-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; }
.channel-panel-head span { color: var(--berry); font-size: 13px; font-weight: 900; }
.channel-panel-head h2 { margin: 4px 0 0; font-size: 30px; }
.panel-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; cursor: pointer; background: #fff; font-size: 28px; line-height: 1; }
.channel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.channel-column { padding: 22px; border-radius: 24px; background: var(--soft-gray); }
.channel-column:nth-child(2) { background: var(--soft-pink); }
.channel-column:nth-child(3) { background: var(--soft-purple); }
.channel-column h3 { margin-bottom: 14px; font-size: 16px; }
.channel-column a { display: block; min-height: 58px; padding: 11px 0; border-bottom: 1px solid rgba(49,38,44,.08); }
.channel-column a:last-child { border-bottom: 0; }
.channel-column strong { display: block; color: var(--title); font-size: 14px; }
.channel-column span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.mobile-drawer { display: none; }

@media (max-width: 1080px) {
    .header-inner { grid-template-columns: auto 1fr auto; }
    .desktop-nav { display: none; }
    .brand-mark { justify-self: start; }
    .mobile-header-actions { display: flex; }
    .index-grid { grid-template-columns: repeat(3, 1fr); }
    .card-grid.four, .interest-list { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1.5fr repeat(2, 1fr); }
    .footer-brand { grid-row: span 2; }
    .channel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    :root { --header-h: 68px; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
    .section { padding: 64px 0; }
    .home-hero { padding-top: 52px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-center { order: -1; }
    .hero-note { text-align: left; }
    .hero-visual { margin-top: 24px; }
    .split-layout, .page-hero-grid, .article-shell, .story-feature { grid-template-columns: 1fr; }
    .split-layout.reverse > :first-child { order: initial; }
    .article-aside { position: static; grid-template-columns: repeat(2, 1fr); }
    .card-grid, .feedback-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item, .gallery-item.wide { grid-column: span 6; }
    .topic-card { grid-template-columns: 62px 1fr; }
    .topic-card a { grid-column: 2; }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
    .footer-brand { grid-column: 1 / -1; grid-row: auto; }
    .footer-bottom { flex-direction: column; }
    .mobile-bottom-nav {
        position: fixed;
        left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom));
        z-index: 110;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        min-height: 62px;
        padding: 5px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(255,255,255,.95);
        box-shadow: 0 18px 46px rgba(70,44,58,.16);
        backdrop-filter: blur(16px);
    }
    .mobile-bottom-nav a { min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border-radius: 17px; color: var(--muted); }
    .mobile-bottom-nav a.is-active { color: var(--berry); background: var(--soft-pink); }
    .mobile-bottom-nav span { font-size: 18px; line-height: 1; }
    .mobile-bottom-nav em { font-style: normal; font-size: 11px; font-weight: 800; }
    .channel-panel { display: none; }
    .mobile-drawer {
        position: fixed;
        right: 0; top: 0; bottom: 0;
        z-index: 180;
        width: min(88vw, 390px);
        display: flex;
        flex-direction: column;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(102%);
        background: #fff;
        box-shadow: -20px 0 50px rgba(70,44,58,.16);
        transition: transform .25s ease, visibility .25s ease;
    }
    .mobile-drawer.is-open { visibility: visible; pointer-events: auto; transform: translateX(0); }
    .mobile-drawer-head { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--border); }
    .drawer-brand { justify-content: flex-start; font-size: 18px; }
    .mobile-drawer-links { overflow-y: auto; padding: 12px 16px; }
    .mobile-drawer-links a { min-height: 48px; display: flex; align-items: center; padding: 5px 12px; border-bottom: 1px solid rgba(49,38,44,.07); color: var(--title); font-weight: 800; }
    .drawer-note { margin: auto 16px 18px; padding: 14px; border-radius: 16px; color: var(--muted); background: var(--soft-pink); font-size: 12px; }
}

@media (max-width: 580px) {
    .header-inner, .container, .footer-inner, .footer-bottom { width: min(calc(100% - 32px), var(--max)); }
    .brand-mark { font-size: 17px; }
    .brand-dot { width: 18px; height: 18px; border-width: 5px; }
    h1 { font-size: clamp(34px, 11vw, 48px); }
    h2 { font-size: 30px; }
    .lead { font-size: 16px; }
    .section { padding: 54px 0; }
    .index-grid, .card-grid, .card-grid.two, .card-grid.four, .feedback-grid, .interest-list, .article-aside { grid-template-columns: 1fr; }
    .index-card { min-height: auto; }
    .gallery-item, .gallery-item.wide { grid-column: 1 / -1; }
    .gallery-item.wide .media-frame, .gallery-item.wide .media-fallback, .media-wide, .media-tall { min-height: 300px; }
    .topic-card { padding: 20px; grid-template-columns: 50px 1fr; gap: 14px; }
    .topic-index { width: 50px; height: 50px; border-radius: 16px; font-size: 18px; }
    .article-block { padding: 24px; }
    .page-cta { padding: 30px 22px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
    .footer-group a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
