/* Bingo Level: a colourful game room. Scoped to classic; gameplay stays intact. */
body.classic-beach.cozy-room {
  --club-ink:#192b60; --club-pink:#ff4bac; --club-lime:#bcf746;
  --club-blue:#38c6ff; --club-yellow:#ffdd45;
  background:#172866!important; background-image:none!important;
  color:var(--club-ink); isolation:isolate;
}
body.classic-beach.cozy-room .app-shell {background:transparent!important;background-image:none!important;position:relative;z-index:1}
.bingo-color-world {position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:
  radial-gradient(ellipse at 6% 16%,#157ddc 0,transparent 46%),
  radial-gradient(ellipse at 94% 50%,#713ada 0,transparent 45%),
  radial-gradient(ellipse at 15% 96%,#154694 0,transparent 48%),#152354}
.bingo-color-world:before {content:'';position:absolute;inset:-30%;opacity:.32;background:repeating-conic-gradient(from 245deg at 50% 42%,transparent 0deg 12deg,#99d5ff14 13deg 15deg,transparent 16deg 25deg);transform:rotate(-12deg)}
.bingo-color-world:after {content:'';position:absolute;inset:0;background-image:radial-gradient(#ffffff8a 1px,transparent 1px),radial-gradient(#5ddfff8a 1.5px,transparent 1.5px);background-size:97px 113px,173px 137px;background-position:8px 12px,34px 50px;opacity:.35}
.bingo-world-orbit {position:absolute;left:50%;top:47%;width:1250px;height:720px;border:1px solid #5ac6ff28;border-radius:50%;transform:translate(-50%,-50%) rotate(-24deg);box-shadow:0 0 0 48px #61aeff05,0 0 0 110px #61aeff04}
.bingo-world-ball {position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);filter:drop-shadow(0 20px 16px #030c3b70);transform:translate(calc(-50% + var(--world-x,0px)),calc(-50% + var(--world-y,0px)));transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.bingo-world-ball>span {position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse at 28% 18%,#ffffffdb 0,transparent 24%),radial-gradient(circle at 38% 30%,var(--ball-light),var(--ball-color) 48%,var(--ball-dark) 82%);box-shadow:inset -9px -14px 20px #04144955,inset 3px 4px 7px #ffffff99;animation:bingo-world-float var(--speed,9s) ease-in-out var(--delay,0s) infinite alternate;display:grid;place-items:center}
.bingo-world-ball>span:before {content:'';position:absolute;inset:5%;border-radius:50%;border:1px solid #ffffff3a}
.bingo-world-ball b {width:52%;height:52%;border-radius:50%;display:grid;place-items:center;font:900 calc(var(--size)*.26)/1 'Nunito',sans-serif;color:#192b60;background:radial-gradient(circle at 34% 28%,#fff,#fbfcff 48%,#d8e4f4);box-shadow:0 2px 6px #04144955,inset 0 0 0 3px #ffffffa8;transform:rotate(var(--angle,-15deg))}
.bingo-world-ball.pink {--ball-light:#ffaad9;--ball-color:#fa48b0;--ball-dark:#a8106e}
.bingo-world-ball.blue {--ball-light:#92e9ff;--ball-color:#27b9f8;--ball-dark:#0761be}
.bingo-world-ball.lime {--ball-light:#edff99;--ball-color:#b0ef39;--ball-dark:#45920b}
.bingo-world-ball.yellow {--ball-light:#fff6b3;--ball-color:#ffdb36;--ball-dark:#e18505}
.bingo-world-spark {position:absolute;left:var(--x);top:var(--y);color:var(--spark-color,#ffe66b);font-size:var(--size,22px);transform:rotate(12deg);text-shadow:0 0 18px currentColor}
@keyframes bingo-world-float {from{transform:translateY(-8px) rotate(-5deg)}to{transform:translateY(9px) rotate(5deg)}}

/* Keep the mascot detached from the compact controls, as approved. */
.classic-beach .topbar {backdrop-filter:none!important}
.classic-beach .classic-mascot-header:before {background:linear-gradient(110deg,#142658ee,#223273ee)!important;border-bottom:1px solid #79b7ff30;box-shadow:0 6px 22px #050e3430}
.classic-beach .classic-bank-count {color:#fff!important;text-shadow:0 2px 5px #030c3b}
.classic-beach .classic-bank-count small {color:#ffdf65}
.classic-beach .language-button,.classic-beach .profile-chip {background:#ffffff12!important;border:1px solid #a1caff44!important;color:#f7fbff!important;box-shadow:none!important}
.classic-beach .language-button:hover,.classic-beach .profile-chip:hover {background:#ffffff22!important}
.classic-beach .profile-chip-name {color:#fff!important}
.classic-beach .page-wrap {padding-top:28px!important}

/* A saturated control desk, with a yellow primary action. */
.classic-beach .play-card {background:linear-gradient(145deg,#284eaa,#1b327a 72%)!important;border:1px solid #8dcaff60!important;color:#fff!important;box-shadow:0 18px 45px #050d3d55,inset 0 1px 0 #ffffff25!important;border-radius:24px!important;position:relative;overflow:hidden}
.classic-beach .play-card .panel-label {color:#c6f759!important;letter-spacing:1.8px}
.classic-beach .play-card h3 {color:#fff!important;font-weight:900!important;letter-spacing:-1px}
.classic-beach .play-card>p {color:#d8e4ff!important}
.classic-beach .game-options label>span {color:#cbdcff!important}
.classic-beach .card-count-stepper button {background:#ffffff12;border:1px solid #89afff65;color:#fff;transition:background .18s,transform .18s}
.classic-beach .card-count-stepper button:not(:disabled):hover {background:#ffffff28;transform:translateY(-2px)}
.classic-beach .card-count-stepper select {color:#13296a!important;border:2px solid #81d4ff!important;background:#f6faff!important;box-shadow:0 5px 0 #091c5238}
.classic-beach .segmented {background:#0d205340!important;border:1px solid #a1caff35!important;padding:5px!important;border-radius:14px!important}
.classic-beach .segmented button {background:transparent!important;color:#e2eaff!important;border:0!important;transition:background .18s,transform .18s}
.classic-beach .segmented button.selected {background:#cd237d!important;color:#fff!important;box-shadow:0 3px 0 #9c175d!important}
.classic-beach .card-count-hint {color:#c3d5f7!important}
.classic-beach .play-card .start-button {background:linear-gradient(#ffec78,#ffcf32)!important;color:#17285c!important;box-shadow:0 5px 0 #c58b12,0 8px 20px #07164350!important;border:1px solid #fff2b6!important;font-size:17px!important;transition:transform .18s,box-shadow .18s}
.classic-beach .play-card .start-button:hover {transform:translateY(-3px);box-shadow:0 8px 0 #c58b12,0 12px 25px #07164355!important}
.classic-beach .play-card .start-button:active {transform:translateY(3px);box-shadow:0 2px 0 #c58b12!important}
.classic-beach .join-link {color:#bdeaff!important}
.classic-beach .classic-line-rule {color:#d8e4ff!important}
.classic-room-lobby {border-top-color:#9cbcff35}
.classic-beach .classic-room-lobby h4 {color:#fff!important}.classic-beach .classic-room-lobby p {color:#cfddfa!important}
.classic-room-choices button {border-color:#98b5ff42;background:#0e245357;color:#f1f6ff;transition:border-color .2s,background .2s}
.classic-room-choices button:hover {background:#ffffff16;border-color:#67d0ff}
.classic-room-choices button[aria-current=true] {border-color:#bff24c;background:#bff24c17;box-shadow:inset 3px 0 0 #bff24c}
.classic-new-room {color:#a4e6ff}

/* The game sits in a blue velvet frame; the cards stay bright and readable. */
.classic-beach .board-panel {background:linear-gradient(145deg,#243a80f5,#1a285cf7)!important;border:1px solid #8faeff60!important;box-shadow:0 24px 60px #050b3459,inset 0 1px 0 #e0efff33!important;border-radius:28px!important;color:#f3f7ff!important}
.classic-beach .classic-game-toolbar h2 {color:#fff!important;font-size:26px!important;letter-spacing:-1px;font-weight:950;text-shadow:0 3px 0 #0d1e4f}
.classic-beach .classic-game-toolbar {gap:10px}
.classic-beach .classic-mode-choice {background:#0d1d503b;border:1px solid #7fa8fb35}
.classic-beach .classic-mode-choice button {background:#ffffff0e;color:#e1ebff;border-color:#8da9ec3b;transition:background .2s,transform .2s}
.classic-beach .classic-mode-choice button {padding:8px 9px;font-size:12px}
.classic-beach .classic-mode-choice button.selected {background:#bbef47;color:#1c365c;border-color:#ddff89;box-shadow:0 2px 0 #688e25}
.classic-beach .classic-audio-options summary,.classic-beach .quit-game {background:#ffffff0f;color:#eef5ff;border-color:#85a6f548}
.classic-beach .current-play-mode {color:#d0e2ff!important}
.classic-beach .narration-voice-status,.classic-beach .virtual-opponents-note {color:#bdccef!important}
.classic-beach .classic-bank-preview {color:#ffdf62;border:1px solid #ffdf6235;background:#ffdf620b;padding:6px 10px;border-radius:8px;font-size:11px;transition:background .2s}
.classic-beach .classic-bank-preview:hover {background:#ffdf6220}
.classic-beach .board-top h3 {color:#f7faff!important;font-size:22px!important;letter-spacing:-.4px}
.classic-beach .board-top {display:none!important}
.classic-beach .live-label {background:#bff24c18!important;color:#d5f6a8!important;border:1px solid #c3f55444}
.classic-beach .variant-note b {background:#81cdff16!important;color:#a9e2ff!important;border-color:#8bd6ff30}
.classic-beach .classic-participants {border-bottom-color:#a0b7ee30;gap:10px;padding:2px 3px 8px;margin-bottom:8px}
.classic-beach .classic-participant {width:84px;flex-basis:84px;min-height:106px;padding-bottom:5px;border-radius:16px}
.classic-beach .classic-participant .stylish-avatar {width:65px;height:87px}
.classic-beach .classic-participant strong {font-size:11px}
.classic-beach .classic-participant small {font-size:9px;min-height:12px}
.classic-beach .classic-participant {background:linear-gradient(#4970a24a,#28386c)!important;border:1px solid #b6caff4d;color:#fff;box-shadow:0 6px 12px #060f3326;transition:border-color .2s,box-shadow .2s}
.classic-beach .classic-participant:nth-child(3n+2) {background:linear-gradient(#f5a53728,#28386c)!important}
.classic-beach .classic-participant:nth-child(3n+3) {background:linear-gradient(#ff71bd25,#28386c)!important}
.classic-beach .classic-participant.own {border:2px solid #b3ed4b;background:linear-gradient(#bbea4226,#28386c)!important}
.classic-beach .classic-participant.own:hover {border-color:#dbff90;box-shadow:0 0 20px #b3ed4b25}
.classic-beach .classic-participant small {color:#c9d8f7}
.classic-beach .classic-participant.winner {border-color:#ffdd45!important;background:linear-gradient(#ffd44542,#28386c)!important}
.classic-beach #draw-banner {background:radial-gradient(ellipse at 50% 0,#436dcc,#253f94 65%)!important;border:1px solid #9ccaff5c!important;box-shadow:inset 0 1px 0 #d0efff25,0 8px 15px #080f3220!important;border-radius:20px!important;height:122px!important}
.classic-beach #draw-banner .draw-kicker {color:#cadbff!important;letter-spacing:1px}
.classic-beach #draw-banner .draw-copy strong {color:#fff!important}
.classic-beach #draw-banner .draw-hint {color:#d8eaff!important}
.classic-beach #recent-calls:before {color:#bdd4ff!important;background:#ffffff0d!important}
.classic-beach #recent-calls .recent-label {color:#cbdfff!important;background:#ffffff0d!important;border:1px solid #86b2ff28;border-radius:8px;padding:6px}
.classic-beach #recent-calls .recent-empty {color:#a4badf!important}
.classic-beach #recent-calls:not(:has(.recent-ball)) {min-height:34px!important;margin:4px 0 8px!important;padding:0!important}

.classic-beach .board-card,.classic-beach .board-card.active {--card-accent:#38c6ff;background:linear-gradient(#fff,#f5f9ff)!important;border:1px solid #fff!important;border-top:5px solid var(--card-accent)!important;box-shadow:0 10px 20px #070d3529!important;border-radius:20px!important;transition:box-shadow .2s}
.classic-beach .board-card:nth-child(4n+2) {--card-accent:#fb62b5}
.classic-beach .board-card:nth-child(4n+3) {--card-accent:#a5d733}
.classic-beach .board-card:nth-child(4n+4) {--card-accent:#ffce35}
.classic-beach .board-card-heading>strong {color:#354b78!important;font-size:12px!important}
.classic-beach #bingo-grid .bingo-cell {background:#eef2fb!important;color:#203764!important;border-color:#dfe7f6!important;transition:background .16s,border-color .16s}
.classic-beach #bingo-grid .bingo-cell:hover:not(.free):not(:disabled) {background:#e3ebff!important;border-color:#98b6ff!important}
.classic-beach .board-panel #bingo-grid .bingo-head span {color:#27aefa!important;-webkit-text-stroke:.7px #0879ce;text-shadow:0 2px 0 #1268b6!important}
.classic-beach .board-panel #bingo-grid .bingo-head:nth-child(2) span {color:#ed58ad!important;-webkit-text-stroke:.7px #b32d77;text-shadow:0 2px 0 #b32d77!important}
.classic-beach .board-panel #bingo-grid .bingo-head:nth-child(3) span {color:#a6d139!important;-webkit-text-stroke:.7px #588314;text-shadow:0 2px 0 #588314!important}
.classic-beach .board-panel #bingo-grid .bingo-head:nth-child(4) span {color:#ffd342!important;-webkit-text-stroke:.7px #ad7f0a;text-shadow:0 2px 0 #ad7f0a!important}
.classic-beach .board-panel #bingo-grid .bingo-head:nth-child(5) span {color:#ac83f5!important;-webkit-text-stroke:.7px #7751b8;text-shadow:0 2px 0 #7751b8!important}
.classic-beach .board-bottom>span {color:#c6d8f8!important}
.classic-beach .board-notice {color:#dce8ff!important}
.classic-beach .board-panel .bingo-button {transition:transform .18s,filter .18s}
.classic-beach .board-panel .bingo-button:not(:disabled):hover {transform:translateY(-3px) rotate(-1deg);filter:brightness(1.08)}

.classic-beach .classic-combo-preview {background:linear-gradient(110deg,#254aa0,#5a2d95);border:1px solid #d5adff50;box-shadow:0 14px 40px #060d3b40;color:#fff}
.classic-beach .classic-combo-copy>span {color:#ffcdea}
.classic-beach .classic-combo-copy>h2 {color:#fff;font-weight:900}
.classic-beach .classic-combo-copy>p {color:#d6dfff}
.classic-beach .classic-combo-play {background:linear-gradient(#ff76c7,#e53a9c);box-shadow:0 4px 0 #a62270}
.classic-beach footer {background:#10234c80!important;border:1px solid #9fc3ff28!important;color:#c6d7f5!important}
.classic-beach footer a {color:#dceaff}
.classic-beach .classic-entry-controls {background:#13275aec;border-color:#8ab4ff50;box-shadow:0 6px 24px #050c3550}
.classic-beach .classic-entry-controls button {border-color:#99bcff66;background:#ffffff0a;color:#e9f4ff}
.classic-beach .classic-entry-controls .classic-embroidery-replay {background:#3dbcf7;color:#092d61;border-color:#8be4ff}
.classic-beach button:focus-visible,.classic-beach a:focus-visible,.classic-beach summary:focus-visible,.classic-beach select:focus-visible {outline:3px solid #ffdc58!important;outline-offset:4px}

@media(max-width:980px) {
  .classic-beach .game-layout {grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
  .classic-beach .right-panel {grid-row:1!important;margin-top:0!important}
  .classic-beach .board-panel {grid-column:1!important;grid-row:2!important}
  .classic-beach .page-wrap {padding-top:90px!important}
}
@media(max-width:1100px) {
  .classic-beach #draw-banner {grid-template-columns:minmax(0,1fr) 130px 64px!important;gap:8px!important;padding:7px 12px!important}
  .classic-beach #draw-banner .classic-drum {width:130px;height:98px}
  .classic-beach #draw-banner .draw-hint {display:none!important}
  .classic-beach #draw-banner #draw-ball {width:62px!important;height:62px!important}
}
@media(max-width:760px) {
  .classic-beach .page-wrap {padding-top:72px!important}
  .classic-beach .play-card {padding:20px!important}
  .bingo-world-ball {opacity:.8}
  .bingo-world-ball:nth-of-type(n+6) {display:none}
  .classic-beach .classic-participant {flex-basis:84px;width:84px}
}
@media(max-width:520px) {
  .classic-beach .board-panel {border-radius:22px!important}
  .classic-beach .board-card,.classic-beach .board-card.active {border-radius:12px!important;border-top-width:4px!important}
  .classic-beach .classic-game-toolbar h2 {font-size:27px!important}
  .classic-beach .classic-mode-choice {margin-left:0;gap:3px}
  .classic-beach .classic-mode-choice button {padding:8px 9px;font-size:11px}
  .classic-beach .classic-audio-options {margin-left:auto;font-size:11px}
  .classic-beach .classic-audio-options summary {padding:9px}
  .classic-beach .quit-game {width:30px;height:30px;font-size:23px}
}
@media(prefers-reduced-motion:reduce) {
  .bingo-world-ball>span {animation:none}
  .bingo-world-ball,.classic-beach button,.classic-beach .board-card {transition:none!important}
}
@media(max-width:390px) {
  .classic-beach #draw-banner {grid-template-columns:minmax(0,1fr) 105px 56px!important;gap:5px!important}
  .classic-beach #draw-banner .classic-drum {width:105px;height:88px}
  .classic-beach #draw-banner #draw-ball {width:54px!important;height:54px!important}
}
.bingo-color-world.world-paused .bingo-world-ball>span {animation-play-state:paused}
