/* Forge's six artwork plates meet at the original chassis seams. */
:root[data-skin=forge] {
  --k-bg: #040506;
  --k-scr: #080c10;
  --k-text: #f1f4f6;
  --k-dim: #a9b8c0;
  --k-digits: #d9f4ff;
  --k-acc: #ffc467;
  --k-hi: #fff0cc;
  --k-rx: #b2e3fc;
  --k-glow: #ffa54760;
  --k-soft: #ffa54727;
  --k-line: #3c4a54;
}

:root[data-skin=forge] .radio {
  container-type: size;
  overflow: hidden auto;
  scrollbar-width: none;
  color: var(--k-text);
  --fg-v: clamp(.84cqw, .4596cqh, 1cqw);
}
:root[data-skin=forge] .radio .head {
  position: relative;
  display: block;
  height: max(calc(29.6 * var(--fg-v)), calc(env(safe-area-inset-top, 0px) + 49px));
  padding: 0;
  background: url(../img/walkies/forge/head.webp) center / 100% 100% no-repeat;
}
:root[data-skin=forge] .radio .head > :is(.iconbtn, .chanbtn) {
  position: absolute;
  top: 74%;
  left: 50%;
  translate: -50% -50%;
  display: grid;
  place-items: center;
  width: 14%;
  height: 34%;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: var(--k-text);
  background: none;
  box-shadow: none;
}
:root[data-skin=forge] .radio .head > .iconbtn:first-child { left: 14%; }
:root[data-skin=forge] .radio .head > .iconbtn:last-child { left: 87%; }
:root[data-skin=forge] .radio .head > .chanbtn { top: 68%; width: 36%; height: 49%; }
:root[data-skin=forge] .radio .head .rlogo { display: none; }
:root[data-skin=forge] .radio .head .icon svg { width: clamp(17px, 5cqw, 25px); height: auto; }

