/* =========================================================================
   DEEP MUNCH — styles (underwater glass UI)
   ========================================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  position: fixed; inset: 0;
  background: #062a44;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: #eaf6ff;
  user-select: none; -webkit-user-select: none;
  touch-action: none;
}
#game { position: fixed; inset: 0; display: block; touch-action: none; }
.hidden { display: none !important; }

/* ================= buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 999px; cursor: pointer;
  font-weight: 800; letter-spacing: 0.03em; color: #04283e;
  background: linear-gradient(180deg, #4be0ff, #18a8e0);
  box-shadow: 0 6px 18px rgba(20, 170, 230, 0.35), inset 0 1px 0 rgba(255,255,255,0.5);
  transition: transform 0.08s ease, filter 0.15s ease;
  pointer-events: auto;
}
.btn:active { transform: scale(0.95); filter: brightness(1.1); }
.btn.big { font-size: 22px; padding: 16px 0; width: min(320px, 78vw); }
.btn.mid { font-size: 15px; padding: 12px 22px; }
.btn.small { font-size: 13px; padding: 8px 14px; }
.btn.ghost {
  background: rgba(255,255,255,0.10); color: #dff4ff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn.gold { background: linear-gradient(180deg, #ffe066, #f5a623); box-shadow: 0 6px 18px rgba(245,166,35,0.35), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn.pink { background: linear-gradient(180deg, #ff9fb8, #f0567e); color: #450a1d; box-shadow: 0 6px 18px rgba(240,86,126,0.35), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn.cyan { background: linear-gradient(180deg, #4be0ff, #18a8e0); }
.btn:disabled { filter: grayscale(0.7) brightness(0.7); pointer-events: none; }

/* ================= HUD ================= */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
.hud-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: calc(env(safe-area-inset-top, 0px) + 10px) 14px 0;
}
.hud-left { min-width: 110px; }
#hud-score {
  font-size: 38px; font-weight: 900; line-height: 1;
  text-shadow: 0 2px 0 rgba(3,32,52,0.8), 0 0 18px rgba(80,220,255,0.35);
}
#hud-score.pop { animation: pop 0.22s ease; }
#hud-best { font-size: 12px; font-weight: 700; opacity: 0.75; margin-top: 3px; }
#hud-combo {
  margin-top: 8px; display: inline-block; font-size: 14px; font-weight: 900;
  color: #2b1500; background: linear-gradient(180deg,#ffe066,#f5a623);
  padding: 4px 12px; border-radius: 999px;
  box-shadow: 0 4px 12px rgba(245,166,35,0.45);
}
#hud-combo.pop { animation: pop 0.2s ease; }
@keyframes pop { 0% { transform: scale(1.45); } 100% { transform: scale(1); } }

.hud-center { text-align: center; flex: 1; }
#hud-zone { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.9; text-shadow: 0 1px 4px rgba(0,20,40,0.7); }
#evo-wrap {
  margin: 6px auto 0; width: min(190px, 46vw); height: 16px; border-radius: 999px;
  background: rgba(0,20,40,0.5); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
  position: relative; overflow: hidden;
}
#evo-fill { height: 100%; width: 0%; background: linear-gradient(90deg,#35e0ff,#a78bfa); border-radius: 999px; transition: width 0.25s ease; }
#evo-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0,10,25,0.9);
}
.hud-right { min-width: 110px; display: flex; justify-content: flex-end; }
.hud-btn {
  pointer-events: auto; border: none; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 20px;
  background: rgba(4,30,50,0.55); color: #eaf6ff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.hud-btn:active { transform: scale(0.92); }
#hud-powers {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 74px); left: 14px;
  display: flex; flex-direction: column; gap: 5px;
}
#hud-powers span {
  font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px;
  background: rgba(4,30,50,0.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
  width: fit-content;
}
.hud-bottom {
  position: absolute; left: 0; right: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  padding: 0 18px; display: flex; justify-content: space-between; align-items: flex-end;
}
.hud-bottom-left { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
#frenzy-bar {
  width: 120px; height: 10px; border-radius: 999px; overflow: hidden;
  background: rgba(0,20,40,0.55); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.22);
}
#frenzy-fill { height: 100%; width: 0%; background: linear-gradient(90deg,#ffd43b,#ff922b); transition: width 0.2s ease; }
#btn-frenzy {
  pointer-events: auto; border: none; cursor: pointer;
  font-size: 16px; font-weight: 900; color: #2b1500; padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(180deg, #ffe066, #f5a623);
  box-shadow: 0 6px 20px rgba(255,180,40,0.55);
  animation: frenzyPulse 0.7s ease infinite alternate;
}
#btn-frenzy.active { background: linear-gradient(180deg,#ff922b,#e8590c); color: #fff; }
@keyframes frenzyPulse { from { transform: scale(1); } to { transform: scale(1.08); } }
.boost-btn { width: 74px; height: 74px; font-size: 30px; }

