*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #FFF7FA;
    --surface: #FFFFFF;
    --soft: #FFEAF2;
    --soft-2: #FFE1EC;
    --title: #4A1630;
    --text: #5C2A3E;
    --muted: #8A4A62;
    --faint: #B07A90;
    --pink: #E85A8B;
    --pink-light: #FF7AA8;
    --pink-dark: #C43B6E;
    --border: rgba(232, 90, 139, 0.16);
    --shadow: 0 14px 34px rgba(196, 59, 110, 0.10);
    --max: 1180px;
    --header-offset: 118px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.layer-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(232, 90, 139, 0.34);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--title);
    color: #fff;
    padding: 8px 14px;
    border-radius: 10px;
}

.skip-link:focus {
    top: 10px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
}

.core-line {
    height: 18px;
    background: var(--pink-dark);
    color: #fff;
    font-size: 11px;
    line-height: 18px;
}

.core-line-inner,
.candy-bar-inner,
.tag-strip-inner,
.footer-inner,
.page-shell {
    width: min(calc(100% - 32px), var(--max));
    margin-inline: auto;
}

.core-line-inner {
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.core-brand {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icon-action {
    position: relative;
    min-width: 48px;
    height: 18px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 11px;
    line-height: 18px;
}

.icon-action::before {
    content: "";
    position: absolute;
    inset: -13px -6px;
}

.candy-bar {
    height: 60px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.candy-bar-inner {
    height: 60px;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
    align-items: center;
    gap: 20px;
}

.brand-lockup {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 88px;
}

.brand-logo,
.drawer-logo,
.footer-logo {
    object-fit: contain;
    object-position: left center;
}

.brand-logo {
    max-height: 36px;
    width: auto;
    max-width: 190px;
}

.brand-text {
    color: var(--title);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.drawer-trigger,
.app-link,
.close-button,
.button-primary,
.button-secondary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}

.drawer-trigger {
    justify-self: center;
    min-width: 112px;
    border: 1px solid var(--border);
    background: var(--soft);
    color: var(--pink-dark);
    font-weight: 800;
}

.app-link {
    justify-self: end;
    padding: 0 16px;
    color: #fff;
    background: linear-gradient(135deg, #FF7AA8 0%, #E85A8B 55%, #C43B6E 100%);
    font-weight: 800;
}

.drawer-trigger:hover,
.app-link:hover,
.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(196, 59, 110, .14);
}

.tag-strip {
    height: 40px;
    background: var(--soft);
    border-bottom: 1px solid var(--border);
}

.tag-strip-inner {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
}

.tag-strip a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 3px 10px;
    border-radius: 9px;
    color: var(--title);
    font-size: 14px;
    white-space: nowrap;
}

.tag-strip a::before {
    content: "";
    position: absolute;
    inset: -5px 0;
}

.tag-strip a:hover {
    background: #fff;
}

.tag-strip a.is-current {
    background: var(--pink-dark);
    color: #fff;
}

.site-main {
    min-height: 60vh;
    padding-top: var(--header-offset);
}

.page-shell {
    padding-block: 28px 64px;
}

.page-hero {
    margin: 0 0 28px;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #fff9fb 100%);
    box-shadow: var(--shadow);
}

.page-hero .eyebrow,
.section-heading .eyebrow,
.search-head .eyebrow {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
}

h1,
h2,
h3,
h4 {
    color: var(--title);
    line-height: 1.35;
    margin-top: 0;
}

h1 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3.2vw, 32px);
    letter-spacing: -.02em;
}

h2 {
    font-size: clamp(22px, 2.6vw, 27px);
}

h3 {
    font-size: 19px;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

.lead {
    max-width: 820px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 17px;
}

.cover-slot,
.media-slot,
.app-media {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--soft);
}

.cover-slot {
    display: grid;
    place-items: center;
    min-height: 190px;
    max-height: 300px;
    margin-bottom: 22px;
}

.cover-slot img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: contain;
    object-position: center;
}

