:root[data-skin=projection] {
  --k-bg: #020203;
  --k-scr: #020203;
  --k-text: #f1eeea;
  --k-dim: #a8a4aa;
  --k-acc: #c6e8ff;
  --k-hi: #efe6ff;
  --k-rx: #d8ebff;
  --k-digits: #faf5ee;
  --k-line: #dbddf42a;
  --k-glow: #9eacfa5c;
  --k-soft: #b3b6df38;
  --look-chassis: #020203;
  --look-header: #070708;
  --look-nav-top: #09090b;
  --look-nav-mid: #050506;
  --look-nav-bottom: #020203;
  --look-indicator: #f4f0eb;
  --look-lit-key: #25262c;
  --look-detail: #dcd7f1;
}

:root[data-skin=projection] .radio {
  align-items: center;
  overflow: hidden auto;
  scrollbar-width: none;
  color: var(--k-text);
}

.projection-console {
  --inset: clamp(17px, 6.7cqw, 36px);
  --emitter: 47%;
  display: flex;
  flex: none;
  flex-direction: column;
  position: relative;
  container-type: inline-size;
  width: min(100%, 550px);
  min-height: 100%;
  background: #020203;
}

:root[data-skin=projection] .radio .projection-console > .head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 39%) 44px;
  align-items: center;
  gap: 0;
  padding: max(3px, env(safe-area-inset-top, 0px)) clamp(3px, 2cqw, 11px) 0 var(--inset);
}
:root[data-skin=projection].desk .radio .projection-console > .head { padding-block-start: 0; }
:root[data-skin=projection] .radio .projection-console > .head > .iconbtn {
  width: 44px;
  height: 48px;
  background: none;
  border: 0;
  box-shadow: none;
}
:root[data-skin=projection] .radio .projection-console .head > .projection-brand {
  width: 100%;
  min-width: 0;
  justify-content: flex-start;
  padding: 0;
  border-radius: 0;
}
.projection-console .head > .iconbtn:last-child circle { fill: currentColor; stroke: none; }
:root[data-skin=projection] .projection-console .rlogo { gap: clamp(7px, 2.5cqw, 14px); filter: none; }
:root[data-skin=projection] .projection-console .rlwave {
  width: clamp(19px, 5.2cqw, 29px);
  height: clamp(22px, 6cqw, 33px);
  background: var(--k-text);
}
:root[data-skin=projection] .projection-console .rlword { flex-direction: row; gap: .44em; white-space: nowrap; }
:root[data-skin=projection] .projection-console .rlword :is(b, small) {
  margin: 0;
  padding: 0;
  color: var(--k-text);
  font: 500 clamp(9px, 3cqw, 16px)/1 var(--font);
  letter-spacing: .17em;
}
.projection-console .head > .lcd {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(3px, 1.6cqw, 9px);
  min-height: 44px;
  padding-inline: 6px clamp(3px, 1.7cqw, 9px);
  color: var(--k-text);
}
.projection-console .head > .lcd::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  height: 17px;
  width: 1px;
  background: #e5d8cc4b;
}
.projection-readout { display: flex; align-items: baseline; min-width: 0; gap: 5px; white-space: nowrap; }
:root[data-skin=projection] .projection-readout .lcdfreq {
  height: auto;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  font: 540 clamp(11px, 3.4cqw, 19px)/1 var(--font);
  letter-spacing: .08em;
  text-shadow: none;
  font-variant-numeric: tabular-nums;
}
:root[data-skin=projection] .projection-readout .lcdfreq.word { font-size: clamp(9px, 2.75cqw, 15px); }
.projection-unit { font: 500 clamp(8px, 2.2cqw, 12px)/1 var(--font); letter-spacing: .09em; }

