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

:root {
    color-scheme: dark;
    --bg: #0C0B0A;
    --deep: #161311;
    --panel: #1C1916;
    --panel-2: #26221D;
    --paper: #F3E6D2;
    --title: #FFF8F0;
    --text: #EDE4D8;
    --muted: #B7A898;
    --quiet: #8A7B6C;
    --red: #E11D2E;
    --red-hi: #FF4A4F;
    --wine: #8B1E2D;
    --rust: #E25A2A;
    --amber: #E2B14A;
    --border: rgba(226,177,74,.16);
    --strong-border: rgba(225,29,46,.40);
    --shadow: 0 18px 44px rgba(0,0,0,.46);
    --footer: #080706;
    --footer-text: #D8CBBA;
    --content-max: 1280px;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, summary { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: rgba(225,29,46,.18); }
button { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { color: var(--title); line-height: 1.35; margin-top: 0; }
h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.16rem, 2vw, 1.45rem); }
h3 { font-size: 1.02rem; }
ul { margin: 0; padding: 0; list-style: none; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
    outline: 3px solid var(--amber);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 50;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--paper);
    color: #2B2118;
}
.skip-link:focus { top: 12px; }

.site-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--border);
    background: #100E0C;
}
.header-inner {
    width: min(calc(100% - 32px), var(--content-max));
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand-logo {
    display: block;
    width: auto;
    height: clamp(28px, 3vw, 36px);
    object-fit: contain;
    object-position: center;
}
.brand-text-logo {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: .08em;
    color: var(--title);
}
.brand-en {
    font-size: .74rem;
    letter-spacing: .16em;
    color: var(--muted);
    white-space: nowrap;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-actions a {
    min-height: 44px;
    padding: 9px 12px;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    color: var(--muted);
}
.header-actions a:hover,
.header-actions a:focus-visible,
.header-actions a[aria-current="page"] {
    color: var(--title);
    border-bottom-color: var(--red);
}

.site-tools {
    border-bottom: 1px solid var(--border);
    background: var(--deep);
}
.tools-inner {
    width: min(calc(100% - 32px), var(--content-max));
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.tool-panel {
    min-width: 190px;
    flex: 0 1 360px;
}
.directory-tool { display: none; }
.tool-panel > summary {
    position: relative;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    list-style: none;
    color: var(--text);
}
.tool-panel > summary::-webkit-details-marker { display: none; }
.tool-panel > summary:hover { color: var(--title); }
.tool-state::before {
    content: "+";
    color: var(--red-hi);
    font-weight: 800;
}
.tool-panel[open] .tool-state::before { content: "−"; }

.tool-content {
    padding: 12px 14px 22px;
    border-top: 1px solid var(--border);
}
.directory-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px 28px;
}
.directory-group { min-width: 0; }
.directory-group h2 {
    margin-bottom: 8px;
    font-size: .9rem;
    color: var(--amber);
    letter-spacing: .08em;
}
.directory-group li + li { margin-top: 4px; }
.directory-group a,
.search-results a {
    min-height: 44px;
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
}
.directory-group a:hover,
.search-results a:hover {
    background: var(--panel);
}
.directory-group a[aria-current="page"],
.search-results a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--red);
    background: rgba(225,29,46,.08);
}
.directory-group strong,
.search-results strong {
    display: block;
    color: var(--title);
    font-size: .96rem;
}
.directory-group span,
.search-results span {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: .81rem;
    line-height: 1.55;
}
.tool-close,
.search-row button {
    min-height: 44px;
    border: 1px solid var(--strong-border);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
}
.tool-close {
    margin-top: 18px;
    padding: 8px 14px;
}
.tool-close:hover,
.search-row button:hover {
    background: rgba(225,29,46,.10);
}
.site-search-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--paper);
    font-weight: 700;
}
.search-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
}
.search-row input {
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #0F0D0B;
    color: var(--text);
}
.search-row button { padding: 8px 14px; }
.search-results {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 6px 10px;
}
.search-results li[hidden],
.search-empty[hidden] { display: none !important; }
.search-empty {
    margin: 14px 0 0;
    color: var(--muted);
}

