/* Shared PULSE WALKIE styles for the neo kit (web/js/skin.js). */

@font-face { font-family: "PULSE Wide"; font-display: swap; src: url(../fonts/michroma-latin.woff2) format("woff2"); }
@font-face { font-family: "PULSE Exo"; font-weight: 600; font-display: swap; src: url(../fonts/exo2-latin-600.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "PULSE Exo"; font-weight: 600; font-display: swap; src: url(../fonts/exo2-cyrillic-600.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* The kit's parts: hidden until a look of the kit shows them. */
.rlogo, .qarrow, .pwave, .lcdart, .swave, .ptt .lword { display: none; }
.quickrow { display: contents; }

:root {
  --wk-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2' y='10.5' width='2' height='3' rx='1' fill='%23000'/%3E%3Crect x='5' y='8.5' width='2' height='7' rx='1' fill='%23000'/%3E%3Crect x='8' y='6' width='2' height='12' rx='1' fill='%23000'/%3E%3Crect x='11' y='3' width='2' height='18' rx='1' fill='%23000'/%3E%3Crect x='14' y='6.5' width='2' height='11' rx='1' fill='%23000'/%3E%3Crect x='17' y='9' width='2' height='6' rx='1' fill='%23000'/%3E%3Crect x='20' y='10.5' width='2' height='3' rx='1' fill='%23000'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- the looks' colours */
/* --k-acc the light of the set; --k-hi its brightest; --k-glow its halo;
   --k-bg the screen; --k-key a key or a bar; --k-line their edge; --k-text
   and --k-dim the words; --k-lcd the display; --k-digits its number;
   --k-rx another's voice; --k-font the words, --k-digit-font the number. */
:root[data-kit=neo] {
  --k-acc: #3fe6c4; --k-hi: #8ff7e1; --k-glow: rgba(63, 230, 196, .45); --k-soft: rgba(63, 230, 196, .12);
  --k-bg: #070c0c; --k-scr: radial-gradient(120% 60% at 50% 0%, rgba(63, 230, 196, .07), transparent 60%), #070c0c;
  --k-key: linear-gradient(180deg, #172221, #0d1514); --k-line: rgba(120, 220, 200, .16); --k-keyshadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 16px -10px #000;
  --k-text: #eaf6f3; --k-dim: #8fa7a1; --k-lcd: linear-gradient(180deg, #0e1817, #091110); --k-digits: #52f0cf; --k-rx: #8cd8ff;
  --k-btn: radial-gradient(circle at 50% 32%, #1a2a28, #0b1312 72%); --k-font: var(--font); --k-digit-font: "PULSE Exo", var(--font);
}
/* ---------------------------------------------------------- the screen */
:root[data-kit=neo] #app[data-tab=radio], :root[data-kit=neo] #app[data-tab=radio] .main { background: var(--k-bg); }
:root[data-kit=neo] .radio {
  --accent: var(--k-acc); --accent-glow: var(--k-glow); --accent-dim: var(--k-soft); --accent-line: var(--k-line);
  --grad-primary: linear-gradient(180deg, var(--k-hi), var(--k-acc)); }
:root[data-kit=neo] .radio { background: var(--k-scr); font-family: var(--k-font); }

/* The head: two round keys and the nameplate between them. */
:root[data-kit=neo] .radio .head { padding: max(10px, env(safe-area-inset-top)) 14px 6px; gap: 10px; }
:root[data-kit=neo] .radio .head > .iconbtn { width: 48px; height: 48px; border-radius: 17px; flex: none; color: var(--k-text);
  background: var(--k-key); border: 1px solid var(--k-line); box-shadow: var(--k-keyshadow); }
:root[data-kit=neo] .chanbtn { display: flex; justify-content: center; padding: 0; }
:root[data-kit=neo] .chanbtn .name, :root[data-kit=neo] .chanbtn .freqline { display: none; }
:root[data-kit=neo] .rlogo { display: inline-flex; align-items: center; gap: 10px; color: var(--k-text); filter: drop-shadow(0 0 10px var(--k-soft)); }
:root[data-kit=neo] .rlwave { display: block; width: 38px; height: 38px; background: var(--k-acc); -webkit-mask: var(--wk-wave) center / contain no-repeat; mask: var(--wk-wave) center / contain no-repeat; }
:root[data-kit=neo] .rlword { display: flex; flex-direction: column; align-items: center; line-height: 1; }
:root[data-kit=neo] .rlword b { font: 400 26px/1 "PULSE Wide", var(--font); letter-spacing: .04em; }
:root[data-kit=neo] .rlword small { font: 600 10px/1 var(--font); letter-spacing: .62em; padding-left: .62em; margin-top: 6px; color: var(--k-dim); }

/* The frequencies: keys with a wave; ‹ › to see more. */
:root[data-kit=neo] .radio .quickrow { display: flex; align-items: center; gap: 4px; padding: 4px 8px 2px; flex: none; }
:root[data-kit=neo] .radio .quickrow .quick { flex: 1; min-width: 0; padding: 4px 4px 6px; gap: 10px; }
:root[data-kit=neo] .qarrow { display: grid; place-items: center; flex: none; width: 26px; height: 40px; color: var(--k-dim); }
:root[data-kit=neo] .qarrow:active { color: var(--k-acc); }
:root[data-kit=neo] .radio .quick .pill { height: 44px; border-radius: 22px; padding: 0 18px 0 14px; gap: 8px; color: var(--k-text);
  font: 600 15.5px var(--k-font); background: var(--k-key); border: 1px solid var(--k-line); box-shadow: var(--k-keyshadow); }
:root[data-kit=neo] .radio .quick .pill .pw { font: inherit; letter-spacing: .02em; }
:root[data-kit=neo] .radio .quick .pill.on { color: var(--k-hi); border: 1.5px solid var(--k-acc);
  background: linear-gradient(180deg, var(--k-soft), rgba(0, 0, 0, .25)); box-shadow: 0 0 16px -2px var(--k-glow), inset 0 0 12px -4px var(--k-glow); }
:root[data-kit=neo] .radio .quick .pill.add { color: var(--k-acc); border-style: dashed; }
:root[data-kit=neo] .pwave { display: inline-block; width: 20px; height: 20px; flex: none; background: var(--k-acc); -webkit-mask: var(--wk-wave) center / contain no-repeat; mask: var(--wk-wave) center / contain no-repeat; }
/* The key's number in place of the code: CH01, CH02… — the counter is here, a look shows it (walkie-pulse.css). */
:root[data-kit=neo] .radio .quick { counter-reset: wkch; }
:root[data-kit=neo] .radio .quick .pill:not(.add) { counter-increment: wkch; }
:root[data-kit=neo] .pcode { display: none; }

/* The display. */
:root[data-kit=neo] .lcdbox { position: relative; margin: 8px 14px 0; padding: 16px 18px 10px; border-radius: 24px; overflow: hidden;
  background: var(--k-lcd); border: 1px solid var(--k-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 30px -20px #000; }
:root[data-kit=neo] .lcdbox { display: flex; flex-direction: column; }
:root[data-kit=neo] .lcdbox > .lcd { order: 1; }
:root[data-kit=neo] .lcdbox > .lcdbot { order: 2; }
:root[data-kit=neo] .lcdbox > .lcdart { order: 3; }
:root[data-kit=neo] .lcdbox > .deaf { order: 4; }
:root[data-kit=neo] .lcdtop { height: 20px; color: var(--k-acc); font: 600 12.5px var(--k-font); letter-spacing: .1em; text-transform: uppercase; }
:root[data-kit=neo] .lcdsig { height: 22px; gap: 3px; }
:root[data-kit=neo] .lcdsig i { width: 5px; border-radius: 1.5px; background: rgba(255, 255, 255, .1); }
:root[data-kit=neo] .lcdsig i:nth-child(1) { height: 8px !important; } :root[data-kit=neo] .lcdsig i:nth-child(2) { height: 12px !important; }
:root[data-kit=neo] .lcdsig i:nth-child(3) { height: 17px !important; } :root[data-kit=neo] .lcdsig i:nth-child(4) { height: 22px !important; }
:root[data-kit=neo] .lcdsig i.on { background: var(--k-acc); box-shadow: 0 0 6px var(--k-glow); }
:root[data-kit=neo] .lamp { font: 600 13px/22px var(--k-font); padding: 0 8px; border-radius: 9px; color: var(--k-text); border: 1.5px solid rgba(255, 255, 255, .35); letter-spacing: .06em; }
:root[data-kit=neo] .lamp.rx { color: #04120e; background: var(--k-acc); border-color: transparent; }
:root[data-kit=neo] .lamp.tx { color: #fff; background: var(--danger); border-color: transparent; }
:root[data-kit=neo] .lcdfreq { margin-top: 4px; font: 600 56px/60px var(--k-digit-font); height: 60px; color: var(--k-digits); letter-spacing: .015em;
  text-shadow: 0 0 22px var(--k-glow); }
:root[data-kit=neo] .lcdbox.none .lcdfreq { color: rgba(255, 255, 255, .12); text-shadow: none; }
:root[data-kit=neo] .lcdbot { border-top: 0; margin-top: 0; color: var(--k-dim); font: 600 12.5px var(--k-font); }
:root[data-kit=neo] .lcdhere { text-transform: uppercase; letter-spacing: .08em; }
:root[data-kit=neo] .lcdart { display: block; position: relative; height: 40px; margin: 2px -8px 0; }
:root[data-kit=neo] .lwave { display: block; width: 100%; height: 100%; color: var(--k-acc); filter: drop-shadow(0 0 4px var(--k-glow)); }
:root[data-kit=neo] .radio[data-air=tx] .lwave { color: var(--k-hi); }
:root[data-kit=neo] .radio[data-air=rx] .lwave { color: var(--k-rx); }

/* Who is here: one bar, the away at its end. */
:root[data-kit=neo] .radio .people { margin: 10px 14px 0; height: 48px; padding: 0 8px 0 14px; gap: 10px; border-radius: 24px;
  background: var(--k-key); border: 1px solid var(--k-line); box-shadow: var(--k-keyshadow); }
:root[data-kit=neo] .pstrip { color: var(--k-text); font-size: 14.5px; height: 46px; }
:root[data-kit=neo] .pstrip > .icon { color: var(--k-acc); }
:root[data-kit=neo] .pface { border-color: #0b1212; }
:root[data-kit=neo] .paway { border: 0; border-left: 1px solid var(--k-line); border-radius: 0; height: 28px; color: var(--k-dim); font-size: 14px; }
:root[data-kit=neo] .pawaylist { padding: 0 6px 0 12px; }
:root[data-kit=neo] .pawaylist::after { content: "›"; font-size: 22px; line-height: 1; margin-left: 4px; color: var(--k-text); }
:root[data-kit=neo] .paway .pface.away { opacity: 1; filter: none; background: transparent; color: var(--k-acc); border: 1.5px solid var(--k-acc); box-shadow: 0 0 8px -2px var(--k-glow); }
:root[data-kit=neo] .pawaycall { border-left: 1px solid var(--k-line); width: 38px; }
:root[data-kit=neo] .people .pcall { height: 32px; border-radius: 16px; }

/* The air line: its own wave goes (the display draws it), a wave glyph instead. */
:root[data-kit=neo] .airline .wave { display: none; }
:root[data-kit=neo] .airline::before { content: ""; flex: none; width: 24px; height: 24px; background: var(--k-acc); -webkit-mask: var(--wk-wave) center / contain no-repeat; mask: var(--wk-wave) center / contain no-repeat; }
:root[data-kit=neo] .airline .wstatus { color: var(--k-text); font-size: 15px; }
:root[data-kit=neo] .airline .airtext.rx .wstatus { color: var(--k-acc); }
/* Under the button, as a pill (all but Pulse). */
:root[data-kit=neo]:not([data-skin=pulse]) .radio .stage .ptt-wrap { order: 1; }
:root[data-kit=neo]:not([data-skin=pulse]) .radio .stage .hint-line { order: 2; }
:root[data-kit=neo]:not([data-skin=pulse]) .radio .stage .airline { order: 3; width: auto; min-width: 70%; max-width: 100%; height: 40px; padding: 0 18px;
  justify-content: center; border-radius: 20px; background: var(--k-key); border: 1px solid var(--k-line); box-shadow: var(--k-keyshadow); }
:root[data-kit=neo]:not([data-skin=pulse]) .radio .stage .sfxbar { order: 4; }
:root[data-kit=neo]:not([data-skin=pulse]) .airline .wstatus { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
:root[data-kit=neo] .hint-line { color: var(--k-dim); font-size: 14px; }

/* The button: a round key, its light ring by state (--k-ring). */
:root[data-kit=neo] .radio .ptt { --k-ring: var(--k-acc); gap: 4px; color: var(--k-text); background: var(--k-btn); border: 4px solid var(--k-ring);
  box-shadow: 0 0 0 9px rgba(0, 0, 0, .35), 0 0 0 10px var(--k-line), 0 0 46px -4px var(--k-glow), inset 0 0 34px -12px var(--k-glow); }
:root[data-kit=neo] .radio .ptt::before { inset: -16px; border: 1px solid var(--k-line); }
:root[data-kit=neo] .radio .ptt .icon { color: var(--k-text); filter: drop-shadow(0 0 6px var(--k-soft)); }
:root[data-kit=neo] .radio .ptt .lword { display: block; font: 400 27px/1.1 "PULSE Wide", var(--font); letter-spacing: .12em; padding-left: .12em; margin-top: 4px; }
:root[data-kit=neo] .radio .ptt .lword + .lbl { font: 600 12.5px var(--k-font); letter-spacing: .1em; color: var(--k-dim); }
:root[data-kit=neo] .radio .ptt .lbl { font-size: 14px; letter-spacing: .08em; }
:root[data-kit=neo] .radio .ptt[data-state=requesting], :root[data-kit=neo] .radio .ptt[data-state=transmitting] { --k-ring: var(--k-hi);
  box-shadow: 0 0 0 9px rgba(0, 0, 0, .35), 0 0 0 12px var(--k-acc), 0 0 70px 0 var(--k-glow), inset 0 0 44px -8px var(--k-glow); }
:root[data-kit=neo] .radio .ptt[data-state=transmitting]::before { border-color: var(--k-acc); }
:root[data-kit=neo] .radio .ptt[data-state=receiving] { --k-ring: var(--k-rx); color: var(--k-text); }
:root[data-kit=neo] .radio .ptt[data-state=busy] { --k-ring: var(--danger); color: var(--danger); }
:root[data-kit=neo] .radio .ptt[data-state=calling], :root[data-kit=neo] .radio .ptt[data-state=turn] { --k-ring: #ffd24a; color: #ffd24a; }
:root[data-kit=neo] .radio .ptt[data-state=none], :root[data-kit=neo] .radio .ptt[data-state=connecting], :root[data-kit=neo] .radio .ptt[data-state=unavailable] {
  --k-ring: rgba(255, 255, 255, .16); color: var(--k-dim); box-shadow: 0 0 0 9px rgba(0, 0, 0, .3), 0 0 0 10px var(--k-line); }
:root[data-kit=neo] .radio .ptt[data-state=none] { border-style: dashed; color: var(--k-acc); }
:root[data-kit=neo] .radio .ptt[data-state=listen] { --k-ring: rgba(255, 255, 255, .25); }

/* The console: square keys. */
:root[data-kit=neo] .radio .actions { margin: 0 12px 12px; padding: 0; gap: 10px; background: none; border: 0; box-shadow: none; }
:root[data-kit=neo] .radio .action { max-width: none; height: 78px; justify-content: center; gap: 6px; padding: 0 3px; border-radius: 20px; color: var(--k-text); font-size: 12.5px; letter-spacing: -.01em;
  background: var(--k-key); border: 1px solid var(--k-line); box-shadow: var(--k-keyshadow); }
:root[data-kit=neo] .radio .action .iconbtn { width: auto; height: auto; background: none; border: 0; box-shadow: none; color: var(--k-text); }
:root[data-kit=neo] .radio .action:active { transform: var(--press); }
:root[data-kit=neo] .radio .action.on { color: var(--k-acc); border-color: var(--k-acc); box-shadow: 0 0 14px -4px var(--k-glow); }
:root[data-kit=neo] .radio .action.on .iconbtn { background: none; border: 0; box-shadow: none; color: var(--k-acc); }

/* Short phones: the rows above the button give it their room. */
@media (max-height: 760px) {
  :root[data-kit=neo] .radio .head > .iconbtn { width: 40px; height: 40px; border-radius: 14px; }
  :root[data-kit=neo] .rlwave { width: 30px; height: 30px; }
  :root[data-kit=neo] .rlword b { font-size: 21px; }
  :root[data-kit=neo] .rlword small { margin-top: 4px; font-size: 9px; }
  :root[data-kit=neo] .radio .quick .pill { height: 38px; font-size: 14px; }
  :root[data-kit=neo] .lcdbox { padding: 10px 14px 6px; margin-top: 4px; }
  :root[data-kit=neo] .lcdfreq { font-size: 42px; line-height: 46px; height: 46px; }
  :root[data-kit=neo] .lcdart { height: 26px; }
  :root[data-kit=neo] .radio .people { height: 40px; margin-top: 6px; }
  :root[data-kit=neo] .pstrip { height: 38px; }
  :root[data-kit=neo] .radio .action { height: 58px; gap: 3px; font-size: 12px; border-radius: 16px; }
  :root[data-kit=neo]:not([data-skin=pulse]) .radio .stage .airline { height: 34px; }
  :root[data-kit=neo] .radio .ptt .lword { font-size: 21px; }
}
@media (max-height: 760px) {
  :root[data-kit=neo] .radio .stage .hint-line { font-size: 12.5px; }
}
@media (max-height: 680px) {
  :root[data-kit=neo] .lcdart { display: none; }
  :root[data-kit=neo] .radio .action { height: 52px; }
}
@media (max-width: 380px) {
  :root[data-kit=neo] .radio .actions { gap: 6px; margin-left: 8px; margin-right: 8px; }
  :root[data-kit=neo] .radio .action { font-size: 12px; }
  :root[data-kit=neo] .radio .quick .pill { padding: 0 14px 0 11px; }
}

/* ---------------------------------------------------------- the picker's small pictures */
.skintiles.compact { grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 0; }
.skintiles.compact .skinwhat { display: none; }
.skintiles.compact .skinpic { height: 58px; }
.skintiles.compact .skinname { font-size: 12.5px; }
.skinwrap { padding: 10px; }
.skinsheet .hint { margin: 0 2px 10px; }
.skinrow { width: 100%; text-align: left; }
.skinpic u { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; text-decoration: none; }

/* ---------------------------------------------------------- the pager on a look's display (pager.js)
   What every look's pager shares: the feed (a head with the air's line, the
   filters, one message), writing, «To», «Sent», a new
   page over the number and its «✉ n», and the soft keys in the glass. A
   look puts it on its own glass (its file: where the glass is, where the
   keys stand, where a page shows) and gives it its colours: the kit's
   --k-acc, --k-hi, --k-dim, --k-text, --k-rx, and these (Canyon's here). */
:root[data-kit=neo] {
  --pgr-muted: #a898ae;   /* the quiet words: where from, when, counts */
  --pgr-hint: #8f809599;  /* «Message…» in an empty field */
  --pgr-glow: #a766ef;    /* the light round a page */
  --pgr-pop: #2b2130;     /* a page's card, top and foot */
  --pgr-pop2: #1b151e;
  --pgr-badge: #2c2131;   /* «✉ n» */
  --pgr-ink: #1b131f;     /* words on the accent («NEW») */
}
:root[data-kit=neo] .pgr {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(5px, 1.8cqw, 9px);
  color: var(--k-text);
  font: 400 clamp(11px, 3.1cqw, 14px)/1.3 var(--mono);
}
:root[data-kit=neo] .pgr button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
:root[data-kit=neo] .pgr button:focus-visible { outline: 1px solid var(--k-acc); outline-offset: 1px; }
:root[data-kit=neo] .pgr-head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 18px; }
:root[data-kit=neo] .pgr-title { flex: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: clamp(9px, 2.7cqw, 12px); letter-spacing: .12em; color: var(--k-acc); }
:root[data-kit=neo] .pgr-air {
  min-width: 0; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: clamp(8.5px, 2.5cqw, 11px); letter-spacing: .05em; text-transform: uppercase; color: var(--k-dim);
}
:root[data-kit=neo] .pgr-air span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root[data-kit=neo] .pgr-air i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #9ce64f; box-shadow: 0 0 6px #8dd84580; }
:root[data-kit=neo] .pgr-air.rx { color: var(--k-rx); }
:root[data-kit=neo] .pgr-air.rx i { background: var(--k-rx); box-shadow: 0 0 7px #8fd0ff; }
:root[data-kit=neo] .pgr-air.tx { color: #ff9fae; }
:root[data-kit=neo] .pgr-air.tx i { background: #ff8f9f; box-shadow: 0 0 8px #ff5f7a; }
:root[data-kit=neo] .pgr-air:is(.wait, .busy, .turn) i { background: #f6bf75; box-shadow: none; }
:root[data-kit=neo] .pgr-air.err i { background: #f59782; box-shadow: none; }
:root[data-kit=neo] .pgr-filters { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
:root[data-kit=neo] .pgr-filters button {
  height: clamp(22px, 6.4cqw, 28px); display: flex; align-items: center; justify-content: center; gap: 4px;
  border: 0; border-radius: 6px; background: #ffffff0a; box-shadow: inset 0 0 0 1px #ffffff14;
  font-weight: 600; font-size: clamp(8.5px, 2.5cqw, 11px); letter-spacing: .08em; color: var(--pgr-muted);
}
:root[data-kit=neo] .pgr-filters button[aria-pressed=true] {
  color: var(--k-hi); background: color-mix(in srgb, var(--k-acc) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k-acc) 44%, transparent);
}
:root[data-kit=neo] .pgr-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--k-acc); box-shadow: 0 0 6px var(--k-acc); }
/* A swipe across a page goes through the pages (pager.js); up and down still scroll. */
.pgr-msg { touch-action: pan-y; }
:root[data-kit=neo] .pgr-msg {
  flex: 1 1 auto; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 4px;
  margin: 0; padding: 2px 2px 0; border: 0; border-radius: 6px; background: none; text-align: left;
}
:root[data-kit=neo] .pgr-msg:active { background: color-mix(in srgb, var(--k-acc) 7%, transparent); }
:root[data-kit=neo] .pgr-src { font-weight: 600; font-size: clamp(8px, 2.4cqw, 10.5px); letter-spacing: .1em; color: var(--pgr-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
:root[data-kit=neo] .pgr-new { margin-left: 6px; padding: 1px 4px; border-radius: 3px; background: var(--k-acc); color: var(--pgr-ink); font-weight: 600; }
:root[data-kit=neo] .pgr-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-weight: 600; letter-spacing: .05em; }
:root[data-kit=neo] .pgr-who { color: var(--k-hi); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root[data-kit=neo] .pgr-who.mine { color: var(--k-rx); }
:root[data-kit=neo] .pgr-when { flex: none; color: var(--pgr-muted); font-weight: 400; font-size: .9em; }
:root[data-kit=neo] .pgr-text {
  font-size: clamp(13px, 3.85cqw, 17px); line-height: 1.35; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
:root[data-kit=neo] .pgr-empty { flex: 1; display: grid; place-content: center; text-align: center; color: var(--pgr-muted); }
:root[data-kit=neo] .pgr-to { font-weight: 600; font-size: clamp(9px, 2.6cqw, 11.5px); letter-spacing: .05em; color: var(--k-dim); text-transform: uppercase; }
:root[data-kit=neo] .pgr-to b { color: var(--k-hi); font-weight: 600; }
:root[data-kit=neo] .pgr-field {
  flex: 1 1 auto; min-height: 70px; display: flex; flex-direction: column; padding: 8px 10px; border-radius: 10px;
  background: #0000004d; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k-acc) 33.3%, transparent), inset 0 2px 8px #0008;
}
:root[data-kit=neo] .pgr-field textarea {
  flex: 1; width: 100%; min-height: 0; resize: none; border: 0; outline: 0; padding: 0; background: none;
  color: var(--k-text); font: 400 clamp(13px, 3.85cqw, 17px)/1.35 var(--mono); caret-color: var(--k-acc);
}
:root[data-kit=neo] .pgr-field textarea::placeholder { color: var(--pgr-hint); }
:root[data-kit=neo] .pgr-count { align-self: flex-end; font-size: clamp(8.5px, 2.5cqw, 10.5px); color: var(--pgr-muted); }
:root[data-kit=neo] .pgr-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; scrollbar-width: none; overscroll-behavior: contain; }
:root[data-kit=neo] .pgr-list::-webkit-scrollbar { display: none; }
:root[data-kit=neo] .pgr-grp { margin-top: 4px; font-weight: 600; font-size: clamp(8px, 2.4cqw, 10px); letter-spacing: .12em; color: var(--pgr-muted); }
:root[data-kit=neo] .pgr-person {
  flex: none; display: flex; align-items: center; gap: 10px; min-height: clamp(32px, 8.7cqw, 38px); padding: 0 10px;
  border: 0; border-radius: 8px; background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff14; text-align: left;
}
:root[data-kit=neo] .pgr-person.all { justify-content: space-between; color: var(--k-dim) !important; }
:root[data-kit=neo] .pgr-av {
  flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 5px;
  background: color-mix(in srgb, var(--k-acc) 15%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k-acc) 33.3%, transparent); color: var(--k-hi); font-weight: 600;
}
:root[data-kit=neo] .pgr-nm { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:root[data-kit=neo] .pgr-st { flex: none; font-size: .82em; color: var(--pgr-muted); }
:root[data-kit=neo] .pgr-sent { flex: 1; display: grid; place-content: center; gap: 8px; text-align: center; }
:root[data-kit=neo] .pgr-ok { font-weight: 600; letter-spacing: .14em; color: #a6ef7a; }
:root[data-kit=neo] .pgr-sent .pgr-text { -webkit-line-clamp: 3; }

/* the soft keys in the glass: no frame or fill of their own; a hair line
   (lit in the middle) over them, another between two; their words glow; a
   press lights the key from inside. A look sets where: --pgr-line-top and
   --pgr-line-x (the line), --pgr-div-top and --pgr-div-bottom (between),
   --pgr-keys-top and --pgr-keys-h, and each key's .l / .r / .w place. */
:root[data-kit=neo] .pgr-keys { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
:root[data-kit=neo] .pgr-keys::before {
  content: "";
  position: absolute;
  top: var(--pgr-line-top);
  left: var(--pgr-line-x);
  right: var(--pgr-line-x);
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffffff1f 18%, color-mix(in srgb, var(--k-acc) 40%, transparent) 50%, #ffffff1f 82%, transparent);
}
:root[data-kit=neo] .pgr-keys::after {
  content: "";
  position: absolute;
  top: var(--pgr-div-top);
  bottom: var(--pgr-div-bottom);
  left: calc(50% - .5px);
  width: 1px;
  background: linear-gradient(180deg, transparent, #ffffff26 30%, #ffffff26 70%, transparent);
}
:root[data-kit=neo] .pgr-keys:has(> .pgr-key.w)::after { display: none; }
:root[data-kit=neo] .pgr-key {
  position: absolute;
  top: var(--pgr-keys-top);
  height: var(--pgr-keys-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--k-dim);
  font: 600 clamp(10px, 2.95cqw, 13px)/1 var(--mono);
  letter-spacing: .12em;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color .15s, text-shadow .15s, background-color .15s;
}
:root[data-kit=neo] .pgr-key.primary { color: var(--k-hi); text-shadow: 0 0 8px color-mix(in srgb, var(--k-acc) 55%, transparent); }
:root[data-kit=neo] .pgr-key.primary .icon { filter: drop-shadow(0 0 4px color-mix(in srgb, var(--k-acc) 60%, transparent)); }
:root[data-kit=neo] .pgr-key:active {
  color: #fff;
  background: radial-gradient(60% 75% at 50% 45%, color-mix(in srgb, var(--k-acc) 24%, transparent), color-mix(in srgb, var(--k-acc) 7%, transparent) 60%, transparent 100%);
}
:root[data-kit=neo] .pgr-key:focus-visible { outline: 0; background: radial-gradient(60% 75% at 50% 45%, color-mix(in srgb, var(--k-acc) 16%, transparent), transparent 100%); }
:root[data-kit=neo] .pgr-key:disabled { opacity: .45; }

/* a new page over the number (a look sets where), and its «✉ n» */
:root[data-kit=neo] .pgr-pop {
  position: absolute; z-index: 2;
  display: grid; grid-template-rows: auto auto 1fr; gap: 6px;
  padding: 10px 14px; border: 0; border-radius: 14px; text-align: left; cursor: pointer; color: var(--k-text);
  background: linear-gradient(180deg, var(--pgr-pop), var(--pgr-pop2));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k-acc) 45%, transparent), 0 0 22px color-mix(in srgb, var(--pgr-glow) 31.4%, transparent);
  font-family: var(--mono); overflow: hidden;
}
:root[data-kit=neo] .pgr-pop.in { animation: pgr-drop .32s cubic-bezier(.2, .8, .3, 1); }
@keyframes pgr-drop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
:root[data-kit=neo] .pgr-pophead { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: clamp(8.5px, 2.6cqw, 11px); letter-spacing: .1em; color: var(--k-acc); }
:root[data-kit=neo] .pgr-pophead > span:first-child { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
:root[data-kit=neo] .pgr-popfrom { font-weight: 600; font-size: clamp(11px, 3.3cqw, 14px); letter-spacing: .04em; color: var(--k-hi); }
:root[data-kit=neo] .pgr-run { overflow: hidden; white-space: nowrap; font-size: clamp(13px, 4.1cqw, 18px); line-height: 1.3; }
:root[data-kit=neo] .pgr-run > span { display: inline-block; }
:root[data-kit=neo] .pgr-run.on > span { animation: pgr-run var(--run-s, 6s) linear .6s both; }
@keyframes pgr-run { from { transform: translateX(0); } to { transform: translateX(var(--run, 0)); } }
:root[data-kit=neo] .pgr-badge {
  flex: none; display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px;
  border: 0; border-radius: 11px; background: var(--pgr-badge);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--k-acc) 40%, transparent), 0 0 10px color-mix(in srgb, var(--pgr-glow) 33.3%, transparent);
  color: var(--k-hi); font: 600 11px/1 var(--mono); letter-spacing: .06em; cursor: pointer;
}
:root[data-kit=neo].eco :is(.pgr-pop.in, .pgr-run.on > span) { animation: none; }
@media (prefers-reduced-motion: reduce) {
  :root[data-kit=neo] :is(.pgr-pop.in, .pgr-run.on > span) { animation: none; }
}
/* a short phone: three lines of a message on the glass (a tap shows it all, in its chat) */
@media (max-height: 740px) {
  :root[data-kit=neo] .pgr-msg .pgr-text { -webkit-line-clamp: 3; }
}
/* A big pager (pagerTap): the message has the room for more of itself. */
:root[data-kit=neo] .paging.big .pgr-msg .pgr-text { -webkit-line-clamp: 9; }

/* ---------------------------------------------------------- the pager as a layer over a look's glass (radio.js)
   The looks with no place of their own for it (all but Canyon, Forge and
   AURA): the layer is the whole display the video plays on; radio.js
   fitPagerLayer measures the glass on it (video.js glassOf) and says where:
   --pi-l, --pi-t, --pi-w, --pi-h (the glass's box, a little in from its
   edge), the keys' place (as above) and --pgr-clip (the glass's outline).
   Not paging, only a new page and «✉ n» show on the glass; paging, the
   layer is the glass itself, cut to its outline, the pager on it, over
   all the screen's own words (and the picture of the one talking: the
   pager is what is looked at then). Its colours are the look's screen's
   (a light look whose glass is dark gives its own). */
:root[data-kit=neo] .pgr-layer {
  position: absolute; inset: 0; z-index: 40; pointer-events: none; border-radius: inherit;
  --pgr-muted: var(--k-dim);
  --pgr-hint: color-mix(in srgb, var(--k-dim) 60%, transparent);
  --pgr-glow: var(--k-acc);
  --pgr-pop: color-mix(in srgb, var(--k-scr) 86%, var(--k-acc));
  --pgr-pop2: var(--k-scr);
  --pgr-badge: color-mix(in srgb, var(--k-scr) 80%, var(--k-acc));
  --pgr-ink: var(--k-scr);
}
/* While the pager is on (radio.js growPager: .radio.paging), the row of
   Sound, Video, Replay and Invite that hangs under the glass of Velvet,
   Fumé, Ember, Celadon and Dusk steps aside: the pager has no use for it,
   and its room goes to the glass the pager is on (the glass's column
   grows into it). Dusk's row lies in a dark slot of its panel's picture,
   beside the talk key's housing: the slot stays, dark as the display over
   it, and the key keeps its whole height. Projection's row is by the talk
   key, not by the glass: it stays. */
:root[data-kit=neo] .radio.paging :is(.velvet-media-strip, .fume-media-strip, .ember-media-strip, .celadon-media-strip, .dusk-media-strip) { display: none; }
:root[data-kit=neo] .pgr-layer > :is(.pgr-pop, .pgr-badge) { pointer-events: auto; }
:root[data-kit=neo] .pgr-layer.paging { pointer-events: auto; clip-path: var(--pgr-clip, none); background: var(--k-scr); }
:root[data-kit=neo] .pgr-layer > .pgr {
  position: absolute; left: var(--pi-l); top: var(--pi-t); width: var(--pi-w);
  height: calc(var(--pgr-keys-top) - var(--pi-t) - 1%); overflow: hidden;
}
:root[data-kit=neo] .pgr-layer .pgr-key.l { left: var(--pi-l); width: calc(var(--pi-w) / 2); }
:root[data-kit=neo] .pgr-layer .pgr-key.r { left: calc(var(--pi-l) + var(--pi-w) / 2); width: calc(var(--pi-w) / 2); }
:root[data-kit=neo] .pgr-layer .pgr-key.w { left: var(--pi-l); width: var(--pi-w); }
:root[data-kit=neo] .pgr-layer .pgr-keys::after { left: calc(var(--pi-l) + var(--pi-w) / 2 - .5px); }
:root[data-kit=neo] .pgr-layer > .pgr-pop {
  left: var(--pi-l); top: var(--pi-t); width: var(--pi-w); box-sizing: border-box;
  min-height: 0; max-height: var(--pi-h);
}
:root[data-kit=neo] .pgr-layer > .pgr-badge { position: absolute; z-index: 3; top: var(--pi-t); right: calc(100% - var(--pi-l) - var(--pi-w)); }
:root[data-kit=neo] .pgr-layer > .pgr-pop:not([hidden]) ~ .pgr-badge { display: none; } /* the page shows: its count waits */
/* the pager's own arrows, in its head (a look whose display has none) */
:root[data-kit=neo] .pgr-layer .pgr-nav { display: flex; flex: none; gap: 4px; margin-left: 6px; }
:root[data-kit=neo] .pgr-layer .pgr-nav button {
  display: grid; place-items: center; width: 30px; height: 28px; border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--k-acc) 30%, transparent); color: var(--k-hi); background: color-mix(in srgb, var(--k-scr) 80%, var(--k-acc));
}
:root[data-kit=neo] .pgr-layer .pgr-nav button[aria-disabled=true] { opacity: .4; cursor: default; }
/* the key's light for a new page, where a look has none of its own */
:root[data-kit=neo]:not([data-skin=canyon], [data-skin=forge], [data-skin=aura]) .radio .ptt-wrap.paged .ptt { animation: pgr-key-flash 1.4s ease-out; }
@keyframes pgr-key-flash {
  0%, 30%, 60% { box-shadow: 0 0 0 2px color-mix(in srgb, var(--k-acc) 70%, transparent), 0 0 22px 6px color-mix(in srgb, var(--k-acc) 45%, transparent); }
  15%, 45%, 100% { box-shadow: none; }
}
:root[data-kit=neo].eco .radio .ptt-wrap.paged .ptt { animation: none; }
@media (prefers-reduced-motion: reduce) { :root[data-kit=neo] .radio .ptt-wrap.paged .ptt { animation: none; } }
