:root { color-scheme:light; --ink:#24342f; --muted:#6c7b75; --green:#22795c; --line:#dde5df; }
* { box-sizing:border-box; }
body { margin:0; background:#f5f7f2; color:var(--ink); font:15px/1.65 -apple-system,"Segoe UI","Microsoft YaHei",sans-serif; }
.wrap { max-width:1120px; margin:auto; padding:26px 28px; }
a { color:var(--green); text-underline-offset:3px; }
.topbar,.section-head,.account,.row,.account-actions { display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.topbar { justify-content:space-between; padding-bottom:24px; border-bottom:1px solid var(--line); }
.brand { font-size:20px; font-weight:750; text-decoration:none; color:var(--ink); }
.brand span { margin-left:10px; font-size:13px; color:var(--muted); font-weight:400; }
nav { display:flex; gap:24px; font-size:14px; } nav a { text-decoration:none; }
.intro { padding:32px 0 24px; }
.eyebrow { font-size:12px; font-weight:600; letter-spacing:1px; color:var(--green); }
h1 { font-size:30px; line-height:1.4; margin:10px 0; letter-spacing:-.6px; } h2 { font-size:17px; margin:0; }
p { margin:8px 0; } .intro>p { color:var(--muted); }
.how { font-size:14px; margin-top:12px; max-width:760px; }
summary { cursor:pointer; color:var(--green); font-size:13px; } details p,details li { color:var(--muted); font-size:13px; }
.card { border:1px solid var(--line); background:white; border-radius:18px; padding:24px; min-width:0; } .login { margin-bottom:20px; }
.account { justify-content:space-between; } .account-actions { gap:12px; font-size:13px; }
.balance strong { font-size:30px; font-weight:650; font-variant-numeric:tabular-nums; } .balance span { color:var(--muted); font-size:13px; }
.msg { font-size:13px; overflow-wrap:anywhere; } .msg:empty { display:none; } .account .msg { flex-basis:100%; }
.msg.err,.risk { color:#a6453b; } .msg.ok { color:var(--green); }
button,.button { font:inherit; font-size:14px; padding:11px 18px; border:1px solid var(--line); border-radius:10px; background:white; color:var(--ink); cursor:pointer; text-decoration:none; text-align:center; }
.primary { background:var(--green); color:white; border-color:var(--green); } button:disabled { opacity:.45; cursor:not-allowed; }
.text-button { border:0; padding:5px; background:transparent; color:var(--muted); }
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #8abca6; outline-offset:3px; }
input,select { border:1px solid #cbd7ce; border-radius:9px; padding:10px 12px; background:white; color:var(--ink); font:inherit; min-width:0; max-width:100%; }
.event-strip { margin:18px 0; padding:12px 16px; border-radius:12px; border:1px solid var(--line); font-size:13px; } .event-strip>strong { margin-right:12px; }
.event-strip>details { margin-top:4px; } .event-strip>details>summary { font-size:12px; }
.event-item { border-top:1px solid var(--line); margin-top:10px; padding-top:8px; overflow-wrap:anywhere; }
.play-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:20px; align-items:start; }
.section-head { justify-content:space-between; gap:6px; } .section-head>a { font-size:12px; }
.price { display:flex; align-items:baseline; gap:12px; margin:18px 0 0; }
.price strong { font-size:36px; line-height:1.2; font-weight:600; font-variant-numeric:tabular-nums; } .price span { font-size:12px; color:var(--muted); }
#price-chart { display:block; width:100%; margin:20px 0 5px; background:#fafcf8; border-radius:12px; }
.muted { color:var(--muted); font-size:12px; } .small-details { border-top:1px solid var(--line); padding-top:14px; margin-top:18px; }
.pill,.badge { font-size:11px; color:var(--green); background:#edf6ef; padding:3px 8px; border-radius:10px; }
.step-note { color:var(--muted); font-size:13px; margin:12px 0 18px; }
fieldset { margin:0; border:0; padding:0; min-width:0; } legend,.field-label { display:block; font-weight:600; font-size:13px; margin-bottom:10px; }
.directions { display:flex; gap:10px; margin-bottom:22px; } .direction { flex:1; padding:14px 8px; background:#fafbf8; }
.direction b,.direction span { display:block; } .direction b { font-size:18px; } .direction span { color:var(--muted); font-size:11px; }
.direction.selected { background:#eaf5ed; border:2px solid var(--green); padding:13px 7px; }
.amount { display:flex; align-items:center; border:1px solid #cbd7ce; border-radius:10px; padding:0 14px; }
.amount input { width:100%; border:0; padding:10px 0; font-size:24px; font-weight:600; background:transparent; } .amount span { flex-shrink:0; color:var(--muted); font-size:13px; }
.presets { display:flex; gap:8px; margin:10px 0; } .presets button { font-size:12px; padding:5px 14px; }
.advanced { margin-top:16px; } .check { display:flex; align-items:center; gap:7px; font-size:12px; margin-top:10px; }
#advanced-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0; } #advanced-fields label { font-size:12px; }
#advanced-fields input,#advanced-fields select { display:block; width:100%; } #advanced-fields p { grid-column:1/-1; }
.notice { font-size:13px; padding:10px 14px; border-radius:10px; background:#fff4df; color:#865a1f; }
.actions { gap:8px; margin-top:20px; } .actions button { flex:1; }
.preview { background:#f0f7ed; padding:12px 14px; border-radius:10px; font-size:13px; margin-top:14px; } .preview strong { font-size:20px; }
.position-card h2 { margin-bottom:12px; } .position-score { font-size:36px; font-weight:600; margin:12px 0 0; font-variant-numeric:tabular-nums; }
.positive { color:var(--green); }.negative { color:#a6453b; }
.kv { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; margin:14px 0; font-size:13px; } .kv dt { color:var(--muted); }.kv dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.position-card details { margin-top:18px; } .position-card .primary { width:100%; margin-top:16px; }
.history-card { margin-top:20px; } .history-card>p { font-size:13px; color:var(--muted); margin:12px 0; }
.table-scroll { overflow:auto; margin:14px 0; } table { width:100%; font-size:12px; border-collapse:collapse; white-space:nowrap; }
td,th { padding:8px 10px; border-bottom:1px solid var(--line); text-align:left; } th { color:var(--muted); font-weight:400; }
footer { display:flex; flex-wrap:wrap; align-items:start; gap:16px; margin:26px 0 10px; color:var(--muted); font-size:12px; } footer details { margin-left:auto; }
.hide,#advanced-fields.hide { display:none; }
@media(max-width:760px) { .wrap { padding:18px 16px; }.play-grid { grid-template-columns:1fr; gap:16px; } h1 { font-size:25px; }.intro { padding:24px 0 18px; }.card { padding:20px; }.account-actions { gap:8px; }.market-card { padding-bottom:16px; }#price-chart { max-height:150px; margin-top:10px; }.price strong { font-size:30px; }footer details { margin-left:0; }.brand { font-size:18px; }nav { gap:14px; } }
@media(prefers-reduced-motion:no-preference) { button { transition:background .15s,border-color .15s; } }
.journey { max-width:960px; }
.journey .card { margin-bottom:20px; }
.journey .hero-result { background:#eef6ec; }
.journey .hero-result .big { font-size:34px; font-weight:650; line-height:1.4; font-variant-numeric:tabular-nums; }
.journey .hero-result h2 { margin-bottom:14px; }
.journey .hero-result .row { justify-content:space-between; }
.journey .next-action { display:inline-block; margin-top:16px; }
.journey .metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:20px 0; }
.journey .metrics strong { display:block; font-size:26px; font-weight:600; font-variant-numeric:tabular-nums; }
.journey .metrics span { font-size:12px; color:var(--muted); }
.journey .record { padding:16px 0; border-bottom:1px solid var(--line); }
.journey .record:last-child { border-bottom:0; padding-bottom:0; }
.journey .record .row { justify-content:space-between; align-items:flex-start; gap:10px; }
.journey .record strong { font-size:16px; }
.journey .record details { margin-top:8px; }
.journey .record .kv { margin-bottom:0; }
.journey .rank-row { display:grid; grid-template-columns:40px minmax(0,1fr) auto; gap:12px; padding:14px 8px; align-items:center; border-bottom:1px solid var(--line); }
.journey .rank-row.mine { background:#eef6ec; border-radius:10px; }
.journey .rank-row .nickname { overflow-wrap:anywhere; }
.journey .rank-row .rank { font-weight:650; color:var(--muted); }
.journey .rank-row .score { text-align:right; font-size:16px; font-variant-numeric:tabular-nums; }
.journey .technical { border-top:1px solid var(--line); margin-top:20px; padding-top:16px; }
.journey .technical pre { white-space:pre-wrap; overflow-wrap:anywhere; max-height:320px; overflow:auto; font-size:12px; }
.journey .step-list { display:flex; gap:8px; list-style:none; padding:0; margin:0 0 20px; flex-wrap:wrap; color:var(--muted); font-size:12px; }
.journey .step-list li { background:#f0f3ec; border-radius:20px; padding:5px 12px; }
.journey .step-list .current { color:var(--green); background:#e1f1e5; font-weight:600; }
.journey .confirm-box { margin-top:18px; background:#f3f7ed; padding:18px; border-radius:12px; }
.journey .confirm-box .big { font-size:28px; font-weight:600; }
.journey .login .row { margin-top:14px; }
.journey .card>h2+p { margin-top:10px; }
.journey .error-detail { color:#a6453b; }
.journey .controls { margin:16px 0; }
.journey #price-chart { max-height:230px; }
@media(max-width:760px) { .journey .metrics { gap:8px; }.journey .metrics strong { font-size:22px; }.journey .hero-result .big { font-size:29px; }.journey .rank-row { grid-template-columns:28px minmax(0,1fr) auto; gap:8px; }.journey .rank-row .score { font-size:14px; } }
.journey .hide { display:none; }
.journey .confirm-box p { overflow-wrap:anywhere; }
.journey .technical .card { overflow-x:auto; }
