:root {
  --bg: #0a0e1a;
  --surface: #111827;
  --surface-2: #0d1422;
  --border: #1f2937;
  --border-2: #374151;
  --blue: #00b4ff;
  --blue-soft: rgba(0, 180, 255, 0.14);
  --blue-half: rgba(0, 180, 255, 0.5);
  --gold: #ffd700;
  --win: #00e676;
  --amber: #ff9800;
  --red: #ff5064;
  --text: #f5f5f5;
  --text-dim: #6b7280;
  --text-mid: #9ca3af;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #05070d; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
  min-height: 100vh;
}
button { font: inherit; }
.update-notice {
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 100;
  opacity: 0;
  transform: translateY(10px);
  border: 1px solid rgba(255,215,0,.55);
  border-radius: 7px;
  background: rgba(10,14,26,.96);
  color: var(--gold);
  box-shadow: 0 14px 34px rgba(0,0,0,.42);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  cursor: pointer;
  transition: opacity .18s ease, transform .18s ease;
}
.update-notice.show {
  opacity: 1;
  transform: translateY(0);
}
.stage {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background:
    radial-gradient(900px 540px at 24% 12%, #111a2c 0%, transparent 60%),
    radial-gradient(760px 540px at 86% 82%, #071827 0%, transparent 55%),
    #05070d;
}
.phone {
  width: min(390px, 100vw);
  height: min(844px, 100vh);
  border-radius: 56px;
  background: #000;
  padding: 12px;
  box-shadow: 0 0 0 1.5px #1d2430, 0 0 0 3px #0a0d14, 0 60px 120px -30px rgba(0,180,255,.12), 0 40px 80px -20px rgba(0,0,0,.7);
  position: relative;
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 32px;
  border-radius: 24px;
  background: #000;
  z-index: 10;
  box-shadow: inset 0 0 0 1px #15181f;
}
.screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.statusbar {
  height: 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 28px 6px;
  font-size: 15px;
  font-weight: 700;
  position: relative;
  z-index: 5;
}
.status-icons { font-size: 12px; opacity: .9; }
.header {
  height: 56px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17,24,39,.6), rgba(17,24,39,0));
  flex-shrink: 0;
}
.asset { display: flex; align-items: center; gap: 6px; min-width: 0; }
.asset-name { font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.asset-sep, .live-label { color: var(--text-dim); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.live-label { color: var(--win); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--win);
  box-shadow: 0 0 0 0 rgba(0,230,118,.55);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0,230,118,0); } }
