/* Versed Play — the shared team buzzer (/buzz?c=CODE). One device, big colour buttons. */
.bz-wrap { min-height: 100dvh; display: flex; flex-direction: column; padding: .75rem 1rem 1rem; max-width: 1100px; margin: 0 auto; }
.bz-top { display: flex; align-items: center; justify-content: space-between; padding: .25rem 0 .75rem; }
.bz-code { font-family: var(--display); font-weight: 800; letter-spacing: .18em; color: var(--lime); font-size: 1.1rem; }
.bz-main { flex: 1; display: flex; flex-direction: column; }
.bz-enter { max-width: 460px; margin: auto; width: 100%; }
.bz-enter h1 { font-size: 2rem; margin-bottom: .4rem; }
.bz-enter p { color: var(--muted); }
.bz-enter .input-code { margin-bottom: .5rem; }
/* status line above the buttons */
.bz-status { text-align: center; padding: .4rem 0 .8rem; min-height: 3.6rem; }
.bz-status h2 { font-size: clamp(1.1rem, 3.5vw, 1.6rem); line-height: 1.2; white-space: pre-line; }
.bz-status p { color: var(--muted); font-weight: 600; font-size: .9rem; margin-top: .2rem; }
.bz-status .timer { max-width: 420px; margin: .6rem auto 0; }
/* the grid of team buttons: 2 columns on a phone, up to 3 on a laptop */
.bz-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; align-content: stretch; }
@media (min-width: 720px) { .bz-grid { grid-template-columns: repeat(3, 1fr); } .bz-grid.n2 { grid-template-columns: 1fr 1fr; } .bz-grid.n4 { grid-template-columns: 1fr 1fr; } }
.bz-grid button { position: relative; min-height: 130px; border-radius: 22px; background: var(--tc); color: #fff; font-family: var(--display); font-weight: 800; font-size: clamp(1.1rem, 4vw, 1.8rem); text-shadow: 0 2px 0 rgba(0,0,0,.25); box-shadow: 0 8px 0 rgba(0,0,0,.35); transition: transform .08s, box-shadow .08s, opacity .15s; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: 1rem; overflow-wrap: anywhere; opacity: .55; }
.bz-grid button .k { position: absolute; top: .6rem; left: .8rem; font-family: var(--body); font-size: .8rem; font-weight: 800; opacity: .8; background: rgba(0,0,0,.25); border-radius: 6px; padding: .1rem .45rem; }
.bz-grid button .sc { font-family: var(--body); font-size: .85rem; font-weight: 700; opacity: .9; }
.bz-grid button .st { font-family: var(--body); font-size: 1rem; font-weight: 800; background: rgba(0,0,0,.28); border-radius: 999px; padding: .2rem .8rem; }
.bz-grid button.open { opacity: 1; animation: bzpulse 1.4s infinite; }
.bz-grid button.open:active { transform: translateY(6px); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.bz-grid button.buzzed { opacity: 1; outline: 5px solid var(--text); outline-offset: 3px; animation: none; }
.bz-grid button.first { outline-color: var(--lime); }
.bz-grid button.out { opacity: .35; }
.bz-grid button.correct { opacity: 1; outline: 5px solid var(--green); outline-offset: 3px; }
.bz-grid button.wrong { opacity: .4; }
@keyframes bzpulse { 0%, 100% { box-shadow: 0 8px 0 rgba(0,0,0,.35), 0 0 0 0 rgba(255,255,255,.35) } 50% { box-shadow: 0 8px 0 rgba(0,0,0,.35), 0 0 0 14px rgba(255,255,255,0) } }
.bz-wait { margin: auto; text-align: center; max-width: 420px; }
.bz-wait h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.bz-wait p { color: var(--muted); }
.bz-foot { text-align: center; color: var(--dim); font-size: .75rem; padding-top: .8rem; }
