/* Bilyard — qorong'i xona, yashil mato, yong'oq yog'ochi; urg'u — iliq oltin. Telefon portretda stol tik, boshqaruv pastda; yotiq ekranda — yonlarda. */
:root, :root[data-theme="dark"], :root[data-theme="light"] { color-scheme: dark; --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); --sal: env(safe-area-inset-left, 0px); --sar: env(safe-area-inset-right, 0px);
  --bg: #0c1013; --sur: #172027; --sur2: #1f2b33; --sur3: #2a3842; --line: rgba(255,255,255,.1); --line2: rgba(255,255,255,.2); --fg: #fff; --mut: #cfd9d4; --acc: #f2c14e; --acc-ink: #2a1a00; --acc-text: #f7d07a; --red: #ff6a55; --green: #7fe0a0;
  --gold1: #ffd768; --gold2: #f39a2a; --ink: #2a1400; --navy: 14, 22, 27; --ts: 0 1px 2px rgba(0,0,0,.85), 0 2px 14px rgba(0,0,0,.5); }
html, body { height: 100%; overflow: hidden; background: #0c1013; overscroll-behavior: none; }
body { position: fixed; inset: 0; color: #fff; font-family: var(--font, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); }
#cv { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
#ui { position: fixed; inset: 0; pointer-events: none; z-index: 10; }
#ui > * { position: absolute; }
#ui button, #ui a, #ui input, #ui .power, #ui .fine, #ui .spin-pop { pointer-events: auto; }
.sp { flex: 1; }

#splash { position: fixed; inset: 0; z-index: 30; display: flex; flex-direction: column; align-items: center; padding-top: calc(18vh + var(--sat)); background: radial-gradient(ellipse at 50% 45%, #17714d 0%, #0e4a33 38%, #0c1013 78%); transition: opacity .55s ease; pointer-events: none; }
#splash.off { opacity: 0; }
.sp-box { width: min(320px, 78vw); text-align: center; }
.sp-box b { display: block; font-size: clamp(46px, 13.5vw, 68px); line-height: .98; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 18px; text-shadow: var(--ts); }
.sp-bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,.24); overflow: hidden; }
.sp-bar i { display: block; height: 100%; width: 4%; border-radius: 4px; background: linear-gradient(90deg, var(--gold1), var(--gold2)); transition: width .2s ease; }
.sp-box small { display: block; margin-top: 10px; font-size: 13.5px; font-weight: 650; min-height: 18px; text-shadow: var(--ts); }

