:root {
  --bg-main: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-subtle: #f8fafc;
  --border-color: rgba(148, 163, 184, 0.28);
  --primary: #4f46e5;
  --primary-glow: rgba(79, 70, 229, 0.25);
  --secondary: #db2777;
  --accent: #0284c7;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warn: #f59e0b;
  --radius-lg: 18px;
  --radius-md: 13px;
}

* { box-sizing: border-box; margin: 0; padding: 0; user-select: none; -webkit-tap-highlight-color: transparent; }

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overscroll-behavior: none;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.12), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(14, 165, 233, 0.14), transparent 40%),
    linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

/* GÓRNY BANER YEI! */
.adsense-top-bar {
  width: 100%; height: 54px; min-height: 54px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  z-index: 90; padding: 3px 8px; position: relative;
}
.house-banner-box {
  width: min(476px, 100%); height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 50%, #db2777 100%);
  box-shadow: 0 3px 12px rgba(79, 70, 229, 0.22);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 12px; position: relative; overflow: hidden; color: #ffffff;
}
.house-banner-glow {
  position: absolute; width: 95px; height: 95px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.45), transparent 70%);
  top: -25px; right: 40px; pointer-events: none;
}
.house-banner-left { display: flex; align-items: center; gap: 10px; z-index: 2; }
.house-banner-logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  display: grid; place-items: center; font-size: 16px; font-weight: 900;
  color: #0f172a; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25); flex-shrink: 0;
}
.house-banner-title { font-size: 13px; font-weight: 900; letter-spacing: -0.2px; color: #fff; }
.banner-dot { color: #fde047; margin: 0 3px; }
.house-banner-sub { font-size: 10.5px; color: #fef08a; font-weight: 700; }
.house-banner-badge {
  z-index: 2; background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 4px 9px; border-radius: 99px; font-size: 10px; font-weight: 900; color: #fff;
}
#adsense-code-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 5; pointer-events: none; }
#adsense-code-layer:not(:empty) { pointer-events: auto; }

/* WIELKI DYMEK REAKCJI NA ŚRODKU EKRANU (NIE DO PRZEOCZENIA) */
.big-reaction-overlay {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 980;
  width: min(380px, 88%);
  pointer-events: none;
}
.big-reaction-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff;
  border: 2.5px solid #fbbf24;
  border-radius: 22px;
  padding: 14px 18px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45), 0 0 24px rgba(251, 191, 36, 0.4);
  animation: popBigBubble 0.38s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}
.big-reaction-emoji {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 4px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.big-reaction-sender {
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.big-reaction-text {
  font-size: 16px;
  font-weight: 900;
  color: #fef08a;
  margin-top: 3px;
}
@keyframes popBigBubble {
  0% { opacity: 0; transform: scale(0.5) translateY(-20px); }
  70% { opacity: 1; transform: scale(1.06) translateY(4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* SIATKA 8 PRZYCISKÓW REAKCJI */
.reactions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.react-chip {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 11px;
  padding: 6px 4px;
  font-size: 10.5px;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: transform 0.12s, border-color 0.15s, background 0.15s;
}
.react-chip span { font-size: 17px; line-height: 1.1; }
.react-chip:active { transform: scale(0.92); background: #e0e7ff; border-color: var(--primary); }

/* PODIUM TOP 3 W RANKINGU */
.podium-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 4px 0;
}
.podium-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.podium-avatar-wrap {
  position: relative;
  margin-bottom: 6px;
}
.podium-crown {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.podium-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 19px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  border: 3px solid #fff;
}
.podium-col.place-1 .podium-avatar {
  width: 58px;
  height: 58px;
  font-size: 22px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-color: #fde047;
}
.podium-col.place-2 .podium-avatar {
  background: linear-gradient(135deg, #64748b, #475569);
  border-color: #e2e8f0;
}
.podium-col.place-3 .podium-avatar {
  background: linear-gradient(135deg, #d97706, #92400e);
  border-color: #fed7aa;
}
.podium-nick {
  font-size: 12px;
  font-weight: 900;
  color: var(--text-main);
  max-width: 95px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.podium-pr {
  font-size: 11px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}
.podium-pillar {
  width: 100%;
  border-radius: 14px 14px 6px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8px;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}
.podium-col.place-1 .podium-pillar {
  height: 82px;
  background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
  font-size: 22px;
}
.podium-col.place-2 .podium-pillar {
  height: 62px;
  background: linear-gradient(180deg, #94a3b8 0%, #475569 100%);
  font-size: 18px;
}
.podium-col.place-3 .podium-pillar {
  height: 48px;
  background: linear-gradient(180deg, #f59e0b 0%, #92400e 100%);
  font-size: 16px;
}

/* TOASTY */
#live-toast-container {
  position: fixed; top: 60px; left: 50%; transform: translateX(-50%);
  width: min(460px, 92%); z-index: 950; display: flex; flex-direction: column; gap: 6px; pointer-events: none;
}
.live-toast {
  background: rgba(15, 23, 42, 0.94); color: #fff; padding: 10px 14px; border-radius: 12px;
  font-size: 12px; font-weight: 700; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
  display: flex; align-items: center; gap: 8px; animation: slideDownToast 0.25s ease forwards;
}
.live-toast.toast-good { border-left: 4px solid var(--success); }
.live-toast.toast-warn { border-left: 4px solid var(--warn); }
.live-toast.toast-bad { border-left: 4px solid var(--danger); }
@keyframes slideDownToast { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* WIDOKI */
.view { display: none; flex: 1; overflow-y: auto; padding: 10px 12px 72px; max-width: 500px; width: 100%; margin: 0 auto; }
#view-game { padding: 8px 12px 12px; overflow: hidden; }
.view.active { display: flex; flex-direction: column; animation: fadeScale 0.22s ease forwards; }
@keyframes fadeScale { 0% { opacity: 0; transform: translateY(4px); } 100% { opacity: 1; transform: translateY(0); } }

.glass-card {
  background: var(--bg-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9); border-radius: var(--radius-lg); padding: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
}

.user-bar-card {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px; cursor: pointer;
  padding: 10px 12px; border-radius: var(--radius-md); background: #ffffff;
  border: 1px solid var(--border-color); box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.user-avatar-circle {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 18px; font-weight: 900; color: #fff; background: var(--primary);
}

h1, h2, h3 { font-weight: 800; letter-spacing: -0.3px; color: var(--text-main); }
.text-gradient { background: linear-gradient(135deg, #4f46e5, #0284c7, #db2777); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.btn {
  width: 100%; padding: 12px 14px; border: none; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: transform 0.12s, opacity 0.2s; color: white;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.45; pointer-events: none; }
.btn-primary { background: linear-gradient(135deg, #4f46e5, #6366f1); box-shadow: 0 4px 14px var(--primary-glow); }
.btn-success { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25); }
.btn-danger { background: linear-gradient(135deg, #ef4444, #dc2626); }
.btn-outline { background: #ffffff; border: 1.5px solid #cbd5e1; color: var(--text-main); }
.btn-sm { width: auto; padding: 7px 11px; font-size: 12px; border-radius: 10px; }

.top-back-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.back-pill {
  display: inline-flex; align-items: center; gap: 6px; background: #ffffff; border: 1px solid #cbd5e1;
  color: var(--text-main); padding: 6px 12px; border-radius: 99px; font-size: 12px; font-weight: 700; cursor: pointer;
}

.input-field {
  width: 100%; background: #ffffff; border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md); padding: 11px 13px; color: var(--text-main); font-size: 14px; outline: none;
}
.input-field:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12); }

.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-subtle); border: 1px solid var(--border-color);
  padding: 10px 12px; border-radius: 13px; margin-bottom: 10px; cursor: pointer;
}
.switch-ui { width: 44px; height: 24px; background: #cbd5e1; border-radius: 99px; position: relative; transition: 0.25s; flex-shrink: 0; }
.switch-ui::after {
  content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  background: white; border-radius: 50%; transition: 0.25s; box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.switch-ui.on { background: var(--primary); }
.switch-ui.on::after { left: 22px; }

.pwa-banner {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(79, 70, 229, 0.1));
  border: 1px solid rgba(2, 132, 199, 0.3); border-radius: 14px; padding: 10px 12px; margin-bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}

.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 60px;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color); display: flex; justify-content: space-around; align-items: center; z-index: 100;
  padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.04);
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--text-muted); font-size: 10px; font-weight: 700; padding: 6px 10px; cursor: pointer; position: relative; }
.nav-item i { font-size: 17px; }
.nav-item.active { color: var(--primary); }
.nav-badge { position: absolute; top: 2px; right: 2px; background: var(--success); color: #fff; font-size: 9px; font-weight: 900; padding: 1px 5px; border-radius: 99px; }
.nav-badge.zero { background: #e2e8f0; color: var(--text-muted); }

.mode-card {
  background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 12px; margin-bottom: 9px;
  display: flex; align-items: center; gap: 12px; cursor: pointer; transition: 0.18s;
}
.mode-card:hover, .mode-card:active { border-color: var(--primary); background: #f8fafc; transform: translateY(-1px); }
.mode-icon { width: 42px; height: 42px; border-radius: 12px; background: #f1f5f9; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }

.cat-choice-card {
  background: #ffffff; border: 2px solid #e2e8f0; border-radius: 16px;
  padding: 13px 14px; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; transition: all 0.22s ease;
}
.cat-choice-card:hover, .cat-choice-card:active { border-color: var(--primary); transform: translateY(-2px); }
.cat-choice-card.locked-pick { opacity: 0.78; pointer-events: none; background: #f8fafc; }
.cat-choice-card.picked-highlight {
  border-color: var(--success) !important; background: rgba(16, 185, 129, 0.12) !important;
  transform: scale(1.03) !important; opacity: 1 !important;
}

.visual-slots-row { display: flex; gap: 5px; align-items: center; }
.v-slot {
  min-width: 40px; height: 30px; border-radius: 8px; padding: 2px 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #f1f5f9; border: 1.5px solid #cbd5e1; color: var(--text-muted);
}
.v-slot .v-icon { font-size: 11px; font-weight: 900; line-height: 1; }
.v-slot .v-time { font-size: 8px; font-weight: 700; opacity: 0.9; margin-top: 1px; }
.v-slot.hit { background: rgba(16, 185, 129, 0.15); border-color: var(--success); color: #047857; animation: popSlot 0.35s ease; }
.v-slot.miss { background: rgba(239, 68, 68, 0.15); border-color: var(--danger); color: #b91c1c; animation: popSlot 0.35s ease; }
.v-slot.current-q { border-color: var(--primary); background: rgba(79, 70, 229, 0.1); color: var(--primary); }
@keyframes popSlot { 0% { transform: scale(0.6); } 70% { transform: scale(1.14); } 100% { transform: scale(1); } }

.duel-header {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px;
  background: #ffffff; border: 1px solid var(--border-color); border-radius: 14px; padding: 7px 10px; margin-bottom: 5px; position: relative; flex-shrink: 0;
}
.duel-player { display: flex; flex-direction: column; gap: 3px; }
.duel-player.right { align-items: flex-end; text-align: right; }
.duel-name { font-size: 11px; font-weight: 800; color: var(--text-main); }
.duel-score { font-size: 17px; font-weight: 900; color: var(--primary); line-height: 1; }

.live-feed-banner {
  min-height: 24px; border-radius: 9px; padding: 3px 9px; margin-bottom: 5px;
  font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: space-between;
  background: #ffffff; border: 1px solid var(--border-color); color: var(--text-muted); flex-shrink: 0;
}
.live-feed-banner.feed-hit { background: #ecfdf5; border-color: #6ee7b7; color: #047857; }
.live-feed-banner.feed-miss { background: #fef2f2; border-color: #fca5a5; color: #b91c1c; }

.art-stage {
  width: 100%; flex: 1; min-height: 145px; max-height: 235px; border-radius: 18px;
  background: linear-gradient(135deg, #e0e7ff 0%, #e0f2fe 50%, #fae8ff 100%);
  border: 1.5px solid #cbd5e1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; margin-bottom: 7px;
}
.art-stage svg { width: 100%; height: 100%; max-height: 215px; }
.category-pill {
  position: absolute; top: 8px; left: 10px; background: rgba(255, 255, 255, 0.92);
  padding: 4px 11px; border-radius: 99px; font-size: 11px; font-weight: 800; color: var(--primary); border: 1px solid rgba(79, 70, 229, 0.25);
}
.pewniak-pill {
  position: absolute; top: 8px; right: 10px; background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff; padding: 5px 12px; border-radius: 99px; font-size: 11px; font-weight: 900; cursor: pointer;
}
.pewniak-pill.active-bet { background: #10b981; color: #fff; transform: scale(1.06); }
.pewniak-pill.used { opacity: 0.35; pointer-events: none; filter: grayscale(1); }

@keyframes spinSlow { 100% { transform: rotate(360deg); } }
@keyframes spinReverse { 100% { transform: rotate(-360deg); } }
@keyframes pulseGlow { 0%, 100% { opacity: 0.65; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes floatY { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-7px); } }
@keyframes eqBounce { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
@keyframes needleRev { 0%, 100% { transform: rotate(-35deg); } 50% { transform: rotate(45deg); } }

.svg-spin { transform-origin: center; animation: spinSlow 18s linear infinite; }
.svg-spin-rev { transform-origin: center; animation: spinReverse 14s linear infinite; }
.svg-pulse { transform-origin: center; animation: pulseGlow 3s ease-in-out infinite; }
.svg-float { animation: floatY 3.2s ease-in-out infinite; }
.svg-eq1 { transform-origin: bottom; animation: eqBounce 0.7s ease-in-out infinite; }
.svg-eq2 { transform-origin: bottom; animation: eqBounce 0.5s ease-in-out infinite 0.2s; }
.svg-eq3 { transform-origin: bottom; animation: eqBounce 0.8s ease-in-out infinite 0.1s; }
.svg-needle { transform-origin: 180px 105px; animation: needleRev 2.4s ease-in-out infinite; }

.sabotage-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  background: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; padding: 6px 9px; margin-bottom: 7px; flex-shrink: 0;
}
.energy-box { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 900; color: var(--accent); min-width: 54px; }
.sab-btn {
  flex: 1; background: #f8fafc; border: 1px solid #cbd5e1; color: var(--text-main); border-radius: 9px;
  padding: 6px 4px; font-size: 11px; font-weight: 800; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px;
}
.sab-btn:disabled { opacity: 0.35; pointer-events: none; }
.sab-btn.ready { border-color: var(--secondary); background: #fdf2f8; color: #be185d; }

.question-banner-box {
  background: #ffffff; border: 1.5px solid #cbd5e1; border-radius: 15px; padding: 11px 12px; margin-bottom: 8px;
  font-size: 16px; font-weight: 800; line-height: 1.3; text-align: center; color: var(--text-main);
  min-height: 58px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.options-wrapper { position: relative; border-radius: 16px; overflow: hidden; flex-shrink: 0; }
.options-grid-2x2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.tile-btn {
  min-height: 88px; background: #ffffff; border: 2px solid #cbd5e1; border-radius: 16px;
  padding: 14px 10px 10px; color: var(--text-main); font-size: 14.5px; font-weight: 800;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 5px; cursor: pointer; transition: all 0.14s ease; position: relative;
}
.tile-btn:active { transform: scale(0.96); }
.tile-letter {
  position: absolute; top: 6px; left: 8px; font-size: 10px; font-weight: 900;
  color: var(--primary); background: #e0e7ff; padding: 2px 6px; border-radius: 6px;
}
.tile-btn.correct { background: #d1fae5; border-color: var(--success); color: #065f46; }
.tile-btn.wrong { background: #fee2e2; border-color: var(--danger); color: #991b1b; }
.tile-btn:disabled { pointer-events: none; }

#fog-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 30; touch-action: none; cursor: pointer; border-radius: 16px; }

.ice-overlay {
  position: absolute; inset: 0; z-index: 35;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.85), rgba(14, 165, 233, 0.72), rgba(186, 230, 253, 0.85));
  backdrop-filter: blur(6px); border: 3px solid #38bdf8; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; cursor: pointer;
}
.ice-overlay.ice-hit-anim { animation: iceHitShake 0.18s ease; }
@keyframes iceHitShake { 0%, 100% { transform: scale(1); } 40% { transform: scale(0.96) rotate(-1.5deg); } 80% { transform: scale(0.98) rotate(1.5deg); } }
.ice-cracks-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.timer-container { width: 100%; height: 6px; background: #cbd5e1; border-radius: 10px; margin-bottom: 6px; overflow: hidden; flex-shrink: 0; }
.timer-fill { height: 100%; width: 100%; background: linear-gradient(90deg, var(--success), var(--warn), var(--danger)); transition: width 0.06s linear; }

.friend-row, .room-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; background: #ffffff; border: 1px solid var(--border-color); border-radius: 12px; margin-bottom: 7px;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.status-dot.online { background: var(--success); box-shadow: 0 0 6px var(--success); }
.status-dot.offline { background: #94a3b8; opacity: 0.6; }

.invite-toast {
  position: fixed; top: 64px; left: 50%; transform: translateX(-50%);
  width: min(460px, 92%); background: #ffffff; border: 2px solid var(--primary); border-radius: 18px;
  padding: 14px; z-index: 999; box-shadow: 0 15px 35px rgba(15, 23, 42, 0.2);
}

@media (max-height: 730px) {
  .adsense-top-bar { height: 48px; min-height: 48px; }
  .house-banner-box { height: 42px; }
  .art-stage { min-height: 110px; }
  .question-banner-box { min-height: 48px; padding: 8px 10px; font-size: 14px; margin-bottom: 6px; }
  .tile-btn { min-height: 74px; padding: 10px 8px 8px; font-size: 13px; }
  .duel-header { padding: 5px 8px; margin-bottom: 4px; }
  .v-slot { height: 26px; min-width: 36px; }
}

.hidden { display: none !important; }