/* Diddy Bowling — host screen + phone extras (base look comes from style.css, shared with Bust a Nut!) */
.alley { flex: 1; display: grid; grid-template-columns: 1fr min(36vw, 720px); gap: 2vw; min-height: 0; }
.alley-main { position: relative; display: flex; flex-direction: column; min-height: 0; }
.turnbar { display: flex; align-items: center; gap: 18px; padding: 12px 22px; align-self: flex-start; }
.turnbar .nm { font-family: var(--display); font-size: clamp(22px, 2.8vw, 48px); line-height: 1; }
.turnbar .sub { font-weight: 800; color: var(--muted); font-size: clamp(13px, 1.2vw, 20px); }
.bowler { position: absolute; left: 1vw; bottom: 0; z-index: 2; }
.bowler .fig { --h: min(46vh, 420px); }
.bowler.hype .fig { animation: hype .5s 3 alternate; }
@keyframes hype { to { transform: translateY(-3vh) rotate(-4deg); } }
.quip { position: absolute; left: 50%; top: 24%; transform: translateX(-50%); text-align: center; z-index: 3; width: 70%; pointer-events: none; }
.quip b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6vw, 110px); line-height: .95; color: var(--gold); text-shadow: 0 0 36px rgba(255, 200, 61, .7), 5px 5px 0 var(--pink); animation: slam .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.quip.bad b { color: var(--cyan); text-shadow: 0 0 36px rgba(45, 226, 255, .6), 5px 5px 0 #003a44; }
.quip span { display: block; margin-top: 10px; font-weight: 800; font-size: clamp(16px, 1.8vw, 30px); text-shadow: 0 2px 12px #000; }

.board { padding: 14px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; scrollbar-width: none; align-self: stretch; min-height: 0; }
.board h4 { margin: 0 0 4px; font-family: var(--display); font-weight: 400; font-size: clamp(13px, 1.1vw, 18px); color: var(--pink); letter-spacing: .12em; }
.brow { display: flex; align-items: stretch; gap: 8px; padding: 6px; border-radius: 14px; border: 2px solid transparent; background: rgba(255, 255, 255, .04); flex: none; }
.brow.now { border-color: var(--gold); background: rgba(255, 200, 61, .1); box-shadow: 0 0 22px rgba(255, 200, 61, .25); }
.brow.off { opacity: .4; }
.brow .who { display: flex; align-items: center; gap: 8px; width: clamp(80px, 9vw, 150px); flex: none; font-weight: 800; font-size: clamp(11px, 1vw, 17px); min-width: 0; }
.brow .who span.n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.frames { display: flex; flex: 1; gap: 3px; min-width: 0; }
.fr { flex: 1; min-width: 0; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; text-align: center; font-weight: 900; }
.fr.last { flex: 1.5; }
.fr .m { display: flex; justify-content: flex-end; font-size: clamp(10px, .9vw, 15px); min-height: 1.35em; border-bottom: 1px solid var(--line); }
.fr .m i { font-style: normal; flex: 1; border-left: 1px solid var(--line); padding: 0 1px; }
.fr .m i:first-child { border-left: 0; }
.fr .m i.x { color: var(--gold); }
.fr .t { font-size: clamp(11px, 1.05vw, 18px); padding: 1px 0; min-height: 1.3em; }
.fr.cur { outline: 2px solid var(--gold); }
.btot { width: clamp(38px, 3.6vw, 62px); flex: none; display: grid; place-items: center; font-family: var(--display); font-size: clamp(14px, 1.5vw, 26px); color: var(--gold); }

.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); }

/* ---- phone ---- */
.lane { position: relative; height: 150px; border-radius: 16px; background: #120620; border: 1px solid var(--line); overflow: hidden; touch-action: manipulation; user-select: none; }
.lane .board3 { position: absolute; inset: 0 14% 0 14%; background: repeating-linear-gradient(90deg, #c98a4a 0 7.69%, #b9783a 7.69% 15.38%); box-shadow: inset 0 0 30px rgba(0, 0, 0, .5); }
.lane .gut { position: absolute; top: 0; bottom: 0; width: 14%; background: #08020f; }
.lane .gut.l { left: 0; } .lane .gut.r { right: 0; }
.lane .pocket { position: absolute; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--gold); opacity: .55; border-radius: 2px; }
.lane .mark { position: absolute; top: 0; bottom: 0; width: 6px; margin-left: -3px; background: var(--pink); box-shadow: 0 0 14px var(--pink); }
.lane .mark.locked { background: var(--green); box-shadow: 0 0 14px var(--green); }
.lane .ballp { position: absolute; bottom: 8px; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff7fb7, #ff2d8a 45%, #6b0f3c); box-shadow: 0 4px 10px rgba(0, 0, 0, .5); }
.meter { position: relative; height: 54px; border-radius: 14px; background: #0c0415; border: 1px solid var(--line); overflow: hidden; }
.meter .sweet { position: absolute; top: 0; bottom: 0; background: rgba(61, 255, 154, .35); border-left: 2px solid var(--green); border-right: 2px solid var(--green); }
.meter .needle { position: absolute; top: 0; bottom: 0; width: 6px; margin-left: -3px; background: #fff; box-shadow: 0 0 12px #fff; }
.meter .needle.locked { background: var(--green); }
.meter small { position: absolute; left: 10px; top: 3px; font-weight: 800; color: var(--muted); font-size: 11px; }
.bigtap { font-size: 30px; padding: 30px 22px; width: 100%; }
.phone .frames { gap: 2px; }
.phone .fr .m { font-size: 11px; }
.phone .fr .t { font-size: 12px; }

/* 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; }
