/* GTA VI / Leonida: opt-in personal theme. Keep Echo layout and interactions intact.
   Static assets are used only while data-theme=gta; other themes stay unchanged. */
:root[data-theme="gta"]{
  color-scheme:dark;
  --bg:#171323;--panel:#261d32;--panel-soft:#35293f;
  --border:#715269;--green:#f59abd;--green2:#62d7d1;
  --muted:#c1adbf;--danger:#ff858f;
  --eg-frost:rgba(30,23,42,.95);--eg-frost-heavy:rgba(24,18,36,.99);
  --eg-frost-soft:rgba(49,35,59,.91);--eg-line:rgba(255,180,210,.24);
  --eg-toplight:rgba(255,218,226,.12);--eg-shadow:0 16px 38px rgba(10,7,25,.28);
  --eg-text:#fbeff6;
  --tone-10141d:#171323;--tone-191f29:#261d32;--tone-202832:#35293f;
  --tone-313a43:#715269;--tone-f0f4f3:#fbeff6;--tone-edf4f1:#fbeff6;
  --tone-9ba5b0:#c1adbf;--tone-8c9ca2:#bba8bd;
  --tone-1d252f:#292036;--tone-1d252e:#292036;--tone-1c242e:#241b31;
  --tone-202a31:#2b2139;--tone-263b36:#382637;--tone-1b332f:#1d353d;
  --tone-345a49:#477478;--tone-39444d:#74596e;
  --tone-35414c:#78556c;--tone-35414b:#715269;--tone-43555b:#80677a;
  --tone-a3f2c7:#f5a2c6;--tone-73dfad:#65dcd5;--tone-73dfad38:#65dcd535;
  --tone-52d99617:#65dcd514;--tone-fff:#fff7fa;
  --tone-0d1b16:#24152d;--tone-111923:#211a2e;
  --tone-33404b:#362d44;--tone-34434e:#3b304a;
  --tone-4b5a64:#715774;--tone-ff7f89:#ff8e94;
  --tone-bcfbd8:#ffd2e4;--tone-95eec4:#f7add0;
  --tone-24382f:#3e2b3c;--tone-1c2530:#292138;
  --tone-3b4c55:#6a506a;--tone-1a3430:#293a43;
  --rgba-0:rgba(255,181,205,.18);
  --rgba-5:rgba(31,23,43,.96);--rgba-6:rgba(24,18,36,.99);
  --rgba-10:rgba(32,24,44,.95);--rgba-11:rgba(22,18,36,.98);
}
:root[data-theme="gta"] body{
  color:#fbf0f8;
  background:linear-gradient(180deg,rgba(16,12,33,.08) 0%,rgba(19,12,32,.20) 55%,rgba(14,10,29,.47) 100%),
    url("/gta-leonida-sunset.webp") center center/cover fixed no-repeat,#191326;
}
:root[data-theme="gta"] body.in-room{
  background:linear-gradient(180deg,rgba(15,11,31,.30),rgba(15,11,31,.48)),
    url("/gta-leonida-sunset.webp") center/cover fixed no-repeat,#191326;
}
/* The agreed scene is the only backdrop: no extra decorative or animated layers. */
:root[data-theme="gta"] .orbit-art{opacity:.07}
:root[data-theme="gta"] .topbar,:root[data-theme="gta"] .footer{
  background:rgba(17,12,30,.49);
  border-color:rgba(244,166,196,.25);
}
:root[data-theme="gta"] .brand-dot{color:#f978b1}
:root[data-theme="gta"] .brand-mark svg path{stroke:#f978b1}
:root[data-theme="gta"] .hero h1{color:#fff2fa;text-shadow:0 3px 18px #140b2080}
:root[data-theme="gta"] .hero h1 span{color:#ff9fbe}
:root[data-theme="gta"] .hero-description,:root[data-theme="gta"] .feature-row{color:#ead7e5}
:root[data-theme="gta"] :is(.entry-card,.room-banner,.participant-card,.control-dock,
  #chatPanel,.preferences-dialog,.settings-panel,.screen-share-preview,.image-dialog,
  .image-viewer,.whats-new-dialog){
  background:linear-gradient(156deg,rgba(45,32,56,.96),rgba(26,21,41,.97));
  border-color:rgba(229,140,189,.37);
  box-shadow:0 13px 38px rgba(13,8,27,.21),inset 0 1px rgba(255,217,233,.07);
}
:root[data-theme="gta"] .entry-card{border-radius:22px}
:root[data-theme="gta"] .room-banner{border-radius:17px}
:root[data-theme="gta"] .participant-card{border-radius:17px}
:root[data-theme="gta"] .participant-card.is-self{
  background:linear-gradient(160deg,rgba(57,37,62,.97),rgba(30,25,44,.98));
  border-color:#98647d;
}
:root[data-theme="gta"] .participant-card.speaking{
  border-color:#69ded8;
  box-shadow:0 0 0 1px #69ded83b,0 0 15px #59d5cc24,inset 0 1px #7aebdb25;
}
:root[data-theme="gta"] .activity-ring,
:root[data-theme="gta"] .participant-card.speaking .activity-ring{border-color:#75dbd3}
:root[data-theme="gta"] .participant-card .avatar,
:root[data-theme="gta"] .chat-avatar,
:root[data-theme="gta"] .avatar-choice{
  border-color:#e57ca8;
  box-shadow:0 0 0 2px #171322a8;
}
:root[data-theme="gta"] .participant-card .avatar img{object-fit:cover}
:root[data-theme="gta"] .mic-icon:not(.is-muted){color:#77e3d9}
:root[data-theme="gta"] .mic-icon.is-muted{color:#ff8c9b}
:root[data-theme="gta"] .connection-pill{
  background:#18363d;border-color:#438e89;color:#9aede6;
}
:root[data-theme="gta"] .connection-pill .online-dot{background:#71e1d3}
/* Gleaming buttons, controlled accents, no constant neon halo. */
:root[data-theme="gta"] .primary-button,
:root[data-theme="gta"] .copy-room-code,
:root[data-theme="gta"] .chat-compose button{
  background:linear-gradient(112deg,#c42e79 0%,#e04a89 61%,#ee8279 100%);
  border:1px solid #f5a6c3;
  color:#fff6fb;
  box-shadow:inset 0 1px 0 #ffe0e178,0 3px 11px #a8326731;
  border-radius:13px;
}
:root[data-theme="gta"] .primary-button:hover:not(:disabled),
:root[data-theme="gta"] .copy-room-code:hover:not(:disabled),
:root[data-theme="gta"] .chat-compose button:hover:not(:disabled){
  background:linear-gradient(112deg,#dc367f,#f06b95 65%,#f6a17e);
  box-shadow:inset 0 1px #ffe3e99e,0 5px 17px #da448747;
}
:root[data-theme="gta"] :is(.banner-button,.topbar-windows-download,.preferences-open){
  background:linear-gradient(145deg,#352940,#262334);
  border:1px solid #6bc9c7;color:#c4f5f1;
  border-radius:12px;box-shadow:inset 0 1px #e1fff01c;
}
:root[data-theme="gta"] :is(.banner-button,.topbar-windows-download,.preferences-open):hover{
  background:#403048;border-color:#9cece4;
}
:root[data-theme="gta"] .entry-mode-tab[aria-selected="true"]{
  background:linear-gradient(115deg,#692f58,#bf477e);
  color:#fff2f6;border-color:#e08aad;box-shadow:inset 0 1px #ffd1e23d;
}
:root[data-theme="gta"] .entry-create-info,
:root[data-theme="gta"] .room-preview{background:#362a3f;border-color:#71556f}
:root[data-theme="gta"] .entry-create-info-icon,
:root[data-theme="gta"] .room-preview-icon{color:#fca5c9;background:#54314f}
:root[data-theme="gta"] .entry-mode-tab:not([aria-selected="true"]){
  background:#2b2337;color:#ead6e5;border-color:#72576e;
}
:root[data-theme="gta"] .entry-mode-tab:hover{border-color:#f3a4c1}
:root[data-theme="gta"] #screenCall .control-dock{
  border-color:#93617c;background:linear-gradient(110deg,#30253e,#1f1a32);
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button{
  background:linear-gradient(145deg,#42334e,#292437);
  border:1px solid #886b8e;color:#fceaf7;border-radius:16px;
  box-shadow:inset 0 1px #fff5,0 2px 6px #09071445;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button:not(.is-off):not(.dock-danger)[aria-pressed="true"],
:root[data-theme="gta"] body.in-room #screenCall .dock-button.is-on{
  background:linear-gradient(155deg,#23575d,#25373f);
  border-color:#66d6cd;color:#a3f9f0;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button.is-off,
:root[data-theme="gta"] body.in-room #screenCall .dock-button.dock-danger{
  background:linear-gradient(140deg,#76324f,#9d395a);
  border-color:#d37898;color:#fff0f4;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button:hover:not(:disabled){
  border-color:#edacd0;box-shadow:inset 0 1px #fff5,0 4px 12px #b6477844;
}
:root[data-theme="gta"] #chatToggle{
  background:linear-gradient(145deg,#383045,#22283b);
  border-color:#c779a0;color:#fff0f7;border-radius:16px;
}
:root[data-theme="gta"] #chatPanel .chat-header{
  background:rgba(41,29,50,.98);
  border-bottom:1px solid #70536a;color:#fff3f9;
}
:root[data-theme="gta"] #chatPanel .chat-compose{background:#261d32;border-color:#76556e}
:root[data-theme="gta"] #chatPanel .chat-compose textarea{
  background:#1d1b2b;color:#fdf1f7;border-color:#765e77;
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-compose button{
  background:linear-gradient(112deg,#c42e79,#e04a89 61%,#ee8279);
  border:1px solid #f5a6c3;color:#fff6fb;
  box-shadow:inset 0 1px 0 #ffe0e178,0 3px 11px #a8326731;
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-compose #chatSend{
  background:linear-gradient(112deg,#c42e79,#e04a89 61%,#ee8279);
  border:1px solid #f5a6c3;color:#fff6fb;
  box-shadow:inset 0 1px 0 #ffe0e178,0 3px 11px #a8326731;
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-compose button:hover:not(:disabled){
  background:linear-gradient(112deg,#dc367f,#f06b95 65%,#f6a17e);
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-compose #chatSend:hover:not(:disabled){
  background:linear-gradient(112deg,#dc367f,#f06b95 65%,#f6a17e);
  border-color:#ffd0e1;
}
:root[data-theme="gta"] #chatPanel .chat-receipt.is-read{color:#72ded4}
:root[data-theme="gta"] .preferences-dialog .preferences-nav-list button[aria-current="true"]{
  background:#663151;color:#fff4f9;border-color:#db6ea0;
}
:root[data-theme="gta"] .preferences-dialog .avatar-choice[aria-pressed="true"]{
  outline:2px solid #72e7dd;outline-offset:2px;border-color:#ee7ba6;
}
:root[data-theme="gta"] :is(input:not([type=checkbox]):not([type=range]),select):focus,
:root[data-theme="gta"] :is(button,a):focus-visible{
  outline-color:#78e1d7;
}
/* Keep original geometry on narrow Windows screens and mobile browsers. */
:root[data-theme="gta"][data-reduce-transparency="true"] :is(.entry-card,.room-banner,.participant-card,
 .control-dock,#chatPanel,.preferences-dialog,.settings-panel){background:#271e35!important;backdrop-filter:none!important}
:root[data-theme="gta"][data-reduce-motion="true"] .dock-button,
:root[data-theme="gta"][data-reduce-motion="true"] .primary-button{transition:none!important;animation:none!important}
@media(prefers-reduced-motion:reduce){
 :root[data-theme="gta"] .dock-button,:root[data-theme="gta"] .primary-button{transition:none!important;animation:none!important}
}

/* GTA VI polish v3 — selected realistic Leonida background, no ARC-like
   header/footer bands. These overrides intentionally apply only to GTA. */
:root[data-theme="gta"] body :is(.topbar,.footer) {
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
:root[data-theme="gta"] body :is(.topbar,.footer)::before,
:root[data-theme="gta"] body :is(.topbar,.footer)::after {
  background:none!important;border:0!important;box-shadow:none!important;
}
/* Clear upper/lower edges: picture continues behind brand and signature. */
:root[data-theme="gta"] body {
  --eg-line:rgba(246,133,190,.38);
}
:root[data-theme="gta"] body :is(.entry-card,.room-banner,.participant-card,.control-dock,
  #chatPanel,.preferences-dialog,.settings-panel,.screen-share-preview,
  .image-dialog,.image-viewer,.whats-new-dialog) {
  background:linear-gradient(145deg,rgba(45,29,55,.82),rgba(19,17,35,.77))!important;
  border:1px solid rgba(251,132,185,.51)!important;
  backdrop-filter:blur(16px) saturate(122%);
  -webkit-backdrop-filter:blur(16px) saturate(122%);
  box-shadow:0 15px 38px rgba(8,6,24,.34),
    inset 0 1px rgba(255,222,237,.16),0 0 0 1px rgba(238,119,185,.06);
}
:root[data-theme="gta"] body .room-banner {
  background:linear-gradient(122deg,rgba(45,30,55,.80),rgba(22,19,39,.77))!important;
}
:root[data-theme="gta"] body .participant-card.is-self {
  background:linear-gradient(153deg,rgba(55,31,59,.83),rgba(24,20,40,.83))!important;
  border-color:rgba(253,146,194,.67)!important;
}
:root[data-theme="gta"] body .participant-card.speaking {
  border-color:#69ded8!important;
  box-shadow:0 0 0 1px #69ded83b,0 0 17px #59d5cc30,
    inset 0 1px #a5f8eb22!important;
}
:root[data-theme="gta"] body #chatPanel {
  background:linear-gradient(180deg,rgba(31,23,45,.89),rgba(19,17,35,.91))!important;
  border-color:rgba(248,136,189,.65)!important;
}
:root[data-theme="gta"] body #chatPanel .chat-head,
:root[data-theme="gta"] body #chatPanel .chat-header {
  background:rgba(34,25,46,.88);
}
:root[data-theme="gta"] body #chatPanel .chat-compose {
  background:rgba(30,22,42,.90);border-color:rgba(244,142,194,.32);
}
:root[data-theme="gta"] body #screenCall .control-dock {
  background:linear-gradient(140deg,rgba(54,36,63,.86),rgba(24,20,42,.87))!important;
  border-color:rgba(244,143,185,.62)!important;
  box-shadow:0 12px 32px rgba(8,6,22,.3),inset 0 1px #ffd6e034!important;
}
:root[data-theme="gta"] body .entry-create-info,
:root[data-theme="gta"] body .room-preview {
  background:rgba(71,47,75,.55)!important;border-color:rgba(251,151,193,.36);
}
:root[data-theme="gta"] body .entry-mode-tab[aria-selected="true"],
:root[data-theme="gta"] body .primary-button,
:root[data-theme="gta"] body .copy-room-code {
  box-shadow:inset 0 1px 0 rgba(255,234,241,.48),
    0 5px 17px rgba(183,42,102,.23);
}
:root[data-theme="gta"][data-reduce-transparency="true"] body
  :is(.entry-card,.room-banner,.participant-card,.control-dock,
     #chatPanel,.preferences-dialog,.settings-panel) {
  background:#282037!important;backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
@media (prefers-reduced-transparency:reduce) {
  :root[data-theme="gta"] body
    :is(.entry-card,.room-banner,.participant-card,.control-dock,#chatPanel) {
    background:#282037!important;backdrop-filter:none!important;
  }
}

/* Leonida room identity: horizontal, cinematic portrait cards and a glass
   control console. Scoped to GTA VI only; no WebRTC or semantic changes. */
:root[data-theme="gta"] body.in-room #screenCall .participant-grid {
  display:grid!important;
  width:100%;
  max-width:1020px;
  margin-inline:auto;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  justify-content:center!important;
  align-content:start;
  align-items:stretch;
  gap:16px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo {
  grid-template-columns:minmax(0,560px)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card {
  --gta-card-portrait:clamp(94px,10vw,124px);
  box-sizing:border-box;
  position:relative;
  isolation:isolate;
  overflow:visible;
  display:grid!important;
  width:100%;
  min-width:0;
  height:auto!important;
  min-height:204px!important;
  padding:17px 20px 17px!important;
  grid-template-columns:minmax(104px,35%) minmax(0,1fr)!important;
  grid-template-rows:29px minmax(111px,1fr) 16px!important;
  column-gap:14px!important;
  row-gap:2px!important;
  border-radius:25px!important;
  background:linear-gradient(120deg,rgba(76,41,76,.88),rgba(38,25,55,.83) 57%,rgba(23,22,48,.86))!important;
  border:1px solid rgba(255,147,199,.58)!important;
  box-shadow:inset 0 1px 0 rgba(255,227,243,.20),
    0 12px 30px rgba(16,9,34,.35),0 1px 0 rgba(248,133,199,.15)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card::before {
  content:"";
  position:absolute;
  inset:1px;
  z-index:-1;
  pointer-events:none;
  border-radius:24px;
  background:radial-gradient(ellipse at 0% 0%,rgba(255,142,189,.18),transparent 69%),
    linear-gradient(155deg,rgba(255,255,255,.035),transparent 60%);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card::after {
  content:"";position:absolute;z-index:1;
  bottom:1px;left:24px;right:24px;height:2px;
  border-radius:20px;
  background:linear-gradient(90deg,transparent,rgba(244,125,181,.68),rgba(255,166,137,.45),transparent);
  opacity:.85;pointer-events:none;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.is-self {
  background:linear-gradient(126deg,rgba(99,43,87,.91),rgba(50,28,61,.86) 58%,rgba(23,22,45,.86))!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking,
:root[data-theme="gta"] body.in-room #screenCall .participant-card.is-spectrum-active {
  border-color:#68ede0!important;
  box-shadow:inset 0 1px rgba(198,255,243,.35),
    0 0 0 1px rgba(94,241,223,.28),0 0 24px rgba(51,219,209,.22),
    0 13px 32px rgba(14,13,32,.28)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking::after,
:root[data-theme="gta"] body.in-room #screenCall .participant-card.is-spectrum-active::after {
  background:linear-gradient(90deg,transparent,#5eeedf 38%,#79d9ea 66%,transparent);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-top {
  grid-column:1 / -1!important;
  grid-row:1!important;
  display:flex;align-items:start;justify-content:space-between;
  gap:8px;min-width:0;
  position:relative;z-index:2;
}
:root[data-theme="gta"] body.in-room #screenCall .tile-tag {
  font-size:11px;font-weight:750;letter-spacing:.025em;
  text-transform:none;
  color:#f6c4dc;
}
:root[data-theme="gta"] body.in-room #screenCall .tile-top .small-muted {
  color:#e9cce2;font-size:11px;line-height:1.4;
  white-space:nowrap;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .avatar-wrap {
  grid-column:1!important;
  grid-row:2 / 4!important;
  width:100%;
  min-width:0;
  min-height:0;
  margin:0!important;
  justify-self:center!important;
  align-self:center!important;
  display:grid!important;
  place-items:center;
  position:relative;
  overflow:visible;
  z-index:2;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .avatar {
  box-sizing:border-box;
  display:grid;place-items:center;
  width:var(--gta-card-portrait)!important;
  height:var(--gta-card-portrait)!important;
  min-width:0!important;min-height:0!important;
  max-width:100%;
  margin:0!important;
  padding:4px;
  position:relative;
  border-radius:50%!important;
  overflow:hidden;
  background:linear-gradient(130deg,#e675aa,#7d5ab7 54%,#65e0d6)!important;
  border:2px solid rgba(249,179,209,.85)!important;
  box-shadow:0 0 0 5px rgba(19,20,42,.78),
    0 0 0 7px rgba(255,136,195,.4),0 5px 17px rgba(14,7,29,.42)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .avatar {
  border-color:#81fff0!important;
  box-shadow:0 0 0 5px rgba(19,20,42,.85),
    0 0 0 7px rgba(110,246,226,.72),
    0 0 24px rgba(89,236,218,.34)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .avatar img {
  display:block;
  width:100%!important;height:100%!important;
  max-width:none;max-height:none;
  border-radius:50%!important;
  object-fit:cover!important;
  object-position:center center!important;
  transform:none!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .activity-ring {
  inset:-10px;
  border-color:rgba(232,127,182,.20);
  border-width:1px;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .activity-ring {
  border-color:#77f8e8;
  box-shadow:0 0 16px rgba(74,244,225,.22);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .voice-wave-meter {
  bottom:-15px;
  background:rgba(25,24,47,.93);
  border-color:rgba(243,151,204,.53);
  box-shadow:0 3px 11px rgba(9,8,24,.3);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .voice-wave-meter i {
  background:linear-gradient(180deg,#76fcf0,#39c8d4);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-bottom {
  grid-column:2!important;
  grid-row:2!important;
  min-width:0;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:space-between;
  align-self:stretch!important;
  gap:10px;
  padding:0!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name {
  display:grid;
  min-width:0;
  gap:8px;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name strong {
  max-width:100%!important;
  font-size:clamp(16px,1.55vw,22px)!important;
  font-weight:750;
  line-height:1.17;
  color:#fff0f8;
  text-overflow:ellipsis;
  overflow:hidden;
  white-space:nowrap;
  text-shadow:0 1px 9px rgba(25,9,32,.25);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name .small-muted {
  max-width:100%;
  font-size:12px;
  line-height:1.3;
  color:#d8bacc;
  overflow-wrap:anywhere;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .tile-name .small-muted {
  color:#94f4e9;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .mic-icon {
  box-sizing:border-box;
  display:grid;place-items:center;
  width:40px;height:40px;min-width:40px;
  border-radius:14px;
  color:#7de9e0;
  background:linear-gradient(155deg,rgba(58,117,131,.24),rgba(32,53,74,.28));
  border:1px solid rgba(111,218,209,.34);
  box-shadow:inset 0 1px rgba(197,255,248,.08);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .mic-icon.is-muted {
  color:#ff9aa6;background:rgba(143,54,83,.24);
  border-color:rgba(246,133,162,.38);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .peer-volume {
  grid-column:2!important;
  grid-row:3!important;
  width:100%;
  min-width:0;
  height:14px;margin:0;
  accent-color:#68e6d8;
  align-self:end;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .participant-card {
  --gta-card-portrait:136px;
  min-height:240px!important;
  grid-template-columns:40% minmax(0,1fr)!important;
  grid-template-rows:27px minmax(160px,1fr) 9px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .tile-name strong {
  font-size:25px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-duo .participant-card {
  min-height:206px!important;
}
/* Invite and bottom dock are a second visual language, not Echo recolors. */
:root[data-theme="gta"] body.in-room #screenCall .room-banner {
  border-radius:23px!important;
  background:linear-gradient(120deg,rgba(72,40,75,.88),rgba(27,22,50,.82))!important;
  box-shadow:inset 0 1px rgba(255,212,240,.17),0 13px 30px rgba(11,9,28,.25)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-info strong {
  color:#fff0f8;font-size:18px;letter-spacing:1.35px;
}
:root[data-theme="gta"] body.in-room #screenCall .control-dock {
  border-radius:999px!important;
  padding:11px 17px 8px!important;
  background:linear-gradient(120deg,rgba(61,36,72,.9),rgba(27,23,48,.92))!important;
  border-color:rgba(246,143,201,.64)!important;
  box-shadow:inset 0 1px rgba(255,222,241,.22),
    0 12px 36px rgba(9,8,27,.28),0 0 20px rgba(212,74,145,.10)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button {
  border-radius:17px!important;
  background:linear-gradient(155deg,rgba(74,47,87,.95),rgba(41,33,62,.94));
  border:1px solid rgba(216,158,213,.5);
  color:#fdf0fa;
  box-shadow:inset 0 1px rgba(255,239,250,.16),0 3px 8px rgba(9,5,28,.16);
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button:hover:not(:disabled) {
  border-color:#ffb3d9;
  box-shadow:inset 0 1px #ffe8f8a0,0 0 12px #e759ac42;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button.is-off,
:root[data-theme="gta"] body.in-room #screenCall .dock-button.dock-danger {
  background:linear-gradient(132deg,#95375b,#cf4e81);
  border-color:rgba(255,171,198,.72);
  color:#fff1fa;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button.is-on,
:root[data-theme="gta"] body.in-room #screenCall .dock-button[aria-pressed="true"]:not(.is-off) {
  background:linear-gradient(150deg,#176c75,#1b3f63)!important;
  border-color:#76e9de!important;color:#a1fff1!important;
  box-shadow:inset 0 1px #a9fff249,0 0 14px #57eddb33!important;
}
/* Portrait chooser: independent hit targets and exactly one selection ring. */
:root[data-theme="gta"] .avatar-choices {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(70px,1fr));
  gap:16px 14px;
  justify-items:center;
  margin:16px 0 6px;
}
:root[data-theme="gta"] .avatar-choice {
  box-sizing:border-box;
  width:62px;height:62px;
  padding:3px;
  margin:0;
  border-radius:50%;
  background:linear-gradient(145deg,#ca6b9f,#4e456e);
  border:1px solid rgba(255,192,220,.5);
  outline:0;outline-offset:0;
  box-shadow:0 2px 9px rgba(10,7,27,.22);
}
:root[data-theme="gta"] .avatar-choice img {
  border-radius:50%;object-fit:cover;
  width:100%;height:100%;
}
:root[data-theme="gta"] .avatar-choice[aria-pressed="true"] {
  border:2px solid #70eee3!important;
  outline:0!important;
  box-shadow:0 0 0 3px rgba(30,21,49,.96),
    0 0 0 5px rgba(120,245,231,.72),
    0 3px 12px rgba(56,224,206,.16)!important;
}
:root[data-theme="gta"] .avatar-choice:focus-visible {
  outline:2px solid #ffcae4!important;
  outline-offset:5px!important;
}
@media (max-width:1040px) {
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid {
    max-width:650px;
    grid-template-columns:minmax(0,1fr)!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo {
    max-width:560px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card {
    grid-template-columns:minmax(116px,34%) minmax(0,1fr)!important;
  }
}
@media (max-width:600px) {
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid {
    gap:11px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card,
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .participant-card {
    --gta-card-portrait:clamp(84px,25vw,112px);
    padding:12px 13px 14px!important;
    min-height:162px!important;
    grid-template-columns:minmax(92px,34%) minmax(0,1fr)!important;
    grid-template-rows:23px minmax(102px,1fr) 12px!important;
    column-gap:10px!important;
    border-radius:19px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card::before {
    border-radius:18px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name strong,
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .tile-name strong {
    font-size:18px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name .small-muted {
    font-size:11px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .mic-icon {
    width:30px;height:30px;min-width:30px;border-radius:10px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-tag,
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-top .small-muted {
    font-size:10px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .control-dock {
    border-radius:24px!important;padding:8px!important;
  }
  :root[data-theme="gta"] .avatar-choices {
    grid-template-columns:repeat(auto-fill,minmax(62px,1fr));
    gap:13px 10px;
  }
  :root[data-theme="gta"] .avatar-choice {width:55px;height:55px}
}
@media (prefers-reduced-transparency: reduce){
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card {
    background:#2b213b!important;
    backdrop-filter:none!important;
  }
}


/* Receiver gain keeps its full invisible 18px interaction height while the
   visible track is a restrained four-pixel glass line. */
:root[data-theme="gta"] body.in-room #screenCall .participant-card .peer-volume {
  -webkit-appearance:none;appearance:none;
  background:transparent;cursor:pointer;
  height:18px;min-height:18px;
  border:0;outline:0;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .peer-volume::-webkit-slider-runnable-track {
  height:4px;border-radius:999px;
  background:linear-gradient(90deg,rgba(90,228,214,.52),rgba(243,143,192,.32));
  border:1px solid rgba(238,172,214,.18);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .peer-volume::-webkit-slider-thumb {
  -webkit-appearance:none;appearance:none;
  margin-top:-5px;width:12px;height:12px;border-radius:50%;
  background:#8fece4;border:2px solid #29364b;
  box-shadow:0 0 0 2px rgba(96,218,212,.13);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .peer-volume:focus-visible {
  outline:2px solid #ffb6d8;outline-offset:3px;border-radius:8px;
}
/* Room chat has its own soft message surfaces; do not alter receipt geometry. */
:root[data-theme="gta"] body.in-room #chatPanel .chat-message:not(.image-message) {
  border-radius:13px;
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-message.chat-own:not(.image-message) {
  background:linear-gradient(125deg,rgba(113,47,94,.26),rgba(58,35,70,.20));
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-message:not(.chat-own):not(.image-message) {
  background:linear-gradient(125deg,rgba(57,49,86,.27),rgba(33,34,62,.17));
}

/* GTA VI V5 — compact glass portrait cards.
   Do not resize generic Echo/ARC participants or move the floating chat. */
:root[data-theme="gta"] body.in-room #screenCall .participant-grid {
  max-width:820px!important;
  gap:13px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo {
  max-width:405px!important;
  grid-template-columns:minmax(0,405px)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card,
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .participant-card,
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-duo .participant-card {
  --gta-card-portrait:94px;
  height:158px!important;
  min-height:158px!important;
  padding:12px 15px!important;
  grid-template-columns:110px minmax(0,1fr)!important;
  grid-template-rows:22px minmax(99px,1fr) 10px!important;
  column-gap:13px!important;
  row-gap:0!important;
  border-radius:20px!important;
  background:linear-gradient(130deg,rgba(65,39,73,.86),rgba(31,25,53,.87) 62%,rgba(21,22,44,.89))!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card.is-self {
  background:linear-gradient(130deg,rgba(75,38,78,.90),rgba(34,25,54,.89) 68%,rgba(22,22,45,.91))!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card::before {border-radius:19px!important}
:root[data-theme="gta"] body.in-room #screenCall .participant-card::after {
  left:48px!important;right:48px!important;
  height:1px!important;
  opacity:.6!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .participant-card {
  --gta-card-portrait:104px;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .tile-name strong,
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name strong {
  font-size:18px!important;
  font-weight:700;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name {
  gap:5px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .avatar {
  padding:0!important;
  border:2px solid rgba(247,169,209,.8)!important;
  box-shadow:0 0 0 3px rgba(20,19,42,.84),
    0 0 0 5px rgba(238,116,190,.38),0 3px 12px rgba(12,7,29,.28)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .avatar {
  border-color:#88f9ea!important;
  box-shadow:0 0 0 3px rgba(19,20,40,.9),
    0 0 0 5px rgba(120,245,230,.68),
    0 0 18px rgba(87,234,213,.23)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .avatar-wrap {
  margin:0!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-top .small-muted {
  font-size:10px;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .mic-icon {
  width:33px;height:33px;min-width:33px;border-radius:11px;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name .small-muted {
  font-size:11px;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .peer-volume {
  height:13px!important;min-height:13px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .voice-wave-meter {
  bottom:-10px!important;
}
/* A smaller capsule should feel distinct, but never crowd the fixed dock. */
:root[data-theme="gta"] body.in-room #screenCall .control-dock {
  padding:8px 14px 7px!important;
  border-radius:28px!important;
  box-shadow:inset 0 1px rgba(255,232,244,.17),
    0 10px 25px rgba(12,8,28,.25)!important;
}
@media(max-width:1040px){
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid {
    max-width:530px!important;
  }
}
@media(max-width:600px){
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid,
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo {
    max-width:100%!important;
    grid-template-columns:minmax(0,1fr)!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card,
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .participant-card {
    --gta-card-portrait:82px;
    grid-template-columns:88px minmax(0,1fr)!important;
    grid-template-rows:20px minmax(92px,1fr) 8px!important;
    min-height:145px!important;height:145px!important;
    padding:11px 12px!important;
    border-radius:17px!important;
    column-gap:10px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card::before {
    border-radius:16px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-solo .tile-name strong,
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name strong {
    font-size:16px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .mic-icon {
    width:29px;height:29px;min-width:29px;
  }
}
/* GTA VI V6: restrained visual consistency and readability.
   Scoped so Echo / ARC / Day / Night never inherit these overrides. */
:root[data-theme="gta"] body.in-room #toast {
  box-sizing:border-box;
  padding:11px 17px;
  border:1px solid rgba(237,151,201,.65);
  border-radius:13px;
  background:linear-gradient(130deg,rgba(56,38,73,.97),rgba(29,27,54,.98));
  color:#fff1f8;
  box-shadow:0 11px 30px rgba(12,8,30,.34),inset 0 1px rgba(255,227,245,.15);
  font-size:12px;
  line-height:1.45;
  font-weight:600;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-empty {
  color:#d9c8df;
  font-size:13px;
  font-weight:500;
  text-shadow:0 1px 8px rgba(12,9,28,.34);
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-messages {
  background:radial-gradient(ellipse at 55% 53%,rgba(139,74,128,.13),transparent 68%);
  scrollbar-color:rgba(225,145,196,.5) transparent;
}
:root[data-theme="gta"] body.in-room #screenCall .empty-notice strong {
  color:#f7e1ef;
  text-shadow:0 1px 7px rgba(16,9,29,.42);
  font-weight:700;
}
:root[data-theme="gta"] body.in-room #screenCall .empty-notice p {
  color:#e3c8da;
  text-shadow:0 1px 6px rgba(12,8,23,.36);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name .small-muted {
  color:#e5cada;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-top .small-muted {
  color:#ead4e5;
}
:root[data-theme="gta"] body.in-room #screenCall .room-scroll {
  scrollbar-width:thin;
  scrollbar-color:rgba(226,143,192,.54) transparent;
}
:root[data-theme="gta"] body.in-room #screenCall .room-scroll::-webkit-scrollbar {
  width:6px;
}
:root[data-theme="gta"] body.in-room #screenCall .room-scroll::-webkit-scrollbar-track {
  background:transparent;
}
:root[data-theme="gta"] body.in-room #screenCall .room-scroll::-webkit-scrollbar-thumb {
  border-radius:999px;
  background:rgba(220,131,187,.5);
}
:root[data-theme="gta"] body.in-room #screenCall .room-scroll::-webkit-scrollbar-button {
  display:none;
}
:root[data-theme="gta"] .preferences-dialog .preferences-nav-list button[aria-current="true"] {
  background:linear-gradient(115deg,rgba(121,58,104,.75),rgba(77,46,92,.89));
  color:#fff2f9;
  border-color:rgba(243,148,199,.68);
  box-shadow:inset 3px 0 0 #fa94c0;
}
:root[data-theme="gta"] .preferences-dialog .preferences-nav-list button:focus-visible {
  outline:2px solid #84ede1;
  outline-offset:2px;
}
@media (max-width:600px) {
  :root[data-theme="gta"] body.in-room #toast {
    max-width:min(86vw,300px);
    padding:9px 13px;
    font-size:11px;
  }
}
/* GTA VI Neon Wave V7: one real analyser-backed spectrum, integrated into
   participant details. Never create decorative/fake audio bars. */
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name {
  flex:1 1 auto;
  width:auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:5px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name .small-muted {
  line-height:1.25;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter {
  box-sizing:border-box;
  position:relative!important;
  display:flex!important;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:5px;
  left:auto!important;
  right:auto!important;
  top:auto!important;
  bottom:auto!important;
  transform:none!important;
  opacity:.49;
  visibility:visible!important;
  z-index:1;
  width:min(138px,100%);
  height:20px;
  min-width:0;
  max-width:100%;
  margin:3px 0 0;
  padding:3px 10px;
  border:1px solid rgba(243,151,204,.27);
  border-radius:999px;
  background:linear-gradient(115deg,rgba(73,44,88,.53),rgba(31,29,59,.44));
  box-shadow:inset 0 1px rgba(255,226,243,.08);
  pointer-events:none;
  transition:opacity .18s ease,border-color .18s ease,box-shadow .18s ease;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter::before {
  content:"";
  position:absolute;
  left:10px;right:10px;top:50%;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(104,231,219,.26) 40%,
    rgba(249,142,192,.24) 85%,transparent);
  pointer-events:none;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter i,
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .tile-name > .voice-wave-meter i {
  display:block;
  position:relative;
  z-index:1;
  flex:0 0 3px;
  width:3px;
  min-width:3px;
  height:13px;
  border-radius:4px;
  opacity:.66;
  transform:scaleY(var(--spectrum-level,.14));
  transform-origin:center;
  background:linear-gradient(180deg,#81fbeb,#49ced8 65%,#f08fc7);
  box-shadow:0 0 5px rgba(86,234,217,.12);
  transition:transform .065s linear;
  animation:none!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter i:nth-child(3n) {
  background:linear-gradient(180deg,#ef92c8,#9f9ad6 48%,#50e0d7);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.is-spectrum-active .tile-name > .voice-wave-meter {
  opacity:1;
  border-color:rgba(117,251,232,.58);
  background:linear-gradient(115deg,rgba(34,81,94,.53),rgba(63,46,85,.52));
  box-shadow:inset 0 1px rgba(232,255,248,.11),
    0 0 12px rgba(80,235,216,.18);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.is-spectrum-active .tile-name > .voice-wave-meter i {
  opacity:1;
  box-shadow:0 0 8px rgba(92,246,225,.32);
}
/* Silence and muted microphones do not produce a fabricated waveform. */
:root[data-theme="gta"] body.in-room #screenCall .participant-card:not(.is-spectrum-active) .tile-name > .voice-wave-meter i {
  box-shadow:none;
}
@media(max-width:600px) {
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name {
    gap:3px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter {
    width:min(110px,100%);
    height:18px;
    gap:3px;
    margin-top:2px;
    padding:2px 6px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter i,
  :root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .tile-name > .voice-wave-meter i {
    flex-basis:2.5px;
    width:2.5px;
    min-width:2.5px;
    height:11px;
  }
}
/* Motion accessibility follows the existing spectrum engine. */
:root[data-reduce-motion="true"][data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter,
:root[data-reduce-motion="true"][data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter i {
  transition:none!important;
}
@media(prefers-reduced-motion:reduce){
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter,
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter i {
    transition:none!important;
  }
}

/* GTA VI V8 — discreet Leonida editorial finish.
   Scope every refinement to GTA VI. No new assets, controls, or animations. */
:root[data-theme="gta"] .hero::before {
  content:"VICE CITY  ·  LEONIDA";
  display:block;
  align-self:flex-start;
  max-width:100%;
  margin:0 0 13px;
  padding:0 0 0 13px;
  border-left:2px solid rgba(255,156,197,.85);
  color:#ffd0e4;
  font-size:10px;
  font-weight:750;
  letter-spacing:.22em;
  line-height:1.4;
  text-shadow:0 1px 7px rgba(25,10,37,.35);
  pointer-events:none;
}
:root[data-theme="gta"] .hero h1 {
  font-weight:800;
  letter-spacing:-.048em;
  line-height:1.04;
  text-shadow:0 2px 16px rgba(17,7,28,.35);
}
:root[data-theme="gta"] .hero h1 span {
  color:#ff9dbf;
  text-shadow:0 2px 15px rgba(58,15,51,.16);
}
:root[data-theme="gta"] body.in-room #screenCall .call-heading h1 {
  font-weight:800;
  letter-spacing:-.052em;
  text-shadow:0 2px 13px rgba(15,8,28,.26);
}
:root[data-theme="gta"] .entry-card h2,
:root[data-theme="gta"] .windows-download-heading h2 {
  font-weight:760;
  letter-spacing:-.035em;
}
/* Match the Windows download surface to the agreed glass entry card. */
:root[data-theme="gta"] body .windows-download-card {
  background:linear-gradient(142deg,rgba(53,35,68,.82),rgba(23,20,42,.82))!important;
  border:1px solid rgba(243,151,202,.48)!important;
  border-radius:20px;
  backdrop-filter:blur(15px) saturate(115%);
  -webkit-backdrop-filter:blur(15px) saturate(115%);
  box-shadow:0 14px 35px rgba(10,7,26,.27),inset 0 1px rgba(255,224,241,.13)!important;
}
:root[data-theme="gta"] .windows-download-heading h2 {
  color:#fff0fa;
}
:root[data-theme="gta"] .windows-download-icon {
  background:linear-gradient(145deg,rgba(84,57,93,.85),rgba(39,40,69,.84));
  border-color:rgba(238,150,196,.44);
  color:#ffb3d3;
}
:root[data-theme="gta"] .windows-download-version {
  border:1px solid rgba(228,142,186,.45);
  background:rgba(135,65,111,.34);
  color:#ffd1e3;
}
:root[data-theme="gta"] .windows-download-meta {
  color:#d4bfd4;
}
:root[data-theme="gta"] :is(.windows-download-primary,.windows-download-mobile-primary) {
  background:linear-gradient(113deg,#e889b5 0%,#f5a4ba 68%,#f2b0a0 100%);
  border:1px solid rgba(255,209,229,.7);
  color:#2f1c33;
  box-shadow:inset 0 1px 0 rgba(255,242,246,.56),0 3px 12px rgba(18,8,30,.13);
  border-radius:11px;
  transition:filter .15s ease,box-shadow .15s ease;
}
:root[data-theme="gta"] :is(.windows-download-primary,.windows-download-mobile-primary):hover {
  filter:brightness(1.07);
  box-shadow:inset 0 1px rgba(255,247,249,.74),0 4px 15px rgba(200,91,145,.21);
}
:root[data-theme="gta"] :is(.windows-download-portable,.windows-download-mobile-portable) {
  background:linear-gradient(145deg,rgba(62,48,77,.88),rgba(30,30,54,.88));
  color:#f4dfea;
  border:1px solid rgba(201,145,194,.46);
  box-shadow:inset 0 1px rgba(255,230,247,.07);
  border-radius:11px;
  transition:background .15s ease,border-color .15s ease;
}
:root[data-theme="gta"] :is(.windows-download-portable,.windows-download-mobile-portable):hover {
  background:linear-gradient(145deg,rgba(81,56,92,.92),rgba(38,36,65,.93));
  border-color:rgba(252,174,212,.67);
  color:#fff1f8;
}
/* Secondary controls: glass and restrained coral/cyan accents, not constant RGB glow. */
:root[data-theme="gta"] :is(.banner-button,.topbar-windows-download,.preferences-open) {
  background:linear-gradient(145deg,rgba(57,43,75,.94),rgba(29,30,54,.93));
  color:#e3f8f4;
  border:1px solid rgba(130,218,216,.67);
  box-shadow:inset 0 1px rgba(251,221,237,.12),0 2px 9px rgba(14,10,28,.12);
}
:root[data-theme="gta"] :is(.banner-button,.topbar-windows-download,.preferences-open):hover:not(:disabled) {
  background:linear-gradient(145deg,rgba(79,52,92,.96),rgba(37,36,63,.95));
  border-color:rgba(170,247,236,.83);
  box-shadow:inset 0 1px rgba(255,230,247,.19),0 4px 12px rgba(11,8,30,.18);
}
:root[data-theme="gta"] :is(.banner-button,.windows-download-primary,.windows-download-portable,
  .topbar-windows-download,.preferences-open):focus-visible {
  outline:2px solid #97f0e5;
  outline-offset:3px;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button:not(.is-off):not(.dock-danger) {
  box-shadow:inset 0 1px rgba(255,225,245,.18),0 2px 6px rgba(8,6,23,.13);
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button:not(.is-off):not(.dock-danger):hover {
  border-color:rgba(248,174,217,.82);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card.speaking,
:root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card.is-spectrum-active {
  border-color:rgba(117,235,222,.84)!important;
  box-shadow:inset 0 1px rgba(216,255,245,.23),
    0 0 0 1px rgba(92,229,212,.18),
    0 0 13px rgba(71,213,206,.13),
    0 10px 24px rgba(12,10,27,.22)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .avatar {
  box-shadow:0 0 0 3px rgba(19,20,42,.87),
    0 0 0 5px rgba(116,240,222,.51),
    0 0 12px rgba(87,234,213,.18)!important;
}
:root[data-theme="gta"][data-reduce-transparency="true"] body .windows-download-card {
  background:#292038!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
@media(max-width:600px){
  :root[data-theme="gta"] .hero::before {display:none}
  :root[data-theme="gta"] .hero h1 {letter-spacing:-.046em}
}
@media(prefers-reduced-motion:reduce){
  :root[data-theme="gta"] :is(.windows-download-primary,.windows-download-portable,
  .topbar-windows-download,.banner-button,.preferences-open){transition:none!important}
}

/* The condensed Windows download panel uses the same material as desktop. */
:root[data-theme="gta"] .windows-download-mobile {
  background:linear-gradient(143deg,rgba(53,35,68,.86),rgba(23,20,42,.86));
  color:#f5e5f0;
  border:1px solid rgba(243,151,202,.48);
  border-radius:15px;
  backdrop-filter:blur(12px) saturate(115%);
  -webkit-backdrop-filter:blur(12px) saturate(115%);
  box-shadow:0 11px 26px rgba(10,7,27,.24),inset 0 1px rgba(255,224,242,.13);
}
:root[data-theme="gta"] .windows-download-mobile > span {
  color:#f4dfe9;
  font-weight:700;
}
:root[data-theme="gta"][data-reduce-transparency="true"] .windows-download-mobile {
  background:#292038!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
/* Global theme tile rename: remove the unwanted Leonida subtitle. */
:root[data-theme="gta"] .hero::before{display:none!important;content:none!important}


/* GTA VI V9 — Vice Control Deck.
   A GTA-only control surface: asymmetric glass keys, a distinct microphone
   lozenge, and a coral hang-up key. Pure CSS: no media/control rewiring. */
:root[data-theme="gta"] body.in-room #screenCall .control-dock {
  position:relative;
  isolation:isolate;
  border-radius:26px 26px 13px 26px!important;
  padding:12px 16px 8px!important;
  gap:7px!important;
  border:1px solid rgba(243,151,204,.62)!important;
  background:linear-gradient(125deg,
    rgba(71,38,75,.94) 0%,
    rgba(40,30,60,.95) 52%,
    rgba(29,29,55,.96) 100%)!important;
  box-shadow:inset 0 1px rgba(255,219,239,.25),
    0 10px 28px rgba(14,8,29,.3),
    0 0 0 1px rgba(242,147,199,.08)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .control-dock::before {
  content:"";
  position:absolute;
  left:22px;top:0;
  width:78px;height:2px;
  border-radius:0 0 3px 3px;
  background:linear-gradient(90deg,rgba(251,157,200,0),rgba(255,169,209,.82),rgba(240,128,179,.22));
  pointer-events:none;
}
:root[data-theme="gta"] body.in-room #screenCall .control-dock::after {
  content:"";
  position:absolute;
  right:23px;bottom:0;
  width:63px;height:2px;
  background:linear-gradient(90deg,transparent,rgba(109,238,222,.6),transparent);
  pointer-events:none;
}
:root[data-theme="gta"] body.in-room #screenCall .room-quick-controls > .dock-buttons {
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:0;
  background:transparent;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-divider {
  flex:0 0 1px;
  height:25px;
  width:1px;
  margin-inline:1px;
  background:linear-gradient(180deg,transparent,rgba(255,177,214,.52),transparent);
}
:root[data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton,
#noiseDockControl,#openDiagnostics) {
  box-sizing:border-box;
  display:grid;
  place-items:center;
  position:relative;
  flex:0 0 47px;
  width:47px;height:48px;
  min-width:47px;min-height:48px;
  max-width:47px;max-height:48px;
  margin:0;
  padding:0;
  border-radius:15px 15px 7px 15px!important;
  border:1px solid rgba(211,156,208,.53)!important;
  background:linear-gradient(145deg,rgba(95,57,94,.81),rgba(48,40,73,.92))!important;
  color:#fff0fa;
  box-shadow:inset 0 1px rgba(255,235,249,.17),
    inset 0 -1px rgba(19,15,40,.29),
    0 3px 9px rgba(10,6,27,.14)!important;
  transition:background .15s,border-color .15s,box-shadow .15s,color .15s,filter .15s;
}
:root[data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton,
#noiseDockControl,#openDiagnostics) > :is(span,svg) {
  position:relative;
  z-index:1;
}
:root[data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton):not(:disabled):hover {
  border-color:rgba(255,200,229,.85)!important;
  background:linear-gradient(145deg,rgba(110,66,110,.9),rgba(59,43,85,.95))!important;
  box-shadow:inset 0 1px rgba(255,241,251,.23),
    0 4px 13px rgba(223,103,164,.23)!important;
}
:root[data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton):focus-visible,
:root[data-theme="gta"] body.in-room #screenCall #noiseDockControl:focus-within,
:root[data-theme="gta"] body.in-room #screenCall #openDiagnostics:focus-visible {
  outline:2px solid #9bf5e9!important;
  outline-offset:3px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-button svg,
:root[data-theme="gta"] body.in-room #screenCall .chat-toggle-icon svg,
:root[data-theme="gta"] body.in-room #screenCall .quick-control-icon {
  width:23px;height:23px;
  stroke-width:1.85;
}
:root[data-theme="gta"] body.in-room #screenCall #micButton {
  flex-basis:57px;
  width:57px;min-width:57px;max-width:57px;
  border-radius:17px 17px 8px 17px!important;
  border-color:rgba(110,241,226,.72)!important;
  background:linear-gradient(142deg,rgba(36,104,109,.95),rgba(29,69,88,.93))!important;
  color:#a6fff2;
  box-shadow:inset 0 1px rgba(228,255,250,.22),
    0 0 0 1px rgba(108,240,225,.1),
    0 4px 13px rgba(44,175,173,.2)!important;
}
:root[data-theme="gta"] body.in-room #screenCall #micButton::after {
  content:"";
  position:absolute;
  bottom:5px;
  left:50%;
  width:22px;height:2px;
  border-radius:9px;
  transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,#81f5e5,transparent);
  opacity:.85;
  pointer-events:none;
}
:root[data-theme="gta"] body.in-room #screenCall #micButton:not(.is-off):hover {
  border-color:#aafff0!important;
  background:linear-gradient(142deg,#317e84,#24566b)!important;
  box-shadow:inset 0 1px rgba(238,255,253,.27),
    0 0 15px rgba(71,230,210,.25)!important;
}
:root[data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton).is-off {
  border-color:rgba(253,155,183,.78)!important;
  background:linear-gradient(140deg,#843a5c,#5e3455)!important;
  color:#ffe1eb!important;
  box-shadow:inset 0 1px rgba(255,221,233,.16),
    0 4px 11px rgba(195,68,112,.17)!important;
}
:root[data-theme="gta"] body.in-room #screenCall #micButton.is-off::after {
  background:linear-gradient(90deg,transparent,#ff9fbd,transparent);
}
:root[data-theme="gta"] body.in-room #screenCall #chatToggle {
  border-color:rgba(240,149,203,.72)!important;
  color:#ffe8f6;
}
:root[data-theme="gta"] body.in-room #screenCall #chatToggle[aria-expanded="true"] {
  border-color:#f9a4cd!important;
  color:#fff9fd!important;
  background:linear-gradient(135deg,#9e3f7d,#672f70)!important;
  box-shadow:inset 0 1px rgba(255,231,247,.22),
    0 0 12px rgba(234,101,171,.22)!important;
}
:root[data-theme="gta"] body.in-room #screenCall #screenButton {
  color:#d4f8fa;
  border-color:rgba(127,206,222,.56)!important;
}
:root[data-theme="gta"] body.in-room #screenCall #screenButton[aria-pressed="true"] {
  border-color:#8ef5e9!important;
  color:#c5fff5!important;
  background:linear-gradient(144deg,#256879,#25505d)!important;
  box-shadow:inset 0 1px rgba(232,255,252,.17),0 0 14px rgba(75,235,218,.24)!important;
}
:root[data-theme="gta"] body.in-room #screenCall #leaveButton {
  flex-basis:62px;
  width:62px;min-width:62px;max-width:62px;
  border-radius:17px 17px 8px 17px!important;
  border-color:rgba(255,192,202,.9)!important;
  background:linear-gradient(116deg,#bd3a7c 0%,#df578a 58%,#f18585 100%)!important;
  color:#fff7fc!important;
  box-shadow:inset 0 1px rgba(255,242,248,.4),
    0 4px 13px rgba(185,53,115,.25)!important;
}
:root[data-theme="gta"] body.in-room #screenCall #leaveButton:hover:not(:disabled) {
  background:linear-gradient(116deg,#d94888,#ed6996 60%,#ffa18b)!important;
  border-color:#ffcfda!important;
  box-shadow:inset 0 1px rgba(255,244,250,.51),
    0 5px 18px rgba(236,80,136,.3)!important;
}
:root[data-theme="gta"] body.in-room #screenCall #noiseDockControl,
:root[data-theme="gta"] body.in-room #screenCall #openDiagnostics {
  flex:0 0 40px;
  width:40px;height:40px;
  min-width:40px;min-height:40px;max-width:40px;max-height:40px;
  border-radius:13px 13px 7px 13px!important;
  border-color:rgba(202,148,202,.5)!important;
  background:linear-gradient(148deg,rgba(91,53,98,.77),rgba(40,35,67,.9))!important;
  color:#f1c9e4;
}
:root[data-theme="gta"] body.in-room #screenCall
#noiseDockControl:has(input:checked),
:root[data-theme="gta"] body.in-room #screenCall
#noiseDockControl[data-active="true"] {
  border-color:rgba(116,241,217,.74)!important;
  color:#a6fff0;
  background:linear-gradient(145deg,rgba(39,98,92,.89),rgba(31,64,78,.93))!important;
}
:root[data-theme="gta"] body.in-room #screenCall #openDiagnostics[data-quality="good"] {
  color:#a2f4d6;
}
:root[data-theme="gta"] body.in-room #screenCall #openDiagnostics[data-quality="warning"],
:root[data-theme="gta"] body.in-room #screenCall #openDiagnostics[data-pending="true"] {
  color:#ffcc94;
}
:root[data-theme="gta"] body.in-room #screenCall #openDiagnostics[data-quality="bad"] {
  color:#ffadb9;
}
:root[data-theme="gta"] body.in-room #screenCall #openDiagnostics::after {
  right:2px;
  bottom:2px;
  background:var(--utility-tone);
  border-color:#2b2544;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-label {
  color:#dbc6dd;
  font-size:10px;
  letter-spacing:.025em;
}
:root[data-theme="gta"] body.in-room #screenCall .dock-label .online-dot {
  box-shadow:0 0 0 3px rgba(115,233,219,.12);
}
/* Compact Windows and mobile: retain the proven two-row seven-control grid. */
@media(max-width:440px){
  :root[data-theme="gta"] body.in-room #screenCall .control-dock {
    padding:9px 11px 7px!important;
    border-radius:21px 21px 12px 21px!important;
    gap:5px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .room-quick-controls > .dock-buttons {
    display:grid;
    grid-template-columns:repeat(5,44px);
    grid-template-rows:44px 40px;
    gap:7px 6px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .dock-divider {display:none}
  :root[data-theme="gta"] body.in-room #screenCall
  :is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton){
    flex:0 0 44px;
    width:44px;height:44px;
    min-width:44px;min-height:44px;
    max-width:44px;max-height:44px;
    border-radius:14px 14px 7px 14px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall #noiseDockControl,
  :root[data-theme="gta"] body.in-room #screenCall #openDiagnostics {
    width:40px;height:40px;
    min-width:40px;min-height:40px;max-width:40px;max-height:40px;
  }
}
:root[data-theme="gta"][data-reduce-motion="true"] body.in-room #screenCall
:is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton,#noiseDockControl,#openDiagnostics),
:root[data-theme="gta"][data-reduce-motion="true"] body.in-room #screenCall .control-dock {
  transition:none!important;
}
@media(prefers-reduced-motion:reduce){
  :root[data-theme="gta"] body.in-room #screenCall
  :is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton,#noiseDockControl,#openDiagnostics){
    transition:none!important;
  }
}
/* Sticky states stay unmistakable even under the generic button hover. */
:root[data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton).is-off:hover:not(:disabled) {
  border-color:#ffb9cb!important;
  background:linear-gradient(140deg,#9d4866,#723b60)!important;
  color:#fff0f4!important;
}
:root[data-theme="gta"] body.in-room #screenCall
#chatToggle[aria-expanded="true"]:hover:not(:disabled) {
  border-color:#ffc0df!important;
  background:linear-gradient(135deg,#ae4c8a,#794178)!important;
  color:#fff9fd!important;
}
:root[data-theme="gta"] body.in-room #screenCall
#screenButton[aria-pressed="true"]:hover:not(:disabled) {
  border-color:#b0fff2!important;
  background:linear-gradient(144deg,#328296,#2c6170)!important;
  color:#dcfff9!important;
}

/* GTA pair: keep two compact portraits side by side on desktop, including
   Windows scaling which previously triggered the 1040px single-column rule.
   Only a genuinely narrow viewport uses a compact vertical pair. */
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-duo {
  max-width:680px!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:13px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-duo .participant-card {
  --gta-card-portrait:80px;
  height:146px!important;
  min-height:146px!important;
  padding:10px 14px!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  grid-template-rows:20px minmax(86px,1fr) 14px!important;
  column-gap:10px!important;
}
@media(max-width:700px){
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-duo {
    max-width:340px!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:10px!important;
  }
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-duo .participant-card {
    --gta-card-portrait:76px;
    height:138px!important;
    min-height:138px!important;
    padding:9px 12px!important;
    grid-template-columns:88px minmax(0,1fr)!important;
    grid-template-rows:19px minmax(80px,1fr) 14px!important;
    column-gap:10px!important;
  }
}

/* GTA VI invite pass: one continuous glass surface, not a nested green slab.
   Keep existing clipboard controls, accessible names and copy feedback. */
:root[data-theme="gta"] body.in-room #screenCall .room-banner {
  box-sizing:border-box;
  position:relative;
  width:100%;
  max-width:680px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px 10px 17px;
  border-radius:20px 20px 10px 20px!important;
  background:linear-gradient(118deg,rgba(81,43,78,.92),rgba(40,29,57,.90) 54%,rgba(23,26,48,.91))!important;
  box-shadow:inset 0 1px rgba(255,220,239,.22),0 8px 24px rgba(12,9,29,.22)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner::before {
  content:"";
  position:absolute;
  left:6px;top:12px;bottom:12px;
  width:2px;
  border-radius:4px;
  background:linear-gradient(180deg,#f8a5bf,#e77bad 48%,#69dfd2);
  pointer-events:none;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-code {
  display:grid;
  flex:1 1 auto;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  gap:3px 10px;
  min-width:0;
  padding:0;
  background:none;
  border:0;
  box-shadow:none;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-code .mini-label {
  display:block;
  grid-column:1;grid-row:1;
  color:#efb4d0;
  font-size:9px;
  font-weight:750;
  letter-spacing:.10em;
  line-height:1.25;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-code-row {
  display:contents;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-code-row strong {
  grid-column:1;grid-row:2;
  min-width:0;
  color:#fff2fa;
  font-family:Consolas,"Courier New",monospace;
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:.35px;
  overflow-wrap:anywhere;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-code .copy-room-code,
:root[data-theme="gta"] body.in-room #screenCall .room-banner-secondary .banner-button {
  box-sizing:border-box;
  min-height:38px;
  padding:8px 11px;
  border-radius:12px 12px 6px 12px;
  text-decoration:none;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-code .copy-room-code {
  grid-column:2;grid-row:1 / 3;
  align-self:center;
  border:1px solid #f3adc7;
  background:linear-gradient(130deg,#bb3c78,#e46c91 70%,#ef9692);
  color:#fff7fc;
  box-shadow:inset 0 1px rgba(255,229,242,.36),0 3px 9px rgba(121,25,76,.22);
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-code .copy-room-code:hover:not(:disabled) {
  background:linear-gradient(130deg,#d74e8d,#f481a2 70%,#f8ac9c);
  color:#fff;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-secondary {
  flex:none;
  padding:0;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-secondary .banner-button {
  background:linear-gradient(140deg,rgba(45,72,87,.61),rgba(32,34,60,.92));
  color:#c8f4ee;
  border:1px solid rgba(119,218,213,.65);
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-secondary .banner-button:hover:not(:disabled) {
  background:linear-gradient(140deg,#365d70,#323a59);
  border-color:#a6f2e6;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner :is(.copy-room-code,.banner-button).is-copied {
  background:#285a60;
  border-color:#83e9d7;
  color:#d1fff2;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner :is(.copy-room-code,.banner-button):focus-visible {
  outline:2px solid #a6f4e7;
  outline-offset:3px;
}
@media(max-width:600px) {
  :root[data-theme="gta"] body.in-room #screenCall .room-banner {
    gap:7px;padding:8px 9px 8px 15px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .room-banner-code {
    gap:3px 6px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .room-banner-code-row strong {
    font-size:12px;letter-spacing:0;
  }
  :root[data-theme="gta"] body.in-room #screenCall .room-banner :is(.copy-room-code,.banner-button) {
    width:40px;min-width:40px;height:40px;min-height:40px;padding:8px;
  }
  :root[data-theme="gta"] body.in-room #screenCall .room-banner :is(.copy-room-code,.banner-button) span {
    display:none;
  }
}
:root[data-theme="gta"][data-reduce-transparency="true"] body.in-room #screenCall .room-banner {
  background:#32243e!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
@media(prefers-reduced-transparency:reduce) {
  :root[data-theme="gta"] body.in-room #screenCall .room-banner {
    background:#32243e!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}

/* Room Polish: align the heading to the actual roster, keep the deck stable. */
:root[data-theme="gta"] body.in-room #screenCall .room-scroll {--gta-roster-width:820px}
:root[data-theme="gta"] body.in-room #screenCall .room-scroll:has(.participant-grid.is-solo) {--gta-roster-width:405px}
:root[data-theme="gta"] body.in-room #screenCall .room-scroll:has(.participant-grid.is-duo) {--gta-roster-width:680px}
:root[data-theme="gta"] body.in-room #screenCall .section-heading {
  box-sizing:border-box;width:100%;max-width:var(--gta-roster-width);
  margin-inline:auto!important;margin-block:12px 9px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .section-heading h2 {
  display:flex;align-items:center;gap:10px;justify-content:space-between;width:100%;
}
:root[data-theme="gta"] body.in-room #screenCall .section-heading .count-badge {font-variant-numeric:tabular-nums}
:root[data-theme="gta"] body.in-room #screenCall .participant-grid .participant-card:not(.speaking):not(.is-spectrum-active) {
  border-color:rgba(239,155,199,.62)!important;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter {
  height:22px;border-color:rgba(243,151,204,.36);opacity:.65;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter i,
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .tile-name > .voice-wave-meter i {
  height:16px;background:linear-gradient(180deg,#b0fff1,#54d8d5 70%,#91a3d9);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.is-spectrum-active .tile-name > .voice-wave-meter {opacity:1}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name .small-muted {color:#f0d8e7}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .peer-volume::-webkit-slider-thumb {
  box-shadow:0 0 0 2px rgba(19,22,41,.8),0 0 7px rgba(130,240,224,.28);
}
:root[data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton,#noiseDockControl,#openDiagnostics) {
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,filter .12s ease;
}
:root[data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton,#noiseDockControl,#openDiagnostics):active:not(:disabled) {filter:brightness(.88)}
/* Presence toasts avoid peer volume and dock; all diagnostic toasts stay intact. */
#toast .toast-glyph {display:none}
:root[data-theme="gta"] body.in-room #toast[data-kind]:not([hidden]) {
  display:flex;align-items:center;gap:8px;text-align:left;
  width:max-content;max-width:min(320px,calc(100vw - 28px));
  left:50%;right:auto;top:62px;bottom:auto;transform:translateX(-50%);
  padding:9px 12px;border-radius:12px;animation:gta-toast-in .16s ease-out;
}
:root[data-theme="gta"] body.in-room #toast[data-kind] .toast-glyph {display:block;flex:none;width:18px;height:18px;color:#86e4d6}
:root[data-theme="gta"] body.in-room #toast[data-kind="leave"] .toast-glyph {color:#f1a4c3}
:root[data-theme="gta"] body.in-room #toast[data-kind] .toast-message {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:root[data-theme="gta"] body.in-room #toast[data-kind] .toast-glyph svg {
  display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
@keyframes gta-toast-in {from{opacity:0;translate:0 -5px}to{opacity:1;translate:0 0}}
@media(max-width:700px){
  :root[data-theme="gta"] body.in-room #screenCall .room-scroll:has(.participant-grid.is-duo) {--gta-roster-width:340px}
}
@media(max-width:600px){
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter {height:18px}
  :root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter i,
  :root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .tile-name > .voice-wave-meter i {height:12px}
  :root[data-theme="gta"] body.in-room #toast[data-kind]:not([hidden]) {top:50px;font-size:11px;padding:4px 9px}
}
@media(max-width:350px) and (max-height:760px) {
  :root[data-theme="gta"] body.in-room #screenCall .participant-grid.is-duo .participant-card {
    height:130px!important;min-height:130px!important;--gta-card-portrait:70px;
    grid-template-rows:18px minmax(72px,1fr) 14px!important;padding-block:7px!important;
  }
}
:root[data-reduce-motion="true"][data-theme="gta"] body.in-room #toast[data-kind] {animation:none}
:root[data-reduce-motion="true"][data-theme="gta"] body.in-room #screenCall
:is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton,#noiseDockControl,#openDiagnostics){transition:none!important}
@media(prefers-reduced-motion:reduce){
  :root[data-theme="gta"] body.in-room #toast[data-kind]{animation:none}
  :root[data-theme="gta"] body.in-room #screenCall
  :is(#micButton,#deafenButton,#chatToggle,#screenButton,#leaveButton,#noiseDockControl,#openDiagnostics){transition:none!important}
}

/* Vice City signature: asymmetrical surfaces, ticket segments and one live thread.
   Keep the existing layout, nine real FFT bands, chat receipt slots and controls. */
.gta-spectrum-thread {display:none}
:root[data-theme="gta"] body.in-room #screenCall :is(.participant-grid,.participant-grid.is-solo,.participant-grid.is-duo) .participant-card {
  border-radius:20px 5px 20px 20px!important;
}
:root[data-theme="gta"] body.in-room #screenCall :is(.participant-grid,.participant-grid.is-solo,.participant-grid.is-duo) .participant-card::before {
  border-radius:19px 4px 19px 19px!important;
  background:linear-gradient(90deg,#f8ad94,#ed83ba 58%,#a18de3) 14px 0 / 74px 2px no-repeat,
    radial-gradient(ellipse at 0% 0%,rgba(255,142,189,.13),transparent 69%),
    linear-gradient(155deg,rgba(255,255,255,.035),transparent 60%);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card:is(.speaking,.is-spectrum-active)::before {
  background:linear-gradient(90deg,#80ebd6,#b0f5e7) 14px 0 / 74px 2px no-repeat,
    radial-gradient(ellipse at 0% 0%,rgba(111,226,212,.10),transparent 69%);
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter {
  padding:0;border:0;border-radius:0;background:none;box-shadow:none;
  opacity:.55;justify-content:flex-start;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter::before {display:none}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .tile-name > .voice-wave-meter i,
:root[data-theme="gta"] body.in-room #screenCall .participant-card.speaking .tile-name > .voice-wave-meter i {display:none!important}
:root[data-theme="gta"] body.in-room #screenCall .participant-card .voice-wave-meter .gta-spectrum-thread {
  display:block;width:100%;height:100%;overflow:visible;pointer-events:none;
}
:root[data-theme="gta"] body.in-room #screenCall .gta-spectrum-thread path {
  fill:none;stroke:#8bcacb;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.is-spectrum-active .tile-name > .voice-wave-meter {
  opacity:1;background:none;box-shadow:none;border:0;
}
:root[data-theme="gta"] body.in-room #screenCall .participant-card.is-spectrum-active .gta-spectrum-thread path {
  stroke:#a2fff0;filter:drop-shadow(0 0 3px #50d8c4);
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner {
  border-radius:19px 5px 19px 5px!important;
}
:root[data-theme="gta"] body.in-room #screenCall .room-banner-code-row strong {
  white-space:nowrap;letter-spacing:0;
}
:root[data-theme="gta"] body.in-room #screenCall .room-code-segment {
  display:inline-block;padding:0 3px;border-radius:3px;background:rgba(15,18,39,.38);
  box-shadow:inset 0 -1px rgba(242,153,202,.29);line-height:1.25;
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-head {
  background:linear-gradient(115deg,#4c2c4b,#282239);
  box-shadow:inset 0 2px rgba(237,143,185,.45);
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-head-icon {
  color:#ffc0d9;border-radius:12px 4px 12px 12px;
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-message:not(.image-message) {
  border-radius:13px 13px 13px 4px;
  background:linear-gradient(125deg,rgba(72,51,90,.78),rgba(36,32,58,.85));
  border-color:rgba(177,146,190,.42);
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-message.chat-own:not(.image-message) {
  border-radius:13px 13px 4px 13px;
  background:linear-gradient(125deg,rgba(117,55,91,.84),rgba(67,43,80,.90));
  border-color:rgba(239,151,194,.44);
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-compose #imageAttach {
  background:linear-gradient(145deg,#403249,#252638);border-color:#91738c;color:#f2bfd7;
  border-radius:11px 4px 11px 11px;
}
:root[data-theme="gta"] body.in-room #chatPanel .chat-compose #chatSend {border-radius:11px 11px 4px 11px}
@media(max-width:600px){
  :root[data-theme="gta"] body.in-room #screenCall .room-code-segment {padding:0 1px}
}
:root[data-theme="gta"][data-reduce-transparency="true"] body.in-room #chatPanel .chat-message:not(.image-message) {background:#373047}
:root[data-theme="gta"][data-reduce-transparency="true"] body.in-room #chatPanel .chat-message.chat-own:not(.image-message) {background:#59334f}

/* Static Pricedown Black title artwork; no webfont embedding. Text remains accessible. */
.gta-title-art{display:none}
:root[data-theme="gta"] :is(#hero-title,#entry-title,.call-heading h1).gta-title-ready{
  position:relative;color:transparent!important;text-shadow:none!important;
}
:root[data-theme="gta"] #hero-title.gta-title-ready>span{color:transparent!important;text-shadow:none!important}
:root[data-theme="gta"] .gta-title-ready>.gta-title-art{
  display:block;position:absolute;inset:0;width:100%;height:100%;
  object-fit:contain;object-position:left center;pointer-events:none;
}
:root[data-theme="gta"] #hero-title.gta-title-ready>.gta-title-art{width:min(100%,8.5em)}
:root[data-theme="gta"] #entry-title.gta-title-ready>.gta-title-art{width:min(100%,8.1em)}
@media(forced-colors:active){
  :root[data-theme="gta"] :is(#hero-title,#entry-title,.call-heading h1).gta-title-ready,
  :root[data-theme="gta"] #hero-title.gta-title-ready>span{color:CanvasText!important}
  :root[data-theme="gta"] .gta-title-ready>.gta-title-art{display:none}
}