/* banner */
.banner {
  position: absolute; top: 26%; left: 0; right: 0; text-align: center;
  font-size: 26px; font-weight: 900; letter-spacing: 0.06em;
  color: #fff; text-shadow: 0 2px 14px rgba(0,40,80,0.9), 0 0 26px rgba(80,220,255,0.5);
  opacity: 0; transform: translateY(14px) scale(0.9); pointer-events: none;
}
.banner.show { animation: bannerIn 1.7s ease forwards; }
.banner.frenzy { color: #ffe066; text-shadow: 0 2px 14px rgba(120,60,0,0.9), 0 0 30px rgba(255,180,40,0.8); }
.banner.danger { color: #ff8787; text-shadow: 0 2px 14px rgba(80,0,0,0.9), 0 0 30px rgba(255,60,60,0.7); }
.banner.evolve { color: #ffe066; }
@keyframes bannerIn {
  0% { opacity: 0; transform: translateY(14px) scale(0.9); }
  12% { opacity: 1; transform: translateY(0) scale(1.06); }
  22% { transform: scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-16px); }
}

/* ================= screens ================= */
.screen {
  position: fixed; inset: 0; z-index: 10;
  display: none; flex-direction: column; align-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 18px calc(env(safe-area-inset-bottom, 0px) + 14px);
}
.screen.active { display: flex; animation: fadeUp 0.25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.screen.dark { background: rgba(2, 14, 28, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); justify-content: center; }
.screen.card-screen { background: linear-gradient(180deg, rgba(4,32,54,0.9), rgba(3,18,34,0.96)); }

.card {
  background: rgba(255,255,255,0.07);
  border-radius: 18px; padding: 14px; margin-bottom: 12px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* ---- menu ---- */
.menu-top { display: flex; gap: 10px; align-self: flex-end; }
.cur-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 14px; font-weight: 800; padding: 6px 12px; border-radius: 999px;
  background: rgba(0,18,36,0.6); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.18);
}
.title-wrap { margin: auto 0 6px; text-align: center; }
.title {
  font-size: clamp(52px, 15vw, 84px); font-weight: 900; line-height: 0.95; letter-spacing: 0.02em;
  color: #fff; text-shadow: 0 0 30px rgba(80,220,255,0.55), 0 4px 0 rgba(3,34,56,0.9);
  animation: bob 3.2s ease-in-out infinite;
}
.title span {
  display: block;
  background: linear-gradient(180deg, #ffe066, #ff922b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 rgba(3,34,56,0.9));
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.tagline { margin-top: 10px; font-size: 15px; font-weight: 600; opacity: 0.85; letter-spacing: 0.12em; text-transform: uppercase; }
.menu-stats {
  display: flex; gap: 18px; margin: 14px 0 20px;
  font-size: 14px; font-weight: 700; opacity: 0.9;
}
.menu-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-bottom: auto; }
.menu-row { display: flex; gap: 12px; }
.menu-row .btn { min-width: 148px; justify-content: center; position: relative; }
.dot {
  position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%;
  background: #ff5c7a; box-shadow: 0 0 8px rgba(255,92,122,0.9); display: none;
}
.credit { font-size: 11px; opacity: 0.55; text-align: center; margin-top: 14px; line-height: 1.6; }

/* ---- sub screens ---- */
.scr-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-bottom: 12px;
}
.scr-head h2 { font-size: 20px; font-weight: 900; }
.btn-back {
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  font-size: 24px; font-weight: 900; color: #dff4ff; background: rgba(255,255,255,0.1);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.22);
}
.head-cur { display: flex; gap: 8px; }
.scr-body { width: 100%; max-width: 520px; overflow-y: auto; flex: 1; padding-bottom: 20px; -webkit-overflow-scrolling: touch; touch-action: pan-y; }
.sub-h { margin: 18px 0 10px; font-size: 15px; letter-spacing: 0.08em; }

#shop-tabs { display: flex; gap: 8px; width: 100%; max-width: 520px; overflow-x: auto; padding-bottom: 12px; touch-action: pan-x; }
#shop-tabs button {
  flex-shrink: 0; border: none; cursor: pointer; font-size: 13px; font-weight: 800;
  color: #cfeaff; padding: 9px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
}
#shop-tabs button.on { background: linear-gradient(180deg,#4be0ff,#18a8e0); color: #04283e; }

.skin-card { display: flex; align-items: center; gap: 12px; }
.skin-card.equipped { box-shadow: inset 0 0 0 2px rgba(75,224,255,0.7); }
.skin-prev { width: 120px; height: 72px; border-radius: 12px; background: rgba(0,22,42,0.5); flex-shrink: 0; }
.skin-info { flex: 1; }
.skin-info small { display: block; opacity: 0.7; font-size: 12px; margin-top: 3px; }
.skin-act { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.tag { font-size: 11px; font-weight: 900; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.14); }
.tag.eq { background: rgba(75,224,255,0.25); color: #9ceaff; }
.tag.hot { background: rgba(255,120,90,0.9); color: #fff; }

.up-card { display: flex; align-items: center; gap: 12px; }
.up-icon { font-size: 30px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(0,22,42,0.5); border-radius: 14px; flex-shrink: 0; }
.up-info { flex: 1; }
.up-info small { display: block; opacity: 0.7; font-size: 12px; margin-top: 3px; }
.up-info .cur { opacity: 0.9; color: #ffe066; }
.pips { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.pips i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.pips i.on { background: #4be0ff; }

.iap-card { display: flex; align-items: center; gap: 12px; }
.iap-icon { font-size: 30px; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: rgba(0,22,42,0.5); border-radius: 14px; flex-shrink: 0; }
.iap-info { flex: 1; }
.iap-info small { display: block; opacity: 0.7; font-size: 12px; margin-top: 2px; }

/* missions */
.daily-card { border: 1.5px solid rgba(255,224,102,0.35); }
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-top small { opacity: 0.75; font-weight: 600; }
.m-reward { font-weight: 900; color: #ffe066; white-space: nowrap; }
.m-bar { height: 9px; border-radius: 999px; background: rgba(0,18,36,0.6); overflow: hidden; margin: 10px 0 8px; }
.m-bar i { display: block; height: 100%; background: linear-gradient(90deg,#35e0ff,#a78bfa); border-radius: 999px; }
.m-bot { display: flex; justify-content: space-between; align-items: center; }
.m-bot small { opacity: 0.7; font-weight: 700; }
.ach-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.05); margin-bottom: 8px; opacity: 0.65; }
.ach-row.un { opacity: 1; background: rgba(255,224,102,0.1); box-shadow: inset 0 0 0 1px rgba(255,224,102,0.3); }
.ach-ic { font-size: 22px; width: 36px; text-align: center; }
.ach-row b { font-size: 14px; display: block; }
.ach-row small { opacity: 0.7; font-size: 12px; }
.ach-row div { flex: 1; }

/* settings */
.set-row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.switch { position: relative; width: 54px; height: 30px; pointer-events: auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,0.15); transition: 0.2s; cursor: pointer; }
.switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: 0.2s; }
.switch input:checked + i { background: #18a8e0; }
.switch input:checked + i::after { transform: translateX(24px); }

/* pause */
.paused-h { font-size: 34px; font-weight: 900; margin-bottom: 14px; text-shadow: 0 0 20px rgba(80,220,255,0.4); }
.legend { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; font-size: 13.5px; font-weight: 700; opacity: 0.9; }
.legend span { display: flex; align-items: center; gap: 9px; }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.lg-green { background: #6bff9e; box-shadow: 0 0 10px rgba(107,255,158,0.8); }
.lg-red { background: #ff5c5c; box-shadow: 0 0 10px rgba(255,92,92,0.8); }

/* game over */
.go-wrap { width: min(400px, 92vw); display: flex; flex-direction: column; align-items: center; text-align: center; }
.go-title { font-size: clamp(30px, 9vw, 44px); font-weight: 900; letter-spacing: 0.02em; text-shadow: 0 3px 0 rgba(3,30,50,0.9), 0 0 26px rgba(255,90,90,0.4); }
.go-title.pink { color: #ffb3c6; text-shadow: 0 3px 0 rgba(60,5,25,0.9), 0 0 26px rgba(255,120,160,0.4); }
.newbest { margin-top: 8px; font-weight: 900; color: #ffe066; font-size: 15px; letter-spacing: 0.1em; animation: pop 0.5s ease; display: none; }
.go-score { font-size: 74px; font-weight: 900; line-height: 1.05; margin-top: 4px; text-shadow: 0 0 30px rgba(80,220,255,0.45); }
.go-best { font-size: 14px; font-weight: 800; opacity: 0.8; letter-spacing: 0.14em; }
.go-stats { display: flex; gap: 16px; margin-top: 14px; font-size: 13px; font-weight: 700; opacity: 0.85; flex-wrap: wrap; justify-content: center; }
.go-coins { font-size: 24px; font-weight: 900; color: #ffe066; margin-top: 14px; }
#btn-double { margin-top: 10px; }
.go-missions { width: 100%; margin-top: 16px; }
.gm-row { position: relative; font-size: 12.5px; font-weight: 700; opacity: 0.85; padding: 6px 0 6px 16px; text-align: left; }
.gm-row::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 8px; border-radius: 99px; background: rgba(255,255,255,0.15); }
.gm-row i { position: absolute; left: 0; top: 10px; bottom: 10px; width: 0; max-width: 8px; border-radius: 99px; background: #4be0ff; }

/* revive */
.rev-ring {
  width: 92px; height: 92px; border-radius: 50%; margin: 18px 0 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 900;
  background: conic-gradient(#4be0ff var(--p, 100%), rgba(255,255,255,0.12) 0);
  box-shadow: 0 0 30px rgba(80,220,255,0.35);
  position: relative;
}
.rev-ring::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; background: #062338; }
.rev-ring span { position: relative; z-index: 1; }
.rev-note { font-size: 13px; opacity: 0.75; margin-bottom: 18px; font-weight: 600; }

/* ad sim */
#ad-overlay {
  position: fixed; inset: 0; z-index: 60; display: none;
  align-items: center; justify-content: center; background: rgba(1,6,14,0.92);
}
#ad-overlay.active { display: flex; }
.ad-box { width: min(330px, 88vw); text-align: center; }
.ad-label { font-size: 13px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.8; margin-bottom: 14px; }
.ad-creative {
  height: 300px; border-radius: 22px;
  background: repeating-linear-gradient(45deg, #0b334f, #0b334f 18px, #0d3c5c 18px, #0d3c5c 36px);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.ad-spin {
  width: 44px; height: 44px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,0.2); border-top-color: #4be0ff;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ad-count { font-size: 42px; font-weight: 900; margin-top: 16px; }
.ad-box small { display: block; margin-top: 8px; opacity: 0.6; font-size: 12px; }

/* modal */
#modal { position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center; background: rgba(1,6,14,0.7); }
#modal.active { display: flex; }
.modal-box {
  width: min(320px, 86vw); background: #0d3450; border-radius: 22px; padding: 22px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.2), 0 20px 50px rgba(0,0,0,0.5); text-align: center;
}
.modal-box p { font-size: 15px; line-height: 1.5; font-weight: 600; margin-bottom: 18px; }
.modal-box small { opacity: 0.7; }
.modal-row { display: flex; gap: 10px; justify-content: center; }

/* toast */
#toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
  transform: translateX(-50%) translateY(20px);
  background: rgba(6,34,56,0.95); color: #eaf6ff;
  font-size: 14px; font-weight: 700; padding: 11px 20px; border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.2), 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none; z-index: 80; transition: 0.25s ease;
  max-width: 86vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= v1.2: perks ================= */
#hud-perks {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 74px); right: 14px;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-end;
  pointer-events: none;
}
#hud-perks span {
  font-size: 13px; padding: 3px 9px; border-radius: 999px;
  background: rgba(4,30,50,0.55); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
#hud-perks .pk0 { color: #cfeaff; }
#hud-perks .pk1 { color: #a5d8ff; box-shadow: inset 0 0 0 1px rgba(116,192,252,0.6); }
#hud-perks .pk2 { color: #ffe066; box-shadow: inset 0 0 0 1px rgba(255,224,102,0.7); }

#perk-cards { display: flex; flex-direction: column; gap: 12px; width: min(360px, 88vw); }
.perk-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  border: none; cursor: pointer; border-radius: 20px; padding: 16px 14px;
  background: rgba(255,255,255,0.08); color: #eaf6ff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.2);
  animation: perkIn 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4) backwards;
  pointer-events: auto;
}
.perk-card:active { transform: scale(0.95); }
.perk-card .pk-icon { font-size: 34px; }
.perk-card b { font-size: 17px; }
.perk-card small { opacity: 0.8; font-size: 12.5px; }
.perk-card em { font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.perk-card.r0 { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.25); }
.perk-card.r1 { box-shadow: inset 0 0 0 1.5px rgba(116,192,252,0.75), 0 0 18px rgba(116,192,252,0.25); }
.perk-card.r2 { box-shadow: inset 0 0 0 1.5px rgba(255,224,102,0.85), 0 0 22px rgba(255,224,102,0.35); }
.perk-card.r2 em { color: #ffe066; opacity: 1; }
@keyframes perkIn { from { opacity: 0; transform: translateY(24px) scale(0.85); } to { opacity: 1; transform: none; } }

/* ================= v1.2: tournament ================= */
.t-card { border: 1.5px solid rgba(255,224,102,0.35); }
.t-input {
  width: 100%; margin-top: 10px; padding: 12px 14px; border-radius: 14px;
  border: none; outline: none; font-size: 15px; font-weight: 700; color: #eaf6ff;
  background: rgba(0,20,40,0.6); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.22);
  pointer-events: auto;
}
.t-input::placeholder { color: rgba(234,246,255,0.4); }
.board-row {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 12px; background: rgba(255,255,255,0.05); margin-bottom: 6px;
  font-size: 14px; font-weight: 700;
}
.board-row.me { background: rgba(255,224,102,0.14); box-shadow: inset 0 0 0 1px rgba(255,224,102,0.4); }
.b-rank { width: 26px; opacity: 0.7; font-weight: 900; }
.b-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.b-fish { font-size: 12px; opacity: 0.7; }
.b-score { color: #ffe066; }
.t-loading { text-align: center; opacity: 0.6; font-size: 13px; padding: 14px; }
.t-ribbon {
  display: none; margin-top: 10px; font-size: 13px; font-weight: 900; color: #ffe066;
  padding: 7px 14px; border-radius: 999px; background: rgba(255,224,102,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,224,102,0.35);
}

/* ================= v1.2: wheel ================= */
.wheel-wrap { position: relative; margin: 10px 0 4px; }
#wheel-canvas { display: block; border-radius: 50%; box-shadow: 0 0 40px rgba(80,220,255,0.25); }
.wheel-pointer {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent;
  border-top: 22px solid #ffe066; z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

/* ================= v1.2: offer ================= */
.offer-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 30px; border: 1.5px solid rgba(255,224,102,0.4); }
.offer-ic { font-size: 52px; }
.offer-card b { font-size: 20px; }
.offer-list { display: flex; gap: 14px; font-weight: 800; color: #ffe066; }
.offer-price { font-size: 26px; font-weight: 900; }
.offer-price small { display: block; font-size: 11px; opacity: 0.6; font-weight: 600; text-align: center; }

@media (max-height: 640px) {
  .title { font-size: 52px; }
  .go-score { font-size: 54px; }
}