.image-placeholder {
    min-height: 180px;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
    text-align: center;
    color: var(--title);
    background:
        radial-gradient(circle at 20% 20%, rgba(255,122,168,.15), transparent 34%),
        linear-gradient(135deg, #fff 0%, var(--soft) 100%);
}

.image-placeholder span {
    max-width: 380px;
    font-weight: 800;
    letter-spacing: .04em;
}

.hero-copy {
    padding-top: 4px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--pink-dark);
    font-size: 14px;
    font-weight: 800;
}

.hero-actions,
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.button-primary {
    padding: 0 18px;
    color: #fff;
    background: linear-gradient(135deg, #FF7AA8 0%, #E85A8B 55%, #C43B6E 100%);
    font-weight: 800;
}

.button-secondary {
    padding: 0 18px;
    border: 1px solid var(--border);
    color: var(--pink-dark);
    background: #fff;
    font-weight: 800;
}

.section-block {
    margin-top: 26px;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(196, 59, 110, .06);
}

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

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.candy-card,
.info-card,
.status-card,
.quote-card,
.faq-card,
.policy-card,
.step-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.candy-card {
    overflow: hidden;
}

.candy-card .media-slot,
.info-card .media-slot {
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    min-height: 190px;
    height: 210px;
    display: grid;
    place-items: center;
}

.candy-card .media-slot img,
.info-card .media-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.card-body {
    padding: 18px;
}

.card-body h3,
.info-card h3 {
    margin-bottom: 8px;
}

.card-body p,
.info-card p,
.status-card p,
.quote-card p,
.policy-card p,
.step-card p {
    color: var(--muted);
}

.card-body p:last-child,
.info-card p:last-child,
.status-card p:last-child,
.quote-card p:last-child,
.policy-card p:last-child,
.step-card p:last-child {
    margin-bottom: 0;
}

.card-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 8px;
    color: var(--pink-dark);
    font-weight: 800;
}

.info-card,
.status-card,
.quote-card,
.policy-card,
.step-card {
    padding: 20px;
}

.number-list,
.index-list,
.stroll-list,
.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.number-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.number-list li {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--soft);
}

.big-number {
    display: block;
    margin-bottom: 8px;
    color: var(--pink);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.book-shelf {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
}

.book-card {
    min-height: 260px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}

.book-card .book-index {
    color: var(--pink);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.status-card {
    background: var(--soft);
}

.status-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 3px 10px;
    margin-bottom: 12px;
    border-radius: 9px;
    background: var(--pink-dark);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.step-list {
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.step-card {
    position: relative;
    padding-top: 48px;
}

.step-card::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 20px;
    top: 16px;
    color: var(--pink);
    font-size: 22px;
    font-weight: 900;
}

.quote-card blockquote {
    margin: 0;
    color: var(--text);
}

.quote-card .note {
    display: block;
    margin-top: 14px;
    color: var(--pink-dark);
    font-size: 13px;
    font-weight: 800;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 22px;
}

.article-content,
.article-aside {
    min-width: 0;
}

.article-content section {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.article-content section:first-child {
    padding-top: 0;
}

.article-content section:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.article-content h2 {
    margin-bottom: 10px;
}

.article-aside {
    align-self: start;
    position: sticky;
    top: 136px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--soft);
}

.article-aside h2 {
    font-size: 18px;
}

.article-aside a {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: var(--pink-dark);
    border-bottom: 1px solid rgba(232,90,139,.12);
}

.article-aside a:last-child {
    border-bottom: 0;
}

.entry-list,
.index-list {
    display: grid;
    gap: 14px;
}

.entry-list article,
.index-list li {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 8px;
    color: var(--faint);
    font-size: 13px;
}

.topic-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 8px;
    border-radius: 8px;
    color: var(--pink-dark);
    background: var(--soft);
    font-size: 13px;
    font-weight: 800;
}

.longform {
    max-width: 860px;
}

.longform p {
    color: var(--text);
}

.longform .pullquote {
    margin: 22px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--pink);
    border-radius: 0 14px 14px 0;
    background: var(--soft);
    color: var(--title);
    font-weight: 700;
}

