/* ==========================================================================
   Stay Frosty — Frost Glass · controls.css
   Segmented controls, chips, buttons, inset groups and form rows, toggles,
   stepper / slider / unlock ruler, stars, tier tags, monograms, status line.
   Tokens only (css/tokens.css; design/reskin/SPEC.md §7). In-flow controls
   wear the glass look without blur (.faux): backdrop-filter is for floating
   chrome only. Vivid frost fill (--accent-fill) marks only what is selected;
   amber (--brass-fill) is the one primary per screen.
   ========================================================================== */

/* --------------------------------------------------------------------------
   5.7 Segmented control — .seg (+ .two, .seg-thumb); .style-bar wraps a .seg
   (SPEC §7.2). A faux-glass track (no blur, it scrolls with the page) and a
   vivid frost pill that slides on a liquid spring. The thumb position is
   derived from which button is .on (or aria-selected), so any module can emit
   the markup without setting inline styles. The docked Meta style bar is
   chrome.css (.style-bar > .seg), which turns the track into real glass.
   -------------------------------------------------------------------------- */
.seg {
  --n: 2;
  --i: 0;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  align-items: stretch;
  box-sizing: border-box;
  height: 36px;
  margin: 4px 0;               /* 36 track + 4 + 4 = the 44px row */
  padding: 3px;
  border-radius: var(--r-seg);
  background: var(--glass-faux);
  box-shadow: var(--spec);
  -webkit-user-select: none;
  user-select: none;
}
.seg:has(> button:nth-of-type(3)) { --n: 3; }
.seg:has(> button:nth-of-type(4)) { --n: 4; }
.seg:has(> button:nth-of-type(5)) { --n: 5; }
.seg:has(> button:nth-of-type(2):is(.on, [aria-selected="true"])) { --i: 1; }
.seg:has(> button:nth-of-type(3):is(.on, [aria-selected="true"])) { --i: 2; }
.seg:has(> button:nth-of-type(4):is(.on, [aria-selected="true"])) { --i: 3; }
.seg:has(> button:nth-of-type(5):is(.on, [aria-selected="true"])) { --i: 4; }

/* play-style contract: .style-bar[data-on] drives the same thumb */
.style-bar[data-on="rush"] .style-glider { --i: 0; }
.style-bar[data-on="balanced"] .style-glider { --i: 1; }
.style-bar[data-on="range"] .style-glider { --i: 2; }
.style-bar .seg { margin: 0; }

.seg > .seg-thumb,
.seg > .style-glider {
  position: absolute;
  z-index: 0;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc((100% - 6px) / var(--n));
  border-radius: var(--r-seg-thumb);
  background: var(--accent-fill);
  box-shadow: var(--glow-accent);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform 420ms var(--spring-lens), scale var(--dur-press) var(--ease-out);
  pointer-events: none;
}
.seg:has(> button:is(.on, [aria-selected="true"]):active) > :is(.seg-thumb, .style-glider) { scale: .96; }
.seg:not(:has(> button:is(.on, [aria-selected="true"]))) > :is(.seg-thumb, .style-glider) { opacity: 0; }

.seg > button {
  position: relative;
  z-index: 1;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: var(--r-seg-thumb);
  background: none;
  font: 600 var(--fs-seg)/30px var(--font-ui);   /* chrome: fixed 14px (mockup), never grows with Dynamic Type */
  color: var(--ink-2);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: color var(--dur-state) var(--ease-out);
}
/* white on the vivid fill: 5.2:1 at the centre band of the gradient (SPEC §1.3) */
.seg > button:is(.on, [aria-selected="true"]) { font-weight: 700; color: var(--on-accent); }
/* 44pt hit area: the button's box reaches 7px past the 30px slot (3 of track padding + the row's 4) into the 44px
   row, while the label stays centred on the track. The thumb is positioned on .seg, so it is unaffected. */
.seg:not(.two) > button { margin: -7px 0; padding: 7px 8px; }
/* no separators: the faux track carries enough contrast (SPEC §7.2) */
.seg > button + button::before { content: none; }
/* safety: a .seg rendered without a thumb still shows the selection */
.seg:not(:has(> .seg-thumb, > .style-glider)) > button:is(.on, [aria-selected="true"]) {
  background: var(--accent-fill);
  box-shadow: var(--glow-accent);
}
/* (its box is 44 tall for the hit area, so only the 30px slot on the track is painted) */
.seg:not(.two):not(:has(> .seg-thumb, > .style-glider)) > button:is(.on, [aria-selected="true"]) {
  background: linear-gradient(var(--accent-hi), var(--accent-lo)) 0 50% / 100% 30px no-repeat;
  box-shadow: none;
}

