/* ─── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:       #0d0d0d;
  --bg2:      #141414;
  --bg3:      #1a1a1a;
  --border:   rgba(255,255,255,.07);
  --amber:    #BA7517;
  --amber-lt: #d4881a;
  --red:      #E24B4A;
  --green:    #639922;
  --muted:    #555;
  --text:     #e8e8e8;
  --text2:    #888;
  --radius:   12px;
  --radius-sm:8px;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 100px;
  -webkit-font-smoothing: antialiased;
}

/* ─── TOPBAR ─────────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: 'DM', sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.logo span {
  color: #c9882a;
  font-size: 10px;
  border-radius: 50%;
  animation: pulse 2s infinite;
  display: inline-block;
  width: 6px;
  height: 6px;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text2);
}
/* ─── SCORE CARD ─────────────────────────────────────────────── */
/* REPLACE WITH: */
.score-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 16px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--amber);
}
.meter {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}
.meter svg { width: 100%; height: 100%; }
.meter-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.meter-num {
  font-family: 'DM', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  color: var(--amber);
}
.meter-of { font-size: 11px; color: var(--text2); }
.score-right { flex: 1; min-width: 0; }

.session {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--amber);
  font-weight: 700;
  margin-bottom: 6px;
  opacity: .85;
}
.grade {
  font-family: 'DM', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  color: var(--text);
}
.advice {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 8px;
}
.stamp { font-size: 10px; color: #444; }
.weather-src { font-size: 10px; color: #444; margin-top: 2px; }
.weather-src.live { color: #4caf50; }

/* ─── TIP OF THE DAY ─────────────────────────────────────────── */
.tip-strip {
  margin: 12px 16px 0;
  padding: 12px 14px;
  background: rgba(186,117,23,.08);
  border: 1px solid rgba(186,117,23,.2);
  border-radius: var(--radius);
  font-size: 12px;
  color: #c9882a;
  line-height: 1.5;
}
.tip-strip strong { color: var(--amber); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 3px; }

/* ─── FACTORS ─────────────────────────────────────────────────── */
.factors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px 0;
}
.fc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
}
.fc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.fc-name { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--text2); }
.fc-icon { font-size: 14px; }
.fc-val { font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fc-bar { height: 3px; background: rgba(255,255,255,.06); border-radius: 2px; margin-bottom: 5px; overflow: hidden; }
.fc-fill { height: 100%; border-radius: 2px; transition: width .8s ease; }
.fill-hot  { background: var(--red); }
.fill-warm { background: var(--amber); }
.fill-mid  { background: var(--green); }
.fill-cool { background: var(--muted); }
.fc-sub { font-size: 10px; color: var(--text2); }

/* ─── INSIGHT ─────────────────────────────────────────────────── */
.insight-strip {
  margin: 12px 16px 0;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text2);
}

/* ─── ALERT CONFIG ───────────────────────────────────────────── */
.alert-config { display: none; padding: 10px 16px 0; }
.alert-config.show { display: block; }
.alert-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text2);
}
.alert-row input[type=range] { flex: 1; accent-color: var(--amber); }
.threshold-val { font-weight: 700; color: var(--amber); min-width: 20px; text-align: center; }

/* ─── CONTROLS ───────────────────────────────────────────────── */
.controls {
  display: flex;
  gap: 8px;
  padding: 12px 16px 0;
}
.ctrl-btn {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 12px;
  padding: 9px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.ctrl-btn:hover { background: var(--bg3); color: var(--text); }

/* ─── SECTION LABEL ─────────────────────────────────────────── */
.section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  padding: 16px 16px 8px;
  font-weight: 600;
}

