:root {
  --pw-green: #22c022;
  --pw-green-dark: #0a5c18;
  --pw-green-card: #0d4a16;
  --pw-green-pitch: #1a6b28;
  --pw-blue: #2563eb;
  --pw-blue-light: #5ba3ff;
  --pw-yellow: #ffd54a;
  --pw-gold: #f5b800;
  --pw-red: #e53935;
  --pw-ink: #111;
  --pw-muted: #6b7280;
  --pw-card: #ffffff;
  --pw-radius: 20px;
  --pw-max: 480px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body.pw-body {
  font-family: "Montserrat", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #22c022;
  color: var(--pw-ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.pw-app {
  max-width: var(--pw-max);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  background: #22c022 url("/images/pick-winner-bg.png") no-repeat center top;
  background-size: 100% auto;
  /* bg art scales with width; green field ~36% down */
  --pw-art-w: min(100vw, var(--pw-max));
  --pw-bg-aspect: 1.78;
  --pw-content-top: calc(var(--pw-art-w) * var(--pw-bg-aspect) * 0.36);
}

/* top bar — over hero art, does not push content */
.pw-topbar {
  position: absolute;
  top: max(6px, env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 100%;
  max-width: var(--pw-max);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 4px 14px 0;
  gap: 8px;
}
.pw-topbar-spacer { min-width: 0; display: flex; align-items: center; }
.pw-coin-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.45); color: #fff;
  font-size: 0.78rem; font-weight: 900;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
}
.pw-coin-ico { width: 18px; height: 18px; display: block; }
.pw-points-bar .pw-coin-ico { width: 20px; height: 20px; }
.pw-topbar-right {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.pw-iconbtn {
  width: 34px; height: 34px; border-radius: 10px; border: none;
  background: rgba(0,0,0,0.32); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pw-checkin {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(0,0,0,0.38); color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem; font-weight: 800; border: none; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  justify-self: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pw-checkin-ico { font-size: 0.85rem; line-height: 1; }
.pw-checkin-num { color: var(--pw-yellow); font-weight: 900; }

/* hero title — above trophy in blue hero area */
.pw-hero-text {
  position: absolute;
  top: calc(46px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 100%;
  max-width: var(--pw-max);
  text-align: center;
  padding: 0 14px;
  pointer-events: none;
}
.pw-title {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.72rem, 8vw, 2.1rem);
  font-weight: 900;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  -webkit-text-stroke: 2.5px #000;
  text-stroke: 2.5px #000;
  paint-order: stroke fill;
  text-shadow: 0 3px 0 rgba(0,0,0,0.35);
}
.pw-subtitle {
  margin-top: 5px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.7rem, 3vw, 0.78rem);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.3;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  paint-order: stroke fill;
}

.pw-main {
  position: relative;
  z-index: 3;
  padding: var(--pw-content-top) 12px 110px;
}

/* task strip */
.pw-task-strip {
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #0f5a1c 0%, #0a4515 100%);
  border-radius: 16px;
  padding: 10px 10px 10px 12px;
  margin-top: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
}
.pw-task-icons {
  display: flex; gap: 8px; overflow-x: auto; flex: 1;
  scrollbar-width: none;
}
.pw-task-icons::-webkit-scrollbar { display: none; }
.pw-task-icon {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 900; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 2px 6px rgba(0,0,0,0.2);
}
.pw-task-ad { background: linear-gradient(135deg, #3b82f6, #1d4ed8); font-size: 0.82rem; }
.pw-task-cloud { background: linear-gradient(135deg, #fb923c, #ea580c); font-size: 1.1rem; }
.pw-task-dl { background: linear-gradient(135deg, #2dd4bf, #0d9488); font-size: 1rem; }
.pw-task-pay { background: linear-gradient(135deg, #5b21b6, #7c3aed); font-size: 0.7rem; }

.pw-redeem-btn {
  flex: 0 0 auto; width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(180deg, #ff5252 0%, #d32f2f 100%);
  border: 3px solid #fff;
  color: #fff; font-size: 0.62rem; font-weight: 900;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 1px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  -webkit-tap-highlight-color: transparent;
}
.pw-redeem-gift { font-size: 1.15rem; line-height: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }

/* match card outer shell */
.pw-match-card {
  background: linear-gradient(180deg, #0f5a1c 0%, #083d12 100%);
  border-radius: var(--pw-radius);
  margin-top: 4px;
  padding: 12px 12px 0;
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.pw-match-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.pw-prize-wrap {
  display: flex; align-items: center; gap: 6px;
}
.pw-prize-amount {
  font-size: 1.45rem; font-weight: 900; line-height: 1;
  color: var(--pw-yellow);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.pw-prize-label {
  font-size: 0.58rem; font-weight: 700; color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.18);
  padding: 4px 9px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.pw-match-head a {
  color: rgba(255,255,255,0.95); text-decoration: none; font-weight: 700;
  font-size: 0.72rem;
}

/* match tabs */
.pw-match-tabs {
  display: flex; gap: 8px; overflow-x: auto; margin-bottom: 10px;
  scrollbar-width: none; padding-bottom: 2px;
}
.pw-match-tabs::-webkit-scrollbar { display: none; }
.pw-match-tab {
  flex: 0 0 auto; padding: 7px 12px; border-radius: 12px;
  background: rgba(0,0,0,0.28); color: rgba(255,255,255,0.85);
  font-size: 0.62rem; font-weight: 800; border: none; cursor: pointer;
  white-space: nowrap; font-family: inherit;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; align-items: center;
  gap: 2px; min-width: 72px;
}
.pw-tab-date { font-size: 0.64rem; font-weight: 800; line-height: 1.1; }
.pw-tab-match { font-size: 0.58rem; font-weight: 700; opacity: 0.9; line-height: 1.1; }
.pw-match-tab.active {
  background: linear-gradient(180deg, #8ee68e 0%, #5fd05f 100%);
  color: #0a3d12;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.pw-match-tab.active .pw-tab-match { opacity: 1; }

/* grass pitch inner card */
.pw-match-pitch {
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 11px,
      rgba(0,0,0,0.04) 11px,
      rgba(0,0,0,0.04) 12px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 23px,
      rgba(255,255,255,0.02) 23px,
      rgba(255,255,255,0.02) 24px
    ),
    linear-gradient(180deg, #1f7a32 0%, #155724 45%, #0f4519 100%);
  border-radius: 16px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: inset 0 2px 12px rgba(0,0,0,0.15);
}

.pw-match-meta {
  text-align: center;
  font-size: 0.62rem; font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 10px;
  line-height: 1.2;
}

.pw-match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: #fff;
}
.pw-team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.pw-team-logo {
  width: 64px; height: 64px; border-radius: 50%; background: #fff;
  margin: 0 auto 6px; display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-weight: 900; font-size: 0.85rem; color: #333;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.9);
}
.pw-team-logo img { width: 44px; height: 44px; object-fit: contain; }
.pw-team-abbr {
  font-size: 0.82rem; font-weight: 900;
  color: var(--pw-yellow);
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
.pw-vs-wrap { text-align: center; padding: 0 4px; align-self: center; }
.pw-vs {
  font-size: 1.85rem; font-weight: 900; font-style: italic;
  color: #fff;
  text-shadow: 1px 2px 0 rgba(0,0,0,0.35);
  letter-spacing: -0.03em;
  line-height: 1;
}

/* prediction buttons — glossy pills */
.pw-picks {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 14px;
}
.pw-pick {
  position: relative; border: none; border-radius: 14px;
  padding: 14px 4px 11px; cursor: pointer; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(180deg, #eef1f4 0%, #c5ccd3 42%, #a8b0b8 100%);
  color: #1f2937;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.75),
    0 3px 10px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.35);
}
.pw-pick.draw {
  background: linear-gradient(180deg, #6b7280 0%, #4b5563 50%, #374151 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}
.pw-pick.home.selected,
.pw-pick.away.selected {
  background: linear-gradient(180deg, #6eb4ff 0%, #3b82f6 45%, #1d4ed8 100%);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 4px 14px rgba(29,78,216,0.45);
}
.pw-pick.draw.selected {
  background: linear-gradient(180deg, #9ca3af 0%, #6b7280 50%, #4b5563 100%);
  color: #fff;
}
.pw-pick-label { font-size: 0.85rem; font-weight: 900; display: block; line-height: 1.1; }
.pw-pick-odds { font-size: 0.54rem; font-weight: 700; opacity: 0.88; margin-top: 5px; display: block; line-height: 1.2; }

.pw-my-pick {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--pw-yellow); color: var(--pw-ink);
  font-size: 0.52rem; font-weight: 900; padding: 3px 9px 4px;
  border-radius: 8px; white-space: nowrap; display: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  z-index: 2;
}
.pw-my-pick::after {
  content: "";
  position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--pw-yellow);
}
.pw-pick.selected .pw-my-pick { display: block; }
.pw-pick:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* timer footer bar */
.pw-timers {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px;
  align-items: stretch;
  margin: 12px -12px 0;
  padding: 10px 12px;
  background: rgba(0,0,0,0.32);
  font-size: 0.58rem; font-weight: 700; color: rgba(255,255,255,0.85);
}
.pw-timer-cell {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 0;
}
.pw-timer-text {
  display: flex; flex-direction: column; align-items: flex-start;
  line-height: 1.2; min-width: 0;
}
.pw-timer-label {
  font-size: 0.56rem; font-weight: 700; opacity: 0.9;
  white-space: nowrap;
}
.pw-timer-cell strong {
  display: block; font-size: 0.72rem; font-weight: 900; color: #fff;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pw-timer-ico { font-size: 1.05rem; flex-shrink: 0; line-height: 1; }
.pw-timers .sep {
  width: 1px; align-self: stretch; background: rgba(255,255,255,0.22);
  opacity: 1;
}

/* bottom CTA */
.pw-bottom-cta {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--pw-max);
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
  pointer-events: none;
}
.pw-bottom-cta button {
  pointer-events: auto;
  width: 100%; padding: 15px; border: none; border-radius: 999px;
  background: linear-gradient(180deg, #ffe566 0%, #ffd024 45%, #f5b800 100%);
  color: var(--pw-ink);
  font-size: 1rem; font-weight: 900; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}

/* sheets / modals */
.pw-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 100; opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
.pw-overlay.open { opacity: 1; visibility: visible; }
.pw-sheet {
  position: fixed; left: 50%; bottom: 0; transform: translate(-50%, 100%);
  width: 100%; max-width: var(--pw-max); max-height: 88vh;
  background: var(--pw-green);
  border-radius: 22px 22px 0 0;
  z-index: 101; transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column; overflow: hidden;
}
.pw-sheet.open { transform: translate(-50%, 0); }
.pw-sheet .pw-ball-deco {
  position: absolute; top: -28px; left: 8px; font-size: 2.2rem; z-index: 5;
  filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.25));
}
.pw-sheet .pw-lightning {
  position: absolute; top: -18px; left: 50px; right: 20px; height: 24px;
  background: linear-gradient(90deg, var(--pw-blue-light), #4fc3f7);
  clip-path: polygon(0 50%, 8% 0, 16% 50%, 24% 20%, 32% 60%, 40% 30%, 48% 70%, 56% 40%, 64% 80%, 72% 50%, 80% 90%, 88% 60%, 96% 100%, 100% 50%);
  opacity: 0.9; z-index: 4;
}
.pw-sheet-head {
  position: relative; padding: 16px 14px 12px; text-align: center;
  flex-shrink: 0;
}
.pw-sheet-head h2 {
  color: #fff; font-size: 1.15rem; font-weight: 800;
}
.pw-sheet-close {
  position: absolute; top: 12px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8); background: transparent;
  color: #fff; font-size: 1rem; cursor: pointer;
}
.pw-sheet-body {
  background: var(--pw-card); margin: 0 10px 10px;
  border-radius: 14px; flex: 1; overflow: hidden;
  display: flex; flex-direction: column; min-height: 0;
}
.pw-sheet-scroll { overflow-y: auto; flex: 1; padding: 12px; }

.pw-country-item { border-bottom: 1px solid #e5e7eb; }
.pw-country-item:last-child { border-bottom: none; }
.pw-country-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px; border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: 0.9rem; font-weight: 800; color: var(--pw-ink);
  text-align: left;
}
.pw-country-btn i { color: var(--pw-muted); font-size: 0.75rem; transition: transform 0.2s; }
.pw-country-item.open .pw-country-btn i { transform: rotate(90deg); }
.pw-country-body {
  display: none; padding: 0 4px 14px; font-size: 0.78rem;
  line-height: 1.55; color: #374151;
}
.pw-country-item.open .pw-country-body { display: block; }
.pw-country-body h4 { font-size: 0.82rem; margin: 8px 0 6px; color: var(--pw-ink); }
.pw-country-body ol { padding-left: 18px; }
.pw-country-body li { margin-bottom: 4px; }

.pw-points-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--pw-green-dark); color: #fff;
  padding: 10px; border-radius: 12px; margin: 0 10px 10px;
  font-weight: 800; font-size: 0.88rem;
}
.pw-tab-row {
  display: flex; align-items: center; padding: 0 12px 10px; gap: 8px;
  border-bottom: 1px solid #e5e7eb; flex-shrink: 0;
}
.pw-tab-row button {
  border: none; background: none; font-family: inherit;
  font-size: 0.78rem; font-weight: 800; color: var(--pw-muted);
  padding: 8px 4px; cursor: pointer; position: relative;
}
.pw-tab-row button.active { color: var(--pw-ink); }
.pw-tab-row button.active::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--pw-green); border-radius: 2px;
}
.pw-push-toggle {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700; color: var(--pw-muted);
}
.pw-switch {
  width: 40px; height: 22px; border-radius: 999px; background: #ccc;
  border: none; position: relative; cursor: pointer; transition: background 0.2s;
}
.pw-switch.on { background: var(--pw-green); }
.pw-switch::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.pw-switch.on::after { transform: translateX(18px); }
.pw-task-row {
  display: grid; grid-template-columns: 44px 1fr auto;
  align-items: center; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.pw-task-row:last-child { border-bottom: none; }
.pw-task-icon-box {
  width: 44px; height: 44px; border-radius: 10px;
  background: #e8f5e9; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; color: var(--pw-gold);
}
.pw-task-info h4 { font-size: 0.82rem; font-weight: 800; }
.pw-task-info p { font-size: 0.68rem; color: var(--pw-muted); margin-top: 2px; }
.pw-task-badge {
  display: inline-block; font-size: 0.58rem; font-weight: 700;
  color: var(--pw-red); margin-bottom: 2px;
}
.pw-go-btn {
  padding: 8px 16px; border-radius: 999px; border: none;
  font-family: inherit; font-size: 0.72rem; font-weight: 800; cursor: pointer;
}
.pw-go-btn.go { background: var(--pw-ink); color: #fff; }
.pw-go-btn.done { background: #e5e7eb; color: var(--pw-muted); pointer-events: none; }

.pw-tasks-hint {
  font-size: 0.72rem; color: var(--pw-muted); margin-bottom: 10px; line-height: 1.4;
}

.pw-bet-banner {
  text-align: center; font-size: 0.68rem; font-weight: 700;
  color: var(--pw-yellow); margin-bottom: 8px;
}

.pw-bet-row {
  padding: 12px 0; border-bottom: 1px solid #eee;
  font-size: 0.78rem; line-height: 1.45;
}
.pw-bet-row:last-child { border-bottom: none; }
.pw-bet-row strong { font-weight: 800; }
.pw-bet-status {
  display: inline-block; font-size: 0.62rem; font-weight: 800;
  padding: 2px 8px; border-radius: 999px; margin-top: 4px;
}
.pw-bet-status.pending { background: #fef3c7; color: #92400e; }
.pw-bet-status.won { background: #dcfce7; color: #166534; }
.pw-bet-status.lost { background: #fee2e2; color: #991b1b; }

.pw-empty-bets {
  text-align: center; padding: 32px 16px; color: var(--pw-muted);
  font-size: 0.82rem; font-weight: 600;
}

.pw-bet-modal {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(0,0,0,0.6); display: flex; align-items: center;
  justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s;
}
.pw-bet-modal.open { opacity: 1; visibility: visible; }
.pw-bet-modal-inner {
  width: min(100%, 340px); background: #fff; border-radius: 18px;
  padding: 22px 18px 18px; position: relative; text-align: center;
}
.pw-bet-close {
  position: absolute; top: 10px; right: 12px; border: none; background: none;
  font-size: 1.4rem; cursor: pointer; color: #666; line-height: 1;
}
.pw-bet-title { font-size: 1.05rem; font-weight: 900; margin-bottom: 6px; }
.pw-bet-pick { font-size: 0.88rem; font-weight: 800; color: var(--pw-green-dark); margin-bottom: 8px; }
.pw-bet-balance { font-size: 0.78rem; color: var(--pw-muted); margin-bottom: 12px; }
.pw-bet-stake-label { font-size: 0.72rem; font-weight: 700; margin-bottom: 8px; text-align: left; }
.pw-bet-stakes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px;
}
.pw-bet-stake {
  padding: 10px 4px; border-radius: 12px; border: 2px solid #e5e7eb;
  background: #f9fafb; font-family: inherit; font-weight: 800;
  font-size: 0.82rem; cursor: pointer;
}
.pw-bet-stake.active { border-color: var(--pw-green); background: #ecfdf0; color: var(--pw-green-dark); }
.pw-bet-stake:disabled { opacity: 0.4; cursor: not-allowed; }
.pw-bet-return { font-size: 0.78rem; margin-bottom: 14px; }
.pw-bet-confirm {
  width: 100%; padding: 14px; border: none; border-radius: 999px;
  background: linear-gradient(180deg, #ffe566 0%, #f5b800 100%);
  font-family: inherit; font-size: 0.95rem; font-weight: 900; cursor: pointer;
}
.pw-bet-confirm:disabled { opacity: 0.5; cursor: not-allowed; }

.pw-toast {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(0.9);
  background: rgba(0,0,0,0.88); color: #fff; padding: 16px 20px;
  border-radius: 12px; font-size: 0.82rem; font-weight: 600;
  text-align: center; max-width: 280px; z-index: 200;
  opacity: 0; visibility: hidden; transition: all 0.25s;
  pointer-events: none;
}
.pw-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.pw-menu-list { padding: 8px 0; }

.pw-ad-wrap {
  margin: 10px 14px;
  border-radius: 12px;
  overflow: hidden;
  min-height: 0;
}
.pw-sheet .pw-ad-wrap,
.pw-bet-modal-inner .pw-ad-wrap {
  margin: 0 0 12px;
}
.pw-ad-wrap ins.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
  height: 0 !important;
}
.pw-ad-wrap:has(ins.adsbygoogle[data-ad-status="unfilled"]) {
  display: none !important;
  margin: 0;
  padding: 0;
}
.pw-menu-list button {
  display: block; width: 100%; padding: 14px 16px; border: none;
  background: none; text-align: left; font-family: inherit;
  font-size: 0.88rem; font-weight: 700; cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