/* two-line variant: Your build | Max potential (track 56) */
.seg.two { height: auto; min-height: 56px; }
.seg.two > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  font: 700 var(--fs-seg)/18px var(--font-ui);
  white-space: normal;
}
.seg.two > button > small {
  display: block;
  max-width: 100%;
  margin-top: 1px;
  /* "69 · full at Lv 44" is a phrase: Archivo with tabular figures */
  font: 500 13px/18px var(--font-ui);
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
  white-space: normal;          /* wraps at larger text instead of cutting "69 · full at Lv 44" */
  overflow: visible;
  text-overflow: clip;
}
/* The two-line labels sit high in the pill, where the standard fill is lightest (#2580E0 is 4.0:1 with white at the
   very top, about 4.4:1 at the top of the first line). This pill starts darker, so white is at least 5.06:1 at every
   point of it (measured 5.27 min, 5.55 median on the bold label; 6.0 on the subtitle) */
.seg.two > .seg-thumb { background: linear-gradient(180deg, #1C6DD0, var(--accent-lo)); }
.seg.two > button:is(.on, [aria-selected="true"]) > small { color: var(--on-accent); }

/* a segmented control living inside an inset-group row (editor play style, appearance, compose type) */
.grow > .seg { flex: 1 1 auto; margin: 0; }
.group > .seg { margin: 6px var(--pad); }
/* the row's insets take room off the track, so labels keep 4px sides: "Announcement" stays whole at 375 */
:is(.grow, .group) > .seg:not(.two) > button { padding-inline: 4px; }

/* --------------------------------------------------------------------------
   5.8 Chips — .chips / .chip (SPEC §7.3): 34pt pills in a 44pt row. At rest a
   dark translucent pill with a faint frost ring; selected, the vivid frost
   fill with white text. The change is instant (no transition); the press
   scale lives in chrome.css (§6.7).
   -------------------------------------------------------------------------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--g);
  margin-inline: calc(var(--g) * -1);
  padding: 5px var(--g);
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 24px), transparent);
}
.chips::-webkit-scrollbar { display: none; }
.chips:is(.at-end, .end, .scrolled-end, .no-mask, [data-end="1"]) {
  -webkit-mask-image: none;
  mask-image: none;
}
.chip {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 34px;
  margin: 0;
  padding: 0 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(18, 34, 58, .80);
  box-shadow: inset 0 0 0 1px rgba(120, 190, 255, .14);
  font: 500 15px/20px var(--font-ui);   /* chrome size (mockup): the row never grows past 44 */
  color: var(--ink);
  white-space: nowrap;
  scroll-snap-align: start;
  cursor: pointer;
}
.chip i,
.chip .n {
  font: 500 12px/16px var(--font-data);
  font-stretch: var(--wd-semi);
  font-style: normal;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
/* 44pt hit area: 5px into the row's padding above and below (the row clips at exactly that line), and half of
   the 8px gap on each side, so neighbours never overlap */
.chip::after { content: ''; position: absolute; inset: -5px -4px; }
/* the glow is kept tight (the row clips 5px out): it reads as light from the pill, never as a cut-off halo */
.chip:is(.on, [aria-selected="true"], [aria-pressed="true"]) {
  background: var(--accent-fill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(150, 215, 255, .45), 0 0 9px -1px rgba(40, 140, 255, .6);
  font-weight: 600;
  color: var(--on-accent);
}
.chip:is(.on, [aria-selected="true"], [aria-pressed="true"]) :is(i, .n) { color: var(--on-accent); opacity: 1; }

/* --------------------------------------------------------------------------
   5.9 Buttons — .btn (+ .secondary, .ghost, .tint, .plain, .danger, .busy),
   .link, .icon-btn, .nav-pull (SPEC §7.4). The amber primary is a gradient
   with a warm glow (one per screen); secondaries are faux glass with a frost
   edge; .tint is the outlined frost capsule for inline actions ("Copy").
   Press scales live in chrome.css (§6.7, motion only); the primary also darkens
   under an ::after overlay, so nothing animates a filter or a shadow.
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: var(--r-control);
  background: var(--brass-fill);
  color: var(--on-brass);
  box-shadow: var(--glow-amber);
  font: 700 var(--fs-headline)/var(--lh-headline) var(--font-ui);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: opacity var(--dur-press) var(--ease-out);
}
.btn svg { flex: none; }
.btn + .btn { margin-top: 12px; }
/* pressed: a 10% black veil over the amber (the glow and the gradient never animate) */
.btn:not(.plain):not(.secondary):not(.ghost):not(.danger):not(.tint)::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out);
}
.btn:not(.plain):not(.secondary):not(.ghost):not(.danger):not(.tint):active::after { opacity: .1; transition-duration: var(--dur-press); }

.btn:is(.secondary, .ghost) {
  background: var(--glass-faux);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(92, 200, 255, .28), inset 0 1px 0 rgba(200, 235, 255, .12);
  font-weight: 600;
}
.btn:is(.secondary, .ghost) svg.ico-external,
.btn:is(.secondary, .ghost) [data-icon="external"] { color: var(--blue); }
.btn:is(.secondary, .ghost):active { background: var(--surface-2); }

/* tinted capsule: inline actions (the invite row's Copy, the player card's Copy). 36 tall, 44pt hit */
.btn.tint {
  display: inline-flex;
  width: auto;
  min-height: 36px;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: rgba(18, 40, 70, .60);
  box-shadow: inset 0 0 0 1px rgba(92, 200, 255, .60), 0 0 12px rgba(40, 140, 255, .25);
  font: 600 15px/20px var(--font-ui);
  color: var(--blue);
  white-space: nowrap;
}
.btn.tint::before { content: ''; position: absolute; inset: -4px; }
.btn.tint:active { background: rgba(92, 200, 255, .16); }
.btn.tint + .btn.tint { margin-top: 0; }

.btn:is(.plain, .danger) {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  padding: 0 4px;
  background: none;
  box-shadow: none;
  color: var(--blue);
  font-weight: 600;
}
.btn.danger,
.btn.ghost.danger,
.btn.secondary.danger { color: var(--red); }
.btn.secondary.danger { background: var(--glass-faux); }
.btn:is(.plain, .danger):active { opacity: .5; }
.btn:is(.plain, .danger) + .btn:is(.plain, .danger) { margin-top: 0; }
.btn.wide { width: 100%; }
/* sheet-header "Cancel" is the regular weight; "Done" / "Save" stay semibold */
.btn.plain:is([data-sq="closeE"], [data-sx="closeC"], .cancel) { font-weight: 400; }

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: 600 var(--fs-headline)/var(--lh-headline) var(--font-ui);
  color: var(--blue);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: opacity var(--dur-press) var(--ease-out);
}
.link.sm { font-size: var(--fs-subhead); line-height: var(--lh-subhead); }
.link::after {               /* 44pt hit area without changing layout; short words ("Add") still get 44 wide */
  content: '';
  position: absolute;
  left: min(-4px, calc(50% - 22px));
  right: min(-4px, calc(50% - 22px));
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}
/* a link right under an inset group ("Fill best build for level 30") keeps its 44pt area but grows downward,
   so it never takes taps from the group's last row (the editor's level slider) */