/* ─── ZONES ──────────────────────────────────────────────────── */
.zones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px;
}
.zc {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
.zc:active { background: var(--bg3); }
.zc-nav {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 10px;
  color: var(--muted);
  opacity: 0;
  transition: opacity .15s;
}
.zc:hover .zc-nav { opacity: 1; }
.zc-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; font-family: 'DM', sans-serif; }
.zc-score { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.pip { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.zc-why { font-size: 10px; color: var(--text2); line-height: 1.4; margin-bottom: 4px; }
.zc-trend { font-size: 10px; font-weight: 600; }
.zc-maps { font-size: 10px; color: var(--amber); margin-top: 5px; padding-top: 5px; border-top: 1px solid var(--border); }

/* ─── HISTORY ────────────────────────────────────────────────── */
.history-section { padding: 0 16px; }
.history-chart-wrap {
  position: relative;
  height: 100px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
#history-chart { width: 100%; height: 100%; }
.history-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 16px;
}
.history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 6px;
  font-size: 12px;
}
.history-row-left { display: flex; align-items: center; gap: 7px; color: var(--text2); }
.history-row-right { font-weight: 700; font-size: 13px; }
.h-pip { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ─── EARNINGS LOG ───────────────────────────────────────────── */
.earnings-fab {
  position: fixed;
  bottom: 20px;
  right: 16px;
  background: var(--amber);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(186,117,23,.4);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: transform .15s;
  font-family: 'DM Sans', sans-serif;
}
.earnings-fab:active { transform: scale(.96); }

.earnings-sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-end;
}
.earnings-sheet.open { display: flex; }
.earnings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
}
.earnings-panel {
  position: relative;
  width: 100%;
  margin: 0 auto;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  padding: 20px 16px 32px;
  z-index: 1;
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.earnings-handle {
  width: 36px; height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: 0 auto 16px;
}
.earnings-title {
  font-family: 'DM sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.earnings-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.e-stat {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}
.e-stat-val { font-size: 16px; font-weight: 700; color: var(--amber); font-family: 'DM sans', sans-serif; }
.e-stat-label { font-size: 10px; color: var(--text2); margin-top: 2px; }
.earnings-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.earnings-form input, .earnings-form select {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  padding: 10px 12px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.earnings-form input:focus, .earnings-form select:focus { border-color: var(--amber); }
.earnings-log-btn {
  width: 100%;
  background: var(--amber);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 16px;
}
.fares-list { display: flex; flex-direction: column; gap: 6px; max-height: 180px; overflow-y: auto; }
.fare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.fare-row-left { color: var(--text2); }
.fare-row-right { font-weight: 700; color: var(--amber); }
.fare-row-del { color: var(--muted); cursor: pointer; padding: 0 4px; font-size: 14px; }

/* ─── AI BOX ─────────────────────────────────────────────────── */
.ai-box {
  margin: 12px 16px 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(186,117,23,.05);
}
.ai-head-title { font-size: 12px; font-weight: 600; color: var(--text2); }
.ai-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--amber);
  border: 1px solid rgba(186,117,23,.3);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.ai-body { padding: 14px; }
.ai-text {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 12px;
  min-height: 42px;
}
.ai-btns { display: flex; gap: 8px; }
.ai-btn {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 12px;
  padding: 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .15s;
}
.ai-btn.prime {
  background: var(--amber);
  border-color: var(--amber);
  color: #000;
  font-weight: 700;
}
.ai-btn.prime:disabled { opacity: .6; cursor: not-allowed; }

/* ─── NOTIF BTN ──────────────────────────────────────────────── */
.notif-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text2);
  font-size: 11px;
  padding: 4px 8px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.notif-btn.on { border-color: var(--amber); color: var(--amber); }

/* ─── SPINNER ────────────────────────────────────────────────── */
.spin {
  display: inline-block;
  width: 10px; height: 10px;
  border: 2px solid rgba(0,0,0,.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin .6s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── TOAST ──────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #222;
  color: var(--text);
  font-size: 12px;
  padding: 9px 16px;
  border-radius: 50px;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
  z-index: 300;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── GOAL STRIP ─────────────────────────────────────────────── */
.goal-strip {
  margin: 10px 16px 0;
  padding: 10px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.goal-strip-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text2);
  margin-bottom: 6px;
}
.goal-strip-track {
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
}
.goal-strip-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--amber);
  transition: width .6s ease;
}

/* ─── NEXT WINDOW ────────────────────────────────────────────── */
.next-window {
  margin: 10px 16px 0;
  padding: 12px 14px;
  background: rgba(186,117,23,.07);
  border: 1px solid rgba(186,117,23,.18);
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.next-window-label-top {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 2px;
}
.next-window-name {
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM', sans-serif;
}
.next-window-right { text-align: right; }
.next-window-time {
  font-size: 18px;
  font-weight: 800;
  font-family:'DM', sans-serif;
  color: var(--amber);
}
.next-window-score { font-size: 11px; color: var(--text2); }

/* ─── ZONE FAV / CUSTOM ──────────────────────────────────────── */
.zc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 4px; }
.zc-fav {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
}
.zc-fav.on { color: var(--amber); }
.zc-custom {
  font-size: 9px;
  color: var(--muted);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── PANEL INTERNALS ────────────────────────────────────────── */
.panel-section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  font-weight: 600;
  margin: 14px 0 6px;
}
.fuel-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
}
.fuel-btn:active { background: #222; }
.goal-bar-track {
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.goal-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--amber);
  transition: width .6s ease;
}
.goal-bar-label { font-size: 10px; color: var(--text2); }
.empty-msg { font-size: 12px; color: var(--muted); text-align: center; padding: 12px; }