/* tugmalar */
.btn-main { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 64px; padding: 0 22px; border: 0; border-radius: 20px; background: linear-gradient(180deg, var(--gold1) 0%, #ffb62e 46%, var(--gold2) 100%); color: var(--ink); font-size: 24px; font-weight: 900; font-style: italic; text-transform: uppercase; cursor: pointer; text-decoration: none; box-shadow: 0 5px 0 #a8560c, 0 14px 30px rgba(0,0,0,.42), inset 0 1.5px 0 rgba(255,255,255,.65); transition: transform .08s ease, box-shadow .08s ease, filter .15s; }
.btn-main:active { transform: translateY(4px); box-shadow: 0 1px 0 #a8560c, 0 6px 18px rgba(0,0,0,.42), inset 0 1.5px 0 rgba(255,255,255,.65); }
.btn-main:disabled { filter: saturate(.55) brightness(.85); cursor: default; font-size: 17px; text-transform: none; font-style: normal; font-weight: 800; }
.btn-main svg { width: 26px; height: 26px; flex: none; }
.btn2 { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: rgba(var(--navy), .66); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; white-space: nowrap; transition: transform .08s, background .15s; }
.btn2:active { transform: translateY(2px) scale(.985); }
.btn2 svg { width: 21px; height: 21px; flex: none; }
.btn2.wide { justify-content: flex-start; } .btn2.wide small { margin-left: auto; font-size: 12.5px; font-weight: 650; color: var(--mut); white-space: normal; text-align: right; line-height: 1.2; }
.btn-link { display: block; width: 100%; min-height: 44px; border: 0; background: transparent; color: #fff; font-size: 15.5px; font-weight: 700; text-shadow: var(--ts); cursor: pointer; }
.rbtn { flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.26); border-radius: 50%; background: rgba(var(--navy), .58); color: #fff; cursor: pointer; text-decoration: none; transition: transform .08s; }
.rbtn:active { transform: scale(.92); }
.rbtn svg { width: 21px; height: 21px; }
.rbtn.txt { font-size: 13.5px; font-weight: 800; }
.rbtn.big { width: 56px; height: 56px; } .rbtn.big svg { width: 26px; height: 26px; }

/* menyu */
#scrMenu { inset: 0; display: flex; flex-direction: column; pointer-events: none; }
#scrMenu::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,11,13,.7), rgba(8,11,13,.35) 30%, rgba(8,11,13,.5) 55%, rgba(8,11,13,.9)); pointer-events: none; }
#scrMenu > * { position: relative; }
.m-top { display: flex; align-items: center; gap: 8px; padding: calc(10px + var(--sat)) max(12px, var(--sar)) 0 max(12px, var(--sal)); }
.m-top .gu-menu2 { top: calc(100% + 2px); right: 12px; color: #fff; pointer-events: auto; }
.m-logo { padding: clamp(6px, 3vh, 34px) 20px 0; text-align: center; animation: bl-logo .7s cubic-bezier(.2,.9,.25,1.1) both; }
.m-logo h1 { margin: 0; font-size: clamp(50px, 15vw, 82px); line-height: .96; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; color: #fff; text-shadow: var(--ts), 0 6px 34px rgba(40,200,130,.3); }
.m-logo p { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: #e6f2ec; text-shadow: var(--ts); }
.m-logo::after { content: ""; display: block; width: 94px; height: 5px; margin: 11px auto 0; border-radius: 3px; background: linear-gradient(90deg, var(--gold1), var(--gold2)); }
@keyframes bl-logo { from { opacity: 0; transform: translateY(-14px) scale(1.06); } }
.m-bottom { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 9px; padding: 0 max(14px, var(--sar)) calc(12px + var(--sab)) max(14px, var(--sal)); animation: bl-up .55s cubic-bezier(.2,.9,.25,1) both .08s; }
@keyframes bl-up { from { opacity: 0; transform: translateY(26px); } }
.m-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.lv { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 8px; border: 1px solid rgba(255,255,255,.26); border-radius: 14px; background: rgba(var(--navy), .5); color: #fff; font-size: 14.5px; font-weight: 750; cursor: pointer; }
.lv.on { background: #fff; color: #10201a; border-color: #fff; font-weight: 850; }
.m-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
/* tor telefonda uzun yozuv («Two players», 320 px) ustunni kengaytirib ekrandan chiqarardi — endi tugma ichida ikki qatorga o‘tadi */
.m-two .btn2 { min-width: 0; padding: 0 12px; white-space: normal; line-height: 1.15; text-align: left; }
.m-two .btn2 span { min-width: 0; overflow-wrap: break-word; }
.m-small { display: flex; align-items: center; gap: 7px; }
.m-small .hpn { font-size: 12.5px; font-weight: 700; color: var(--mut); text-shadow: var(--ts); }
.btn-range { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 16px; border: 1px solid rgba(255,215,104,.55); border-radius: 16px; background: rgba(var(--navy), .66); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; text-align: left; }
.btn-range[hidden] { display: none; }
.btn-range svg { width: 24px; height: 24px; color: var(--gold1); flex: none; }
.btn-range span { flex: 1; } .btn-range small { display: block; font-size: 12.5px; font-weight: 650; color: #e2ece7; }
.btn-range i { font-style: normal; font-weight: 850; color: var(--gold1); }
.btn-range.res { border-color: var(--gold1); background: rgba(242,193,78,.16); }
#menuSponsors:empty { display: none; }
@media (min-width: 760px) and (min-height: 501px) {
  #scrMenu { align-items: flex-start; } .m-top { width: 100%; }
  #scrMenu::before { background: linear-gradient(90deg, rgba(8,11,13,.88), rgba(8,11,13,.55) 40%, rgba(8,11,13,.15) 75%); }
  .m-logo { text-align: left; padding: 3vh 0 0 5vw; } .m-logo h1 { font-size: 88px; } .m-logo::after { margin-left: 2px; }
  .m-bottom { width: 410px; margin-left: 5vw; padding: 0 0 5vh; }
  .btn-main:hover, .btn2:hover, .rbtn:hover, .lv:hover, .btn-range:hover { filter: brightness(1.12); }
}
@media (max-height: 500px) {
  #scrMenu::before { background: linear-gradient(270deg, rgba(8,11,13,.9), rgba(8,11,13,.5) 55%, rgba(8,11,13,.2)); }
  .m-logo { text-align: left; padding: 0; position: absolute; left: 66px; top: calc(8px + var(--sat)); } .m-logo h1 { font-size: 32px; } .m-logo p, .m-logo::after { display: none; }
  .m-bottom { position: absolute; right: max(10px, var(--sar)); bottom: 8px; width: min(400px, 52vw); gap: 6px; padding: 0; max-height: calc(100vh - 62px - var(--sat)); overflow: auto; }
  .btn-main { min-height: 48px; font-size: 20px; } .btn2, .btn-range { min-height: 42px; font-size: 14.5px; } .lv { height: 36px; } .btn-range small, .btn2.wide small { display: none; } #menuSponsors { display: none; }
}

/* kutish, do'st */
.center-panel { left: 0; right: 0; bottom: 0; padding: 22px max(16px, var(--sar)) calc(16px + var(--sab)) max(16px, var(--sal)); background: linear-gradient(180deg, transparent, rgba(var(--navy), .78) 24%, rgba(var(--navy), .94)); pointer-events: auto; animation: bl-up .35s cubic-bezier(.2,.9,.25,1) both; }
.center-panel h3 { margin: 0 0 6px; font-size: 26px; font-weight: 900; font-style: italic; text-transform: uppercase; text-shadow: var(--ts); line-height: 1.08; }
.center-panel p { margin: 0 0 12px; color: #e3ece8; font-size: 14.5px; line-height: 1.4; }
.center-panel .lbl { margin: 16px 0 7px; font-weight: 700; }
.center-panel .btns { display: grid; gap: 9px; margin-top: 12px; }
@media (min-width: 760px) and (min-height: 501px) { .center-panel { left: 5vw; right: auto; width: 420px; bottom: 5vh; padding: 22px; border-radius: 22px; background: rgba(var(--navy), .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); } }
.spin { display: inline-block; width: 24px; height: 24px; border-radius: 50%; border: 3px solid rgba(255,255,255,.3); border-top-color: var(--gold1); animation: bl-spin 1s linear infinite; flex: none; }
@keyframes bl-spin { to { transform: rotate(360deg); } }
.wait-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; } .wait-row h3 { margin: 0; }
.code-big { font: 900 54px/1.05 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .16em; text-align: center; padding: 8px 0; margin: 4px 0 8px; color: var(--gold1); text-shadow: var(--ts); }
.code-row { display: flex; gap: 8px; } .code-row .btn2 { flex: none; }
.code-input { flex: 1; min-width: 0; min-height: 52px; font: 800 24px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .3em; text-align: center; text-transform: uppercase; border-radius: 16px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; outline: none; user-select: text; -webkit-user-select: text; }
.code-input:focus { border-color: var(--gold1); }

/* o'yin HUD */
#hud { inset: 0; pointer-events: none; }
#hud[hidden] { display: none; }
.top { position: absolute; left: max(8px, var(--sal)); right: max(8px, var(--sar)); top: calc(6px + var(--sat)); display: grid; grid-template-columns: 44px minmax(0, 1fr) auto minmax(0, 1fr) 44px; grid-template-areas: "b p0 t p1 s"; align-items: center; gap: 8px; }
.top .hb { grid-area: b; } .top .hs { grid-area: s; } #pl0 { grid-area: p0; } #pl1 { grid-area: p1; } .turn { grid-area: t; }
.turn { min-width: 0; text-align: center; padding: 0 6px; }
.turn span { display: block; font-size: 18px; font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.12; text-shadow: var(--ts); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.turn small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; text-shadow: var(--ts); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e6f2ec; }
.turn.me span { color: var(--gold1); }
.plate { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 5px 10px 6px; border-radius: 14px; background: rgba(var(--navy), .62); border: 1.5px solid rgba(255,255,255,.08); transition: border-color .25s, box-shadow .25s, opacity .25s; opacity: .78; }
.plate[hidden] { display: none; }
.plate.on { border-color: var(--gold1); box-shadow: 0 0 0 3px rgba(242,193,78,.18); opacity: 1; }
.plate.r { align-items: flex-end; text-align: right; }
.plate .nm { display: flex; align-items: center; gap: 6px; max-width: 100%; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.plate.r .nm { flex-direction: row-reverse; }
.plate .nm b { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.plate .nm .rt { font-style: normal; font-weight: 650; opacity: .75; font-size: 12px; }
.bot-tag { flex: none; padding: 0 6px; border-radius: 6px; background: rgba(255,255,255,.22); font-style: normal; font-size: 11px; font-weight: 800; }
.mbs { display: flex; gap: 2px; min-height: 15px; align-items: center; }
.plate.r .mbs { flex-direction: row-reverse; }
.mbs em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--mut); }
.mb { flex: none; width: 15px; height: 15px; border-radius: 50%; font: 800 7.5px/15px -apple-system, "Segoe UI", Roboto, Arial, sans-serif; text-align: center; color: #111; font-style: normal; background: radial-gradient(circle, #f6f2e8 0 33%, transparent 35%), var(--c); box-shadow: inset -1.5px -2px 3px rgba(0,0,0,.35); transition: opacity .3s, transform .3s; }
.mb.st { background: radial-gradient(circle, #f6f2e8 0 33%, transparent 35%), linear-gradient(180deg, #f3efe6 0 24%, var(--c) 24% 76%, #f3efe6 76%); }
.mb.gone { opacity: .2; transform: scale(.8); filter: grayscale(1); }
#hud.solo .top { grid-template-columns: 44px minmax(0, 1fr) auto 44px; grid-template-areas: "b p0 t s"; }
.tbar { position: absolute; left: 0; right: 0; top: 0; height: calc(3px + var(--sat)); background: rgba(0,0,0,.25); z-index: 2; }
.tbar i { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--gold1); transform-origin: left; transition: transform .25s linear; }
.tbar.low i { background: var(--red); }
.tbar[hidden] { display: none; }

/* kuch, vint, aniq nishon */
.power { position: absolute; touch-action: none; cursor: ns-resize; }
.pw-track { position: absolute; border-radius: 16px; background: rgba(0,0,0,.45); border: 1.5px solid rgba(255,255,255,.3); overflow: hidden; box-shadow: inset 0 2px 10px rgba(0,0,0,.5); }
.pw-track i { position: absolute; inset: 0; transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, #7fe0a0, #f2c14e 55%, #ff6a55); }
.pw-ticks { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 calc(10% - 1px), rgba(255,255,255,.18) calc(10% - 1px) 10%); }
.power b { position: absolute; font-size: 12.5px; font-weight: 850; text-shadow: var(--ts); text-align: center; font-variant-numeric: tabular-nums; pointer-events: none; }
.spinb { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 3px; width: 64px; padding: 6px 0 4px; border: 1px solid rgba(255,255,255,.24); border-radius: 16px; background: rgba(var(--navy), .66); color: #fff; cursor: pointer; }
.spinb .ball { position: relative; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff, #ebe7dc 50%, #b7b1a3); box-shadow: 0 2px 6px rgba(0,0,0,.5); }
.spinb .ball i { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #d8312b; left: calc(50% - 4.5px + var(--x, 0) * 50%); top: calc(50% - 4.5px + var(--y, 0) * 50%); }
.spinb small { font-size: 11.5px; font-weight: 800; }
.spinb.set { border-color: var(--gold1); }
.fine { position: absolute; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.26); background: rgba(0,0,0,.35); touch-action: none; overflow: hidden; }
.fine i { position: absolute; inset: 0; }
#hud.idle .power, #hud.idle .fine, #hud.idle .spinb { opacity: .38; }

body.lan .power { left: max(16px, calc(var(--sal) + 10px)); top: 50%; transform: translateY(-46%); width: 50px; height: min(60vh, 360px); }
body.lan .pw-track { left: 0; right: 0; top: 0; bottom: 24px; }
body.lan .power b { left: -6px; right: -6px; bottom: 0; }
body.lan .spinb { right: max(10px, calc(var(--sar) + 6px)); top: calc(66px + var(--sat)); }
body.lan .fine { right: max(20px, calc(var(--sar) + 16px)); top: calc(150px + var(--sat)); bottom: calc(18px + var(--sab)); width: 44px; }
body.lan .fine i { background: repeating-linear-gradient(180deg, rgba(255,255,255,.3) 0 2px, transparent 2px 12px); background-position: 0 var(--off, 0); }
body.por .power { left: calc(var(--sal) + 86px); right: calc(var(--sar) + 10px); bottom: calc(10px + var(--sab)); height: 58px; cursor: ew-resize; }
body.por .pw-track { inset: 0; }
body.por .pw-track i { transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, #7fe0a0, #f2c14e 55%, #ff6a55); }
body.por .pw-ticks { background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(255,255,255,.18) calc(10% - 1px) 10%); }
body.por .power b { left: 0; right: 0; top: 50%; transform: translateY(-50%); font-size: 15px; }
body.por .spinb { left: calc(var(--sal) + 10px); bottom: calc(10px + var(--sab)); height: 58px; justify-content: center; }
body.por .fine { left: calc(var(--sal) + 10px); right: calc(var(--sar) + 10px); bottom: calc(76px + var(--sab)); height: 36px; }
body.por .fine i { background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 2px, transparent 2px 12px); background-position: var(--off, 0) 0; }
body.por .top { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1fr) 44px; grid-template-areas: "b t t s" "p0 p0 p1 p1"; row-gap: 6px; }
body.por #hud.solo .top { grid-template-columns: 44px minmax(0, 1fr) 44px; grid-template-areas: "b t s" "p0 p0 p0"; }
body.por .mb { width: 13px; height: 13px; font-size: 6.5px; line-height: 13px; }
@media (max-width: 370px) { body.por .mb { width: 11px; height: 11px; font-size: 0; } }
@media (max-height: 500px) { .turn span { font-size: 15px; } .turn small { font-size: 11px; } .plate { padding: 3px 8px 4px; } body.lan .spinb { top: calc(58px + var(--sat)); width: 56px; } body.lan .spinb .ball { width: 28px; height: 28px; } body.lan .fine { top: calc(130px + var(--sat)); } }

.spin-pop { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(330px, 90vw); padding: 16px 18px 14px; border-radius: 22px; background: rgba(var(--navy), .94); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 20px 60px rgba(0,0,0,.55); text-align: center; animation: bl-pop .22s cubic-bezier(.2,.9,.25,1.1) both; z-index: 5; }
@keyframes bl-pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.94); } }
.spin-pop h4 { margin: 0 0 8px; font-size: 16px; font-weight: 850; }
.spin-pop p { margin: 8px 0 12px; font-size: 13px; line-height: 1.4; color: #dfe9e4; }
.sp-ball { position: relative; width: 176px; height: 176px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle at 38% 32%, #fff, #ece8de 45%, #b5af9f 100%); box-shadow: 0 8px 24px rgba(0,0,0,.5); touch-action: none; cursor: crosshair; pointer-events: auto; }
.sp-ball::before, .sp-ball::after { content: ""; position: absolute; background: rgba(0,0,0,.14); }
.sp-ball::before { left: 50%; top: 10%; bottom: 10%; width: 1px; } .sp-ball::after { top: 50%; left: 10%; right: 10%; height: 1px; }
.sp-ball i { position: absolute; width: 24px; height: 24px; border-radius: 50%; background: #d8312b; box-shadow: 0 0 0 3px rgba(216,49,43,.25), 0 2px 5px rgba(0,0,0,.4); left: calc(50% - 12px + var(--x, 0) * 50%); top: calc(50% - 12px + var(--y, 0) * 50%); z-index: 1; pointer-events: none; }
.sp-row { display: flex; gap: 9px; } .sp-row .btn2 { flex: 1; min-height: 46px; } .sp-row .ok { flex: none; width: 64px; }

.hint { left: 50%; transform: translateX(-50%); width: min(92vw, 460px); text-align: center; font-size: 14.5px; font-weight: 750; line-height: 1.35; text-shadow: var(--ts); animation: bl-up .4s both; padding: 8px 12px; border-radius: 14px; background: rgba(var(--navy), .55); }
body.lan .hint { bottom: calc(14px + var(--sab)); }
body.por .hint { bottom: calc(124px + var(--sab)); }
.banner { left: 50%; top: 42%; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; max-width: 94vw; animation: bl-ban 1.7s cubic-bezier(.2,.9,.25,1) both; }
.banner b { display: block; font-size: clamp(30px, 9vw, 52px); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; text-shadow: var(--ts), 0 4px 30px rgba(0,0,0,.4); }
.banner small { display: block; font-size: 15px; font-weight: 800; text-shadow: var(--ts); white-space: normal; }
.banner.hit b { color: var(--gold1); } .banner.bad b { color: #ffb4a6; } .banner.miss b { color: #fff; font-size: clamp(24px, 7.5vw, 40px); }
@keyframes bl-ban { 0% { opacity: 0; transform: translate(-50%, -40%) scale(.85); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } 20% { transform: translate(-50%, -50%) scale(1); } 82% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -56%); } }
.conn-banner { left: 50%; top: calc(110px + var(--sat)); transform: translateX(-50%); padding: 8px 14px; border-radius: 12px; background: rgba(160,40,30,.88); font-size: 14px; font-weight: 750; white-space: nowrap; }

/* yakun */
.ovr { inset: 0; display: flex; flex-direction: column; pointer-events: none; background: linear-gradient(180deg, rgba(8,11,13,.55), rgba(8,11,13,.25) 35%, rgba(8,11,13,.85)); }
.ov-title { padding: calc(64px + var(--sat)) 20px 0; text-align: center; animation: bl-logo .6s both; }
.ov-title h2 { margin: 0; font-size: clamp(42px, 13vw, 76px); font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: -.02em; text-shadow: var(--ts), 0 6px 30px rgba(0,0,0,.4); }
.ovr.win h2 { color: var(--gold1); }
.ov-title p { margin: 4px 0 0; font-size: 16px; font-weight: 750; text-shadow: var(--ts); }
.ov-bottom { margin-top: auto; display: grid; gap: 10px; padding: 0 max(14px, var(--sar)) calc(14px + var(--sab)) max(14px, var(--sal)); animation: bl-up .5s both .15s; pointer-events: auto; }
.ov-stats { display: flex; justify-content: center; gap: 22px; text-shadow: var(--ts); }
.ov-stats span { text-align: center; } .ov-stats b { display: block; font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; } .ov-stats i { font-style: normal; font-size: 12.5px; font-weight: 700; opacity: .9; }
.ov-stats b.up { color: var(--green); } .ov-stats b.down { color: #ffb4a6; }
.ov-row { display: flex; gap: 9px; } .ov-row .btn2 { flex: 1; }
#ovAd:empty { display: none; }
@media (min-width: 760px) and (min-height: 501px) { .ov-bottom { width: 420px; margin-left: auto; margin-right: auto; padding-bottom: 5vh; } }
@media (max-height: 500px) { .ov-title { padding-top: calc(14px + var(--sat)); } .ov-title h2 { font-size: 38px; } .ov-bottom { width: 400px; margin-left: auto; margin-right: auto; } .ov-stats b { font-size: 21px; } }

.bl-rules ul { margin: 0; padding-left: 20px; } .bl-rules li { margin: 6px 0; line-height: 1.45; }
