.hero-fan {
  --k: 1.22;
  --cy: 128px;
  position: relative;
  height: 350px;
  margin: 26px auto 0;
  perspective: 900px;
}
.hero-icon {
  position: absolute;
  left: 50%;
  top: var(--cy);
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  filter: drop-shadow(0 12px 22px rgb(0 0 0 / 0.45));
  z-index: 2;
}
.hero-fan::before {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--cy);
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--pal-accent) 52%, transparent), color-mix(in srgb, var(--pal-accent) 22%, transparent) 45%, transparent);
  z-index: 1;
}
.fan-tool {
  position: absolute;
  left: 50%;
  top: var(--cy);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  z-index: 3;
  transform: translate(calc(var(--x) * var(--k) * 1px - 50%), calc(var(--y) * var(--ky, var(--k)) * 1px - 28px)) rotate(var(--r));
}
.fan-tool b {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .fan-tool:hover .tile { transform: scale(1.08); }
  .fan-tool:hover b { color: var(--text-primary); }
}

.js .stage-hero .hero-icon { opacity: 0; transform: scale(0.7) rotateX(-18deg); }
.js .stage-hero .fan-tool { opacity: 0; transform: translate(-50%, -18px) scale(0.35); }
.js .stage-hero.in .hero-icon,
.reveal-all .stage-hero .hero-icon {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s var(--ease-out), transform var(--spring-t) var(--spring);
}
.js .stage-hero.in .fan-tool,
.reveal-all .stage-hero .fan-tool {
  opacity: 1;
  transform: translate(calc(var(--x) * var(--k) * 1px - 50%), calc(var(--y) * var(--ky, var(--k)) * 1px - 28px)) rotate(var(--r));
  transition:
    opacity 0.3s var(--ease-out) calc(0.18s + var(--i) * 0.045s),
    transform var(--spring-t) var(--spring) calc(0.18s + var(--i) * 0.045s);
}

.hero-copy { text-align: center; max-width: 920px; margin: 6px auto 0; position: relative; }
.hero-copy h1 {
  font-size: clamp(36px, 5.1vw, 62px);
  font-weight: 650;
  letter-spacing: -0.032em;
  line-height: 1.04;
  margin: 0 0 18px;
  text-wrap: balance;
}
.hero-copy .sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 30px;
  text-wrap: pretty;
}
.hero-copy .cta-row, .cta-row.center { justify-content: center; }
.hero-copy .req-note { text-align: center; }


.split {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  gap: 56px;
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(0, 1.26fr) minmax(0, 0.74fr); }
.split.reverse .split-copy { order: 2; }
.split-stage { min-width: 0; display: flex; flex-direction: column; align-items: center; }
.sec-split .glow { left: 62%; top: 14%; }
.sec-split .split.reverse ~ .glow, .sec-stash .glow { left: 38%; }

/* ─── tools ─── */

.tool-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tool-card {
  --tc: var(--pal-accent);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.05), rgb(255 255 255 / 0.015));
  border: 1px solid rgb(255 255 255 / 0.08);
  transition: transform 0.5s var(--spring), border-color 0.3s ease, box-shadow 0.4s ease;
}
.tool-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -90px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--tc) 26%, transparent), transparent);
  opacity: 0.45;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tc) 42%, rgb(255 255 255 / 0.08));
  box-shadow: 0 22px 44px -22px color-mix(in srgb, var(--tc) 60%, transparent);
}
.tool-card:hover::before { opacity: 1; }
.tc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tool-card .tile { flex: none; width: 52px; height: 52px; border-radius: 14px; }
.tool-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; }
.tool-card p { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-secondary); }
.tc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgb(255 255 255 / 0.06);
  font-size: 13px;
  color: var(--text-tertiary);
}
.tc-foot .combo kbd { font-size: 11.5px; color: color-mix(in srgb, var(--tc) 72%, white); border-color: color-mix(in srgb, var(--tc) 30%, rgb(255 255 255 / 0.12)); }
.tool-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--text-tertiary);
}
.tool-legend .lg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tool-legend { column-gap: 22px; row-gap: 8px; }
@media (prefers-reduced-motion: reduce) {
  .tool-card, .tool-card::before { transition: none; }
  .tool-card:hover { transform: none; }
}

/* ─── keyboard ─── */

.kb-stage { display: flex; justify-content: center; perspective: 1500px; padding-top: 6px; }
.kb {
  --u: 46px;
  position: relative;
  width: calc(14.5 * var(--u) + 28px);
  aspect-ratio: calc(14.5 * 46 + 28) / calc(5 * 46 + 28);
  padding: 14px;
  border-radius: 22px;
  background: linear-gradient(#211e25, #121015);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    inset 0 0 0 1px rgb(255 255 255 / 0.06),
    0 34px 60px rgb(0 0 0 / 0.55),
    0 0 70px color-mix(in srgb, var(--pal-accent) 16%, transparent);
  transform: rotateX(24deg);
  transform-origin: 50% 100%;
}
.kb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pal-accent) 75%, transparent), 0 0 60px color-mix(in srgb, var(--pal-accent) 40%, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.kb.live::after { opacity: 1; }
.kb-row { display: flex; }
.key { width: calc(var(--w, 1) * var(--u)); height: var(--u); padding: calc(var(--u) * 0.055); }
.key.stack { display: flex; flex-direction: column; gap: calc(var(--u) * 0.055); }
.key.stack .cap { height: 50%; }
.cap {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  border-radius: calc(var(--u) * 0.17);
  background: linear-gradient(#333136, #222024);
  box-shadow: inset 0 0 0 0.75px rgb(255 255 255 / 0.08), 0 1.5px 0 rgb(0 0 0 / 0.55);
  font: 500 calc(var(--u) * 0.29)/1 var(--rounded);
  color: rgb(255 255 255 / 0.72);
  transition: transform 0.38s var(--spring-key), color 0.15s ease;
}
.cap.sm { font-size: calc(var(--u) * 0.25); }
.cap::before, .cap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.16s ease;
}
.cap::before {
  background: linear-gradient(color-mix(in oklab, var(--pal-accent) 72%, white), var(--pal-accent));
  box-shadow: inset 0 0 0 0.75px rgb(255 255 255 / 0.35);
}
.cap::after { box-shadow: 0 0 16px color-mix(in srgb, var(--pal-accent) 85%, transparent); z-index: -1; }
.cap span { position: relative; }
.cap.on { transform: translateY(1px); color: #120d18; }
.cap.on::before, .cap.on::after { opacity: 1; }

.kb-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 26px auto 0 !important;
  padding: 9px 12px 9px 16px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.1);
  font-size: 15px !important;
  font-weight: 600;
  color: var(--text-primary) !important;
  max-width: none !important;
  min-height: 46px;
}
.kb-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: rgb(255 255 255 / 0.45); flex: none; transition: background 0.2s ease, box-shadow 0.2s ease; }
.kb-pill.live .dot { background: #FF5F57; box-shadow: 0 0 10px rgb(255 95 87 / 0.7); }
.kb-pill-keys { display: inline-flex; gap: 5px; }
.kb-pill-keys kbd { font-size: 13px !important; }
.kb-pill-keys:empty { display: none; }

/* ─── the Pounce panel ─── */

.pp {
  --row: 44px;
  --gap: 2px;
  --pad-t: 6px;
  --pad-b: 6px;
  --empty-h: 172px;
  --radius: 12px;
  --tile: 32px;
  --art: 22px;
  --sel-bg: color-mix(in srgb, var(--pal-accent) 14%, transparent);
  --hover-bg: rgb(255 255 255 / 0.04);
  --tile-bg: rgb(255 255 255 / 0.06);
  --shade: rgb(0 0 0 / 0.2);
  position: relative;
  width: min(640px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--pal-text);
  text-align: left;
  background:
    radial-gradient(420px circle at 4% -6%, color-mix(in srgb, var(--pal-accent) 7%, transparent), transparent),
    color-mix(in srgb, #fff 10%, var(--pal-base));
  box-shadow: 0 8px 48px rgb(0 0 0 / 0.45);
  transition: box-shadow 0.2s ease;
}
.pp::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  box-shadow: inset 0 0 0 1px var(--pal-border);
}
.pp > * { position: relative; z-index: 1; }
.pp[data-light] {
  --tile-bg: rgb(0 0 0 / 0.05);
  --hover-bg: rgb(0 0 0 / 0.04);
  --shade: rgb(0 0 0 / 0.03);
  background: radial-gradient(420px circle at 4% -6%, color-mix(in srgb, var(--pal-accent) 7%, transparent), transparent), var(--pal-base);
  box-shadow: 0 8px 48px rgb(0 0 0 / 0.1);
}
.pp[data-mat="glass"] {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--pal-accent) 22%, transparent), color-mix(in srgb, var(--pal-accent) 6%, transparent) 50%, transparent),
    linear-gradient(135deg, var(--pal-s1), var(--pal-s2), var(--pal-s3)),
    color-mix(in srgb, var(--pal-base) 50%, rgb(38 36 44 / 0.84));
  -webkit-backdrop-filter: blur(30px) saturate(1.6);
  backdrop-filter: blur(30px) saturate(1.6);
}
.pp[data-mat="glass"]::before { box-shadow: inset 0 0 0 0.5px var(--pal-border); }
.pp[data-mat="glass"][data-light] { background: rgb(250 250 250 / 0.9); }
.pp[data-mat="compact"] {
  --row: 36px;
  --gap: 0px;
  --pad-t: 4px;
  --pad-b: 8px;
  --radius: 26px;
  --art: 24px;
  --sel-bg: color-mix(in srgb, var(--pal-text) 10%, transparent);
  --hover-bg: color-mix(in srgb, var(--pal-text) 5%, transparent);
  background: color-mix(in srgb, var(--pal-base) 40%, rgb(32 32 35 / 0.8));
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  backdrop-filter: blur(30px) saturate(1.8);
}
.pp[data-mat="compact"]::before { box-shadow: inset 0 0 0 0.5px var(--pal-border); opacity: 0.8; }
.pp[data-mat="compact"][data-light] { background: color-mix(in srgb, var(--pal-base) 55%, rgb(236 236 240 / 0.82)); }
.pp-try:focus-within { box-shadow: 0 8px 48px rgb(0 0 0 / 0.45), 0 0 0 2px color-mix(in srgb, var(--pal-accent) 55%, transparent); }