.site-shell {
    width: min(calc(100% - 32px), var(--content-max));
    margin: 0 auto;
}
.desktop-sidebar { display: none; }
.main-content {
    min-width: 0;
    padding: 42px 0 64px;
}

.breadcrumb {
    margin-bottom: 14px;
    color: var(--quiet);
    font-size: .85rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--title); }
.page-intro {
    max-width: 800px;
    margin-bottom: 36px;
}
.page-intro .eyebrow,
.section-kicker {
    margin-bottom: 8px;
    color: var(--red-hi);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.lead {
    color: var(--paper);
    font-size: 1.06rem;
    line-height: 1.9;
}
.article-body {
    width: min(100%, 800px);
}
.article-section {
    scroll-margin-top: 18px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
}
.article-section:first-child { border-top: 0; }
.article-section p { color: var(--text); }
.article-section p:last-child { margin-bottom: 0; }
.article-section strong { color: var(--paper); }
.editor-note {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--red);
    background: rgba(225,29,46,.07);
    color: var(--paper);
}
.paper-note {
    margin: 18px 0;
    padding: 18px;
    border-radius: 6px;
    background: var(--paper);
    color: #35271D;
}
.paper-note h3 { color: #261A12; }
.paper-note p,
.paper-note li { color: #493728; }
.paper-note a { color: #6E1824; font-weight: 700; }

.site-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    margin-inline: auto;
}
.figure-frame {
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
}
.figure-frame figcaption {
    margin-top: 10px;
    color: var(--quiet);
    font-size: .82rem;
}
.image-fallback {
    width: 100%;
    min-height: 128px;
    max-height: 180px;
    display: grid;
    place-items: center;
    padding: 18px;
    border: 1px solid var(--strong-border);
    border-radius: 6px;
    background: linear-gradient(135deg, #18110F, #3A151A 70%, #251513);
    color: var(--paper);
    text-align: center;
}
.image-fallback span { font-weight: 800; letter-spacing: .08em; }

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.primary-link,
.secondary-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 800;
}
.primary-link {
    background: linear-gradient(135deg,#FF4A4F 0%,#E11D2E 46%,#E25A2A 100%);
    color: #FFF9F2;
}
.secondary-link {
    background: var(--paper);
    color: #2A2018;
}
.primary-link:hover,
.secondary-link:hover { transform: translateY(-1px); }

.home-section {
    padding: 44px 0;
    border-top: 1px solid var(--border);
}
.home-section:first-child {
    padding-top: 8px;
    border-top: 0;
}
.home-section > h2 { margin-bottom: 18px; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 30px;
    align-items: center;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { font-size: clamp(1.75rem, 3vw, 2rem); }
.hero-line {
    max-width: 620px;
    margin-bottom: 12px;
    color: var(--title);
    font-size: clamp(1.18rem, 2.5vw, 1.6rem);
    font-weight: 800;
    line-height: 1.5;
}
.hero-figure .site-image { max-height: 300px; }
.hero-figure .image-fallback { min-height: 220px; max-height: 300px; }

.path-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}
.path-card {
    min-width: 0;
    min-height: 130px;
    padding: 18px;
    border-top: 2px solid var(--red);
    background: var(--panel);
}
.path-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--title);
}
.path-card span {
    color: var(--muted);
    font-size: .91rem;
    line-height: 1.65;
}
.path-card:hover { background: #211C18; }

.digest-layout,
.media-split,
.feature-row,
.mobile-read-grid {
    display: grid;
    grid-template-columns: minmax(0,.78fr) minmax(0,1.55fr);
    gap: 28px;
    align-items: start;
}
.digest-list article,
.mini-analysis article {
    padding: 18px 0;
    border-top: 1px solid var(--border);
}
.digest-list article:first-child,
.mini-analysis article:first-child { padding-top: 0; border-top: 0; }
.digest-list h3,
.mini-analysis h3 { margin-bottom: 8px; }
.text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--paper);
    font-weight: 800;
}
.text-link::after { content: " →"; color: var(--red-hi); }
.text-link:hover { color: var(--title); }

