:root { color-scheme: dark; --bg:#151311; --panel:#211c17; --line:#41352a; --text:#fff1df; --muted:#c8b6a1; --gold:#f9cb80; font-family:system-ui,"Microsoft YaHei",sans-serif; }
* { box-sizing:border-box; }
body { margin:0; background:var(--bg); color:var(--text); line-height:1.6; }
.wrap { width:min(1080px, calc(100% - 40px)); margin:auto; }
a { color:var(--gold); text-underline-offset:.22em; }
.mast { display:flex; justify-content:space-between; align-items:center; padding:20px 0; gap:16px; }
.brand { font-size:1.35rem; letter-spacing:.04em; font-weight:800; color:var(--text); text-decoration:none; }
nav,.files { display:flex; gap:clamp(12px, 3vw, 28px); flex-wrap:wrap; }
nav a { color:var(--muted); text-decoration:none; font-size:.91rem; }
.hero { min-height:345px; background:linear-gradient(120deg,#261d16,#37291d); padding:clamp(24px,5vw,56px); border:1px solid var(--line); border-radius:18px; display:grid; grid-template-columns:1.5fr 1fr; align-items:center; gap:24px; }
.kicker { color:var(--gold); font-size:.76rem; font-weight:750; letter-spacing:.16em; margin:0 0 .45em; }
.kicker span { margin:0 .4em; }
h1,h2,h3,p { margin-top:0; }
h1 { font-size:clamp(2.65rem,7vw,5rem); line-height:1.06; letter-spacing:-.05em; margin-bottom:.25em; }
h2 { font-size:clamp(1.55rem,4vw,2rem); line-height:1.25; margin-bottom:16px; }
h3 { margin-bottom:8px; }
.hero-sub { color:var(--muted); font-size:1.15rem; }
.facts { list-style:none; display:flex; flex-wrap:wrap; gap:7px; padding:0; margin:0 0 24px; }
.facts li { padding:3px 9px; border:1px solid #775533; border-radius:5px; font-size:.81rem; }
.chest { width:100%; max-width:350px; justify-self:center; }
.button,button { display:inline-block; border:1px solid #875c35; border-radius:8px; padding:8px 15px; color:var(--text); background:#37291d; font:inherit; font-weight:680; text-decoration:none; cursor:pointer; white-space:nowrap; }
.primary { background:var(--gold); border-color:var(--gold); color:#2c1d12; }
button:disabled { opacity:.58; cursor:not-allowed; }
.section { padding:32px 0; border-bottom:1px solid var(--line); }
.section-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.section-head label { color:var(--muted); font-size:.88rem; }
input { background:#151311; color:var(--text); border:1px solid #695748; border-radius:7px; font:inherit; min-width:0; padding:8px 10px; }
#week { width:86px; margin-left:4px; }
.stats,.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:0 0 12px; }
.stats div,.cards article { padding:16px; background:var(--panel); border:1px solid var(--line); border-radius:10px; }
dt,.muted,.rule,.cards p,footer { color:var(--muted); }
dt { font-size:.83rem; }
dd { margin:2px 0 0; font-variant-numeric:tabular-nums; font-weight:750; font-size:clamp(1.2rem,3vw,1.7rem); overflow-wrap:anywhere; }
.quote { max-width:660px; margin-top:24px; }
.quote label { display:block; margin-bottom:6px; font-weight:680; }
.quote label span { font-size:.88rem; font-weight:400; margin-left:6px; }
.quote div { display:flex; gap:8px; }
.quote input { flex:1; }
.quote p,.cards p { margin:8px 0 0; }
.cards span { color:var(--gold); font-size:.85rem; font-variant-numeric:tabular-nums; }
.rule { margin:12px 0 0; }
code { overflow-wrap:anywhere; }
footer { padding:20px 0 28px; font-size:.82rem; }
:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }
@media (max-width:640px) { .wrap{width:calc(100% - 28px)} .hero{min-height:0;grid-template-columns:1fr;gap:8px} .chest{width:min(60%,230px);justify-self:end} .cards{grid-template-columns:1fr} .stats{gap:5px} .stats div{padding:8px} nav{gap:10px} }