.theme-btn {
  background: var(--amber);
  color: rgb(14, 0, 0);
  cursor: pointer;
  border: none;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 8px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .02em;
  transition: opacity .15s;
  white-space: nowrap;

}

/* ─── PRO BUTTON ─────────────────────────────────────────────── */
.pro-btn {
  background: var(--amber);
  color: #000;
  border: none;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .02em;
  transition: opacity .15s;
  white-space: nowrap;
}
.pro-btn:active { opacity: .8; }
 
/* ─── PRO MODAL */
.pro-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 400;
}
.pro-overlay.show { display: block; }
 
.pro-modal {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-radius: 20px 20px 0 0;
  padding: 28px 20px 36px;
  z-index: 401;
  animation: slideUp .3s ease;
}
.pro-modal.show { display: block; }
 
.pro-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
 
.pro-modal-badge {
  display: inline-block;
  background: var(--amber);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 14px;
}
 
.pro-modal-title {
  font-family: 'DM sans', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
  color: var(--text);
}
 
.pro-modal-sub {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 20px;
}
 
.pro-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}
.pro-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.pro-check {
  color: var(--amber);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
 
.pro-cta {
  width: 100%;
  background: var(--amber);
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 14px;
  transition: opacity .15s;
}
.pro-cta:active { opacity: .85; }
 
.pro-dismiss {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.pro-dismiss:hover { color: var(--text2); }

 
/* ─── SURGE STRIP ── */
.surge-strip {
  margin: 10px 16px 0;
  padding: 12px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .4s ease;
}
.surge-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.surge-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}
.surge-level {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.surge-right {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
  text-align: right;
  max-width: 55%;
}
.surge-signals {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
}

/* ─── LOGIN SCREEN ───────────────────────────────────────────── */
#login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
}
.login-box {
  width: 100%;
  max-width: 380px;
}
.login-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  color: var(--text);
}
.login-logo span { color: var(--amber); }
.login-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--text);
}
.login-sub {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 28px;
}
.login-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.login-phone-row {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.login-prefix {
  padding: 12px 12px;
  font-size: 14px;
  color: var(--text2);
  border-right: 1px solid var(--border);
  white-space: nowrap;
}
.login-input {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.login-phone-row .login-input {
  border: none;
  border-radius: 0;
  flex: 1;
}
.login-input:focus { border-color: var(--amber); }
.login-btn {
  width: 100%;
  background: var(--amber);
  color: #000;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  margin-top: 4px;
  margin-bottom: 12px;
  transition: opacity .15s;
}
.login-btn:disabled { opacity: .6; cursor: not-allowed; }
.login-resend {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  text-align: center;
  margin-bottom: 12px;
}
.login-resend:hover { color: var(--text2); }
.login-error {
  font-size: 12px;
  color: var(--red);
  min-height: 18px;
  margin-bottom: 8px;
}
.login-footer {
  font-size: 11px;
  color: #444;
  text-align: center;
  margin-top: 24px;
}
@media (min-width: 960px) {
  .top-row {
    grid-template-columns: 1fr 280px;
    align-items: start;
    gap: 10px;
  }

  .score-card {
    min-height: unset;
    height: 100%;
  }

  .top-row-right {
    margin-top: 0;
    gap: 10px;
  }

  .goal-strip {
    margin-top: 0;
  }

  .next-window {
    margin-top: 0;
  }
  .goal-strip {
    align-items: start;
  }
    }

/* ─── TOP ZONE HINT ───*/
.top-zone-hint {
  margin-top: 8px;
  padding: 7px 10px;
  background: rgba(186,117,23,.12);
  border: 1px solid rgba(186,117,23,.25);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--amber);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.top-zone-hint::after { content: '↗ Go'; font-size: 10px; opacity: .7; }