.home-overview { color:var(--ink); }
.home-overview .page-head { margin-bottom:22px; }
.home-overview .page-head h1 { font-size:clamp(1.75rem,3vw,2.25rem); letter-spacing:-.045em; font-weight:700; }
.home-overview .page-head p { margin-top:4px; font-size:1rem; }
.home-level { display:grid; gap:12px; padding:20px; margin-bottom:18px; background:var(--surface); border:1px solid var(--line); border-radius:18px; text-decoration:none; }
.home-level-heading { display:flex; align-items:center; gap:10px; font-size:1rem; font-weight:650; }
.home-level-heading>span { display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:#e2f4ee; color:var(--green); }
.home-level-heading svg { width:18px; height:18px; }
.home-level-steps { display:grid; grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr); align-items:center; gap:12px; padding:4px 0 8px; }
.home-level-step { display:grid; justify-items:center; gap:6px; min-width:0; text-align:center; }
.home-level .level-badge { --badge-size:84px; margin-bottom:4px; }
.home-level-step>strong { font-size:.9375rem; font-weight:650; }
.home-level-step>span:not(.level-badge) { color:var(--muted); font-size:.75rem; }
.home-level-arrow { display:grid; place-items:center; color:var(--muted); padding-bottom:40px; }
.home-level-arrow svg { width:22px; height:22px; }
.home-level-caption { display:flex; justify-content:space-between; gap:12px; font-size:.75rem; color:var(--muted); }
.home-level progress { appearance:none; width:100%; height:8px; border:0; border-radius:20px; overflow:hidden; background:#e4ebf0; }
.home-level progress::-webkit-progress-bar { background:#e4ebf0; border-radius:20px; }
.home-level progress::-webkit-progress-value { background:#008675; border-radius:20px; }
.home-level progress::-moz-progress-bar { background:#008675; border-radius:20px; }
.home-finances { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr); grid-template-areas:"wallet summaries"; gap:18px; }
.home-wallet { grid-area:wallet; padding:24px; border-radius:18px; color:white; background:linear-gradient(120deg,#006459,#098572); min-width:0; }
.home-wallet-label { display:flex; align-items:center; justify-content:space-between; font-size:1rem; }
.home-wallet-label svg { width:32px; height:32px; color:#a4e2d7; }
.home-wallet-value { display:block; margin:4px 0; font-size:clamp(2.4rem,4vw,3.4rem); font-weight:750; line-height:1.15; letter-spacing:-.04em; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.home-wallet p { color:#d3eee9; margin:10px 0 20px; font-size:.9375rem; }
.home-wallet-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.home-wallet-actions button { display:flex; justify-content:center; align-items:center; gap:8px; min-height:46px; padding:10px; border:1px solid white; border-radius:10px; font:inherit; font-weight:650; background:white; color:#006459; }
.home-wallet-actions button:last-child { color:white; background:transparent; }
.home-wallet-actions button:disabled { cursor:not-allowed; opacity:.75; }
.home-wallet-actions svg { width:22px; height:22px; flex:none; }
.home-wallet-link { display:flex; align-items:center; justify-content:center; gap:6px; color:white; font-size:.8125rem; margin-top:12px; min-height:28px; }
.home-wallet-link svg { width:14px; height:14px; }
.home-service-note { color:var(--muted); font-size:.75rem; line-height:1.5; margin:10px 0 22px; }
.home-held { display:flex; flex-wrap:wrap; gap:24px; padding:14px 18px; border:1px solid var(--line); border-radius:12px; }
.home-held dt { font-size:.8125rem; color:var(--muted); }
.home-held dd { margin:4px 0 0; font-weight:650; }
.home-overview h2 { font-size:1.25rem; font-weight:700; letter-spacing:-.025em; }
.home-mining-count { display:inline-flex; align-items:center; gap:5px; color:var(--muted); font-size:.9375rem; min-height:28px; }
.home-mining-count svg { width:15px; height:15px; }
.home-running-count { display:flex; align-items:center; gap:7px; color:var(--green); font-size:.8125rem; }
.home-running-count svg { width:22px; height:22px; }
.home-miner-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.home-miner { display:flex; align-items:center; gap:16px; padding:18px; border:1px solid var(--line); border-radius:16px; background:var(--surface); min-width:0; text-decoration:none; }
.home-miner-photo { width:100px; height:100px; object-fit:contain; border-radius:10px; flex:none; }
.home-miner-copy { display:grid; gap:4px; min-width:0; flex:1; }
.home-miner-copy>strong { font-size:1rem; line-height:1.25; }
.home-miner-copy>span:not(.home-coin) { font-size:.8125rem; color:var(--muted); }
.home-coin { display:flex; align-items:center; gap:7px; font-size:.8125rem; font-weight:600; margin-top:3px; }
.home-coin img { object-fit:contain; }
.home-miner-action { display:flex; align-items:center; gap:4px; font-size:.8125rem; font-weight:650; color:var(--green); white-space:nowrap; }
.home-miner-action svg { width:17px; height:17px; }
.home-recent { margin-top:22px; }
.home-activity-list { border:1px solid var(--line); border-radius:16px; background:var(--surface); padding:0 20px; }
.home-empty-activity { display:flex; align-items:center; gap:16px; padding:22px 0; }
.home-empty-activity>span { width:44px; height:44px; display:grid; place-items:center; background:var(--page); border-radius:12px; color:var(--muted); flex:none; }
.home-empty-activity svg { width:27px; height:27px; }
.home-empty-activity strong { font-weight:600; font-size:.9375rem; }
.home-empty-activity p { margin:4px 0 0; color:var(--muted); font-size:.875rem; }
.home-overview a:focus-visible { outline:2px solid var(--green); outline-offset:4px; }
@media(hover:hover) { .home-miner:hover,.home-level:hover { border-color:#79bcae; } }
@media(max-width:1200px) { .home-miner-list { grid-template-columns:1fr; } }
@media(max-width:1000px) { .home-finances { grid-template-columns:1fr; grid-template-areas:"wallet" "summaries"; } }
@media(max-width:600px) {
  .home-overview .page-head { margin-bottom:18px; }
  .home-level { padding:16px; gap:12px; margin-bottom:14px; }
  .home-level .level-badge { --badge-size:64px; }
  .home-level-caption { font-size:.75rem; }
  .home-level-caption { font-size:.6875rem; }
  .home-wallet { padding:18px; }
  .home-wallet p { font-size:.8125rem; margin:8px 0 16px; }
  .home-finances { gap:12px; }
  .home-miner { padding:14px 12px; gap:12px; flex-wrap:wrap; }
  .home-miner-photo { width:72px; height:82px; }
  .home-miner-action { width:100%; justify-content:flex-end; margin-top:-4px; }
  .home-miner-copy>strong { font-size:.9375rem; }
  .home-service-note { margin-bottom:18px; }
  .home-activity-list { padding:0 16px; }
  .home-empty-activity { gap:12px; }
  .home-running-count { font-size:.75rem; }
  body:has(.home-overview) .demo-tag { display:none; }
}
