/* NearOre identity: charcoal rock, mint pickaxe, bright ore seam. */
:root {
  color-scheme: dark;
  --bedrock: #07080d;
  --panel: #101a1d;
  --panel-deep: #0c1316;
  --line: #2a4642;
  --ink: #f1faf7;
  --muted: #aabfba;
  --mint: #2cedbf;
  --ore: #82f49a;
  background: var(--bedrock);
  color: var(--ink);
}
body { background: var(--bedrock); color: var(--ink); }
[hidden] { display: none !important; }
.wallet-status { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 30px; flex-wrap: wrap; margin: -3px 0 20px; padding: 13px 16px; border-left: 3px solid var(--mint); background: #10221f; color: #ccece1; font-size: 13px; line-height: 1.5; }
.back-home { color: #c7e3d5; font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.back-home:hover, .brand:hover { color: var(--mint); }
.back-home:focus-visible, .brand:focus-visible { outline: 3px solid var(--ore); outline-offset: 4px; }
.wallet-status span:nth-child(2) { color: #98bdaf; font-size: 12px; }
.wallet-status #hostingNote { flex-basis: 100%; color: #f6d09d; font-weight: 700; }
.wallet-disconnect { border-color: #58736b; color: #deeee8; }
.demo-entry { width: 100%; margin: 18px 0 7px; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--ore); outline-offset: 3px; }
.demo-strip { background: #153e36; color: #d6ffeb; padding: 9px 16px; font-size: 12px; border-bottom: 1px solid #287861; }
.site-shell { max-width: 1320px; padding: 0 40px; }
.topbar { height: 83px; border-color: #29403d; }
.brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.075em; line-height: 1; }
.brand-ore { color: var(--mint); margin-left: 5px; }
.network { color: #bed2ca; }
.network-dot { background: var(--ore); box-shadow: 0 0 9px #6ef6a2; }
.wallet-btn { background: transparent; color: var(--mint); border: 1px solid #428f78; border-radius: 5px; padding: 11px 16px; }
.wallet-btn:hover:not(:disabled) { background: #163a32; color: #fff; }
.intro { display: grid; grid-template-columns: minmax(205px, 275px) minmax(0, 1fr) 170px; align-items: center; gap: clamp(22px,3vw,50px); padding: 25px 0 30px; min-height: 268px; }
.logo-frame { width: 100%; min-width: 0; background: var(--bedrock); }
.hero-logo { display: block; width: 100%; height: auto; mix-blend-mode: screen; }
.intro-copy { min-width: 0; }
.kicker { color: var(--mint); font-size: 13px; margin: 0 0 13px; }
.intro h1 { color: var(--ink); font-weight: 700; font-size: clamp(43px, 5vw, 67px); line-height: .98; letter-spacing: -.067em; }
.lede { color: #bdcec9; margin-top: 17px; font-size: 15px; line-height: 1.55; max-width: 520px; }
.day-stamp { border-color: #3d5b54; padding-left: 20px; min-width: 0; margin-bottom: 0; }
.day-stamp span, .day-stamp small { color: #b5c9c2; }
.day-stamp strong { color: var(--ore); font-size: 18px; }
.error-banner { background: #321e21; border: 1px solid #a35a57; color: #ffd3c9; }
.workspace { gap: 13px; grid-template-columns: minmax(0, 1.65fr) minmax(310px, 1fr); }
.mine-panel { min-height: 450px; border: 1px solid #32635b; border-radius: 9px; background: #0e1d20; }
.panel-top { padding: 25px 28px; }
.section-name, .small-label { color: #acc6bc; font-size: 13px; }
.mine-panel .section-name { color: var(--mint); }
.chip { color: var(--ore); border: 1px solid #42715f; background: #122d29; border-radius: 4px; }
.mine-visual { inset: 70px 30px 97px; }
.mine-arc { width: 285px; height: 285px; border-radius: 10px; border-color: rgba(71,177,144,.23); transform: rotate(45deg) scaleY(.58); }
.mine-arc.arc-two { width: 213px; height: 213px; border-color: rgba(63,217,163,.31); }
.mine-arc.arc-three { width: 140px; height: 140px; border-color: rgba(106,239,170,.55); }
.ore-core { color: var(--ore); font-size: 85px; text-shadow: 0 0 38px rgba(62,239,158,.42); transform: rotate(0deg); }
.ground-line { background: linear-gradient(90deg, transparent, #318d70, transparent); }
.mine-bottom { background: linear-gradient(180deg, transparent, #0e1d20 19%); padding: 22px 28px 26px; }
.mine-bottom .small-label { color: var(--mint); }
.mine-bottom h2 { color: var(--ink); }
.mine-desc { color: #b8d0ca; }
.primary-button, .strike-button { background: var(--mint); color: #06231c; border-radius: 5px; font-weight: 700; }
.primary-button:hover:not(:disabled), .strike-button:hover:not(:disabled) { background: #a5ffd1; }
.side-panel { border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.hold-section, .claim-section { padding: 23px 25px; }
.claim-section { border-color: var(--line); }
.mini-mark { color: var(--mint); }
.balance-number span, .claim-number span { color: var(--ink); }
.balance-number small, .claim-number small { color: #b7d3c8; }
.balance-number em { background: #1d483d; color: #c7ffda; }
.progress-meta { color: #adc5bd; }
.progress-meta strong { color: var(--ore); }
.progress { background: #29413d; }
.progress span { background: var(--mint); }
.helper { color: #afc5bf; font-size: 12px; }
.text-button { color: var(--mint); }
.text-button.subtle { color: #c2d2cc; }
.claim-star { color: var(--ore); }
.claim-section #nextPayoutTime { color: var(--ore); font-weight: 700; overflow-wrap: anywhere; }
.payout-status { color: #d5fce4; background: #153e36; border-left: 3px solid var(--mint); padding: 9px 11px; font-size: 12px; line-height: 1.5; }
.outline-button { background: #142f29; border-color: #4c9b7b; color: #dbffe8; border-radius: 5px; }
.outline-button:hover:not(:disabled) { background: #215544; }
.lower-grid { padding-top: 35px; }
.real-panel[hidden] { display: none !important; }
.real-panel { margin-top: 24px; padding: 24px 28px; border: 1px solid var(--line); background: #102a29; border-radius: 9px; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.real-panel h2 { margin: 8px 0; font-size: 23px; color: #e5ffeb; }
.real-panel p { color: #bed3c6; max-width: 55ch; }
.real-actions { display: flex; flex-direction: column; gap: 9px; flex-shrink: 0; }
.real-actions button { padding: 11px 14px; border-radius: 5px; border: 1px solid #69c69a; color: #d9ffe8; background: #193e34; }
@media (max-width: 680px) { .real-panel { flex-direction: column; align-items: stretch; } }
.progression-note, .lower-grid li span { color: #b7cbc2; }
.lower-grid li strong { color: #edf9f2; }
.activity li { border-color: var(--line); }
.activity li time, .empty-history { color: #a9bfb7; }
.reset-button { color: #bfd0c8; }
footer { border-color: var(--line); color: #a9bbb4; }
.drill-game { background: #102a2a; border-color: #4b9b78; border-radius: 7px; }
.mine-panel.is-drilling .drill-game { position: relative; top: auto; left: auto; right: auto; transform: none; margin: 8px 28px 18px; flex: none; }
.mine-panel.is-drilling .mine-bottom { margin-top: 0; }
.drill-game p { color: #eafff4; }
.drill-track { background: #29413d; border-color: #679b84; }
.sweet-spot { left: 47%; width: 6%; background: var(--ore); border-color: #dbffe1; }
.drill-game.is-manual .sweet-spot { visibility: hidden; }
.manual-hint { font-size: 12px !important; line-height: 1.5; color: #cce8dc !important; margin: 12px 0 !important; }
.strike-result { color: var(--ore); font-size: 14px; font-weight: 700; margin: 9px 0 0; }
.strike-result:empty { display: none; }
.drill-labels, .aim-option, .aim-label { color: #d0e8da; }
.drill-labels span:nth-child(2) { color: var(--ore); }
.aim-option input, .aim-slider { accent-color: var(--mint); }
@media (max-width: 900px) {
  .intro { grid-template-columns: 178px 1fr; gap: 23px; min-height: 0; }
  .day-stamp { grid-column: 2; margin-top: -8px; }
}
@media (max-width: 700px) {
  .site-shell { padding: 0 18px; }
  .topbar { height: 76px; }
  .brand { font-size: 22px; }
  .header-right { gap: 10px; }
  .back-long { display: none; }
  .back-home { font-size: 12px; }
  .wallet-btn { font-size: 12px; padding: 9px 11px; min-height: 44px; }
  .intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr); gap: 9px 14px; padding: 25px 0 27px; align-items: center; }
  .logo-frame { grid-row: 1; }
  .intro-copy { grid-row: 1; }
  .intro h1 { font-size: clamp(33px, 8vw, 48px); }
  .kicker { font-size: 11px; }
  .lede { font-size: 13px; line-height: 1.48; margin-top: 10px; }
  .day-stamp { grid-column: 1 / -1; grid-row: 2; margin: 12px 0 0; border-left: 0; border-top: 1px solid #38554e; padding: 11px 0 0; display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
  .day-stamp small { grid-column: 1 / -1; }
  .workspace { display: block; }
  .side-panel { margin-top: 14px; }
  .mine-panel { min-height: 420px; }
  .lower-grid { padding-top: 28px; }
  .mine-panel.is-drilling { min-height: 520px; }
  .mine-panel.is-drilling .drill-game { margin: 8px 16px 18px; }
}
@media (max-width: 370px) {
  .intro { grid-template-columns: 115px 1fr; }
  .intro h1 { font-size: 32px; }
  .lede { font-size: 12px; }
  .brand { font-size: 19px; }
  .wallet-btn { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { mix-blend-mode: normal; }
}
