/* Canyon artwork is sliced at the seams of the approved mockup. Live controls sit over each slice. */
:root[data-skin=canyon] {
  --k-bg: #211a23;
  --k-scr: #262027;
  --k-text: #f8f3f7;
  --k-dim: #c7bacd;
  --k-digits: #f8f4f8;
  --k-acc: #c690ff;
  --k-hi: #efdcff;
  --k-glow: #a766ef42;
  --k-soft: #b47af22c;
  --k-line: #79657559;
  --k-rx: #b8dfff;
  --k-key: linear-gradient(151deg, #473c48, #2d252f 67%, #241d26);
  --k-keyshadow: inset 0 1px #ad97a050, inset 0 -2px #120e15, 0 2px 3px #120c14;
  --k-font: var(--font);
}

:root[data-skin=canyon] .radio {
  --cn-signal: #bd7cff;
  color: var(--k-text);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  container-type: inline-size;
}
:root[data-skin=canyon] .radio .head {
  --cn-status-inset: env(safe-area-inset-top, 0px);
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  min-height: calc(clamp(52px, 12.54cqw, 65px) + var(--cn-status-inset));
  padding: var(--cn-status-inset) 6% 0;
  background: url(../img/walkies/canyon/header.webp) center / 100% 100% no-repeat;
}

/* iOS draws the indicators. The metal pockets sit behind its status bar. */
@media (display-mode: standalone) and (orientation: portrait),
       (display-mode: fullscreen) and (orientation: portrait) {
  :root[data-skin=canyon] .radio .head {
    --cn-status-pocket-top: clamp(0px, calc(var(--cn-status-inset) * .36 - 6px), 17px);
  }
  :root[data-skin=canyon] .radio .head::before,
  :root[data-skin=canyon] .radio .head::after {
    content: "";
    position: absolute;
    top: var(--cn-status-pocket-top);
    height: clamp(0px, calc(var(--cn-status-inset) - var(--cn-status-pocket-top) - 1px), 34px);
    border-radius: 9px;
    clip-path: inset(0 round 9px);
    background: linear-gradient(180deg, #19131a76, #21192025 72%, #55444e2e);
    box-shadow: inset 0 1px 3px #120d1480, inset 0 -1px #99838e50;
    pointer-events: none;
  }
  :root[data-skin=canyon] .radio .head::before { left: 3.3%; right: 72%; }
  :root[data-skin=canyon] .radio .head::after { left: 72%; right: 3.3%; }
}

:root[data-skin=canyon] .radio .head > .iconbtn {
  position: relative;
  isolation: isolate;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  color: #bca9c4;
  border: 0;
  background: none;
  box-shadow: none;
}
:root[data-skin=canyon] .radio .head > .iconbtn::before,
:root[data-skin=canyon] .radio .head > .iconbtn::after {
  content: "";
  position: absolute;
}
:root[data-skin=canyon] .radio .head > .iconbtn::before {
  inset: 9px 5px;
  z-index: -2;
  border-radius: 7px;
  background: #211a23;
  box-shadow: inset 0 1px 2px #100b118f, 0 1px #9a83964d;
}
:root[data-skin=canyon] .radio .head > .iconbtn::after {
  inset: 10px 6px;
  z-index: -1;
  border-radius: 6px;
  background: linear-gradient(165deg, #443a43, #332b35 65%, #2a232d);
  box-shadow: inset 0 1px #9b88914d, inset 0 -1px #120d15a0;
}
:root[data-skin=canyon] .radio .head > .iconbtn > .icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
  filter: drop-shadow(0 1px #170f1b);
}
:root[data-skin=canyon] .radio .head > .iconbtn:active { transform: none; color: #d8b5eb; }
:root[data-skin=canyon] .radio .head > .iconbtn:active::after { filter: brightness(.83); }
:root[data-skin=canyon] .radio .head .chanbtn { min-height: 44px; }
:root[data-skin=canyon] .radio .head .chanbtn:active { background: transparent; }
:root[data-skin=canyon] .radio .rlogo {
  width: clamp(122px, 36cqw, 174px);
  height: 28px;
  max-width: 100%;
  background: url(../img/walkies/canyon/walkie-mark.svg) center / contain no-repeat;
  filter: none;
}
:root[data-skin=canyon] .rlogo .rlwave,
:root[data-skin=canyon] .rlogo .rlword { display: none; }

/* The sculpted caps are part of the chassis. Only the displays change pages. */
:root[data-skin=canyon] .radio .canyon-preset-panel {
  --cn-cap-height: clamp(43px, 12.1cqw, 60px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: none;
  height: var(--cn-cap-height);
  padding-inline: 8%;
  background: url(../img/walkies/canyon/presets.webp) center / 100% 100% no-repeat;
}
:root[data-skin=canyon] .radio .canyon-preset {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0 5px 12%;
}
:root[data-skin=canyon] .radio .canyon-preset:first-child { padding-right: 14%; }
:root[data-skin=canyon] .radio .canyon-preset:last-child { padding-left: 14%; }
:root[data-skin=canyon] .radio .canyon-preset-screen {
  display: grid;
  place-items: center;
  width: min(85%, 110px);
  min-width: 0;
  height: clamp(22px, 6.55cqw, 32px);
  padding: 3px 6px;
  border: 1px solid #100f12;
  border-bottom-color: #74665f;
  border-radius: 4px;
  color: #bdb29b;
  background: linear-gradient(159deg, #312b29, #1b191a 43%, #262022);
  box-shadow: inset 0 2px 5px #0a080acc, 0 1px 1px #05040570;
}
:root[data-skin=canyon] .radio .canyon-preset.on .canyon-preset-screen {
  color: #ffe3b3;
  background: linear-gradient(159deg, #3e2c27, #251c1b 52%, #2d211e);
}
:root[data-skin=canyon] .radio .canyon-preset.on::after {
  content: "";
  position: absolute;
  inset: auto 25% 7%;
  height: 2px;
  border-radius: 3px;
  background: #c68af7;
  box-shadow: 0 0 6px 1px #a752ef75;
  pointer-events: none;
}
:root[data-skin=canyon] .radio .canyon-pixels {
  display: block;
  width: min(100%, 77px);
  line-height: 0;
}
:root[data-skin=canyon] .radio .canyon-pixels svg {
  display: block;
  width: 100%;
  height: auto;
  shape-rendering: crispEdges;
}
:root[data-skin=canyon] .radio .canyon-preset-text {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 clamp(8px, 2.55cqw, 11px)/1 var(--mono);
}
:root[data-skin=canyon] .radio .canyon-preset-text.add {
  text-align: center;
  white-space: normal;
}
:root[data-skin=canyon] .radio .canyon-preset:focus-visible { outline: none; }
:root[data-skin=canyon] .radio .canyon-preset:focus-visible .canyon-preset-screen { outline: 1px solid #ffe3b3; }
:root[data-skin=canyon] .radio .action:focus-visible { outline-offset: -4px; }

:root[data-skin=canyon] .canyon-body {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 0;
}
:root[data-skin=canyon] .canyon-display {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-width: 0;
  min-height: clamp(210px, 65.13cqw, 335px);
  padding: clamp(17px, 5.7cqw, 31px) 10.8% clamp(20px, 8cqw, 36px);
  background: url(../img/walkies/canyon/display.webp) center / 100% 100% no-repeat;
}
:root[data-skin=canyon] .canyon-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  min-height: 27px;
  margin: 0 1px;
}
:root[data-skin=canyon] .canyon-status .airline { flex: 1 1 auto; width: auto; min-width: 0; height: auto; min-height: 27px; }
:root[data-skin=canyon] .canyon-status .airline::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cn-signal);
  -webkit-mask: none;
  mask: none;
}
:root[data-skin=canyon] .canyon-status .airline .wstatus {
  font: 500 12px/1.25 var(--mono);
  font-size: clamp(10px, 3.1cqw, 14px);
  letter-spacing: 0;
  text-transform: none;
  color: #e3c9f7;
}
:root[data-skin=canyon] .canyon-status .airline .airtext { white-space: normal; }
:root[data-skin=canyon] .canyon-status .airline .btn.small {
  height: 27px;
  font-size: 10px;
  padding-inline: 5px;
}
:root[data-skin=canyon] .canyon-status .lcdright { margin-left: auto; gap: 6px; }
:root[data-skin=canyon] .canyon-status .lcdsig { gap: 3px; }
:root[data-skin=canyon] .canyon-status .lcdsig i { width: 4px; }
:root[data-skin=canyon] .canyon-status .lcdsig i.on { background: #d3b8f7; box-shadow: none; }
:root[data-skin=canyon] .canyon-status .lamp { display: none; }
:root[data-skin=canyon] .canyon-status .lamp:is(.rx, .tx) {
  display: inline-block;
  color: var(--cn-signal);
  background: #1e1626;
  border: 1px solid currentColor;
  border-radius: 4px;
  padding-inline: 4px;
  font: 600 9px/15px var(--mono);
  box-shadow: none;
}
:root[data-skin=canyon] .radio .canyon-display .lcdbox {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}
:root[data-skin=canyon] .canyon-display .lcd { width: 100%; }
:root[data-skin=canyon] .canyon-readout {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: clamp(12px, 5.4cqw, 27px) 0 0;
}
:root[data-skin=canyon] .canyon-readout .lcdfreq {
  min-width: 0;
  margin: 0;
  height: auto;
  font: 750 clamp(31px, 11.6vw, 61px)/1.08 var(--font);
  font-size: clamp(31px, 11.6cqw, 61px);
  font-variant-numeric: tabular-nums;
  letter-spacing: -.028em;
  text-shadow: none;
}
:root[data-skin=canyon] .canyon-readout .lcdfreq.word {
  font-size: 28px;
  font-size: clamp(24px, 8cqw, 36px);
}
:root[data-skin=canyon] .canyon-unit {
  color: #d6c3eb;
  font: 600 15px/1 var(--font);
  font-size: clamp(11px, 4cqw, 17px);
}
:root[data-skin=canyon] .canyon-display .lcdbox > .lcdbot {
  order: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  height: auto;
  min-height: 0;
  gap: 4px 8px;
  font: 500 11px/1.35 var(--mono);
  font-size: clamp(10px, 3cqw, 12px);
  white-space: normal;
  overflow: visible;
}
:root[data-skin=canyon] .canyon-display .lcdhere {
  text-transform: none;
  letter-spacing: 0;
  color: #d3c4dd;
}
:root[data-skin=canyon] .canyon-display:has(.people:not([hidden])) .lcdhere { display: none; }
:root[data-skin=canyon] .canyon-display .lcdbot:not(:has(> :not(.lcdhere))) { display: none; }
:root[data-skin=canyon] .canyon-display .lcdbox > .deaf { order: 3; }
:root[data-skin=canyon] .canyon-display .lcdart {
  order: 2;
  height: clamp(45px, 14cqw, 72px);
  margin: 6px -4px 0;
  padding-bottom: 9px;
  background:
    repeating-linear-gradient(90deg, #d9c1e3a0 0 1px, transparent 1px 32px) center bottom / calc(100% - 16px) 7px no-repeat,
    repeating-linear-gradient(90deg, #d3badd4f 0 1px, transparent 1px 8px) center bottom / calc(100% - 16px) 4px no-repeat;
}
:root[data-skin=canyon] .canyon-display .lwave {
  --wave-style: ribbon;
  --wave-idle: .96;
  color: #cbb0ed;
  filter: none;
}
:root[data-skin=canyon] .radio[data-air=rx] .lwave { color: var(--k-rx); filter: drop-shadow(0 0 3px #a9d7ff55); }
:root[data-skin=canyon] .radio[data-air=tx] .lwave { color: var(--k-hi); }

:root[data-skin=canyon] .radio .canyon-display .people {
  justify-content: center;
  flex-wrap: wrap;
  height: auto;
  min-height: 34px;
  margin: clamp(6px, 1.8cqw, 9px) 7.8% 0;
  padding: 0;
  gap: 4px 7px;
  background: none;
  border: 0;
  box-shadow: none;
}
:root[data-skin=canyon] .canyon-display .people .pstrip {
  flex: 0 1 auto;
  justify-content: center;
  height: 34px;
  max-width: 100%;
  font: 500 12px/1.2 var(--mono);
  font-size: clamp(10px, 3.1cqw, 13px);
  color: #e1d5e8;
}
:root[data-skin=canyon] .canyon-display .people:has(.pcall) { flex-wrap: nowrap; }
:root[data-skin=canyon] .canyon-display .people:has(.pcall) .pstrip {
  flex: 0 1 auto;
  height: auto;
  min-height: 28px;
  gap: 5px;
  font-size: clamp(9px, 2.8cqw, 12px);
}
:root[data-skin=canyon] .canyon-display .people:has(.pcall) .pstrip > .icon { flex: none; }
:root[data-skin=canyon] .canyon-display .people:has(.pcall) .plabel { white-space: normal; }
:root[data-skin=canyon] .canyon-display .people .pcall {
  height: 29px;
  padding-inline: 8px;
  gap: 4px;
  font-size: clamp(10px, 2.8cqw, 12px);
}
:root[data-skin=canyon] .canyon-display .people .pcall .icon svg { width: 13px; height: 13px; }
:root[data-skin=canyon] .canyon-display .paway { height: 27px; }
:root[data-skin=canyon] .canyon-display .pawaycall { width: 27px; }
:root[data-skin=canyon] .canyon-display .pface {
  border: 1px solid #a89ba7;
  border-radius: 6px;
  width: 33px !important;
  height: 23px !important;
  margin: 0 6px 0 0;
  color: #eee3f0;
  background: #251e28;
  box-shadow: none;
}
:root[data-skin=canyon] .canyon-mode {
  min-width: 0;
  padding: 0 11%;
  text-align: center;
  overflow-wrap: anywhere;
  font-size: 9px;
  line-height: 1.25;
  color: #b9a8c0;
}
:root[data-skin=canyon] .canyon-mode .lcdmode { white-space: normal; }

:root[data-skin=canyon] .radio .canyon-body .stage {
  --cn-stage-height: clamp(145px, 60.51cqw, 304px);
  position: relative;
  isolation: isolate;
  flex: 0 0 auto;
  min-height: var(--cn-stage-height);
  justify-content: center;
  padding: 0;
  gap: 0;
  background: url(../img/walkies/canyon/stage.webp) center top / 100% var(--cn-stage-height) no-repeat;
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow {
  --cn-arrow-inset: clamp(5px, 3.8cqw, 19px);
  position: absolute;
  inset-block-end: calc(clamp(7px, 2.35cqw, 12px) - 22px);
  inset-inline-start: var(--cn-arrow-inset);
  z-index: 2;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(44px, 11cqw, 54px);
  height: 44px;
  color: #221a22;
  touch-action: manipulation;
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow.next {
  inset-inline-start: auto;
  inset-inline-end: var(--cn-arrow-inset);
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow::before,
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow::after {
  content: "";
  position: absolute;
  inset: 6px 7px;
  border-radius: 9px;
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow::before {
  z-index: -2;
  background: linear-gradient(155deg, #160f17, #241a24 76%, #67545d);
  box-shadow: inset 0 1px 2px #100b11cc, 0 1px #a68d9c44;
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow::after {
  inset: 8px 9px;
  z-index: -1;
  border-radius: 7px;
  background: radial-gradient(ellipse at 27% 0, #77657166, transparent 74%),
    linear-gradient(155deg, #4c3e48, #40333e 56%, #302630);
  box-shadow: inset 0 1px #b69d9f66, inset 0 -2px 3px #1d151d8c, 0 1px 2px #140e16;
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow > .icon {
  filter: drop-shadow(0 -1px #150e16d9) drop-shadow(0 1px #c4adb19c);
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow[aria-disabled=false] {
  color: #dab0ff;
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow[aria-disabled=false] > .icon {
  filter: drop-shadow(0 0 2px #c287ffb3) drop-shadow(0 0 5px #a363e680);
}
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow.prev svg { transform: rotate(180deg); }
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow[aria-disabled=true] { cursor: default; }
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow[aria-disabled=true] > .icon { opacity: .65; }
:root[data-skin=canyon] .radio .canyon-display .canyon-page-arrow:not([aria-disabled=true]):active::after { filter: brightness(.83); }
:root[data-skin=canyon] .radio :is(.head > .iconbtn, .canyon-page-arrow):focus-visible { outline: none; }
:root[data-skin=canyon] .radio :is(.head > .iconbtn, .canyon-page-arrow):focus-visible::before {
  outline: 1px solid #e7cce6;
  outline-offset: 2px;
}
:root[data-skin=canyon] .radio .canyon-body .ptt-wrap {
  --cn-underlight-opacity: 0;
  --cn-key-light: #a859ed;
  --cn-key-light-opacity: .56;
  flex: 0 0 auto;
  min-height: 0;
  max-height: none;
  height: var(--cn-stage-height);
  align-items: start;
  container-type: normal;
}
:root[data-skin=canyon] .radio .stage .ptt[data-state] {
  isolation: isolate;
  width: 82.6%;
  max-width: none;
  height: 85%;
  min-height: 0;
  margin-top: 3%;
  padding: 0 8% 3%;
  border: 0;
  border-radius: 0;
  clip-path: polygon(15% 0, 85% 0, 100% 39%, 100% 49%, 88% 93%, 84% 100%, 16% 100%, 12% 93%, 0 49%, 0 39%);
  background: transparent;
  box-shadow: none;
  color: #f6f1f7;
  transform: none;
  gap: clamp(4px, 2cqw, 9px);
  transition: background-color .13s ease-out;
}
:root[data-skin=canyon] .radio .stage .ptt::before { content: none; }
:root[data-skin=canyon] .radio .stage .canyon-key-light {
  /* The asset feathers the shadow of the cap into the lit recess. */
  position: absolute;
  inset: 0;
  background: url(../img/walkies/canyon/key-light.svg) center / 100% 100% no-repeat;
  mix-blend-mode: screen;
  opacity: var(--cn-underlight-opacity);
  pointer-events: none;
  transition: opacity 145ms ease-out;
}
:root[data-skin=canyon] .radio .stage .ptt-wrap::after {
  content: "";
  position: absolute;
  inset: auto 29% 11.3%;
  height: 4px;
  transform: translateY(50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, #fff3ff 0%, var(--cn-key-light) 42%, transparent 75%);
  filter: drop-shadow(0 0 4px var(--cn-key-light));
  opacity: var(--cn-key-light-opacity);
  pointer-events: none;
  transition: opacity 160ms ease-out, filter 160ms ease-out;
}
:root[data-skin=canyon] .radio .stage .ptt-wrap:has(.ptt[data-state=transmitting]) {
  --cn-underlight-opacity: .96;
  --cn-key-light-opacity: 0;
}
:root[data-skin=canyon]:not(.eco) .radio .stage .ptt-wrap:has(.ptt[data-state=transmitting]) .canyon-key-light {
  animation: canyon-underlight-breathe 3.4s ease-in-out infinite;
}
@keyframes canyon-underlight-breathe {
  50% { opacity: .72; }
}
:root[data-skin=canyon] .radio .stage .ptt-wrap:has(.ptt[data-state=receiving]) {
  --cn-key-light: #93caf7;
  --cn-key-light-opacity: .7;
}
:root[data-skin=canyon] .radio .stage .ptt-wrap:has(.ptt[data-state=busy]) { --cn-key-light: #ff9a87; }
:root[data-skin=canyon] .radio .stage .ptt-wrap:has(.ptt:is([data-state=unavailable], [data-state=connecting])) { --cn-key-light-opacity: .2; }
:root[data-skin=canyon] .radio[data-air=rx] { --cn-signal: #b8dfff; }
:root[data-skin=canyon] .radio[data-air=tx] { --cn-signal: #edcfff; }
:root[data-skin=canyon] .radio .ptt[data-state] .icon { color: #f6f1f7; filter: none; }
:root[data-skin=canyon] .radio .ptt .icon svg {
  width: 47px;
  height: 47px;
  width: clamp(35px, 13cqw, 60px);
  height: clamp(35px, 13cqw, 60px);
}
:root[data-skin=canyon] .radio .ptt .canyon-key-icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  height: clamp(35px, 13cqw, 60px);
}
:root[data-skin=canyon] .radio .ptt .canyon-key-mic {
  --cn-mic-ink: #242026;
  --cn-mic-edge: #cbbdc471;
  --cn-mic-spill: transparent;
  --cn-mic-halo: transparent;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: clamp(35px, 13cqw, 60px);
  height: 100%;
  color: var(--cn-mic-ink);
  filter: drop-shadow(0 -1px 0 #100b11bd) drop-shadow(0 1px 0 var(--cn-mic-edge))
    drop-shadow(0 0 4px var(--cn-mic-halo));
}
:root[data-skin=canyon] .radio .ptt .canyon-key-mic::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -22% -26%;
  background: radial-gradient(ellipse, var(--cn-mic-spill), transparent 68%);
  pointer-events: none;
}
:root[data-skin=canyon] .radio .ptt .canyon-key-mic .icon { color: inherit; }
:root[data-skin=canyon] .radio .ptt .canyon-key-mic svg rect {
  fill: currentColor;
}
:root[data-skin=canyon] .radio .ptt[data-state=transmitting] .canyon-key-mic {
  --cn-mic-ink: #ffe0d8;
  --cn-mic-edge: #f9a9aa;
  --cn-mic-spill: #e879886e;
  --cn-mic-halo: #e990a3a6;
}
:root[data-skin=canyon] .radio .ptt .canyon-key-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: none;
  width: clamp(138px, 47cqw, 210px);
  max-width: 100%;
  height: clamp(36px, 10cqw, 45px);
  padding: 3px 8px;
  border: 1px solid #655b64;
  border-top-color: #100d12;
  border-radius: 7px;
  background: linear-gradient(166deg, #302930 0%, #1c161e 48%, #181419 100%);
  box-shadow: inset 0 2px 4px #08060bba, 0 1px #e3c7d325;
}
:root[data-skin=canyon] .radio .ptt .canyon-key-screen .lbl {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  max-width: none;
  color: #eee0ee;
  font: 600 clamp(10px, 2.95cqw, 14px)/1.15 var(--mono);
  letter-spacing: .085em;
}
:root[data-skin=canyon] .radio .ptt .canyon-key-screen:has(.lsub) .lbl { -webkit-line-clamp: 1; }
:root[data-skin=canyon] .radio .ptt .canyon-key-screen .lsub {
  color: var(--k-rx);
  font: 500 9px/1 var(--mono);
  letter-spacing: .05em;
}
:root[data-skin=canyon] .radio .ptt[data-state=transmitting] .canyon-key-screen .lbl {
  color: #f4c8d0;
  text-shadow: 0 0 6px #dc8c9b55;
}
:root[data-skin=canyon] .radio .ptt .pttface {
  width: clamp(28px, 10cqw, 50px) !important;
  height: clamp(28px, 10cqw, 50px) !important;
  animation: none;
}
:root[data-skin=canyon] .radio .stage .hint-line {
  position: absolute;
  z-index: 1;
  inset: var(--cn-stage-height) 10px auto;
  transform: translateY(-100%);
  font: 500 10px/1.3 var(--font);
  min-height: 0;
  padding-inline: 16px;
  text-align: center;
  color: var(--k-dim);
}
:root[data-skin=canyon] .radio .stage .hint-line:empty { display: none; }
/* The empty walkie: the help card gives way to the big button (as in
   css/app.css), and the display, with no number to show, takes the height
   it takes on a short phone, so the card keeps its title and first line. */
:root[data-skin=canyon] .canyon-body:has(> .howto:not([hidden])) { flex-shrink: 1; }
:root[data-skin=canyon] .canyon-body:has(> .howto:not([hidden])) > .canyon-display {
  flex: 0 0 auto;
  min-height: 0;
  padding-top: 14px;
  padding-bottom: 24px;
}
:root[data-skin=canyon] .canyon-body:has(> .howto:not([hidden])) .lcdart { height: 40px; }
:root[data-skin=canyon] .radio .canyon-body > .howto:not([hidden]) {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
:root[data-skin=canyon] .radio .canyon-body > .howto::-webkit-scrollbar { display: none; }
:root[data-skin=canyon] .radio .ptt:focus-visible {
  background-color: #cf9aff1a;
  outline: 0;
}

:root[data-skin=canyon] .radio .actions {
  display: grid;
  grid-template-columns: 184fr 166fr 162fr 163fr 186fr;
  gap: 0;
  margin: 0;
  padding: 0 2.6% 1.5%;
  border: 0;
  border-radius: 0;
  background: url(../img/walkies/canyon/actions.webp) center / 100% 100% no-repeat;
  box-shadow: none;
}
:root[data-skin=canyon] .radio .action {
  position: relative;
  isolation: isolate;
  width: auto;
  height: clamp(54px, 20.6cqw, 95px);
  min-width: 0;
  gap: 5px;
  border: 0;
  border-radius: 0;
  color: #f0e8f2;
  background: transparent;
  box-shadow: none;
  font: 500 clamp(10px, 2.95cqw, 14px)/1.14 var(--font);
}
:root[data-skin=canyon] .radio .action:first-child { border-radius: 15px 0 0 15px; }
:root[data-skin=canyon] .radio .action:last-child { border-radius: 0 15px 15px 0; }
:root[data-skin=canyon] .radio .action .iconbtn { color: inherit; }
:root[data-skin=canyon] .radio .action .icon svg { width: 25px; height: 25px; }
:root[data-skin=canyon] .radio .action.on { color: var(--k-hi); box-shadow: none; }
/* The key faces end at y=165 of the 201px artwork, above its lower lip.
   The button is shorter than the artwork by the row's 1.5cqw bottom padding. */
:root[data-skin=canyon] .radio .action.on::before {
  content: "";
  position: absolute;
  inset: 4.4% 1px calc(17.91% - 1.23cqw + 1px);
  z-index: -1;
  background: #a968dc1c;
  pointer-events: none;
}
:root[data-skin=canyon] .radio .action.on:first-child::before { border-radius: 3.1cqw 0 0 3.1cqw / 16% 0 0 16%; }
:root[data-skin=canyon] .radio .action.on:last-child::before { border-radius: 0 3.1cqw 3.1cqw 0 / 0 16% 16% 0; }
:root[data-skin=canyon] .radio .action.off { color: #ffb1a4; }
:root[data-skin=canyon] .radio .action .actlbl { white-space: normal; overflow-wrap: anywhere; }

.skinpic.sp-canyon {
  background: url(../img/walkies/canyon/display.webp) center top / 100% 51.84% no-repeat,
    url(../img/walkies/canyon/stage.webp) center bottom / 100% 48.16% no-repeat;
}
.skinpic.sp-canyon :is(i, b) { display: none; }

@media (max-height: 740px) {
  :root[data-skin=canyon] .radio .canyon-preset-panel { --cn-cap-height: 43px; }
  :root[data-skin=canyon] .canyon-display { min-height: 0; padding-top: 14px; padding-bottom: 24px; }
  :root[data-skin=canyon] .canyon-display .lcdart { height: 40px; }
  :root[data-skin=canyon] .radio .action { height: 60px; }
}
@media (max-height: 650px) {
  :root[data-skin=canyon] .radio .canyon-body .stage { --cn-stage-height: 154px; }
  :root[data-skin=canyon] .radio .stage .ptt[data-state] { margin-top: 9px; }
  :root[data-skin=canyon] .radio .ptt .canyon-key-icon { height: 34px; }
  :root[data-skin=canyon] .radio .ptt .canyon-key-mic { width: 34px; }
  :root[data-skin=canyon] .radio .ptt .canyon-key-icon .icon svg { width: 34px; height: 34px; }
  :root[data-skin=canyon] .canyon-readout { margin-top: 9px; }
  :root[data-skin=canyon] .radio .action .icon svg { width: 22px; height: 22px; }
}
:root[data-skin=canyon].eco .radio .stage :is(.ptt, .ptt > *),
:root[data-skin=canyon].eco .radio .stage .canyon-key-light,
:root[data-skin=canyon].eco .radio .stage .ptt-wrap::after { transition: none; }
@media (prefers-reduced-motion: reduce) {
  :root[data-skin=canyon]:not(.eco) .radio .stage .ptt-wrap:has(.ptt[data-state=transmitting]) .canyon-key-light { animation: none; }
  :root[data-skin=canyon] .radio .stage :is(.ptt, .ptt > *),
  :root[data-skin=canyon] .radio .stage .canyon-key-light,
  :root[data-skin=canyon] .radio .stage .ptt-wrap::after { transition: none; }
}

/* ---------------------------------------------------------- the pager on the display (pager.js)
   Canyon's place for the kit's pager (css/walkies.css): the display turns
   over to it, its status, number, people and mode give way; the arrows under
   the glass go through the messages. A new page shows over the number as a
   running line, the key's light blinks. */
:root[data-skin=canyon] .canyon-display.paging > :is(.canyon-status, .lcdbox, .people, .canyon-mode) { display: none; }
:root[data-skin=canyon] .canyon-body:has(> .canyon-display.paging) > .howto { display: none; }
:root[data-skin=canyon] .canyon-body:has(> .canyon-display.paging) > .canyon-display.paging {
  flex: 1 0 auto;
  min-height: clamp(270px, 76cqw, 360px);
}
/* Two taps on «Pager»: a big pager (pager.js pagerTap) — the display 1.4
   times as tall. Its picture is stretched as it always is, so the glass,
   the pager on it and the keys in its foot (all in its own measure) keep
   their places. */
/* The pager stays on the glass: display.webp's screen runs straight down
   to about 63 % of its height, then narrows to its foot at 90 %. The pager
   fills the straight part (to 71 %, where the glass is still wider than
   it; whatever would not fit is cut on the glass, never over the frame),
   and its keys stand in the narrowing foot, shaped to it (.pgr-keys). */
:root[data-skin=canyon] .canyon-display.paging > .pgr {
  position: absolute;
  inset: 6% 10.8% 29%;
  overflow: hidden;
}
/* The keys in the glass's foot. display.webp, measured along the dark
   groove between the glass and its rim: straight sides to 66 % of its
   height, then a chamfer from 7.9 % of its width at 74 % to 19.6 % at 90 %
   (3 % across for every 4 % down, both sides alike), the foot's floor at
   91.7 %. The keys keep 1.5 % in from the groove, between 74.5 % and
   89.5 %; their slanted sides are that chamfer moved in, so they run
   parallel to the glass at any height of the display (it is stretched as
   its picture is). The line over them stands at the chamfer's start. */
:root[data-skin=canyon] .canyon-display {
  --pgr-line-top: 73.6%;
  --pgr-line-x: 9.5%;
  --pgr-div-top: 76.5%;
  --pgr-div-bottom: 12%;
  --pgr-keys-top: 74.5%;
  --pgr-keys-h: 15%;
}
/* left: from the chamfer (9.8 % at the top, 21.0 % at the bottom) to the
   middle; right: the same, mirrored; w: both. The words sit over the middle
   of the shape, not of its box. */
:root[data-skin=canyon] .pgr-key.l { left: 9.8%; width: 39.7%; padding-left: 5.6%; clip-path: polygon(0 0, 100% 0, 100% 100%, 28.2% 100%); }
:root[data-skin=canyon] .pgr-key.r { right: 9.8%; width: 39.7%; padding-right: 5.6%; clip-path: polygon(0 0, 100% 0, 71.8% 100%, 0 100%); }
:root[data-skin=canyon] .pgr-key.w { left: 9.8%; width: 80.4%; clip-path: polygon(0 0, 100% 0, 86.1% 100%, 13.9% 100%); }
/* a new page over the number, under the status line */
:root[data-skin=canyon] .pgr-pop {
  left: 10.8%;
  right: 10.8%;
  top: calc(clamp(17px, 5.7cqw, 31px) + 34px);
  min-height: clamp(86px, 26cqw, 116px);
}
/* the key's light blinks for a new page */
:root[data-skin=canyon] .radio .stage .ptt-wrap.paged .canyon-key-light { animation: pgr-blink 1.4s ease-out; }
@keyframes pgr-blink { 0%, 30%, 60% { opacity: 1; filter: drop-shadow(0 0 8px #c690ff); } 15%, 45%, 100% { opacity: var(--cn-key-light-opacity); } }
:root[data-skin=canyon].eco .radio .stage .ptt-wrap.paged .canyon-key-light { animation: none; }
@media (prefers-reduced-motion: reduce) {
  :root[data-skin=canyon] .radio .stage .ptt-wrap.paged .canyon-key-light { animation: none; }
}

/* The interface colour on the talk key (theme.js): while a colour is
   chosen (:root[data-tint]), its words take it (the light shade,
   on its graphite face); not while on air (the key's own colours say so).
   In «Original» nothing of it. */
:root[data-tint][data-skin=canyon] .radio .ptt:not([data-state=transmitting]) .lbl { color: var(--tint-light); } /* the microphone stays engraved */
/* …and a soft rim of it round the key, in the cap's own shape (the
   underlight's picture as a mask, lit in the colour), at rest too. */
:root[data-tint][data-skin=canyon] .radio .stage .canyon-key-light {
  background: var(--tint-vivid);
  -webkit-mask: url(../img/walkies/canyon/key-light.svg) center / 100% 100% no-repeat;
  mask: url(../img/walkies/canyon/key-light.svg) center / 100% 100% no-repeat;
}
:root[data-tint][data-skin=canyon] .radio .stage .ptt-wrap:not(:has(.ptt[data-state=transmitting])) { --cn-underlight-opacity: .62; }