.app-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
    gap: 24px;
    align-items: center;
}

.app-media {
    min-height: 320px;
    max-height: 420px;
    display: grid;
    place-items: center;
}

.app-media img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: contain;
    object-position: center;
}

.icon-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.icon-row img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
}

.policy-stack {
    display: grid;
    gap: 14px;
}

.policy-card h2,
.faq-card h2 {
    margin-bottom: 8px;
    font-size: 20px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-card {
    padding: 20px;
}

.faq-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.site-footer {
    background: var(--title);
    color: #F8D6E4;
}

.footer-inner {
    padding-block: 44px 82px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.footer-logo-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.footer-logo {
    max-height: 34px;
    max-width: 170px;
    width: auto;
}

.footer-brand div {
    display: grid;
    gap: 1px;
}

.footer-brand strong {
    color: #fff;
}

.footer-brand span {
    font-size: 12px;
    letter-spacing: .08em;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.footer-grid h2 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 15px;
}

.footer-grid a {
    min-height: 44px;
    display: flex;
    align-items: center;
    color: #F8D6E4;
    font-size: 14px;
}

.footer-grid a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-note {
    max-width: 820px;
    margin: 28px 0 10px;
    color: #F8D6E4;
}

.copyright {
    margin-bottom: 0;
    color: #DDAEC1;
    font-size: 13px;
}

.site-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    background: rgba(74, 22, 48, .34);
    transition: opacity .2s ease, visibility .2s ease;
}

.site-overlay.is-active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
}

.site-drawer,
.search-layer {
    position: fixed;
    left: 0;
    right: 0;
    top: 78px;
    z-index: 1200;
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.site-drawer.is-open,
.search-layer.is-open {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.drawer-panel,
.search-card {
    width: min(calc(100% - 32px), var(--max));
    margin-inline: auto;
    border: 1px solid var(--border);
    border-radius: 0 0 20px 20px;
    background: #fff;
    box-shadow: 0 22px 54px rgba(74,22,48,.22);
}

.drawer-panel {
    max-height: 52vh;
    overflow-y: auto;
}

.drawer-head,
.search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--soft);
}

.drawer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.drawer-logo {
    max-height: 32px;
    max-width: 150px;
    width: auto;
}

.drawer-brand strong {
    color: var(--title);
    white-space: nowrap;
}

.close-button {
    min-width: 70px;
    padding: 0 14px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--pink-dark);
    font-weight: 800;
}

.drawer-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 20px;
}

.drawer-group {
    min-width: 0;
}

.drawer-group h2 {
    margin-bottom: 8px;
    font-size: 16px;
}

.drawer-group a {
    display: grid;
    gap: 2px;
    min-height: 58px;
    padding: 9px 8px;
    border-radius: 10px;
}

.drawer-group a:hover {
    background: var(--soft);
}

.drawer-group strong {
    color: var(--title);
    font-size: 14px;
}

.drawer-group span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.search-card {
    max-width: 760px;
    padding-bottom: 20px;
}

.search-head h2 {
    margin-bottom: 0;
    font-size: 20px;
}

.search-field {
    display: grid;
    gap: 8px;
    padding: 20px 20px 14px;
    color: var(--title);
    font-weight: 800;
}

.search-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 14px;
    background: #fff;
    color: var(--text);
}

.search-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 20px;
}

.search-presets a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--pink-dark);
    background: var(--soft);
    font-weight: 800;
}

.search-presets a[hidden] {
    display: none;
}

.search-empty {
    padding: 12px 20px 0;
    margin-bottom: 0;
    color: var(--muted);
}

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

.notice-box {
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--soft);
    color: var(--text);
}

.notice-box strong {
    color: var(--title);
}

.list-check {
    margin: 0;
    padding-left: 1.2em;
}