.group + .link::after { top: -4px; transform: none; }
.link:active { opacity: .5; }
.link.danger { color: var(--red); }
.link svg { flex: none; }

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--blue);
  cursor: pointer;
  transition: opacity var(--dur-press) var(--ease-out);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:active { opacity: .5; }
:is(.wrow, .grow, .trow, .nrow, .post, .rev, .bl) .icon-btn { color: var(--ink-2); }

.nav-pull {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  background: none;
  font: 600 15px/20px var(--font-ui);    /* chrome: fixed size */
  color: var(--blue);
  white-space: nowrap;
  cursor: pointer;
  transition: opacity var(--dur-press) var(--ease-out);
}
.nav-pull svg { flex: none; width: 10px; height: 6px; }
.nav-pull:active { opacity: .5; }
.nav-pull.sm { font-size: var(--fs-subhead); }

/* disabled */
:is(.btn, .link, .icon-btn, .nav-pull, .chip, .grow.act):is(:disabled, [disabled], [aria-disabled="true"], .disabled) {
  opacity: .4;
  pointer-events: none;
}
/* a disabled filled button is a neutral well, as iOS draws it: faded brass reads as broken and muddles
   brass = max / earned (§9) */
.btn:not(.plain):not(.secondary):not(.ghost):not(.danger):not(.tint):is(:disabled, [disabled], [aria-disabled="true"], .disabled) {
  opacity: 1;
  background: var(--surface-3);
  color: var(--ink-3);
  box-shadow: none;
}

/* busy (export.js / share.js toggle .busy): spinner glyph + indeterminate hairline */
.busy { pointer-events: none; }
.btn.busy:not(.plain):not(.danger):not(.secondary):not(.ghost) { overflow: hidden; }
.btn.busy:not(.plain):not(.danger):not(.secondary):not(.ghost)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 35%;
  height: 2px;
  background: rgba(26, 18, 5, .4);   /* --on-brass at 40%, on the amber */
  animation: e2-busy 1s linear infinite;
}
.busy :is(svg[class*="spin"], .spinner svg, [data-icon="spinner"], [data-i="spinner"]),
svg[class*="spinner"].spin {
  animation: e2-spin 800ms steps(8) infinite;
}
@keyframes e2-busy {
  from { transform: translateX(-100%); }
  to { transform: translateX(290%); }
}
@keyframes e2-spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   5.10 Inset-grouped form sections — .group / .group-h / .group-f / .grow
   (SPEC §7.5). A group is a frost panel (radius 18) that reaches the panel
   inset; its rows pad by --pad, so every label starts on the same --g line as
   the rest of the page (group heads and footers sit on that line too).
   -------------------------------------------------------------------------- */
.group-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0 0 6px;
  font: 600 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-2);
}
.group-h > :not(:first-child) { color: var(--ink-2); font-weight: 500; }
/* a count qualifier in a group header ("0 open") is a phrase: Archivo with tabular figures, like .sec-q */
.group-h > .d-s:not(:first-child) { font: 500 var(--fs-footnote)/var(--lh-footnote) var(--font-ui); font-variant-numeric: tabular-nums; }

