:root {
    --bg: #000000;
    --deep: #050505;
    --panel: #0B0B0B;
    --panel-2: #121212;
    --hover: #1A1A1A;
    --white: #FFFFFF;
    --title: #F7F7F7;
    --text: #DDDDDD;
    --muted: #A5A5A5;
    --quiet: #727272;
    --silver: #C7C7C7;
    --line: rgba(255,255,255,0.12);
    --line-strong: rgba(255,255,255,0.40);
    --shadow: 0 18px 46px rgba(0,0,0,0.48);
    --max: 1280px;
    --header-h: 126px;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; min-width: 0; 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.76; padding-top: var(--header-h); }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
button { color: inherit; }
:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.site-shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 90; background: var(--bg); box-shadow: 0 8px 26px rgba(0,0,0,.34); }
.curtain-line { height: 20px; background: #000; color: var(--silver); border-bottom: 1px solid rgba(255,255,255,.06); font-size: 11px; letter-spacing: .08em; }
.curtain-line__inner { height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.text-button, .icon-button, .magazine-button { border: 0; background: transparent; cursor: pointer; }
.text-button { position: relative; min-height: 20px; padding: 0 4px; color: var(--silver); }
.text-button::before { content: ""; position: absolute; inset: -12px -10px; }
.screen-bar { height: 64px; background: var(--panel-2); border-bottom: 1px solid var(--line-strong); }
.screen-bar__inner { height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.brand-lockup { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; max-width: 260px; }
.brand-logo { width: auto; height: 34px; max-width: 220px; object-fit: contain; object-position: left center; }
.brand-fallback { color: var(--white); font-weight: 800; letter-spacing: .18em; font-size: 21px; }
.magazine-button { justify-self: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 6px; background: #111; color: var(--title); }
.app-link { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 6px; background: var(--white); color: #000; font-weight: 700; }
.show-tags { height: 42px; background: #090909; border-bottom: 1px solid rgba(255,255,255,.24); }
.show-tags__inner { height: 42px; display: flex; align-items: center; gap: 6px; overflow: hidden; }
.show-tag { min-height: 42px; display: inline-flex; align-items: center; padding: 0 12px; color: var(--silver); font-size: 14px; border: 1px solid transparent; border-radius: 4px; white-space: nowrap; }
.show-tag:hover { border-color: var(--line); background: var(--hover); color: var(--white); }
.show-tag.is-current { background: var(--white); color: #000; font-weight: 700; }
.site-main { min-height: 60vh; }
.page-section { padding: 58px 0; border-bottom: 1px solid var(--line); }
.page-section.is-tight { padding-top: 34px; padding-bottom: 34px; }
.page-section.is-panel { background: var(--deep); }
.page-section.is-panel-2 { background: var(--panel); }
.page-header { padding-top: 54px; padding-bottom: 34px; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { color: var(--title); line-height: 1.3; margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(28px, 4vw, 32px); letter-spacing: -.02em; }
h2 { margin-bottom: 18px; font-size: clamp(22px, 3vw, 27px); }
h3 { margin-bottom: 10px; font-size: 18px; }
p { margin: 0 0 16px; }
.lead { max-width: 860px; color: var(--text); font-size: 17px; line-height: 1.9; }
.muted { color: var(--muted); }
.quiet { color: var(--quiet); }
.hero-image-slot, .content-image-slot { width: 100%; display: grid; place-items: center; overflow: hidden; background: #030303; border: 1px solid var(--line); }
.hero-image-slot { min-height: 180px; max-height: 300px; aspect-ratio: 16/6.8; }
.hero-image-slot img { width: 100%; height: 100%; max-height: 300px; object-fit: contain; object-position: center; }
.content-image-slot { min-height: 180px; max-height: 240px; aspect-ratio: 16/9; }
.content-image-slot img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.content-image-slot.is-portrait { max-height: 420px; aspect-ratio: 4/5; }
.content-image-slot.is-portrait img { max-height: 420px; }
.image-fallback { width: 100%; min-height: inherit; display: grid; place-items: center; color: var(--muted); background: #0d0d0d; }
.hero-copy { padding: 28px 0 4px; }
.hero-copy h1 { margin-bottom: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 17px; border-radius: 7px; font-weight: 700; border: 1px solid var(--line-strong); }
.button-primary { background: var(--white); color: #000; }
.button-secondary { background: transparent; color: var(--title); }
.button:hover { transform: translateY(-1px); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card { min-width: 0; padding: 22px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; }
a.card:hover { border-color: var(--line-strong); background: var(--hover); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; margin-top: 10px; color: var(--white); font-weight: 700; }
.number-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.number-item { display: grid; grid-template-columns: 62px 200px 1fr auto; gap: 18px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.number-item .num { color: var(--muted); font-size: 13px; letter-spacing: .12em; }
.number-item .name { color: var(--title); font-weight: 700; }
.number-item p { margin: 0; }
.number-item a { min-height: 44px; display: inline-flex; align-items: center; color: var(--white); font-weight: 700; }
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px, .82fr); gap: 30px; align-items: start; }
.split.reverse { grid-template-columns: minmax(280px,.82fr) minmax(0,1fr); }
.stack { display: grid; gap: 14px; }
.rule-list { border-top: 1px solid var(--line); }
.rule-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.rule-item h2, .rule-item h3 { margin-bottom: 8px; }
.status-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.status-card { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--line); background: var(--panel-2); }
.status-card strong { color: var(--white); font-size: 19px; }
.status-card span { color: var(--muted); }
.editor-note { padding: 20px 22px; border-left: 3px solid var(--white); background: var(--panel-2); }
.editor-note b { display: block; margin-bottom: 8px; color: var(--white); }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); background: var(--panel); padding: 20px 22px; border-radius: 6px; }
.faq-item h2 { font-size: 18px; margin-bottom: 8px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 13px; }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 5px; color: var(--silver); background: #0a0a0a; }
.site-footer { padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); background: #000; border-top: 1px solid var(--line); color: var(--silver); }
.footer-grid { display: grid; grid-template-columns: 240px 1fr; gap: 38px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-logo-wrap { min-height: 44px; display: flex; align-items: center; }
.footer-logo { height: 32px; width: auto; max-width: 210px; object-fit: contain; object-position: left center; }
.footer-brand strong { color: var(--white); font-size: 18px; }
.footer-brand span { color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.footer-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.footer-links section { min-width: 0; }
.footer-links h2 { font-size: 14px; margin: 0 0 12px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--muted); }
.footer-links a:hover { color: var(--white); }
.footer-note { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-note p { margin-bottom: 7px; }
.magazine-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 130; width: min(390px, 86vw); overflow-y: auto; overscroll-behavior: contain; padding: 20px; background: #070707; border-left: 1px solid var(--line-strong); box-shadow: var(--shadow); transform: translateX(104%); visibility: hidden; pointer-events: none; transition: transform .24s ease, visibility .24s linear; }
.magazine-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { position: sticky; top: -20px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0 14px; background: #070707; border-bottom: 1px solid var(--line); }
.drawer-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.drawer-logo { width: auto; height: 30px; max-width: 140px; object-fit: contain; object-position: left center; }
.drawer-brand div { display: grid; }
.drawer-brand strong { color: var(--white); }
.drawer-brand span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.icon-button { min-height: 44px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 5px; background: #111; }
.drawer-groups { display: grid; gap: 12px; padding: 16px 0 24px; }
.drawer-card { padding: 15px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; }
.drawer-card h2 { margin: 0 0 8px; font-size: 15px; }
.drawer-card a { display: grid; gap: 2px; min-height: 58px; padding: 10px 8px; border-top: 1px solid var(--line); }
.drawer-card a:first-of-type { border-top: 0; }
.drawer-card a:hover { background: var(--hover); }
.drawer-card b { color: var(--white); font-size: 14px; }
.drawer-card span { color: var(--muted); font-size: 12px; line-height: 1.55; }
.search-layer { position: fixed; z-index: 125; top: 84px; left: 0; right: 0; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-10px); transition: opacity .2s ease, transform .2s ease, visibility .2s linear; }
.search-layer.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.search-card { width: min(calc(100% - 40px), 760px); margin: 0 auto; padding: 20px; border: 1px solid var(--line-strong); background: #0c0c0c; box-shadow: var(--shadow); }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.search-head strong { color: var(--white); }
.search-card label { display: block; color: var(--muted); margin-bottom: 9px; }
.search-input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); background: #000; color: var(--white); border-radius: 5px; }
.search-presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 14px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--panel-2); border-radius: 5px; }
.search-presets a:hover { border-color: var(--line-strong); background: var(--hover); }
.site-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.68); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s linear; }
.site-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-bottom { display: none; }
@media (max-width: 900px) {
    .card-grid.four, .status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .split, .split.reverse { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .number-item { grid-template-columns: 52px 150px 1fr; }
    .number-item a { grid-column: 3; }
}
@media (max-width: 700px) {
    :root { --header-h: 84px; }
    body { padding-top: var(--header-h); padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
    .site-shell { width: calc(100% - 32px); }
    .show-tags { display: none; }
    .screen-bar__inner { grid-template-columns: minmax(88px,1fr) auto minmax(88px,1fr); gap: 8px; }
    .brand-lockup { max-width: 120px; }
    .brand-logo { height: 28px; max-width: 112px; }
    .brand-fallback { font-size: 17px; }
    .magazine-button { min-width: 78px; padding-inline: 9px; }
    .app-link { padding-inline: 9px; font-size: 13px; }
    .page-section { padding: 40px 0; }
    .page-header { padding-top: 38px; }
    .hero-image-slot { min-height: 150px; aspect-ratio: 16/9; }
    .card-grid, .card-grid.two, .card-grid.four, .status-grid { grid-template-columns: 1fr; }
    .number-item { grid-template-columns: 44px 1fr; gap: 10px 14px; }
    .number-item .name { grid-column: 2; }
    .number-item p, .number-item a { grid-column: 2; }
    .footer-links { grid-template-columns: 1fr 1fr; gap: 16px; }
    .footer-note { padding-bottom: 8px; }
    .search-layer { top: 84px; z-index: 135; }
    .search-card { width: calc(100% - 24px); }
    .search-presets { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .mobile-bottom { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5,1fr); background: #050505; border-top: 1px solid var(--line-strong); }
    .mobile-bottom a { min-height: 50px; display: flex; align-items: center; justify-content: center; color: var(--silver); font-size: 13px; }
    .mobile-bottom a.is-current { background: var(--white); color: #000; font-weight: 700; }
    .magazine-drawer { z-index: 140; }
    .site-overlay { z-index: 130; }
}
@media (max-width: 420px) {
    .curtain-line__brand { max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
    .footer-links { grid-template-columns: 1fr; }
    .search-presets { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

.mt-14 { margin-top: 14px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
.app-icon { width: 64px; height: 64px; object-fit: contain; object-position: center; margin: 16px 0; }
