:root {
    --bg: #000000;
    --bg-deep: #050505;
    --panel: #0B0B0B;
    --panel-2: #121212;
    --hover: #1A1A1A;
    --white: #FFFFFF;
    --title: #F7F7F7;
    --text: #DDDDDD;
    --muted: #A5A5A5;
    --dim: #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);
    --header-h: 126px;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body {
    margin: 0;
    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;
    overflow-x: hidden;
}
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a, button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; }
.curtain-line { height: 20px; background: #000; color: var(--silver); border-bottom: 1px solid var(--line); }
.curtain-inner { height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 11px; letter-spacing: .08em; }
.curtain-brand, .text-button { min-height: 20px; display: inline-flex; align-items: center; }
.text-button { border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--silver); }
.screen-bar { height: 64px; background: var(--panel); border-bottom: 1px solid var(--line-strong); }
.screen-bar-inner { height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand-lockup { justify-self: start; min-height: 44px; min-width: 88px; display: inline-flex; align-items: center; }
.brand-logo { width: auto; height: 34px; max-width: 160px; object-fit: contain; object-position: left center; }
.brand-fallback { font-size: 22px; font-weight: 750; letter-spacing: .08em; color: var(--white); }
.drawer-trigger, .app-link, .close-button {
    min-height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: transparent;
    color: var(--title);
    padding: 0 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.drawer-trigger { justify-self: center; }
.app-link { justify-self: end; }
.drawer-trigger:hover, .app-link:hover, .close-button:hover { background: var(--hover); }
.show-tags { height: 42px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.show-tags-inner { height: 42px; display: flex; align-items: center; gap: 8px; overflow: hidden; }
.show-tag { min-height: 30px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid transparent; color: var(--silver); border-radius: 6px; white-space: nowrap; }
.show-tag:hover { border-color: var(--line-strong); color: var(--white); }
.show-tag.is-current { background: var(--white); color: #000; }
.site-main { padding-top: var(--header-h); min-height: 70vh; }
.page { padding: 44px 0 84px; }
.page-hero { margin-bottom: 34px; }
.eyebrow { color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { color: var(--title); line-height: 1.25; margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 32px); margin-bottom: 16px; }
h2 { font-size: clamp(21px, 3vw, 25px); margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 10px; }
p { margin: 0 0 16px; }
.lead { font-size: 17px; color: var(--text); max-width: 850px; }
.section { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0; }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card, .article-block, .status-card, .step-card, .faq-item, .index-line {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
}
.card:hover { border-color: var(--line-strong); background: var(--panel-2); }
.card p, .status-card p, .step-card p { color: var(--muted); }
.card-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 6px; color: var(--white); border-bottom: 1px solid var(--line-strong); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.button-primary, .button-secondary { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; border-radius: 8px; }
.button-primary { background: var(--white); color: #000; border: 1px solid var(--white); }
.button-secondary { background: transparent; color: var(--white); border: 1px solid var(--line-strong); }
.button-primary:hover { background: #e9e9e9; }
.button-secondary:hover { background: var(--hover); }
.image-frame { width: 100%; background: #050505; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.image-frame.hero { min-height: 180px; max-height: 300px; aspect-ratio: 16 / 9; margin-bottom: 24px; }
.image-frame.content { height: 210px; margin-bottom: 16px; }
.image-frame.poster { min-height: 300px; max-height: 420px; }
.image-frame img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.image-fallback { width: 100%; height: 100%; min-height: inherit; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 24px; letter-spacing: .08em; }
.hero-copy { max-width: 900px; }
.hero-copy .kicker { color: var(--white); font-weight: 700; margin-bottom: 6px; }
.hero-copy .statement { font-size: clamp(23px, 4vw, 30px); color: var(--white); line-height: 1.35; margin-bottom: 16px; }
.number-list { display: grid; gap: 10px; }
.number-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.number-item:last-child { border-bottom: 0; }
.number-item .num { color: var(--white); font-size: 24px; font-variant-numeric: tabular-nums; }
.number-item p { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 24px; align-items: start; }
.quote { border-left: 2px solid var(--white); padding-left: 18px; color: var(--text); }
.meta-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.meta-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.meta-row strong { color: var(--title); }
.meta-row span { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { border: 1px solid var(--line); border-radius: 6px; padding: 6px 10px; color: var(--silver); background: var(--panel); }
.note { border: 1px solid var(--line-strong); background: var(--panel-2); padding: 16px 18px; border-radius: 8px; color: var(--silver); }
.table-like { border-top: 1px solid var(--line); }
.table-row { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.table-row strong { color: var(--white); }
.table-row div { color: var(--muted); }
.status { display: inline-flex; min-height: 30px; align-items: center; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--white); margin-bottom: 12px; }
.app-panel { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1.45fr); gap: 28px; align-items: center; }
.icon-inline { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 16px; }
.icon-placeholder { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--white); font-weight: 800; font-size: 22px; margin-bottom: 16px; }
.faq-list { display: grid; gap: 12px; }
.faq-item h2 { font-size: 18px; }
.faq-item p { color: var(--muted); margin-bottom: 0; }
.site-footer { background: #000; border-top: 1px solid var(--line); padding: 38px 0 28px; color: var(--silver); }
.footer-top { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr); gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; align-self: start; }
.footer-logo { width: auto; height: 32px; max-width: 130px; object-fit: contain; object-position: left center; }
.footer-brand strong { display: block; color: var(--white); font-size: 19px; }
.footer-brand span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .1em; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.footer-grid h2 { font-size: 14px; color: var(--white); margin-bottom: 10px; }
.footer-grid a { display: block; color: var(--muted); min-height: 34px; padding: 5px 0; }
.footer-grid a:hover { color: var(--white); }
.footer-note { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; font-size: 13px; color: var(--dim); }
.ui-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.72); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.ui-overlay.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.publication-drawer { position: fixed; z-index: 90; top: 0; right: 0; width: min(390px, 86vw); height: 100dvh; background: var(--bg-deep); 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 ease; }
.publication-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.drawer-brand { min-height: 44px; display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; }
.drawer-brand img { height: 30px; width: auto; max-width: 110px; object-fit: contain; }
.drawer-scroll { height: calc(100dvh - 70px); overflow-y: auto; padding: 14px; }
.drawer-group { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.drawer-group h2 { font-size: 13px; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.drawer-item { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
.drawer-item:first-of-type { border-top: 0; }
.drawer-item strong { display: block; color: var(--white); font-size: 15px; }
.drawer-item span { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; margin-top: 4px; }
.search-layer { position: fixed; z-index: 90; top: 84px; left: 50%; width: min(760px, calc(100% - 40px)); transform: translate(-50%, -12px); background: var(--panel-2); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: var(--shadow); padding: 20px; opacity: 0; visibility: hidden; pointer-events: none; transition: .2s ease; }
.search-layer.is-open { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.search-head { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.search-head h2 { margin: 4px 0 18px; }
.search-field { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
.search-field input { min-height: 48px; width: 100%; border: 1px solid var(--line-strong); background: #000; color: var(--white); border-radius: 8px; padding: 0 14px; outline: none; }
.search-field input:focus { border-color: var(--white); }
.search-presets { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; color: var(--silver); background: var(--panel); }
.search-presets a:hover { border-color: var(--line-strong); color: var(--white); }
.mobile-bottom-nav { display: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .app-panel { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    :root { --header-h: 84px; }
    body { padding-bottom: calc(50px + env(safe-area-inset-bottom)); }
    .shell { width: calc(100% - 32px); }
    .show-tags { display: none; }
    .screen-bar-inner { grid-template-columns: 1fr auto 1fr; gap: 8px; }
    .brand-lockup { min-width: 0; }
    .brand-logo { height: 30px; max-width: 110px; }
    .brand-fallback { font-size: 19px; }
    .drawer-trigger, .app-link { min-height: 44px; padding: 0 10px; font-size: 14px; border-color: var(--line); }
    .page { padding: 30px 0 54px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section-head { display: block; }
    .section-head p { margin-top: 8px; }
    .number-item { grid-template-columns: 44px 1fr; }
    .meta-row, .table-row { grid-template-columns: 1fr; gap: 4px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-layer { top: 84px; width: calc(100% - 24px); padding: 16px; background: #000; }
    .search-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-bottom-nav { position: fixed; z-index: 55; left: 0; right: 0; bottom: 0; height: calc(50px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #050505; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: repeat(5, 1fr); }
    .mobile-bottom-nav a { min-height: 50px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--silver); }
    .mobile-bottom-nav a.is-current { background: var(--white); color: #000; }
    .publication-drawer { width: min(86vw, 390px); }
}

@media (max-width: 420px) {
    .curtain-inner { font-size: 10px; }
    .drawer-trigger, .app-link { padding: 0 8px; font-size: 13px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .search-head h2 { font-size: 20px; }
}