.projection-display { display: flex; flex: 1 0 225px; }
.projection-scene { position: relative; isolation: isolate; flex: 1; min-width: 0; }
.projection-meta {
  position: absolute;
  z-index: 32;
  inset: clamp(8px, 7%, 27px) var(--inset) auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.projection-ident { display: grid; min-width: 0; max-width: 63%; gap: 6px; }
.projection-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 460 clamp(14px, 4.8cqw, 26px)/1.05 var(--font);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px #020203;
}
.projection-name:empty { display: none; }
.projection-status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--k-dim);
  font: 510 clamp(9px, 2.5cqw, 13px)/1.2 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.projection-status:is([data-kind=rx], [data-kind=tx]) { color: var(--k-text); text-shadow: 0 1px 5px #020203; }
.projection-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.projection-status[data-kind=rx]::before { color: #d3f1ff; box-shadow: 0 0 9px #b4eaff; opacity: 1; }
.projection-status[data-kind=tx]::before { color: #f499b2; box-shadow: 0 0 9px #dd6392; opacity: 1; }
.projection-signal { display: flex; align-items: center; margin-block-start: -14px; height: 44px; }
.projection-count-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 8px 0 0;
  font: 500 clamp(10px, 2.7cqw, 14px)/1 var(--font);
  pointer-events: auto;
}
.projection-meta .lcdright { padding-inline-start: 11px; border-inline-start: 1px solid #e5d8cc4b; }
.projection-meta .lamp { display: none; }
:root[data-skin=projection] .projection-meta .lcdsig { height: 14px; gap: 3px; }
:root[data-skin=projection] .projection-meta .lcdsig i { width: 1.5px; }
:root[data-skin=projection] .projection-meta .lcdsig i.on { background: var(--k-text); box-shadow: none; }
:root[data-skin=projection] .projection-meta .lcdsig i:nth-child(1) { height: 4px !important; }
:root[data-skin=projection] .projection-meta .lcdsig i:nth-child(2) { height: 7px !important; }
:root[data-skin=projection] .projection-meta .lcdsig i:nth-child(3) { height: 10px !important; }
:root[data-skin=projection] .projection-meta .lcdsig i:nth-child(4) { height: 14px !important; }

.projection-light {
  position: absolute;
  inset: 31% 0 -1px;
  background:
    conic-gradient(from -47deg at var(--emitter) 100%, transparent,
      #ad7bff1a 11deg, #c2a2ff5c 19deg, #829bf726 22deg, #9e8dfe61 39deg,
      #e1d6ffa8 45deg, #aabfff75 48deg, #9fbeff40 51deg, #c99aff78 59deg,
      #a499ff23 66deg, #a082ff47 73deg, #697ce826 79deg, transparent 94deg),
    radial-gradient(ellipse 22% 11% at var(--emitter) 100%, #d2b6ffad, #7d8dda56 25%, transparent);
  mask-image: radial-gradient(ellipse 61% 92% at var(--emitter) 100%, #000 4%, #000c 41%, #0005 72%, transparent 100%);
  pointer-events: none;
  opacity: .42;
  transition: opacity .25s ease;
}
.projection-scene:has(.vmon:not([hidden])) .projection-light { opacity: .95; }
.projection-scene:has(.vmon:not([hidden]))::after {
  content: '';
  position: absolute;
  z-index: 31;
  inset: 46% 0 0;
  pointer-events: none;
  background:
    conic-gradient(from -43deg at var(--emitter) 100%, transparent, #9775da39 7deg, #9294ec14 12deg,
      #9788e663 20deg, #819dff20 28deg, #b8bdff68 36deg, #fcddff92 42deg, #a2b9ff7a 45deg,
      #a19aee23 48deg, #a681ff6b 57deg, #a38bff30 60deg, #a088ee41 69deg, transparent 85deg),
    radial-gradient(ellipse 25% 12% at var(--emitter) 100%, #e7d3ffdc, #9fb4fa8c 21%, transparent 77%);
  mask-image: radial-gradient(ellipse 61% 100% at var(--emitter) 100%, #000 7%, #000a 48%, transparent);
}
.projection-video { position: absolute; inset: 7% 0 1px; }
:root[data-skin=projection] .projection-video .lcdart {
  position: absolute;
  inset: 4% 1% 0;
  display: block;
  height: auto;
  margin: 0;
}
:root[data-skin=projection] .projection-video .lwave {
  --wave-style: projection;
  --wave-idle: .14;
  filter: drop-shadow(0 0 4px #a8baff40);
}
.projection-video:has(.vmon:not([hidden])) .lcdart { visibility: hidden; }
:root[data-skin=projection] .projection-display .airline:not(.chips),
:root[data-skin=projection] .projection-display .airline.chips:not(:has(.unavail > button:not(.qbtn))),
:root[data-skin=projection] .projection-display .airline::before,
.projection-display :is(.airtext, .qbtn) { display: none; }
:root[data-skin=projection] .radio .projection-display .airline.chips {
  position: absolute;
  z-index: 33;
  right: var(--inset);
  bottom: 13%;
  width: auto;
  height: auto;
  max-width: calc(100% - 2 * var(--inset));
}
:root[data-skin=projection] .projection-scene > .howto:not([hidden]) {
  position: absolute;
  z-index: 35;
  inset: 8% var(--inset) 12%;
  margin: 0;
  overflow: auto;
}
.projection-scene:has(.howto:not([hidden])) :is(.projection-video, .projection-light) { visibility: hidden; }
.projection-display .deaf:not([hidden]) { position: absolute; z-index: 34; inset: auto 5% 13%; width: auto; }
.projection-display .txcount { z-index: 34; }

/* The unframed monitor stays the host for both live video and the pager. */
.vmon-projection { display: none; }
:root[data-skin=projection] .projection-video .vmon:not(.big) {
  background: transparent;
  border-radius: 0;
  animation: projection-appear .28s ease-out;
}
@keyframes projection-appear { from { opacity: 0; } }
.projection-video .vmon:not(.big) :is(.vmon-bg, .vmon-lens, .vmon-bar, .vmon-off) { display: none; }
.projection-video .vmon:not(.big) :is(.vmon-rx, .vmon-self, .vmon-projection) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 30%;
}
.projection-video .vmon:not(.big, .projected) :is(.vmon-rx, .vmon-self) {
  mask-image: radial-gradient(ellipse 48% 46% at 50% 45%, #000 38%, #000a 72%, transparent 100%);
  filter: saturate(.76);
}
.projection-video .vmon:not(.big) .vmon-cam { object-fit: contain; object-position: center 38%; }
.projection-video .vmon.projected:not(.big) :is(.vmon-rx, .vmon-self) { opacity: .001; }
.projection-video .vmon.projected:not(.big) .vmon-projection {
  display: block;
  height: 95%;
  object-fit: cover;
  object-position: center 35%;
  mask-image: linear-gradient(transparent, #000 4%, #000 58%, transparent 99%),
    linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
  filter: drop-shadow(-2px 0 2px #9db3fb97) drop-shadow(2px 0 3px #ae81ec8e)
    drop-shadow(0 3px 11px #839ffb52);
}

/* One satin plate with an upward sweep under the right edge. The flat edge
   carries the optical slit. The raised part runs under the live display. */
.projection-deck {
  --lift: clamp(24px, 10cqw, 54px);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  align-items: stretch;
  height: clamp(82px, 24cqw, 132px);
  padding: 0 3.5% 0 4%;
}
.projection-plate {
  position: absolute;
  inset: calc(-1 * var(--lift)) 0 0;
  z-index: -1;
  pointer-events: none;
  clip-path: polygon(0 29%, 57% 29%, 62% 28%, 66% 26%, 70% 22%, 74% 16%, 78% 11%, 82% 6%, 87% 2%, 92% 0, 100% 0, 100% 100%, 0 100%);
  clip-path: shape(from 0 29%, line to 57% 29%, curve to 100% 0 with 76% 29% / 74% 0, line to 100% 100%, line to 0 100%, close);
  background:
    repeating-linear-gradient(116deg, #19121105 0 .5px, transparent 1px 3px),
    radial-gradient(ellipse 72% 90% at 54% 36%, #efe3d779, transparent 75%),
    linear-gradient(110deg, #9b8e83, #b7a99c 28%, #c8b9ac 52%, #ad9e92 100%);
  border-block-end: 1px solid #f2dfc392;
  box-shadow: inset 0 -2px #4a3d34aa;
}
.projection-plate::after {
  content: '';
  position: absolute;
  inset: 29% 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #f6e9dbb0, #e5d5c65e 36%, #ffe5dbea 52%, #e4d3c17a 63%, transparent 76%);
  box-shadow: 0 2px 4px #715d4e44;
}
.projection-aperture {
  position: absolute;
  top: 0;
  left: var(--emitter);
  translate: -50% -50%;
  width: 21%;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, #8a698c41, #d7bbfb, #fff8ff, #becfff, #7e649554);
  box-shadow: 0 -2px 8px #cab6fff5, 0 0 16px 2px #af9cff6f;
  pointer-events: none;
}
.projection-media-strip, .projection-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.projection-media { grid-column: 1 / -1; }
:root[data-skin=projection] .radio .projection-media-key {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  min-height: 48px;
  min-width: 0;
  padding: 3px 1px 6px;
  color: #17141a;
  border: 0;
  background: none;
  box-shadow: none;
  font: 540 clamp(9px, 2.63cqw, 14px)/1.04 var(--font);
  letter-spacing: .09em;
  white-space: nowrap;
}
.projection-media-key .icon svg { width: clamp(19px, 5.6cqw, 29px); height: auto; stroke-width: 1.5; }
.projection-media-key::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 50%;
  max-width: 38px;
  height: 2px;
  border-radius: 3px;
  background: #cef0ff;
  box-shadow: 0 0 6px #e1efff99;
  opacity: 0;
}
.projection-media-key[aria-pressed=true]::after,
.projection-console:has(.vmon:not([hidden])) .projection-media-key.video::after { opacity: 1; }
.projection-media-key:disabled { opacity: .48; }

:root[data-skin=projection] .radio .projection-deck .stage {
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
  filter: drop-shadow(0 3px 3px #17100ad9);
}
:root[data-skin=projection] .radio .projection-deck .ptt-wrap {
  display: block;
  container-type: normal;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
}
/* An inset copy of the key's outline forms the ceramic face inside its rim. */
:root[data-skin=projection] .radio .projection-deck .ptt {
  --key-outline: polygon(0 78%, 3% 60%, 8% 35%, 15% 18%, 22% 11%, 34% 8%, 91% 0, 97% 3%, 100% 12%, 100% 22%, 94% 76%, 90% 91%, 85% 97%, 8% 100%, 2% 96%, 0 89%);
  isolation: isolate;
  position: absolute;
  inset: 0 0 12%;
  width: 100%;
  height: 88%;
  min-height: 0;
  max-width: none;
  margin: 0;
  padding: 2% 7% 0 11%;
  gap: clamp(3px, 1.2cqw, 7px);
  border: 0;
  border-radius: 0;
  clip-path: var(--key-outline);
  background: linear-gradient(157deg, #706a65 4%, #534b49 32%, #dad1c2 36%, #584c47 40%, #211918 76%, #786b61 100%);
  box-shadow: none;
  color: var(--k-text);
  touch-action: none;
  transition: transform .16s ease, background .16s ease;
}
@supports (clip-path: shape(from 0 0, line to 100% 100%, close)) {
  :root[data-skin=projection] .radio .projection-deck .ptt {
    --key-outline: shape(from 7% 100%, curve to 1% 76% with 1% 100% / -1% 89%,
      curve to 24% 10% with 6% 46% / 12% 14%, curve to 92% 0 with 44% 5% / 72% 0,
      curve to 99% 23% with 99% 0 / 101% 10%, curve to 90% 91% with 97% 45% / 94% 78%,
      curve to 82% 100% with 88% 98% / 85% 100%, close);
  }
}
:root[data-skin=projection] .radio .projection-deck .ptt::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 1.5px 2px 3px;
  border: 0;
  border-radius: 0;
  clip-path: var(--key-outline);
  background:
    radial-gradient(ellipse at 50% 8%, #58575c4a, transparent 75%),
    linear-gradient(160deg, #36353a, #222227 47%, #17171b 86%, #212126);
  opacity: 1;
}
:root[data-skin=projection] .radio .projection-deck .ptt::after { display: none; }
:root[data-skin=projection] .radio .projection-deck .ptt:is([data-held], [data-state=transmitting]) {
  transform: translateY(1px);
  background: linear-gradient(160deg, #655e79, #d7cff7 44%, #4b425b 83%);
}
:root[data-skin=projection] .radio .projection-deck .ptt:focus-visible { background: var(--k-acc); }
:root[data-skin=projection] .radio .projection-deck .ptt .icon { filter: none; }
:root[data-skin=projection] .radio .projection-deck .ptt .icon svg { width: clamp(20px, 6.2cqw, 33px); height: auto; stroke-width: 1.5; }
:root[data-skin=projection] .radio .projection-deck .ptt .lbl {
  max-width: 100%;
  font: 530 clamp(9px, 2.8cqw, 15px)/1.1 var(--font);
  letter-spacing: .21em;
  text-align: center;
}
:root[data-skin=projection] .projection-volume { display: flex; gap: 12px; align-items: center; min-height: 44px; }
:root[data-skin=projection] .projection-volume input { flex: 1; min-width: 0; }
:root[data-skin=projection] .projection-console button:focus-visible { outline: 2px solid var(--k-hi); outline-offset: -2px; }

:root[data-skin=projection]:not(.desk) #app.shell > .tabs {
  padding-inline: 3%;
  background: linear-gradient(#0a0a0c, #020203);
  border-top: 1px solid #d6cec62b;
}
:root[data-skin=projection]:not(.desk) #app.shell > .tabs > .tabs-shape { display: none; }
:root[data-skin=projection] #app.shell > .tabs > .tabplus > span {
  color: var(--k-text);
  border-color: #d6cec661;
}
:root[data-skin=projection]:not(.desk) #app.shell > .tabs > .tab { color: #d1cdd0; letter-spacing: .08em; }
:root[data-skin=projection]:not(.desk) #app.shell > .tabs > .tab.active { color: #f4f0ed; background: none; text-shadow: none; }
:root[data-skin=projection]:not(.desk) #app.shell > .tabs > .tab.active > .icon { color: inherit; filter: none; }
:root[data-skin=projection]:not(.desk) #app.shell > .tabs > .tab.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  width: 38px;
  height: 2px;
  border-radius: 3px;
  background: #f4f0eb;
}

.skinpic.sp-projection {
  background: conic-gradient(from -31deg at 47% 76%, #7451b54a, #c2b8ff8c 35deg, #654fa34a 59deg, transparent 67deg),
    linear-gradient(#020203 75%, #c9bbae 76%, #ad9f93 100%);
}
.skinpic.sp-projection i { background: #cfcefa80; box-shadow: 0 0 8px #ccbeffb0; }
.skinpic.sp-projection b { background: #26262b; border-color: #b3a3968c; }

@media (prefers-reduced-motion: reduce) {
  :root[data-skin=projection] .projection-video .vmon:not(.big) { animation: none; }
  .projection-light, :root[data-skin=projection] .radio .projection-deck .ptt { transition: none; }
}

/* The interface colour on the talk key (theme.js): while a colour is
   chosen (:root[data-tint]), its microphone and its words take it (the light shade,
   on its dark face); not while on air (the key's own colours say so).
   In «Original» nothing of it. */
:root[data-tint][data-skin=projection] .radio .projection-deck .ptt:not([data-state=transmitting]) :is(.icon, .lbl) { color: var(--tint-light); }