.group {
  --eyelet: var(--surface);
  --row-x: var(--pad);
  position: relative;
  margin: 0 calc(var(--panel-x) - var(--g));
  padding: 0;
  border: 0;
  border-radius: var(--r-group);
  background: linear-gradient(180deg, var(--panel-top), var(--panel-bot));
  box-shadow: var(--edge-frost);
  overflow: hidden;
  list-style: none;
}
.group + .group,
.group-f + .group { margin-top: 20px; }
.group-h + .group { margin-top: 0; }

.group-f {
  padding: 6px 0 0;
  font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-3);
}
.group-f b, .group-f strong { color: var(--ink-2); font-weight: 600; }

.grow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px var(--pad);
  border: 0;
  background: transparent;
  font: 400 var(--fs-body)/var(--lh-headline) var(--font-ui);
  color: var(--ink);
  text-align: left;
  transition: background-color var(--dur-state) var(--ease-out);
}
/* hairline separators in frost, inset to the text (and past a leading glyph or monogram) */
.grow + .grow::before,
.group > :not(.grow) + .grow::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--pad);
  right: 0;
  height: var(--hair);
  background: rgba(150, 215, 255, .08);
  pointer-events: none;
}
.grow + .grow:has(> :is(svg, .av, .grow-ico, .dot):first-child)::before,
.grow:has(> :is(svg, .av, .grow-ico):first-child) + .grow::before { left: calc(var(--pad) + 40px); }
.grow > :is(svg, .grow-ico):first-child { flex: none; color: var(--ink-2); }
.grow.act > :is(svg, .grow-ico):first-child { color: currentColor; }

.grow-l {
  flex: 0 0 auto;                 /* labels keep their width; values and inputs give way */
  min-width: 0;
  max-width: 70%;
  font: inherit;
  color: var(--ink);
}
.grow-l:has(small, .sub) { flex: 1 1 auto; max-width: none; }
.grow-l:has(small, .sub) ~ .grow-v { flex-shrink: 0; }
.grow-l small,
.grow-l .sub,
.grow .grow-sub {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-top: 2px;
  font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-3);
}
/* Intel › Data confidence: the source lists back the accuracy claims, so they are never cut off */
.conf .grow-l small { display: block; -webkit-line-clamp: unset; overflow: visible; }
.conf .grow:has(small) { align-items: flex-start; }
/* one claim per line; past four, "Show all N" */
.conf .grow:has(.conf-list) { align-items: flex-start; }
.conf .grow-l:has(.conf-list) { flex: 1 1 auto; max-width: none; }
.conf .grow-l:has(.conf-list) ~ .grow-v { flex-shrink: 0; }
/* a feed URL that failed to load stays as typed, in red, until it is fixed */
:is(#feedUrl, .tinput)[aria-invalid="true"] { color: var(--red); }
.conf-list { margin: 4px 0 0; padding: 0; list-style: none; font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui); color: var(--ink-2); }
.conf-list > li + li { margin-top: 2px; }
.conf .conf-more { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 -11px; }
.grow-v {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  font: 400 var(--fs-body)/var(--lh-headline) var(--font-ui);
  color: var(--ink-2);
  text-align: right;
  white-space: normal;            /* values wrap at larger text rather than cut ("Wrong attachment level") */
  overflow-wrap: anywhere;
}
.grow-v.d-m, .grow-v.num { font: 500 var(--fs-dm)/var(--lh-dm) var(--font-data); font-stretch: var(--wd-semi); font-variant-numeric: tabular-nums; }
.grow .chev,
.grow > svg.chev {
  flex: none;
  width: 7px;
  height: 12px;
  margin-left: auto;
  color: var(--ink-2);
  opacity: .6;
}
.grow .grow-v ~ .chev { margin-left: 0; }
/* trailing control / plain action pushes to the right edge */
.grow > :is(.toggle, .stepper, .link, .btn.plain, .btn.danger, .icon-btn, .count, .d-m, .d-s):last-child:not(:first-child) { margin-left: auto; }
.grow > .grow-l + :is(.link, .btn.plain, .btn.danger) { margin-left: auto; }

