/* «Рация»: быстрый чат в паузах матча (кожа, бронза, золотой Oswald). */
.cht-head { position: relative; }
.cht-radio { position: absolute; left: 50%; top: calc(50% + 14px); transform: translateX(-50%); width: 36px; height: 36px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 18px; cursor: pointer;
  background: var(--leather); border: 2px solid var(--bronze); box-shadow: var(--bevel); color: var(--gold1); z-index: 2; }
.cht-radio .cht-ico { width: 22px; height: 22px; object-fit: contain; }
.cht-ring { position: absolute; inset: -6px; border-radius: 50%; pointer-events: none; opacity: 0; --p: 0%;
  background: conic-gradient(var(--gold2) var(--p), transparent 0); -webkit-mask: radial-gradient(circle, transparent 19px, #000 20px); mask: radial-gradient(circle, transparent 19px, #000 20px); }
.cht-radio.cool .cht-ring { opacity: 1; }
.cht-radio.cool { filter: saturate(.6); }

.cht-panel { position: absolute; bottom: 92px; right: 8px; width: min(320px, calc(100% - 16px)); padding: 8px; z-index: 20; pointer-events: auto;
  background: var(--leather); border: 2px solid var(--bronze); border-radius: 12px; box-shadow: var(--bevel), 0 12px 30px rgba(0, 0, 0, .6);
  transform: translateX(115%); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .2s, visibility 0s .25s; }
.cht-panel.open { transform: none; opacity: 1; visibility: visible; transition: transform .25s ease, opacity .2s; }
.cht-title { font-family: var(--font-lodge); text-transform: uppercase; letter-spacing: .08em; text-align: center; font-size: 14px; margin-bottom: 6px;
  background: linear-gradient(180deg, var(--gold1), var(--gold2) 52%, var(--gold3)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.cht-tabs { display: flex; gap: 4px; margin-bottom: 8px; }
.cht-tab { flex: 1; padding: 6px 4px; font: 600 13px var(--font-lodge); text-transform: uppercase; letter-spacing: .04em; color: #d9c29a; cursor: pointer;
  background: rgba(0, 0, 0, .3); border: 1px solid rgba(169, 116, 58, .5); border-radius: 8px; }
.cht-tab.on { color: var(--gold1); border-color: var(--bronze-hi); background: rgba(169, 116, 58, .28); }
.cht-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.cht-body[data-tab="phrases"] { grid-template-columns: repeat(2, 1fr); }
.cht-it { position: relative; min-height: 52px; padding: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  font: 500 13px var(--font-lodge); color: #f2e2c4; cursor: pointer; background: rgba(0, 0, 0, .28); border: 1px solid rgba(169, 116, 58, .6); border-radius: 8px; }
.cht-it small { font-size: 11px; opacity: .85; }
.cht-it .cht-ico { width: 30px; height: 30px; object-fit: contain; font-size: 24px; }
.cht-it:active { transform: scale(.96); }
.cht-panel.busy .cht-it:not(.locked) { opacity: .45; pointer-events: none; }
.cht-it.locked { cursor: default; padding-bottom: 20px; }
.cht-it.locked > :not(.cht-soon) { filter: grayscale(.8) brightness(.65); }
.cht-soon { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; justify-content: center; gap: 3px; padding: 2px 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gold2); background: rgba(0, 0, 0, .65); border-radius: 0 0 7px 7px; }
.cht-lock { width: 12px; height: 12px; }

.cht-seal { position: relative; display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; overflow: hidden;
  background: var(--seal) center / cover no-repeat, radial-gradient(circle at 35% 30%, #d94a3a, #8e1f16 68%, #5e100b); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .18), 0 2px 5px rgba(0, 0, 0, .55); }
.cht-seal.gold { background: var(--seal) center / cover no-repeat, radial-gradient(circle at 35% 30%, #ffe08a, #c08a22 68%, #7a5212); }
.cht-seal b { font: 700 11px var(--font-lodge); letter-spacing: .04em; color: #ffe9d2; text-shadow: 0 1px 0 rgba(0, 0, 0, .7); text-align: center; line-height: 1; }
.cht-seal.gold b { color: #4a2f08; text-shadow: 0 1px 0 rgba(255, 230, 160, .6); }
.cht-it .cht-seal { width: 52px; height: 52px; }

.score-head .side { position: relative; }
.cht-strip { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 2px; width: max-content; max-width: 150px; padding: 3px 8px; z-index: 3;
  font: 500 12px var(--font-lodge); color: #f2e2c4; background: rgba(20, 12, 7, .92); border: 1px solid var(--bronze); border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); animation: cht-in .25s ease-out; }
.cht-strip span { margin-right: 4px; }
.cht-strip.out, .cht-stamp.out { opacity: 0; transition: opacity .3s; }
.cht-pop { position: absolute; left: 50%; top: -36px; display: flex; flex-direction: column; align-items: center; z-index: 3; animation: cht-pop .5s cubic-bezier(.2, 1.6, .4, 1) both; transform: translateX(-50%); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .7)); }
.cht-pop .cht-ico { width: 44px; height: 44px; object-fit: contain; font-size: 36px; }
.cht-pop small { font: 600 11px var(--font-lodge); color: var(--gold1); text-transform: uppercase; }
.cht-stamp { position: absolute; left: 50%; top: 50%; z-index: 3; pointer-events: none; transform: translate(-50%, -50%) rotate(var(--rot, -6deg)); animation: cht-slam .38s cubic-bezier(.2, .9, .3, 1) both; }
.cht-stamp .cht-seal { width: 72px; height: 72px; }
@keyframes cht-in { from { opacity: 0; transform: translateX(-50%) translateY(-6px); } }
@keyframes cht-pop { from { transform: translateX(-50%) scale(.2); opacity: 0; } }
@keyframes cht-slam { from { transform: translate(-50%, -50%) rotate(calc(var(--rot, -6deg) - 25deg)) scale(2.6); opacity: 0; } 70% { opacity: 1; } }

/* «Рация» во время раунда (match/chat attachRound): кнопка слева под паузой, панель выезжает слева, лента под таймером */
.cht-radio.in-round { position: absolute; left: calc(env(safe-area-inset-left, 0px) + 12px); top: calc(env(safe-area-inset-top, 0px) + 112px); transform: none; width: 46px; height: 46px; z-index: 6; pointer-events: auto; touch-action: manipulation; }
.cht-radio.in-round .cht-ico { width: 26px; height: 26px; }
.cht-radio.in-round .cht-ring { -webkit-mask: radial-gradient(circle, transparent 24px, #000 25px); mask: radial-gradient(circle, transparent 24px, #000 25px); }
/* окно рации в раунде — внизу экрана и выше окна очков: не закрывает счёт, повтор и итоги, и на него можно нажать */
.cht-panel.in-round { top: auto; right: auto; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 8px); width: min(360px, calc(100% - 16px)); transform: translate(-50%, 115%); z-index: 400; padding: 6px; }
.cht-panel.in-round.open { transform: translateX(-50%); }
.cht-panel.in-round .cht-title { display: none; } .cht-panel.in-round .cht-tabs { margin-bottom: 5px; } .cht-panel.in-round .cht-body { gap: 4px; }
.cht-panel.in-round .cht-it { min-height: 38px; }
.cht-feed { position: absolute; left: 50%; top: calc(env(safe-area-inset-top, 0px) + 96px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; z-index: 5; pointer-events: none; width: max-content; max-width: 70vw; }
.cht-fl { display: flex; align-items: center; gap: 6px; padding: 4px 10px; font: 500 13px var(--font-lodge); color: #f2e2c4; background: rgba(20, 12, 7, .88); border: 1px solid var(--bronze); border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); animation: cht-fin .25s ease-out; transition: opacity .3s; }
.cht-fl b { color: var(--gold1); font-weight: 600; }
.cht-fl.rival b { color: #ffb38a; }
.cht-fl.out { opacity: 0; }
.cht-fcall { display: inline-flex; align-items: center; gap: 4px; }
.cht-fl .cht-ico { width: 24px; height: 24px; object-fit: contain; font-size: 20px; }
.cht-fl .cht-seal { width: 40px; height: 40px; }
.cht-fl .cht-seal b { font-size: 9px; color: #ffe9d2; }
@keyframes cht-fin { from { opacity: 0; transform: translateY(-6px); } }