.pp-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--pal-rule);
}
.pp[data-mat="compact"] .pp-field { gap: 8px; padding: 21px 16px 11px; border-bottom: 0; }
.pp-lead { flex: none; width: 16px; height: 16px; color: color-mix(in srgb, var(--pal-accent) 85%, transparent); }
.pp[data-mat="glass"] .pp-lead { width: 19px; height: 19px; }
.pp[data-mat="compact"] .pp-lead { width: 22px; height: 19px; stroke-width: 2.1; color: color-mix(in srgb, var(--pal-text) 60%, transparent); }
.pp-field input, .pp-q {
  flex: 1;
  min-width: 0;
  height: 32px;
  font: 400 18px/32px var(--sans);
  color: var(--pal-text);
  background: none;
  border: 0;
  padding: 0;
  outline: none;
  caret-color: var(--pal-accent);
}
.pp[data-mat="compact"] .pp-field input, .pp[data-mat="compact"] .pp-q { font-size: 20px; }
.pp-field input::placeholder { color: var(--pal-text3); opacity: 1; }
.pp[data-mat="compact"] .pp-field input::placeholder { color: color-mix(in srgb, var(--pal-text) 40%, transparent); }
.pp-field input:focus-visible { outline: none; }
.pp-q { display: flex; align-items: center; }
.caret { display: inline-block; width: 2px; height: 21px; margin-left: 1px; background: var(--pal-accent); border-radius: 1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.pp-scope, .pp-clear { -webkit-appearance: none; appearance: none; border: 0; background: none; margin: 0; font: inherit; }
.pp-scope {
  --c: var(--pal-accent);
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: -4px;
  padding: 4px 8px;
  border-radius: 999px;
  font: 600 11px/1 var(--mono);
  color: var(--c);
  background: color-mix(in srgb, var(--c) 18%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent);
  cursor: pointer;
}
.pp[data-mat="compact"] .pp-scope { --c: var(--pal-text); background: color-mix(in srgb, var(--c) 10%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 20%, transparent); }
.pp-scope[hidden] { display: none; }
.pp-scope b { font-weight: 600; }
.pp-scope-ico svg { display: block; width: 11px; height: 11px; stroke-width: 2.6; }
.pp-scope-x { width: 7px; height: 7px; opacity: 0.65; }
.pp-clear { flex: none; display: grid; place-items: center; width: 16px; height: 16px; padding: 0; color: var(--pal-text3); cursor: pointer; }
.pp-clear svg { width: 12px; height: 12px; }
.pp-clear[hidden] { display: none; }
.pp-gear { flex: none; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--pal-chip); color: var(--pal-text3); }
.pp-gear svg { width: 13px; height: 13px; }
.pp[data-mat="compact"] .pp-gear { width: 24px; height: 24px; background: none; color: color-mix(in srgb, var(--pal-text) 40%, transparent); }
.pp[data-mat="compact"] .pp-gear svg { width: 14px; height: 14px; }

.pp-results {
  position: relative;
  padding: var(--pad-t) 8px var(--pad-b);
  overflow: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--pal-text) 22%, transparent) transparent;
}
.pp-results.scroll { overflow-y: auto; }
.pp-results ul { display: flex; flex-direction: column; gap: var(--gap); list-style: none; margin: 0; padding: 0; position: relative; }
.pp-sel {
  position: absolute;
  left: 8px;
  right: 8px;
  top: var(--pad-t);
  height: var(--row);
  border-radius: 8px;
  background: var(--sel-bg);
  transform: translateY(calc(var(--sel, 0) * (var(--row) + var(--gap))));
  transition: transform 0.1s ease-out, opacity 0.12s ease-out;
}
.pp[data-mat="compact"] .pp-sel { border-radius: 10px; }
.pp-results.empty .pp-sel { opacity: 0; }
.pp-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 44px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.16s ease-out, visibility 0s 0.16s;
  pointer-events: none;
}
.pp-results.empty .pp-empty { opacity: 1; visibility: visible; transition: opacity 0.16s ease-out; }
.pp-empty svg { width: 28px; height: 28px; color: color-mix(in srgb, var(--pal-accent) 70%, transparent); }
.pp[data-mat="compact"] .pp-empty svg { color: color-mix(in srgb, var(--pal-text) 40%, transparent); }
.pp-empty b { font-size: 13px; font-weight: 600; color: var(--pal-text2); }
.pp-empty span { font-size: 11px; line-height: 1.45; color: var(--pal-text3); }

.pp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--row);
  padding: 0 10px;
  border-radius: 8px;
  cursor: default;
  transition: opacity 0.12s ease-out, transform 0.12s ease-out, background-color 0.12s ease-out;
}
.pp-row.enter { opacity: 0; transform: translateY(3px); transition: none; }
.pp-row.stat.sel { background: var(--sel-bg); }
@media (hover: hover) and (pointer: fine) {
  .pp-try .pp-row:not(.sel):hover { background: var(--hover-bg); }
}
.pp-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: var(--tile);
  height: var(--tile);
  border-radius: 8px;
  background: var(--tile-bg);
  transition: background-color 0.1s ease-out;
}
.pp-row.sel .pp-ico { background: color-mix(in srgb, var(--pal-accent) 18%, transparent); }
.pp[data-mat="compact"] .pp-ico, .pp[data-mat="compact"] .pp-row.sel .pp-ico { width: var(--art); height: var(--art); background: none; }
.pp-art {
  display: grid;
  place-items: center;
  width: var(--art);
  height: var(--art);
  border-radius: calc(var(--art) * 0.25);
  color: #fff;
  box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.45), inset 0 0 0 0.5px rgb(0 0 0 / 0.12), 0 1px 1.5px rgb(0 0 0 / 0.28);
  position: relative;
  overflow: hidden;
}
.pp-art::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(rgb(255 255 255 / 0.22), rgb(255 255 255 / 0) 52%);
  pointer-events: none;
}
.pp-art svg { position: relative; z-index: 1; width: 64%; height: 64%; stroke-width: 2.3; }
.pp-art.sym {
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 76%, #fff), var(--tint) 58%, color-mix(in srgb, var(--tint) 82%, #000));
}
.pp-art.app svg { width: 66%; height: 66%; }
.pp-art.pp-file { border-radius: 0; box-shadow: none; overflow: visible; filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.3)); }
.pp-art.pp-file::after { display: none; }
.pp-art.pp-file svg { width: 100%; height: 100%; }
.pp-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.pp-t { font-size: 14px; font-weight: 600; line-height: 17px; color: var(--pal-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pp-s { font-size: 11px; line-height: 13px; color: var(--pal-text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-s:empty { display: none; }
.pp[data-mat="compact"] .pp-tx { flex-direction: row; align-items: baseline; gap: 10px; }
.pp[data-mat="compact"] .pp-t { flex: none; max-width: 70%; font-size: 13px; font-weight: 400; }
.pp[data-mat="compact"] .pp-s { flex: 1; min-width: 0; font-size: 12px; color: color-mix(in srgb, var(--pal-text) 60%, transparent); }

.pp-tag, .pp-run, .pp-kind, .pp-act { display: none; flex: none; }
.pp-row.lic .pp-tag, .pp-foot .pp-tag {
  display: inline-block;
  font: 600 8.5px/1 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 999px;
  color: var(--pal-accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-accent) 40%, transparent);
}
.pp-row.running .pp-run { display: block; width: 7px; height: 7px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 6px rgb(46 204 113 / 0.45); }
.pp-ret {
  flex: none;
  font: 600 9px/1 var(--mono);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--pal-text3);
  padding: 3px 6px;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--pal-rule);
}
.pp-row.sel.acts .pp-ret, .pp-row.sel.acts .pp-run { display: none; }
.pp-row.sel.acts .pp-act {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: var(--pal-text2);
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--pal-chip);
  box-shadow: inset 0 0 0 1px var(--pal-rule);
}
.pp-act b { font: 700 9px/1 var(--mono); }
.pp[data-mat="compact"] .pp-ret, .pp[data-mat="compact"] .pp-act, .pp[data-mat="compact"] .pp-row.sel.acts .pp-act, .pp[data-mat="compact"] .pp-run { display: none; }
.pp[data-mat="compact"] .pp-kind { display: block; font-size: 12px; color: color-mix(in srgb, var(--pal-text) 60%, transparent); }
.pp[data-mat="compact"] .pp-row { gap: 10px; padding: 0 8px; border-radius: 10px; }

.pp-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 7px 14px;
  border-top: 1px solid var(--pal-rule);
  background: var(--shade);
  font-size: 10px;
  color: var(--pal-text3);
  white-space: nowrap;
}
.pp-hints { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 14px; height: 16px; overflow: hidden; }
.pp-hint { display: inline-flex; align-items: center; gap: 4px; height: 16px; }
.pp-hint b { font: 700 9px/1 var(--mono); padding: 2px 5px; border-radius: 3px; background: var(--pal-chip); color: var(--pal-text2); }
.pp-badge { font: 600 10px/1 var(--mono); color: var(--pal-text3); }
.pp-badge:empty { display: none; }
.pp-help { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--pal-chip); font: 700 10px/1 var(--mono); color: var(--pal-text3); }
.pp-label { font-size: 10px; font-weight: 500; color: color-mix(in srgb, var(--pal-text3) 50%, transparent); max-width: 260px; overflow: hidden; text-overflow: ellipsis; transition: color 0.15s ease-out; }
.pp.flash .pp-label { color: var(--pal-accent); }
.pp-foot .pp-tag[hidden] { display: none; }
.pp-cfoot { display: none; align-items: center; gap: 8px; height: 52px; padding: 0 8px; }
.pp[data-mat="compact"] .pp-foot { display: none; }
.pp[data-mat="compact"] .pp-cfoot { display: flex; }
.pp-menu { flex: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; width: 36px; height: 36px; padding-left: 11px; border-radius: 50%; background: color-mix(in srgb, var(--pal-text) 5%, transparent); }
.pp-menu i { display: block; width: 14px; height: 1.5px; border-radius: 1px; background: color-mix(in srgb, var(--pal-text) 60%, transparent); }
.pp-menu i + i { width: 8px; }
.pp-cstatus { min-width: 0; font-size: 12px; color: var(--pal-accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity 0.15s ease-out; }
.pp.flash .pp-cstatus { opacity: 1; }
.pp-cbar { margin-left: auto; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--pal-text) 5%, transparent); }
.pp-cbtn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 500; color: color-mix(in srgb, var(--pal-text) 60%, transparent); white-space: nowrap; }
.pp-cbtn.primary { color: var(--pal-text); }
.pp-cbtn[hidden] { display: none; }
.pp-cbtn kbd { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; margin-left: -2px; border-radius: 6px; font: 400 10px/1 var(--sans); color: color-mix(in srgb, var(--pal-text) 60%, transparent); background: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-text) 20%, transparent); }
.pp-cbtn kbd:first-of-type { margin-left: 0; }

.chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; max-width: 620px; margin: 24px auto 0; }
.chip-q {
  font: 500 14px/1 var(--sans);
  color: var(--text-secondary);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.1);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.12s ease;
}
.chip-q:hover { background: rgb(255 255 255 / 0.08); color: var(--text-primary); }
.chip-q:active { transform: scale(0.97); }
.chip-q:focus-visible { outline: 2px solid var(--pal-accent); outline-offset: 2px; }
.chip-q.on { color: var(--text-primary); background: color-mix(in srgb, var(--pal-accent) 16%, transparent); border-color: color-mix(in srgb, var(--pal-accent) 55%, transparent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ─── windows ─── */

.desk-wrap { width: 100%; max-width: 580px; perspective: 1000px; }
.desk {
  position: relative;
  aspect-ratio: 560 / 300;
  border-radius: 14px;
  overflow: hidden;
  transform: rotateX(8deg);
  transform-origin: 50% 100%;
  background:
    radial-gradient(60% 80% at 20% 10%, rgb(255 255 255 / 0.12), transparent 70%),
    radial-gradient(70% 90% at 75% 85%, color-mix(in srgb, var(--pal-accent) 45%, transparent), transparent 70%),
    linear-gradient(135deg, color-mix(in srgb, var(--pal-accent) 65%, #000), #07050F 55%, color-mix(in srgb, #3A9EFF 40%, #000));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 26px 50px rgb(0 0 0 / 0.5), 0 0 60px color-mix(in srgb, var(--pal-accent) 18%, transparent);
}
.desk-menubar {
  position: absolute;
  inset: 0 0 auto 0;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px;
  background: rgb(0 0 0 / 0.28);
  color: rgb(255 255 255 / 0.82);
  z-index: 5;
}
.desk-menubar svg { width: 11px; height: 11px; }
.desk-menubar .tray { color: var(--pal-accent); width: 12px; height: 12px; }
.desk-menubar i { height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.45); }
.desk-menubar .sp { flex: 1; }
.win { position: absolute; inset: 0; pointer-events: none; }
.win-skin, .win-content { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.win-skin {
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 6px 14px rgb(0 0 0 / 0.32);
  transition: box-shadow 0.2s ease;
}
.win-browser .win-skin { background: #1c1c1e; }
.win-notes .win-skin { background: #242426; }
.win.front .win-skin { box-shadow: inset 0 0 0 1.25px color-mix(in srgb, var(--pal-accent) 85%, transparent), 0 10px 24px rgb(0 0 0 / 0.5); }
.win-bar { display: flex; align-items: center; gap: 5px; height: 21px; padding: 0 9px; }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #FF5F57; opacity: 0.35; transition: opacity 0.2s ease; }
.win-bar i:nth-child(2) { background: #FEBC2E; }
.win-bar i:nth-child(3) { background: #28C840; }
.win.front .win-bar i { opacity: 0.95; }
.win-bar .url { height: 10px; width: 46%; margin-left: 10px; border-radius: 4px; background: rgb(255 255 255 / 0.08); }
.win-body { display: flex; flex-direction: column; gap: 7px; padding: 8px 11px; }
.win-body .banner { height: 36px; border-radius: 4px; background: linear-gradient(90deg, color-mix(in srgb, var(--pal-accent) 60%, transparent), rgb(58 158 255 / 0.38)); }
.win-body .ln { height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.15); }
.win-body .ln.l1 { background: rgb(255 255 255 / 0.32); }
.win-body .ln.short { width: 30%; }
.win-body .ttl { width: 44px; height: 5px; border-radius: 2px; background: rgb(243 156 18 / 0.78); }

.snaps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.snap {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 7px;
  border: 0;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.035);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.12s ease;
}
.snap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 22px color-mix(in srgb, var(--pal-accent) 50%, transparent);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.snap kbd {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  font: 600 13.5px/1 var(--rounded);
  color: var(--text-primary);
  background: rgb(255 255 255 / 0.07);
  border: 1px solid rgb(255 255 255 / 0.13);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.35);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.snap:hover { background: rgb(255 255 255 / 0.07); }
.snap:active { transform: scale(0.97); }
.snap.on { background: color-mix(in srgb, var(--pal-accent) 15%, transparent); }
.snap.on::after { opacity: 1; }
.snap.on kbd { background: var(--pal-accent); color: var(--on-accent); border-color: transparent; }

/* ─── stash ─── */

.stash-fit { width: 100%; max-width: 640px; height: calc(300px * var(--s, 1)); position: relative; }
.stash-stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 640px;
  height: 300px;
  transform: scale(var(--s, 1));
  transform-origin: 0 0;
}
.stash-stage.narrow { width: 520px; }
.stash-stage.narrow .shelf { left: 268px; }
.finder {
  position: absolute;
  left: 16px;
  top: 40px;
  width: 260px;
  height: 214px;
  border-radius: 13px;
  background: #1f1e21;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.12), 0 18px 34px rgb(0 0 0 / 0.45);
  overflow: hidden;
}
.finder-bar { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; background: rgb(255 255 255 / 0.04); }
.finder-bar i { width: 8px; height: 8px; border-radius: 50%; background: #FF5F57; }
.finder-bar i:nth-child(2) { background: #FEBC2E; }
.finder-bar i:nth-child(3) { background: #28C840; }
.finder-bar b { flex: 1; text-align: center; margin-right: 34px; font-size: 11.5px; font-weight: 600; color: rgb(255 255 255 / 0.62); }
.finder-slot {
  position: absolute;
  left: 46px;
  top: 58px;
  width: 80px;
  height: 108px;
  border-radius: 8px;
  border: 1px dashed rgb(255 255 255 / 0.2);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.stash-stage.away .finder-slot { opacity: 1; }
.finder-doc { position: absolute; left: 150px; top: 62px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.finder-doc b { font-size: 10.5px; font-weight: 500; color: rgb(255 255 255 / 0.58); }
.doc { display: flex; flex-direction: column; gap: 4px; width: 58px; height: 74px; padding: 8px; border-radius: 5px; background: rgb(255 255 255 / 0.92); }
.doc i { height: 3px; border-radius: 2px; background: rgb(0 0 0 / 0.18); }
.doc i:first-child { width: 26px; height: 5px; background: #3A9EFF; margin-bottom: 2px; }

.shelf {
  position: absolute;
  left: 380px;
  top: 128px;
  width: 244px;
  height: 152px;
  padding: 14px 16px;
  border-radius: 18px;
  background:
    linear-gradient(color-mix(in srgb, var(--pal-accent) 9%, transparent), color-mix(in srgb, var(--pal-accent) 9%, transparent)),
    rgb(16 14 17 / 0.94);
  box-shadow:
    inset 0 0 0 1.2px color-mix(in srgb, var(--pal-accent) 32%, transparent),
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 0 26px color-mix(in srgb, var(--pal-accent) 16%, transparent),
    0 14px 28px rgb(0 0 0 / 0.4);
  transform: translateY(18px) scale(0.4);
  transform-origin: 50% 100%;
  opacity: 0;
  transition: transform var(--spring-t) var(--spring), opacity 0.2s ease;
}
.shelf::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--pal-accent) 80%, transparent), 0 0 34px color-mix(in srgb, var(--pal-accent) 45%, transparent);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.stash-stage.shelf-up .shelf { transform: none; opacity: 1; }
.stash-stage.hot .shelf::after { opacity: 1; }
.shelf-head { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.shelf-head svg { width: 14px; height: 14px; }
.shelf-head .n { margin-left: auto; font: 600 12.5px var(--mono); }
.shelf-slots { display: flex; gap: 12px; margin-top: 12px; }
.shelf-slots i { width: 60px; height: 82px; border-radius: 9px; border: 1px dashed rgb(255 255 255 / 0.13); }

.file {
  position: absolute;
  left: 0;
  top: 0;
  width: 84px;
  height: 116px;
  margin: -58px 0 0 -42px;
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  will-change: transform;
  z-index: 4;
}
.file.dragging { cursor: grabbing; }
.file:focus-visible { outline-offset: 6px; }
.thumb {
  position: relative;
  width: 72px;
  height: 90px;
  padding: 6px 6px 0;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 3px 8px rgb(0 0 0 / 0.25);
  transition: box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.file.lifted .thumb { box-shadow: 0 16px 30px rgb(0 0 0 / 0.55); }
.thumb .pic {
  height: 50px;
  border-radius: 3px;
  background:
    linear-gradient(transparent, transparent),
    linear-gradient(#F39C12, #FF5188);
  position: relative;
  overflow: hidden;
}
.thumb .pic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #161418;
  opacity: 0.88;
  clip-path: polygon(0 100%, 30% 45%, 50% 70%, 72% 35%, 100% 100%);
}
.thumb i { height: 3.5px; width: 46px; border-radius: 2px; background: rgb(0 0 0 / 0.24); }
.thumb i + i { width: 32px; background: rgb(0 0 0 / 0.14); }
.thumb .fold { position: absolute; top: 0; right: 0; width: 13px; height: 13px; background: linear-gradient(225deg, #fff 50%, #d0d0d0 50%); border-bottom-left-radius: 3px; }
.file .name {
  font-size: 11px;
  font-weight: 600;
  color: var(--on-accent);
  background: var(--pal-accent);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.file.parked .name { opacity: 0; }
.cursor { position: absolute; left: 0; top: 0; width: 15px; height: 22px; opacity: 0; z-index: 5; pointer-events: none; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.4)); transition: opacity 0.2s ease; }
.cursor.on { opacity: 1; }
.stash-status { margin: 22px 0 0; font-size: 14.5px; color: var(--text-tertiary); text-align: center; min-height: 1.5em; }

/* ─── make it yours ─── */

.theme-stage { padding-top: 8px; min-height: 236px; }
.pp-theme { width: min(640px, 100%); }
.pp-theme.ghost { position: absolute; left: 50%; top: 0; transform: translateX(-50%); pointer-events: none; transition: opacity 0.32s ease, transform 0.32s ease; }
.theme-stage { position: relative; }
.pp-theme.fresh { opacity: 0; transform: scale(0.985); }
.pp-theme { transition: opacity 0.32s ease, transform 0.32s ease; }
.materials { display: flex; justify-content: center; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.mat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  font: 500 15px var(--sans);
  color: var(--text-secondary);
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.mat svg { width: 16px; height: 16px; }
.mat:hover { color: var(--text-primary); }
.mat[aria-checked="true"] {
  color: var(--text-primary);
  font-weight: 600;
  background: color-mix(in srgb, var(--pal-accent) 20%, transparent);
  border-color: color-mix(in srgb, var(--pal-accent) 60%, transparent);
}
.swatches { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; margin-top: 20px; }
.swatch {
  position: relative;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--b);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16);
  transition: transform 0.38s var(--spring-key);
}
.swatch::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--a); }
.swatch::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--a);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.swatch[aria-checked="true"] { transform: scale(1.08); }
.swatch[aria-checked="true"]::after { opacity: 1; }
.swatch:focus-visible { outline-offset: 5px; border-radius: 50%; }
.swatch-name { margin: 14px 0 0 !important; font-size: 13.5px !important; color: var(--text-tertiary) !important; min-height: 1.5em; }
.swatch-name b { color: var(--accent-text); font-weight: 600; }

/* ─── permission ─── */

.ax {
  width: 100%;
  max-width: 560px;
  padding: 18px 18px 18px;
  border-radius: 18px;
  background: linear-gradient(#29272c, #1f1d22);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.14), 0 28px 50px rgb(0 0 0 / 0.5);
}
.ax-bar { display: flex; align-items: center; gap: 7px; height: 26px; }
.ax-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.ax-bar i:nth-child(2) { background: #FEBC2E; }
.ax-bar i:nth-child(3) { background: #28C840; }
.ax-bar svg { width: 17px; height: 17px; margin-left: 16px; color: rgb(255 255 255 / 0.4); }
.ax-bar b { font-size: 17px; font-weight: 700; }
.ax-lede { margin: 14px 2px 12px !important; font-size: 13.5px !important; color: var(--text-secondary) !important; }
.ax-list { border-radius: 12px; background: rgb(255 255 255 / 0.04); overflow: hidden; }
.ax-row { position: relative; display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 14px; }
.ax-row + .ax-row { border-top: 1px solid rgb(255 255 255 / 0.07); }
.ax-row.hutch { background: color-mix(in srgb, var(--pal-accent) 12%, transparent); transition: background 0.3s ease; }
.ax-row.hutch.granted { background: rgb(255 255 255 / 0.02); }
.ax-app { width: 40px; height: 40px; border-radius: 10px; border: 1px dashed rgb(255 255 255 / 0.2); background: rgb(255 255 255 / 0.04); }
.ax-name { width: 150px; height: 7px; border-radius: 4px; background: rgb(255 255 255 / 0.12); margin-right: auto; }
.ax-icon { width: 40px; height: 40px; filter: drop-shadow(0 3px 6px rgb(0 0 0 / 0.4)); }
.ax-title { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-size: 16px; font-weight: 600; }
.ax-ok { width: 22px; height: 22px; color: var(--teal); opacity: 0; transform: scale(0.5); transition: opacity 0.2s ease, transform 0.5s var(--spring-key); }
.granted .ax-ok { opacity: 1; transform: none; }
.sw {
  position: relative;
  flex: none;
  width: 52px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.13);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  transition: background 0.2s ease, box-shadow 0.25s ease;
}
button.sw { cursor: pointer; }
.sw i {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.3);
  transition: transform 0.42s var(--spring-key);
}
.sw.on { background: rgb(255 255 255 / 0.22); }
.sw.on i, .sw[aria-checked="true"] i { transform: translateX(22px); }
.sw.on i { background: rgb(255 255 255 / 0.62); }
.sw[aria-checked="true"] { background: var(--teal); box-shadow: 0 0 18px rgb(46 204 113 / 0.55); }
.burst { position: absolute; right: 40px; top: 50%; width: 0; height: 0; pointer-events: none; }
.burst span { position: absolute; left: 0; top: 0; border-radius: 50%; }
.perm-status {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin-top: 24px !important;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 15px !important;
  font-weight: 600;
  color: var(--amber) !important;
  background: rgb(243 156 18 / 0.12);
  transition: color 0.2s ease, background 0.2s ease;
}
.perm-status svg { width: 19px; height: 19px; }
.perm-status.ok { color: #4BDB8A !important; background: rgb(46 204 113 / 0.12); }

.trust {
  list-style: none;
  margin: 72px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.trust b { display: block; font-size: 16px; font-weight: 650; margin-bottom: 6px; }
.trust span { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }

.sec-price:not(.live) .shimmer { animation-play-state: paused; }
.sec-price .cta-row { margin-top: 30px; }
.cta-band { border-top: 0; }

/* ─── responsive ─── */

@media (max-width: 980px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-copy { order: 0; }
  .split-copy { text-align: center; }
  .split-copy p { margin-left: auto; margin-right: auto; }
  .sec-split .glow, .sec-stash .glow { left: 50%; top: 30%; }
  .kb { --u: 38px; }
}
@media (max-width: 720px) {
  .hero-fan { --k: 0.62; --ky: 1.02; --cy: 82px; height: 250px; margin-top: 12px; }
  .hero-icon { width: 112px; height: 112px; margin: -56px 0 0 -56px; }
  .hero-fan::before { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .fan-tool b { display: none; }
  .fan-tool .tile { width: 46px; height: 46px; border-radius: 12px; }
  .fan-tool { gap: 0; }
  .hero-copy .sub { font-size: 16.5px; }
  .tool-grid { grid-template-columns: 1fr; }
  .kb { --u: 22px; padding: 8px; border-radius: 12px; transform: rotateX(18deg); }
  .cap { font-size: 9px; }
  .trust { grid-template-columns: 1fr; gap: 22px; margin-top: 52px; }
  .pp-field input, .pp-q { font-size: 17px; }
  .pp-help { display: none; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 22px calc(28px * -1) 0; padding: 2px 28px; scroll-padding-inline: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .snap kbd { min-width: 24px; height: 24px; font-size: 11.5px; padding: 0 4px; border-radius: 6px; }
  .snaps { gap: 5px; }
  .snap { padding: 5px; gap: 3px; }
  .ax-name { width: 90px; }
}
@media (max-width: 560px) {
  .kb-pill { font-size: 13.5px !important; padding: 9px 14px; }
  .kb-pill-keys { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal .rise,
  .js .stage-hero .hero-icon,
  .js .stage-hero .fan-tool { transform: none; }
  .js .stage-hero .fan-tool { transform: translate(calc(var(--x) * var(--k) * 1px - 50%), calc(var(--y) * var(--ky, var(--k)) * 1px - 28px)) rotate(var(--r)); }
  .js .reveal.in .rise,
  .js .stage-hero.in .hero-icon,
  .js .stage-hero.in .fan-tool { transition: opacity 0.3s ease; }
  .caret { animation: none; }
  .cap, .tile, .swatch, .sw i, .ax-ok, .pp-row, .pp-sel, .shelf { transition-property: opacity, color, background, box-shadow; }
  .pp-sel { transition: opacity 0.12s ease-out; }
}
.sec-try .container { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 492px; justify-items: center; }
.sec-try .container > .pp-try { align-self: start; order: 1; }
.sec-try .container > .sec-head { width: 100%; min-width: 0; order: 0; margin-bottom: 36px; }
@media (max-width: 560px) {
  .sec-try .container { grid-template-rows: auto 292px; }
  .sec-try .container > .sec-head { margin-bottom: 24px; }
  .pp-try .pp-row.sel.acts .pp-act { font-size: 0; gap: 0; padding: 4px 7px; }
  .pp-try .pp-hint:nth-child(n+2), .pp-try .pp-badge { display: none; }
  .pp-try .pp-field { gap: 10px; padding: 13px 14px; }
  .pp-try .pp-row { gap: 9px; padding: 0 8px; }
  .pp-try .pp-cbtn.act { display: none; }
  .pp-try .pp-cbtn { padding: 0 6px; }
}

/* ─── showcase stages ─── */

.show {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--pal-accent) 22%, #15121b), #0c0a10 70%);
  box-shadow: 0 30px 60px -24px rgb(0 0 0 / 0.65), 0 0 0 1px rgb(255 255 255 / 0.07);
}
.show::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1);
  pointer-events: none;
}
.show > .mesh { -webkit-mask-image: none; mask-image: none; inset: 0; }
.sec:not(.live) .show .mesh i { animation-play-state: paused; }
.show-status { margin: 20px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--text-tertiary); text-align: center; min-height: 1.5em; text-wrap: balance; }
.split-copy .aside .tier, .sec-head .aside .tier { margin-right: 8px; vertical-align: 1px; }
.sec-head .aside { font-size: 15px !important; color: var(--text-tertiary) !important; margin-top: 16px !important; }
.sec-browsers .sec-head:not(.center) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: end; margin-bottom: 36px; }
.sec-browsers .sec-head h2 { grid-row: span 2; align-self: end; margin: 0; }
.sec-browsers .sec-head .aside { margin-top: 12px !important; }
.sec-browsers .glow, .sec-reaper .glow { top: 22%; }

.tc-see {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 4px 3px 8px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--tc) 70%, white);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.tc-see svg { width: 14px; height: 14px; transition: transform 0.38s var(--spring-key); }
.tc-see:hover { background: color-mix(in srgb, var(--tc) 14%, transparent); color: #fff; }
@media (hover: hover) and (pointer: fine) { .tc-see:hover svg { transform: translateY(2px); } }
.tc-see:focus-visible { outline: 2px solid var(--tc); outline-offset: 2px; }

/* ─── toggles ─── */

.tgl { height: 500px; max-width: 620px; color: #1d1b22; }
.tgl-dim { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.tgl-dim::before, .tgl-dim::after { content: ""; position: absolute; inset: 0; transition: opacity 0.6s ease; }
.tgl-dim::before { background: radial-gradient(120% 90% at 30% 10%, rgb(255 246 255 / 0.5), rgb(220 205 255 / 0.22) 55%, rgb(180 160 240 / 0.12)); }
.tgl-dim::after { background: rgb(5 4 9 / 0.5); opacity: 0; }
.tgl.is-dark .tgl-dim::before { opacity: 0; }
.tgl.is-dark .tgl-dim::after { opacity: 1; }
.tgl-bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 6;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 0 14px;
  background: rgb(246 244 250 / 0.62);
  color: #1d1b22;
  transition: background-color 0.6s ease, color 0.6s ease;
}
.tgl.is-dark .tgl-bar { background: rgb(14 12 18 / 0.6); color: rgb(255 255 255 / 0.92); }
.tgl-apple { width: 13px; height: 13px; }
.tgl-bar > i { height: 5px; border-radius: 3px; background: currentColor; opacity: 0.42; }
.tgl-bar .sp { flex: 1; }
.tgl-ind { width: 14px; height: 14px; opacity: 0; transform: scale(0.6); transition: opacity 0.2s ease, transform 0.38s var(--spring-key); }
.tgl.is-focus [data-ind="focus"], .tgl.is-cafe [data-ind="cafe"] { opacity: 1; transform: none; }
.tgl-item {
  display: grid;
  place-items: center;
  width: 30px;
  height: 22px;
  margin: 0 -4px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.tgl-item svg { width: 16px; height: 16px; }
.tgl-item:hover, .tgl-item[aria-expanded="true"] { background: rgb(0 0 0 / 0.12); }
.tgl.is-dark .tgl-item:hover, .tgl.is-dark .tgl-item[aria-expanded="true"] { background: rgb(255 255 255 / 0.18); }
.tgl-item:focus-visible { outline: 2px solid var(--pal-accent); outline-offset: 1px; }
.tgl-clock { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.tgl-win {
  position: absolute;
  left: 5%;
  top: 62px;
  z-index: 1;
  width: 54%;
  height: 210px;
  border-radius: 11px;
  overflow: hidden;
  background: #f4f3f7;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.08), 0 18px 36px -8px rgb(0 0 0 / 0.45);
  transition: background-color 0.6s ease;
}
.tgl.is-dark .tgl-win { background: #262429; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 18px 36px -8px rgb(0 0 0 / 0.6); }
.tgl-win-bar { display: flex; gap: 6px; padding: 11px 12px; }
.tgl-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; }
.tgl-win-bar i:nth-child(2) { background: #FEBC2E; }
.tgl-win-bar i:nth-child(3) { background: #28C840; }
.tgl-win-body { display: flex; flex-direction: column; gap: 9px; padding: 8px 16px; }
.tgl-win-body .ttl { width: 46%; height: 9px; border-radius: 3px; background: var(--pal-accent); opacity: 0.8; margin-bottom: 4px; }
.tgl-win-body .ln { height: 5px; border-radius: 3px; background: rgb(0 0 0 / 0.13); transition: background-color 0.6s ease; }
.tgl.is-dark .tgl-win-body .ln { background: rgb(255 255 255 / 0.15); }

.tgl-icons { position: absolute; left: 4%; bottom: 74px; z-index: 1; display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tgl-icons li { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 68px; transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.tgl-icons li:nth-child(2) { transition-delay: 0.03s; }
.tgl-icons li:nth-child(3) { transition-delay: 0.06s; }
.tgl.is-desk .tgl-icons li { opacity: 0; transform: scale(0.88); }
.tgl-icons b { font-size: 10.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.7); white-space: nowrap; }
.tgl-folder { position: relative; width: 44px; height: 34px; margin-top: 6px; border-radius: 4px 4px 6px 6px; background: linear-gradient(#7CC7FF, #3D97F0); box-shadow: 0 3px 6px rgb(0 0 0 / 0.3); }
.tgl-folder::before { content: ""; position: absolute; left: 0; top: -5px; width: 18px; height: 8px; border-radius: 3px 3px 0 0; background: #5FB2FA; }
.tgl-doc { display: flex; flex-direction: column; gap: 4px; width: 32px; height: 40px; padding: 7px 6px; border-radius: 3px; background: #fff; box-shadow: 0 3px 6px rgb(0 0 0 / 0.3); }
.tgl-doc i { height: 2.5px; border-radius: 1px; background: rgb(0 0 0 / 0.2); }
.tgl-doc i:first-child { width: 60%; background: #EF4B3F; height: 4px; }
.tgl-shot { width: 44px; height: 32px; margin-top: 8px; border-radius: 3px; border: 2px solid #fff; background: linear-gradient(135deg, var(--pal-accent), #3A9EFF); box-shadow: 0 3px 6px rgb(0 0 0 / 0.3); }

.tgl-dock {
  position: absolute;
  left: 4%;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 14px;
  background: rgb(255 255 255 / 0.2);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22), 0 10px 24px -8px rgb(0 0 0 / 0.5);
  transition: background-color 0.6s ease;
}
.tgl.is-dark .tgl-dock { background: rgb(30 28 36 / 0.6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 10px 24px -8px rgb(0 0 0 / 0.5); }
.tgl-dock i { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(color-mix(in srgb, var(--c) 70%, #fff), var(--c)); }
.tgl-dock .sep { width: 1px; height: 22px; background: rgb(255 255 255 / 0.3); }
.tgl-trash { display: grid; place-items: center; width: 26px; height: 26px; color: #fff; }
.tgl-trash svg { width: 22px; height: 22px; overflow: visible; }
.tgl-trash .paper { transition: opacity 0.3s ease, transform 0.3s var(--ease-out); }
.tgl.is-emptied .tgl-trash .paper { opacity: 0; transform: translateY(5px); }

.tgl-night { position: absolute; inset: 0; z-index: 15; background: rgb(255 138 30 / 0.16); opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.tgl.is-night .tgl-night { opacity: 1; }

.tgl-pop {
  --nub: 50%;
  position: absolute;
  top: 37px;
  right: 14px;
  z-index: 8;
  width: 300px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  color: var(--text-primary);
  background:
    radial-gradient(260px circle at 20% -10%, color-mix(in srgb, var(--pal-accent) 18%, transparent), transparent),
    color-mix(in srgb, var(--pal-base) 55%, #1d1b22);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 26px 50px -12px rgb(0 0 0 / 0.7);
  transform-origin: var(--nub) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.96);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0s 0.15s;
}
.tgl.open .tgl-pop { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease-out, transform 0.42s var(--spring), visibility 0s; }
.tgl-nub { position: absolute; top: -6px; left: calc(var(--nub) - 7px); width: 14px; height: 14px; border-radius: 3px 0 0 0; background: color-mix(in srgb, var(--pal-base) 55%, #1d1b22); box-shadow: -1px -1px 0 rgb(255 255 255 / 0.1); transform: rotate(45deg); }
.tgl-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px; }
.tgl-head img { width: 28px; height: 28px; border-radius: 7px; }
.tgl-head > span:nth-child(2) { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.tgl-head b { font-size: 14px; font-weight: 700; }
.tgl-head small { font-size: 10.5px; font-weight: 500; color: var(--text-tertiary); }
.tgl-gear { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); color: var(--text-secondary); }
.tgl-gear svg { width: 13px; height: 13px; }
.tgl-search { display: flex; align-items: center; gap: 7px; height: 30px; margin: 0 12px 12px; padding: 0 10px; border-radius: 9px; background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); color: var(--text-tertiary); }
.tgl-search:focus-within { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-accent) 60%, transparent); }
.tgl-search svg { width: 12px; height: 12px; flex: none; }
.tgl-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; outline: none; font: 400 12.5px var(--sans); color: var(--text-primary); caret-color: var(--pal-accent); -webkit-appearance: none; appearance: none; }
.tgl-search input::placeholder { color: var(--text-tertiary); opacity: 1; }
.tgl-search input::-webkit-search-cancel-button { display: none; }
.tgl-list { display: flex; flex-direction: column; gap: 7px; max-height: 286px; margin: 0; padding: 12px; list-style: none; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid rgb(255 255 255 / 0.06); scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.18) transparent; }
.tgl-list li[hidden], .tgl-list[hidden] { display: none; }
.tgl-row {
  --t: var(--pal-accent);
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 52px;
  padding: 9px 11px;
  border: 0;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.025);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.32s var(--spring-key);
}
.tgl-row.on { background: color-mix(in srgb, var(--pal-accent) 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-accent) 28%, transparent); }
.tgl-row.live { background: color-mix(in srgb, var(--t) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t) 40%, transparent), 0 3px 10px color-mix(in srgb, var(--t) 30%, transparent); }
.tgl-row:active, .tgl-row.tap { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .tgl-row:hover { background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
  .tgl-row.live:hover { background: color-mix(in srgb, var(--t) 20%, transparent); }
}
.tgl-row:focus-visible { outline: 2px solid var(--pal-accent); outline-offset: 1px; }
.tgl-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06); color: var(--t); transition: background-color 0.2s ease, color 0.2s ease; }
.tgl-ico svg { width: 16px; height: 16px; }
.tgl-row.on .tgl-ico { background: color-mix(in srgb, var(--pal-accent) 20%, transparent); }
.tgl-row.live .tgl-ico { background: linear-gradient(color-mix(in srgb, var(--t) 80%, #fff), var(--t)); color: #fff; box-shadow: 0 2px 8px color-mix(in srgb, var(--t) 50%, transparent); }
.tgl-tx { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.tgl-tx b { font-size: 13px; font-weight: 600; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgl-tx small { font-size: 10px; line-height: 13px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tgl-row.live .tgl-tx small { color: color-mix(in srgb, var(--t) 70%, white); font-weight: 600; }
.tgl-tx small[hidden] { display: none; }
.tgl-sw { position: relative; display: block; flex: none; width: 30px; height: 18px; border-radius: 999px; background: rgb(255 255 255 / 0.16); transition: background-color 0.2s ease; }
.tgl-sw i { position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 0.35); transition: transform 0.38s var(--spring-key); }
.tgl-row.on .tgl-sw { background: var(--t); }
.tgl-row.on .tgl-sw i { transform: translateX(12px); }
.tgl-chev { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: color-mix(in srgb, var(--t) 18%, transparent); color: var(--t); }
.tgl-chev svg { width: 12px; height: 12px; }
.tgl-none { margin: 0; padding: 30px 16px; font-size: 12px; font-weight: 500; text-align: center; color: var(--text-tertiary); border-top: 1px solid rgb(255 255 255 / 0.06); }
.tgl-foot { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px 10px; border-top: 1px solid rgb(255 255 255 / 0.06); color: var(--text-secondary); }
.tgl-open { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--text-primary); background: color-mix(in srgb, var(--pal-accent) 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-accent) 45%, transparent); }
.tgl-open img { width: 18px; height: 18px; border-radius: 5px; }
.tgl-foot svg { width: 15px; height: 15px; }

/* ─── browser picker ─── */

.bpk { padding: 26px; }
.bpk-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 0.78fr); gap: 26px; align-items: start; }
.bpk-apps { position: relative; height: 296px; }
.bpk-win {
  position: absolute;
  inset: 26px 0 0 0;
  border-radius: 12px;
  overflow: hidden;
  background: #1c1a20;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 22px 44px -14px rgb(0 0 0 / 0.7);
  transform-origin: 50% 0;
  transition: transform 0.6s var(--spring), opacity 0.3s ease;
}
.bpk-win.back { z-index: 0; transform: translateY(-24px) scale(0.92); opacity: 0.55; }
.bpk-win.front { z-index: 1; }
.bpk-tab { position: absolute; inset: 0; z-index: 2; padding: 0; border: 0; background: none; cursor: pointer; border-radius: inherit; }
.bpk-win.front .bpk-tab { display: none; }
.bpk-tab:focus-visible { outline: 2px solid var(--pal-accent); outline-offset: -2px; }
.bpk-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid rgb(255 255 255 / 0.06); background: rgb(255 255 255 / 0.03); }
.bpk-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; }
.bpk-bar i:nth-child(2) { background: #FEBC2E; }
.bpk-bar i:nth-child(3) { background: #28C840; }
.bpk-bar b { margin-left: 8px; font-size: 12px; font-weight: 650; }
.bpk-bar span { font-size: 11.5px; color: var(--text-tertiary); }
.bpk-body { display: flex; flex-direction: column; gap: 14px; padding: 16px; }
.bpk-msg { display: flex; gap: 10px; }
.bpk-msg > div { min-width: 0; }
.bpk-av { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(color-mix(in srgb, var(--c) 88%, #fff), var(--c)); font-size: 13px; font-weight: 700; color: #fff; }
.bpk-meta { display: flex; align-items: baseline; gap: 7px; margin: 0; }
.bpk-meta b { font-size: 12.5px; font-weight: 650; }
.bpk-meta span { font-size: 11px; color: var(--text-tertiary); }
.bpk-text { margin: 3px 0 2px; font-size: 13px; line-height: 1.45; color: var(--text-secondary); }
.bpk-link {
  display: inline;
  margin: 0 0 0 -4px;
  padding: 2px 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  font: 500 13px/1.5 var(--sans);
  color: #74B9FF;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: rgb(116 185 255 / 0.45);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: background-color 0.12s ease;
}
.bpk-link:hover { background: rgb(116 185 255 / 0.1); }
.bpk-link.press { background: rgb(116 185 255 / 0.24); }
.bpk-link:focus-visible { outline: 2px solid #74B9FF; outline-offset: 1px; }
.bpk-h { margin: 6px 0 12px; font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }
.bpk-rules { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bpk-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgb(14 12 18 / 0.6);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  transition: background-color 0.2s ease, box-shadow 0.25s ease, transform 0.42s var(--spring-key), opacity 0.25s ease;
}
.bpk-rule.ask { background: transparent; box-shadow: none; outline: 1px dashed rgb(255 255 255 / 0.16); outline-offset: -1px; }
.bpk-rule.hit { background: color-mix(in srgb, var(--pal-accent) 18%, rgb(14 12 18 / 0.6)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-accent) 65%, transparent), 0 10px 22px -10px color-mix(in srgb, var(--pal-accent) 70%, transparent); transform: scale(1.025); }
.bpk-rule.enter { opacity: 0; transform: translateY(-6px) scale(0.97); }
.bpk-kind { flex: none; padding: 2px 6px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-tertiary); background: rgb(255 255 255 / 0.07); }
.bpk-match { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpk-to { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }
.bpk-to > svg { width: 13px; height: 13px; color: var(--text-tertiary); }
.bpk-to .bpk-bico { width: 18px; height: 18px; border-radius: 5px; }
.bpk-reset { margin-top: 10px; padding: 4px 0; border: 0; background: none; font: 500 12px var(--sans); color: var(--text-tertiary); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bpk-reset:hover { color: var(--text-primary); }
.bpk-reset[hidden] { display: none; }
.bpk-browsers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bpk-b { display: flex; flex-direction: column; align-items: center; gap: 7px; min-width: 0; padding: 14px 6px 11px; border-radius: 14px; background: rgb(14 12 18 / 0.6); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); transition: box-shadow 0.3s ease; }
.bpk-b.got { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-accent) 60%, transparent); }
.bpk-b b { font-size: 12px; font-weight: 600; }
.bpk-b small { max-width: 100%; min-height: 13px; font-size: 10px; line-height: 13px; color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpk-bico { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(var(--a), var(--b)); color: #fff; box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.45), 0 2px 5px rgb(0 0 0 / 0.35); }
.bpk-bico svg { width: 62%; height: 62%; }
.bpk-num { position: absolute; top: -5px; right: -6px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; font: 700 9px/1 var(--mono); color: #fff; background: rgb(10 9 14 / 0.85); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); }

.bpk-scrim { position: absolute; inset: 0; z-index: 5; background: rgb(6 5 10 / 0.6); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
.bpk.picking .bpk-scrim { opacity: 1; }
.bpk-picker {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: min(420px, calc(100% - 24px));
  padding: 16px 18px 14px;
  border-radius: 16px;
  background:
    radial-gradient(300px circle at 0% 0%, color-mix(in srgb, var(--pal-accent) 22%, transparent), transparent),
    color-mix(in srgb, var(--pal-base) 50%, #211e27);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 30px 60px -12px rgb(0 0 0 / 0.75);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}
.bpk-picker.open { opacity: 1; transform: translate(-50%, -50%); transition: opacity 0.2s ease-out, transform 0.45s var(--spring); }
.bpk-picker[hidden] { display: none; }
.bpk-pk-top { display: flex; align-items: center; justify-content: space-between; }
.bpk-src { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border-radius: 999px; font-size: 10px; font-weight: 600; color: var(--text-secondary); background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.bpk-src i { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(#55C6FF, #1677F2); }
.bpk-x { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); color: var(--text-secondary); cursor: pointer; }
.bpk-x svg { width: 9px; height: 9px; }
.bpk-pk-t { display: block; margin: 10px 0 3px; font-size: 17px; font-weight: 700; }
.bpk-url { display: block; font: 11px/1.4 var(--mono); color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpk-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 14px 0 12px; }
.bpk-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 13px 4px 10px; border: 0; border-radius: 10px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); color: inherit; font: 500 11px var(--sans); cursor: pointer; transition: background-color 0.12s ease, box-shadow 0.12s ease, transform 0.32s var(--spring-key); }
.bpk-tile:hover, .bpk-tile.hover, .bpk-tile:focus-visible { outline: none; background: color-mix(in srgb, var(--pal-accent) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-accent) 55%, transparent); }
.bpk-tile:active, .bpk-tile.press { transform: scale(0.96); }
.bpk-tile .bpk-bico { width: 42px; height: 42px; }
.bpk-tile span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpk-remember { display: flex; flex-wrap: wrap; gap: 8px; }
.bpk-check { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 10px 5px 7px; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.035); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.09); font: 400 11px var(--sans); color: var(--text-secondary); cursor: pointer; transition: background-color 0.12s ease-out, box-shadow 0.12s ease-out; }
.bpk-check > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bpk-check b { font-weight: 600; color: var(--text-primary); }
.bpk-check i { position: relative; flex: none; width: 15px; height: 15px; border-radius: 5px; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22); transition: background-color 0.12s ease-out; }
.bpk-check i::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 3.5px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0.4); opacity: 0; transition: opacity 0.12s ease-out, transform 0.2s var(--ease-out); }
.bpk-check[aria-checked="true"] { background: color-mix(in srgb, var(--pal-accent) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pal-accent) 45%, transparent); }
.bpk-check[aria-checked="true"] i { background: var(--pal-accent); box-shadow: none; }
.bpk-check[aria-checked="true"] i::after { opacity: 1; transform: rotate(45deg); }
.bpk-check:focus-visible { outline: 2px solid var(--pal-accent); outline-offset: 2px; }
.bpk-hint { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 10px; color: var(--text-tertiary); }
.bpk-hint svg { width: 12px; height: 12px; }
.bpk-fly {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  background: var(--pal-accent);
  color: var(--on-accent);
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 10px 22px -8px rgb(0 0 0 / 0.7);
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition: opacity 0.18s ease-out;
}
.bpk-fly.on { opacity: 1; }
.bpk-fly svg { width: 13px; height: 13px; }

/* ─── reaper ─── */

.rpr { padding: 22px; }
.rpr-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 20px; align-items: stretch; }
.rpr-scan, .rpr-panel { border-radius: 16px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 20px 40px -16px rgb(0 0 0 / 0.6); }
.rpr-scan { padding: 14px 14px 8px; background: rgb(12 11 16 / 0.72); }
.rpr-scan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.rpr-scan-head b { font-size: 13px; font-weight: 650; }
.rpr-scan-head span { font-size: 11px; color: var(--text-tertiary); font-variant-numeric: tabular-nums; }
.rpr-cols, .rpr-row { display: grid; grid-template-columns: minmax(0, 1fr) 118px 52px; align-items: center; column-gap: 12px; }
.rpr-cols { padding: 0 6px 6px; font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-tertiary); }
.rpr-cols span:last-child { text-align: right; }
.rpr-list { margin: 0; padding: 0; list-style: none; }
.rpr-row { height: 40px; padding: 0 6px; border-top: 1px solid rgb(255 255 255 / 0.05); border-radius: 8px; transition: background-color 0.3s ease, opacity 0.4s ease; }
.rpr-row.flag { background: color-mix(in srgb, var(--t) 9%, transparent); border-top-color: transparent; }
.rpr-row.gone { opacity: 0.38; }
.rpr-row.gone .rpr-n b { text-decoration: line-through; text-decoration-color: rgb(255 255 255 / 0.5); }
.rpr-n { display: flex; align-items: center; gap: 8px; min-width: 0; }
.rpr-n .rpr-ico { width: 22px; height: 22px; border-radius: 6px; }
.rpr-n b { min-width: 0; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpr-n .rpr-flag { opacity: 0; transform: scale(0.8); transition: opacity 0.2s ease, transform 0.38s var(--spring-key); }
.rpr-row.flag .rpr-flag { opacity: 1; transform: none; }
.rpr-cpu { display: flex; align-items: center; gap: 8px; }
.rpr-cpu i { flex: 1; height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.rpr-cpu s, .rpr-g s, .rpr-progress s { display: block; height: 100%; border-radius: inherit; background: rgb(255 255 255 / 0.5); transform: scaleX(var(--v, 0)); transform-origin: 0 50%; transition: transform 0.6s var(--ease-out), background-color 0.3s ease; }
.rpr-row.hot .rpr-cpu s { background: #FF6B5E; }
.rpr-cpu em, .rpr-mem { font-style: normal; font-size: 11.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-secondary); }
.rpr-cpu em { width: 40px; text-align: right; }
.rpr-row.hot .rpr-cpu em { color: #FF8A80; }
.rpr-mem { text-align: right; }
.rpr-ico { flex: none; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.4), 0 1px 2px rgb(0 0 0 / 0.3); }
.rpr-ico svg { width: 64%; height: 64%; }
.rpr-flag { flex: none; padding: 2px 7px; border-radius: 999px; font-size: 9.5px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; color: color-mix(in srgb, var(--t) 75%, white); background: color-mix(in srgb, var(--t) 18%, transparent); }

.rpr-panel { display: flex; flex-direction: column; padding: 14px 16px 16px; background: radial-gradient(340px circle at 0% 0%, color-mix(in srgb, var(--pal-accent) 16%, transparent), transparent), color-mix(in srgb, var(--pal-base) 55%, #1d1b22); }
.rpr-head { display: flex; align-items: center; gap: 10px; }
.rpr-logo { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(color-mix(in srgb, var(--pal-accent) 70%, #fff), var(--pal-accent)); color: var(--on-accent); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.4), 0 2px 6px color-mix(in srgb, var(--pal-accent) 40%, transparent); }
.rpr-logo svg { width: 18px; height: 18px; }
.rpr-title { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.rpr-title b { font-size: 15px; font-weight: 700; }
.rpr-title small { font-size: 11px; color: var(--text-secondary); font-variant-numeric: tabular-nums; }
.rpr-pill { flex: none; padding: 5px 10px; border-radius: 999px; font-size: 11px; color: var(--text-tertiary); background: rgb(255 255 255 / 0.05); font-variant-numeric: tabular-nums; }
.rpr-pill b { font-size: 12px; color: var(--text-primary); }
.rpr-pill em { font-style: normal; font-weight: 600; color: #4BDB8A; }
.rpr-pill[hidden] { display: none; }
.rpr-gauges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 12px; }
.rpr-g { display: grid; grid-template-columns: auto 1fr; align-items: baseline; row-gap: 7px; padding: 9px 10px 10px; border-radius: 10px; background: rgb(255 255 255 / 0.04); }
.rpr-g span { font-size: 10px; font-weight: 600; color: var(--text-tertiary); }
.rpr-g b { justify-self: end; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rpr-g i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgb(255 255 255 / 0.08); overflow: hidden; }
.rpr-g s { background: var(--pal-accent); }
.rpr-g.hot s { background: #FF6B5E; }
.rpr-progress { height: 3px; border-radius: 2px; background: rgb(255 255 255 / 0.06); overflow: hidden; }
.rpr-progress s { background: var(--pal-accent); }
.rpr-deck { position: relative; height: 216px; margin-top: 14px; }
.rpr-wait { display: grid; place-items: center; height: 100%; margin: 0; font-size: 13px; color: var(--text-tertiary); text-align: center; }
.rpr-card {
  --t: var(--pal-accent);
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  gap: 16px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--t) 16%, #1b1920), #1a181e 70%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t) 32%, transparent), 0 14px 28px -14px rgb(0 0 0 / 0.7);
  transition: transform 0.55s var(--spring), opacity 0.3s ease;
}
.rpr-card.next { z-index: 0; transform: translateY(9px) scale(0.95); opacity: 0.45; }
.rpr-card.cur { z-index: 1; }
.rpr-card.enter { opacity: 0; transform: translateY(14px) scale(0.92); }
.rpr-card.out-quit { z-index: 2; opacity: 0; transform: scale(0.9); transition: transform 0.4s var(--ease-out), opacity 0.4s var(--ease-out); }
.rpr-card.out-keep { z-index: 2; opacity: 0; transform: translateX(-28px); transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out); }
.rpr-id { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.rpr-id .rpr-ico { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 2px; }
.rpr-id b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.rpr-id code { max-width: 100%; margin-top: -4px; font: 10px var(--mono); color: var(--text-tertiary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rpr-id p { margin: 2px 0 0; font-size: 12px; line-height: 1.45; color: var(--text-secondary); text-wrap: pretty; }
.rpr-m { display: flex; flex-direction: column; gap: 9px; margin: 2px 0 0; }
.rpr-m div { display: flex; flex-direction: column; gap: 1px; }
.rpr-m dt { font-size: 10px; font-weight: 500; color: var(--text-tertiary); }
.rpr-m dd { margin: 0; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rpr-next { display: flex; align-items: center; gap: 6px; min-height: 20px; margin: 12px 0; font-size: 10px; font-weight: 600; color: var(--text-tertiary); }
.rpr-next .rpr-ico { width: 20px; height: 20px; border-radius: 6px; }
.rpr-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; }
.rpr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; height: 38px; padding: 0 10px; border: 0; border-radius: 10px; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), inset 0 1px 0 rgb(255 255 255 / 0.08); color: var(--text-primary); font: 600 12.5px var(--sans); white-space: nowrap; cursor: pointer; transition: background-color 0.15s ease, transform 0.12s ease-out, opacity 0.2s ease; }
.rpr-btn span { overflow: hidden; text-overflow: ellipsis; }
.rpr-btn svg { flex: none; width: 14px; height: 14px; }
.rpr-btn:hover { background: rgb(255 255 255 / 0.11); }
.rpr-btn:active, .rpr-btn.press { transform: scale(0.97); }
.rpr-btn:disabled { opacity: 0.5; cursor: default; }
.rpr-btn.primary { background: var(--pal-accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 6px 16px -6px color-mix(in srgb, var(--pal-accent) 70%, transparent); }
.rpr-btn.primary:hover { background: color-mix(in srgb, var(--pal-accent) 88%, white); }
.rpr-btn.force { color: #FF8A80; }
.rpr-btn.force.armed { background: #E5484D; color: #fff; box-shadow: none; }
.rpr-btn:focus-visible { outline: 2px solid var(--pal-accent); outline-offset: 2px; }
.rpr-done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; flex: 1; min-height: 240px; text-align: center; }
.rpr-done[hidden] { display: none; }
.rpr-done b { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.rpr-done p { margin: 0 0 14px; font-size: 13px; color: var(--text-secondary); }
.rpr-done .rpr-btn { padding: 0 18px; }
.rpr.finished .rpr-deck, .rpr.finished .rpr-next, .rpr.finished .rpr-acts, .rpr.finished .rpr-progress { display: none; }
.rpr .cursor { z-index: 9; }

@media (max-width: 980px) {
  .bpk-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .bpk-grid > .bpk-col:last-child { grid-column: 1 / -1; }
  .bpk-browsers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rpr-grid { grid-template-columns: 1fr; }
  .rpr-panel { order: -1; }
  .sec-browsers .sec-head:not(.center) { display: block; text-align: center; }
  .sec-browsers .sec-head p { margin-left: auto; margin-right: auto; }
  .sec-browsers .sec-head h2 { margin-bottom: 14px; }
  .tgl { margin: 0 auto; }
}
@media (max-width: 720px) {
  .tgl { height: 560px; }
  .tgl-pop { right: 8px; width: min(300px, calc(100% - 16px)); }
  .tgl-list { max-height: 196px; }
  .tgl-win { width: 68%; top: 54px; height: 180px; }
  .tgl-icons { bottom: 66px; }
  .tgl-icons li { width: 60px; }
  .tgl-search input { font-size: 16px; }
  .bpk { padding: 14px; border-radius: 18px; }
  .bpk-grid { grid-template-columns: 1fr; gap: 18px; }
  .bpk-apps { height: 290px; }
  .bpk-h { margin: 0 0 8px; }
  .bpk-b { padding: 10px 4px 8px; gap: 5px; }
  .bpk-b .bpk-bico { width: 34px; height: 34px; border-radius: 9px; }
  .bpk-b b { font-size: 11px; }
  .bpk-picker { padding: 14px 14px 12px; }
  .bpk-tiles { gap: 6px; }
  .bpk-tile { padding: 11px 2px 9px; }
  .bpk-tile .bpk-bico { width: 36px; height: 36px; }
  .bpk-hint { display: none; }
  .rpr { padding: 12px; border-radius: 18px; }
  .rpr-panel { padding: 12px 12px 14px; }
  .rpr-deck { height: 262px; }
  .rpr-card { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
  .rpr-m { flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
  .rpr-cols, .rpr-row { grid-template-columns: minmax(0, 1fr) 86px 46px; column-gap: 8px; }
  .rpr-n .rpr-flag { display: none; }
  .rpr-gauges { gap: 6px; }
  .rpr-g { padding: 8px; }
  .rpr-g { grid-template-columns: 1fr; row-gap: 3px; }
  .rpr-g b { justify-self: start; font-size: 13px; }
  .rpr-g i { margin-top: 4px; }
  .rpr-btn svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tgl-pop, .tgl.open .tgl-pop { transform: none; transition: opacity 0.15s ease, visibility 0s; }
  .tgl-row, .tgl-sw i, .tgl-ind, .tgl-icons li, .tgl-trash .paper, .bpk-win, .bpk-rule, .bpk-tile, .rpr-card, .rpr-n .rpr-flag, .rpr-btn, .tc-see svg { transition-property: opacity, background-color, box-shadow, color; }
  .bpk-picker, .bpk-picker.open { transform: translate(-50%, -50%); transition: opacity 0.15s ease; }
  .rpr-cpu s, .rpr-g s, .rpr-progress s { transition: none; }
}

.bpk-bico.bpk-real { background: none; box-shadow: none; border: 0; overflow: visible; }
.bpk-bico.bpk-real img { display: block; width: 118%; height: 118%; margin: -9%; object-fit: contain; filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.35)); }

.pls { color: #F4F3F7; --pl-text: rgb(255 255 255 / 0.92); --pl-sec: rgb(255 255 255 / 0.62); --pl-ter: rgb(255 255 255 / 0.42); --pl-rule: rgb(255 255 255 / 0.09); --pl-fill: rgb(255 255 255 / 0.04); --pl-track: rgb(255 255 255 / 0.1); --pl-round: ui-rounded, "SF Pro Rounded", var(--sans); }
.pls-stage { position: relative; z-index: 1; padding: 0 0 36px; }
.pls-mb { position: relative; z-index: 3; display: flex; align-items: center; gap: 13px; height: 30px; padding: 0 12px 0 16px; background: rgb(14 12 18 / 0.62); box-shadow: inset 0 -1px 0 rgb(255 255 255 / 0.06); color: var(--pl-text); font-size: 12.5px; white-space: nowrap; }
.pls-mb > svg { flex: none; width: 13px; height: 13px; }
.pls-mb > b { font-weight: 700; }
.pls-mb > i { flex: none; height: 5px; border-radius: 3px; background: currentColor; opacity: 0.4; }
.pls-mb .sp { flex: 1; }
.pls-mb .clock { font-variant-numeric: tabular-nums; font-weight: 500; }
.pls-item { display: flex; align-items: center; gap: 10px; height: 24px; padding: 0 7px; border-radius: 5px; background: rgb(255 255 255 / 0.16); }
.pls-seg { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.pls-seg small { font-size: 7px; font-weight: 800; letter-spacing: 0.5px; color: rgb(255 255 255 / 0.64); }
.pls-seg b { min-width: 25px; margin-top: 2px; text-align: center; font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; transition: color 0.4s ease; }
.pls-seg.pair { display: grid; grid-template-columns: auto auto; column-gap: 4px; row-gap: 1px; align-items: baseline; }
.pls-seg.pair small { font-size: 6.5px; }
.pls-seg.pair b { min-width: 28px; margin: 0; font-size: 9px; text-align: right; }
.pls-win { position: absolute; z-index: 1; top: 76px; left: 5%; width: min(46%, 500px); height: 330px; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: rgb(28 26 34 / 0.82); box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 24px 50px -14px rgb(0 0 0 / 0.6); opacity: 0.8; }
.pls-win-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px; border-bottom: 1px solid rgb(255 255 255 / 0.06); }
.pls-win-bar > i { width: 11px; height: 11px; border-radius: 50%; background: rgb(255 255 255 / 0.16); }
.pls-build { position: relative; display: flex; align-items: center; justify-content: center; flex: 1; height: 22px; margin: 0 6% 0 10%; overflow: hidden; border-radius: 6px; background: rgb(255 255 255 / 0.05); font-size: 11px; color: var(--pl-sec); }
.pls-build b { font-weight: 500; }
.pls-build s { position: absolute; inset: auto 0 0 0; height: 2px; background: #6BB8FF; transform: scaleX(0); transform-origin: 0 50%; opacity: 0; transition: opacity 0.3s ease; }
.pls-win.busy .pls-build s { opacity: 1; animation: pls-build 4.5s linear forwards; }
@keyframes pls-build { from { transform: scaleX(0.04); } to { transform: scaleX(1); } }
.pls-win-body { display: grid; grid-template-columns: 30% 1fr; flex: 1; }
.pls-nav, .pls-code { display: flex; flex-direction: column; gap: 11px; padding: 16px 14px; }
.pls-nav { border-right: 1px solid rgb(255 255 255 / 0.06); }
.pls-win-body i { height: 6px; border-radius: 3px; background: var(--c, rgb(255 255 255 / 0.16)); opacity: 0.7; }
.pls-nav i { background: rgb(255 255 255 / 0.1); }
.pls-pop { position: relative; z-index: 2; width: 400px; max-width: calc(100% - 24px); margin: 3px 0 0 var(--px, 12px); padding-top: 9px; }
.pls-arrow { position: absolute; z-index: 1; top: 0; left: calc(var(--ax, 200px) - 10px); width: 20px; height: 10px; color: #25222c; }
.pls-arrow svg { display: block; width: 100%; height: 100%; }
.pls-panel { position: relative; overflow: hidden; border-radius: 16px; background: radial-gradient(320px circle at 0 0, color-mix(in srgb, var(--pal-accent) 9%, transparent), transparent), #1f1d25; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 18px 40px -8px rgb(0 0 0 / 0.6); text-align: left; }
.pls-body { display: flex; flex-direction: column; gap: 12px; padding: 12px; }
.pls-head { display: flex; align-items: center; gap: 10px; padding: 0 2px; }
.pls-logo { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; color: var(--pal-accent); background: color-mix(in srgb, var(--pal-accent) 14%, transparent); }
.pls-logo svg { width: 15px; height: 15px; }
.pls-ttl { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.pls-ttl b { font-size: 13px; font-weight: 600; color: var(--pl-text); }
.pls-ttl span { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--pl-sec); white-space: nowrap; }
.pls-ttl span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2FD18F; }
.pls-hb { display: grid; place-items: center; flex: none; width: 24px; height: 24px; color: var(--pl-ter); }
.pls-hb svg { width: 12px; height: 12px; }
.pls-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pls-tile { --a: #6BB8FF; container-type: inline-size; display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 9px 10px; border-radius: 11px; background: var(--pl-fill); box-shadow: inset 0 0 0 1px var(--pl-rule); cursor: pointer; transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s var(--ease-out); }
.pls-tile:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .pls-tile:hover { background: rgb(255 255 255 / 0.065); } }
.pls-tile.sel { background: color-mix(in srgb, var(--a) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--a) 70%, transparent); }
.pls-th { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 10.5px; font-weight: 600; color: var(--pl-sec); white-space: nowrap; }
.pls-th span { overflow: hidden; text-overflow: ellipsis; }
.pls-sym { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 5px; color: var(--a); background: color-mix(in srgb, var(--a) 16%, transparent); }
.pls-sym svg { width: 11px; height: 11px; }
.pls-tv { font: 700 min(19px, 15cqi)/1.15 var(--pl-round); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color 0.4s ease; }
.pls-tile .spark { display: block; width: 100%; height: 18px; }
.pls-tc { font-size: 10px; color: var(--pl-ter); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pls-detail { position: relative; }
.pls-card { --a: #6BB8FF; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: 12px; background: linear-gradient(color-mix(in srgb, var(--a) 10%, transparent), transparent 90px), var(--pl-fill); box-shadow: inset 0 0 0 1px var(--pl-rule); transition: opacity 0.3s var(--ease-out), transform 0.42s var(--ease-out); }
.pls-card.in { opacity: 0; transform: translateY(-6px); transition: none; }
.pls-card.out { position: absolute; inset: 0 0 auto 0; opacity: 0; pointer-events: none; transition: opacity 0.22s ease-out; }
.pls-sum { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pls-lab { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pl-ter); }
.pls-lab svg { width: 11px; height: 11px; color: var(--a); }
.pls-big { margin: 3px 0; font: 700 30px/1.1 var(--pl-round); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color 0.4s ease; }
.pls-now { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--pl-ter); }
.pls-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 99px; color: var(--c, #4DD98C); background: color-mix(in srgb, var(--c, #4DD98C) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, #4DD98C) 35%, transparent); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease; }
.pls-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pls-range { display: flex; flex: none; gap: 2px; padding: 2px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--pl-rule); }
.pls-range span { padding: 4px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 600; color: var(--pl-ter); white-space: nowrap; }
.pls-range span:first-child { color: var(--pl-text); background: var(--pl-track); }
.pls-chart { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 92px auto; column-gap: 8px; }
.pls-chart svg { display: block; width: 100%; height: 100%; }
.pls-yl { display: flex; flex-direction: column; justify-content: space-between; min-width: 30px; margin: -5px 0; font-size: 9px; color: var(--pl-ter); font-variant-numeric: tabular-nums; }
.pls-xl { display: flex; justify-content: space-around; padding: 4px 4% 0 12%; font-size: 9px; color: var(--pl-ter); white-space: nowrap; }
.pls-leg { display: flex; align-items: flex-end; gap: 18px; }
.pls-leg div { display: flex; flex-direction: column; gap: 2px; }
.pls-leg small { display: flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pl-ter); }
.pls-leg small::before { content: ""; width: 8px; height: 3px; border-radius: 2px; background: var(--c); }
.pls-leg b { font: 600 13px/1.2 var(--pl-round); font-variant-numeric: tabular-nums; color: var(--c); }
.pls-leg em { margin-left: auto; font-size: 9.5px; font-style: normal; color: var(--pl-ter); }
.pls-x { display: flex; flex-direction: column; gap: 12px; }
.pls-lines { display: block; width: 100%; height: 52px; }
.pls-gb { display: flex; flex-direction: column; gap: 4px; }
.pls-gb div { display: flex; align-items: baseline; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--pl-sec); }
.pls-gb small { font-size: 10px; color: var(--pl-ter); }
.pls-gb b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; transition: color 0.4s ease; }
.pls-meter { display: block; height: 5px; border-radius: 3px; background: var(--pl-track); overflow: hidden; }
.pls-meter s { display: block; height: 100%; width: calc(var(--v, 0) * 100%); border-radius: inherit; background: var(--c); }
.pls-cores { display: flex; align-items: flex-end; gap: 3px; height: 30px; }
.pls-cores i { position: relative; flex: 0 1 14px; height: 30px; border-radius: 2px; background: var(--pl-track); overflow: hidden; }
.pls-cores i:nth-child(9) { margin-left: 6px; }
.pls-cores s { position: absolute; inset: auto 0 0; height: max(2px, calc(var(--v, 0) * 100%)); border-radius: 2px; background: linear-gradient(var(--l), color-mix(in srgb, var(--c) 85%, transparent)); }
.pls-segbar { display: flex; gap: 2px; height: 10px; border-radius: 4px; background: var(--pl-track); overflow: hidden; }
.pls-segbar s { flex: none; width: calc(var(--v, 0) * 100% - 2px); border-radius: 3px; background: var(--c); }
.pls-rows { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.pls-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-size: 12px; color: var(--pl-sec); }
.pls-row i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.pls-row b { margin-left: auto; font-weight: 500; color: var(--v, var(--pl-text)); font-variant-numeric: tabular-nums; transition: color 0.4s ease; }
.pls-disk { display: flex; align-items: center; gap: 16px; }
.pls-ring { position: relative; flex: none; width: 74px; height: 74px; }
.pls-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pls-ring span { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 700 14px/1.1 var(--pl-round); font-variant-numeric: tabular-nums; }
.pls-ring small { font: 400 9px var(--sans); color: var(--pl-ter); }
.pls-heat { position: relative; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #4DD98C, #FAD14D 55%, #FF943D 75%, #FF5C5C); }
.pls-heat i { position: absolute; top: -3px; left: calc(var(--v, 0) * 100%); width: 4px; height: 12px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / 0.4); }
.pls-procs { display: flex; flex-direction: column; gap: 6px; }
.pls-procs ul { margin: 0; padding: 0; list-style: none; }
.pls-procs li { display: flex; align-items: center; gap: 8px; padding: 4px 6px; }
.pls-pico { display: grid; place-items: center; flex: none; width: 16px; height: 16px; border-radius: 4px; color: #fff; }
.pls-pico svg { width: 11px; height: 11px; }
.pls-pn { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; font-size: 12px; color: var(--pl-text); }
.pls-pn span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pls-pn i { height: 2px; border-radius: 1px; background: rgb(255 255 255 / 0.05); overflow: hidden; }
.pls-pn s { display: block; height: 100%; width: calc(var(--v, 0) * 100%); background: color-mix(in srgb, var(--a) 80%, transparent); }
.pls-procs b { min-width: 56px; text-align: right; font-size: 11.5px; font-weight: 500; font-variant-numeric: tabular-nums; transition: color 0.4s ease; }
.pls-scope { flex: none; width: 22px; height: 13px; color: rgb(255 255 255 / 0.3); }
@media (max-width: 720px) {
  .pls-stage { padding-bottom: 14px; }
  .pls-win { display: none; }
  .pls-mb { gap: 10px; padding: 0 8px 0 12px; }
  .pls-mb > b, .pls-mb > i, .pls-mb .opt { display: none; }
  .pls-pop { max-width: calc(100% - 16px); }
  .pls-body { padding: 10px; }
  .pls-tiles { gap: 6px; }
  .pls-tile { padding: 8px; }
  .pls-card { padding: 12px; }
  .pls-big { font-size: 26px; }
  .pls-scope { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pls-card, .pls-tile { transition: none; }
}
