:root {
    --bg: #0D0D0D;
    --bg-deep: #070707;
    --surface: #171717;
    --surface-2: #222222;
    --title: #F2F2F2;
    --text: #C8C8C8;
    --muted: #9A9A9A;
    --faint: #6E6E6E;
    --silver: #C8C8C8;
    --silver-bright: #E8E8E8;
    --ink: #1A1A1A;
    --mist-red: #B85A5A;
    --border: rgba(232,232,232,0.12);
    --border-strong: rgba(232,232,232,0.36);
    --shadow: 0 12px 28px rgba(0,0,0,0.45);
    --max: 1120px;
    --top-desktop: 122px;
    --top-mobile: 82px;
}
* { box-sizing: border-box; }
html { background: var(--bg-deep); 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", sans-serif; font-size: 15px; line-height: 1.7; }
body.ui-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 120; background: var(--silver-bright); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; }
.ink-line { height: 22px; background: var(--bg-deep); border-bottom: 1px solid var(--border); font-size: 12px; }
.ink-line-inner, .material-bar-inner, .case-tabs-inner { width: min(100% - 32px, var(--max)); height: 100%; margin: 0 auto; display: flex; align-items: center; }
.ink-line-inner { justify-content: space-between; color: var(--silver); letter-spacing: .02em; }
.text-button { border: 0; background: transparent; min-width: 44px; height: 22px; padding: 0 6px; cursor: pointer; color: var(--silver-bright); }
.material-bar { height: 60px; background: var(--ink); border-bottom: 1px solid var(--border-strong); }
.material-bar-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; }
.brand-link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; max-width: 220px; }
.logo-slot { display: inline-flex; align-items: center; justify-content: flex-start; background: transparent; }
.logo-slot-header, .logo-slot-drawer, .logo-slot-footer { height: 28px; min-width: 0; }
.site-image { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand-link .logo-slot:empty { display: none; }
.brand-fallback { font-size: 16px; color: var(--title); font-weight: 700; letter-spacing: .08em; }
.brand-link .logo-slot:not(:empty) + .brand-fallback { display: none; }
.drawer-trigger, .app-link, .drawer-close, .search-head button { min-height: 44px; border-radius: 10px; }
.drawer-trigger { justify-self: center; min-width: 84px; border: 1px solid var(--border-strong); background: var(--bg-deep); color: var(--silver-bright); cursor: pointer; }
.app-link { justify-self: end; display: inline-flex; align-items: center; padding: 0 15px; border: 1px solid var(--border-strong); color: var(--silver-bright); }
.case-tabs { height: 40px; background: var(--bg-deep); border-bottom: 1px solid var(--border); }
.case-tabs-inner { justify-content: center; gap: 8px; }
.case-tab { min-width: 84px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--text); font-size: 13px; }
.case-tab.is-active { background: var(--silver-bright); color: var(--bg); font-weight: 700; }
.site-main { min-height: 70vh; padding-top: var(--top-desktop); padding-bottom: 40px; }
.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.hero, .page-hero { padding: 30px 0 14px; }
.page-kicker { margin: 0 0 8px; color: var(--silver); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { color: var(--title); margin-top: 0; }
h1 { font-size: 24px; line-height: 1.3; margin-bottom: 14px; letter-spacing: .02em; }
h2 { font-size: 20px; line-height: 1.4; margin-bottom: 12px; }
h3 { font-size: 16px; line-height: 1.45; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.lead { max-width: 820px; color: var(--text); font-size: 15px; }
.muted { color: var(--muted); }
.media-slot { width: 100%; background: var(--ink); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.media-slot .site-image { object-fit: contain; object-position: center; }
.media-banner { height: 260px; }
.media-card { height: 180px; }
.media-section { height: 200px; }
.media-app { height: 340px; max-height: 360px; }
.hero-copy { padding: 20px 0 4px; max-width: 860px; }
.hero-copy .brand-en { color: var(--muted); font-size: 12px; letter-spacing: .16em; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { min-height: 42px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid transparent; font-size: 14px; white-space: nowrap; }
.btn-primary { background: linear-gradient(135deg,#E8E8E8 0%,#C8C8C8 55%,#8A8A8A 100%); color: var(--bg); font-weight: 700; }
.btn-secondary { background: var(--bg-deep); color: var(--silver-bright); border-color: var(--border-strong); }
.btn:hover, .app-link:hover, .drawer-trigger:hover, .case-tab:hover, .drawer-group a:hover, .search-presets a:hover, .mobile-bottom a:hover { border-color: var(--silver-bright); filter: brightness(1.06); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--silver-bright); outline-offset: 2px; }
.section { padding: 28px 0; border-top: 1px solid var(--border); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head p { margin: 0; color: var(--muted); max-width: 680px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; box-shadow: var(--shadow); }
.card .media-slot { margin: -18px -18px 16px; width: calc(100% + 36px); border-radius: 12px 12px 0 0; border-width: 0 0 1px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--silver-bright); font-weight: 600; }
.number-row { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--border); }
.number-row:first-child { border-top: 0; }
.number { color: var(--silver-bright); font-size: 22px; font-weight: 800; letter-spacing: .05em; }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.shelf-item { min-height: 146px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 16px; display: flex; flex-direction: column; }
.shelf-item small { color: var(--muted); margin-top: auto; padding-top: 12px; }
.timeline { position: relative; margin-left: 12px; padding-left: 28px; }
.timeline:before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; padding: 0 0 24px; }
.timeline-item:before { content: ""; position: absolute; left: -28px; top: 7px; width: 11px; height: 11px; border-radius: 50%; background: var(--silver-bright); box-shadow: 0 0 0 4px var(--surface); }
.status { display: inline-flex; min-height: 28px; align-items: center; padding: 0 9px; margin-bottom: 8px; border-radius: 999px; background: var(--surface-2); color: var(--silver-bright); border: 1px solid var(--border); font-size: 12px; }
.note-list, .article-list, .rule-list { display: grid; gap: 12px; }
.note, .article-item, .rule { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.note strong, .article-item strong, .rule strong { color: var(--title); }
.article-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; }
.article-item a { min-height: 44px; display: inline-flex; align-items: center; color: var(--silver-bright); }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
.faq-item h2, .faq-item h3 { margin-bottom: 8px; }
.split-callout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: stretch; }
.callout { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
.callout-accent { border-left: 3px solid var(--mist-red); }
.icon-wrap { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-icon-slot { width: 48px; height: 48px; flex: 0 0 48px; background: var(--surface-2); border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.app-icon-slot .site-image { width: 48px; height: 48px; object-fit: contain; }
.meta-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.meta-strip span { padding: 5px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 12px; border: 1px solid var(--border); }
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--border-strong); color: var(--text); font-size: 13px; }
.footer-inner { width: min(100% - 32px, var(--max)); margin: 0 auto; padding: 30px 0 76px; }
.footer-logo-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.footer-logo-link strong, .drawer-brand strong { display: block; color: var(--title); font-size: 16px; }
.footer-logo-link small, .drawer-brand small { display: block; color: var(--muted); letter-spacing: .1em; font-size: 10px; }
.footer-logo-link .logo-slot:empty { display: none; }
.footer-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 22px 0; }
.footer-groups h2 { font-size: 13px; margin-bottom: 9px; color: var(--silver-bright); }
.footer-groups a { display: block; min-height: 32px; color: var(--text); }
.footer-notice { max-width: 900px; color: var(--muted); padding-top: 18px; border-top: 1px solid var(--border); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; color: var(--faint); }
.footer-links { display: inline-flex; gap: 14px; }
.site-overlay { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.72); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.site-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.material-drawer { position: fixed; left: 0; top: 0; bottom: 0; z-index: 80; width: min(400px, 86vw); background: var(--bg-deep); border-right: 1px solid var(--border-strong); box-shadow: var(--shadow); transform: translateX(-102%); visibility: hidden; pointer-events: none; transition: transform .22s ease, visibility .22s ease; display: flex; flex-direction: column; }
.material-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }
.drawer-head { min-height: 72px; padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand .logo-slot:empty { display: none; }
.drawer-close, .search-head button { min-width: 66px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; }
.drawer-scroll { overflow-y: auto; padding: 12px 16px 28px; }
.drawer-group { padding: 10px 0 16px; border-bottom: 1px solid var(--border); }
.drawer-group:last-child { border-bottom: 0; }
.drawer-group h2 { margin: 0 0 6px; color: var(--muted); font-size: 12px; letter-spacing: .14em; }
.drawer-group a { display: block; border: 1px solid transparent; border-radius: 10px; padding: 10px 9px; }
.drawer-group strong { display: block; color: var(--title); font-size: 14px; }
.drawer-group span { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.search-panel { position: fixed; z-index: 82; left: 0; right: 0; top: 82px; visibility: hidden; pointer-events: none; opacity: 0; transform: translateY(-8px); transition: .2s ease; }
.search-panel.is-open { visibility: visible; pointer-events: auto; opacity: 1; transform: translateY(0); }
.search-card { width: min(100% - 32px, 720px); margin: 0 auto; background: var(--ink); border: 1px solid var(--border-strong); border-radius: 0 0 14px 14px; box-shadow: var(--shadow); padding: 18px; }
.search-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.search-head strong { display: block; color: var(--title); }
.search-head span { display: block; color: var(--muted); font-size: 12px; }
.search-label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.search-input { width: 100%; height: 44px; background: var(--bg-deep); color: var(--title); border: 1px solid var(--border-strong); border-radius: 10px; padding: 0 12px; }
.search-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.search-presets a { min-height: 44px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; }
.search-empty { color: var(--muted); margin: 12px 0 0; }
.mobile-bottom { display: none; }
.table-like { width: 100%; border-collapse: collapse; border-spacing: 0; }
.table-like .tr { display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--border); }
.table-like .tr:first-child { border-top: 0; }
.table-like .th, .table-like .td { padding: 14px 12px; }
.table-like .th { color: var(--silver-bright); background: var(--surface-2); border-radius: 8px 0 0 8px; }
.table-like .td { background: var(--surface); }
.prose { max-width: 900px; }
.prose h2 { margin-top: 28px; }
.prose h3 { margin-top: 20px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.quote-line { border-left: 3px solid var(--mist-red); padding: 4px 0 4px 14px; color: var(--silver-bright); margin: 18px 0; }
@media (max-width: 820px) {
    :root { --top-desktop: 82px; }
    .case-tabs { display: none; }
    .site-main { padding-top: var(--top-mobile); padding-bottom: 60px; }
    .material-bar-inner, .ink-line-inner, .container, .footer-inner { width: calc(100% - 32px); }
    .material-bar-inner { grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 6px; }
    .brand-link { min-width: 0; max-width: 110px; overflow: hidden; }
    .brand-fallback { font-size: 15px; white-space: nowrap; }
    .drawer-trigger { min-width: 68px; padding: 0 10px; }
    .app-link { min-width: 68px; justify-content: center; padding: 0 10px; white-space: nowrap; }
    .grid-3, .grid-2, .split-callout { grid-template-columns: 1fr; }
    .shelf { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-groups { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-bottom { flex-direction: column; }
    .mobile-bottom { position: fixed; z-index: 65; left: 0; right: 0; bottom: 0; height: calc(48px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(5, 1fr); background: var(--bg-deep); border-top: 1px solid var(--border-strong); }
    .mobile-bottom a { min-width: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; color: var(--text); font-size: 12px; border-top: 2px solid transparent; }
    .mobile-bottom a.is-active { background: var(--silver-bright); color: var(--bg); font-weight: 700; }
    .search-panel { top: 0; bottom: 0; background: var(--bg-deep); }
    .search-panel.is-open { overflow-y: auto; }
    .search-card { width: 100%; min-height: 100%; margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: calc(22px + env(safe-area-inset-top)) 16px 80px; }
    .search-presets { grid-template-columns: repeat(2, 1fr); }
    .article-item { grid-template-columns: 1fr; }
    .table-like .tr { grid-template-columns: 1fr; }
    .table-like .th { border-radius: 8px 8px 0 0; }
}
@media (max-width: 520px) {
    .hero, .page-hero { padding-top: 22px; }
    .media-banner { height: 220px; }
    .media-card { height: 168px; }
    .media-section { height: 184px; }
    .media-app { height: 320px; }
    .shelf { grid-template-columns: 1fr; }
    .number-row { grid-template-columns: 44px 1fr; gap: 10px; }
    .footer-groups { grid-template-columns: 1fr 1fr; gap: 14px; }
}