.new-badge {
  display: none;
  padding: 1px 5px;
  background: var(--gold);
  color: #1a1100;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}
.new-badge.show { display: inline-block; }
.timer {
  font-family: "SF Mono", "JetBrains Mono", ui-monospace, monospace;
  font-size: 28px;
  font-weight: 800;
  color: var(--win);
  line-height: 1;
  transition: color .3s, transform .15s;
}
.timer.lock { color: var(--amber); }
.timer.critical { animation: timer-pulse .5s ease-in-out infinite; }
@keyframes timer-pulse { 50% { transform: scale(1.08); } }
.bal-block { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; line-height: 1; }
.bal-main { display: flex; gap: 5px; align-items: center; font-weight: 800; font-size: 15px; }
.chip { color: var(--gold); transform: translateY(-.5px); display: inline-block; }
.bal-sub { display: flex; gap: 4px; color: var(--amber); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.bal-sub.zero { color: var(--text-dim); }
.cycle-strip {
  flex-shrink: 0;
  padding: 6px 14px 7px;
  background: rgba(13,20,34,.55);
  border-bottom: 1px solid var(--border);
}
.cs-bar { height: 2px; background: rgba(31,41,55,.7); border-radius: 1px; overflow: hidden; margin-bottom: 5px; }
.cs-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--text-dim), var(--blue)); transition: width .4s; }
.cycle-strip.warn { background: rgba(0,180,255,.08); border-bottom-color: rgba(0,180,255,.4); }
.cycle-strip.hot { background: rgba(255,215,0,.12); border-bottom-color: rgba(255,215,0,.6); }
.cycle-strip.hot .cs-bar-fill { background: linear-gradient(90deg, rgba(255,215,0,.5), var(--gold)); }
.cs-row { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 800; letter-spacing: .08em; color: var(--text-dim); }
.cs-current { color: var(--text); display: flex; gap: 4px; }
.cs-next { color: var(--text-mid); display: flex; gap: 4px; }
.cycle-strip.warn .cs-next, .cycle-strip.warn .cs-cd { color: var(--blue); }
.cycle-strip.hot .cs-next, .cycle-strip.hot .cs-cd { color: var(--gold); }
.cs-cd { margin-left: auto; font-family: "SF Mono", ui-monospace, monospace; letter-spacing: .02em; }
.rotate-banner {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 7;
  padding: 8px 14px;
  transform: translateY(-100%);
  transition: transform .35s, color .3s, border-color .3s;
  background: linear-gradient(90deg, rgba(0,180,255,.04), rgba(0,180,255,.28), rgba(0,180,255,.04));
  border-bottom: 1px solid rgba(0,180,255,.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}
.rotate-banner.show { transform: translateY(0); }
.rotate-banner.hot { color: var(--gold); border-color: var(--gold); background: linear-gradient(90deg, rgba(255,215,0,.06), rgba(255,215,0,.36), rgba(255,215,0,.06)); }
.rb-left { display: flex; align-items: center; gap: 8px; }
.next-asset { color: #fff; }
.rb-cd { font-family: "SF Mono", ui-monospace, monospace; }
.chart-wrap { position: relative; height: 238px; flex: 0 0 auto; overflow: hidden; background: var(--bg); }
#chart { display: block; width: 100%; height: 100%; }
.price-label {
  position: absolute;
  z-index: 3;
  transform: translate(-50%, -50%);
  background: var(--bg);
  border: 1px solid var(--blue);
  color: var(--blue);
  box-shadow: 0 0 18px rgba(0,180,255,.25);
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.ref-price {
  position: absolute;
  z-index: 3;
  transform: translateY(-50%);
  color: var(--text-dim);
  background: rgba(10,14,26,.85);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 3px;
  font: 800 9px "SF Mono", ui-monospace, monospace;
}
.live-feed {
  position: absolute;
  top: 8px; bottom: 8px; left: 6px;
  width: 64px;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 3;
}
.feed-label { color: var(--text-dim); font-size: 7px; font-weight: 900; letter-spacing: .14em; margin-bottom: 2px; }
.feed-tag {
  background: rgba(17,24,39,.72);
  border: 1px solid var(--border);
  border-left: 2px solid var(--blue);
  border-radius: 3px;
  padding: 2px 4px;
  color: var(--text-mid);
  font: 700 8px "SF Mono", ui-monospace, monospace;
  animation: feed-in .35s cubic-bezier(.2,.9,.3,1.1);
}
.feed-tag.down { border-left-color: var(--amber); }
.feed-tag.mid { border-left-color: var(--text-dim); }
.feed-tag.win { border-left-color: var(--win); background: rgba(0,230,118,.08); }
@keyframes feed-in { from { opacity: 0; transform: translateY(-12px); } }
.chart-grid {
  position: absolute;
  top: 6%; right: 0;
  width: 40%; height: 88%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1px;
  pointer-events: none;
  z-index: 2;
}
.ccell {
  background: rgba(17,24,39,.18);
  border: 1px solid rgba(55,65,81,.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: rgba(245,245,245,.48);
  font-size: 8px;
  font-weight: 800;
}
.ccell.col0 { background: rgba(17,24,39,.32); border-color: rgba(55,65,81,.6); color: rgba(245,245,245,.7); }
.ccell.selected { background: rgba(0,180,255,.22); border-color: var(--blue); color: var(--blue); }
.ccell.pending { background: rgba(0,180,255,.08); border-style: dashed; border-color: var(--blue-half); color: rgba(0,180,255,.8); }
.ccell.win { background: rgba(255,215,0,.36); border-color: var(--gold); color: var(--gold); box-shadow: 0 0 30px rgba(255,215,0,.5); }
.ccell.flash { background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.75); color: #fff; }
.col-headers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 12px 4px;
  color: var(--text-dim);
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
}
.ch { display: flex; align-items: baseline; justify-content: center; gap: 6px; }
.ch.active { color: var(--text); }
.ch .lbl { font-size: 9px; opacity: .7; }
.ch .val { font-family: "SF Mono", ui-monospace, monospace; font-size: 11px; }
.ch.active .val { color: var(--win); }
.ch.lock .val { color: var(--amber); }
.cells-wrap { flex: 1 1 auto; min-height: 230px; padding: 0 12px 8px; position: relative; overflow: hidden; }
.cells {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, minmax(58px, 1fr));
  gap: 6px;
  transition: transform .32s cubic-bezier(.4,0,.3,1);
}
.cells.rolling { transform: translateX(calc(-100% / 3 - 2px)); }
.cells.locked .cell:not(.selected):not(.pending) { opacity: .3; }
.cells.locked .cell.landing { opacity: 1; }
.cell {
  position: relative;
  min-height: 58px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  transition: opacity .25s, transform .15s, background .2s, border-color .2s, box-shadow .25s;
}
.cell.col1 { background: rgba(17,24,39,.85); }
.cell.col2 { background: rgba(17,24,39,.7); }
.cell:active { transform: scale(.97); }
.cell .zone { color: var(--text-dim); font-size: 12px; font-weight: 900; letter-spacing: .04em; line-height: 1; }
.cell .cmult { font-size: 22px; font-weight: 900; line-height: 1; }
.stake-badge {
  position: absolute;
  top: 5px; right: 5px;
  z-index: 4;
  opacity: 0;
  color: var(--gold);
  background: rgba(255,215,0,.12);
  border: 1px solid rgba(255,215,0,.4);
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 8px;
  font-weight: 900;
}
.pending-tag {
  position: absolute;
  z-index: 4;
  bottom: 5px;
  color: var(--blue-half);
  opacity: 0;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .16em;
}
.cell.selected { background: var(--blue-soft); border-color: var(--blue); box-shadow: 0 0 0 1px rgba(0,180,255,.3), 0 0 20px -4px rgba(0,180,255,.4); }
.cell.selected .zone, .cell.selected .cmult { color: var(--blue); }
.cell.selected .stake-badge, .cell.pending .stake-badge, .cell.pending .pending-tag { opacity: 1; }
.cell.pending { background: rgba(17,24,39,.7); border: 1px dashed var(--blue-half); }
.cell.pending .cmult { color: rgba(0,180,255,.8); transform: translateY(-5px); }
.cell.pending .pending-tag {
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(0,180,255,.13);
  white-space: nowrap;
}
.cell.pending.undoable .pending-tag { visibility: hidden; }
.cell.mult-locked::after { content: "L"; position: absolute; top: 6px; right: 8px; color: var(--amber); font-size: 10px; font-weight: 900; opacity: .75; }
.cell.landing {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(255,215,0,.35), 0 0 26px rgba(255,215,0,.26);
}
.cell.landing::before {
  content: "LANDED";
  position: absolute;
  top: 6px;
  left: 7px;
  z-index: 2;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #1e1500;
  font-size: 8px;
  font-weight: 1000;
  letter-spacing: .08em;
}
.cell.landing-win::before { content: "HIT"; }
.cell.landing-near::before { content: "CLOSE"; }
.cell.landing-miss::before { content: "LANDED"; }
.ccell.landing {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.undo-ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cell.undoable .undo-ring { opacity: 1; }
.undo-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0deg, var(--blue) var(--undo-deg, 360deg), transparent var(--undo-deg, 360deg));
  mask: radial-gradient(circle, transparent 60%, #000 62%);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%);
}
.undo-x {
  z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--blue);
  background: rgba(0,180,255,.15);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
}
.cell.undoable .zone, .cell.undoable .cmult, .cell.undoable .stake-badge { visibility: hidden; }
.cell.win-flash { animation: win-flash 1.2s ease forwards; }
@keyframes win-flash { 20% { background: var(--gold); border-color: var(--gold); transform: scale(1.06); box-shadow: 0 0 40px rgba(255,215,0,.7); } 100% { background: rgba(255,215,0,.35); border-color: var(--gold); } }
.cell.win-flash .zone, .cell.win-flash .cmult { color: #1a1100; }
.cell.near { animation: near-pulse .85s ease forwards; }
@keyframes near-pulse { 15%,45% { transform: scale(1.08); background: rgba(255,152,0,.35); border-color: var(--amber); } 100% { opacity: .3; } }
.cell.miss-fade { animation: miss-fade 1.2s ease forwards; }
@keyframes miss-fade { to { opacity: .22; background: #060912; } }
.result-beat {
  position: absolute;
  left: 50%;
  top: 8px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translate(-50%, -8px) scale(.96);
  pointer-events: none;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(5,10,20,.94);
  border: 1px solid rgba(255,215,0,.45);
  box-shadow: 0 12px 28px rgba(0,0,0,.32);
  transition: opacity .18s ease, transform .18s ease;
}
.result-beat.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.rb-kicker {
  color: var(--text-mid);
  font-size: 9px;
  font-weight: 1000;
  letter-spacing: .12em;
  white-space: nowrap;
}
.rb-zone {
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .08em;
}
.result-beat.win .rb-kicker,
.result-beat.win .rb-zone { color: var(--gold); }
.result-beat.near .rb-zone { color: var(--amber); }
.lock-toast {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.9);
  z-index: 15;
  opacity: 0;
  pointer-events: none;
  background: rgba(255,152,0,.95);
  color: #1a1100;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  transition: opacity .15s, transform .15s;
}
.lock-toast.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mission-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 12px;
  border-top: 1px solid var(--border);
  background: rgba(13,20,34,.7);
}
.ms-tag { display: flex; flex-direction: column; gap: 3px; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.ms-pips { display: flex; gap: 3px; }
.pip { width: 5px; height: 5px; border-radius: 50%; background: var(--border-2); }
.pip.done { background: var(--gold); }
.pip.active { background: var(--blue); }
.ms-desc { min-width: 0; color: var(--text); font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ms-prog { color: var(--text-dim); margin-left: 4px; }
.tiny-exit {
  border: 1px solid var(--border-2);
  background: var(--surface);
  color: var(--text-mid);
  height: 24px;
  border-radius: 5px;
  padding: 0 7px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.ticker { height: 24px; flex-shrink: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; position: relative; background: rgba(13,20,34,.6); }
.ticker-track { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; animation: ticker 28s linear infinite; color: var(--text-mid); font-size: 10px; font-weight: 800; }
.item { margin: 0 22px; }
.rank { color: var(--gold); }
.you { color: var(--blue); }
@keyframes ticker { from { left: 100%; } to { left: -130%; } }
.stake-bar { flex-shrink: 0; padding: 9px 14px 17px; background: linear-gradient(180deg, rgba(17,24,39,0), rgba(17,24,39,.7)); display: flex; flex-direction: column; gap: 5px; }
.stake-row { display: grid; grid-template-columns: 44px 1fr 44px; gap: 8px; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 4px; }
.step { height: 38px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text); font-size: 22px; font-weight: 800; }
.stake-display { height: 38px; display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--gold); font-size: 18px; font-weight: 900; }
.stake-helper { text-align: center; color: var(--text-dim); height: 12px; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.stake-bar.locked .stake-row { opacity: .4; }
.stake-bar.locked .stake-helper { color: var(--amber); }
.overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
  background: radial-gradient(circle, rgba(10,14,26,.28), rgba(10,14,26,.86) 72%);
  padding: 0 24px;
}
.overlay.show { opacity: 1; }
.overlay .big { color: var(--gold); font-size: 62px; font-weight: 1000; line-height: 1; letter-spacing: 0; animation: pop-in .45s cubic-bezier(.2,.9,.3,1.3); }
.overlay .sub { margin-top: 12px; color: var(--gold); font-size: 20px; font-weight: 900; }
.overlay .tag { margin-top: 10px; color: var(--text-mid); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.overlay.near .big { color: var(--amber); }
.overlay.near .sub { color: var(--text-mid); font-size: 15px; }
@keyframes pop-in { from { opacity: 0; transform: scale(.7); } 60% { opacity: 1; transform: scale(1.06); } }
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 19; }
.particle { position: absolute; color: var(--gold); font-size: 16px; font-weight: 900; animation: particle .9s ease-out forwards; }
@keyframes particle { to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4) rotate(var(--rot)); } }
.horizon-panel {
  position: absolute;
  left: 14px; right: 14px; bottom: 104px;
  z-index: 18;
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  background: rgba(5,10,20,.96);
  border: 1px solid rgba(0,180,255,.34);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  transition: opacity .22s, transform .22s;
}
.horizon-panel.show { opacity: 1; transform: translateY(0); }
.hp-header, .hp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hp-title, .hp-round, .hp-name, .hp-val { font-size: 10px; font-weight: 900; letter-spacing: .1em; color: var(--blue); }
.hp-round, .hp-val { color: var(--text-mid); font-family: "SF Mono", ui-monospace, monospace; }
.hp-desc { display: block; margin-top: 3px; color: var(--text); font-size: 11px; font-weight: 800; }
.hp-bar { height: 5px; margin: 7px 0 10px; background: rgba(31,41,55,.85); border-radius: 3px; overflow: hidden; }
.hp-fill { height: 100%; width: 0%; background: linear-gradient(90deg, rgba(0,180,255,.7), var(--blue)); transition: width .4s; }
.hp-fill-xp { background: linear-gradient(90deg, rgba(255,215,0,.7), var(--gold)); }
.session-end-wrap {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5,8,14,.78);
}
.session-end-wrap.show { display: flex; }
.session-end-card {
  width: 100%;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  background: linear-gradient(180deg, #131c2f, #0a0e1a);
  padding: 18px;
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
}
.se-title { color: var(--blue); font-size: 11px; font-weight: 1000; letter-spacing: .18em; text-align: center; }
.se-pl { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-top: 12px; }
.se-pl .amt { color: var(--gold); font-size: 34px; font-weight: 1000; }
.delta { color: var(--text-mid); font-weight: 1000; }
.delta.pos { color: var(--win); }
.delta.neg { color: var(--amber); }
.se-rounds { text-align: center; margin: 6px 0 14px; color: var(--text-mid); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.se-block { border: 1px solid var(--border); background: rgba(17,24,39,.5); border-radius: 8px; padding: 10px; margin-top: 9px; }
.se-block .row { display: grid; grid-template-columns: 1fr 80px auto; gap: 8px; align-items: center; color: var(--text); font-size: 11px; font-weight: 900; }
.se-block .pbar { height: 4px; border-radius: 2px; background: rgba(31,41,55,.8); overflow: hidden; }
.se-block .pbar span { display: block; height: 100%; width: 0%; background: var(--blue); }
.se-block .next { margin-top: 6px; color: var(--text-dim); font-size: 10px; font-weight: 700; }
.se-refill { margin-top: 12px; border: 1px solid rgba(255,215,0,.25); background: rgba(255,215,0,.08); border-radius: 8px; padding: 10px; text-align: center; }
.se-refill .head { color: var(--gold); font-size: 10px; font-weight: 1000; letter-spacing: .14em; }
.se-refill .reward { margin-top: 4px; color: var(--text); font-size: 12px; font-weight: 900; }
.se-refill .countdown { margin-top: 3px; color: var(--text-dim); font-size: 10px; font-weight: 800; }
.se-btns { display: grid; grid-template-columns: .9fr .9fr 1.25fr; gap: 8px; margin-top: 12px; }
.se-btn { height: 40px; border-radius: 8px; border: 1px solid var(--border-2); color: var(--text); background: var(--surface); font-weight: 1000; }
.se-btn.primary { color: #031018; background: var(--blue); border-color: var(--blue); }
.asset-slam {
  position: absolute;
  inset: 0;
  z-index: 24;
  pointer-events: none;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 43%, color-mix(in srgb, var(--asset-accent, #ffd700) 34%, transparent) 0%, rgba(16,24,39,.92) 38%, rgba(5,8,14,.98) 74%),
    rgba(5,8,14,.96);
  backdrop-filter: blur(3px);
}
.asset-slam.fire { animation: slam-flash 1.5s ease-out forwards; }
.slam-glyph {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #06101d;
  background: var(--asset-accent, #ffd700);
  font-size: 72px;
  font-weight: 1000;
  box-shadow: 0 22px 50px rgba(0,0,0,.34), 0 0 0 10px color-mix(in srgb, var(--asset-accent, #ffd700) 18%, transparent);
}
.slam-name {
  margin-top: 18px;
  color: #fff;
  font-size: 32px;
  font-weight: 1000;
  letter-spacing: .2em;
  text-shadow: 0 8px 28px rgba(0,0,0,.55);
}
.slam-sub {
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  color: #06101d;
  background: var(--asset-accent, #ffd700);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .28em;
}
@keyframes slam-flash { 0%,100% { opacity: 0; } 20%,78% { opacity: 1; } }
.home-indicator {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 5px;
  border-radius: 3px;
  background: rgba(255,255,255,.4);
  z-index: 8;
}
@media (max-width: 480px) {
  .stage { padding: 0; background: var(--bg); }
  .phone { width: 100vw; height: 100vh; border-radius: 0; padding: 0; box-shadow: none; }
  .phone::before { display: none; }
  .screen { border-radius: 0; }
  .statusbar { padding-top: env(safe-area-inset-top); }
  .chart-wrap { height: 232px; }
}
@media (max-height: 760px) {
  .chart-wrap { height: 206px; }
  .cells-wrap { min-height: 205px; }
  .cell .cmult { font-size: 19px; }
  .mission-strip { padding-block: 5px; }
  .stake-bar { padding-bottom: 12px; }
}

/* Casual visual pass -------------------------------------------------
   The original market-arena styling is preserved in styles-market.css.
   This layer makes the same game feel softer, more tactile, and less
   like a dense market cockpit. */
:root {
  --bg: #101827;
  --surface: #172234;
  --surface-2: #1d2a3f;
  --border: #2b3a52;
  --border-2: #40516d;
  --blue: #19c4ff;
  --blue-soft: rgba(25, 196, 255, 0.2);
  --blue-half: rgba(25, 196, 255, 0.58);
  --gold: #ffd84d;
  --win: #38f18b;
  --amber: #ffb13b;
  --red: #ff6b7a;
  --text: #fbfcff;
  --text-dim: #8794aa;
  --text-mid: #b2bed1;
}

.stage {
  background:
    radial-gradient(720px 520px at 18% 10%, rgba(25,196,255,.18) 0%, transparent 58%),
    radial-gradient(680px 520px at 86% 86%, rgba(255,216,77,.12) 0%, transparent 60%),
    linear-gradient(160deg, #07101e 0%, #101827 54%, #0c1422 100%);
}

.phone {
  background: linear-gradient(180deg, #192437, #080d17);
  box-shadow:
    0 0 0 1.5px rgba(255,255,255,.08),
    0 44px 90px -32px rgba(25,196,255,.25),
    0 28px 70px -24px rgba(0,0,0,.72);
}

.screen {
  background:
    linear-gradient(180deg, rgba(255,255,255,.025), transparent 22%),
    var(--bg);
}

.statusbar {
  background: rgba(8, 13, 23, .32);
  letter-spacing: 0;
}

.header {
  height: 62px;
  border-bottom-color: rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(31,43,63,.92), rgba(18,27,43,.72));
}

.asset {
  gap: 7px;
}

.live-dot {
  width: 18px;
  height: 18px;
  border: 4px solid rgba(56,241,139,.16);
  box-shadow: none;
}

.asset-name,
.live-label,
.asset-sep {
  letter-spacing: .05em;
}

.asset-name {
  font-size: 14px;
}

.timer {
  padding: 4px 12px 5px;
  border-radius: 14px;
  background: rgba(56,241,139,.1);
  box-shadow: inset 0 0 0 1px rgba(56,241,139,.14);
  font-size: 27px;
}

.timer.lock {
  background: rgba(255,177,59,.12);
  box-shadow: inset 0 0 0 1px rgba(255,177,59,.18);
}

.bal-main {
  font-size: 17px;
}

.bal-sub {
  letter-spacing: .05em;
}

.cycle-strip {
  padding: 8px 14px 9px;
  background: rgba(22, 32, 50, .84);
  border-bottom-color: rgba(255,255,255,.08);
}

.cs-bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.cs-bar-fill {
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.cs-row {
  font-size: 11px;
  letter-spacing: .04em;
}

.rotate-banner {
  color: #08111d;
  background: linear-gradient(90deg, var(--blue), #78e4ff);
  border-bottom: 0;
}

.rotate-banner.hot {
  color: #1d1300;
  background: linear-gradient(90deg, var(--gold), #ffef9a);
}

.next-asset {
  color: inherit;
}

.chart-wrap {
  height: 220px;
  background:
    radial-gradient(260px 160px at 58% 42%, rgba(25,196,255,.08), transparent 62%),
    #0c1422;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.price-label {
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #04111d;
  box-shadow: 0 10px 22px rgba(25,196,255,.28);
  font-size: 12px;
}

.ref-price {
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: var(--text-mid);
}

.live-feed {
  width: 76px;
}

.feed-label {
  font-size: 8px;
  letter-spacing: .08em;
}

.feed-tag {
  border: 0;
  border-left: 4px solid var(--blue);
  border-radius: 9px;
  background: rgba(26, 38, 58, .9);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
}

.chart-grid {
  gap: 4px;
  right: 8px;
  width: 38%;
}

.ccell {
  border-radius: 8px;
  border-color: rgba(255,255,255,.12);
  background: rgba(21, 31, 49, .42);
  color: rgba(251,252,255,.58);
}

.ccell.selected,
.ccell.pending {
  background: rgba(25,196,255,.16);
  border-color: var(--blue);
}

.col-headers {
  padding: 11px 24px 8px;
  font-size: 11px;
  letter-spacing: .08em;
}

.ch {
  gap: 5px;
}

.ch .lbl {
  font-size: 10px;
}

.cells-wrap {
  padding: 0 24px 10px;
}

.cells {
  gap: 10px;
  grid-template-rows: repeat(3, minmax(62px, 1fr));
}

.cell {
  min-height: 62px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)),
    #172234;
  box-shadow:
    inset 0 -4px 0 rgba(0,0,0,.16),
    0 8px 18px rgba(0,0,0,.14);
}

.cell::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.035);
  pointer-events: none;
}

.cell .zone {
  display: none;
}

.cell .zone::before {
  content: none;
}

.cell[data-r="0"] .zone::before { content: "UP"; }
.cell[data-r="1"] .zone::before { content: "STEADY"; }
.cell[data-r="2"] .zone::before { content: "DOWN"; }

.cell .cmult {
  font-size: 33px;
  letter-spacing: 0;
  position: relative;
  z-index: 1;
}

.cell.selected {
  background:
    radial-gradient(circle at 50% 42%, rgba(25,196,255,.32), transparent 58%),
    linear-gradient(180deg, #143752, #10283e);
  border-color: var(--blue);
  box-shadow:
    inset 0 -4px 0 rgba(0,0,0,.18),
    0 0 0 2px rgba(25,196,255,.26),
    0 12px 24px rgba(25,196,255,.18);
}

.cell.pending {
  background:
    linear-gradient(180deg, rgba(25,196,255,.1), rgba(25,196,255,.035)),
    #172234;
  border: 2px dashed var(--blue-half);
}

.stake-badge {
  top: 8px;
  right: 8px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #1e1500;
  padding: 3px 7px;
  font-size: 9px;
}

.pending-tag {
  bottom: 10px;
  font-size: 8px;
  color: var(--blue);
}

.cell.pending .cmult {
  transform: translateY(-9px);
}

.cell.pending .pending-tag {
  bottom: 9px;
  padding: 2px 7px;
  background: rgba(25,196,255,.14);
  box-shadow: inset 0 0 0 1px rgba(25,196,255,.18);
  font-size: 7px;
}

.cell.pending.undoable .pending-tag {
  visibility: hidden;
}

.cell.mult-locked::after {
  display: none;
}

.cell.pending {
  justify-content: center;
  padding: 18px 8px 24px;
}

.cell.pending .cmult {
  font-size: 34px;
  transform: translateY(-1px);
  line-height: 1;
}

.cell.landing {
  border-color: var(--gold);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,216,77,.28), transparent 62%),
    linear-gradient(180deg, #26364f, #1a273b);
  box-shadow:
    inset 0 -4px 0 rgba(0,0,0,.18),
    0 0 0 2px rgba(255,216,77,.26),
    0 14px 26px rgba(255,216,77,.14);
}

.cell.landing::before {
  top: 10px;
  left: 10px;
  padding: 3px 7px;
  box-shadow: 0 6px 12px rgba(0,0,0,.18);
}

.cell.landing .cmult {
  color: var(--gold);
}

.cell.landing .zone::before {
  color: rgba(255,216,77,.78);
}

.cell.landing-win {
  background:
    radial-gradient(circle at 50% 42%, rgba(255,216,77,.48), transparent 62%),
    linear-gradient(180deg, #4a3a15, #2b260f);
}

.cell.landing-near {
  border-color: var(--amber);
  background:
    radial-gradient(circle at 50% 42%, rgba(255,177,59,.34), transparent 62%),
    linear-gradient(180deg, #3a2b18, #221d16);
}

.cell.landing-near::before {
  background: var(--amber);
}

.result-beat {
  top: 11px;
  padding: 8px 13px;
  border: 0;
  background: linear-gradient(180deg, #31425c, #22314a);
  box-shadow: 0 14px 28px rgba(0,0,0,.26);
}

.result-beat.win {
  background: linear-gradient(180deg, #4d431e, #2b2715);
}

.result-beat.near {
  background: linear-gradient(180deg, #4a331e, #2a2118);
}

.undo-ring::before {
  inset: 9px;
}

.undo-x {
  background: var(--blue);
  color: #04111d;
  border: 0;
  box-shadow: 0 8px 18px rgba(25,196,255,.22);
}

.mission-strip {
  margin: 0 14px 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(29,42,63,.92);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}

.ms-tag {
  letter-spacing: .06em;
}

.pip {
  width: 7px;
  height: 7px;
}

.ms-desc {
  font-size: 13px;
}

.tiny-exit {
  border: 0;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: var(--text-mid);
}

.ticker {
  display: none;
}

.ticker-track {
  font-size: 12px;
}

.stake-bar {
  padding: 7px 24px 6px;
  background: linear-gradient(180deg, rgba(16,24,39,0), rgba(8,13,23,.86));
}

.stake-row {
  grid-template-columns: 56px 1fr 56px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: rgba(29,42,63,.95);
  padding: 6px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.18);
}

.step {
  height: 48px;
  border: 0;
  border-radius: 18px;
  background: #273852;
  color: var(--text);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18);
}

.stake-display {
  height: 48px;
  font-size: 26px;
}

.stake-helper {
  display: none;
}

.bottom-nav {
  height: 58px;
  margin: 0 24px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(29,42,63,.96);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 5px;
  box-shadow:
    inset 0 -4px 0 rgba(0,0,0,.16),
    0 10px 20px rgba(0,0,0,.16);
  flex-shrink: 0;
}

.nav-btn {
  min-width: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #8f9caf;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
  -webkit-tap-highlight-color: transparent;
}

.nav-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-btn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.nav-btn.active {
  background: #263852;
  color: var(--blue);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
}

.nav-btn.active svg {
  color: var(--gold);
}

.missions-page {
  position: absolute;
  left: 0;
  right: 0;
  top: 50px;
  bottom: 74px;
  z-index: 16;
  display: none;
  overflow-y: auto;
  padding: 16px 18px 28px;
  background:
    radial-gradient(300px 210px at 18% 4%, rgba(25,196,255,.14), transparent 70%),
    linear-gradient(180deg, #172234 0%, #101827 58%, #0e1625 100%);
  -webkit-overflow-scrolling: touch;
}

.missions-page.show {
  display: block;
  animation: page-in .2s ease-out;
}

@keyframes page-in {
  from { transform: translateX(18px); opacity: .75; }
}

.screen.section-open .header,
.screen.section-open .cycle-strip,
.screen.section-open .chart-wrap,
.screen.section-open .col-headers,
.screen.section-open .cells-wrap,
.screen.section-open .mission-strip,
.screen.section-open .stake-bar,
.screen.section-open .ticker {
  visibility: hidden;
}

.missions-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.sheet-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .14em;
}

.missions-hero h2 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: 0;
}

.sheet-close {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}

.mission-tabs {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(12,20,34,.66);
  border: 1px solid rgba(255,255,255,.08);
}

.mission-tab {
  height: 36px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 1000;
}

.mission-tab.active {
  color: #06101d;
  background: var(--gold);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.13);
}

.sheet-summary {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.sheet-summary > div {
  border-radius: 15px;
  background: rgba(12,20,34,.62);
  padding: 10px 12px;
}

.summary-label {
  display: block;
  margin-bottom: 3px;
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sheet-summary strong {
  color: var(--text);
  font-size: 16px;
}

.mission-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mission-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 17px;
  background: rgba(12,20,34,.68);
  padding: 10px;
}

.mission-row.done {
  background: rgba(255,216,77,.1);
}

.mission-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: var(--gold);
  font-size: 16px;
  font-weight: 1000;
}

.mission-row.done .mission-mark {
  background: var(--gold);
  color: #1e1500;
}

.mission-body {
  min-width: 0;
}

.mission-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: baseline;
}

.mission-line strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  font-size: 13px;
}

.mission-line span {
  color: var(--text-mid);
  font-size: 11px;
  font-weight: 900;
}

.mission-progress {
  height: 5px;
  margin-top: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.mission-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

.mission-award {
  color: var(--gold);
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}

.mission-section-head {
  margin-top: 17px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 13px;
  font-weight: 1000;
}

.mission-section-head strong {
  color: var(--gold);
  font-size: 12px;
}

.mission-section-head.secondary {
  margin-top: 14px;
  color: var(--text-mid);
}

.mission-preview-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.mission-preview {
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02)),
    rgba(12,20,34,.62);
  padding: 13px;
}

.preview-tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(25,196,255,.14);
  color: var(--blue);
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .08em;
}

.mission-preview strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 16px;
}

.mission-preview p {
  margin: 4px 0 0;
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.35;
}

.reward-hero-card {
  margin-top: 18px;
  border-radius: 25px;
  border: 1px solid rgba(255,216,77,.2);
  background:
    linear-gradient(135deg, rgba(255,216,77,.16), rgba(25,196,255,.08)),
    rgba(12,20,34,.72);
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 14px;
  align-items: center;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.12);
}

.reward-hero-card strong {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 32px;
  line-height: 1;
}

.reward-hero-card p {
  margin: 8px 0 0;
  color: var(--text-mid);
  font-size: 12px;
  line-height: 1.35;
}

.reward-orb {
  width: 70px;
  height: 70px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: rgba(255,216,77,.16);
  color: var(--gold);
  font-size: 38px;
  font-weight: 1000;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.14);
}

.reward-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.reward-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 18px;
  background: rgba(12,20,34,.66);
  padding: 11px;
}

.reward-row.earned {
  background: rgba(255,216,77,.1);
}

.reward-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.08);
  color: var(--text-mid);
  font-size: 15px;
  font-weight: 1000;
}

