/* x-live · xlplus.css (2.4.7): жалобы, меню персонала, экскурсия для новичков, «Первые шаги» */

/* ---------- лист жалобы ---------- */
.xl-rep-card { max-height: 90dvh; overflow-y: auto; }
.xl-rep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.xl-rep-grid button { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left;
  padding: 9px 10px; border: 2px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; cursor: pointer; }
.xl-rep-grid button span { grid-row: 1 / 3; font-size: 22px; line-height: 1; }
.xl-rep-grid button b { font: 800 13.5px Manrope, system-ui, sans-serif; }
.xl-rep-grid button small { font: 500 11px/1.25 Manrope, system-ui, sans-serif; color: rgba(255, 255, 255, .6); }
.xl-rep-grid button[aria-pressed="true"] { border-color: var(--hot, #fe2c55); background: color-mix(in srgb, var(--hot, #fe2c55) 16%, transparent); }
.xl-rep-text { width: 100%; margin-top: 10px; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .06); color: #fff; font: 500 14px Manrope, system-ui, sans-serif; resize: vertical; box-sizing: border-box; }
.xl-rep-note { margin: 8px 2px 0; color: #fcd34d; font-size: 12px; }
.xl-rep-send:disabled { opacity: .45; }
.xl-rep-done { display: grid; justify-items: center; gap: 8px; padding: 18px 6px 4px; text-align: center; }
.xl-rep-done span { font-size: 42px; }
.xl-rep-done b { font: 800 17px Manrope, system-ui, sans-serif; }
.xl-rep-done small { color: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.4; }
.xl-rep-done .tt-voice-try { margin-top: 8px; }
.xl-uc-report { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); font-size: 15px; cursor: pointer; z-index: 3; }
.xl-uc-report.hidden { display: none; }
.xl-c-report { color: var(--muted) !important; }

/* ---------- персонал: карточка «Жалобы», строки админ-панели, меню ---------- */
html.tt .xl-rep-card .tt-nf-badge { position: static; width: 38px; height: 38px; border: 0; background: #fb7185; font-size: 17px; color: #fff; }
html.tt .tt-nf-staff.xl-rep-card { background: linear-gradient(90deg, rgba(251, 113, 133, .2), rgba(251, 113, 133, .06)); }
html.tt .tt-nf-staff.xl-rep-card em { background: #fb7185; }
.xl-rep-row .admin-mid small { display: block; }
.xl-rep-reason { font-weight: 800; color: #e11d48; }
.xl-rep-details { margin-top: 3px; padding: 6px 8px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 6%, transparent); white-space: normal; overflow-wrap: anywhere; }
.xl-more-staff { display: none; margin-top: 10px; }
html.xl-staff .xl-more-staff { display: block; }
.xl-more-staff > p { margin: 0 4px 6px; font: 800 11px Manrope, system-ui, sans-serif; letter-spacing: .8px; color: #f59e0b; }
.xl-more-staff .more-item { position: relative; }
.xl-more-staff .more-item em, .xl-side-admin em { position: absolute; top: 6px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #fb7185; color: #fff; font: 800 10.5px/18px Manrope, system-ui, sans-serif; font-style: normal; text-align: center; }
.xl-more-staff .more-item em.hidden, .xl-side-admin em.hidden { display: none; }
.xl-side-admin { display: none !important; position: relative; color: #b45309 !important; }
html.xl-staff .xl-side-admin { display: flex !important; }
.xl-side-admin svg { width: 20px; height: 20px; }

/* ---------- экскурсия ---------- */
.xl-tour { position: fixed; inset: 0; z-index: 140; display: none; }
.xl-tour.open { display: block; }
.xl-tour-ring { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .62), 0 0 0 3px var(--hot, #fe2c55) inset; transition: all .3s cubic-bezier(.2, .9, .3, 1); pointer-events: none; }
.xl-tour-tip { position: fixed; left: 16px; right: 16px; max-width: 420px; margin: 0 auto; padding: 14px 16px 12px; border-radius: 16px; background: #fff; color: #161823; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); transition: top .3s cubic-bezier(.2, .9, .3, 1); }
.xl-tour-tip small { color: var(--hot, #fe2c55); font: 800 11px Manrope, system-ui, sans-serif; letter-spacing: .5px; }
.xl-tour-tip b { display: block; margin: 2px 0 4px; font: 900 18px Manrope, system-ui, sans-serif; }
.xl-tour-tip p { margin: 0; font: 500 14px/1.4 Manrope, system-ui, sans-serif; color: #3a3b45; }
.xl-tour-acts { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }
.xl-tour-acts button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; font: 800 14px Manrope, system-ui, sans-serif; cursor: pointer; }
.xl-tour-acts [data-tour="skip"] { background: none; color: #8a8b91; }
.xl-tour-acts [data-tour="next"] { background: var(--hot, #fe2c55); color: #fff; min-width: 110px; }

/* ---------- «Первые шаги» в профиле ---------- */
.xl-steps { margin: 10px 12px 12px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(135deg, color-mix(in srgb, var(--hot, #fe2c55) 10%, transparent), rgba(37, 244, 238, .1)); color: var(--ink); text-align: left; }
.xl-steps-head { display: flex; align-items: center; gap: 8px; }
.xl-steps-head b { font: 800 15px Manrope, system-ui, sans-serif; }
.xl-steps-head span { color: var(--muted); font: 700 12px Manrope, system-ui, sans-serif; }
.xl-steps-head button { margin-left: auto; width: 28px; height: 28px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); cursor: pointer; }
.xl-steps-bar { height: 6px; margin: 8px 0 10px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.xl-steps-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--hot, #fe2c55), #25f4ee); }
.xl-steps-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.xl-steps-list button { display: flex; align-items: center; gap: 7px; min-height: 38px; padding: 6px 10px; border: 0; border-radius: 10px; background: var(--bg); color: var(--ink); font: 700 12.5px/1.2 Manrope, system-ui, sans-serif; text-align: left; cursor: pointer; }
.xl-steps-list button span { flex: none; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--ink) 25%, transparent); font-size: 11px; }
.xl-steps-list button.ok { opacity: .6; text-decoration: line-through; cursor: default; }
.xl-steps-list button.ok span { border-color: #10b981; background: #10b981; color: #fff; }
/* лист жалобы — модальное окно поверх любых других окон */
dialog.xl-report { position: fixed; inset: 0; width: 100%; height: 100%; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: transparent; display: none; align-items: flex-end; justify-content: center; overflow: hidden; }
dialog.xl-report[open] { display: flex; }
dialog.xl-report::backdrop { background: rgba(0, 0, 0, .5); }
dialog.xl-report .tt-voice-card { transform: none; animation: xl-sheet-up .24s cubic-bezier(.2, .9, .3, 1); }
@keyframes xl-sheet-up { from { transform: translateY(40px); opacity: .5; } to { transform: none; opacity: 1; } }

/* ---------- 2.4.8 · звуки в настройках ---------- */
.xl-sound-card { display: grid !important; grid-template-columns: 1fr !important; gap: 10px; align-items: stretch !important; }
.xl-sound-card > div:first-child { display: grid; gap: 2px; }
.xl-snd-grid { display: grid; gap: 8px; }
.xl-snd-grid label { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 8px; }
.xl-snd-grid label span { font: 700 13.5px Manrope, system-ui, sans-serif; }
.xl-snd-grid select { min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: 600 13px Manrope, system-ui, sans-serif; }
.xl-snd-grid button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--hot, #fe2c55); color: #fff; font-size: 13px; cursor: pointer; }
.xl-snd-grid .xl-snd-sw { grid-template-columns: 1fr auto; }
.xl-snd-grid .xl-snd-sw input { width: 22px; height: 22px; accent-color: var(--hot, #fe2c55); }
/* ---------- 2.4.8 · продвижение и «Реклама» ---------- */
.xl-pr-h { margin: 12px 0 6px; font: 800 12px Manrope, system-ui, sans-serif; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .4px; }
.xl-pr-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.xl-pr-row button { min-height: 40px; border: 2px solid transparent; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; font: 700 12.5px Manrope, system-ui, sans-serif; cursor: pointer; }
.xl-pr-row button[aria-pressed="true"] { border-color: #f59e0b; background: rgba(245, 158, 11, .2); }
#xl-promote .tt-voice-try { margin-top: 14px; background: #f59e0b; }
.xl-ad { display: inline-block; margin: 0 6px 4px 0; padding: 2px 6px; border-radius: 4px; background: rgba(255, 255, 255, .25); color: #fff; font: 800 10.5px/1.3 Manrope, system-ui, sans-serif; letter-spacing: .3px; vertical-align: middle; }
html:not(.tt) .xl-ad, html.tt #feed .post:not(.tt-x) .xl-ad { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
/* ---------- 2.4.8 · подсказка «включить звук» убрана: вместо неё кнопка-динамик ---------- */
/* ---------- 2.4.9 · уведомления на телефон ---------- */
.xl-push-btn { min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--hot, #fe2c55); color: #fff; font: 800 12.5px Manrope, system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.xl-push-btn:disabled { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); cursor: default; }
.xl-push-btn.on { background: rgba(16, 185, 129, .18); color: #059669; }
.xl-snd-grid .xl-snd-push { grid-template-columns: 1fr auto; }
.xl-push-note { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
html.tt .tt-nf-staff.xl-push-card { grid-template-columns: 40px 1fr auto auto; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 4%, transparent)); cursor: default; }
html.tt .xl-push-card .tt-nf-badge { position: static; width: 38px; height: 38px; border: 0; background: var(--grad, var(--accent)); color: var(--accent-ink); font-size: 17px; }

/* ---------- 2.5.0 · групповые звонки ---------- */
.gcall { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: #0b0b12; color: #fff; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); }
.gcall.hidden { display: none; }
.gc-head { display: flex; align-items: baseline; gap: 10px; padding: 14px 16px 8px; }
.gc-head b { font: 800 16px Manrope, system-ui, sans-serif; }
.gc-head span { color: rgba(255, 255, 255, .6); font: 600 13px Manrope, system-ui, sans-serif; }
.gc-grid { flex: 1; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 6px; padding: 0 6px; min-height: 0; }
.gc-tile { position: relative; overflow: hidden; border-radius: 14px; background: #1c1c26; display: grid; place-items: center; min-height: 0; }
.gc-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gc-tile.self video { transform: scaleX(-1); }
.gc-tile .gc-av .avatar { width: 72px !important; height: 72px !important; font-size: 28px; border-radius: 50%; }
.gc-tile.waiting { opacity: .55; }
.gc-tile.waiting .gc-av { animation: gc-pulse 1.4s ease-in-out infinite; }
@keyframes gc-pulse { 50% { transform: scale(1.08); } }
.gc-tile small { position: absolute; left: 8px; bottom: 8px; padding: 3px 8px; border-radius: 999px; background: rgba(0, 0, 0, .45); font: 700 12px Manrope, system-ui, sans-serif; }
.gc-acts { display: flex; justify-content: center; gap: 14px; padding: 14px 12px 18px; }
.gc-acts button { min-width: 56px; height: 56px; border: 0; border-radius: 28px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 22px; cursor: pointer; }
.gc-acts button.off { background: rgba(255, 255, 255, .3); }
.gc-acts button.on { background: #d9a441; color: #1b1302; box-shadow: 0 0 0 3px rgba(217, 164, 65, .35); }
.gc-acts button:disabled { opacity: .4; }
.gc-acts .gc-leave { padding: 0 26px; background: #ef4444; font: 800 15px Manrope, system-ui, sans-serif; }
.gc-ring { margin: auto; display: grid; justify-items: center; gap: 10px; padding: 24px; text-align: center; }
.gc-ring-avs { display: flex; }
.gc-ring-avs .avatar { width: 76px !important; height: 76px !important; margin-left: -14px; border: 3px solid #0b0b12; border-radius: 50%; font-size: 28px; }
.gc-ring-avs .avatar:first-child { margin-left: 0; }
.gc-ring b { font: 800 20px Manrope, system-ui, sans-serif; }
.gc-ring span { color: rgba(255, 255, 255, .7); font-size: 14px; }
.gc-ring-acts { display: flex; gap: 18px; margin-top: 16px; }
.gc-ring-acts button { min-width: 132px; height: 58px; border: 0; border-radius: 29px; font: 800 16px Manrope, system-ui, sans-serif; color: #fff; cursor: pointer; }
.gc-yes { background: #22c55e; } .gc-no { background: #ef4444; }
.gc-pick .gc-list { display: grid; gap: 4px; max-height: 46dvh; overflow-y: auto; margin: 6px 0; }
.gc-person { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, .05); cursor: pointer; }
.gc-person .avatar { width: 40px !important; height: 40px !important; border-radius: 50%; }
.gc-person b { display: block; font: 700 14px Manrope, system-ui, sans-serif; }
.gc-person small { color: rgba(255, 255, 255, .55); font-size: 12px; }
.gc-person input { width: 22px; height: 22px; accent-color: var(--hot, #fe2c55); }
.gc-kind { grid-template-columns: 1fr 1fr !important; margin-bottom: 6px; }
.gc-pick .tt-voice-try:disabled { opacity: .45; }
.gc-new { width: 38px; height: 38px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 8%, transparent); font-size: 17px; cursor: pointer; margin-left: 6px; }

/* ---------- 2.5.1 · новые игры эфира ---------- */
.xg-box { position: fixed; z-index: 80; left: 50%; transform: translateX(-50%); bottom: calc(150px + env(safe-area-inset-bottom)); width: min(440px, calc(100vw - 20px)); pointer-events: auto; }
.xg-box.hidden { display: none; }
.xg-card { padding: 12px 12px 10px; border-radius: 18px; background: rgba(14, 12, 24, .86); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); animation: xl-sheet-up .25s cubic-bezier(.2, .9, .3, 1); }
.xg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.xg-head b { font: 900 14.5px Manrope, system-ui, sans-serif; margin-right: auto; }
.xg-x, .xg-stop { border: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.xg-x { width: 28px; height: 28px; font-size: 12px; }
.xg-stop { padding: 5px 10px; font: 800 11.5px Manrope, system-ui, sans-serif; background: rgba(239, 68, 68, .7); }
.xg-timer { position: relative; height: 18px; margin: 2px 0 8px; border-radius: 9px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.xg-timer i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, var(--hot, #fe2c55), #ff9f43); transition: width 1s linear; }
.xg-timer b { position: relative; display: block; text-align: center; font: 800 11px/18px Manrope, system-ui, sans-serif; }
.xg-q { margin: 0 0 10px; font: 800 15.5px/1.3 Manrope, system-ui, sans-serif; }
.xg-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.xg-opt { position: relative; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 10px; border: 2px solid transparent; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font: 700 13.5px/1.2 Manrope, system-ui, sans-serif; text-align: left; cursor: pointer; }
.xg-opt span { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .16); font-size: 12px; }
.xg-opt em { margin-left: auto; font-style: normal; font-size: 12px; opacity: .85; }
.xg-opt.picked { border-color: #ffd23f; background: rgba(255, 210, 63, .18); }
.xg-opt.right { border-color: #22c55e; background: rgba(34, 197, 94, .25); }
.xg-opt.wrong { border-color: #ef4444; background: rgba(239, 68, 68, .2); }
.xg-opt:disabled { cursor: default; }
.xg-note { margin: 8px 2px 0; color: rgba(255, 255, 255, .8); font: 600 12.5px/1.35 Manrope, system-ui, sans-serif; }
.xg-board { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.xg-board span { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); font: 600 12px Manrope, system-ui, sans-serif; }
.xg-main { width: 100%; min-height: 44px; margin-top: 10px; border: 0; border-radius: 12px; background: var(--hot, #fe2c55); color: #fff; font: 800 14px Manrope, system-ui, sans-serif; cursor: pointer; }
.xg-main.danger { background: #ef4444; margin: 0 0 10px; }
.xg-bars { display: grid; gap: 6px; }
.xg-bar { position: relative; display: flex; align-items: center; min-height: 42px; padding: 0 12px; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .08); color: #fff; font: 700 13.5px Manrope, system-ui, sans-serif; cursor: pointer; text-align: left; }
.xg-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: color-mix(in srgb, var(--hot, #fe2c55) 35%, transparent); transition: width .4s ease; }
.xg-bar span, .xg-bar em { position: relative; }
.xg-bar em { margin-left: auto; font-style: normal; }
.xg-bar.picked { border-color: #ffd23f; }
.xg-bar.win i { background: rgba(34, 197, 94, .45); }
.xg-guess { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.xg-guess input { width: 100%; min-width: 0; box-sizing: border-box; min-height: 44px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; font: 800 18px Manrope, system-ui, sans-serif; }
.xg-guess .xg-main { margin: 0; width: auto; padding: 0 16px; }
.xg-big { margin: 4px 0; font: 900 19px Manrope, system-ui, sans-serif; text-align: center; }
.xg-meter { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .1); margin-bottom: 8px; }
.xg-meter i { transition: width .35s ease; }
.xg-meter .red { background: #ef4444; }
.xg-meter .blue { background: #3b82f6; }
.xg-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xg-team { display: grid; justify-items: center; gap: 2px; min-height: 92px; border: 3px solid transparent; border-radius: 16px; color: #fff; cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.xg-team.red { background: linear-gradient(160deg, #ef4444, #b91c1c); }
.xg-team.blue { background: linear-gradient(160deg, #3b82f6, #1d4ed8); }
.xg-team b { font: 900 28px Manrope, system-ui, sans-serif; }
.xg-team span { font: 800 13px Manrope, system-ui, sans-serif; }
.xg-team small { opacity: .8; font-size: 11px; }
.xg-team.mine { border-color: #fff; }
.xg-team:disabled { opacity: .45; }
.xg-team:active { transform: scale(.96); }
.xg-pop { position: fixed; z-index: 140; font-style: normal; font-size: 26px; pointer-events: none; animation: tt-heart-up .8s ease-out forwards; }
.xg-dice { display: flex; justify-content: center; gap: 14px; margin: 4px 0; font-size: 64px; line-height: 1; }
.xg-dice span.roll { animation: xg-roll .9s cubic-bezier(.2, .9, .3, 1.2); display: inline-block; }
@keyframes xg-roll { 0% { transform: rotate(-540deg) scale(.3); opacity: 0; } 70% { transform: rotate(20deg) scale(1.15); opacity: 1; } 100% { transform: none; } }
.xg-panel-card { max-height: 90dvh; overflow-y: auto; }
.xg-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.xg-c { display: grid; grid-template-rows: auto auto 1fr; gap: 3px; padding: 10px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #fff; text-align: left; cursor: pointer; }
.xg-c span { font-size: 26px; }
.xg-c b { font: 800 14px Manrope, system-ui, sans-serif; }
.xg-c small { color: rgba(255, 255, 255, .65); font-size: 11.5px; line-height: 1.3; }
.xg-dicebox div { display: flex; gap: 6px; margin-top: 4px; }
.xg-dicebox div button { flex: 1; min-height: 32px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .14); color: #fff; font: 700 12px Manrope, system-ui, sans-serif; cursor: pointer; }
.xg-classic { width: 100%; margin-top: 10px; min-height: 40px; border: 1px dashed rgba(255, 255, 255, .25); border-radius: 12px; background: none; color: #fff; font: 700 13px Manrope, system-ui, sans-serif; cursor: pointer; }
.xg-more { display: block; width: calc(100% - 4px); margin: 6px 2px 8px; padding: 9px 12px; border: 0; border-radius: 12px; background: linear-gradient(90deg, #7c3aed, var(--hot, #fe2c55)); color: #fff; font: 800 12.5px Manrope, system-ui, sans-serif; text-align: left; cursor: pointer; }
.xg-more b { float: right; }

/* ---------- 2.5.1 · чат: реакции, ответ, быстрые эмодзи ---------- */
.dm-quote { display: grid; gap: 1px; margin: 0 0 4px; padding: 5px 9px; border-left: 3px solid var(--hot, #fe2c55); border-radius: 8px; background: color-mix(in srgb, var(--ink) 7%, transparent); font-size: 12px; line-height: 1.3; max-width: 100%; }
.msg.me .dm-quote { border-left-color: #25f4ee; }
.dm-quote b { font-weight: 800; color: var(--hot, #fe2c55); }
.msg.me .dm-quote b { color: #67e8f9; }
.msg.me .dm-quote span { color: rgba(255, 255, 255, .75); }
.msg.me .dm-quote { background: rgba(255, 255, 255, .12); }
.dm-quote span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dm-reacts { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 0; position: relative; z-index: 1; }
.msg.me .dm-reacts { justify-content: flex-end; }
.dm-reacts button { min-height: 24px; padding: 0 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); font: 700 12px Manrope, system-ui, sans-serif; cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.dm-reacts button.mine { border-color: var(--hot, #fe2c55); background: color-mix(in srgb, var(--hot, #fe2c55) 10%, transparent); }
.xl-react-row { display: flex; justify-content: space-between; gap: 6px; padding: 4px 2px 10px; }
.xl-react-row button { flex: 1; height: 46px; border: 0; border-radius: 14px; background: color-mix(in srgb, var(--ink) 7%, transparent); font-size: 24px; cursor: pointer; transition: transform .12s ease; }
.xl-react-row button:active { transform: scale(1.25); }
.xl-replybar { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; padding: 6px 10px; border-left: 3px solid var(--hot, #fe2c55); border-radius: 10px; background: color-mix(in srgb, var(--ink) 6%, transparent); font: 600 12.5px Manrope, system-ui, sans-serif; color: var(--ink); }
.xl-replybar span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xl-replybar button { flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); cursor: pointer; }
.xl-quick { display: flex; gap: 6px; margin: 0 0 6px; overflow-x: auto; scrollbar-width: none; }
.xl-quick::-webkit-scrollbar { display: none; }
.xl-quick button { flex: none; width: 38px; height: 34px; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .35); font-size: 18px; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.xl-quick button.pop { animation: xl-quick-pop .35s ease; }
@keyframes xl-quick-pop { 50% { transform: scale(1.35); } }
html.tt #live-view.tt-studio .xl-quick { display: none; }
/* карточка «Звуки»: длинные подписи переносятся, а не растягивают страницу */
.xl-sound-card, .xl-sound-card > div, .xl-snd-grid, .xl-snd-grid label { min-width: 0; max-width: 100%; }
.xl-snd-grid label > span, .xl-push-note { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.xl-snd-grid .xl-push-btn { width: auto; height: auto; min-height: 34px; padding: 0 14px; border-radius: 999px; font: 800 12.5px Manrope, system-ui, sans-serif; }

/* ---------- 2.5.4 · исправления по телефону ---------- */
/* карточка игры не закрывает меню «Ещё», лотки подарков, эффектов и старой панели игр */
body:has(#live-menu:not(.hidden)) #xg-box, body:has(#live-tray:not(.hidden)) #xg-box, body:has(#gm-tray.open) #xg-box, body:has(#fx-tray.open) #xg-box, body:has(dialog[open]) #xg-box { visibility: hidden; }
/* ряд быстрых эмодзи прячется, пока открыт лоток подарков / эмодзи */
.live-chat:has(#live-tray:not(.hidden)) .xl-quick { display: none; }
/* «Первые шаги» — во всю ширину профиля */
.xl-steps { box-sizing: border-box; width: auto; max-width: 100%; grid-column: 1 / -1; }
/* карточка «Звуки»: на узком экране кнопка уведомлений — под текстом */
.xl-snd-grid label small { display: block; margin-top: 2px; color: var(--muted); font: 500 11px/1.3 Manrope, system-ui, sans-serif; }
@media (max-width: 480px) {
  .xl-snd-grid .xl-snd-push { grid-template-columns: 1fr; justify-items: start; gap: 6px; }
}
/* служебная полоса персонала — одной строкой: значок щита вместо заголовка */
html.tt #live-view.cinema.tt-staff #staff-bar .staff-title { font-size: 0; gap: 0; }
html.tt #live-view.cinema.tt-staff #staff-bar .staff-title svg { width: 16px; height: 16px; }
html.tt #live-view.cinema.tt-staff #staff-bar:not(.hidden) { padding: 4px 6px; gap: 6px; }
html.tt #live-view.cinema.tt-staff #staff-bar .staff-tools button { padding: 5px 10px; font-size: 11px; }