.list-check li + li {
    margin-top: 8px;
}

.table-like {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    border-bottom: 1px solid var(--border);
}

.table-row:last-child {
    border-bottom: 0;
}

.table-row > div {
    padding: 14px 16px;
}

.table-row > div:first-child {
    background: var(--soft);
    color: var(--title);
    font-weight: 800;
}

.editor-view {
    display: grid;
    gap: 14px;
}

.editor-view article {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.editor-view .editor-label {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    margin-bottom: 8px;
    padding: 2px 8px;
    border-radius: 8px;
    background: var(--pink-dark);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 980px) {
    .card-grid,
    .card-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .number-list,
    .status-grid,
    .book-shelf {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .drawer-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .article-aside {
        position: static;
    }

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

@media (max-width: 720px) {
    :root {
        --header-offset: 78px;
    }

    body {
        font-size: 16px;
    }

    .core-line-inner,
    .candy-bar-inner,
    .footer-inner,
    .page-shell {
        width: min(calc(100% - 32px), var(--max));
    }

    .tag-strip {
        display: none;
    }

    .candy-bar-inner {
        grid-template-columns: minmax(86px, 1fr) auto minmax(86px, 1fr);
        gap: 8px;
    }

    .brand-logo {
        max-width: 120px;
        max-height: 32px;
    }

    .drawer-trigger {
        min-width: 92px;
        padding: 0 10px;
    }

    .app-link {
        min-width: 86px;
        padding: 0 10px;
    }

    .site-main {
        padding-top: 78px;
        padding-bottom: calc(56px + env(safe-area-inset-bottom));
    }

    .page-shell {
        padding-block: 20px 42px;
    }

    .page-hero,
    .section-block {
        padding: 20px;
        border-radius: 18px;
    }

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: -4px;
    }

    .card-grid,
    .card-grid.two,
    .card-grid.four,
    .number-list,
    .status-grid,
    .book-shelf,
    .step-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .candy-card .media-slot,
    .info-card .media-slot {
        height: 200px;
    }

    .app-showcase {
        grid-template-columns: 1fr;
    }

    .app-media {
        min-height: 260px;
    }

    .table-row {
        grid-template-columns: 1fr;
    }

    .table-row > div:first-child {
        border-bottom: 1px solid var(--border);
    }

    .footer-inner {
        padding-block: 38px calc(90px + env(safe-area-inset-bottom));
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        height: calc(50px + env(safe-area-inset-bottom));
        padding: 0 8px env(safe-area-inset-bottom);
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        gap: 4px;
        border-top: 1px solid var(--border);
        background: rgba(255,255,255,.98);
    }

    .mobile-bottom-nav a {
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        color: var(--title);
        font-size: 13px;
        font-weight: 800;
    }

    .mobile-bottom-nav a.is-current {
        background: var(--pink);
        color: #fff;
    }

    .site-drawer,
    .search-layer {
        top: 78px;
    }

    .drawer-panel,
    .search-card {
        width: 100%;
        border-left: 0;
        border-right: 0;
        border-radius: 0 0 18px 18px;
    }

    .drawer-panel {
        max-height: 68vh;
    }

    .drawer-groups {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 16px 20px;
    }

    .drawer-group {
        padding-bottom: 10px;
        border-bottom: 1px solid var(--border);
    }

    .drawer-group:last-child {
        border-bottom: 0;
    }

    .drawer-group a {
        min-height: 58px;
        padding-inline: 4px;
    }

    .search-head {
        align-items: start;
    }

    .search-head h2 {
        font-size: 18px;
    }
}

@media (max-width: 430px) {
    .core-brand {
        max-width: 74vw;
    }

    .brand-text {
        font-size: 14px;
    }

    .drawer-trigger,
    .app-link {
        min-width: 78px;
        font-size: 13px;
        padding-inline: 8px;
    }

    .page-hero,
    .section-block {
        padding: 18px;
    }

    h1 {
        font-size: 28px;
    }
}

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