@charset "UTF-8";

.market-live { margin: 26px 0 14px; padding: 22px 26px 15px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, #1a2420, #121a18); }
.market-top, .market-actions, .market-quote, .market-quote > div, .market-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.market-top h1 { font-size: 1.45rem; margin-top: 5px; }
.market-title-detail { color: var(--muted); font-size: .8rem; font-weight: 400; margin-left: 14px; }
.market-status { font-size: .8rem; color: var(--muted); }
.market-status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); }
.market-status.market-stale::before { background: #e3be70; }
.market-refresh.button { padding: 6px 12px; font-size: .75rem; }
.market-refresh:disabled { opacity: .5; cursor: wait; }
.market-quote { margin: 12px 0 5px; }
.market-quote > div { justify-content: flex-start; gap: 20px; }
.market-quote strong { font: 500 2.4rem/1.3 var(--mono); letter-spacing: -.06em; }
.market-quote > div > span { font: .9rem/1.5 var(--mono); }
.market-quote em { display: block; font-style: normal; }
.market-up { color: #e39a8c; }
.market-down { color: #80cab5; }
.market-quote dl { display: flex; gap: 27px; margin: 0 auto 0 20px; font-size: .75rem; }
.market-quote dt { color: var(--muted); }
.market-quote dd { margin: 1px 0 0; font-family: var(--mono); color: var(--text); }
.market-date { font: .8rem var(--mono); color: var(--muted); text-align: right; }
.market-date span { display: block; font: .7rem/1.8 "Microsoft YaHei", sans-serif; color: var(--dim); }
.market-inspection { min-height: 27px; font: .75rem/1.8 var(--mono); color: var(--muted); }
.market-svg { width: 100%; height: clamp(235px, 25vw, 330px); overflow: visible; }
.market-svg:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.market-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 5; }
.market-baseline { stroke: var(--dim); stroke-width: 1; stroke-dasharray: 5 5; }
.market-label { fill: var(--dim); font: 11px var(--mono); }
.market-line { fill: none; stroke: currentColor; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.market-cursor-line { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; }
.market-cursor-point { fill: currentColor; stroke: var(--bg); stroke-width: 2; }
.market-footer { border-top: 1px solid var(--line-soft); padding-top: 10px; font-size: .6875rem; color: var(--dim); gap: 12px; }
.market-loading { min-height: 295px; display: grid; place-content: center; text-align: center; color: var(--muted); font-size: .875rem; }

:root {
  color-scheme: dark;
  --bg: #111716;
  --panel: #19201e;
  --panel-hover: #202a24;
  --line: #303b35;
  --line-soft: #29332e;
  --text: #edf0e7;
  --muted: #a3aea3;
  --dim: #869386;
  --accent: #b7de83;
  --accent-dark: #243525;
  --radius: 14px;
  --mono: "Cascadia Code", Consolas, monospace;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.4; font-weight: 550; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: #b7de8340; color: #fff; }
[hidden] { display: none !important; }
.container { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.accent { color: var(--accent); }
.muted { color: var(--muted); font-size: .9375rem; }
.mono, .eyebrow { font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; }
.mono { color: var(--muted); }
.eyebrow { color: var(--accent); }
.eyebrow span { margin-left: 10px; color: var(--dim); }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 20; padding: 10px 18px; background: var(--accent); color: var(--bg); border-radius: 6px; opacity: 0; pointer-events: none; }
.skip-link:focus { opacity: 1; pointer-events: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-top { height: 106px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 16px; font-size: 1.125rem; font-weight: 550; }
.brand-mark { color: var(--accent); font: 600 2.5rem/1 var(--mono); letter-spacing: -.12em; margin-right: 8px; }
.brand-mark > span { font-weight: 300; }
.brand-caption { display: block; font: .75rem/1.8 var(--mono); letter-spacing: .18em; color: var(--muted); }
.edition { color: var(--muted); font-size: .8125rem; display: flex; align-items: center; gap: 25px; }
.edition-label { font: .75rem var(--mono); border: 1px solid var(--line); padding: 7px 9px; border-radius: 4px; }
.nav-container { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
#primary-nav { min-width: max-content; display: flex; justify-content: space-between; gap: 12px; }
#primary-nav a { position: relative; display: flex; gap: 7px; align-items: center; padding: 18px 2px 20px; color: var(--muted); font-size: .875rem; white-space: nowrap; transition: color 160ms; }
#primary-nav a .icon { width: 17px; height: 17px; }
#primary-nav a:hover { color: var(--text); }
#primary-nav [aria-current] { color: var(--accent); }
#primary-nav [aria-current]::after { content: ""; position: absolute; height: 2px; background: var(--accent); left: 0; right: 0; bottom: 0; }
#main-content { padding-bottom: 60px; min-height: calc(100vh - 267px); outline: none; }
.page-enter { animation: page-enter 180ms ease-out; }
@keyframes page-enter { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 92px; border-top: 1px solid var(--line); color: var(--dim); font-size: .8125rem; }
.footer-symbol { font: 1.125rem var(--mono); color: var(--accent); margin-right: 8px; }
.site-footer a { font-family: var(--mono); }
.site-footer a:hover { color: var(--accent); }
.home-intro { padding: 54px 0 38px; display: flex; justify-content: space-between; align-items: flex-end; }
.home-intro h1 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.4; margin: 18px 0 14px; }
.intro-text { color: var(--muted); font-size: .9375rem; }
.intro-note { text-align: right; padding-bottom: 6px; }
.intro-note p { font-size: .875rem; color: var(--muted); margin-bottom: 8px; }
.intro-note .mono { font-size: .75rem; }
.note-line { display: block; width: 38px; height: 1px; background: var(--accent); margin: 0 0 22px auto; }
.home-feature-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.feature { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 290px; transition: background 180ms, border-color 180ms; }
.feature:hover { border-color: #65735a; }
.feature-profile { background: #202a22; padding: 30px; display: flex; align-items: center; }
.feature-profile:hover { background: #263027; }
.feature-copy { position: relative; z-index: 1; width: 46%; }
.feature-copy .eyebrow { font-size: .75rem; }
.feature-copy h2 { font-size: 1.8rem; margin: 18px 0 12px; }
.feature-copy p { color: #a9b7a7; font-size: .875rem; line-height: 1.9; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--accent); font-size: .8125rem; margin-top: 22px; }
.text-link .icon { width: 16px; height: 16px; }
.feature-corner { position: absolute; right: 20px; bottom: 17px; color: #82947c; font-size: .75rem; }
.globe-wrap { position: relative; color: #89ac73; width: 100%; }
.globe { width: 100%; max-height: 440px; }
.globe ellipse, .globe path { stroke: currentColor; fill: none; stroke-width: .7; opacity: .6; }
.globe-coordinate { display: block; text-align: center; font: .75rem var(--mono); color: var(--dim); letter-spacing: .06em; margin-top: -5px; }
.globe-small { position: absolute; width: 60%; right: -9px; top: 16px; }
.globe-small .globe-coordinate { display: none; }
.feature-room { padding: 26px 28px; background: #1a211f; }
.feature-room > .eyebrow { position: relative; z-index: 1; color: #9caba4; font-size: .75rem; }
.room-preview { position: absolute; width: 80%; top: 10px; right: -5%; color: #809888; opacity: .7; }
.home-room-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .56; }
.feature-room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #11171620, #11171615 40%, #111716ee 100%); pointer-events: none; }
.feature-room .feature-bottom, .feature-room .diagram-label { z-index: 1; }
.room-diagram { width: 100%; }
.feature-bottom { position: absolute; bottom: 48px; left: 28px; right: 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.feature-bottom h2 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-bottom p { color: var(--muted); font-size: .8125rem; }
.feature-bottom > .icon { color: var(--accent); width: 26px; height: 26px; }
.diagram-label { position: absolute; bottom: 16px; left: 28px; font-size: .75rem; color: var(--dim); }
.collection-section { margin-top: 35px; }
.section-label { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.section-label h2 { font-size: 1rem; }
.section-label h2 span { font: .75rem var(--mono); color: var(--dim); margin-left: 14px; letter-spacing: .08em; }
.section-label > .mono { font-size: .75rem; }
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.collection-card { padding: 21px 24px 24px; border: 1px solid var(--line); border-radius: 10px; background: #171e1b; transition: background 160ms, border-color 160ms; }
.collection-card:hover { background: var(--panel-hover); border-color: #586b4e; }
.collection-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.collection-top .mono { font-size: .75rem; letter-spacing: .08em; }
.card-icon { display: inline-flex; justify-content: center; align-items: center; color: var(--accent); width: 39px; height: 39px; background: #263127; border-radius: 9px; flex-shrink: 0; }
.card-icon .icon { width: 20px; height: 20px; }
.collection-card h3 { font-size: 1.0625rem; margin-bottom: 7px; }
.collection-card p { color: var(--muted); font-size: .8125rem; }
.home-bottom { margin-top: 20px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 16px; }
.home-bottom > a { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; background: #171e1b; }
.home-bottom > a:hover { border-color: #586b4e; }
.home-bottom > a > span:first-child { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; font-size: .875rem; }
.home-bottom .icon { width: 18px; height: 18px; color: var(--accent); }
.home-bottom p { color: var(--muted); font-size: .8125rem; flex: 1; }
.small-pill { font-size: .75rem; color: var(--muted); background: #222c25; border: 1px solid var(--line); padding: 4px 9px; border-radius: 5px; white-space: nowrap; }
.cursor { color: var(--accent); }
.page-heading { display: flex; align-items: center; justify-content: space-between; padding: 42px 0 32px; gap: 24px; }
.page-heading .eyebrow { display: flex; align-items: center; gap: 13px; font-size: .75rem; }
.page-heading .eyebrow a { color: var(--muted); font-family: "Microsoft YaHei", sans-serif; }
.page-heading .eyebrow a:hover { color: var(--accent); }
.page-heading .eyebrow span { margin: 0; color: var(--dim); }
.page-heading h1 { font-size: 2.375rem; margin: 13px 0 10px; letter-spacing: -.03em; }
.heading-dot { color: var(--accent); margin-left: 6px; }
.page-heading > div > p:last-child { color: var(--muted); font-size: .9375rem; }
.page-number { font: 3rem var(--mono); color: #4a584c; letter-spacing: -.04em; }
.page-number span { font-size: .75rem; letter-spacing: 0; color: var(--dim); margin-left: 10px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-width: 0; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.panel-heading h2 { font-size: 1.0625rem; }
.panel-heading p { font-size: .8125rem; color: var(--muted); margin-top: 6px; }
.tag { display: inline-flex; align-items: center; font-size: .75rem; line-height: 1.7; color: #bac4b6; border: 1px solid #44513f; border-radius: 5px; padding: 3px 9px; white-space: nowrap; }
.panel-footnote { font-size: .8125rem; color: var(--dim); border-top: 1px solid var(--line-soft); padding-top: 17px; margin-top: 20px; }
.quiet-panel { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding-block: 22px; }
.quiet-panel h2 { font-size: 1rem; margin-bottom: 4px; }
.quiet-panel p { color: var(--muted); font-size: .875rem; }
.quiet-panel > .tag { margin-left: auto; }
.profile-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.map-panel { background: #1b241e; }
.map-panel > .globe-wrap { max-width: 540px; margin-inline: auto; margin-block: -20px 24px; }
.map-bottom { border-top: 1px solid var(--line-soft); padding-top: 17px; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: .8125rem; }
.map-bottom > span:first-child { display: flex; gap: 7px; align-items: center; }
.map-bottom .icon { width: 16px; height: 16px; }
.map-bottom .mono { font-size: .75rem; }
.timeline { margin: 30px 0 38px 9px; border-left: 1px solid #42513e; }
.timeline-node { position: relative; padding: 0 0 38px 28px; }
.timeline-node:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; top: 5px; left: -5px; height: 9px; width: 9px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px var(--panel); }
.timeline-dot.hollow { border: 1px solid var(--accent); background: var(--panel); }
.timeline-node .eyebrow { font-size: .75rem; color: var(--dim); }
.timeline-node h3 { font-size: 1.125rem; margin-top: 13px; margin-bottom: 12px; }
.timeline-node p { color: var(--muted); font-size: .875rem; margin-bottom: 13px; }
.tabs { display: flex; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 24px; overflow-x: auto; }
.tab { border: 1px solid transparent; padding: 9px 18px; background: transparent; border-radius: 6px; color: var(--muted); white-space: nowrap; font-size: .875rem; }
.tab:hover { color: var(--text); background: #253027; }
.tab.is-active { background: var(--accent-dark); color: var(--accent); border-color: #43513b; }
.media-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 22px; }
.channel-panel { text-align: center; }
.platform-logo { width: 65px; height: 65px; border: 1px solid #486b62; background: #223b35; color: #9be0cd; border-radius: 17px; display: grid; place-items: center; margin: 6px auto 18px; }
.platform-logo .icon { width: 30px; height: 30px; }
.platform-logo.douyin { color: #dbbdf6; background: #33283f; border-color: #5d456d; }
.channel-panel h2 { font-size: 1.4375rem; margin-bottom: 5px; }
.channel-panel > p { color: var(--muted); font-size: .8125rem; margin-bottom: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #46513e; padding: 10px 17px; border-radius: 7px; font-size: .875rem; }
.button.secondary { background: #253024; color: var(--accent); }
.button.secondary:hover { background: #32402d; border-color: #6c7d57; }
.button .icon { width: 15px; height: 15px; }
.inset-note { text-align: left; margin-top: 28px; padding: 17px; border: 1px solid var(--line); border-radius: 8px; }
.inset-note > span { font-size: .875rem; }
.inset-note p { font-size: .8125rem; color: var(--dim); margin-top: 6px; }
.inset-note .button { margin-top: 14px; width: 100%; justify-content: center; padding-inline: 8px; font-size: .75rem; white-space: nowrap; }
.creator-section { text-align: left; margin-top: 25px; }
.creator-section h3 { font-size: .875rem; margin-bottom: 15px; }
.creator-placeholder { display: flex; gap: 10px; align-items: center; font-size: .8125rem; color: var(--dim); }
.avatar-placeholder { display: grid; place-items: center; width: 32px; height: 32px; background: #2c362f; border-radius: 50%; }
.avatar-placeholder .icon { width: 14px; height: 14px; }
.ranking-panel .tabs { gap: 4px; }
.ranking-panel .tab { font-size: .8125rem; padding: 7px 14px; }
.ranking-header { display: flex; justify-content: space-between; color: var(--dim); font-size: .75rem; padding-bottom: 4px; }
.ranking-row { display: flex; align-items: center; gap: 17px; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.ranking-row:last-of-type { border-bottom: 0; }
.rank-number { font: 1.125rem var(--mono); color: #a6b993; }
.video-placeholder { width: 80px; height: 52px; flex-shrink: 0; background: #26332b; border: 1px solid #3e4b3c; border-radius: 6px; display: grid; place-items: center; color: #6c8167; }
.video-placeholder .icon { width: 20px; height: 20px; }
.ranking-row h3 { font-size: .9375rem; margin-bottom: 6px; }
.ranking-row p { font-size: .8125rem; color: var(--dim); }
.ranking-value { margin-left: auto; color: var(--dim); }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.metric-card { padding: 23px 25px; }
.metric-card > span { font-size: .875rem; color: var(--muted); }
.metric-card strong { display: block; font: 2rem var(--mono); color: #cdd9be; margin: 14px 0 10px; }
.metric-card strong small { font-size: .875rem; margin-left: 20px; color: var(--dim); }
.metric-card p { color: var(--dim); font-size: .8125rem; }
.chart-placeholder { height: 300px; position: relative; margin-top: 30px; }
.chart-grid { position: absolute; inset: 0 0 25px; background-image: linear-gradient(#344032 1px, transparent 1px), linear-gradient(90deg, #344032 1px, transparent 1px); background-size: 100% 20%, 10% 100%; opacity: .45; border-bottom: 1px solid #344032; }
.chart-empty { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: .875rem; background: var(--panel); padding: 15px 20px; border-radius: 8px; text-align: center; }
.chart-empty .icon { color: var(--accent); }
.chart-axis { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; font-size: .75rem; color: var(--dim); }
.chart-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 20px; color: var(--dim); font-size: .8125rem; }
.empty-state { text-align: center; padding: 65px 15px; }
.empty-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 22px; color: var(--accent); border: 1px solid #40513b; background: #243025; border-radius: 12px; }
.empty-state h3 { font-size: 1.125rem; margin-bottom: 12px; }
.empty-state p { color: var(--muted); font-size: .875rem; }
.table-scroll { overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: .875rem; }
th { font-weight: 400; color: var(--muted); text-align: left; padding: 15px; border-bottom: 1px solid var(--line); }
.table-empty { color: var(--dim); text-align: center; padding: 70px 15px; }
.note-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.note-topic { padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: #17201a; }
.note-topic .mono { color: var(--accent); }
.note-topic h3 { margin: 25px 0 10px; font-size: 1rem; }
.note-topic p { color: var(--muted); font-size: .8125rem; }
.gifts-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.model-stage { background: #1b241f; }
.model-placeholder { min-height: 295px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.model-placeholder .icon { width: 60px; height: 60px; color: #8da17b; margin-bottom: 30px; stroke-width: 1; }
.model-placeholder h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.model-placeholder p { color: var(--muted); font-size: .875rem; }
.stage-footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--dim); font-size: .75rem; }
.stage-footer span:first-child { font-family: var(--mono); font-size: .75rem; }
.gift-details h2 { font-size: 1.4375rem; margin: 19px 0 24px; }
.detail-list { margin: 0 0 25px; }
.detail-list > div { display: flex; justify-content: space-between; gap: 15px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: .875rem; }
.detail-list dt { color: var(--muted); }
.detail-list dd { color: var(--dim); margin: 0; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.game-card { padding: 0; overflow: hidden; }
.game-cover { height: 195px; position: relative; padding: 30px; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid #455044; }
.werewolf { background: #29382f; color: #bed4aa; }
.clocktower { background: #302c3a; color: #c3b5d5; border-color: #51465e; }
.game-monogram { position: absolute; font-family: Georgia, serif; font-size: 12rem; line-height: 1; right: 30px; top: -25px; opacity: .14; }
.game-cover-label { font: .8125rem var(--mono); letter-spacing: .16em; position: relative; }
.game-cover .icon { width: 28px; height: 28px; position: absolute; left: 30px; top: 26px; }
.game-copy { padding: 28px; }
.game-copy .eyebrow { font-size: .75rem; color: var(--muted); }
.game-copy h2 { font-size: 1.75rem; margin: 13px 0; }
.game-copy > p { color: var(--muted); font-size: .9375rem; min-height: 50px; }
.game-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 25px; }
.game-tags > span { color: var(--dim); font-size: .75rem; border: 1px solid var(--line); border-radius: 4px; padding: 4px 9px; }
.room-viewer { padding: 0; overflow: hidden; }
.viewer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 24px; border-bottom: 1px solid var(--line); }
.viewer-toolbar > span:first-child { display: flex; align-items: center; gap: 10px; font-size: .875rem; }
.viewer-toolbar .icon { width: 18px; height: 18px; color: var(--accent); }
.room-stage { height: 420px; position: relative; background: #141c18; overflow: hidden; display: flex; justify-content: center; }
.perspective-grid { position: absolute; width: 100%; height: 100%; top: 50%; transform: perspective(380px) rotateX(55deg); background-image: linear-gradient(#3f513730 1px, transparent 1px), linear-gradient(90deg, #3f513730 1px, transparent 1px); background-size: 35px 35px; }
.room-stage > .room-diagram { width: 470px; position: absolute; top: 20px; color: #708a66; opacity: .6; }
.room-message { position: absolute; bottom: 58px; text-align: center; padding: 0 25px; }
.room-message h2 { font-size: 1.25rem; margin-bottom: 10px; }
.room-message p { color: var(--muted); font-size: .875rem; }
.viewer-label { position: absolute; bottom: 18px; left: 22px; font-size: .75rem; color: #71836a; }
.mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.mode-button { display: flex; justify-content: center; align-items: center; gap: 13px; border: 0; border-right: 1px solid var(--line); background: transparent; padding: 21px 12px; color: var(--muted); font-size: .875rem; }
.mode-button:last-child { border-right: 0; }
.mode-button .mono { color: var(--dim); font-size: .75rem; }
.mode-button.is-active { color: var(--accent); background: #263025; }
.mode-button:hover { background: #263025; }
.mode-description { padding: 19px 24px; border-top: 1px solid var(--line); display: flex; gap: 25px; font-size: .8125rem; }
.mode-description > span { white-space: nowrap; }
.mode-description p { color: var(--muted); }
.music-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 22px; }
.listening-panel { text-align: center; background: #20281f; }
.listening-panel > .eyebrow { text-align: left; font-size: .75rem; }
.record { border-radius: 50%; width: 212px; height: 212px; background: repeating-radial-gradient(circle, #232c22 0 2px, #111810 3px 4px); margin: 33px auto 30px; display: grid; place-items: center; border: 1px solid #3c4934; box-shadow: 0 12px 40px #0003; }
.record-center { height: 72px; width: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--bg); background: var(--accent); border: 9px solid #94b46d; }
.listening-panel h2 { font-size: 1.125rem; margin-bottom: 9px; }
.listening-panel > p:not(.eyebrow) { color: var(--muted); font-size: .8125rem; margin-bottom: 23px; }
.playlist-head { display: flex; justify-content: space-between; color: var(--dim); font-size: .75rem; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft); }
.song-row { display: flex; align-items: center; gap: 15px; padding: 21px 0; border-bottom: 1px solid var(--line-soft); }
.song-row > .mono { font-size: .8125rem; }
.song-art { width: 40px; height: 40px; background: #2b3528; color: #829674; border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; }
.song-art .icon { width: 17px; height: 17px; }
.song-row h3 { font-size: .9375rem; margin-bottom: 5px; }
.song-row p { color: var(--dim); font-size: .8125rem; }
.song-duration { margin-left: auto; color: var(--dim); }
.hardware-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 22px; }
.ladder-header { display: flex; justify-content: space-between; color: var(--dim); font-size: .8125rem; margin: 34px 0 26px; }
.ladder-row { display: flex; align-items: center; gap: 20px; margin: 22px 0; }
.ladder-row > span { color: var(--muted); font-size: .8125rem; width: 40px; flex-shrink: 0; }
.ladder-row > div { width: var(--bar-width); background: #344630; padding: 13px 18px; border-left: 2px solid #8aad70; border-radius: 0 4px 4px 0; }
.ladder-row:nth-child(2) > div { background: #2b3a28; }
.ladder-row:nth-child(3) > div { background: #253023; }
.ladder-row > div > span { font-size: .8125rem; color: #b2c0a6; }
.hardware-note > .card-icon { margin: 6px 0 23px; }
.hardware-note h2 { font-size: 1.25rem; margin-bottom: 16px; }
.hardware-note p { font-size: .9375rem; color: var(--muted); line-height: 1.9; }

/* 实测硬件天梯：桌面 CPU / GPU，共用明确的比例尺与独立参数栏。 */
.hw-overview { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 6px 0 26px; }
.hw-overview strong { font-weight: 550; font-size: 1rem; }
.hw-live-mark { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 10px; }
.hw-overview p { color: var(--muted); font-size: .8125rem; margin-top: 6px; }
.hw-snapshot { text-align: right; font-size: .6875rem; color: var(--dim); white-space: nowrap; }
.hw-snapshot b { display: block; color: var(--accent); font: .875rem/1.8 var(--mono); }
.hw-ladders { display: grid; gap: 26px; }
.hw-ladder-panel { padding: 28px; overflow: hidden; }
.hw-panel-title { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.hw-panel-title h2 { font-size: 1.45rem; margin: 6px 0; letter-spacing: -.025em; }
.hw-panel-title > div > p:last-child { color: var(--muted); font-size: .8125rem; }
.hw-legend { display: flex; gap: 18px; color: var(--muted); font-size: .75rem; }
.hw-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.hw-brand-dot { display: inline-block; height: 6px; width: 6px; border-radius: 50%; flex-shrink: 0; }
.hw-brand-dot.amd { background: #dcaa96; }
.hw-brand-dot.intel { background: #8eb9d4; }
.hw-brand-dot.nvidia { background: var(--accent); }
.hw-controls { display: flex; align-items: end; gap: 18px; margin: 24px 0; padding: 18px 0; border-block: 1px solid var(--line-soft); }
.hw-controls label { display: flex; flex-direction: column; gap: 6px; color: var(--dim); font-size: .6875rem; }
.hw-controls select, .hw-controls input { border: 1px solid var(--line); border-radius: 6px; background: #121916; color: var(--text); padding: 9px 12px; font: .8125rem/1.5 "Segoe UI", "Microsoft YaHei", sans-serif; height: 40px; }
.hw-controls select:focus-visible, .hw-controls input:focus-visible, .hw-rank-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.hw-controls select { min-width: 135px; }
.hw-controls .hw-search { margin-left: auto; width: 270px; }
.hw-search input::placeholder { color: var(--dim); }
.hw-chart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 296px; gap: 28px; align-items: start; }
.hw-chart { min-width: 0; }
.hw-chart-heading { display: grid; grid-template-columns: 274px minmax(0, 1fr); margin-bottom: 10px; color: var(--dim); font-size: .6875rem; }
.hw-chart-heading b { font-weight: 400; margin-left: 12px; }
.hw-rank-scroll { max-height: 566px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #435244 #131b16; padding-right: 8px; }
.hw-rank-list { list-style: none; padding: 0; margin: 0; }
.hw-rank-row { display: grid; grid-template-columns: 28px 222px minmax(65px, 1fr) 46px; align-items: center; gap: 12px; width: 100%; min-height: 44px; border: 1px solid transparent; background: transparent; border-radius: 6px; padding: 8px 10px; text-align: left; transition: background 120ms; }
.hw-rank-row:hover { background: #232e26; }
.hw-rank-row.is-selected { background: #243127; border-color: #46583d; }
.hw-rank-row:focus-visible { outline-offset: -2px; }
.hw-rank-number { color: var(--dim); font: .6875rem var(--mono); }
.hw-model-name { font-size: .75rem; display: flex; gap: 8px; align-items: center; line-height: 1.35; }
.hw-bar-track { display: block; height: 10px; width: 100%; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(25% - 1px), #334238 25%); }
.hw-bar { display: block; height: 100%; border-radius: 0 3px 3px 0; }
.hw-bar.amd { background: linear-gradient(90deg, #79564b, #c9937d); }
.hw-bar.intel { background: linear-gradient(90deg, #415c6a, #8eb9d4); }
.hw-bar.nvidia { background: linear-gradient(90deg, #53673b, #b7de83); }
.hw-relative { color: #d3dfca; font: .75rem var(--mono); text-align: right; }
.hw-chart-caption { color: var(--dim); font-size: .6875rem; margin-top: 13px; }
.hw-inspector { background: #141c18; border: 1px solid var(--line-soft); border-radius: 10px; padding: 22px; min-height: 485px; }
.hw-inspector > .eyebrow { font-size: .625rem; }
.hw-inspector > .eyebrow span { letter-spacing: 0; font-family: "Microsoft YaHei", sans-serif; }
.hw-brand { display: inline-block; font: .6875rem var(--mono); margin: 22px 0 8px; }
.hw-brand.amd { color: #dcaa96; }
.hw-brand.intel { color: #8eb9d4; }
.hw-brand.nvidia { color: var(--accent); }
.hw-inspector h3 { font-size: 1.1rem; line-height: 1.55; }
.hw-inspector > p:not(.eyebrow) { font-size: .75rem; color: var(--muted); }
.hw-selected-score { margin: 16px 0 6px; }
.hw-selected-score strong { display: block; font: 2.5rem/1.3 var(--mono); color: var(--accent); letter-spacing: -.06em; }
.hw-selected-score span { color: var(--dim); font-size: .625rem; }
.hw-raw-score { font-size: .6875rem; color: var(--muted); line-height: 1.8; }
.hw-raw-score b { font: .6875rem var(--mono); color: var(--text); margin-left: 8px; }
.hw-raw-score > span { display: block; color: var(--dim); }
.hw-specs { margin: 20px 0 16px; border-top: 1px solid var(--line-soft); }
.hw-specs > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: .6875rem; }
.hw-specs dt { color: var(--dim); flex-shrink: 0; }
.hw-specs dd { margin: 0; text-align: right; color: #d3dace; overflow-wrap: anywhere; }
.hw-official-link { font-size: .75rem; color: var(--accent); }
.hw-inspector .hw-spec-note { color: var(--dim); font-size: .625rem; line-height: 1.9; margin-top: 14px; }
.hw-source-strip { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: .6875rem; }
.hw-source-strip a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.hw-method { margin-top: 12px; font-size: .6875rem; color: var(--dim); }
.hw-method summary { color: var(--muted); cursor: pointer; width: fit-content; }
.hw-method p { margin-top: 10px; line-height: 1.9; max-width: 1000px; }
.hw-unranked { margin: 18px 10px 0; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.hw-unranked h4 { margin: 0 0 9px; color: var(--dim); font-size: .6875rem; font-weight: 400; }
.hw-unranked button { display: flex; align-items: center; justify-content: space-between; width: 100%; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; font-size: .75rem; }
.hw-unranked button[aria-pressed="true"] { border-color: var(--accent); }
.hw-unranked button > span { font-size: .6875rem; color: var(--dim); }
.hw-no-results { min-height: 200px; display: grid; place-content: center; color: var(--muted); font-size: .875rem; }
.hw-bottom-note { color: var(--dim); font-size: .75rem; margin-top: 20px; line-height: 1.9; }

/* 可筛选的完整参数目录与四型号对比台。 */
.sr-only { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hw-mode-switch { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.hw-mode-switch button { padding: 10px 18px; border: 1px solid var(--line); border-radius: 7px; background: #141c18; color: var(--muted); font-size: .8125rem; }
.hw-mode-switch button[aria-pressed="true"] { background: #283622; border-color: #718c55; color: var(--accent); }
.hw-mode-switch > span { margin-left: auto; font-size: .6875rem; color: var(--dim); }
.hw-controls.hw-catalog-controls { flex-wrap: wrap; gap: 12px 16px; margin-top: 14px; }
.hw-catalog-controls label[hidden] { display: none; }
.hw-catalog-controls select { min-width: 115px; max-width: 210px; }
.hw-catalog-controls .hw-search { width: 215px; }
.hw-catalog-status { color: var(--muted); font-size: .75rem; margin-bottom: 15px; }
.hw-catalog-status b { color: var(--accent); }
.hw-catalog-main { min-width: 0; }
.hw-catalog-scroll { max-height: 740px; overflow: auto; border: 1px solid var(--line-soft); border-radius: 8px; scrollbar-width: thin; scrollbar-color: #435244 #131b16; }
.hw-catalog-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 860px; font-size: .6875rem; }
.hw-catalog-table th { position: sticky; top: 0; background: #202b22; z-index: 2; color: var(--muted); font-weight: 400; text-align: left; white-space: nowrap; }
.hw-catalog-table th, .hw-catalog-table td { padding: 12px 10px; border-bottom: 1px solid var(--line-soft); }
.hw-catalog-table td { color: #d3dace; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hw-catalog-table tr.is-selected td { background: #253126; }
.hw-catalog-table tr:hover td { background: #202a23; }
.hw-catalog-table td:first-child { width: 38px; text-align: center; }
.hw-catalog-table input { accent-color: #b7d591; width: 15px; height: 15px; cursor: pointer; }
.hw-catalog-table input:disabled { cursor: default; }
.hw-catalog-table button { display: block; text-align: left; background: transparent; border: 0; padding: 0; color: inherit; min-width: 180px; max-width: 255px; white-space: normal; }
.hw-catalog-table button strong { font-weight: 500; font-size: .75rem; }
.hw-catalog-table small { display: block; font-size: .625rem; color: var(--dim); margin-top: 4px; }
.hw-catalog-layout .hw-inspector { max-height: 790px; overflow-y: auto; scrollbar-width: thin; }
.hw-catalog-layout .hw-specs > div { flex-direction: column; gap: 5px; }
.hw-catalog-layout .hw-specs dd { text-align: left; line-height: 1.8; }
.hw-official-link a { display: block; margin-top: 8px; }
.hw-catalog-foot { color: var(--dim); font-size: .6875rem; margin-top: 20px; line-height: 1.9; }
.hw-comparison-empty { border: 1px dashed var(--line); border-radius: 8px; margin-top: 24px; padding: 17px 20px; color: var(--muted); font-size: .8125rem; }
.hw-comparison-empty span { margin-left: 20px; font-size: .75rem; color: var(--dim); }
.hw-comparison { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.hw-comparison-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hw-comparison h3 { font-size: 1rem; }
.hw-comparison h3 span { color: var(--accent); font: .75rem var(--mono); margin-left: 12px; }
.hw-comparison-heading button, .hw-comparison th button { border: 1px solid var(--line); border-radius: 5px; background: #141c18; color: var(--muted); padding: 6px 10px; font-size: .6875rem; }
.hw-comparison-scroll { overflow: auto; border-radius: 8px; border: 1px solid var(--line-soft); }
.hw-comparison table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; min-width: 800px; font-size: .75rem; }
.hw-comparison th, .hw-comparison td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; line-height: 1.8; overflow-wrap: anywhere; }
.hw-comparison th { font-weight: 500; color: var(--muted); background: #1c271e; }
.hw-comparison th:first-child { width: 165px; }
.hw-comparison th button { display: block; margin-top: 8px; }
.hw-comparison td a { color: var(--accent); }
.hw-comparison > p { color: var(--dim); font-size: .6875rem; margin-top: 12px; }
.hw-catalog-scroll:focus-visible, .hw-comparison-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (min-width: 1650px) { .hw-catalog-table { min-width: 0; } }

/* CPU 与具体主板的适配图：平台层级、支持证据和型号拆解。 */
.hw-board-entry { display: block; margin-top: 14px; width: 100%; padding: 10px 12px; border: 1px solid #536844; border-radius: 6px; color: var(--accent); background: #253323; font-size: .75rem; text-align: left; }
.hw-board-entry:hover { background: #30402b; }
.mb-workspace { padding: 28px; }
.mb-intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mb-intro h2 { font-size: 1.55rem; margin: 10px 0; }
.mb-intro p:last-child { font-size: .8125rem; color: var(--muted); }
.mb-coverage { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-top: 22px; font-size: .6875rem; color: var(--dim); }
.mb-coverage b { color: var(--accent); font: 1.125rem var(--mono); margin-right: 5px; }
.mb-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 18px; border-block: 1px solid var(--line-soft); padding: 20px 0; margin: 25px 0 20px; }
.mb-controls > label { display: flex; flex-direction: column; gap: 6px; font-size: .6875rem; color: var(--dim); }
.mb-controls select, .mb-controls input[type="search"] { font: .8125rem/1.5 "Segoe UI", "Microsoft YaHei", sans-serif; color: var(--text); background: #121916; border: 1px solid var(--line); padding: 9px 12px; border-radius: 6px; height: 40px; }
.mb-controls select:focus-visible, .mb-controls input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mb-cpu-control { flex: 1.5; min-width: 310px; }
.mb-cpu-control select { width: 100%; }
.mb-search-control { flex: 1; min-width: 180px; }
.mb-controls select:not(#mb-cpu) { min-width: 120px; }
.mb-controls > .mb-verified-control { flex-direction: row; gap: 7px; align-items: center; height: 40px; color: var(--muted); white-space: nowrap; }
.mb-verified-control input { accent-color: var(--accent); width: 14px; height: 14px; }
.mb-path { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .75rem; padding: 15px 18px; background: #202c22; border: 1px solid #3e5139; border-radius: 8px; margin-bottom: 22px; }
.mb-path-label { font-size: .625rem; color: var(--dim); margin-right: 5px; }
.mb-path strong { font-weight: 500; }
.mb-path b { color: var(--accent); font: .8125rem var(--mono); }
.mb-path > span:not(.mb-path-label) { color: var(--muted); }
.mb-path .mb-path-power { margin-left: auto; font-size: .625rem; }
.mb-platform-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mb-platform { background: #141c18; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mb-platform.is-current { border-color: #6b8752; background: #19231b; }
.mb-platform-title { padding: 20px 20px 18px; min-height: 138px; border-bottom: 1px solid var(--line-soft); }
.mb-platform-title > span { color: var(--accent); font: .6875rem var(--mono); }
.mb-platform.is-incompatible .mb-platform-title > span { color: var(--muted); }
.mb-platform-title h3 { font-size: .9375rem; margin: 7px 0 5px; }
.mb-platform-title p { color: var(--muted); font-size: .6875rem; }
.mb-platform-title b { display: block; font-weight: 400; color: var(--accent); font-size: .625rem; margin-top: 9px; }
.mb-platform.is-incompatible .mb-platform-title b { color: #af9b92; }
.mb-tier { padding: 15px 20px; border-bottom: 1px solid var(--line-soft); min-height: 116px; }
.mb-tier-label { display: block; color: var(--dim); font-size: .625rem; margin-bottom: 9px; }
.mb-tier-note { color: var(--dim); font-size: .5625rem; margin-top: 9px; line-height: 1.8; }
.mb-chipset-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.mb-chipset-chips button { padding: 6px 9px; border: 1px solid #3c4d37; border-radius: 5px; background: #263224; color: var(--text); min-width: 61px; }
.mb-chipset-chips button strong { font: .75rem var(--mono); }
.mb-chipset-chips button small { display: block; font-size: .5625rem; color: var(--dim); }
.mb-chipset-chips button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.mb-chipset-chips button:disabled { cursor: default; color: #929d92; background: #19221c; border-color: var(--line-soft); }
.mb-platform-notes { padding: 14px 20px 17px; color: var(--dim); font-size: .625rem; line-height: 1.8; }
.mb-platform-notes a { display: inline-block; margin-top: 8px; color: var(--muted); }
.mb-ladder-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 12px 0 28px; }
.mb-ladder-foot > p { color: var(--dim); font-size: .625rem; }
.mb-clear-filter { font-size: .625rem; border: 1px solid var(--line); background: #1a231d; padding: 6px 9px; color: var(--accent); border-radius: 5px; white-space: nowrap; }
.mb-clear-filter:disabled { color: var(--dim); cursor: default; }
.mb-models-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 17px; }
.mb-models-heading h2 { font-size: 1.15rem; margin-top: 7px; }
.mb-models-heading > p { font-size: .6875rem; color: var(--dim); }
.mb-matches-layout { display: grid; grid-template-columns: minmax(0, 1fr) 326px; align-items: start; gap: 24px; }
.mb-table-wrap { min-width: 0; max-height: 800px; overflow: auto; overscroll-behavior: contain; scrollbar-color: #53684a #141c18; }
.mb-table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.mb-table thead { position: sticky; top: 0; z-index: 1; background: #18221b; }
.mb-table em { color: var(--muted); font-style: normal; font-size: .6875rem; }
.mb-revision { color: #d4b78c; font-size: .75rem; margin: 8px 0 16px; }
.mb-table { border-collapse: collapse; table-layout: fixed; width: 100%; font-size: .75rem; }
.mb-table-caption { caption-side: bottom; padding: 12px 0; text-align: left; color: var(--dim); font-size: .625rem; }
.mb-table th { padding: 10px 12px; text-align: left; font-weight: 400; color: var(--dim); font-size: .625rem; border-bottom: 1px solid var(--line); }
.mb-table th:first-child { width: 53%; }
.mb-table th:nth-child(2) { width: 20%; }
.mb-table th:nth-child(3) { width: 27%; }
.mb-table td { padding: 14px 12px; border-bottom: 1px solid var(--line-soft); overflow-wrap: anywhere; }
.mb-table td:first-child { padding: 0; }
.mb-table tr.is-selected { background: #253126; }
.mb-table td > button { display: block; width: 100%; text-align: left; padding: 15px 12px; color: var(--text); background: transparent; border: 0; }
.mb-table td > button:hover { background: #263229; }
.mb-table td > button:focus-visible { outline-offset: -2px; }
.mb-table td > button span, .mb-table td > button small { display: block; font-size: .5625rem; color: var(--dim); }
.mb-table td > button strong { display: block; font-size: .75rem; font-weight: 500; line-height: 1.7; margin: 5px 0; }
.mb-table td > button small { color: #a7bb98; }
.mb-table td > span { display: block; font-size: .625rem; color: var(--dim); }
.mb-table td > b { display: block; font-weight: 400; font-size: .6875rem; }
.mb-table-status.verified { color: var(--accent); }
.mb-table-status.unknown { color: #d4b78c; }
.mb-inspector { background: #141c18; border: 1px solid var(--line-soft); border-radius: 10px; padding: 22px; }
.mb-inspector .eyebrow { font-size: .625rem; }
.mb-board-brand { display: block; color: var(--dim); font: .6875rem var(--mono); margin: 22px 0 8px; }
.mb-inspector h3 { font-size: 1.0625rem; line-height: 1.6; overflow-wrap: anywhere; }
.mb-inspector > p:not(.eyebrow) { color: var(--muted); font-size: .75rem; margin-top: 12px; }
.mb-pair-status { background: #263524; padding: 12px 14px; border-left: 2px solid #9dbd7b; border-radius: 0 5px 5px 0; margin: 20px 0; }
.mb-pair-status strong { color: var(--accent); display: block; font-size: .75rem; font-weight: 500; }
.mb-pair-status > span { display: block; color: var(--muted); font-size: .625rem; margin-top: 6px; }
.mb-pair-status > b { display: block; font: .6875rem/1.8 var(--mono); margin-top: 8px; }
.mb-pair-status p { color: var(--muted); font-size: .625rem; line-height: 1.9; margin-top: 4px; }
.mb-pair-status.unknown { background: #352c20; border-color: #ceac77; }
.mb-pair-status.unknown strong { color: #d4b78c; }
.mb-board-specs { font-size: .625rem; margin: 0 0 20px; }
.mb-board-specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.mb-board-specs dt { color: var(--dim); }
.mb-board-specs dd { margin: 0; text-align: right; }
.mb-inspector h4 { font-size: .75rem; font-weight: 500; margin: 20px 0 10px; }
.mb-naming { margin: 0; font-size: .625rem; }
.mb-naming > div { display: grid; grid-template-columns: minmax(70px, .7fr) 1.3fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.mb-naming dt { color: var(--accent); font: .6875rem/1.8 var(--mono); overflow-wrap: anywhere; }
.mb-naming dd { color: var(--muted); margin: 0; line-height: 1.9; }
.mb-features { font-size: .625rem; color: var(--muted); padding-left: 16px; line-height: 2; margin: 0; }
.mb-evidence-links { display: flex; flex-wrap: wrap; gap: 9px 16px; font-size: .6875rem; color: var(--accent); margin: 18px 0 12px; }
.mb-inspector .mb-inspector-note { font-size: .5625rem; color: var(--dim); line-height: 2; }
.mb-fit-note { padding: 18px 20px; background: #202922; border-radius: 8px; margin-top: 25px; }
.mb-fit-note strong { font-size: .8125rem; font-weight: 500; }
.mb-fit-note p { font-size: .6875rem; color: var(--muted); line-height: 1.9; margin-top: 7px; }
.mb-scope-note { font-size: .625rem; color: var(--dim); border-top: 1px solid var(--line-soft); padding-top: 16px; margin-top: 18px; }
.mb-naming-guide { margin-top: 27px; }
.mb-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mb-guide-grid > article { background: #171f1a; border: 1px solid var(--line); border-radius: 9px; padding: 20px; }
.mb-guide-grid h3 { font-size: .875rem; margin: 10px 0; }
.mb-guide-grid p { font-size: .6875rem; color: var(--muted); line-height: 1.9; }
.mb-guide-grid a { display: inline-block; font-size: .625rem; color: var(--accent); margin-top: 16px; }
.project-feature { display: flex; align-items: center; gap: 30px; padding: 38px; background: #20291f; }
.project-icon { height: 90px; width: 90px; background: #2e3b28; color: var(--accent); display: grid; place-items: center; border-radius: 20px; flex-shrink: 0; }
.project-icon .icon { width: 42px; height: 42px; }
.project-feature h2 { font-size: 1.5rem; margin: 12px 0; }
.project-feature > div > p:last-child { color: var(--muted); font-size: .9375rem; }
.project-feature > .tag { margin-left: auto; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.project-placeholder .mono { color: var(--accent); }
.project-placeholder h3 { font-size: 1.125rem; margin: 27px 0 9px; }
.project-placeholder p { color: var(--muted); font-size: .875rem; margin-bottom: 35px; }
.placeholder-line { display: block; height: 6px; background: #2c3829; border-radius: 2px; margin-top: 10px; width: 80%; }
.placeholder-line.short { width: 50%; }
.terminal-window { border: 1px solid #3f4a3a; border-radius: 12px; background: #0d130f; overflow: hidden; }
.terminal-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 17px 22px; background: #1c241d; border-bottom: 1px solid #344130; }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #779463; }
.window-dots i:nth-child(2) { background: #817958; }
.window-dots i:nth-child(3) { background: #556751; }
.terminal-toolbar > span { font: .75rem var(--mono); color: #819378; letter-spacing: .08em; }
.terminal-control { color: #b1c3a1; background: transparent; padding: 5px 10px; border: 1px solid #3f4a3a; border-radius: 4px; font-size: .75rem; }
.terminal-control:hover { border-color: var(--accent); }
.terminal-body { padding: 40px; min-height: 460px; position: relative; }
.terminal-prefix { font: .8125rem var(--mono); color: #aac296; }
.terminal-prefix > span { color: #819378; margin-left: 10px; }
.terminal-lines { color: #b5c5a9; font: .9375rem/2.2 var(--mono); min-height: 145px; margin-top: 24px; }
.terminal-lines p > span { color: #719557; margin-right: 10px; }
.terminal-divider { display: block; height: 1px; width: 70px; background: #3f5137; margin: 22px 0 25px; }
.terminal-ready .eyebrow { color: #829c6f; }
.terminal-ready h2 { font-size: 1.75rem; margin: 14px 0 9px; }
.terminal-ready > p { font-size: .875rem; color: #a0b391; margin-bottom: 25px; }
.terminal-cursor { display: block; color: var(--accent); margin-top: 18px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal-footer { border-top: 1px solid #2d3a28; padding: 13px 22px; display: flex; justify-content: space-between; gap: 15px; font-size: .75rem; color: #85967a; }
.detail-dialog { width: min(550px, calc(100% - 40px)); background: var(--panel); color: var(--text); border: 1px solid #506046; border-radius: 14px; padding: 36px; }
.detail-dialog::backdrop { background: #07100bcc; backdrop-filter: blur(4px); }
.dorm-stage { position: relative; height: 560px; background: #131c16; overflow: hidden; }
.dorm-canvas-holder { position: absolute; inset: 0; }
.dorm-canvas { display: block; width: 100%; height: 100%; touch-action: none; outline-offset: -3px; }
.dorm-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .55; }
.dorm-load-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 19px; padding: 25px; text-align: center; background: linear-gradient(180deg, #10181150, #101811bb); }
.dorm-load-title { font-size: 2rem; font-weight: 500; }
.dorm-load-copy { color: #d1ddc9; font-size: .9375rem; max-width: 520px; }
.dorm-load-overlay .button { background: var(--accent); color: #15200f; padding: 12px 25px; border: 1px solid var(--accent); font-weight: 550; margin-top: 5px; }
.dorm-load-overlay .button:hover:not(:disabled) { background: #c8ee97; }
.dorm-toolbar-actions { display: flex; align-items: center; gap: 15px; }
[data-dorm-status] { color: var(--muted); font-size: .75rem; }
.dorm-toolbar-actions .button { font-size: .8125rem; padding: 6px 12px; }
.dorm-progress { width: min(280px, 100%); height: 5px; border: 0; border-radius: 8px; overflow: hidden; accent-color: var(--accent); }
.dorm-progress::-webkit-progress-bar { background: #ffffff30; }
.dorm-progress::-webkit-progress-value { background: var(--accent); }
.dorm-progress::-moz-progress-bar { background: var(--accent); }
.dorm-controls { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; padding: 20px 24px; font-size: .8125rem; }
.dorm-preset-label { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.dorm-preset-label select { background: #111b14; border: 1px solid #4b5a42; color: var(--text); border-radius: 6px; padding: 8px 11px; font: inherit; width: 160px; }
.dorm-switches { display: flex; flex-wrap: wrap; gap: 17px; }
.dorm-switches label { display: flex; gap: 6px; align-items: center; color: var(--muted); cursor: pointer; }
.dorm-switches input { accent-color: var(--accent); width: 15px; height: 15px; }
.dorm-view-actions { display: flex; gap: 7px; }
.dorm-view-actions button { border: 1px solid #47543f; background: #242f24; color: var(--accent); border-radius: 5px; padding: 7px 12px; font-size: .8125rem; min-width: 36px; }
.dorm-live button:disabled, .dorm-live select:disabled { opacity: .45; cursor: default; }
.dorm-movement-widget { position: absolute; right: 14px; bottom: 14px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.dorm-movement { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px; border-radius: 10px; border: 1px solid #7a936456; background: #101810cc; }
.dorm-movement-toggle { width: 42px; height: 24px; padding: 3px; border: 1px solid #7a9364; border-radius: 20px; background: #263025; display: flex; align-items: center; }
.dorm-movement-toggle span { display: block; width: 16px; height: 16px; border-radius: 50%; background: #a2b397; transition: transform .15s ease, background .15s ease; }
.dorm-movement-toggle[aria-checked="true"] { background: #526a38; }
.dorm-movement-toggle[aria-checked="true"] span { background: #d8efb9; transform: translateX(18px); }
.dorm-look-hint { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 190px); padding: 7px 10px; border-radius: 6px; background: #101810cc; color: #d3dfc9; font-size: .75rem; pointer-events: none; }
.dorm-movement > div { display: flex; gap: 5px; }
.dorm-movement button { background: #293626; border: 1px solid #6b8152; color: #e1edd4; border-radius: 5px; width: 39px; height: 36px; padding: 0; font-size: .8125rem; touch-action: none; user-select: none; }
.dorm-movement button:active { background: #516a39; }
.dorm-walk-note { padding: 0 24px 20px; color: var(--dim); font-size: .8125rem; }
.dorm-gallery { margin-top: 30px; }
.dorm-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dorm-photo-card { text-align: left; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dorm-photo-card:hover { border-color: #7b9163; }
.dorm-photo-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dorm-photo-card > span { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 15px 17px; font-size: .875rem; }
.dorm-photo-card small { font-size: .75rem; color: var(--muted); }
.dorm-dialog-image { width: 100%; margin-bottom: 16px; border-radius: 7px; }
.detail-dialog:has(.dorm-dialog-image) { width: min(1000px, calc(100% - 40px)); max-height: 94vh; overflow: auto; }
.dorm-live:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100vh; overflow: hidden; border-radius: 0; padding: 0; background: var(--panel); }
.dorm-live:fullscreen .dorm-stage { min-height: 0; height: auto; flex: 1; }
.dorm-live:fullscreen .viewer-toolbar, .dorm-live:fullscreen .mode-grid, .dorm-live:fullscreen .mode-description, .dorm-live:fullscreen .dorm-controls { flex-shrink: 0; }
.dorm-live:fullscreen .viewer-toolbar { padding: 7px 16px; font-size: .75rem; }
.dorm-live:fullscreen .dorm-toolbar-actions .button { padding: 4px 10px; font-size: .75rem; }
.dorm-live:fullscreen .mode-button { padding: 8px 12px; font-size: .75rem; gap: 8px; }
.dorm-live:fullscreen .mode-button .mono { font-size: .6875rem; }
.dorm-live:fullscreen .mode-description, .dorm-live:fullscreen .dorm-walk-note { display: none; }
.dorm-live:fullscreen .dorm-controls { padding: 7px 16px; gap: 10px; flex-wrap: nowrap; font-size: .75rem; }
.dorm-live:fullscreen .dorm-preset-label { gap: 8px; }
.dorm-live:fullscreen .dorm-preset-label select { width: 135px; padding: 4px 8px; }
.dorm-live:fullscreen .dorm-switches { width: auto; order: initial; gap: 12px; }
.dorm-live:fullscreen .dorm-view-actions button { padding: 4px 9px; min-width: 28px; font-size: .75rem; }
.dialog-close { position: absolute; right: 15px; top: 10px; border: none; background: transparent; color: var(--muted); font-size: 1.75rem; padding: 5px 10px; }
.detail-dialog h2 { font-size: 1.75rem; margin: 20px 0 13px; }
.dialog-description { color: var(--muted); font-size: .9375rem; margin-bottom: 28px; }
.dialog-sections > section { padding: 18px 0; border-top: 1px solid var(--line); }
.dialog-sections h3 { font-size: 1rem; margin-bottom: 6px; }
.dialog-sections p { font-size: .875rem; color: var(--dim); }
.noscript { padding: 30px; text-align: center; color: var(--accent); }

@media (min-width: 1500px) { .home-intro { padding-top: 62px; } .feature { height: 310px; } .globe-small { top: 6px; } }
@media (max-width: 1150px) {
  .container { width: calc(100% - 64px); }
  #primary-nav { gap: 22px; }
  .home-feature-grid { grid-template-columns: 1.15fr 1fr; }
  .feature-profile { padding: 25px; }
  .feature-copy { width: 50%; }
  .feature-copy h2 { font-size: 1.6rem; }
  .home-bottom > a { flex-wrap: wrap; gap: 10px 15px; }
  .home-bottom > a p { flex-basis: 65%; }
  .home-bottom .small-pill { display: none; }
  .media-layout { grid-template-columns: 240px minmax(0, 1fr); }
  .music-layout { grid-template-columns: 290px minmax(0, 1fr); }
  .panel { padding: 24px; }
  .game-card, .room-viewer { padding: 0; }
  .record { width: 190px; height: 190px; }
}
@media (max-width: 850px) {
  .container { width: calc(100% - 48px); }
  .header-top { height: 90px; }
  .edition > .edition-label { display: none; }
  .intro-note { display: none; }
  .home-feature-grid { grid-template-columns: 1fr 1fr; }
  .feature { height: 280px; }
  .globe-small { width: 80%; right: -23%; top: 30px; opacity: .7; }
  .feature-copy { width: 65%; }
  .feature-copy h2 { font-size: 1.5rem; }
  .room-preview { width: 115%; right: -22%; top: 40px; }
  .feature-bottom { left: 22px; right: 22px; }
  .feature-bottom h2 { font-size: 1.125rem; }
  .feature-bottom > .icon { display: none; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-bottom { grid-template-columns: 1fr; }
  .home-bottom > a { flex-wrap: nowrap; }
  .home-bottom > a p { flex-basis: auto; }
  .home-bottom .small-pill { display: inline-flex; }
  .profile-layout, .gifts-layout, .hardware-layout { grid-template-columns: 1fr; }
  .timeline { margin-bottom: 10px; }
  .timeline-panel .panel-footnote { margin-top: 30px; }
  .media-layout { grid-template-columns: 1fr; }
  .channel-panel { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; column-gap: 18px; text-align: left; align-items: center; }
  .platform-logo { grid-column: 1; grid-row: 1 / 3; margin: 0; width: 55px; height: 55px; }
  .channel-panel h2 { grid-column: 2; grid-row: 1; margin: 0; }
  .channel-panel > p { grid-column: 2; grid-row: 2; margin: 0; }
  .channel-panel > .button { grid-column: 3; grid-row: 1 / 3; }
  .inset-note { grid-column: 1 / 3; margin-top: 20px; }
  .creator-section { grid-column: 3; padding-left: 15px; margin-top: 20px; }
  .music-layout { grid-template-columns: 1fr; }
  .listening-panel { display: grid; grid-template-columns: 100px minmax(0, 1fr); text-align: left; column-gap: 25px; align-items: center; }
  .listening-panel > .eyebrow { grid-column: 2; }
  .record { grid-column: 1; grid-row: 1 / 5; width: 100px; height: 100px; margin: 0; }
  .record-center { width: 45px; height: 45px; border-width: 5px; }
  .record-center .icon { width: 16px; height: 16px; }
  .listening-panel h2 { margin: 10px 0 5px; }
  .listening-panel > p:not(.eyebrow) { margin: 0 0 13px; }
  .listening-panel > .small-pill { width: max-content; }
  .note-topics { gap: 12px; }
  .note-topic { padding: 20px; }
  .project-feature { gap: 20px; padding: 25px; flex-wrap: wrap; }
  .project-feature > div:nth-child(2) { flex: 1; }
  .project-feature > .tag { margin-left: 110px; }
  .mode-button { gap: 8px; font-size: .8125rem; }
  .mode-button > .mono { display: none; }
  .dorm-stage { height: 480px; }
  [data-dorm-status] { display: none; }
  .dorm-controls { gap: 15px; }
  .dorm-switches { order: 3; width: 100%; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .header-top { height: 80px; gap: 10px; }
  .brand { gap: 10px; font-size: 1rem; }
  .brand-mark { font-size: 2.1rem; }
  .brand-caption { font-size: .75rem; letter-spacing: .08em; }
  .edition { font-size: .75rem; max-width: 85px; text-align: right; }
  #primary-nav { gap: 24px; }
  #primary-nav a { font-size: .8125rem; padding-block: 15px 17px; }
  .home-intro { padding: 32px 0 26px; }
  .home-intro > div > .eyebrow { font-size: .75rem; }
  .home-intro h1 { font-size: 1.875rem; margin: 15px 0; }
  .intro-text { font-size: .875rem; max-width: 300px; }
  .home-feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .feature-profile { height: 250px; padding: 24px; }
  .feature-copy { width: 51%; }
  .feature-copy p { font-size: .8125rem; }
  .globe-small { width: 65%; right: -8%; top: 15px; opacity: .9; }
  .feature-room { height: 240px; padding: 24px; }
  .room-preview { width: 85%; right: -12%; top: 0; }
  .feature-bottom { bottom: 47px; left: 24px; }
  .diagram-label { left: 24px; }
  .collection-section { margin-top: 28px; }
  .section-label h2 span { font-size: .75rem; margin-left: 8px; }
  .section-label > .mono { display: none; }
  .collection-grid { gap: 12px; }
  .collection-card { padding: 17px; }
  .collection-top .mono { display: none; }
  .collection-card p { font-size: .8125rem; line-height: 1.8; }
  .collection-card h3 { font-size: 1rem; }
  .home-bottom > a { padding: 18px; gap: 10px; align-items: flex-start; flex-direction: column; }
  .home-bottom .small-pill { display: none; }
  #main-content { padding-bottom: 38px; }
  .site-footer { flex-wrap: wrap; gap: 8px 20px; padding-block: 23px; min-height: 105px; font-size: .75rem; }
  .site-footer > span:nth-child(2) { order: 3; width: 100%; }
  .site-footer a { margin-left: auto; }
  .page-heading { padding: 30px 0 24px; gap: 12px; }
  .page-heading h1 { font-size: 1.875rem; }
  .page-heading > div > p:last-child { font-size: .875rem; }
  .page-number { font-size: 1.8rem; }
  .page-number span { display: none; }
  .page-heading .eyebrow { font-size: .75rem; gap: 10px; }
  .panel { padding: 20px; }
  .game-card, .room-viewer { padding: 0; }
  .panel-heading { gap: 10px; }
  .panel-heading h2 { font-size: 1rem; }
  .panel-heading p { line-height: 1.8; }
  .map-panel > .globe-wrap { margin-block: -5px 24px; }
  .map-bottom .mono { display: none; }
  .quiet-panel { gap: 15px; flex-wrap: wrap; }
  .quiet-panel > div { min-width: 0; flex: 1 1 calc(100% - 65px); }
  .quiet-panel > .tag { margin-left: 54px; }
  .timeline-node h3 { font-size: 1rem; }
  .tabs { gap: 3px; margin-bottom: 20px; }
  .tab { padding: 8px 13px; font-size: .8125rem; }
  .channel-panel { grid-template-columns: 50px minmax(0, 1fr); gap: 5px 15px; }
  .platform-logo { width: 48px; height: 48px; }
  .channel-panel h2 { font-size: 1.25rem; }
  .channel-panel > .button { grid-column: 1 / 3; grid-row: 3; margin-top: 15px; }
  .inset-note { grid-column: 1 / 3; }
  .creator-section { grid-column: 1 / 3; padding-left: 0; }
  .ranking-panel .tab { padding: 7px 9px; font-size: .8125rem; }
  .ranking-row { gap: 10px; padding: 21px 0; }
  .video-placeholder { width: 45px; height: 40px; }
  .rank-number { font-size: .875rem; }
  .ranking-row h3 { font-size: .875rem; }
  .ranking-row p { font-size: .75rem; }
  .metric-grid { grid-template-columns: 1fr; gap: 12px; }
  .metric-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
  .metric-card strong { margin: 0; font-size: 1.375rem; }
  .metric-card strong small { margin-left: 10px; font-size: .75rem; }
  .metric-card p { font-size: .75rem; }
  .chart-placeholder { height: 230px; }
  .chart-empty { width: 85%; justify-content: center; }
  .chart-foot { flex-direction: column; gap: 5px; font-size: .75rem; }
  .note-topics, .game-grid, .project-grid { grid-template-columns: 1fr; }
  .note-topic h3 { margin-top: 18px; }
  .game-cover { height: 160px; }
  .game-copy { padding: 24px; }
  .game-copy > p { min-height: auto; }
  .game-cover-label { font-size: .75rem; }
  .room-stage { height: 350px; }
  .room-stage > .room-diagram { width: 380px; max-width: 115%; top: 20px; }
  .room-message { bottom: 60px; }
  .room-message h2 { font-size: 1.0625rem; }
  .room-message p { font-size: .8125rem; }
  .viewer-toolbar { padding: 14px 18px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-button { padding: 14px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .mode-button:last-child { border-bottom: 0; }
  .mode-description { flex-direction: column; gap: 7px; padding: 18px; }
  .song-row { gap: 11px; }
  .song-row h3 { font-size: .875rem; }
  .song-row p { font-size: .75rem; }
  .listening-panel { grid-template-columns: 85px minmax(0, 1fr); gap: 0 18px; }
  .record { width: 85px; height: 85px; }
  .listening-panel h2 { font-size: .9375rem; }
  .listening-panel .small-pill { font-size: .75rem; }
  .listening-panel > .eyebrow { font-size: .75rem; }
  .ladder-row { gap: 10px; }
  .ladder-row > div { padding: 13px 10px; }
  .ladder-row > div > span { font-size: .75rem; }
  .project-feature { gap: 18px; }
  .project-icon { width: 55px; height: 55px; border-radius: 12px; }
  .project-icon .icon { width: 26px; height: 26px; }
  .project-feature > div:nth-child(2) { flex-basis: calc(100% - 75px); }
  .project-feature .eyebrow { font-size: .75rem; }
  .project-feature h2 { font-size: 1.0625rem; margin: 10px 0; }
  .project-feature > div > p:last-child { font-size: .875rem; }
  .project-feature > .tag { margin-left: 73px; }
  .project-placeholder p { margin-bottom: 24px; }
  .terminal-toolbar { padding: 12px 14px; gap: 8px; }
  .terminal-toolbar > span { font-size: .75rem; letter-spacing: 0; }
  .window-dots { gap: 4px; }
  .window-dots i { width: 5px; height: 5px; }
  .terminal-control { font-size: .75rem; padding: 5px 7px; }
  .terminal-body { padding: 25px 20px; min-height: 440px; }
  .terminal-lines { font-size: .875rem; line-height: 2; min-height: 155px; }
  .terminal-ready h2 { font-size: 1.375rem; }
  .terminal-footer { font-size: .75rem; padding-inline: 16px; }
  .detail-dialog { padding: 26px; }
  .dorm-stage { height: 380px; }
  .dorm-load-title { font-size: 1.5rem; }
  .dorm-load-copy { font-size: .875rem; }
  .dorm-load-overlay { gap: 16px; padding-inline: 20px; }
  .dorm-toolbar-actions .button { font-size: .75rem; padding-inline: 8px; }
  .dorm-controls { padding: 17px; gap: 14px; }
  .dorm-preset-label { width: 100%; justify-content: space-between; }
  .dorm-preset-label select { width: 170px; }
  .dorm-switches { gap: 13px; }
  .dorm-view-actions { width: 100%; }
  .dorm-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dorm-photo-card > span { padding: 12px; flex-wrap: wrap; font-size: .8125rem; }
  .dorm-photo-card small { font-size: .75rem; }
  .dorm-movement { right: 10px; bottom: 12px; padding: 8px; }
  .dorm-movement button { width: 32px; height: 32px; }
  .dorm-walk-note { padding-inline: 18px; }
}
.stock-positive { color: #ff9b91; }
.stock-negative { color: #81cdb4; }
.stock-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin: 28px 0; }
.stock-intro h2 { font-size: clamp(1.2rem, 2vw, 1.625rem); margin: 10px 0; }
.stock-intro p:not(.eyebrow) { color: var(--muted); max-width: 760px; font-size: .875rem; }
.stock-intro > .tag { flex-shrink: 0; margin-top: 4px; }
.stock-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.stock-stat { padding: 23px; min-width: 0; }
.stock-stat > span { font-size: .8125rem; color: var(--muted); }
.stock-stat > strong { display: block; font-family: var(--mono); font-size: clamp(1.35rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -.03em; margin: 12px 0; overflow-wrap: anywhere; }
.stock-stat small { font: .75rem "Microsoft YaHei", sans-serif; letter-spacing: 0; color: var(--muted); }
.stock-stat > p { font-size: .75rem; color: var(--dim); }
.stock-chart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin-bottom: 24px; }
.stock-chart-layout > * { min-width: 0; }
.stock-trend-panel { padding: 0; margin-bottom: 24px; }
.stock-trend-panel > .panel-heading, .stock-review-pair > .panel-heading { padding: 24px 28px 0; }
.stock-trend-svg { display: block; width: 100%; height: auto; padding: 0 12px; }
.stock-trend-grid { stroke: var(--line-soft); stroke-width: 1; }
.stock-trend-zero { stroke: #73856c; stroke-dasharray: 4 5; stroke-width: 1; }
.stock-trend-label { fill: var(--muted); font: 12px var(--mono); }
.stock-trend-line { stroke: var(--accent); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.stock-trend-point { fill: currentColor; stroke: #18231c; stroke-width: 2; }
.stock-trend-hit { fill: transparent; }
.stock-trend-svg a { cursor: pointer; }
.stock-trend-svg a:hover .stock-trend-point, .stock-trend-svg a:focus-visible .stock-trend-point { stroke: var(--text); stroke-width: 3; }
.stock-trend-caption, .stock-trend-empty { padding: 12px 28px 24px; color: var(--dim); font-size: .75rem; }
.stock-chart-select { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; white-space: nowrap; }
.stock-chart-select select { background: #101613; color: var(--text); border: 1px solid var(--line); padding: 8px 12px; border-radius: 6px; font: inherit; }
.stock-review-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin-bottom: 24px; }
.stock-review-pair > .panel-heading { grid-column: 1 / -1; }
.stock-review-pair.stock-review-highlight article + article { border-top: 0; border-left: 1px solid var(--line-soft); padding-top: 0; }
.stock-trade-result { text-align: right; flex-shrink: 0; }
.stock-trade-result > strong { font: .875rem var(--mono); }
.stock-trade-result > small { color: inherit; }
.stock-months { padding: 4px 28px 26px; display: grid; gap: 15px; }
.stock-month { display: grid; grid-template-columns: 57px minmax(0, 1fr) 110px; gap: 15px; align-items: center; }
.stock-month > strong { font: .875rem var(--mono); text-align: right; }
.stock-month-track { height: 20px; border-radius: 3px; background: #101613; overflow: hidden; }
.stock-month-track i { display: block; height: 100%; background: currentColor; opacity: .72; border-radius: 3px; }
.stock-review-highlight article { padding: 0 28px 23px; }
.stock-review-highlight article + article { border-top: 1px solid var(--line-soft); padding-top: 23px; }
.stock-review-highlight h3 { font-size: 1rem; margin-top: 7px; }
.stock-review-highlight h3 small, .stock-note h3 small { font: .75rem var(--mono); color: var(--dim); margin-left: 8px; }
.stock-review-highlight article > strong { display: block; font: 1.5rem var(--mono); margin: 8px 0; }
.stock-review-highlight article > strong small { font-size: .8125rem; }
.stock-review-highlight article > p { color: var(--muted); font-size: .8125rem; margin-bottom: 12px; }
.stock-review-highlight button, .stock-note button { border: 0; background: none; padding: 0; font: inherit; font-size: .8125rem; }
.stock-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding: 0 28px 23px; }
.stock-filters label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .8125rem; }
.stock-filters select { border: 1px solid var(--line); color: var(--text); background: #101613; padding: 8px 12px; border-radius: 6px; font: inherit; max-width: 100%; }
.stock-filters > span { margin-left: auto; font-size: .8125rem; }
.stock-table { min-width: 960px; }
.stock-table td, .stock-table th { vertical-align: middle; }
.stock-table tbody th { text-align: left; font-weight: 400; font-size: .875rem; }
.stock-table td > span, .stock-table th > span { display: block; }
.stock-table small { display: block; font: .75rem/1.8 var(--mono); color: var(--dim); }
.stock-table td > strong { font: 500 .875rem var(--mono); }
.stock-detail-button { border: 0; background: transparent; color: var(--accent); font-size: .8125rem; padding: 8px 0; }
.stock-method { margin-top: 24px; }
.stock-method summary { padding: 20px 28px; cursor: pointer; font-size: .875rem; }
.stock-method summary span { color: var(--dim); font-size: .75rem; margin-left: 16px; }
.stock-method > div { padding: 0 28px 26px; color: var(--muted); font-size: .8125rem; }
.stock-method p + p { margin-top: 14px; }
.stock-method li { margin-bottom: 8px; }
.stock-method ul { padding-left: 22px; }
.stock-theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 36px; }
.stock-theme { padding: 26px; min-width: 0; }
.stock-theme h3 { font-size: 1.0625rem; margin: 14px 0 12px; }
.stock-theme p { font-size: .875rem; color: var(--muted); margin-bottom: 24px; }
.stock-theme .mono { display: block; font-size: .6875rem; overflow-wrap: anywhere; }
.stock-note-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.stock-note { padding: 27px; min-width: 0; display: flex; flex-direction: column; }
.stock-note-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.stock-note-top .tag, .stock-dialog-note .tag { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.stock-note h3 { margin: 18px 0 10px; font-size: 1.0625rem; }
.stock-note-numbers { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--mono); font-size: .9375rem; }
.stock-note-numbers strong { font-weight: 500; }
.stock-note-numbers small { font: .6875rem "Microsoft YaHei", sans-serif; color: var(--dim); }
.stock-note blockquote, .stock-dialog-note blockquote { margin: 20px 0; border-left: 2px solid var(--accent-dark); padding-left: 16px; color: var(--text); font-size: .9375rem; }
.stock-note button { margin-top: auto; align-self: flex-start; padding-top: 20px; }
.stock-discrepancy { font-size: .75rem; color: #dfc491; background: #dfc4910c; border-radius: 6px; padding: 12px 14px; line-height: 1.8; }
.stock-discrepancy > span { display: block; font-weight: 550; margin-bottom: 4px; }
.stock-footnote { color: var(--dim); font-size: .8125rem; margin: 22px 0; }
.stock-asset-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 28px 24px; }
.stock-asset { display: flex; justify-content: space-between; align-items: center; text-align: left; gap: 20px; padding: 16px 12px; min-width: 0; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; font-size: .875rem; }
.stock-asset:hover { background: var(--panel-hover); }
.stock-asset > span { min-width: 0; overflow-wrap: anywhere; }
.stock-asset small { display: block; color: var(--dim); font: .6875rem var(--mono); margin-top: 5px; }
.stock-asset > strong { font: .875rem var(--mono); flex-shrink: 0; }
.stock-dialog-profit { display: block; font: 1.8rem var(--mono); margin: 22px 0; }
.stock-dialog-profit > small { font: .75rem "Microsoft YaHei", sans-serif; color: var(--muted); }
.stock-detail-list { margin: 20px 0; font-size: .875rem; }
.stock-detail-list > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 18px; border-bottom: 1px solid var(--line-soft); padding: 12px 0; }
.stock-detail-list dt { color: var(--dim); }
.stock-detail-list dd { margin: 0; overflow-wrap: anywhere; }
.stock-dialog-note { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 22px; }
.stock-dialog-note h3 { font-size: 1.0625rem; }
.stock-dialog-note h3 .tag { margin: 6px; }
.stock-dialog-note > p { margin: 12px 0; font-size: .8125rem; }
.stock-sr-only { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) {
  .stock-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stock-chart-layout { grid-template-columns: 1fr; }
  .stock-theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .stock-intro { flex-direction: column; gap: 12px; }
  .stock-stat { padding: 18px 15px; }
  .stock-stat > strong { font-size: 1.375rem; }
  .stock-summary-grid { gap: 10px; }
  .stock-note-grid, .stock-theme-grid, .stock-asset-grid { grid-template-columns: 1fr; }
  .stock-months { padding-inline: 18px; }
  .stock-month { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px; }
  .stock-month-track { order: 3; grid-column: 1 / -1; height: 15px; }
  .stock-month > strong { font-size: .75rem; }
  .stock-filters { padding-inline: 18px; gap: 10px; }
  .stock-filters label { width: 100%; justify-content: space-between; }
  .stock-filters select { width: 65%; }
  .stock-filters > span { margin-left: 0; }
  .stock-table { min-width: 0; display: block; }
  .stock-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .stock-table tbody { display: block; padding: 0 18px; }
  .stock-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding: 20px 0; border-top: 1px solid var(--line-soft); }
  .stock-table tbody th, .stock-table td { padding: 0; border: 0; min-width: 0; overflow-wrap: anywhere; }
  .stock-table tbody th, .stock-table td:last-child { grid-column: 1 / -1; }
  .stock-table tbody th { padding-bottom: 7px; }
  .stock-table td::before { content: attr(data-label); display: block; color: var(--dim); font-size: .6875rem; margin-bottom: 4px; }
  .stock-table td > strong { font-size: 1rem; }
  .stock-table td:last-child::before { display: none; }
  .stock-table .stock-detail-button { padding-bottom: 0; }
  .stock-archive .panel-heading { flex-wrap: wrap; gap: 12px; }
  .stock-method summary, .stock-method > div { padding-inline: 18px; }
  .stock-method summary span { display: block; margin-left: 0; margin-top: 4px; }
  .stock-theme, .stock-note { padding: 22px; }
  .stock-asset-grid { padding-inline: 10px; }
  .stock-asset { gap: 12px; }
  .stock-detail-list > div { grid-template-columns: 1fr; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
:root { --trade-buy: #e99084; --trade-sell: #7fc8b5; }
.channel-avatar { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 10px auto 20px; border: 1px solid #486b62; }
.channel-name { display: block; margin: 22px 0 14px; font-size: 1.1rem; }
.channel-caption { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.channel-caption span { font: .7rem var(--mono); letter-spacing: .15em; }
.my-works-empty { min-height: 300px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; padding: 50px 20px; text-align: center; color: var(--muted); }
.my-works-empty > svg { width: 40px; height: 40px; color: var(--accent); opacity: .6; }
.my-works-empty h3 { color: var(--text); margin: 0; }
.my-works-empty p { margin: 0 0 8px; }
.stock-extreme-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.stock-review-highlight .stock-extreme-controls button { border: 1px solid var(--line); padding: 9px 13px; border-radius: 6px; }
.stock-extreme-controls button[aria-pressed="true"] { background: #293c2a; color: var(--accent); }
.detail-dialog:has([data-trade-history]) { width: min(1050px, calc(100% - 40px)); max-height: 90vh; overflow-y: auto; }
.trade-history { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #121c1b; }
.history-heading, .history-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.history-heading h3 { margin: 0 0 6px; font-size: 1rem; }
.history-heading span, .history-source { color: var(--muted); font-size: .75rem; }
.history-toolbar { margin-top: 18px; }
.history-switch { display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 6px; padding: 3px; }
.history-switch button { padding: 7px 12px; background: transparent; color: var(--muted); border: 0; border-radius: 4px; font: inherit; font-size: .78rem; cursor: pointer; }
.history-switch button[aria-pressed="true"] { background: #293c2a; color: var(--accent); }
.history-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .72rem; color: var(--muted); }
.history-chart { display: block; width: 100%; height: auto; margin-top: 12px; touch-action: pan-y; }
.history-chart text { fill: #93a29b; font: 11px monospace; }
.history-grid { stroke: #41504a; stroke-opacity: .4; stroke-dasharray: 3 5; }
.history-holding-range { fill: #b7de83; opacity: .045; }
.history-close-line { fill: none; stroke: #b7de83; stroke-width: 2; stroke-linejoin: round; }
.history-crosshair { fill: none; stroke: #c2cabe; stroke-opacity: .6; stroke-dasharray: 3 3; pointer-events: none; }
.history-crosshair[hidden] { display: none; }
.is-buy { color: var(--trade-buy); }
.is-sell { color: var(--trade-sell); }
.history-marker { cursor: pointer; }
.history-marker path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.history-marker circle { fill: currentColor; }
.history-marker .history-marker-badge { stroke: #121c1b; stroke-width: 2; }
.history-marker text { fill: #14201c; font: bold 11px monospace; pointer-events: none; }
.history-marker.is-date-only path { stroke-dasharray: 2 2; }
.history-marker.is-date-only .history-marker-badge { fill: #121c1b; stroke: currentColor; stroke-dasharray: 2 2; }
.history-marker.is-date-only text { fill: currentColor; }
.history-marker:focus .history-marker-badge { stroke: white; stroke-width: 2; }
.history-readout { display: block; min-height: 2.4em; font-size: .78rem; color: #ced6cd; line-height: 1.6; }
.history-events { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.history-event { font-size: .72rem; border: 1px solid #34463e; border-radius: 5px; padding: 6px 9px; }
.history-source { margin: 14px 0 0; line-height: 1.6; }
.history-loading { min-height: 220px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 15px; color: var(--muted); }
@media (max-width: 1000px) {
  .trade-history { padding: 14px; }
}
@media (max-width: 850px) {
  .channel-avatar { grid-column: 1; grid-row: 1 / 4; width: 60px; height: 60px; margin: 0; }
  .channel-name { grid-column: 2; grid-row: 3; margin: 0; font-size: .85rem; }
  .channel-caption { grid-column: 1 / -1; margin-top: 20px; }
}
@media (max-width: 600px) { .channel-avatar { width: 50px; height: 50px; } }
.github-profile { display: flex; align-items: center; gap: 24px; padding: 28px; background: linear-gradient(120deg, #222d23, #19221e); }
.github-avatar { width: 88px; height: 88px; border: 1px solid #4a5b44; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.github-avatar img { width: 100%; height: 100%; object-fit: cover; }
.github-profile-copy h2 { font: 500 clamp(1.25rem, 2vw, 1.6rem) var(--mono); margin: 8px 0; overflow-wrap: anywhere; }
.github-profile-copy > p:last-child { font-size: .85rem; color: var(--muted); }
.github-profile-actions { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; font-size: .78rem; color: var(--muted); }
.github-profile-actions strong { font: 1.3rem var(--mono); color: var(--accent); }
.github-profile-actions .button { font-size: .8rem; padding: 9px 14px; }
.github-toolbar { display: flex; gap: 18px; align-items: flex-end; justify-content: space-between; margin-top: 26px; }
.github-filters { display: flex; align-items: flex-end; gap: 14px; flex: 1; }
.github-filters label { display: flex; flex-direction: column; gap: 7px; font-size: .76rem; color: var(--muted); }
.github-filters input, .github-filters select { background: #19231e; color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; min-height: 43px; font: inherit; font-size: .85rem; }
.project-search { flex: 1; max-width: 430px; }
.github-feed-status { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin: 15px 0 20px; font-size: .72rem; color: var(--dim); }
.github-feed-status p { color: var(--muted); }
.github-repo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project-repo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-preview { display: flex; align-items: center; justify-content: center; gap: 12px; height: 220px; padding: 20px; position: relative; background: radial-gradient(ellipse at 50% 100%, #39473770, transparent 75%), #131c1a; border-bottom: 1px solid var(--line); }
.project-preview img { width: 180px; height: 180px; max-width: 45%; object-fit: contain; }
.project-preview-pair img { width: 210px; height: 185px; }
.project-preview-fallback { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 12px; color: var(--dim); }
.project-preview-fallback .icon { width: 46px; height: 46px; color: var(--accent); }
.project-preview-fallback span { font: .78rem var(--mono); overflow-wrap: anywhere; }
.project-preview-fallback.is-visible, .preview-failed .project-preview-fallback { display: flex; }
.preview-failed img { display: none; }
.project-repo-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-repo-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.project-repo-badges { display: flex; gap: 8px; font-size: .7rem; color: var(--muted); }
.project-repo h2 { font-size: 1.35rem; margin: 17px 0 5px; overflow-wrap: anywhere; }
.project-repo-slug { display: inline-flex; align-items: center; gap: 6px; font: .78rem var(--mono); color: var(--muted); overflow-wrap: anywhere; align-self: flex-start; }
.project-repo-slug .icon { width: 12px; height: 12px; }
.project-repo-description { font-size: .84rem; line-height: 1.85; color: var(--muted); margin: 16px 0; }
.project-feature-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.project-feature-tags span { font-size: .7rem; color: #b4c3a8; background: #253127; border-radius: 4px; padding: 4px 8px; }
.project-repo-meta { display: flex; gap: 15px; flex-wrap: wrap; font: .7rem var(--mono); color: var(--muted); margin-top: auto; margin-bottom: 20px; }
.project-repo-meta i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #d8c67b; margin-right: 6px; }
.project-repo-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.project-repo-actions .button { font-size: .78rem; padding: 8px 13px; }
.project-readme-link { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--accent); }
.project-readme-link .icon { width: 13px; height: 13px; }
.project-repo-footer { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .67rem; color: var(--dim); margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); }
.project-repo-footer .icon { width: 11px; height: 11px; }
.project-repo-footer a { display: inline-flex; align-items: center; gap: 4px; }
.project-credit { flex-basis: 100%; }
.project-empty { grid-column: 1 / -1; min-height: 240px; display: grid; align-content: center; text-align: center; gap: 12px; }
.project-empty p { color: var(--muted); font-size: .85rem; }
.profile-archives { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.profile-archives .timeline { margin-block: 25px 0; }
.profile-archives .timeline-node { padding-bottom: 24px; }
.profile-archives .timeline-node:last-child { padding-bottom: 0; }
.profile-archives .timeline-node .eyebrow { font-size: .65rem; letter-spacing: .02em; }
.profile-archives .panel-heading > .icon { color: var(--accent); }
.travel-empty { padding: 22px 0 0; border-top: 1px solid var(--line-soft); }
.travel-empty h3 { font-size: 1rem; margin: 10px 0; }
.travel-empty p { font-size: .85rem; color: var(--muted); }
.travel-globe-stage { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin: -15px auto -10px; }
.travel-globe-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; border-radius: 50%; }
.travel-globe-stage canvas.is-dragging { cursor: grabbing; }
.travel-globe-stage canvas:focus-visible { outline: 1px solid var(--accent); outline-offset: -18px; }
.globe-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 35px; color: var(--muted); pointer-events: none; }
.globe-controls { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.globe-controls .button { padding: 7px 12px; font-size: .78rem; }
.globe-instructions { color: var(--dim); font-size: .72rem; text-align: center; margin: 12px 0 22px; }
.media-works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-top: 22px; }
.media-work-card { min-width: 0; }
.media-work-link { display: block; }
.media-cover { aspect-ratio: 16 / 9; position: relative; overflow: hidden; border-radius: 9px; background: #111716; border: 1px solid var(--line); }
.media-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 180ms ease; }
.media-work-link:hover img { transform: scale(1.03); }
.media-work-type { position: absolute; bottom: 9px; right: 9px; background: #111716dc; border: 1px solid #a3aea340; border-radius: 4px; padding: 2px 7px; color: var(--text); font-size: .7rem; }
.media-work-rank { position: absolute; left: 10px; top: 10px; background: var(--accent); color: var(--bg); border-radius: 5px; padding: 3px 9px; font: 600 .9rem var(--mono); }
.media-work-card h3 { font-size: .92rem; line-height: 1.65; margin-top: 13px; }
.media-work-link:hover h3 { color: var(--accent); }
.media-work-stat { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.media-work-stat strong { font: .85rem var(--mono); color: var(--accent); margin-left: 8px; }
.github-profile-copy { min-width: 0; }
.github-toolbar, .github-filters { min-width: 0; }
.github-filters { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(140px, 170px) minmax(110px, 135px); }
.github-filters label, .github-filters input, .github-filters select { min-width: 0; width: 100%; }
.project-search { max-width: none; }
.project-preview-pair img { flex: 1 1 0; min-width: 0; max-width: calc(50% - 6px); }

/* Personal photograph, atlas and tabletop additions. */
.site-avatar { width:52px; height:52px; border-radius:50%; object-fit:cover; object-position:50% 46%; border:1px solid #93b08066; flex-shrink:0; }
.footer-avatar { width:28px; height:28px; vertical-align:middle; margin-right:10px; }
.about-avatar { width:58px; height:58px; }
.project-preview .pet-sprite-frame { display:block; width:166px; height:180px; position:relative; overflow:hidden; flex:none; }
.project-preview .pet-sprite-sheet { position:absolute; left:0; top:0; width:800%; height:1100%; max-width:none; object-fit:fill; }
.travel-globe-stage { max-width:640px; margin:8px auto; background:radial-gradient(ellipse,#24392c44,transparent 68%); }
.travel-globe-stage canvas { border-radius:10px; }
.globe-legend { display:flex; gap:20px; justify-content:center; margin:18px 0 0; }
.globe-legend label { display:flex; gap:6px; align-items:center; font-size:.82rem; cursor:pointer; }
.globe-legend input { accent-color:var(--place-color); width:13px; height:13px; }
.globe-legend i,.place-chip i { width:7px; height:7px; border-radius:50%; background:var(--place-color); }
.globe-labels { position:absolute; inset:0; pointer-events:none; overflow:hidden; }
.globe-connections { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; opacity:.6; }
.globe-city-label { position:absolute; pointer-events:auto; transform:translateY(-50%); background:#101c19eb; border:1px solid color-mix(in srgb,var(--place-color) 65%,transparent); border-radius:5px; padding:3px 8px; color:var(--place-color); font-size:12px; min-height:25px; white-space:nowrap; z-index:2; }
.globe-city-label[hidden] { display:none; }
.globe-city-label:hover,.globe-city-label[aria-pressed=true] { background:#304336; color:#fff; }
.place-selection { padding:20px; border:1px solid var(--line); border-radius:10px; background:#111d1944; margin:20px 0 12px; min-height:126px; }
.place-selection h3 { margin:8px 0; font-size:1.3rem; }
.place-selection p { color:var(--muted); margin:4px 0; font-size:.85rem; }
.place-picker { display:flex; flex-wrap:wrap; gap:8px; }
.place-chip { display:flex; align-items:center; gap:5px; padding:7px 10px; border:1px solid var(--line); border-radius:7px; background:transparent; color:var(--muted); font-size:.82rem; }
.place-chip[aria-pressed=true] { color:var(--text); background:#304336; border-color:var(--accent); }
.globe-credit { font-size:.65rem; color:var(--dim); line-height:1.9; margin-top:18px; }
.globe-credit a { text-decoration:underline; text-underline-offset:3px; }
.education-location { display:flex; align-items:center; gap:5px; border:0; background:none; padding:0; color:var(--muted); margin:10px 0; font-size:.83rem; text-align:left; }
.education-location .icon { width:14px; height:14px; }
.education-location:hover { color:var(--accent); }
.travel-city-list { display:grid; grid-template-columns:1fr 1fr; gap:8px 16px; margin-top:20px; }
.travel-city-list button { display:flex; justify-content:space-between; gap:10px; background:none; border:0; border-bottom:1px solid var(--line); color:#79c6e3; padding:12px 0; text-align:left; font-size:.9rem; }
.travel-city-list span { font-size:.62rem; color:var(--dim); }
.residence-line { display:flex; gap:14px; margin-top:24px; align-items:center; font-size:.85rem; }
.residence-line span { color:var(--dim); }
.residence-line button { background:none; border:0; color:#e0b77b; padding:4px; }
.gift-model-holder { position:relative; height:440px; background:radial-gradient(ellipse at center,#4a6c5240,transparent 75%); }
.gift-model-holder canvas { width:100%; height:100%; display:block; touch-action:none; cursor:grab; }
.gift-model-holder canvas:active { cursor:grabbing; }
.gift-model-note { font-size:.75rem; color:var(--dim); line-height:1.9; margin-top:32px; padding-top:20px; border-top:1px solid var(--line); }
[data-gift-viewer]:fullscreen { display:flex; flex-direction:column; padding:24px; background:var(--bg); }
[data-gift-viewer]:fullscreen .gift-model-holder { flex:1; height:auto; min-height:0; }
.game-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.game-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(transparent,#10201a80); }
.game-cover-label { z-index:1; color:#d9e6ce; }
.detail-dialog:has(.game-detail) { width:min(880px,calc(100% - 32px)); max-height:92vh; overflow:auto; padding:36px; }
.game-detail h3 { font-size:1.35rem; margin:20px 0 12px; }
.game-detail h4 { font-size:1rem; margin:18px 0 8px; }
.game-detail p { line-height:1.85; color:var(--muted); }
.game-detail-nav { display:flex; gap:8px; flex-wrap:wrap; margin:24px 0; }
.game-detail-nav a { padding:8px 14px; border:1px solid var(--line); border-radius:6px; color:var(--accent); font-size:.85rem; }
.game-dealer { padding:24px; background:#101e1a99; border:1px solid #64835266; border-radius:12px; }
.dealer-board-label { display:flex; flex-direction:column; gap:8px; color:var(--muted); font-size:.85rem; }
.dealer-board-label select { width:100%; padding:12px; border:1px solid var(--line); border-radius:7px; color:var(--text); background:#172923; }
.dealer-composition { font-size:.9rem; }
.game-detail .dealer-note { font-size:.75rem; color:var(--dim); }
.dealer-seats { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; margin:22px 0; }
.dealer-seat { color:var(--text); border:1px solid #526d58; background:#22382c; border-radius:9px; padding:12px 4px; font:1.2rem var(--mono); min-height:66px; }
.dealer-seat small { display:block; color:var(--muted); font: .68rem var(--sans); margin-top:6px; }
.dealer-seat:hover { border-color:var(--accent); }
.dealer-secret { text-align:center; border:1px solid #83a567; border-radius:10px; padding:28px 20px; margin:20px 0; background:#2e4130; }
.dealer-secret h3 { font-size:2rem; margin:20px 0; }
.dealer-secret .button { margin-top:14px; }
.dealer-host { border-top:1px solid var(--line); padding-top:18px; margin-top:16px; }
.game-rules { margin:34px 0; }
.game-rules > div:not(.game-table-wrap) { margin-bottom:22px; }
.game-table-wrap { overflow-x:auto; }
.game-table-wrap table { border-collapse:collapse; width:100%; margin:12px 0; font-size:.85rem; }
.game-table-wrap th,.game-table-wrap td { padding:10px; border-bottom:1px solid var(--line); text-align:left; white-space:nowrap; }
.game-table-wrap th { color:var(--accent); font-weight:500; }
.game-role-guide details { border-bottom:1px solid var(--line); padding:13px 0; }
.game-role-guide summary { cursor:pointer; color:var(--text); }
.game-role-guide summary span { float:right; color:var(--dim); font-size:.8rem; }
.game-role-guide details p { font-size:.88rem; }
.game-role-guide details a { color:var(--accent); font-size:.75rem; }
.game-rule-sources { display:flex; flex-wrap:wrap; gap:10px 18px; margin:32px 0 0; padding-top:20px; border-top:1px solid var(--line); font-size:.72rem; color:var(--dim); }
.game-rule-sources a { text-decoration:underline; text-underline-offset:3px; }
[data-dealer-status] { font-size:.85rem; }
@media(max-width:600px) { .detail-dialog:has(.game-detail) { padding:20px; } .game-dealer { padding:16px; } .dealer-seats { grid-template-columns:repeat(3,1fr); } .gift-model-holder { height:320px; } .globe-city-label { font-size:10px; padding:2px 5px; } .project-preview .pet-sprite-frame { width:138px; height:149.5px; } }
@media (max-width: 850px) { .github-toolbar { flex-wrap: wrap; } .github-profile { flex-wrap: wrap; } .github-profile-actions { flex-direction: row; align-items: center; margin-left: 0; } .github-filters { flex-wrap: wrap; } }

/* Grouped vertical reference lists share the same reading direction as a role card. */
.detail-dialog:has(.game-detail) { width:min(1080px,calc(100% - 32px)); }
.role-columns { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:20px 0; align-items:start; }
.role-columns.role-werewolf { grid-template-columns:repeat(3,minmax(0,1fr)); }
.role-column { min-width:0; border:1px solid var(--line); border-radius:9px; padding:0 14px 8px; background:var(--bg); }
.role-column h4 { color:var(--accent); padding:18px 0 13px; margin:0; border-bottom:1px solid var(--line); font-size:.94rem; }
.role-column details:last-child { border:0; }
.role-column details p { margin:12px 0; line-height:1.8; }
.game-role-guide .role-column summary { font-size:.88rem; }

.build-guides { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; margin:26px 0 30px; }
.build-guides article { padding:22px; border:1px solid var(--line); border-radius:9px; background:#141f1c; }
.build-guides .mono { color:var(--accent); font-size:.7rem; }
.build-guides h3 { font-size:1rem; margin:18px 0 10px; }
.build-guides p { color:var(--muted); font-size:.82rem; line-height:1.8; }
.build-controls { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; padding:24px 0 18px; border-top:1px solid var(--line); }
.build-controls label { color:var(--dim); font-size:.76rem; display:flex; flex-direction:column; gap:8px; }
.build-controls select,.build-controls input { width:100%; min-width:0; padding:11px 12px; border:1px solid var(--line); border-radius:6px; background:var(--bg); color:var(--text); font:inherit; }
.build-controls label:has([data-build-control=query]) { grid-column:span 2; }
.build-filter-note { color:var(--dim); font-size:.76rem; line-height:1.8; padding:0 0 22px; }
.build-catalog-layout { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,1fr); gap:26px; align-items:start; }
.build-model-list { border-top:1px solid var(--line); }
.build-model-row { display:flex; align-items:center; gap:16px; border-bottom:1px solid var(--line); padding:0 16px; }
.build-model-row.is-selected { background:#253226; border-left:2px solid var(--accent); padding-left:14px; }
.build-model-row > button { border:0; color:var(--text); background:transparent; text-align:left; padding:23px 0; flex:1; cursor:pointer; min-width:0; }
.build-model-row button > span { color:var(--dim); font-size:.69rem; }
.build-model-row h3 { font-size:1.01rem; margin:8px 0; }
.build-model-row button p { color:var(--muted); font-size:.78rem; margin:0 0 5px; }
.build-model-row button small { color:var(--dim); font-size:.73rem; }
.build-model-row label { color:var(--muted); font-size:.76rem; white-space:nowrap; display:flex; align-items:center; gap:7px; }
.build-model-row input { accent-color:var(--accent); }
.build-result-count { color:var(--dim); font-size:.77rem; margin:0 0 16px; }
.build-inspector { border:1px solid var(--line); border-radius:9px; padding:24px; background:#141d1a; }
.build-conditions { color:var(--accent); background:#263226; padding:15px; border-radius:6px; font-size:.78rem; line-height:1.85; margin-top:20px; }
.case-flow { margin:15px 0 24px; }
.case-flow svg { display:block; width:100%; color:#718374; }
.case-flow svg text { fill:#b5c2b0; font-size:11px; }
.flow-board { fill:#273b32; stroke:#647c68; }.flow-gpu { fill:#536a44; }.flow-psu { fill:#35413a; }
.flow-intake,.flow-exhaust { fill:none; stroke:#b7de83; stroke-width:2; }.flow-exhaust { stroke:#bda77d; }
.case-flow p { color:var(--dim); font-size:.72rem; line-height:1.75; }
.psu-power { margin:24px 0; padding:21px 0; border-block:1px solid var(--line); display:flex; flex-direction:column; gap:8px; }
.psu-power strong { color:var(--accent); font:2.75rem var(--mono); }.psu-power small { font-size:1.15rem; }.psu-power span { font-size:.8rem; color:var(--muted); }
.build-comparison { border-top:1px solid var(--line); padding-top:25px; margin-top:32px; }
.build-table-wrap { overflow-x:auto; }.build-table-wrap table { width:100%; border-collapse:collapse; font-size:.8rem; text-align:left; }
.build-table-wrap th,.build-table-wrap td { border-bottom:1px solid var(--line); padding:14px; min-width:165px; vertical-align:top; line-height:1.8; }
.build-table-wrap thead th { color:var(--accent); background:#223022; }.build-table-wrap tbody th { color:var(--muted); font-weight:400; }

.favorite-song { display:block; text-align:left; align-self:start; padding:28px; }
.favorite-cover { margin:28px 0; padding:9px; border:1px solid #3b4735; background:#17201a; box-shadow:0 18px 30px #0003; transform:rotate(-2deg); }
.favorite-cover img { width:100%; aspect-ratio:1; object-fit:cover; display:block; }
.favorite-info h2 { font-size:1.7rem; line-height:1.25; margin:25px 0 10px; }.favorite-info > p { color:var(--accent); font-size:.86rem; }
.favorite-info dl { margin:27px 0; border-top:1px solid var(--line); padding-top:14px; font-size:.78rem; }
.favorite-info dl > div { display:flex; flex-direction:column; gap:5px; margin:12px 0; }.favorite-info dt { color:var(--dim); }.favorite-info dd { color:var(--muted); margin:0; }
.playlist-intro { display:flex; gap:18px; align-items:center; margin:2px 0 25px; }.playlist-intro > img { object-fit:cover; width:64px; height:64px; border-radius:6px; }.playlist-intro > div { flex:1; min-width:0; }.playlist-intro .eyebrow { font-size:.62rem; margin:0 0 7px; }.playlist-intro h2 { font-size:1.16rem; margin:0 0 7px; }.playlist-intro p:not(.eyebrow) { font-size:.76rem; color:var(--muted); }
.playlist-intro .button { font-size:.78rem; padding:11px 14px; white-space:nowrap; }
.music-search { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:19px 0; border-top:1px solid var(--line); font-size:.75rem; }
.music-search label { color:var(--muted); }.music-search input { color:var(--text); background:var(--bg); border:1px solid var(--line); border-radius:5px; padding:9px 12px; font:inherit; min-width:0; flex:1; }.music-search > span { color:var(--dim); }
.playlist-scroll { max-height:570px; overflow:auto; padding-right:10px; scrollbar-color:#40563d transparent; scrollbar-width:thin; }
.song-row img.song-art { object-fit:cover; width:48px; height:48px; }.song-info { min-width:0; }.song-info h3 { line-height:1.55; }.song-info small { display:block; color:var(--dim); font-size:.67rem; margin-top:6px; }.music-playlist .song-duration { font: .75rem var(--mono); flex-shrink:0; }.music-no-results { color:var(--dim); padding:40px 0; }
@media(max-width:1000px) { .build-controls { grid-template-columns:repeat(3,minmax(0,1fr)); }.build-guides { gap:12px; }.build-guides article { padding:16px; }.build-catalog-layout { grid-template-columns:minmax(0,1fr) minmax(280px,1fr); }.playlist-intro { flex-wrap:wrap; }.playlist-intro > .button { margin-left:82px; } }
@media(max-width:760px) { .role-columns,.role-columns.role-werewolf { grid-template-columns:repeat(2,minmax(0,1fr)); }.build-guides { grid-template-columns:1fr; }.build-guides h3 { margin-top:10px; }.build-catalog-layout { grid-template-columns:1fr; }.build-controls { grid-template-columns:repeat(2,minmax(0,1fr)); }.favorite-song { display:grid; grid-template-columns:155px minmax(0,1fr); gap:0 24px; text-align:left; }.favorite-song > .eyebrow { grid-column:1/-1; }.favorite-cover { grid-column:1; margin:25px 0; }.favorite-info { grid-column:2; }.favorite-info h2 { font-size:1.45rem; }.favorite-info dl { margin:16px 0; } }
@media(max-width:480px) { .role-columns,.role-columns.role-werewolf { grid-template-columns:1fr; }.favorite-song { display:block; padding:24px; }.favorite-cover { width:75%; margin:28px auto; }.favorite-info h2 { font-size:1.65rem; }.music-search > span { width:100%; }.playlist-intro { gap:12px; }.playlist-intro h2 { font-size:1rem; }.playlist-intro > .button { margin-left:76px; }.song-row { gap:10px; }.song-row > .mono { font-size:.65rem; }.song-row img.song-art { width:36px; height:36px; }.song-info h3 { font-size:.83rem; }.song-info small { display:none; }.build-inspector { padding:18px; }.brand-caption { letter-spacing:.05em; } }

/* Map details are isolated from the rest of the site. */
.travel-globe-stage { background:radial-gradient(ellipse at 50% 45%,#32475450,transparent 70%); }
.school-name { color:var(--text);background:none;border:0;padding:0;text-align:left;font:inherit;cursor:pointer; }
.school-name:hover { color:#b6d9e8; }
.location-dot { width:8px;height:8px;border-radius:50%;background:#83c7dc;box-shadow:0 0 0 4px #83c7dc15;align-self:center; }
.travel-city-list button:hover .location-dot { box-shadow:0 0 0 5px #83c7dc35; }
.local-map-wrap { margin-top:16px; }
.local-map-heading { display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0; }
.local-map-heading strong { font-size:.92rem; }
.local-map-heading button { font-size:.72rem;padding:6px 10px; }
.local-map { height:490px;position:relative;border-radius:10px;overflow:hidden;background:#dce6e4;color:#243936;z-index:0; }
.local-map-note { font-size:.73rem;color:var(--muted);margin:12px 0; }
.local-map .leaflet-tooltip { background:#172a2e;color:#eaf3ef;border:1px solid #afc6b9;font-size:12px;box-shadow:0 3px 12px #0002; }
.local-map .leaflet-control-attribution { font-size:10px; }
.future-panel { margin-top:22px; }
.future-panel h2 { margin:10px 0 24px; }
.future-plans { display:grid;grid-template-columns:1fr 1fr;gap:24px; }
.future-plans article { border-left:1px solid #71887c;padding-left:20px; }
.future-plans article>span { color:var(--accent);font:.75rem var(--mono); }
.future-plans h3 { margin:10px 0;font-size:1rem; }
.future-plans p { color:var(--muted);font-size:.84rem; }
.channel-avatar { filter:grayscale(1);background:#151817; }
.gift-details .detail-list dt { min-width:2.2em;white-space:nowrap; }


@media(max-width:760px){.future-plans{grid-template-columns:1fr}.local-map{height:440px}}
@media(max-width:760px){
  .github-filters { flex-basis:100%;grid-template-columns:repeat(2,minmax(0,1fr)); }
  .github-filters .project-search { grid-column:1 / -1;max-width:none; }
}