.editorial-feature > .figure-frame {
    margin-bottom: 24px;
}
.editorial-feature .site-image { max-height: 240px; }

.three-notes,
.check-status-grid,
.rule-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 20px;
}
.note-box,
.status-card,
.rule-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--panel);
}
.note-box h3,
.status-card h3,
.rule-card h3 { margin-bottom: 8px; }
.note-box p,
.status-card p,
.rule-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.media-duo {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 18px;
}
.media-unit {
    min-width: 0;
    padding: 20px;
    border-top: 2px solid var(--strong-border);
    background: var(--panel);
}
.media-unit figure { margin: 0 0 18px; }
.media-unit .site-image { max-height: 235px; }
.media-unit ul { margin-top: 12px; }
.media-unit li {
    padding: 8px 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.feature-row {
    grid-template-columns: minmax(0,1fr) minmax(0,1.1fr);
    align-items: center;
}
.feature-row.reverse { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
.feature-row .site-image { max-height: 240px; }

.reading-band {
    display: grid;
    grid-template-columns: minmax(220px,.8fr) minmax(0,1.55fr);
    gap: 24px;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
}
.reading-band:first-of-type { border-top: 0; }
.reading-band .site-image { max-height: 220px; }

.compare-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    margin-top: 18px;
}
.compare-item {
    padding: 18px;
    background: var(--paper);
    color: #35271D;
    border-radius: 6px;
}
.compare-item h3 { color: #24170F; }
.compare-item p { color: #493728; margin: 0; }

.timeline-read {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 0;
    margin-top: 18px;
}
.timeline-read article {
    min-width: 0;
    padding: 18px;
    border-left: 1px solid var(--border);
}
.timeline-read article:first-child { border-left: 3px solid var(--red); }
.timeline-read h3 { margin-bottom: 8px; }
.timeline-read p { margin: 0; color: var(--muted); font-size: .9rem; }

.check-status-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
}
.status-card { border-top: 2px solid var(--red); }

.topic-block + .topic-block {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}
.observation-block {
    margin-top: 30px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
}
.editor-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--amber);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.clue-strip {
    padding-left: 20px;
    border-left: 2px solid var(--red);
}
.mobile-read-grid {
    grid-template-columns: minmax(0,1.4fr) minmax(220px,.6fr);
    align-items: center;
}
.mobile-read-grid .site-image { max-height: 420px; }

.final-three {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
}
.final-three article {
    padding: 20px;
    background: var(--panel);
    border-top: 2px solid var(--red);
}

.related-links {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
}
.related-links h2 { font-size: 1.12rem; }
.related-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.related-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--paper);
}
.related-links a:hover { border-color: var(--strong-border); background: var(--panel); }

.article-figure {
    margin: 0 0 28px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--panel);
}
.article-figure .site-image { max-height: 240px; }
.article-figure.portrait .site-image { max-height: 420px; }

.reading-toc {
    margin: 20px 0 30px;
    padding: 18px;
    border-radius: 6px;
    background: var(--panel);
}
.reading-toc h2 { font-size: 1rem; }
.reading-toc ol {
    margin: 0;
    padding-left: 20px;
}
.reading-toc a { color: var(--paper); }
.reading-toc a:hover { color: var(--red-hi); }

.fact-opinion-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}
.fact-opinion-grid article {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--panel);
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 26px;
}
.responsive-table th,
.responsive-table td {
    padding: 12px 14px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}
.responsive-table th {
    background: var(--panel-2);
    color: var(--paper);
}
.responsive-table td { color: var(--text); }

