:root {
  color-scheme: light;
  --paper:#f7f2ea;
  --surface:#fffaf3;
  --ink:#2c251d;
  --muted:#65594d;
  --line:#ded3c4;
  --accent:#a44124;
  --accent-dark:#793019;
  --hero:#241a18;
  --mono:ui-monospace,SFMono-Regular,Consolas,monospace;
  --sans:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  --display:Georgia,"Songti SC","Noto Serif CJK SC",serif;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.6 var(--sans); }
a { color:var(--accent-dark); text-underline-offset:.23em; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
:focus-visible { outline:2px solid var(--accent); outline-offset:4px; }
h1,h2,h3,p,dl { margin:0; }
h1,h2 { font-family:var(--display); font-weight:700; letter-spacing:-.037em; line-height:1.18; }
h1 { font-size:clamp(2.2rem,5vw,3.5rem); }
h2 { font-size:clamp(1.55rem,3vw,2.05rem); }
h3 { font-size:1.1rem; line-height:1.4; }
small { font-size:.8rem; }
.muted,.fine,.byline { color:var(--muted); }
.fine { font-size:.88rem; }
.mono, time,output { font-family:var(--mono); font-variant-numeric:tabular-nums; }
.shell { width:min(1160px,calc(100% - 56px)); margin-inline:auto; }
#content { padding:33px 0 66px; min-height:65vh; }
.site-header { border-bottom:1px solid var(--line); background:#fcf7f0; }
.header-inner { width:min(1240px,calc(100% - 56px)); margin:auto; display:flex; align-items:center; justify-content:space-between; gap:22px; min-height:76px; }
.brand { display:inline-flex; align-items:center; gap:10px; flex:none; color:var(--ink); font-size:1.22rem; font-weight:800; text-decoration:none; }
.brand-mark { width:34px; height:34px; display:grid; place-items:center; background:var(--accent); color:#fff9ed; border-radius:50%; line-height:1; }
.top-nav,.header-actions,.actions,.row { display:flex; align-items:center; gap:12px; }
.top-nav { gap:clamp(10px,3vw,32px); }
.top-nav a,.language-link { color:var(--muted); text-decoration:none; font-weight:650; font-size:.91rem; white-space:nowrap; }
.top-nav a:hover,.top-nav a[aria-current],.language-link:hover { color:var(--accent-dark); text-decoration:underline; }
.language-link { padding:7px 9px; }
.button { display:inline-flex; align-items:center; justify-content:center; border-radius:8px; padding:9px 15px; min-height:42px; border:1px solid transparent; font-weight:700; line-height:1.25; font-size:.9rem; text-align:center; text-decoration:none; }
.primary { color:#fffaf0; background:var(--accent); }
.primary:hover { background:var(--accent-dark); }
.outline { color:var(--accent-dark); border-color:#b9a28f; background:transparent; }
.outline:hover { background:#f1e3d7; }
.compact { min-height:34px; padding:5px 9px; }
.actions { flex-wrap:wrap; margin:12px 0; }
.actions form { margin:0; }
.skip { position:absolute; left:14px; top:-100px; z-index:5; padding:8px 12px; background:var(--surface); }
.skip:focus { top:10px; }
.hero { min-height:410px; position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; border-radius:19px; background:var(--hero); color:#fff7e9; padding:46px 52px; }
.hero::after { position:absolute; content:""; inset:0; z-index:-2; background:radial-gradient(ellipse at 78% 46%,#733a27 0%,#45251f 31%,#271a18 69%); }
.hero-copy { position:relative; max-width:640px; z-index:1; }
.round { display:inline-flex; align-items:center; gap:8px; border:1px solid #c8a873; border-radius:24px; color:#6e4d28; background:#fcf0df; padding:5px 11px; font-size:.83rem; }
.hero .round { color:#ffddaf; background:#4b2f2488; border-color:#ce9d695c; }
.dot { width:6px; height:6px; background:#d87547; border-radius:50%; }
.round time { min-width:2.7rem; font-weight:750; }
.hero h1 { margin:21px 0 12px; font-size:clamp(2.6rem,6.3vw,5.05rem); letter-spacing:-.059em; text-wrap:balance; }
.hero-copy p { color:#f0c9ae; font-size:clamp(1rem,2vw,1.25rem); }
.hero .actions { margin:26px 0 0; }
.hero .primary { background:#e99d73; color:#29180f; border-color:#e99d73; }
.hero .primary:hover { background:#ffd2a9; }
.hero-outline { color:#fff2e3; border-color:#d4a18888; background:#2d1d19aa; }
.hero-outline:hover { background:#593628; }
.hero-art { position:absolute; width:490px; height:390px; right:0; top:50%; transform:translateY(-50%); z-index:-1; opacity:.91; }
.hero-art::before { content:""; position:absolute; inset:-28px; background:repeating-linear-gradient(90deg,#ffe9b50c 0 1px,transparent 1px 35px),repeating-linear-gradient(0deg,#ffe9b50c 0 1px,transparent 1px 35px); mask-image:radial-gradient(closest-side,#000,transparent); }
.orbit { position:absolute; top:50%; left:54%; width:405px; height:198px; transform:translate(-50%,-50%) rotate(-27deg); border-radius:50%; border:1px solid #ffcc9160; }
.orbit-two { width:360px; height:230px; transform:translate(-50%,-50%) rotate(28deg); border-color:#ffcc9138; }
.orbit-three { width:465px; height:260px; border-style:dashed; border-color:#ffcc9134; }
.dream-star { position:absolute; display:grid; place-items:center; width:212px; height:212px; border:1px solid #ecc0888c; border-radius:50%; top:50%; left:54%; transform:translate(-50%,-50%); color:#ffc58f; font-size:9rem; line-height:1; background:radial-gradient(circle at 39% 31%,#ac5b3a 0%,#652e21 54%,#3e241f 77%); box-shadow:0 0 65px #ff9f5150,inset 0 0 0 10px #d58a541a; text-shadow:0 0 35px #ff9c5a88; }
.spark { color:#ffcd9a; font-size:1.5rem; position:absolute; line-height:1; }
.spark-one { left:12%; top:31%; } .spark-two { left:82%; top:19%; font-size:2rem; } .spark-three { left:74%; top:78%; } .spark-four { left:25%; top:80%; font-size:1.2rem; }
.market-summary,.metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); margin:18px 0 28px; gap:12px; }
.metric,.panel { border:1px solid var(--line); background:var(--surface); border-radius:13px; min-width:0; }
.metric { padding:15px 17px; overflow-wrap:anywhere; }
.metric>span { display:block; color:var(--muted); font-size:.86rem; }
.metric strong { display:inline-block; margin-top:5px; font:bold clamp(1.2rem,2.5vw,1.9rem)/1.2 var(--mono); letter-spacing:-.07em; }
.metric small { margin-left:6px; color:var(--muted); }
.section-block { margin-top:28px; }
.section-block>h2 { margin-bottom:13px; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:15px; flex-wrap:wrap; margin-bottom:15px; }
.section-head p { color:var(--muted); margin-top:5px; }
.text-link { font-size:.92rem; font-weight:750; white-space:nowrap; }
.dream-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.dream-card { min-width:0; display:flex; flex-direction:column; padding:18px; gap:11px; }
.dream-card:hover { border-color:#b99576; }
.dream-card-top,.dream-card-bottom { display:flex; align-items:center; justify-content:space-between; gap:7px; }
.dream-card-bottom { margin-top:auto; padding-top:10px; border-top:1px solid var(--line); }
.dream-card-bottom small,.agent small,.admin-coin small { display:block; color:var(--muted); }
.dream-card h3 a,.article-list h3 a { color:var(--ink); text-decoration:none; }
.dream-card h3 a:hover,.article-list h3 a:hover { color:var(--accent-dark); text-decoration:underline; }
.dream-excerpt,.dream-card h3,.story-header { overflow-wrap:anywhere; }
.dream-excerpt { color:var(--muted); font-size:.92rem; line-height:1.65; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.coin-mark { display:inline-grid; place-items:center; background:#eed8cb; color:#843b28; width:47px; height:47px; border-radius:50%; flex:none; font-size:1.54rem; line-height:1; }
.lilac .coin-mark,.coin-mark.lilac { background:#e9dfee; color:#724786; }
.sage .coin-mark,.coin-mark.sage { background:#dde9da; color:#456445; }
.badge { display:inline-block; padding:2px 8px; border:1px solid #d5beac; border-radius:20px; font-size:.72rem; font-weight:650; color:#703921; white-space:nowrap; }
.badge.ai { color:#645468; border-color:#d8ccdd; background:#f1e8f0; }
.lower-stack { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; margin:35px 0 0; }
.prose,.form-panel,.admin-panel { padding:clamp(17px,3vw,31px); overflow-wrap:anywhere; }
.prose>h2,.form-panel>h2,.admin-panel>h2 { margin-bottom:11px; }
.prose>p+p,.prose>p+h2 { margin-top:12px; }
.steps { margin:14px 0 0; padding-left:1.5rem; }
.steps li+li { margin-top:12px; }
.steps li p,.article-list p,.faq p { margin-top:3px; color:var(--muted); }
.faq { padding:10px 0; border-bottom:1px solid var(--line); }
.faq:last-child { border-bottom:0; padding-bottom:0; }
.faq summary { font-weight:700; cursor:pointer; }
.faq p { padding:3px 0 2px 1.2rem; }
.article-list article+article { border-top:1px solid var(--line); margin-top:12px; padding-top:12px; }
.article-page { max-width:820px; }
.page-title { max-width:800px; margin:9px 0 22px; overflow-wrap:anywhere; }
.page-title p { margin-top:8px; color:var(--muted); }
.story-header { padding:clamp(24px,5vw,52px); background:radial-gradient(ellipse farthest-side at top right,#f4dfd2,#fffaf3 75%); }
.story-header.sage { background:radial-gradient(ellipse farthest-side at top right,#e3ecdc,#fffaf3 75%); }
.story-header.lilac { background:radial-gradient(ellipse farthest-side at top right,#eae1ec,#fffaf3 75%); }
.story-header h1 { margin:14px 0 6px; }
.story { font-size:clamp(1.12rem,2vw,1.4rem); line-height:1.6; max-width:780px; margin:14px 0 20px; }
.story p+p { margin-top:12px; }
.price-chart { display:block; width:100%; height:210px; }
.key-values { display:grid; gap:0; margin:10px 0; }
.key-values div { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); }
.key-values dt { color:var(--muted); } .key-values dd { margin:0; text-align:right; }
.table-wrap { max-width:100%; overflow:auto; border:1px solid var(--line); border-radius:11px; background:var(--surface); margin:12px 0; }
table { width:100%; border-collapse:collapse; text-align:left; font-size:.91rem; white-space:nowrap; }
th,td { padding:11px 15px; border-bottom:1px solid var(--line); }
th { color:var(--muted); background:#f3ebe1; }
tr:last-child td { border-bottom:0; }
.subnav { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.subnav a { padding:6px 10px; border:1px solid var(--line); border-radius:8px; text-decoration:none; color:var(--muted); font-size:.87rem; font-weight:650; }
.subnav a[aria-current],.subnav a:hover { background:#f2e4d8; color:var(--accent-dark); }
.form-panel { max-width:680px; }
.stack-form,.field { display:grid; gap:9px; }
.stack-form { gap:13px; margin-bottom:10px; }
.stack-form button { justify-self:start; }
.field { color:var(--muted); gap:5px; font-size:.93rem; min-width:0; font-weight:620; }
input:not([type=range]),textarea,select { width:100%; min-width:0; border:1px solid #bfb0a0; border-radius:7px; background:#fffdf8; color:var(--ink); padding:9px 11px; min-height:43px; }
textarea { min-height:100px; resize:vertical; }
input[type=range] { width:100%; accent-color:var(--accent); }
fieldset { border:1px solid var(--line); min-width:0; border-radius:10px; padding:12px; display:grid; gap:9px; }
legend { color:var(--accent-dark); font-weight:750; }
.notice { padding:11px 14px; margin:12px 0; border-radius:8px; border:1px solid #dfc8b0; background:#f9ead8; color:#5a3827; }
.notice.success { background:#e7efe0; border-color:#bbd3b0; color:#304e28; }
.notice.error { background:#fae4df; border-color:#e0afa3; color:#813021; }
.recovery { display:block; user-select:all; overflow-wrap:anywhere; padding:10px; background:#f3e6d9; border-radius:7px; margin:10px 0; }
.reward { font-size:1.2rem; font-weight:750; color:var(--accent-dark); }
.admin-section-title { margin:21px 0 12px; }
.admin-coin-list { display:grid; gap:10px; margin-top:13px; }
.admin-coin { padding:13px; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.inline-form { display:flex; align-items:end; gap:8px; flex-wrap:wrap; }
.inline-form input { max-width:125px; }
.agent-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(165px,1fr)); gap:10px; }
.agent { padding:12px; display:flex; align-items:center; gap:8px; }
.site-footer { border-top:1px solid var(--line); padding:25px 0; background:#efe6d9; }
.footer-inner { display:grid; gap:13px; }
.footer-inner strong { font-size:1.18rem; }
.footer-inner p { color:var(--muted); }
.footer-links { display:flex; gap:15px; flex-wrap:wrap; }
.footer-links a { font-weight:650; font-size:.9rem; }
@media(max-width:850px) {
  .header-inner { gap:10px; flex-wrap:wrap; padding:12px 0 9px; }
  .top-nav { order:3; width:100%; justify-content:center; overflow:auto; }
  .hero-art { right:-95px; opacity:.62; }
  .hero { min-height:365px; padding:29px; }
  .dream-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px) {
  .shell,.header-inner { width:calc(100% - 26px); }
  #content { padding-top:17px; }
  .brand { font-size:1.03rem; }
  .brand-mark { width:29px; height:29px; }
  .header-actions { gap:3px; }
  .header-actions .button { min-height:34px; padding:6px 8px; }
  .language-link { padding:5px; }
  .top-nav { gap:19px; justify-content:flex-start; }
  .top-nav a { font-size:.84rem; }
  .hero { min-height:350px; padding:21px 18px; }
  .hero-art { right:-181px; opacity:.47; }
  .hero h1 { font-size:2.55rem; }
  .market-summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; }
  .market-summary .metric { padding:8px 7px; }
  .market-summary .metric>span { font-size:.74rem; }
  .market-summary .metric strong { font-size:1.13rem; }
  .dream-grid { grid-template-columns:minmax(0,1fr); gap:9px; }
  .dream-card { padding:14px; }
  .section-head { align-items:flex-start; }
  th,td { padding:9px 10px; }
}

.activity-home { margin-top:30px; }
.activity-head { align-items:center; margin-bottom:8px; }
.activity-list { list-style:none; margin:0; padding:0; }
.activity-item,.current-event { display:grid; grid-template-columns:33px minmax(0,1fr); gap:10px; align-items:start; }
.activity-item { padding:12px 0; }
.activity-item + .activity-item { border-top:1px solid var(--line); }
.activity-item:last-child { padding-bottom:0; }
.activity-item strong,.current-event strong { display:block; font-size:.94rem; overflow-wrap:anywhere; }
.activity-item time,.activity-item p,.current-event p { color:var(--muted); font-size:.8rem; }
.activity-item time { display:block; margin-top:3px; }
.activity-icon { width:31px; height:31px; display:grid; place-items:center; border-radius:9px; background:#eee5da; color:#664a34; }
.activity-icon.rally { background:#e1eadb; color:#365e35; }
.activity-icon.caution { background:#f5e5d3; color:#734515; }
.activity-icon.stories { background:#ece1ed; color:#704579; }
.current-event { background:#f3ebe1; border:1px solid var(--line); border-radius:9px; padding:10px; margin-bottom:4px; }
.market-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,270px); align-items:start; gap:18px; }
.market-table { min-width:0; }
.market-table .section-head { margin-bottom:7px; }
.market-table th,.market-table td { padding:9px 10px; }
.market-activity { padding:14px; }
.market-activity h2 { font-size:1.3rem; }
.quote-token { display:flex; align-items:center; gap:7px; color:var(--ink); text-decoration:none; }
.quote-token:hover { text-decoration:underline; }
.quote-token .coin-mark { width:31px; height:31px; font-size:1.1rem; }
.quote-token small { display:block; color:var(--muted); }
.market-spark { display:block; width:60px; height:24px; }
.positive { color:#32673e; }
.negative { color:#a4332c; }
@media(max-width:940px) {
  .market-layout { grid-template-columns:minmax(0,1fr); }
}