/* picker rows: a native select overlaid so iOS shows its wheel */
.grow.pick { cursor: pointer; }
.grow.pick > select,
.grow.pick select {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  font-size: max(17px, 1rem);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.grow:is(.pick, .act, button):active { background: rgba(92, 200, 255, .08); transition: none; }
/* the select is an invisible overlay, so its keyboard focus ring is drawn on the row (inset, like every row) */
.grow.pick:has(select:focus-visible) { outline: 2px solid var(--blue); outline-offset: -2px; }
/* a disabled picker keeps legible text: the row carries the only explanation ("5 of 5 used"), so it reads in
   --ink-3 (5.2:1 or better on --surface) instead of fading the whole row to 40% */
.grow:has(select:disabled),
.grow.pick.disabled { opacity: 1; pointer-events: none; }
.grow:has(select:disabled) :is(.grow-l, .grow-v),
.grow.pick.disabled :is(.grow-l, .grow-v) { color: var(--ink-3); }
.grow:has(select:disabled) .chev,
.grow.pick.disabled .chev { visibility: hidden; }

/* full-row action */
.grow.act {
  justify-content: flex-start;
  font: 500 var(--fs-body)/var(--lh-headline) var(--font-ui);
  color: var(--blue);
  cursor: pointer;
}
.grow.act.danger,
.grow.danger { color: var(--red); }

/* inputs inside rows: no box, 17px, right-aligned short values, left-aligned URLs */
.grow :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea:not(.ta)),
.tinput {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: 400 max(17px, 1rem)/var(--lh-headline) var(--font-ui);
  color: var(--ink);
  caret-color: var(--blue);
  text-align: right;
  -webkit-appearance: none;
  appearance: none;
}
.grow :is(input, textarea, .tinput)::placeholder,
.tinput::placeholder { color: var(--ink-3); opacity: 1; }
/* .grow.grow lifts these to the right-align rule's specificity (0,3,1), so URL fields and label-less rows win */
.grow.grow :is(input[type="url"], input[type="email"], input[type="search"], input.left, input.tinput),
.grow.grow:not(:has(.grow-l)) :is(input, textarea),
.tinput,
#feedUrl { text-align: left; }
/* Intel › Tip jar: one label column, so every link (typed or placeholder) starts at the same x; a long one ends in an ellipsis */
.group.tips .grow > .grow-l { flex: 0 0 8.5em; }
.group.tips .grow > input.tinput { flex: 1 1 auto; min-width: 0; text-align: left; text-overflow: ellipsis; }
.grow input::-webkit-date-and-time-value { text-align: right; }
/* a plain select left visible inside a row (fallback) */
.grow > select:not(.pick select) {
  flex: 0 1 auto;
  min-width: 0;
  margin-left: auto;
  border: 0;
  background: transparent;
  font: 400 max(17px, 1rem)/var(--lh-headline) var(--font-ui);
  color: var(--ink-2);
  text-align: right;
  -webkit-appearance: none;
  appearance: none;
}
/* stand-alone select fallback */
.select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-control);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(120, 190, 255, .14);
  font: 400 max(17px, 1rem)/var(--lh-headline) var(--font-ui);
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
}

/* standalone textarea */
.ta {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 12px 14px;
  border: 0;
  border-radius: var(--r-control);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px rgba(120, 190, 255, .14);
  font: 400 max(17px, 1rem)/var(--lh-body) var(--font-ui);
  color: var(--ink);
  caret-color: var(--blue);
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
/* a standalone .ta sits on --surface-2, where --ink-3 fails in dark (4.35:1, §2); inside a group it is on --surface */
.ta::placeholder { color: var(--ink-2); opacity: 1; }
.ta:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.group .ta::placeholder { color: var(--ink-3); }
.ta + .ta, * + .ta:not(.group *) { margin-top: 12px; }
/* inside a group the textarea becomes a borderless row */
.group .ta {
  border-radius: 0;
  padding: 12px var(--pad);
  background-color: transparent;
  box-shadow: none;
}
.group .ta:focus-visible { outline-offset: -2px; }
.group > * + .ta {
  margin-top: 0;
  background-image: linear-gradient(rgba(150, 215, 255, .08), rgba(150, 215, 255, .08));
  background-repeat: no-repeat;
  background-position: var(--pad) 0;
  background-size: calc(100% - var(--pad)) var(--hair);
}
.grow .ta { flex: 1 1 auto; padding: 0; background: none; box-shadow: none; }
.ta.copybox { min-height: 160px; }

/* counters (#edNotesN, #cBodyN, #fxN) */
.count,
.group-h output {
  font: 500 var(--fs-ds)/var(--lh-ds) var(--font-data);
  font-stretch: var(--wd-semi);
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

/* plain helper lines left over from older markup */
.hint {
  margin: 8px 0 0;
  font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-3);
}
.group-h :is(.d-s, .sec-q) {
  font: 500 var(--fs-ds)/var(--lh-ds) var(--font-data);
  font-stretch: var(--wd-semi);
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Toggle — .toggle keeps <input type=checkbox><i></i>
   -------------------------------------------------------------------------- */
.toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.grow > .toggle,
.grow > label.toggle:not(.grow) { flex: none; margin-left: auto; }
.toggle input {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.toggle i {
  position: relative;
  flex: none;
  display: block;
  width: 51px;
  height: 31px;
  margin-left: auto;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px rgba(150, 215, 255, .16);
  font-style: normal;
  transition: background-color 250ms var(--ease-ios);
}
.toggle i::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--knob);
  box-shadow: var(--sh-knob);
  transition: transform 250ms var(--ease-ios);
}
.toggle input:checked + i { background: var(--green); box-shadow: 0 0 10px rgba(111, 224, 166, .35); }
.toggle input:checked + i::after { transform: translateX(20px); }
.toggle input:focus-visible + i { outline: 2px solid var(--blue); outline-offset: 2px; }
.toggle input:disabled + i { opacity: .4; }

/* --------------------------------------------------------------------------
   5.12 Level plate, stepper, slider, unlock ruler, quick levels, next upgrade
   -------------------------------------------------------------------------- */
.lvl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 12px;
}
.lvl > :not(.lvl-plate):not(.stepper):not(.lvl-top) { grid-column: 1 / -1; }
.lvl > .stepper { align-self: end; margin-bottom: 6px; }
.lvl-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.lvl-plate {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  align-items: baseline;
  column-gap: 6px;
  min-width: 0;
  color: var(--ink);
}
.lvl-plate > :first-child:not(b):not(strong):not(output):not(.lvl-v) {
  grid-column: 1 / -1;
  font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-3);
}
.lvl-plate :is(b, strong, output, .lvl-v) {
  display: inline-block;
  font: 700 var(--fs-dxl)/var(--lh-dxl) var(--font-data);
  font-stretch: var(--wd-cond);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.lvl-plate > :last-child:not(:first-child):not(b):not(strong):not(output):not(.lvl-v),
.lvl-plate .lvl-of,
.lvl-plate small {
  /* "of 72" / "Max level" are words: Archivo, tabular figures */
  font: 500 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  white-space: nowrap;
}
.lvl-plate .lvl-of.max,
.lvl-plate .is-max { color: var(--green); }

.stepper {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  flex: none;
  box-sizing: border-box;
  width: 96px;
  height: 34px;
  border-radius: var(--r-stepper);
  background: var(--glass-faux);
  box-shadow: var(--spec);
}
.stepper::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  width: 1px;
  height: 18px;
  margin-left: -.5px;
  background: rgba(150, 215, 255, .18);
  pointer-events: none;
}
.stepper > button {
  position: relative;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--r-stepper) 0 0 var(--r-stepper);
  background: none;
  font: 400 22px/1 var(--font-ui);
  color: var(--ink);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.stepper > button:last-child { border-radius: 0 var(--r-stepper) var(--r-stepper) 0; }