.reward-row.earned .reward-mark {
  background: var(--gold);
  color: #1e1500;
}

.reward-copy {
  min-width: 0;
}

.reward-copy strong,
.reward-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reward-copy strong {
  color: var(--text);
  font-size: 13px;
}

.reward-copy span {
  margin-top: 3px;
  color: var(--text-mid);
  font-size: 11px;
  font-weight: 800;
}

.reward-amt {
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
  white-space: nowrap;
}

.modifier-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.modifier-slot {
  margin: 0;
  min-height: 74px;
  border-radius: 18px;
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(12,20,34,.48);
  padding: 10px;
  color: var(--text-mid);
}

.modifier-icon {
  width: 30px;
  height: 30px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(25,196,255,.12);
  color: var(--blue);
  font-size: 18px;
  font-weight: 1000;
}

.modifier-slot strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 12px;
}

.modifier-slot p {
  display: none;
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 9px;
  line-height: 1.25;
}

.sheet-reward {
  margin-top: 11px;
  border-radius: 17px;
  border: 1px solid rgba(255,216,77,.24);
  background: rgba(255,216,77,.08);
  padding: 11px 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-mid);
  font-size: 12px;
  font-weight: 900;
}

.sheet-reward strong {
  color: var(--gold);
  white-space: nowrap;
}

.overlay .big {
  font-size: 68px;
}

.horizon-panel,
.session-end-card {
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    #172234;
}

.session-end-card {
  border-color: rgba(255,255,255,.12);
}

.se-title {
  letter-spacing: .14em;
}

.se-block,
.se-refill {
  border-radius: 16px;
}

.se-btn {
  border-radius: 15px;
}

@media (max-width: 480px) {
  .phone,
  .screen {
    background-color: var(--bg);
  }
  .chart-wrap {
    height: 196px;
  }
  .cells-wrap {
    min-height: 188px;
    padding-bottom: 5px;
  }
  .mission-strip {
    min-height: 48px;
    padding-block: 6px;
  }
}

@media (max-height: 760px) {
  .chart-wrap { height: 182px; }
  .cells-wrap { min-height: 176px; }
  .cell .cmult { font-size: 29px; }
  .bottom-nav {
    height: 52px;
    margin-bottom: 12px;
  }
}