.faq-list details {
    border-top: 1px solid var(--border);
}
.faq-list summary {
    min-height: 52px;
    padding: 13px 0;
    cursor: pointer;
    color: var(--title);
    font-weight: 800;
}
.faq-list details p {
    padding: 0 0 18px;
    max-width: 800px;
    color: var(--text);
}

.site-footer {
    border-top: 2px solid var(--red);
    background: var(--footer);
    color: var(--footer-text);
}
.footer-inner {
    width: min(calc(100% - 32px), var(--content-max));
    margin: 0 auto;
    padding: 44px 0 34px;
}
.footer-brand {
    display: grid;
    grid-template-columns: minmax(240px,.6fr) minmax(0,1.4fr);
    gap: 28px;
    align-items: start;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(216,203,186,.12);
}
.footer-logo-line {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo-line > div {
    display: flex;
    flex-direction: column;
}
.footer-logo-line strong { color: #FFF8F0; }
.footer-logo-line span { font-size: .72rem; color: var(--muted); letter-spacing: .12em; }
.footer-brand p { margin: 0; color: var(--muted); }
.footer-directory {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 22px;
    padding: 28px 0;
}
.footer-directory section { min-width: 0; }
.footer-directory h2 {
    margin-bottom: 10px;
    font-size: .9rem;
    color: var(--amber);
}
.footer-directory a {
    min-height: 38px;
    display: flex;
    align-items: center;
    color: var(--footer-text);
    font-size: .88rem;
}
.footer-directory a:hover,
.footer-directory a[aria-current="page"] { color: var(--red-hi); }
.copyright {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(216,203,186,.12);
    color: var(--quiet);
    font-size: .84rem;
}

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

@media (min-width: 1100px) {
    .site-shell {
        display: grid;
        grid-template-columns: 196px minmax(0,1fr);
        gap: 24px;
    }
    .desktop-sidebar {
        display: block;
        align-self: start;
        padding: 42px 0 50px;
    }
    .main-content { padding-left: 6px; }
    .sidebar-group + .sidebar-group { margin-top: 22px; }
    .sidebar-group h2 {
        margin-bottom: 7px;
        color: var(--quiet);
        font-size: .73rem;
        letter-spacing: .12em;
    }
    .sidebar-group a {
        position: relative;
        min-height: 40px;
        display: flex;
        align-items: center;
        padding: 7px 9px 7px 15px;
        border-radius: 5px;
        color: var(--muted);
        font-size: .9rem;
    }
    .sidebar-group a::before {
        content: "";
        position: absolute;
        left: 4px;
        top: 50%;
        width: 5px;
        height: 1px;
        background: transparent;
        transform: translateY(-50%);
        pointer-events: none;
    }
    .sidebar-group a:hover { color: var(--title); background: var(--panel); }
    .sidebar-group a[aria-current="page"] {
        color: var(--title);
        background: rgba(225,29,46,.08);
        font-weight: 800;
    }
    .sidebar-group a[aria-current="page"]::before {
        width: 7px;
        height: 2px;
        background: var(--red);
    }
    .full-directory-link {
        min-height: 44px;
        margin-top: 20px;
        display: flex;
        align-items: center;
        padding: 8px 10px;
        border-top: 1px solid var(--border);
        color: var(--paper);
        font-size: .88rem;
    }
}
@media (min-width: 1100px) and (min-height: 780px) {
    .desktop-sidebar {
        position: sticky;
        top: 0;
    }
}

@media (max-width: 1099px) {
    .directory-tool { display: block; }
    .tools-inner { align-items: stretch; }
    .tool-panel { flex: 1 1 50%; }
    .main-content { padding-top: 34px; }
}

@media (max-width: 900px) {
    .hero-grid,
    .digest-layout,
    .media-split,
    .feature-row,
    .feature-row.reverse,
    .reading-band,
    .mobile-read-grid {
        grid-template-columns: 1fr;
    }
    .hero-figure { order: 2; }
    .path-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .media-duo { grid-template-columns: 1fr 1fr; }
    .three-notes,
    .check-status-grid,
    .rule-grid,
    .compare-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .timeline-read { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .timeline-read article:nth-child(3) { border-left: 3px solid var(--red); }
    .final-three { grid-template-columns: 1fr; }
    .footer-directory { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .footer-brand { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .header-inner {
        min-height: 64px;
        width: min(calc(100% - 32px), var(--content-max));
        gap: 10px;
    }
    .brand { gap: 8px; }
    .brand-en { font-size: .63rem; letter-spacing: .09em; }
    .header-actions a { padding-inline: 8px; font-size: .86rem; }
    .header-actions .faq-link { display: none; }
    .tools-inner {
        width: min(calc(100% - 32px), var(--content-max));
        display: block;
    }
    .tool-panel { width: 100%; }
    .tool-panel + .tool-panel { border-top: 1px solid var(--border); }
    .directory-grid,
    .search-results { grid-template-columns: 1fr; }
    .main-content { padding: 28px 0 48px; }
    .home-section { padding: 32px 0; }
    .path-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .path-card { min-height: 118px; padding: 14px; }
    .media-duo,
    .three-notes,
    .check-status-grid,
    .rule-grid,
    .compare-grid,
    .timeline-read,
    .fact-opinion-grid { grid-template-columns: 1fr; }
    .timeline-read article,
    .timeline-read article:nth-child(3) {
        border-left: 3px solid var(--red);
        border-top: 1px solid var(--border);
    }
    .timeline-read article:first-child { border-top: 0; }
    .hero-figure .site-image { max-height: 260px; }
    .feature-row .site-image,
    .editorial-feature .site-image,
    .reading-band .site-image,
    .article-figure .site-image { max-height: 220px; }
    .mobile-read-grid .site-image,
    .article-figure.portrait .site-image { max-height: 360px; }
    .image-fallback { min-height: 110px; max-height: 140px; }
    .hero-figure .image-fallback { min-height: 150px; max-height: 220px; }
    .footer-directory { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 20;
        display: grid;
        grid-template-columns: repeat(5,minmax(0,1fr));
        min-height: calc(56px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 1px solid var(--strong-border);
        background: rgba(8,7,6,.97);
    }
    .mobile-bottom-nav a {
        min-width: 0;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 7px 4px;
        color: var(--muted);
        font-size: .78rem;
        text-align: center;
    }
    .mobile-bottom-nav a[aria-current="page"] {
        color: var(--red-hi);
        font-weight: 800;
        box-shadow: inset 0 2px 0 var(--red);
    }
    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        width: 100%;
    }
    .responsive-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }
    .responsive-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: var(--panel);
    }
    .responsive-table td {
        display: grid;
        grid-template-columns: minmax(84px,.35fr) minmax(0,1fr);
        gap: 12px;
        border: 0;
        border-top: 1px solid var(--border);
    }
    .responsive-table td:first-child { border-top: 0; }
    .responsive-table td::before {
        content: attr(data-label);
        color: var(--amber);
        font-weight: 800;
    }
}

@media (max-width: 420px) {
    .brand-en { display: none; }
    .header-actions a { font-size: .82rem; }
    .path-grid { gap: 8px; }
    .path-card { padding: 12px; }
    .footer-directory { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
}

.app-mark { width: auto; max-width: 72px; max-height: 72px; object-fit: contain; }
@media (max-width: 767px) { .app-mark { max-width: 64px; max-height: 64px; } }

.directory-brand { display:flex; align-items:center; gap:10px; margin-bottom:16px; padding-bottom:14px; border-bottom:1px solid var(--border); color:var(--muted); font-size:.78rem; letter-spacing:.08em; }
.directory-brand .brand-logo { height:30px; }
.app-mark-wrap { margin-top:12px; display:flex; justify-content:center; }
.footer-home-link { min-height:44px; display:inline-flex; align-items:center; margin-top:10px; color:var(--paper); font-weight:800; }
.footer-home-link:hover, .footer-home-link[aria-current="page"] { color:var(--red-hi); }