.stepper > button::after { content: ''; position: absolute; inset: -5px 0 -5px -6px; }
.stepper > button:last-child::after { inset: -5px -6px -5px 0; }
.stepper > button svg { width: 18px; height: 18px; }
.stepper > button:active { background: rgba(92, 200, 255, .12); }
.stepper > button:is(:disabled, [aria-disabled="true"], .disabled) { opacity: .4; pointer-events: none; }

.range {
  --p: .5;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 44px;                /* 44pt hit area; the 4px track and 28px thumb stay centred in it */
  margin: 0;
  padding: 0;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  touch-action: pan-y;
}
.range:focus { outline: none; }
.range:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* frost fill from the vivid blue to the frost (the part that is yours); a white knob with a frost ring */
.range::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, var(--accent-hi), var(--blue)) 0 0 / calc(14px + var(--p) * (100% - 28px)) 100% no-repeat,
    var(--rule-strong);
  box-shadow: 0 0 8px -2px rgba(56, 170, 255, .45);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -11.5px;
  border: 0;
  border-radius: 50%;
  background: var(--knob);
  box-shadow: var(--sh-knob), 0 0 0 1px rgba(92, 200, 255, .5);
}
.range::-moz-range-track { height: 5px; border-radius: 3px; background: var(--rule-strong); }
.range::-moz-range-progress { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--accent-hi), var(--blue)); }
.range::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--knob); box-shadow: var(--sh-knob), 0 0 0 1px rgba(92, 200, 255, .5); }
.range:disabled { opacity: .4; }
/* in a form row the extra hit area reaches into the row's 11px padding, so the row keeps its height */
.grow > .range { flex: 1 1 auto; margin: -8px 0; }

/* unlock ruler: 10px below the track, inset 14px so ticks line up with the thumb centre */
.range-wrap { position: relative; }
.ticks {
  position: relative;
  height: 8px;
  margin: 0 14px;
  padding-top: 0;
  pointer-events: none;
}
/* the slider's 44px box ends 8px lower than the old 28px one did, so the ruler steps back up: it still starts
   12px under the track. Ticks take no pointer events, so the slider keeps its full hit area beneath them. */
.range + .ticks,
.range-wrap .ticks { margin-top: -8px; }
.ticks:has(.next) { height: 30px; }
.ticks > * {
  position: absolute;
  top: 0;
  left: var(--x, 0);
  width: 1px;
  height: 8px;
  margin-left: -.5px;
  background: var(--ink-3);
  font-style: normal;
}
.ticks > .on { background: var(--brass-text); }   /* brass meaning at graphic contrast: 5.4:1 light, 7.9:1 dark */
.ticks > .next { height: 12px; background: var(--ink); }
/* the label slides along its own width with the tick (--x, a percentage from app.js): left-aligned at the first
   level, centred mid-ruler, right-aligned at max, so it never runs past either end of the track */
.ticks > .next > *,
.ticks > .next[data-label]::after {
  position: absolute;
  top: 15px;
  left: 0;
  transform: translateX(calc(var(--x, 50%) * -1));
  font: 500 var(--fs-dxs)/var(--lh-dxs) var(--font-data);
  font-stretch: var(--wd-semi);
  font-style: normal;
  color: var(--ink);
  white-space: nowrap;
}
.ticks > .next[data-label]::after { content: attr(data-label); }