:root[data-skin=forge] .forge-meter {
  position: relative;
  display: block;
  flex: none;
  height: calc(23.65 * var(--fg-v));
  min-height: 64px;
  background: url(../img/walkies/forge/meter.webp) center / 100% 100% no-repeat;
}
:root[data-skin=forge] .forge-meter :is(.knobwrap, .kmeter) {
  position: absolute;
  top: 0;
  bottom: 0;
}
:root[data-skin=forge] .forge-meter .knobwrap { width: 15%; left: 8.7%; }
:root[data-skin=forge] .forge-meter .knobwrap:last-child { left: 78%; }
:root[data-skin=forge] .forge-meter .knob {
  position: absolute;
  top: 40.5%;
  translate: 0 -50%;
  width: 90%;
  height: 59%;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
}
:root[data-skin=forge] .forge-meter .knob::before,
:root[data-skin=forge] .forge-meter .knob::after,
:root[data-skin=forge] .forge-meter :is(.knob-name, .knob-ring),
:root[data-skin=forge] .forge-meter .kmeter::after { display: none; }
:root[data-skin=forge] .forge-meter .knob-top {
  position: absolute;
  inset: 13%;
  width: auto;
  height: auto;
  border: 0;
  background: none;
  box-shadow: none;
}
:root[data-skin=forge] .forge-meter .knob-mark {
  top: 2%;
  left: calc(50% - 1px);
  width: 2px;
  height: 16%;
  margin-left: 0;
  border-radius: 2px;
  background: #ffe0a6;
  box-shadow: 0 0 4px #ffb458a8;
}
:root[data-skin=forge] .forge-meter .kmeter {
  inset: 16% 28.3% 18% 29.2%;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: hidden;
}
:root[data-skin=forge] .forge-meter .km-face { display: block; width: 100%; height: 100%; }
:root[data-skin=forge] .forge-meter .knob:focus-visible { outline: 2px solid #ffe0a6; outline-offset: 0; }
:root[data-skin=forge] .forge-meter .km-needle-l { stroke: #ffe2a4; stroke-width: 1.4; filter: drop-shadow(0 0 3px #ffb554); }
:root[data-skin=forge] .forge-meter .km-cap { font: 500 15px var(--font); letter-spacing: .07em; fill: #eff0ee; }
:root[data-skin=forge] .forge-meter .km-cap.says { font-size: 13px; fill: #ffe0a6; }

:root[data-skin=forge] .forge-presets {
  display: flex;
  flex: none;
  height: max(44px, calc(12.18 * var(--fg-v)));
  padding: 0 5.2% 0 6.7%;
  gap: 2%;
  background: url(../img/walkies/forge/presets.webp) center / 100% 100% no-repeat;
}
:root[data-skin=forge] .forge-preset-panel {
  display: grid;
  grid-template-columns: 1.055fr 1fr 1fr;
  flex: 1;
  gap: 1.5%;
  min-width: 0;
}
:root[data-skin=forge] .forge-preset, :root[data-skin=forge] .forge-add {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0 5px 2px;
  border-radius: 8px;
  color: #acadb0;
}
:root[data-skin=forge] .forge-add { width: max(34px, 10%); padding-inline: 0; color: var(--k-text); }
:root[data-skin=forge] .forge-preset-screen { display: block; max-width: 100%; min-width: 0; }
:root[data-skin=forge] .forge-preset-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 600 clamp(12px, 3.9cqw, 19px)/1 var(--k-digit-font);
  font-variant-numeric: tabular-nums;
}
:root[data-skin=forge] .forge-preset[aria-pressed=true] { color: #ffde89; text-shadow: 0 0 8px #ffc15b66; }
:root[data-skin=forge] .forge-preset[aria-pressed=true]::after {
  content: "";
  position: absolute;
  inset: auto 12% 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff9a33, #fff0b2, #ff9a33, transparent);
  box-shadow: 0 0 8px #ffc15c;
}

:root[data-skin=forge] .forge-display {
  position: relative;
  display: grid;
  align-content: start;
  flex: none;
  min-height: calc(56.66 * var(--fg-v));
  padding: 3.9cqw 10.8% 2.4cqw;
  background: url(../img/walkies/forge/display.webp) center / 100% 100% no-repeat;
}
:root[data-skin=forge] .forge-display-top {
  display: flex;
  align-items: center;
  min-width: 0;
  height: calc(7.25 * var(--fg-v));
  min-height: 44px;
  gap: clamp(4px, 1.2cqw, 7px);
  color: #d1e5ed;
}
:root[data-skin=forge] .forge-display-top > .icon { color: var(--k-rx); }
:root[data-skin=forge] .forge-display-top > .icon svg { width: clamp(16px, 5.3cqw, 29px); height: auto; }
:root[data-skin=forge] .forge-channel {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 500 clamp(10px, 2.65cqw, 14px)/1.2 var(--font);
  letter-spacing: .035em;
}
:root[data-skin=forge] .forge-media {
  position: relative;
  z-index: 31;
  display: flex;
  flex: none;
  gap: 2px;
}
:root[data-skin=forge] .forge-media-key {
  position: relative;
  isolation: isolate;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1px;
  width: max(44px, 12cqw);
  min-height: 44px;
  padding: 0;
  color: #bfdae6;
}
:root[data-skin=forge] .forge-media-key::before {
  content: "";
  position: absolute;
  inset: 5px 1px;
  z-index: -1;
  border: 1px solid #46616e;
  border-radius: 6px;
  background: linear-gradient(180deg, #1a2b33, #0e1a22);
}
:root[data-skin=forge] .forge-media-glyph { display: grid; place-items: center; }
:root[data-skin=forge] .forge-media-state {
  font: 600 clamp(8px, 2.05cqw, 11px)/1 var(--font);
  white-space: nowrap;
}
:root[data-skin=forge] .forge-media-key.unavailable { color: #9aadb7; }
:root[data-skin=forge] .forge-media-key[aria-pressed=true] { color: #ffdb91; }
:root[data-skin=forge] .forge-media-key[aria-pressed=true]::before { border-color: #a27843; background: #302415; }
:root[data-skin=forge] .forge-media-key.video[aria-pressed=true] { color: #ffc0ac; }
:root[data-skin=forge] .forge-media-key.video[aria-pressed=true]::before { border-color: #bd705e; background: #39201e; }
:root[data-skin=forge] .forge-display:has(> .vmon:not([hidden])) .forge-media {
  position: absolute;
  inset: 4% auto auto 9%;
}
:root[data-skin=forge] .forge-count-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 38px;
  min-height: 30px;
  font-size: clamp(10px, 2.6cqw, 14px);
}
:root[data-skin=forge] .forge-display .lcdright { gap: 4px; }
:root[data-skin=forge] .forge-display .lcdsig { height: 18px; gap: 2px; }
:root[data-skin=forge] .forge-display .lcdsig i { width: 3px; }
:root[data-skin=forge] .forge-display .lcdsig i:nth-child(4) { height: 18px !important; }
:root[data-skin=forge] .forge-display .lcdsig i.on { background: #bce6fa; box-shadow: 0 0 4px #9bcde87a; }
:root[data-skin=forge] .forge-display .lamp { font-size: 9px; padding-inline: 3px; }
:root[data-skin=forge] .forge-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=forge] .forge-display .lcd { padding: 0; }
:root[data-skin=forge] .forge-readout {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2.1cqw;
  padding: 0 3% calc(1.4 * var(--fg-v)) 0;
}
:root[data-skin=forge] .forge-readout .lcdfreq {
  min-width: 0;
  height: auto;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--k-digits);
  font: italic 600 clamp(29px, 10.8cqw, 52px)/1.13 var(--k-digit-font);
  letter-spacing: .015em;
  text-shadow: 0 0 13px #83c9f780;
}
:root[data-skin=forge] .forge-readout .lcdfreq.word { font-size: clamp(21px, 7.25cqw, 34px); }
:root[data-skin=forge] .forge-unit { flex: none; color: #d5e8f1; font: 500 clamp(12px, 3.3cqw, 16px)/1 var(--font); }
:root[data-skin=forge] .forge-display .lcdart {
  position: relative;
  inset: auto;
  display: block;
  height: max(40px, calc(15.2 * var(--fg-v)));
  margin: 0 -3%;
  clip-path: polygon(2% 0, 98% 0, 100% 12%, 100% 88%, 98% 100%, 2% 100%, 0 88%, 0 12%);
  background: repeating-linear-gradient(90deg, #a4d5e617 0 1px, transparent 1px 11px),
    repeating-linear-gradient(0deg, #a4d5e613 0 1px, transparent 1px 10px), #09131a;
  box-shadow: inset 0 0 0 1px #8297a9a3;
}
:root[data-skin=forge] .forge-display .lcdart::before,
:root[data-skin=forge] .forge-display .lcdart::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
:root[data-skin=forge] .forge-display .lcdart::before {
  top: 3%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: linear-gradient(transparent, #ffcf77, #ff9f3c66);
  box-shadow: 0 0 7px #ffab4878;
}
:root[data-skin=forge] .forge-display .lcdart::after {
  inset: auto 4% 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, #8598a6 0 1px, transparent 1px 23px) bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, #637784 0 1px, transparent 1px 5px) bottom / 100% 3px no-repeat;
}
:root[data-skin=forge] .forge-display .lwave {
  position: absolute;
  inset: 1px 1.2% 7px;
  width: 97.6%;
  height: calc(100% - 8px);
  color: #ffc372;
  --wave-style: forge;
  --wave-bars: 86;
  --wave-fill: .65;
  --wave-idle: .72;
  filter: drop-shadow(0 0 4px #ff9c47);
  mask-image: linear-gradient(#000, #000 71%, transparent 99%);
}
:root[data-skin=forge] .radio[data-air=tx] .forge-display .lwave { color: #ffe4a2; }
:root[data-skin=forge] .forge-display .lcdbot { min-height: 0; padding: 0; gap: 3px; }
:root[data-skin=forge] .forge-display .lcdbot:has(> .lcdhere:only-child) { display: none; }
:root[data-skin=forge] .forge-display .people {
  min-width: 0;
  min-height: max(30px, calc(9.25 * var(--fg-v)));
  height: auto;
  margin: 0;
  padding: 0 1%;
  gap: 6px;
  border: 0;
  box-shadow: none;
  background: none;
}
:root[data-skin=forge] .forge-display .pstrip {
  height: auto;
  min-height: 28px;
  color: var(--k-text);
  font-size: clamp(10px, 2.65cqw, 14px);
}
:root[data-skin=forge] .forge-display .pstrip > .icon { color: #a4e85c; }
:root[data-skin=forge] .forge-display .people:has(> .pcall) .pstrip > .icon {
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: #a4e85c;
  box-shadow: 0 0 7px #a4e85c78;
}
:root[data-skin=forge] .forge-display .people:has(> .pcall) .pstrip > .icon svg { display: none; }
:root[data-skin=forge] .forge-display .people .pcall {
  height: 28px;
  padding-inline: 9px;
  border: 1px solid #547081;
  border-radius: 20px;
  background: #142630;
  color: #dcecf2;
  font-size: clamp(10px, 2.55cqw, 13px);
}
:root[data-skin=forge] .forge-display .airline { height: auto; flex-wrap: wrap; gap: 3px 7px; }
:root[data-skin=forge] .forge-display .airline::before { display: none; }
:root[data-skin=forge] .forge-display .airline .wstatus { font-size: clamp(9px, 2.25cqw, 12px); letter-spacing: 0; text-transform: none; }
:root[data-skin=forge] .forge-display .airline .wsub { font-size: 10px; }
:root[data-skin=forge] .forge-display .airline .replay { height: 22px; color: #c6e4f2; }
:root[data-skin=forge] .forge-display .airline .unavail { max-width: 100%; flex-wrap: wrap; }
:root[data-skin=forge] .forge-mode {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 18px;
  color: var(--k-dim);
  font-size: clamp(9px, 2.1cqw, 12px);
}
:root[data-skin=forge] .forge-mode .lcdmode { flex: 0 1 auto; text-overflow: ellipsis; }

:root[data-skin=forge] .forge-talk {
  position: relative;
  flex: none;
  height: calc(55.1 * var(--fg-v));
  background: url(../img/walkies/forge/talk.webp) center / 100% 100% no-repeat;
}
:root[data-skin=forge] .forge-talk .stage { position: absolute; inset: 0; display: block; min-height: 0; padding: 0; pointer-events: none; }
:root[data-skin=forge] .forge-talk .ptt-wrap {
  position: absolute;
  inset: 16.4% 29.7% 14.9%;
  width: auto;
  height: auto;
  min-height: 0;
  max-height: none;
  container-type: normal;
  pointer-events: auto;
}
:root[data-skin=forge] .forge-talk .ptt {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  justify-content: center;
  gap: 2.45cqw;
  padding: 0 7%;
  border: 0;
  border-radius: 50%;
  color: #fff0d5;
  background: none;
  box-shadow: none;
  transform: none;
  transition: background-color .16s, filter .16s;
}
:root[data-skin=forge] .forge-talk .ptt::before,
:root[data-skin=forge] .forge-talk .ptt::after { display: none; }
:root[data-skin=forge] .forge-talk .ptt > .icon { color: inherit; filter: drop-shadow(0 0 7px #ffad4c9c); }
:root[data-skin=forge] .forge-talk .ptt > .icon svg { width: clamp(28px, 12cqw, 59px); height: clamp(28px, 12cqw, 59px); }
:root[data-skin=forge] .forge-talk .ptt .lbl {
  max-width: 100%;
  color: #f4f4f3;
  font: 500 clamp(10px, 2.7cqw, 14px)/1.15 var(--mono);
  letter-spacing: .12em;
  text-align: center;
  white-space: normal;
}
:root[data-skin=forge] .forge-talk .ptt[data-held] { background: #0805034a; }
:root[data-skin=forge] .forge-talk .ptt[data-state=transmitting] {
  background: radial-gradient(ellipse at 50% 39%, #ffb45d49, transparent 58%);
  box-shadow: inset 0 0 14px #ffb45157;
}
:root[data-skin=forge] .forge-talk .ptt[data-state=transmitting] > .icon { filter: drop-shadow(0 0 9px #ffb23f); }
:root[data-skin=forge] .forge-talk .ptt[data-state=receiving] > .icon { color: var(--k-rx); }
:root[data-skin=forge] .forge-talk .ptt .pttface { width: clamp(28px, 10cqw, 50px) !important; height: clamp(28px, 10cqw, 50px) !important; }
:root[data-skin=forge] .forge-talk .ptt:focus-visible { outline: 2px solid var(--k-hi); outline-offset: -4px; }
:root[data-skin=forge] .forge-talk .hint-line {
  position: absolute;
  inset: auto 25% 2.5%;
  font-size: 9px;
  line-height: 1.15;
  text-shadow: 0 0 6px #000, 0 1px #000;
}
:root[data-skin=forge] .forge-talk .sfxbar {
  position: absolute;
  inset: auto 26% 7%;
  width: auto;
  overflow: auto hidden;
  justify-content: start;
  pointer-events: auto;
}
:root[data-skin=forge] .forge-talk > :is(.forge-channel-rocker, .forge-dial, .action) {
  position: absolute;
  display: grid;
  place-items: center;
  width: 15%;
  height: 26%;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  box-shadow: none;
  background: none;
  color: var(--k-text);
}
:root[data-skin=forge] .forge-talk .forge-channel-rocker {
  left: 4%;
  top: 19.7%;
  height: 29%;
  grid-template-rows: 1fr auto 1fr;
  font: 600 clamp(9px, 2.6cqw, 13px)/1 var(--mono);
}
:root[data-skin=forge] .forge-channel-rocker button { align-self: stretch; width: 100%; display: grid; place-items: center; border-radius: 8px; }
:root[data-skin=forge] .forge-channel-rocker .prev svg { rotate: -90deg; }
:root[data-skin=forge] .forge-channel-rocker .next svg { rotate: 90deg; }
:root[data-skin=forge] .forge-channel-rocker [aria-disabled=true] { color: #858991; }
:root[data-skin=forge] .forge-talk > .action { right: 3.7%; top: 21%; color: #ffe0a6; max-width: none; }
:root[data-skin=forge] .forge-talk > .action.on { color: #fff3d8; }
:root[data-skin=forge] .forge-talk > .action > .iconbtn { color: inherit; }
:root[data-skin=forge] .forge-talk > .action.on > .iconbtn { filter: drop-shadow(0 0 6px #ffbb53); }
:root[data-skin=forge] .forge-talk > .action .actlbl { display: none; }
:root[data-skin=forge] .forge-talk .forge-dial { left: 4%; top: 54%; }
:root[data-skin=forge] .forge-talk > .forge-pocket { top: 54%; color: var(--k-text); }
:root[data-skin=forge] .forge-talk > .forge-pocket.on { color: var(--k-acc); }
:root[data-skin=forge] .forge-talk > .forge-pocket.held { color: var(--k-dim); }
:root[data-skin=forge] .forge-talk :disabled, :root[data-skin=forge] .forge-menu :disabled { opacity: .45; }
:root[data-skin=forge] .forge-talk :is(.forge-dial, .action) svg { width: clamp(19px, 5.5cqw, 29px); height: auto; }

:root[data-skin=forge] .forge-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  flex: none;
  height: calc(40.37 * var(--fg-v));
  padding: 1.9cqw 9.1% calc(19.8 * var(--fg-v) + env(safe-area-inset-bottom, 0px) * .18) 9.5%;
  background: url(../img/walkies/forge/menu.webp) center / 100% 100% no-repeat;
}
/* The pager on the display: the lit key is «Pager» (the same picture, its
   light moved; the first one stays under it while this one loads). */
:root[data-skin=forge] .forge-menu.paging {
  background: url(../img/walkies/forge/menu-pager.webp) center / 100% 100% no-repeat,
    url(../img/walkies/forge/menu.webp) center / 100% 100% no-repeat;
}
:root[data-skin=forge] .forge-menu .action {
  position: relative;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: none;
  min-height: 44px;
  gap: 5px;
  padding: 0 2px;
  border: 0;
  border-radius: 9px;
  box-shadow: none;
  background: none;
  color: var(--k-text);
}
:root[data-skin=forge] .forge-menu .action.on { color: #ffdb87; }
:root[data-skin=forge] .forge-menu .action.forge-create { color: var(--k-acc); }
:root[data-skin=forge] .forge-menu .action > .iconbtn { color: inherit; }
:root[data-skin=forge] .forge-menu .action svg { width: clamp(19px, 5.4cqw, 29px); height: auto; }
:root[data-skin=forge] .forge-menu .actlbl { font-size: clamp(9px, 2.55cqw, 13px); }
:root[data-skin=forge] :is(.forge-media, .forge-talk, .forge-menu) button:focus-visible { outline: 2px solid var(--k-hi); outline-offset: -3px; }
/* Its own menu is the walkie's bottom: the app's tab bar is not drawn under it. */
:root[data-skin=forge]:not(.desk) #app[data-tab=radio] > .tabs { display: none; }

.skinpic.sp-forge {
  background: #090b0e url(../img/walkies/forge/talk.webp) center 39% / cover no-repeat;
  box-shadow: inset 0 0 0 1px #605746;
}
.skinpic.sp-forge > :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=forge] .radio > .howto { display: none; }

/* ---------------------------------------------------------- the pager on the display (pager.js)
   Forge's place for the kit's pager (css/walkies.css): «Pager» in its menu
   turns the display over to it (two taps: a big one) (it keeps its height: pager.js keepHeight),
   everything else on the glass gives way, the CH rocker goes through the
   messages. Its colours: the amber of the set on blue-black glass. */
:root[data-skin=forge] {
  --pgr-muted: #8b9ca6;
  --pgr-hint: #8b9ca680;
  --pgr-glow: #ffa547;
  --pgr-pop: #17212a;
  --pgr-pop2: #0b1116;
  --pgr-badge: #1b252e;
  --pgr-ink: #1e1407;
}
:root[data-skin=forge] .forge-display.paging > :not(.pgr, .pgr-keys, .pgr-pop, .vmon) { display: none; }
/* display.webp's glass: from 5 % to 95.5 % of its width and 4.5 % to 94 %
   of its height, the corners rounded. The pager takes its top (to 76 %),
   the soft keys its foot (79.5 % to 91.5 %), a line between at 78.5 %. */
:root[data-skin=forge] .forge-display.paging > .pgr {
  position: absolute;
  inset: 7% 9% 24%;
  overflow: hidden;
}
:root[data-skin=forge] .forge-display {
  --pgr-line-top: 78.5%;
  --pgr-line-x: 7%;
  --pgr-div-top: 82%;
  --pgr-div-bottom: 10%;
  --pgr-keys-top: 79.5%;
  --pgr-keys-h: 12%;
}
:root[data-skin=forge] .pgr-key.l { left: 7.5%; width: 42%; }
:root[data-skin=forge] .pgr-key.r { right: 7.5%; width: 42%; }
:root[data-skin=forge] .pgr-key.w { left: 7.5%; right: 7.5%; }
/* a new page over the number, under the display's top row */
:root[data-skin=forge] .pgr-pop {
  left: 9%;
  right: 9%;
  top: calc(3.9cqw + max(calc(7.25 * var(--fg-v)), 44px) + 4px);
  min-height: clamp(80px, 24cqw, 110px);
}
:root[data-skin=forge] .forge-display-top > .pgr-badge { height: 24px; }
/* the key's light: the amber ring round the talk key flares for a new page */
:root[data-skin=forge] .forge-talk .ptt-wrap.paged .ptt { animation: forge-paged 1.4s ease-out; }
@keyframes forge-paged {
  0%, 30%, 60% { box-shadow: 0 0 0 2px #ffc46799, 0 0 24px 6px #ffa54780; }
  15%, 45%, 100% { box-shadow: 0 0 0 0 #ffc46700, 0 0 0 0 #ffa54700; }
}
:root[data-skin=forge].eco .forge-talk .ptt-wrap.paged .ptt { animation: none; }
@media (prefers-reduced-motion: reduce) {
  :root[data-skin=forge] .forge-talk .ptt-wrap.paged .ptt { animation: none; }
}

/* ---------------------------------------------------------- the interface colour on its pictures' lights
   While a colour is chosen (:root[data-tint], theme.js), the lights drawn
   in its pictures take it: a layer of the colour over each picture, cut to
   its lights (<picture>-lights.webp, made by tools/art-lights.py: the light
   pixels alone, the body round them left out) and blended in «color» (the
   picture's lightness, the colour's hue). In «Original» there is no layer:
   the pictures as drawn. */
:root[data-tint][data-skin=forge] :is(.radio .head, .forge-meter, .forge-presets, .forge-talk, .forge-menu)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--tint-vivid);
  -webkit-mask: var(--fg-lights) center / 100% 100% no-repeat;
  mask: var(--fg-lights) center / 100% 100% no-repeat;
  mix-blend-mode: color;
}
:root[data-tint][data-skin=forge] :is(.forge-presets, .forge-menu) { position: relative; }
:root[data-tint][data-skin=forge] .radio .head { --fg-lights: url(../img/walkies/forge/head-lights.webp); }
:root[data-tint][data-skin=forge] .forge-meter { --fg-lights: url(../img/walkies/forge/meter-lights.webp); }
:root[data-tint][data-skin=forge] .forge-presets { --fg-lights: url(../img/walkies/forge/presets-lights.webp); }
:root[data-tint][data-skin=forge] .forge-talk { --fg-lights: url(../img/walkies/forge/talk-lights.webp); }
:root[data-tint][data-skin=forge] .forge-menu { --fg-lights: url(../img/walkies/forge/menu-lights.webp); }
:root[data-tint][data-skin=forge] .forge-menu.paging { --fg-lights: url(../img/walkies/forge/menu-pager-lights.webp); }
