/* Diddy Bingo — host screen + phone (base look comes from style.css, shared with Bust a Nut!) */
#bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0d0418; }
.bhost { flex: 1; display: grid; grid-template-columns: 1fr min(31vw, 560px); gap: 2vw; min-height: 0; }
.bleft { display: flex; flex-direction: column; gap: 2vh; min-height: 0; }
.callrow { display: flex; align-items: center; gap: 2.4vw; padding: 14px 26px; }
.callball { --d: min(24vh, 17vw); width: var(--d); height: var(--d); border-radius: 50%; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative;
  background: radial-gradient(circle at 32% 28%, #fff 0 14%, var(--bc, #ff2d8a) 15% 62%, color-mix(in srgb, var(--bc, #ff2d8a) 50%, #000) 100%); box-shadow: 0 14px 40px rgba(0, 0, 0, .55), 0 0 40px color-mix(in srgb, var(--bc, #ff2d8a) 60%, transparent); }
.callball .ring2 { position: absolute; inset: 14%; border-radius: 50%; background: #fff; box-shadow: inset 0 0 12px rgba(0, 0, 0, .25); }
.callball b, .callball i { position: relative; font-style: normal; color: #1b0a2a; font-family: var(--display); font-weight: 400; line-height: .9; }
.callball i { font-size: calc(var(--d) * .2); }
.callball b { font-size: calc(var(--d) * .42); }
.callball.spin0 { animation: ballin0 .7s cubic-bezier(.2, 1.4, .4, 1) both; }
.callball.spin1 { animation: ballin1 .7s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes ballin0 { from { transform: translateY(-40vh) rotate(-360deg) scale(.4); opacity: 0; } }
@keyframes ballin1 { from { transform: translateY(-40vh) rotate(360deg) scale(.4); opacity: 0; } }
.callinfo { flex: 1; min-width: 0; }
.callline { font-size: clamp(20px, 2.6vw, 46px); font-weight: 800; line-height: 1.15; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.callmeta { margin-top: 10px; font-family: var(--display); color: var(--muted); font-size: clamp(13px, 1.2vw, 20px); letter-spacing: .08em; }
.recent { display: flex; gap: 8px; margin-top: 12px; }
.mini-ball { width: clamp(30px, 3vw, 50px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: clamp(11px, 1.1vw, 18px); color: #1b0a2a; background: radial-gradient(circle at 32% 28%, #fff 0 18%, var(--bc) 19%); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.cdring { --p: 1; width: clamp(80px, 8vw, 130px); aspect-ratio: 1; border-radius: 50%; flex: none; background: conic-gradient(var(--gold) calc(var(--p) * 360deg), rgba(255, 255, 255, .08) 0); display: grid; place-items: center; position: relative; }
.cdring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--ink); }
.cdring span { position: relative; font-family: var(--display); font-size: clamp(26px, 3vw, 52px); color: var(--gold); }
.cdring small { position: absolute; bottom: 14%; font-size: 10px; color: var(--muted); font-weight: 800; z-index: 1; }
.numboard { padding: 14px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; justify-content: center; }
.nrow { display: grid; grid-template-columns: 2.4em repeat(15, 1fr); gap: 5px; align-items: center; }
.nrow .L { font-family: var(--display); font-size: clamp(18px, 2.2vw, 38px); color: var(--bc); text-align: center; text-shadow: 0 0 14px color-mix(in srgb, var(--bc) 70%, transparent); }
.nrow span.n { text-align: center; font-weight: 900; font-size: clamp(11px, 1.35vw, 24px); padding: .35em 0; border-radius: 8px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .28); }
.nrow span.n.on { background: var(--bc); color: #1b0a2a; box-shadow: 0 0 14px color-mix(in srgb, var(--bc) 70%, transparent); }
.nrow span.n.new { animation: newcell .9s 3 alternate; }
@keyframes newcell { to { transform: scale(1.35); background: #fff; } }
.bright { display: flex; flex-direction: column; gap: 2vh; min-height: 0; }
.patcard { padding: 16px 20px; display: flex; gap: 18px; align-items: center; }
.patgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; width: clamp(80px, 8vw, 130px); flex: none; }
.patgrid i { aspect-ratio: 1; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.patgrid i.on { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.patgrid i.free { background: var(--pink); }
.patcard h3 { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 2vw, 34px); color: var(--gold); }
.patcard p { margin: 4px 0 0; color: var(--muted); font-weight: 700; font-size: clamp(12px, 1vw, 17px); }
.plist { padding: 14px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; scrollbar-width: none; flex: 1; min-height: 0; }
.plist h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(13px, 1.1vw, 18px); color: var(--pink); letter-spacing: .12em; }
.prow { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 2px solid transparent; font-weight: 800; font-size: clamp(13px, 1.3vw, 22px); flex: none; }
.prow.hot { border-color: var(--gold); background: rgba(255, 200, 61, .12); animation: pulse .6s infinite alternate; }
.prow.off { opacity: .4; }
.prow .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prow .aw { font-family: var(--display); font-weight: 400; font-size: .8em; color: var(--muted); }
.prow.hot .aw { color: var(--gold); }
.prow .sc { font-family: var(--display); font-weight: 400; color: var(--gold); min-width: 2.6em; text-align: right; }
.winwrap { display: flex; align-items: center; justify-content: center; gap: 4vw; }
.bigcard { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 14px; width: min(30vw, 46vh); }
.bigcard b { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .08); font-family: var(--display); font-weight: 400; font-size: clamp(12px, 1.5vw, 26px); color: #fff; }
.bigcard b.called { background: rgba(255, 200, 61, .3); }
.bigcard b.win { background: var(--gold); color: #1b0a2a; box-shadow: 0 0 18px var(--gold); }
.bingohead { font-family: var(--display); font-size: clamp(50px, 9vw, 160px); line-height: .9; color: var(--gold); text-shadow: 0 0 40px rgba(255, 200, 61, .8), 6px 6px 0 var(--pink); animation: slam .5s cubic-bezier(.2, 1.6, .4, 1) both; }

/* ---- phone ---- */
.pcall { display: flex; align-items: center; gap: 14px; }
.pcall .callball { --d: 84px; flex: none; }
.pcall .callline { font-size: 16px; }
.bcard { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; touch-action: manipulation; }
.bcard .hd { text-align: center; font-family: var(--display); font-size: 26px; padding: 2px 0; }
.bcell { aspect-ratio: 1; border-radius: 12px; background: var(--ink-3); border: 2px solid transparent; display: grid; place-items: center; font-family: var(--display); font-size: clamp(18px, 6vw, 28px); color: #fff; position: relative; user-select: none; -webkit-tap-highlight-color: transparent; }
.bcell.daub { background: var(--pink); color: #fff; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .35), 0 0 14px rgba(255, 45, 138, .5); }
.bcell.daub::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.bcell.free { background: var(--gold); color: #2a1300; font-size: 14px; }
.bcell.latest { border-color: var(--gold); }
.bcell span { position: relative; z-index: 1; }
.bingobtn { font-size: 34px; padding: 22px; width: 100%; background: linear-gradient(90deg, #ffc83d, #ff2d8a); box-shadow: 0 7px 0 #8a3b00, 0 12px 30px rgba(255, 45, 138, .4); color: #2a0010; }
.bingobtn:active { transform: translateY(6px); box-shadow: 0 1px 0 #8a3b00; }
.bingobtn.box { background: #333; color: #aaa; box-shadow: 0 6px 0 #111; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--ink-3); font-weight: 800; font-size: 14px; }
.chip.hot { background: #5a3a00; color: var(--gold); }
.togg { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.togg button { padding: 6px 14px; border-radius: 99px; background: var(--ink-3); font-weight: 800; }
.togg button[aria-pressed="true"] { background: var(--green); color: #002a12; }
.hist { display: flex; gap: 6px; flex-wrap: wrap; }
.hist .mini-ball { width: 38px; font-size: 12px; }

/* podium + standings (same as Diddy Bowling) */
.podium { display: flex; align-items: flex-end; justify-content: center; gap: 3vw; }
.podium .slot { display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 900; font-size: clamp(14px, 1.6vw, 26px); }
.podium .slot .pt { font-family: var(--display); color: var(--gold); font-size: 1.4em; }
.podium .slot.first .fig { animation: hype .6s infinite alternate; }
.finalwrap { flex: 1; display: grid; grid-template-columns: 1fr min(28vw, 460px); gap: 2vw; min-height: 0; }
.finalwrap .ranklist { align-self: center; max-height: 100%; overflow-y: auto; scrollbar-width: none; }
h1.fin { font-size: clamp(26px, 3.6vw, 64px) !important; max-width: 60vw; }
.ranklist { display: flex; flex-direction: column; gap: 6px; padding: 14px 20px; min-width: 22vw; font-weight: 800; font-size: clamp(14px, 1.4vw, 22px); }
.ranklist .row { gap: 12px; }
.ranklist .row b:last-child { margin-left: auto; font-family: var(--display); font-weight: 400; color: var(--gold); }

@keyframes hype { to { transform: translateY(-3vh) rotate(-4deg); } }

/* home button (phone header) */
.homelink { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-size: 18px; background: var(--ink-3); border: 1.5px solid rgba(255, 45, 138, .6); }
.phone header .logo { font-size: 22px; }
.phone header .who .wn { max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone header .who { min-width: 0; }