/* quick levels: 1 · 18 · 36 · 54 · Max, each centred under the slider value it sets. --x (0–1, from app.js) is
   the level's share of the range; 14px is half the 28px thumb, so the centres match the thumb positions */
.quick {
  position: relative;
  display: block;
  height: 44px;
  margin-top: 4px;
}
.quick > button {
  position: absolute;
  top: 0;
  left: calc(14px + (100% - 28px) * var(--x, 0));
  width: 44px;
  transform: translateX(-50%);
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: 500 var(--fs-ds)/var(--lh-ds) var(--font-data);
  font-stretch: var(--wd-semi);
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
  text-align: center;
  cursor: pointer;
}
.quick > button:is(.on, [aria-pressed="true"]) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.quick > button:active { opacity: .5; }

/* next upgrade: 2px track with a blue progress fill, then the footnote */
.next-line {
  --np: 0;
  margin-top: 8px;
  font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-2);
}
.next-line > :is(.nl-track, .next-bar, .track) {
  position: relative;
  display: block;
  height: 2px;
  margin-bottom: 8px;
  background: var(--rule);
  overflow: hidden;
}
.next-line > :is(.nl-track, .next-bar, .track) > * {
  display: block;
  height: 100%;
  width: calc(var(--np) * 100%);
  background: var(--blue);
  transition: width var(--dur-data) var(--ease-out);
}
/* track drawn by CSS when the markup carries only the sentence */
.next-line:not(:has(> :is(.nl-track, .next-bar, .track)))::before {
  content: '';
  display: block;
  height: 2px;
  margin-bottom: 8px;
  background: linear-gradient(var(--blue), var(--blue)) 0 0 / calc(var(--np) * 100%) 100% no-repeat, var(--rule);
}
.next-line:is(.done, .maxed, .is-max)::before { display: none; }
.next-line :is(b, strong) { font-weight: 600; color: var(--ink); }
.next-line :is(em, .pos, .gain) { font-style: normal; font-weight: 600; color: var(--green); }
.next-line p { margin: 0; }
.next-line:is(.done, .maxed, .is-max) { display: flex; align-items: center; gap: 6px; }
.next-line:is(.done, .maxed, .is-max) svg { flex: none; width: 12px; height: 12px; color: var(--green); }
/* a weapon locked at your rank: its level only counts from that rank (no track, brass lock) */
.next-line.lock { display: flex; align-items: center; gap: 6px; }
.next-line.lock::before { display: none; }
.next-line.lock svg { flex: none; width: 12px; height: 12px; color: var(--brass-text); }

/* --------------------------------------------------------------------------
   5.18 Stars (Art.stars renders the SVG) and the picker
   -------------------------------------------------------------------------- */
.stars {
  display: inline-block;
  flex: none;
  vertical-align: -1px;
  line-height: 1;
  color: var(--ink);
}
svg.stars { overflow: visible; }
/* Dynamic Type: a strip keeps its drawn size at the default text size and grows in step with the root size at
   larger ones (rem, not em, so a strip beside 17pt text is not enlarged at default); height follows the viewBox */
svg.stars[width="60"] { width: max(60px, 3.529rem); height: auto; }   /* 12pt stars */
svg.stars[width="70"] { width: max(70px, 4.117rem); height: auto; }   /* 14pt stars */
.stars :is(.s-empty, .st-empty, .empty) :is(path, polygon, use),
.stars :is(path, polygon).s-empty {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 1;
}
.stars :is(.s-fill, .st-fill, .fill) :is(path, polygon, use),
.stars :is(path, polygon).s-fill { fill: var(--ink); stroke: none; }
/* text fallback (older markup: <span class="stars" style="--v:90%">★★★★★</span>) */
span.stars {
  position: relative;
  font-size: max(12px, .706rem);
  color: var(--rule-strong);
  white-space: nowrap;
}
span.stars::before {
  content: '★★★★★';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--v, 0%);
  overflow: hidden;
  color: var(--ink);
}
span.stars.lg { font-size: max(14px, .824rem); }

/* "4.5 (2)" readout following stars */
.rate {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}
.rate :is(b, .rate-v) {
  font: 500 var(--fs-ds)/var(--lh-ds) var(--font-data);
  font-stretch: var(--wd-semi);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.rate :is(span, .rate-n):not(.stars) {
  font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-3);
}

