/* The chassis is split at the seams. Glass and keys sit over their own plate. */
:root[data-skin=tactical] {
  --k-bg: #050505;
  --k-scr: #080809;
  --k-text: #f0eef1;
  --k-dim: #aca8b2;
  --k-digits: #fcfbfa;
  --k-acc: #cf9df9;
  --k-hi: #edccff;
  --k-rx: #b8dfff;
  --k-glow: #a166e664;
  --k-soft: #a166e626;
  --k-line: #4b414e;
}

:root[data-skin=tactical] .radio {
  container-type: size;
  overflow: hidden auto;
  scrollbar-width: none;
  color: var(--k-text);
}
:root[data-skin=tactical] .radio .head {
  --tc-head-height: max(32.624cqw, calc(env(safe-area-inset-top, 0px) + 71px));
  position: relative;
  display: block;
  flex: none;
  height: var(--tc-head-height);
  padding: 0;
  isolation: isolate;
}
/* The pictures of the head and of the talk key carry lights of their own
   (the knobs' and the nameplate's amber, the violet under the key; the
   display's amber side lights below): each
   picture is a layer of its own under what is on it, so the interface
   colour's filter turns the picture alone (theme.js sets --art-amber and
   --art-violet; none in «Original»). Its metal is grey and stays grey. */
:root[data-skin=tactical] .radio :is(.head, .stage)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
:root[data-skin=tactical] .radio .head::before {
  background: url(../img/walkies/tactical/head.webp) center / 100% 100% no-repeat;
  filter: var(--art-amber, none);
}
:root[data-skin=tactical] .radio .stage::before {
  background: url(../img/walkies/tactical/talk.webp) center / 100% 100% no-repeat;
  filter: var(--art-violet, none);
}
:root[data-skin=tactical] .radio .head > :is(.iconbtn, .chanbtn) {
  position: absolute;
  top: 81%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 15%;
  height: 34%;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  box-shadow: none;
  color: var(--k-text);
}
:root[data-skin=tactical] .radio .head > .iconbtn:first-child { left: 17.2%; }
:root[data-skin=tactical] .radio .head > .iconbtn:last-child { left: 82.8%; }
:root[data-skin=tactical] .radio .head > .chanbtn {
  top: 65%;
  left: 50%;
  width: 35%;
  height: 44%;
}
:root[data-skin=tactical] .radio .head > .chanbtn .rlogo { display: none; }
:root[data-skin=tactical] .radio .head .icon svg { width: clamp(16px, 4.8cqw, 24px); height: auto; }

