/* страница игры /play */
.play-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin: 6px 0 14px; }
.play-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin: 6px 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { font: 600 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border: 1px solid var(--line); border-radius: 2px; color: var(--fog); background: rgba(157, 184, 198, .07); }
.stat { display: flex; gap: 26px; flex-wrap: wrap; }
.stat div { min-width: 84px; }
.stat b { display: block; font: 800 1.9rem/1 var(--display); color: var(--lamp-hi); }
.stat span { color: var(--muted); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.play-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.panel { background: linear-gradient(180deg, var(--night-3), var(--night-2)); border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
h2.s { font-size: 1.5rem; margin: 0 0 10px; color: var(--lamp-hi); }
.lead { color: var(--fog); max-width: 62ch; }

.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 4px; background: #06111a; }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 3px; background: #14130f; }
.playbox { border-radius: 3px; overflow: hidden; position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; color: var(--ink); text-align: center; background: #06111a center / cover no-repeat; }
.playbox::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 17, 26, .35), rgba(6, 17, 26, .82)); }
.playbox .in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.playbtn { width: 76px; height: 76px; border-radius: 50%; background: var(--lamp); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255, 180, 90, .18), 0 0 50px rgba(255, 180, 90, .35); transition: transform .15s; }
.playbox:hover .playbtn { transform: scale(1.07); }
.playbtn svg { width: 30px; height: 30px; fill: var(--night); margin-left: 4px; }
.playbox b { font: 800 1.5rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.playbox small { color: var(--fog); font-size: .9rem; }
.stage.full { position: fixed; inset: 0; z-index: 100; aspect-ratio: auto; border: 0; border-radius: 0; }

.bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 14px 0 24px; }
.like { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 3px; background: rgba(157, 184, 198, .07); color: var(--ink); font: 600 1rem var(--body); cursor: pointer; }
.like svg { width: 20px; height: 20px; fill: none; stroke: var(--lamp-hi); stroke-width: 1.8; }
.like.on { border-color: var(--lamp); background: rgba(255, 180, 90, .14); }
.like.on svg { fill: var(--lamp); stroke: var(--lamp); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); border-radius: 3px; display: block; }

.board h2 { margin: 0; }
.board-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; margin-bottom: 12px; }
.seg button { background: none; border: 0; color: var(--fog); padding: 8px 14px; font: 600 .9rem var(--body); cursor: pointer; min-height: 40px; }
.seg button.on { background: rgba(255, 180, 90, .16); color: var(--lamp-hi); }
table.lb { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.lb td { padding: 9px 6px; border-bottom: 1px solid rgba(157, 184, 198, .1); vertical-align: middle; }
table.lb td:first-child { width: 28px; color: var(--muted); font-weight: 600; }
table.lb tr:nth-child(-n+3) td:first-child { color: var(--lamp); }
table.lb .nm { overflow-wrap: anywhere; }
table.lb .st { text-align: right; white-space: nowrap; }
.sc { display: inline-flex; align-items: center; gap: 2px; margin-left: 8px; color: var(--fog); font-size: .9rem; }
.sc svg { width: 18px; height: 18px; }
.me { margin-top: 12px; padding: 10px 12px; border: 1px solid rgba(255, 180, 90, .4); border-radius: 3px; background: rgba(255, 180, 90, .08); }
.empty { color: var(--muted); margin: 8px 0 0; }
.noscript { color: var(--muted); }
@media (max-width: 900px) { .play-grid { grid-template-columns: 1fr; } .stat { gap: 18px; } }
@media (max-width: 700px) { .playbtn { width: 60px; height: 60px; } .playbox b { font-size: 1.2rem; } }

[hidden] { display: none !important; }

.namebar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 18px; padding: 14px 18px; border-color: rgba(255, 180, 90, .45); background: linear-gradient(180deg, rgba(255, 180, 90, .14), rgba(255, 180, 90, .05)); }
.namebar .nb-text { display: grid; gap: 2px; flex: 1 1 260px; }
.namebar .nb-text span { color: var(--fog); font-size: .95rem; }
.namebar .nb-form { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; }
.namebar input { flex: 1 1 180px; min-height: 44px; padding: 0 12px; border-radius: 3px; border: 1px solid var(--line); background: var(--night); color: var(--ink); font: 1rem var(--body); }
.namebar small { flex-basis: 100%; color: var(--lamp-hi); }
.namebar small:empty { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* кнопка полного экрана в цветах игры: золото #d8b56b на тёмном #12110d, правый нижний угол игры */
.stage .tools { position: absolute; right: 10px; bottom: 10px; z-index: 3; display: none; }
.stage.running .tools { display: flex; }
.fsbtn { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 8px; border: 1px solid rgba(214, 190, 130, .42); background: rgba(18, 17, 13, .82); color: #d8b56b; cursor: pointer; transition: background .15s, border-color .15s; }
.fsbtn:hover { background: #1b1914; border-color: #d8b56b; }
.fsbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fsbtn .i-exit { display: none; }
.stage.is-fs .fsbtn .i-enter { display: none; }
.stage.is-fs .fsbtn .i-exit { display: block; }
.stage.full .tools, .stage:fullscreen .tools { right: max(10px, env(safe-area-inset-right)); bottom: max(10px, env(safe-area-inset-bottom)); }
.stage.full .fsbtn, .stage:fullscreen .fsbtn { width: 32px; height: 32px; opacity: .85; }
.stage:fullscreen { margin-top: 0; border: 0; border-radius: 0; }

/* недельный вызов и медаль чемпиона */
.wk { margin: 0 0 14px; padding: 14px; border: 1px solid rgba(214, 190, 130, .3); border-radius: 4px; background: rgba(18, 17, 13, .45); }
.wk-k { margin: 0 0 4px; color: #d8b56b; font: 600 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.wk h3 { margin: 0 0 6px; font-size: 1.5rem; color: var(--lamp-hi); }
.wk-d { margin: 0 0 10px; color: var(--fog); font-size: .95rem; line-height: 1.5; }
.wk-h { margin: 10px 0 0; color: var(--muted); font-size: .85rem; }
.wk-last { margin: 0 0 12px; color: var(--fog); font-size: .9rem; }
.champ { display: inline-flex; align-items: center; gap: 2px; margin-left: 6px; vertical-align: -3px; color: #d8b56b; font-size: .8rem; }
.champ svg { width: 18px; height: 18px; }