.starpick {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 -8px;
}
.starpick > button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--rule-strong);
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out);
}
.starpick > button svg { width: 28px; height: 28px; overflow: visible; }
.starpick > button svg :is(path, polygon) { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.starpick > button:is(.on, [aria-checked="true"]) { color: var(--ink); }
.starpick > button:is(.on, [aria-checked="true"]) svg :is(path, polygon) { fill: currentColor; }
.starpick > button:active { transform: scale(.9); }

/* --------------------------------------------------------------------------
   5.4 Tier tag — .tier.t-S|A|B|C|D (manila-tag shape with a punched eyelet)
   -------------------------------------------------------------------------- */
.tier {
  --tier-fill: var(--ink-3);
  position: relative;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
  height: 20px;
  min-width: 26px;
  padding: 0 6px 0 11px;
  border: 0;
  border-radius: 0;
  -webkit-clip-path: polygon(6px 0, 100% 0, 100% 100%, 6px 100%, 0 50%);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 6px 100%, 0 50%);
  background-color: var(--tier-fill);
  background-image: radial-gradient(circle at 7px 50%, var(--eyelet, var(--bg)) 2.25px, transparent 2.75px);
  box-shadow: none;
  font: 700 12px/1 var(--font-data);
  font-stretch: var(--wd-cond);
  color: var(--ink-2);
  vertical-align: middle;
}
.tier.t-S { --tier-fill: var(--brass); color: var(--on-brass); background-image: radial-gradient(circle at 7px 50%, var(--eyelet, var(--bg)) 2.25px, transparent 2.75px), var(--brass-fill); }
.tier.t-A { --tier-fill: var(--ink); color: var(--bg); }
.tier.t-B { --tier-fill: var(--tag); color: var(--on-tag); }
.tier.t-C { color: var(--ink-2); }
.tier.t-D { color: var(--ink-3); }
/* C and D: blank tag — the fill shows as a 1px outline that follows the chamfer, with a ringed eyelet */
.tier:is(.t-C, .t-D)::before,
.tier:not(.t-S):not(.t-A):not(.t-B)::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  -webkit-clip-path: polygon(6px 0, 100% 0, 100% 100%, 6px 100%, 0 50%);
  clip-path: polygon(6px 0, 100% 0, 100% 100%, 6px 100%, 0 50%);
  background:
    radial-gradient(circle at 6px 50%, transparent 1.75px, var(--ink-3) 2px 2.75px, transparent 3px),
    var(--eyelet, var(--bg));
}
.wrow .tier { height: 18px; }
/* eyelet matches whatever surface the tag sits on */
:is(.group, .xs-panel, .menu, .lu, .card, .panel) { --eyelet: var(--surface); }

/* --------------------------------------------------------------------------
   5.22 Monogram and author line — .av
   -------------------------------------------------------------------------- */
.av {
  display: inline-grid;
  place-items: center;
  flex: none;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px rgba(150, 215, 255, .22);
  font: 600 11px/1 var(--font-ui);
  font-style: normal;
  color: var(--ink-2);
  object-fit: cover;
  overflow: hidden;
  vertical-align: middle;
  white-space: nowrap;
}
.av.lg, .av.md { width: 28px; height: 28px; }
.av-none { border: 0; }
.author {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-3);
}
.author :is(b, .who) { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mod-l,
.modtag {
  font: 600 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  font-style: normal;
  color: var(--ink-2);
  background: none;
  padding: 0;
}
.ago,
.author time {
  font: 500 var(--fs-ds)/var(--lh-ds) var(--font-data);
  font-stretch: var(--wd-semi);
  color: var(--ink-3);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Status line (Intel › Live data footer, moderator bot) and status dots
   -------------------------------------------------------------------------- */
.status-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font: 400 var(--fs-footnote)/var(--lh-footnote) var(--font-ui);
  color: var(--ink-3);
}
.status-line:not(:has(.dot))::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  transform: translateY(-1px);
}
.status-line:is(.bad, .err, .error, .warn)::before { background: var(--red); }
.status-line:is(.idle, .off)::before { background: var(--ink-3); }
.status-line.bad { color: var(--red); }
.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
}
.dot:is(.ok, .good, .on) { background: var(--green); }
.dot:is(.bad, .err, .off, .live) { background: var(--red); }
.dot.idle { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-3); }   /* nothing has run yet: not an error */

/* --------------------------------------------------------------------------
   Reduced motion: no slides on the controls' data
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  /* the Meta style bar's own rule (chrome.css, .style-bar > .seg > .style-glider) is more specific: matched here */
  .seg > :is(.seg-thumb, .style-glider), .style-bar > .seg > .style-glider { transition: none; }
  .seg:has(> button:is(.on, [aria-selected="true"]):active) > :is(.seg-thumb, .style-glider),
  .style-bar > .seg:has(> button.on:active) > .style-glider { scale: none; }
  .next-line > :is(.nl-track, .next-bar, .track) > * { transition: none; }
  .starpick > button { transition: none; }
}
:root[data-motion="reduce"] .seg > :is(.seg-thumb, .style-glider),
:root[data-motion="reduce"] .style-bar > .seg > .style-glider,
:root[data-motion="reduce"] .next-line > :is(.nl-track, .next-bar, .track) > *,
:root[data-motion="reduce"] .starpick > button { transition: none; }
:root[data-motion="reduce"] .seg:has(> button:is(.on, [aria-selected="true"]):active) > :is(.seg-thumb, .style-glider),
:root[data-motion="reduce"] .style-bar > .seg:has(> button.on:active) > .style-glider { scale: none; }