:root[data-skin=tactical] .tactical-preset-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 1fr 1fr;
  flex: none;
  height: 11.348cqw;
  min-height: 40px;
  padding: 0 6% 0 6.2%;
  background: url(../img/walkies/tactical/presets.webp) center / 100% 100% no-repeat;
}
:root[data-skin=tactical] .tactical-preset {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0 10% 4%;
  color: #a39ea4;
  border-radius: 8px;
}
:root[data-skin=tactical] .tactical-preset-text {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 clamp(12px, 4cqw, 19px)/1 var(--k-digit-font);
  font-variant-numeric: tabular-nums;
}
:root[data-skin=tactical] .tactical-preset-text.add { font: 600 clamp(11px, 3cqw, 15px)/1.15 var(--font); }
:root[data-skin=tactical] .tactical-preset[aria-pressed=true] { color: #ffbd54; text-shadow: 0 0 8px #ff8d3170; }
:root[data-skin=tactical] .tactical-preset[aria-pressed=true]::after {
  content: "";
  position: absolute;
  bottom: 21%;
  left: 50%;
  width: 8px;
  height: 5px;
  translate: -50%;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: #ffbc54;
}
:root[data-skin=tactical] .tactical-preset[aria-pressed=true]::before {
  content: "";
  position: absolute;
  bottom: 19%;
  left: 14%;
  right: 14%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff861b, #ffcc70, #ff861b, transparent);
  box-shadow: 0 0 9px 1px #ff9a475b;
}

:root[data-skin=tactical] .tactical-display {
  position: relative;
  display: grid;
  align-content: start;
  grid-template-rows: auto auto auto auto;
  /* One column no wider than the glass: a long row (who is away) would
     otherwise widen it past the screen's edge on a 360 px phone. */
  grid-template-columns: minmax(0, 1fr);
  flex: none;
  min-height: max(212px, 57.73cqw);
  padding: 3.45cqw 10.5% 3.4cqw;
}
/* Its picture has the amber side lights: a layer of its own under the
   glass's words, turned by the interface colour as the head's is. Not
   isolated (a full-screen video in it must stay over the walkie): the
   layer lies at the bottom of the walkie's own stacking (.radio isolates),
   over its plain ground, where nothing else covers the display. */
:root[data-skin=tactical] .tactical-display::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url(../img/walkies/tactical/display.webp) center / 100% 100% no-repeat;
  filter: var(--art-amber, none);
}
:root[data-skin=tactical] .tactical-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: clamp(37px, 10.9cqw, 57px);
  gap: 5px;
}
:root[data-skin=tactical] .tactical-status .airline {
  flex: 1;
  min-width: 0;
  width: auto;
  height: auto;
  min-height: 26px;
  flex-wrap: wrap;
  gap: 3px 6px;
}
:root[data-skin=tactical] .tactical-status .airline::before { display: none; }
:root[data-skin=tactical] .tactical-status .airtext {
  position: relative;
  flex: 1;
  min-width: 0;
  padding-left: clamp(14px, 4.4cqw, 21px);
}
:root[data-skin=tactical] .tactical-status .airtext::before {
  content: "";
  position: absolute;
  top: .35em;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ce64f;
  box-shadow: 0 0 8px #8dd84573;
}
:root[data-skin=tactical] .tactical-status .airtext:is(.tx, .rx)::before {
  background: var(--k-hi);
  box-shadow: 0 0 8px var(--k-glow);
}
:root[data-skin=tactical] .tactical-status .airtext:not(:is(.free, .last, .note, .tx, .rx))::before {
  background: #ad8458;
  box-shadow: none;
}
:root[data-skin=tactical] .tactical-status :is(.wstatus, .wsub) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--k-text);
  font: 500 clamp(10px, 2.75cqw, 14px)/1.25 var(--font);
  letter-spacing: .035em;
  text-transform: none;
}
:root[data-skin=tactical] .tactical-status .wsub { color: var(--k-dim); margin: 4px 0 0; }
:root[data-skin=tactical] .tactical-status .wsub:empty { display: none; }
:root[data-skin=tactical] .tactical-status .unavail { flex-basis: 100%; max-width: 100%; flex-wrap: wrap; }
:root[data-skin=tactical] .tactical-status .lcdright { flex: none; gap: 4px; }
:root[data-skin=tactical] .tactical-status .lcdsig { height: 19px; gap: 2px; }
:root[data-skin=tactical] .tactical-status .lcdsig i { width: 3px; }
:root[data-skin=tactical] .tactical-status .lcdsig i:nth-child(4) { height: 19px !important; }
:root[data-skin=tactical] .tactical-status .lamp { font-size: 9px; padding-inline: 3px; }
:root[data-skin=tactical] .tactical-status .replay,
:root[data-skin=tactical] .tactical-display .people .pcall {
  border: 1px solid #443a4c;
  border-radius: 99px;
  background: #201b26;
  color: #e0c2f5;
  font-size: clamp(10px, 2.55cqw, 13px);
}
:root[data-skin=tactical] .tactical-display .people .pcall { height: 28px; padding-inline: 10px; }
:root[data-skin=tactical] .tactical-display .lcdbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: none;
}
:root[data-skin=tactical] .tactical-display .lcd { padding: 0; }
:root[data-skin=tactical] .tactical-readout {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2.4cqw;
  padding-block: .25cqw 1.35cqw;
}
:root[data-skin=tactical] .tactical-readout > .icon { align-self: center; color: var(--k-acc); }
:root[data-skin=tactical] .tactical-readout > .icon svg { width: clamp(23px, 7.1cqw, 37px); height: auto; }
:root[data-skin=tactical] .tactical-readout .lcdfreq {
  min-width: 0;
  height: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--k-digits);
  font: 600 clamp(29px, 10.3cqw, 51px)/1.14 var(--k-digit-font);
  letter-spacing: .018em;
  text-shadow: 0 0 11px #c6a5f53b;
}
:root[data-skin=tactical] .tactical-readout .lcdfreq.word { font-size: clamp(23px, 7.5cqw, 38px); }
:root[data-skin=tactical] .tactical-unit { flex: none; font: 500 clamp(12px, 3.4cqw, 17px)/1 var(--font); }
:root[data-skin=tactical] .tactical-display .lcdart {
  position: relative;
  inset: auto;
  display: block;
  height: max(37px, 13.35cqw);
  margin: 0 -1%;
  overflow: hidden;
  clip-path: polygon(2% 0, 98% 0, 100% 13%, 100% 87%, 98% 100%, 2% 100%, 0 87%, 0 13%);
  background: repeating-linear-gradient(90deg, #bc90f014 0 1px, transparent 1px 8px),
    repeating-linear-gradient(0deg, #bc90f012 0 1px, transparent 1px 8px), #0c0910;
  box-shadow: inset 0 0 0 1px #62566e80;
}
:root[data-skin=tactical] .tactical-display .lcdart::after {
  content: "";
  position: absolute;
  inset: auto 4% 0;
  height: 7px;
  opacity: .6;
  background: repeating-linear-gradient(90deg, #bfabc3 0 1px, transparent 1px 23px) bottom / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, #7d6b89 0 1px, transparent 1px 5px) bottom / 100% 4px no-repeat;
}
:root[data-skin=tactical] .tactical-display .lwave {
  position: absolute;
  inset: 2px 1.2% 7px;
  width: 97.6%;
  height: calc(100% - 9px);
  color: #dbadff;
  --wave-style: ribbon;
  --wave-idle: .98;
  filter: drop-shadow(0 0 4px #be67fb);
}
:root[data-skin=tactical] .radio[data-air=tx] .tactical-display .lwave { color: #f1cdff; }
:root[data-skin=tactical] .radio[data-air=rx] .tactical-display .lwave { color: #b7d8ff; }
:root[data-skin=tactical] .tactical-display .lcdbot { min-height: 0; padding: 0; gap: 3px; }
:root[data-skin=tactical] .tactical-display .lcdbot:has(> .lcdhere:only-child) { display: none; }
:root[data-skin=tactical] .tactical-display .deaf { margin-top: 4px; }
:root[data-skin=tactical] .tactical-display .people {
  min-width: 0;
  height: auto;
  min-height: clamp(33px, 9.65cqw, 48px);
  margin: 0;
  padding: 0 3%;
  gap: 6px;
  border: 0;
  background: none;
  box-shadow: none;
}
:root[data-skin=tactical] .tactical-display .pstrip {
  height: auto;
  min-height: 30px;
  color: var(--k-text);
  font-size: clamp(10px, 2.65cqw, 14px);
}
:root[data-skin=tactical] .tactical-mode {
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--k-dim);
  font-size: clamp(9px, 2.2cqw, 12px);
}
:root[data-skin=tactical] .tactical-mode .lcdmode { flex: 0 1 auto; text-overflow: ellipsis; letter-spacing: .045em; }
:root[data-skin=tactical] .tactical-mode > .icon { color: var(--k-acc); }

:root[data-skin=tactical] .tactical-controls {
  position: relative;
  flex: none;
  height: 13.475cqw;
  min-height: 44px;
  background: url(../img/walkies/tactical/controls.webp) center / 100% 100% no-repeat;
}
:root[data-skin=tactical] .tactical-controls > button {
  position: absolute;
  top: 52%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 14%;
  height: 100%;
  min-height: 44px;
  border-radius: 8px;
  color: var(--k-text);
}
:root[data-skin=tactical] .tactical-controls > button:nth-child(1) { left: 8.8%; top: 30%; height: 82%; z-index: 1; }
:root[data-skin=tactical] .tactical-controls > button:nth-child(2) { left: 26.9%; }
:root[data-skin=tactical] .tactical-controls > button:nth-child(3) { left: 43.5%; }
:root[data-skin=tactical] .tactical-controls > button:nth-child(4) { left: 59.7%; }
:root[data-skin=tactical] .tactical-controls > button:nth-child(5) { left: 75.4%; }
:root[data-skin=tactical] .tactical-controls > button:nth-child(6) { left: 91.3%; top: 30%; height: 82%; z-index: 1; }
:root[data-skin=tactical] .tactical-controls .prev svg { rotate: 180deg; }
:root[data-skin=tactical] .tactical-controls button:is([aria-disabled=true], :disabled, [aria-pressed=false]) { color: #a39aa7; }
:root[data-skin=tactical] .tactical-controls .tactical-control:nth-child(3):not(:disabled) { color: var(--k-acc); }
:root[data-skin=tactical] .tactical-controls .tactical-control:nth-child(3)[aria-pressed=true] {
  color: var(--k-hi);
  background: radial-gradient(ellipse at 50% 60%, #a351d03b, transparent 70%);
}
:root[data-skin=tactical] .tactical-controls :is(button:not([aria-disabled=true]):active, button[aria-pressed=true]:nth-child(3)) > .icon { filter: drop-shadow(0 0 4px #ca80ff); }

:root[data-skin=tactical] .radio .stage {
  flex: none;
  width: 100%;
  height: clamp(49cqw, calc(100cqh - 134cqw), 58.298cqw);
  min-height: 0;
  position: relative;
  display: block;
  padding: 0;
  isolation: isolate;
}
:root[data-skin=tactical] .radio .stage::after {
  content: "";
  position: absolute;
  inset: 44% 12% 26%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 22% 48% at 14% 56%, #b866ff78, transparent),
    radial-gradient(ellipse 22% 48% at 86% 56%, #b866ff78, transparent),
    radial-gradient(ellipse 52% 18% at 50% 86%, #a752ff61, transparent);
  transition: opacity .18s;
}
:root[data-skin=tactical] .radio[data-air=tx] .stage::after { opacity: 1; }
:root[data-skin=tactical] .radio .ptt-wrap {
  display: block;
  position: absolute;
  inset: 3% 10% 38%;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  container-type: normal;
}
:root[data-skin=tactical] .radio .ptt {
  display: flex;
  position: absolute;
  inset: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  gap: 3.6cqw;
  padding: 0 5% 4%;
  border: 0;
  border-radius: 15%;
  clip-path: polygon(12% 0, 88% 0, 100% 32%, 85% 100%, 15% 100%, 0 32%);
  background: none;
  box-shadow: none;
  color: #d1a4ed;
  transform: none;
  transition: background-color .16s, color .16s;
}
:root[data-skin=tactical] .radio .ptt::before,
:root[data-skin=tactical] .radio .ptt::after { display: none; }
:root[data-skin=tactical] .radio .ptt > .icon svg { width: clamp(35px, 14cqw, 70px); height: clamp(29px, 11cqw, 55px); }
:root[data-skin=tactical] .radio .ptt > .icon { color: inherit; filter: drop-shadow(0 1px 1px #050405); }
:root[data-skin=tactical] .radio .ptt .lbl {
  min-width: 54%;
  max-width: 90%;
  padding: 2.5% 6%;
  border-radius: 100px;
  color: #e9e5ec;
  background: #0d0c0ddc;
  box-shadow: inset 0 1px 2px #030303;
  font: 600 clamp(10px, 2.9cqw, 15px)/1 var(--mono);
  letter-spacing: .19em;
  text-align: center;
  white-space: normal;
}
:root[data-skin=tactical] .radio .ptt[data-held] { background: #0b070f30; }
:root[data-skin=tactical] .radio .ptt[data-state=transmitting] { color: #f1ceff; background: radial-gradient(ellipse at 50% 32%, #af52d936, transparent 54%); }
:root[data-skin=tactical] .radio .ptt[data-state=transmitting] > .icon { filter: drop-shadow(0 0 7px #d084fa); }
:root[data-skin=tactical] .radio .ptt[data-state=transmitting] .lbl { color: #f4daff; }
:root[data-skin=tactical] .radio .ptt.face { gap: 1.5cqw; }
:root[data-skin=tactical] .radio .ptt .pttface { width: clamp(30px, 12cqw, 60px) !important; height: clamp(30px, 12cqw, 60px) !important; }
:root[data-skin=tactical] .radio .ptt .lsub { color: var(--k-dim); }
:root[data-skin=tactical] .radio .ptt:focus-visible { outline: none; box-shadow: inset 0 0 0 3px #d4a1f0; }
:root[data-skin=tactical] .radio .stage .hint-line {
  position: absolute;
  bottom: 1.4%;
  left: 16%;
  width: 68%;
  min-height: 0;
  font-size: 10px;
  line-height: 1.1;
  text-shadow: 0 1px #000, 0 0 5px #000;
}
:root[data-skin=tactical] .radio .stage .hint-line:empty { display: none; }
:root[data-skin=tactical] .radio .stage .sfxbar {
  position: absolute;
  bottom: 8%;
  left: 15%;
  width: 70%;
  justify-content: flex-start;
  overflow: auto hidden;
}

:root[data-skin=tactical] .radio .actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  flex: none;
  height: 18.44cqw;
  min-height: 59px;
  margin: 0;
  padding: 1.5% 4.9% 2.1% 5.3%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: url(../img/walkies/tactical/actions.webp) center / 100% 100% no-repeat;
}
:root[data-skin=tactical] .radio .actions .action {
  height: 100%;
  min-width: 0;
  min-height: 0;
  width: 100%;
  padding: 0 2px;
  gap: 4px;
  justify-content: center;
  color: var(--k-text);
  border: 0;
  background: none;
  box-shadow: none;
}
:root[data-skin=tactical] .radio .actions .action > .iconbtn {
  width: auto;
  height: auto;
  border: 0;
  box-shadow: none;
  background: none;
  color: inherit;
}
:root[data-skin=tactical] .radio .actions .action .icon svg { width: clamp(17px, 5cqw, 25px); height: auto; }
:root[data-skin=tactical] .radio .actions .actlbl { margin: 0; font-size: clamp(9px, 2.6cqw, 13px); white-space: normal; }
:root[data-skin=tactical] .radio .actions .action.on { color: var(--k-acc); }
:root[data-skin=tactical] .radio .actions .action.off { color: #dba7a2; }

:root[data-skin=tactical] .radio :is(.head, .tactical-controls) button:focus-visible {
  outline: 2px solid var(--k-hi);
  outline-offset: -4px;
}

.skinpic.sp-tactical {
  background: #090809 url(../img/walkies/tactical/talk.webp) center 13% / cover no-repeat;
  box-shadow: inset 0 0 0 1px #554b5c;
}
.skinpic.sp-tactical > :is(i, b) { display: none; }

/* The empty walkie: the chassis has no room for the help card (it would be a
   sliver under the display); the big key says SET FREQUENCY and the display
   says what to do. */
:root[data-skin=tactical] .radio > .howto { display: none; }


:root[data-skin=tactical]:not(.desk) .radio .stage {
  flex: 1 0 max(145px, 40cqw);
  height: auto;
}

/* The navigation uses the same five physical key faces as the action row.
   The case's original lower casting closes the body underneath them. */
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs {
  --tactical-key-height: clamp(56px, 18.44vw, 85px);
  --tactical-lip: clamp(12px, 3.4vw, 16px);
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: calc(var(--tactical-key-height) + var(--tactical-lip) + env(safe-area-inset-bottom));
  padding: 1.5% 4.9% calc(var(--tactical-lip) + env(safe-area-inset-bottom) + 2.1vw) 5.3%;
  border: 0;
  background: #050505;
  box-shadow: none;
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: var(--tactical-key-height);
  background: url(../img/walkies/tactical/actions.webp) center / 100% 100% no-repeat;
  pointer-events: none;
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: var(--tactical-key-height) 0 0;
  background: #050505 url(../img/walkies/tactical/tabs.webp) bottom center / 100% calc(var(--tactical-lip) * 4.9) no-repeat;
  border-bottom: env(safe-area-inset-bottom) solid #050505;
  pointer-events: none;
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > .tabs-shape { display: none; }
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > :is(.tab, .tabplus) {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 44px;
  min-width: 0;
  margin: 0;
  padding: 0 2px;
  gap: 4px;
  color: #e0dce4;
  font-size: clamp(10px, 2.6vw, 13px);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > .tab .icon svg {
  width: clamp(20px, 5vw, 25px);
  height: auto;
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > .tab.active {
  color: var(--k-acc);
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > .tab.active::after {
  content: '';
  position: absolute;
  inset: auto 30% 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--k-hi);
  box-shadow: 0 0 6px var(--k-glow);
  pointer-events: none;
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > .tabplus > span {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  color: var(--k-hi);
  background: none;
  box-shadow: none;
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > .tabplus .icon svg {
  width: clamp(25px, 6.5vw, 32px);
  height: auto;
  filter: drop-shadow(0 0 3px var(--k-glow));
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > :is(.tab, .tabplus):active {
  background: #0003;
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs > :is(.tab, .tabplus):focus-visible {
  outline: 2px solid var(--k-hi);
  outline-offset: -3px;
}
/* Guests keep the shared three-control navigation on a matching metal plate. */
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs.guesttabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: linear-gradient(160deg, #343237, #141316 60%, #242126);
}
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs.guesttabs::before { display: none; }
:root[data-skin=tactical]:not(.desk) #app.shell > .tabs.guesttabs > .tab {
  margin-inline: 3px;
  width: auto;
  border: 1px solid #5c565f;
  border-radius: 8px;
  background: linear-gradient(#27252a, #101012);
  box-shadow: inset 0 1px #fff2, 0 2px 3px #000b;
}
@container (max-height: 640px) {
  :root[data-skin=tactical]:not(.desk) .radio .head {
    --tc-head-height: max(29cqw, calc(env(safe-area-inset-top, 0px) + 56px));
  }
  :root[data-skin=tactical]:not(.desk) .tactical-display { min-height: max(175px, 48cqw); }
  :root[data-skin=tactical]:not(.desk) .tactical-status { min-height: 34px; }
  :root[data-skin=tactical]:not(.desk) .tactical-display .lcdart { height: max(31px, 9.5cqw); }
  :root[data-skin=tactical]:not(.desk) .tactical-display .people { min-height: 32px; }
  :root[data-skin=tactical]:not(.desk) .radio .stage { flex-basis: max(126px, 34cqw); }
  :root[data-skin=tactical]:not(.desk) .radio .ptt { gap: 2.5cqw; }
  :root[data-skin=tactical]:not(.desk) .radio .ptt > .icon svg { height: clamp(26px, 8.6cqw, 36px); }
  :root[data-skin=tactical]:not(.desk) .radio .actions { height: max(51px, 14.4cqw); min-height: 51px; }
}
