/* Ons Sê on a phone: one hand, big targets. Night blue #0f1a3d, sun #ffc93c, cream #fff4dc, coral #ff6f59, teal #2ec4b6. */
@font-face { font-family: 'Manrope'; font-weight: 700; src: url(/tv/fonts/manrope-700.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'Manrope'; font-weight: 800; src: url(/tv/fonts/manrope-800.woff2) format('woff2'); font-display: swap; }
[hidden] { display: none !important; }
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { min-height: 100%; }
body { background: #0f1a3d; color: #fff4dc; font: 700 17px/1.35 'Manrope', system-ui, sans-serif; -webkit-text-size-adjust: 100%; }
#app { max-width: 520px; margin: 0 auto; padding: 14px 16px calc(96px + env(safe-area-inset-bottom)); min-height: 100vh; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.t0 { color: #ff8a77; }
.t1 { color: #4fd8cb; }
.av { width: 40px; height: 40px; border-radius: 50%; vertical-align: middle; flex: none; }

.logo { display: inline-block; background: #ffc93c; color: #0f1a3d; font-weight: 800; font-size: 44px; padding: 6px 22px 10px; border-radius: 22px;
  transform: rotate(-3deg); box-shadow: 0 5px 0 #c48a12; margin: 18px 0 26px; }
.join { text-align: center; }
.join label { display: block; text-align: left; font-size: 15px; }
.join input, .ans input { display: block; width: 100%; font: 800 22px 'Manrope', system-ui, sans-serif; padding: 14px 16px; margin-top: 6px; border-radius: 16px;
  border: 3px solid #3c5cb5; background: #fff4dc; color: #0f1a3d; outline: none; }
.join input:focus, .ans input:focus { border-color: #ffc93c; }
.lbl { text-align: left; font-size: 15px; margin: 18px 0 8px; opacity: .85; }
.avgrid { display: flex; flex-wrap: wrap; justify-content: space-between; }
.pick { width: 23%; padding: 6px 0; border-radius: 16px; margin-bottom: 8px; border: 3px solid transparent; }
.pick .av { width: 56px; height: 56px; }
.pick.on { border-color: #ffc93c; background: rgba(255,201,60,.15); }

.btn { display: block; width: 100%; padding: 14px; margin-top: 12px; border-radius: 16px; font-weight: 800; font-size: 18px; background: rgba(255,255,255,.1); }
.btn.go { background: #ffc93c; color: #0f1a3d; box-shadow: 0 4px 0 #c48a12; }
.btn.big { font-size: 22px; padding: 18px; }
.btn.ghost { background: transparent; border: 2px solid rgba(255,244,220,.3); font-size: 16px; padding: 10px; }
.btn.sticky { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); width: auto; max-width: 488px; margin: 0 auto; z-index: 5; }
.btn:active, .opt:active, .jb:active, .buzz:active { transform: scale(.97); }

.hd { display: flex; align-items: center; padding: 6px 0 12px; border-bottom: 2px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.hd .av { width: 44px; height: 44px; margin-right: 10px; }
.hd div { flex: 1; color: #fff4dc; }
.hd small { display: block; font-size: 13px; opacity: .8; }
.hd.t0 small { color: #ff8a77; opacity: 1; }
.hd.t1 small { color: #4fd8cb; opacity: 1; }
.hd .sc { font-size: 20px; font-weight: 800; }
.hd .sc i { font-style: normal; }

.teamcard { border-radius: 20px; padding: 16px; text-align: center; background: rgba(255,111,89,.18); border: 3px solid #ff6f59; }
.teamcard.t1 { background: rgba(46,196,182,.18); border-color: #2ec4b6; }
.teamcard small { display: block; color: #fff4dc; opacity: .8; }
.teamcard b { display: block; font-size: 30px; font-weight: 800; }
.teams { display: flex; margin-top: 14px; }
.tl { flex: 1; margin-right: 10px; }
.tl + .tl { margin-right: 0; }
.tl h3 { font-size: 16px; margin-bottom: 6px; }
.pl { display: flex; align-items: center; width: 100%; text-align: left; font-size: 15px; color: #fff4dc; padding: 4px 0; }
.pl .av { width: 30px; height: 30px; margin-right: 8px; }
button.pl { border-radius: 10px; }
.settings { margin-top: 18px; background: rgba(255,255,255,.06); border-radius: 18px; padding: 14px; }
.settings h3 { color: #ffc93c; }
.settings .lbl { margin-top: 12px; }
.row { display: flex; margin-top: 4px; }
.opt { flex: 1; padding: 12px 6px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 15px; margin-right: 8px; min-height: 48px; }
.opt:last-child { margin-right: 0; }
.opt.on { background: #ffc93c; color: #0f1a3d; }
.wait { text-align: center; opacity: .8; margin: 18px 0; }

.dots { text-align: center; margin: 4px 0 10px; }
.dots i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.18); margin: 0 4px; }
.dots i.on { background: #ffc93c; }
.dots i.cur { background: #fff4dc; }
.qn { font-size: 14px; color: #ffc93c; margin-top: 4px; }
.q { font-size: 25px; font-weight: 800; line-height: 1.2; margin: 6px 0 14px; }
.you { font-size: 20px; color: #ffc93c; margin-bottom: 6px; }
.ans .btn.go { margin-top: 10px; }
.watch { text-align: center; margin: 22px 0; }
.watch .big { font-size: 24px; font-weight: 800; }
.watch p + p { margin-top: 6px; opacity: .85; }
.last { text-align: center; font-size: 16px; margin-top: 8px; }
.last.miss { color: #ffb3a7; }
.xs { text-align: center; margin-top: 8px; }
.x { display: inline-block; width: 40px; height: 40px; line-height: 36px; border-radius: 10px; border: 3px solid rgba(255,255,255,.2); margin: 0 4px; font-size: 22px; color: rgba(255,255,255,.2); }
.x.on { border-color: #e63946; color: #e63946; }
.mini { list-style: decimal inside; margin-top: 16px; font-size: 15px; background: rgba(255,255,255,.05); border-radius: 14px; padding: 10px 14px; }
.mini li { padding: 3px 0; min-height: 26px; }
.mini b { float: right; color: #ffc93c; }

.buzz { display: block; width: 78vw; height: 78vw; max-width: 340px; max-height: 340px; margin: 20px auto; border-radius: 50%; font-size: 44px; font-weight: 800;
  color: #0f1a3d; background: #ff6f59; box-shadow: 0 12px 0 #b8402f, 0 0 0 10px rgba(255,111,89,.25); }
.buzz.t1 { background: #2ec4b6; box-shadow: 0 12px 0 #1b8a80, 0 0 0 10px rgba(46,196,182,.25); }
.buzz.t-1 { background: #ffc93c; box-shadow: 0 12px 0 #c48a12; }

.help { font-size: 14px; opacity: .85; margin-bottom: 8px; }
.rq { background: rgba(255,255,255,.05); border-radius: 16px; padding: 12px; margin-top: 12px; }
.rq h3 { font-size: 17px; margin: 2px 0 8px; }
.cl { border-radius: 12px; background: rgba(255,255,255,.07); margin-top: 8px; border: 3px solid transparent; }
.cl.sel { border-color: #ffc93c; background: rgba(255,201,60,.15); }
.clh { display: flex; width: 100%; justify-content: space-between; align-items: center; padding: 12px; min-height: 48px; text-align: left; }
.clh b { font-size: 18px; }
.clh span { font-size: 13px; opacity: .8; }
.forms { padding: 0 10px 10px; }
.form { display: inline-block; font-size: 14px; padding: 7px 10px; margin: 0 6px 6px 0; border-radius: 10px; background: rgba(255,255,255,.12); }

.judge { margin-top: 8px; }
.jb { display: flex; align-items: center; width: 100%; text-align: left; padding: 12px; margin-top: 8px; border-radius: 14px; background: #fff4dc; color: #0f1a3d; font-size: 18px; font-weight: 800; min-height: 52px; }
.jb i { font-style: normal; width: 30px; height: 30px; line-height: 30px; text-align: center; border-radius: 50%; background: #0f1a3d; color: #ffc93c; margin-right: 10px; font-size: 15px; flex: none; }
.jb b { margin-left: auto; color: #1a2f6c; }
.jb .av { width: 32px; height: 32px; margin-right: 10px; }
.jb.up { opacity: .35; }
.jb.up.on { opacity: 1; background: #ffc93c; }
.jb.no { background: #e63946; color: #fff; }
.jb.no i { background: #fff; color: #e63946; }

.clock { width: 110px; height: 110px; margin: 4px auto 10px; border-radius: 50%; border: 8px solid #ffc93c; display: flex; align-items: center; justify-content: center; }
.clock b { font-size: 44px; font-weight: 800; }
.clock.small { display: inline-flex; width: 70px; height: 70px; border-width: 5px; margin-top: 10px; }
.clock.small b { font-size: 28px; }
.dup { background: #ff6f59; color: #0f1a3d; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; animation: shake .4s; }
.fmtotal { text-align: center; font-size: 22px; margin: 16px 0; }
.fmtotal b { font-size: 48px; color: #ffc93c; }
.scores { display: flex; margin-top: 10px; }
.scores .sc { flex: 1; text-align: center; border-radius: 16px; padding: 14px 8px; background: rgba(255,255,255,.06); margin-right: 10px; }
.scores .sc:last-child { margin-right: 0; }
.scores .sc span { display: block; font-size: 40px; color: #fff4dc; font-weight: 800; }

.hostbar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(10,18,48,.95); z-index: 4; }
.hostbar .btn { margin: 0 4px; }
.p-review .hostbar, .p-fmIntro .hostbar, .p-end .hostbar { display: none; }
#conn { position: fixed; top: 0; left: 0; right: 0; background: #e63946; color: #fff; text-align: center; font-size: 14px; padding: 6px; z-index: 9; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
