:root {
  --ink: #000000;
  --page: #101012;
  --page-2: #0a0a0c;
  --text: #ebebeb;
  --secondary: #949494;
  --tertiary: #616161;
  --hairline: rgba(255, 255, 255, 0.08);
  --fill: rgba(255, 255, 255, 0.08);
  --fill-strong: rgba(255, 255, 255, 0.14);
  --gold: #ffd666;
  --sky: #78ccfa;
  --teal: #52d6bd;
  --coral: #ff7a6b;
  --amber: #fac247;
  --green: #1fd661;
  --pink: #fa6180;
  --canvas: #f05252;
  --find: #38d166;
  --blue: #6194ff;
  --radius: 12px;
  --island-radius: 20px;
  --font: ui-rounded, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font);
  background:
    radial-gradient(ellipse 80% 50% at 50% -8%, rgba(255, 214, 102, 0.07), transparent 52%),
    radial-gradient(ellipse 60% 40% at 50% 18%, rgba(120, 204, 250, 0.04), transparent 55%),
    var(--page);
  color: var(--text);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, a.btn { font-family: inherit; }

::selection {
  background: rgba(255, 214, 102, 0.32);
  color: #fff;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 8px 12px;
  background: var(--gold);
  color: #000;
  border-radius: 8px;
  z-index: 40;
}
.skip:focus { left: 8px; }

/* ——— top notch / menu bar ——— */
.bezel {
  position: relative;
  z-index: 10;
  height: 52px;
}
.bezel-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 28px 0;
  max-width: 1120px;
  margin: 0 auto;
}
.wordmark {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  padding-top: 2px;
}
.wordmark span { color: var(--tertiary); font-weight: 500; margin-left: 8px; font-size: 11px; letter-spacing: 0.08em; }
.nav-end {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.nav-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--secondary);
  padding-top: 2px;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-on { color: var(--text); }
.nav-download {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--gold);
  padding-top: 2px;
}
.nav-download:hover { color: #ffe399; }

.lip {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 196px;
  height: 48px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  border: 1px solid var(--hairline);
  border-top: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 11px 9px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.lip-solo {
  position: relative;
  margin: 0 auto;
  transform: none;
  left: auto;
}

.smile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5px;
  width: 14px;
  height: 10px;
  color: rgba(255, 255, 255, 0.88);
}
.smile .eyes { display: flex; gap: 3.5px; }
.smile .eye, .smile .eyes i {
  display: block;
  width: 1.8px;
  height: 1.8px;
  border-radius: 99px;
  background: currentColor;
  animation: blink 3.6s ease-in-out infinite;
}
.smile .eyes i:last-child { animation-delay: 0.04s; }
.smile .mouth { width: 8px; height: 3.5px; color: inherit; }
.smile-gold { color: var(--gold); }
.smile-lg {
  width: 54px;
  height: 42px;
  gap: 5px;
}
.smile-lg .eyes { gap: 10px; }
.smile-lg .eyes i {
  width: 8px;
  height: 8.5px;
  border-radius: 99px;
}
.smile-lg .mouth { width: 34px; height: 15px; }

@keyframes blink {
  0%, 91%, 100% { transform: scaleY(1); }
  93.5%, 95.5% { transform: scaleY(0.22); }
}

/* ——— hero ——— */
.hero {
  text-align: center;
  padding: 28px 24px 0;
  max-width: 720px;
  margin: 0 auto;
}
.hero-smile {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.smile-hero {
  width: 64px;
  height: 50px;
  gap: 6px;
  color: var(--gold);
}
.smile-hero .eyes { gap: 12px; }
.smile-hero .eyes i {
  width: 10px;
  height: 10px;
}
.smile-hero .mouth { width: 40px; height: 18px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tertiary);
  font-weight: 600;
  margin: 0 0 14px;
}
h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.lede {
  font-size: 17px;
  color: var(--secondary);
  max-width: 34em;
  margin: 0 auto 22px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: #111;
}
.btn-gold:hover { background: #ffe08a; }
.btn-ghost {
  background: var(--fill);
  color: var(--text);
  border-color: var(--hairline);
}
.btn-ghost:hover { background: var(--fill-strong); }
.fine {
  font-size: 12px;
  color: var(--tertiary);
  margin: 8px 0 0;
}

section.trust {
  max-width: none;
  margin: 0;
  padding: 56px 0 8px;
  overflow: hidden;
}
.trust-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tertiary);
  font-weight: 600;
  margin: 0 0 16px;
}
.trust-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.trust-track {
  display: flex;
  width: max-content;
  animation: trust-scroll 48s linear infinite;
}
.trust-list {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 10px 0 0;
  list-style: none;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  background: var(--fill);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 8px 16px 8px 12px;
  white-space: nowrap;
}
.trust-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(255, 214, 102, 0.45);
  flex-shrink: 0;
}
section.trust + .wrap > #modules {
  padding-top: 32px;
}
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.look {
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px 16px 0;
}

.release-out {
  max-width: 640px;
  margin: 20px auto 4px;
  padding: 0 24px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
}
.release-out p { margin: 0; }
.release-out a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.release-out a:hover { color: #ffe399; }

.desktop {
  position: relative;
  height: min(72vh, 620px);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow);
  background: #0a1620;
}
.wallpaper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menubar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(to bottom, rgba(0,0,0,0.38), rgba(0,0,0,0.08));
}
.menubar b {
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: #fff;
  opacity: 0.9;
}
.desktop-zoom {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transform-origin: 50% 0%;
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.22, 1);
}
.desktop-zoom .island {
  cursor: pointer;
  overflow: hidden;
}
.cursor {
  position: absolute;
  z-index: 6;
  left: 0;
  top: 0;
  width: 18px;
  height: 22px;
  pointer-events: none;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.45));
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.cursor svg { width: 18px; height: 22px; }
.cursor.is-click svg { transform: scale(0.82); transform-origin: top left; }

.island .mode { display: none; }
.island[data-mode="idle"] .mode-idle,
.island[data-mode="peek"] .mode-peek,
.island[data-mode="lock"] .mode-lock,
.island[data-mode="toast"] .mode-toast,
.island[data-mode="hud"] .mode-hud,
.island[data-mode="timer"] .mode-timer {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 10px 4px;
  gap: 10px;
}
.island[data-mode="home"] .mode-home,
.island[data-mode="canvas"] .mode-canvas,
.island[data-mode="arcade"] .mode-arcade,
.island[data-mode="pocket"] .mode-pocket,
.island[data-mode="calendar"] .mode-calendar,
.island[data-mode="voice"] .mode-voice { display: block; }
.island[data-mode="idle"] {
  width: 248px;
  height: 48px;
  border-radius: 0 0 10px 10px;
}
.island[data-mode="lock"] {
  width: 280px;
  height: 48px;
  border-radius: 0 0 10px 10px;
}
.island[data-mode="toast"] {
  width: 300px;
  height: 82px;
  border-radius: 0 0 14px 14px;
}
.island[data-mode="hud"] {
  width: 268px;
  height: 48px;
  border-radius: 0 0 10px 10px;
}
.island[data-mode="timer"] {
  width: 196px;
  height: 48px;
  border-radius: 0 0 10px 10px;
}
.island[data-mode="peek"] {
  width: 296px;
  height: 72px;
  border-radius: 0 0 14px 14px;
}
.island[data-mode="home"],
.island[data-mode="canvas"],
.island[data-mode="arcade"],
.island[data-mode="pocket"],
.island[data-mode="calendar"],
.island[data-mode="voice"] {
  width: min(428px, calc(100% - 24px));
}
.island {
  transition: width 0.48s cubic-bezier(0.16, 1, 0.22, 1), height 0.48s cubic-bezier(0.16, 1, 0.22, 1);
}
.peek-art .ico { width: 12px; height: 12px; }
.head-chip .ico { width: 12px; height: 12px; }

.ico {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}
.ico-btn {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.ico-btn:active { transform: scale(0.9); }

button.media-btn,
button.preset,
button.chip,
button.copy-btn,
button.asgn,
button.gpick,
button.switch {
  font-family: inherit;
  border: 0;
  cursor: pointer;
}
button.asgn, button.gpick {
  width: 100%;
  text-align: left;
  background: transparent;
  color: inherit;
}
button.asgn { background: transparent; }
button.chip { color: var(--text); }
button.preset { border: 0; }
.media-btn:active, .preset:active, .chip:active, .copy-btn:active, .ico-btn:active, .action-row:active {
  transform: scale(0.92);
}
.is-copied, .is-flash {
  outline: 1px solid var(--gold);
  outline-offset: 1px;
}

.mod-list { display: flex; flex-direction: column; gap: 8px; }
.mod-item {
  background: var(--fill);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  overflow: hidden;
}
.mod-item[open] { border-color: rgba(255, 214, 102, 0.28); }
.mod-item summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  color: var(--sky);
}
.mod-item summary::-webkit-details-marker { display: none; }
.mod-item summary::marker { content: ""; }
.mod-item summary:hover { background: rgba(255, 255, 255, 0.03); }
.mod-item[open] summary { border-bottom: 1px solid var(--hairline); }
.mod-item summary .ico { width: 16px; height: 16px; }
.mod-copy { display: flex; flex-direction: column; gap: 2px; color: var(--text); }
.mod-copy b { font-size: 14px; font-weight: 600; }
.mod-copy small { font-size: 12px; color: var(--tertiary); font-weight: 500; }
.mod-item .island-mod { margin: 0 auto 14px; width: calc(100% - 24px); max-width: 428px; }

.switch.off { background: var(--fill-strong); }
.switch.off i { right: auto; left: 2px; }

/* ——— island (HangShape) ——— */
.island {
  width: 428px;
  max-width: 100%;
  background: var(--ink);
  border-radius: 0 0 var(--island-radius) var(--island-radius);
  border: 1px solid var(--hairline);
  border-top-color: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
  text-align: left;
  overflow: hidden;
}
.island[data-mode="idle"] {
  width: 248px;
  height: 48px;
  border-radius: 0 0 10px 10px;
}
.island[data-mode="lock"] {
  width: 280px;
  height: 48px;
  border-radius: 0 0 10px 10px;
}
.island[data-mode="toast"] {
  width: 300px;
  height: 82px;
  border-radius: 0 0 14px 14px;
}
.island[data-mode="hud"] {
  width: 268px;
  height: 48px;
  border-radius: 0 0 10px 10px;
}
.island[data-mode="timer"] {
  width: 196px;
  height: 48px;
  border-radius: 0 0 10px 10px;
}
.island[data-mode="peek"] {
  width: 296px;
  height: 72px;
  border-radius: 0 0 14px 14px;
}
.island[data-mode="home"],
.island[data-mode="canvas"],
.island[data-mode="arcade"],
.island[data-mode="pocket"],
.island[data-mode="calendar"],
.island[data-mode="voice"] {
  width: min(428px, calc(100% - 24px));
  height: auto;
}
.island-idle {
  width: 248px;
  height: 48px;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  padding: 0 8px 2px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.island-idle .spacer { flex: 1; }
.island-peek {
  width: 296px;
  min-height: 72px;
  border-radius: 0 0 14px 14px;
  display: flex;
  align-items: flex-end;
  padding: 0 14px 14px;
  gap: 10px;
}
.island-camera { height: 28px; }
.island-inner {
  padding: 0 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.island-mod { width: 100%; }
.island-mod .island-inner { padding: 12px; }

.island-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.island-head .spacer { flex: 1; }
.head-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.head-chip.sky { color: var(--sky); }
.head-chip.bat { color: var(--tertiary); }
.head-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}
.head-icons .ico-btn {
  width: 22px;
  height: 22px;
}
.head-icons .ico { width: 15px; height: 15px; }
.ico-canvas { color: var(--canvas); }
.ico-mirror { color: var(--teal); }
.ico-find { color: var(--find); }
.ico-game { color: var(--gold); }
.ico-lock { color: var(--gold); }
.ico-pocket { color: var(--coral); position: relative; }
.ico-gear { color: var(--text); }
.ico-plus { color: var(--text); }

.mcard {
  background: var(--fill);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.mcard-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.lbl-green { color: var(--green); }
.lbl-amber { color: var(--amber); }
.lbl-sky { color: var(--sky); }
.lbl-gold { color: var(--gold); }
.lbl-teal { color: var(--teal); }
.lbl-pink { color: var(--pink); }
.lbl-coral { color: var(--coral); }
.lbl-blue { color: var(--blue); }
.lbl-find { color: var(--find); }
.lbl-canvas { color: var(--canvas); }

.now {
  display: flex;
  align-items: center;
  gap: 10px;
}
.art {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(31, 214, 97, 0.18);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.art-mini {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: rgba(31, 214, 97, 0.22);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.now h3 { margin: 0; font-size: 13px; font-weight: 600; }
.now p { margin: 2px 0 0; font-size: 11px; color: var(--green); font-weight: 500; }
.now-side { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.media-btn {
  width: 24px;
  height: 24px;
  border-radius: 99px;
  background: var(--fill-strong);
  display: grid;
  place-items: center;
  color: var(--text);
  flex-shrink: 0;
}
.media-btn.play {
  width: 28px;
  height: 28px;
  background: var(--green);
  color: #000;
}
.media-btn .ico { width: 11px; height: 11px; }
.media-btn.play.amber { background: var(--amber); }
.peek-pause {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.playbar { margin-top: 8px; }
.playbar-track {
  height: 3px;
  border-radius: 99px;
  background: var(--fill);
  overflow: hidden;
}
.playbar-track i {
  display: block;
  width: 62%;
  height: 100%;
  background: var(--green);
  border-radius: 99px;
  animation: playhead 18s linear infinite;
}
.is-paused .playbar-track i { animation-play-state: paused; }
@keyframes playhead {
  from { width: 10%; }
  to { width: 88%; }
}
.playbar-times {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 10px;
  color: var(--tertiary);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.bars i {
  width: 2px;
  border-radius: 99px;
  background: var(--green);
  animation: eq 0.72s ease-in-out infinite;
  transform-origin: bottom;
}
.bars i:nth-child(1) { height: 5px; animation-delay: 0s; }
.bars i:nth-child(2) { height: 11px; animation-delay: -0.18s; }
.bars i:nth-child(3) { height: 7px; animation-delay: -0.42s; }
.is-paused .bars i { animation-play-state: paused; opacity: 0.45; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

.timer-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.timer-row strong {
  font-size: 22px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  min-width: 64px;
  text-align: center;
}
.timer-row [data-act="timer-nudge"] {
  color: var(--amber);
}
.timer-row.is-running [data-act="timer-nudge"] {
  opacity: 0.35;
  pointer-events: none;
}
.presets { display: flex; gap: 6px; }
.preset {
  font-size: 11px;
  font-weight: 500;
  color: var(--tertiary);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--fill-strong);
}
.preset.on { background: var(--amber); color: #000; }
.timer-row .spacer { flex: 1; }

.weather-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.weather-row .temp {
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.weather-row .sum { font-size: 11px; color: var(--secondary); font-weight: 500; }
.weather-row .hi {
  margin-left: auto;
  font-size: 10px;
  color: var(--tertiary);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-weight: 500;
  line-height: 1.35;
}

.cal-row, .clip-row, .bt-row, .action-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.cal-row[data-act], .action-row { cursor: pointer; }
.cal-row + .cal-row,
.clip-row + .clip-row,
.bt-row + .bt-row { margin-top: 6px; }
.dot { width: 6px; height: 6px; border-radius: 99px; flex-shrink: 0; }
.dot-sky { background: var(--sky); }
.dot-amber { background: var(--amber); }
.dot-blue { background: var(--blue); }
.cal-row em, .clip-row em, .action-row em {
  margin-left: auto;
  font-style: normal;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  font-weight: 500;
}
.action-row em.teal { color: var(--teal); }
.action-row em.gold { color: var(--gold); }
.action-row em.find { color: var(--find); }
.action-row em.coral { color: var(--coral); }
.action-row em.amber { color: var(--amber); }
.action-row em.sky { color: var(--sky); }
.action-row em.canvas { color: var(--canvas); }
.action-row .spacer { flex: 1; }
.island-mod .save-field { margin-bottom: 8px; }
.meter-bar {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 2px 0 8px;
}
.meter-bar i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 99px;
  background: var(--amber);
}
.mod-note {
  margin: 6px 0 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--tertiary);
}
.action-row .ico { flex-shrink: 0; }
.speed-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--tertiary);
}
.speed-foot .chip { margin-left: auto; }
.copy-btn {
  width: 22px;
  height: 22px;
  color: var(--secondary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-left: auto;
  background: transparent;
}
.copy-btn .ico { width: 12px; height: 12px; }

.split { display: flex; gap: 8px; }
.split .mcard { flex: 1; min-width: 0; }
.metrics { display: flex; }
.metric { flex: 1; }
.metric small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.metric b {
  display: block;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.metric b .metric-unit {
  font-size: 9px;
  font-weight: 500;
  color: var(--secondary);
}
.net-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.net-row .ip {
  margin-left: auto;
  font-size: 11px;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}

.clocks { display: flex; }
.clock-cell { flex: 1; min-width: 0; }
.clock-cell + .clock-cell {
  border-left: 1px solid var(--hairline);
  padding-left: 8px;
  margin-left: 8px;
}
.clock-cell small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 2px;
}
.clock-cell b {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.clock-cell .mer {
  font-size: 10px;
  font-weight: 500;
  margin-left: 3px;
}

.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.chip {
  font-size: 10px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  padding: 6px 0;
  background: var(--fill-strong);
  border-radius: 8px;
}
.note {
  font-size: 12px;
  font-weight: 500;
  color: var(--secondary);
  margin: 0;
}
.note.live { color: var(--text); }
.pwd {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  display: none;
}
.pwd.is-on { display: block; }
.note[contenteditable] {
  outline: none;
  cursor: text;
  min-height: 1.4em;
}
.note[contenteditable]:focus {
  color: var(--text);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
}
.switch {
  width: 32px;
  height: 18px;
  border-radius: 99px;
  background: var(--coral);
  position: relative;
  flex-shrink: 0;
}
.switch i {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 99px;
  background: #fff;
}
.eyes-note {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--secondary);
  font-weight: 500;
}

.peek-art {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: rgba(31, 214, 97, 0.2);
  color: var(--green);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.peek-title {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.peek-temp {
  font-size: 11px;
  color: var(--sky);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.island-foot {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  letter-spacing: 0.6px;
  color: var(--tertiary);
  padding-top: 6px;
  font-weight: 500;
}

.canvas-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.canvas-mark {
  width: 28px;
  height: 28px;
  border-radius: 99px;
  border: 5px solid var(--canvas);
  border-left-color: transparent;
  background: #000;
  box-sizing: border-box;
  flex-shrink: 0;
}
.canvas-head h3 { margin: 0; font-size: 14px; font-weight: 600; }
.canvas-head p { margin: 1px 0 0; font-size: 11px; color: var(--canvas); font-weight: 500; }
.canvas-sum {
  margin-left: auto;
  font-size: 11px;
  color: var(--tertiary);
  text-align: right;
  font-weight: 500;
}
.assign-head {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
}

.canvas-pitch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
  align-items: center;
}
.canvas-lede {
  margin: 0 0 18px;
  text-align: left;
  font-size: 16px;
}
.canvas-points {
  margin: 0;
  padding: 0;
  list-style: none;
}
.canvas-points li {
  font-size: 14px;
  font-weight: 500;
  color: var(--secondary);
  padding: 8px 0;
  border-top: 1px solid var(--hairline);
}
.canvas-guide {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 600;
}
.canvas-guide a {
  color: var(--canvas);
  text-decoration: none;
}
.canvas-guide a:hover { color: #ff8a8a; }
.asgn-block + .asgn-block { margin-top: 4px; }
.asgn-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 8px;
}
.asgn-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
}
.asgn {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}
.asgn-bar {
  width: 2px;
  height: 28px;
  border-radius: 99px;
  flex-shrink: 0;
  margin-top: 2px;
}
.asgn-bar.coral { background: var(--coral); }
.asgn-bar.amber { background: var(--amber); }
.asgn-bar.teal { background: var(--teal); }
.asgn b { display: block; font-size: 13px; font-weight: 500; }
.asgn span { display: block; font-size: 11px; color: var(--secondary); font-weight: 500; margin-top: 2px; }
.asgn em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
  flex-shrink: 0;
}
.asgn-block:first-of-type .asgn em { color: var(--coral); }
.asgn-block:last-of-type .asgn em { color: var(--teal); }

.arcade-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.arcade-head .spacer { flex: 1; }
.arcade-head h3 { margin: 0; font-size: 13px; font-weight: 600; }
.arcade-head p { margin: 1px 0 0; font-size: 10px; color: var(--gold); font-weight: 500; }
.gpick {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--fill);
  border-radius: 12px;
  padding: 10px 12px;
}
.gpick-ico { width: 52px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.gpick b { display: block; font-size: 13px; font-weight: 500; }
.gpick span { font-size: 10px; color: var(--secondary); font-weight: 500; }
.gpick em {
  margin-left: auto;
  font-style: normal;
  text-align: right;
  font-size: 8px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 500;
}
.gpick em b { display: block; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 1px; }
.wordle-pile { position: relative; width: 44px; height: 34px; }
.wordle-pile i {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  font-size: 8px;
  font-weight: 600;
  display: grid;
  place-items: center;
  color: #111;
}
.wordle-pile i:nth-child(1) { background: var(--gold); left: 0; bottom: 4px; transform: rotate(-16deg); }
.wordle-pile i:nth-child(2) { background: var(--amber); left: 14px; top: 0; transform: rotate(7deg); }
.wordle-pile i:nth-child(3) { background: var(--fill-strong); color: var(--text); right: 0; bottom: 2px; transform: rotate(18deg); }

.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
}
.mod-shot { margin: 0; }
.mod-shot figcaption {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
  margin-top: 8px;
}
.mod-shot figcaption small {
  display: block;
  font-weight: 500;
  color: var(--tertiary);
  margin-top: 2px;
}

/* ——— sections ——— */
main { display: block; }
.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 72px 0 0; }
.section-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tertiary);
  font-weight: 600;
  margin: 0 0 8px;
}
h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.how article {
  background: var(--fill);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 16px 18px;
}
.how kbd {
  display: inline-block;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.how h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.how p { margin: 0; font-size: 13px; color: var(--secondary); font-weight: 500; }
.how-note {
  text-align: center;
  color: var(--tertiary);
  font-size: 13px;
  margin: 14px 0 0;
}
.how-note a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.how-note a:hover { color: #ffe399; }

.quote {
  text-align: center;
  padding-top: 64px;
}
.quote p {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--secondary);
  margin: 0;
}

.arcade {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 28px 28px 28px 32px;
}
.arcade h2 { margin-bottom: 6px; }
.arcade .lede { margin: 0 0 18px; text-align: left; font-size: 15px; }
.picks { display: flex; flex-direction: column; gap: 8px; }
.pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  background: var(--fill);
  border-radius: 12px;
  padding: 10px 12px;
}
.pick b { display: block; font-size: 13px; font-weight: 600; }
.pick span { font-size: 12px; color: var(--tertiary); font-weight: 500; }
.arcade-mascot {
  display: grid;
  place-items: center;
  min-height: 160px;
}
.runner {
  position: relative;
  width: 54px;
  height: 58px;
}
.runner .smile-lg {
  position: relative;
  z-index: 1;
}
.legs {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}
.legs i {
  width: 5px;
  height: 12px;
  border-radius: 99px;
  background: var(--gold);
  animation: run 0.46s ease-in-out infinite;
}
.legs i:last-child { animation-delay: -0.23s; }
@keyframes run {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.download-panel {
  background: var(--fill);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
}
.download-panel h2 { margin-bottom: 8px; }
.download-panel .lede { margin-bottom: 20px; }
.reqs {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--secondary);
  font-weight: 500;
  margin: 18px 0 0;
}
.steps {
  max-width: 460px;
  margin: 22px auto 0;
  text-align: left;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--secondary);
  font-weight: 500;
  margin: 0 0 10px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--fill-strong);
  color: var(--text);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}
.gate {
  max-width: 520px;
  margin: 18px auto 0;
  font-size: 12px;
  color: var(--tertiary);
  font-weight: 500;
}
.download-missing {
  margin: 16px auto 0;
  max-width: 460px;
  font-size: 13px;
  color: var(--amber);
  font-weight: 500;
}

.download-dialog {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.download-dialog.is-open { display: flex; }
.download-dialog-card {
  position: relative;
  width: min(400px, 100%);
  padding-top: 22px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 214, 102, 0.12), transparent 58%),
    #0c0c0e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.62);
  overflow: hidden;
  color: #ebebeb;
}
.download-dialog.is-open .download-dialog-card {
  animation: download-dialog-in 0.38s cubic-bezier(0.16, 1, 0.22, 1);
}
@keyframes download-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.download-dialog-lip {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 168px;
  height: 38px;
  background: #000;
  border-radius: 0 0 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 12px 8px;
}
.download-dialog-body {
  padding: 36px 26px 22px;
  text-align: left;
}
.download-dialog-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd666;
}
.download-dialog h2 {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: #ebebeb;
}
.download-dialog-lede {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #949494;
  font-weight: 500;
}
.download-dialog-steps {
  margin: 0;
  padding: 6px 4px 6px 0;
  list-style: none;
  counter-reset: dlg;
  display: grid;
  gap: 2px;
}
.download-dialog-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  column-gap: 12px;
  padding: 10px 8px;
  border-radius: 14px;
  counter-increment: dlg;
}
.download-dialog-steps li::before {
  content: counter(dlg);
  width: 28px;
  height: 28px;
  border-radius: 99px;
  background: rgba(255, 214, 102, 0.12);
  color: #ffd666;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  grid-row: 1 / span 2;
  margin-top: 1px;
}
.download-dialog-steps span {
  font-size: 14px;
  font-weight: 600;
  color: #ebebeb;
  grid-column: 2;
}
.download-dialog-steps small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.45;
  color: #616161;
  font-weight: 500;
  grid-column: 2;
}
.download-dialog-guide {
  display: inline-block;
  margin: 8px 0 0 40px;
  font-size: 13px;
  font-weight: 600;
  color: #ffd666;
  text-decoration: none;
}
.download-dialog-guide:hover { color: #ffe399; }
.download-dialog-actions {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.download-dialog-actions .btn {
  width: 100%;
  cursor: pointer;
  height: 44px;
}
.download-dialog-actions .btn-ghost {
  background: transparent;
  border-color: transparent;
  color: #949494;
}
.download-dialog-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ebebeb;
}

footer {
  padding: 56px 24px 40px;
  text-align: center;
  color: var(--tertiary);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
footer p { margin: 0; }
footer .foot-brand { margin-top: 6px; color: var(--secondary); letter-spacing: 0; }
footer .foot-links { margin-top: 10px; }
footer .foot-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}
footer .foot-links a:hover { color: var(--text); }
footer .foot-note {
  margin-top: 10px;
  color: var(--tertiary);
  font-size: 11px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.blog-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 24px 8px;
  text-align: left;
}
.blog-hero h1 { margin: 0 0 8px; }
.blog-hero .lede { text-align: left; margin: 0; }
.blog-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-list-logs {
  padding-top: 8px;
  padding-bottom: 72px;
  border-top: 1px solid var(--hairline);
  margin-top: 8px;
}
.blog-group {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tertiary);
}
.blog-card {
  display: block;
  text-decoration: none;
  background: var(--fill);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 24px;
}
.blog-card-pin {
  border-color: rgba(255, 214, 102, 0.22);
}
.blog-card:hover { border-color: rgba(240, 82, 82, 0.35); }
.blog-card .section-label { margin: 0 0 8px; color: var(--canvas); }
.blog-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.blog-card p {
  margin: 0;
  color: var(--secondary);
  font-size: 15px;
  font-weight: 500;
}
.blog-card .byline {
  margin-top: 14px;
  font-size: 12px;
  color: var(--tertiary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.post {
  max-width: 680px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}
.post .eyebrow { text-align: left; }
.post h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 5vw, 40px);
}
.post .byline {
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--tertiary);
  font-weight: 600;
}
.post .byline b { color: var(--text); font-weight: 600; }
.post h2 {
  margin: 32px 0 10px;
  font-size: 20px;
  letter-spacing: -0.03em;
}
.post p {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}
.post ul {
  margin: 4px 0 18px;
  padding: 0;
  list-style: none;
}
.post ul li {
  position: relative;
  padding-left: 16px;
  margin: 0 0 8px;
  color: var(--secondary);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.post ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--gold);
}
.post h3 {
  margin: 22px 0 8px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text);
}
.post .steps {
  margin: 16px 0 20px;
  max-width: none;
}
.post .steps li { color: var(--secondary); }
.post .steps li::before { background: var(--gold); color: #111; }
.post .note {
  margin: 8px 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--fill);
  border: 1px solid var(--hairline);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 500;
}
.post .note code {
  font-size: 12px;
  color: var(--text);
}
.post code {
  font-size: 0.92em;
  color: var(--text);
}
.post-lead { padding-bottom: 8px; }
.install-desktop .cursor { z-index: 9; }

.modules-desktop .desktop-zoom {
  transform-origin: 50% 0%;
  align-items: flex-start;
  justify-content: center;
}
.modules-desktop .cursor { z-index: 9; }
.modules-desktop .ico-plus .check-icon { display: none; }
.modules-desktop .island[data-editing="1"] .ico-plus { color: var(--green); }
.modules-desktop .island[data-editing="1"] .ico-plus .plus-icon { display: none; }
.modules-desktop .island[data-editing="1"] .ico-plus .check-icon { display: block; }
.modules-desktop .island[data-editing="1"] .head-chip,
.modules-desktop .island[data-editing="1"] .ico-canvas,
.modules-desktop .island[data-editing="1"] .ico-mirror,
.modules-desktop .island[data-editing="1"] .ico-find,
.modules-desktop .island[data-editing="1"] .ico-game,
.modules-desktop .island[data-editing="1"] .ico-gear {
  display: none;
}
.mod-wrap { position: relative; }
.mod-minus {
  display: none;
  position: absolute;
  top: -8px;
  left: -8px;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: none;
  z-index: 2;
  cursor: pointer;
}
.mod-minus .ico { width: 18px; height: 18px; }
.modules-desktop .island[data-editing="1"] .mod-minus { display: grid; }
.modules-desktop .island[data-editing="1"] .mod-wrap .mcard {
  animation: mod-jiggle 0.16s ease-in-out infinite alternate;
}
.modules-desktop .island[data-editing="1"] .mcard-timer .mcard {
  animation-delay: 0.08s;
}
@keyframes mod-jiggle {
  from { transform: rotate(-1.5deg); }
  to { transform: rotate(1.5deg); }
}
.add-tray {
  display: none;
  padding-top: 4px;
}
.modules-desktop .island[data-editing="1"] .add-tray { display: block; }
.add-tray p {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--tertiary);
}
.add-chip {
  display: none;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: left;
  background: var(--fill);
  border: 0;
  border-radius: 10px;
  padding: 8px;
  color: inherit;
  cursor: pointer;
}
.add-chip .ico { width: 14px; height: 14px; color: var(--green); }
.add-chip b { display: block; font-size: 11px; font-weight: 600; }
.add-chip small { display: block; font-size: 9px; color: var(--tertiary); font-weight: 500; }
.add-label { display: none; }
.modules-desktop .island[data-removed="timer"] .mcard-timer { display: none; }
.modules-desktop .island[data-removed="timer"] .add-empty { display: none; }
.modules-desktop .island[data-removed="timer"] .add-label { display: block; }
.modules-desktop .island[data-removed="timer"] .add-chip-timer { display: flex; }
.mod-minus.is-pressed, .add-chip.is-pressed, .ico-plus.is-pressed { transform: scale(0.9); }
.post .back {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.post .back:hover { color: #ffe399; }

.post-demo {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4px 16px 8px;
}
.lock-desktop .desktop-zoom {
  transform-origin: 50% 0%;
  align-items: flex-start;
  justify-content: center;
}
.lock-desktop .cursor { z-index: 9; }
.lock-desktop .island[data-mode="toast"] .mode-toast {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 10px;
}
.lock-toast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.lock-toast b {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
}
.lock-toast small {
  font-size: 10px;
  color: var(--secondary);
}
.lock-hang {
  width: 13px;
  height: 13px;
  color: var(--gold);
  margin-right: 2px;
}
.lock-keys {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
  transition: opacity 0.3s ease;
}
.lock-desktop.is-keys .lock-keys { opacity: 1; }
.lock-keys kbd {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
}
.lock-desktop .ico-lock.is-on {
  color: var(--gold);
}
.lock-desktop .ico-lock.is-pressed { transform: scale(0.92); }
.install-desktop .desktop-zoom {
  transform-origin: 50% 42%;
  align-items: center;
}
.install-desktop[data-scene="done"] .desktop-zoom {
  transform-origin: 50% 0%;
  align-items: flex-start;
  justify-content: center;
}
.install-desktop [data-scene] { display: none; }
.install-desktop[data-scene="finder"] [data-scene="finder"],
.install-desktop[data-scene="alert"] [data-scene="alert"],
.install-desktop[data-scene="settings"] [data-scene="settings"],
.install-desktop[data-scene="confirm"] [data-scene="confirm"] {
  display: flex;
}
.install-desktop[data-scene="done"] [data-scene="done"] {
  display: flex;
}

.install-notch {
  width: 196px;
  height: 48px;
  background: #000;
  border-radius: 0 0 16px 16px;
  border: 1px solid var(--hairline);
  border-top: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 11px 9px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.finder-win,
.settings-win,
.mac-sheet {
  position: relative;
  z-index: 5;
  background: rgba(246, 246, 248, 0.92);
  color: #1d1d1f;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255,255,255,0.4) inset;
  backdrop-filter: blur(18px);
  font-family: var(--font);
}
.finder-win {
  width: min(420px, calc(100% - 48px));
  flex-direction: column;
  overflow: hidden;
}
.win-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #3a3a3c;
  background: rgba(255,255,255,0.45);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.win-dots { display: flex; gap: 6px; }
.win-dots i {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #ff5f57;
}
.win-dots i:nth-child(2) { background: #febc2e; }
.win-dots i:nth-child(3) { background: #28c840; }
.finder-body {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 36px 24px 40px;
}
.finder-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #1d1d1f;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  min-width: 88px;
}
.finder-icon.is-pressed .app-mark,
.finder-icon.is-pressed .apps-mark { transform: scale(0.94); }
.app-mark,
.apps-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  transition: transform 0.12s ease;
}
.app-mark {
  background: #111;
  color: var(--gold);
}
.app-mark .smile {
  width: 28px;
  height: 22px;
  gap: 3px;
  color: var(--gold);
}
.app-mark .smile .eyes { gap: 7px; }
.app-mark .smile .eyes i { width: 4px; height: 4px; }
.app-mark .smile .mouth { width: 16px; height: 7px; }
.apps-mark {
  background: linear-gradient(180deg, #62b1ff, #0a64d8);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.drag-ghost {
  position: absolute;
  z-index: 8;
  left: 0;
  top: 0;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35));
  opacity: 0;
}
.install-desktop.is-dragging .drag-ghost { opacity: 0.92; }

.pocket-desktop .desktop-zoom {
  transform-origin: 50% 0%;
  align-items: flex-start;
  justify-content: center;
}
.pocket-desktop .cursor { z-index: 9; }
.pocket-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 12px;
  height: 12px;
  padding: 0 3px;
  border-radius: 99px;
  background: var(--coral);
  color: #111;
  font-size: 8px;
  font-weight: 700;
  line-height: 12px;
  text-align: center;
}
.pocket-desktop .island[data-held="0"] .pocket-badge,
.pocket-desktop .island[data-held="0"] .pocket-list,
.pocket-desktop .island[data-held="0"] .pocket-clear { display: none; }
.pocket-desktop .island[data-held="1"] .pocket-empty { display: none; }
.pocket-head { gap: 8px; }
.pocket-titles { display: flex; flex-direction: column; gap: 1px; }
.pocket-titles b {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.pocket-titles small {
  font-size: 10px;
  font-weight: 500;
  color: var(--coral);
}
.pocket-clear {
  border: 0;
  background: none;
  color: var(--secondary);
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
}
.pocket-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 28px 12px 24px;
  background: var(--fill);
  border-radius: 12px;
}
.pocket-empty p { margin: 0; font-size: 12px; font-weight: 600; }
.pocket-empty small {
  font-size: 10px;
  color: var(--tertiary);
  font-weight: 500;
  max-width: 220px;
}
.pocket-empty-ico {
  width: 22px;
  height: 22px;
  color: var(--coral);
  margin-bottom: 4px;
}
.pocket-list { display: flex; flex-direction: column; gap: 6px; }
.pocket-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--fill);
  border-radius: 10px;
}
.pocket-row b { display: block; font-size: 12px; font-weight: 600; }
.pocket-row small { display: block; font-size: 10px; color: var(--tertiary); font-weight: 500; }
.pocket-row > div { flex: 1; min-width: 0; }
.pocket-x { color: var(--tertiary); }
.pocket-x .ico { width: 14px; height: 14px; }
.desk-icon {
  position: absolute;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 92px;
  border: 0;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
  cursor: pointer;
}
.desk-file { left: 7%; top: 46%; }
.desk-folder { right: 8%; top: 52%; }
.file-mark {
  width: 42px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #f3f4f8;
  color: #c62828;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.file-mark.sm {
  width: 28px;
  height: 34px;
  font-size: 8px;
  border-radius: 4px;
  box-shadow: none;
}
.folder-mark {
  width: 54px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #f5d76e;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28));
}
.folder-mark .ico { width: 48px; height: 48px; }
.pocket-ghost {
  display: flex;
  align-items: center;
  gap: 0;
}
.pocket-desktop.is-dragging .drag-ghost { opacity: 0.95; }
.pocket-desktop.is-dropping .island {
  box-shadow: 0 0 0 2px var(--coral), var(--shadow);
}
.pocket-desktop .desk-icon.is-pressed { transform: scale(0.96); }
.pocket-desktop .pocket-row.is-pressed,
.pocket-desktop .ico-pocket.is-pressed,
.pocket-desktop .pocket-clear.is-pressed,
.pocket-desktop .pocket-x.is-pressed { transform: scale(0.92); }

.mac-sheet {
  width: min(360px, calc(100% - 40px));
  padding: 18px 18px 14px;
  flex-direction: column;
  gap: 12px;
}
.sheet-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sheet-row .app-mark { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.sheet-row .app-mark .smile { width: 22px; height: 16px; }
.mac-sheet h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
}
.mac-sheet p {
  margin: 0;
  font-size: 12px;
  color: #515154;
  font-weight: 500;
  line-height: 1.4;
}
.sheet-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.mac-btn {
  border: 0;
  border-radius: 8px;
  padding: 6px 12px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  background: rgba(0,0,0,0.06);
  color: #1d1d1f;
  cursor: pointer;
}
.mac-btn.primary {
  background: #0a84ff;
  color: #fff;
}
.mac-btn.is-pressed { transform: scale(0.96); }

.settings-win {
  width: min(560px, calc(100% - 36px));
  min-height: 268px;
  overflow: hidden;
}
.settings-win .win-bar { font-size: 13px; }
.settings-body {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 220px;
}
.settings-side {
  padding: 10px 8px;
  background: rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
  font-weight: 600;
  color: #6e6e73;
}
.settings-side span {
  padding: 6px 8px;
  border-radius: 6px;
}
.settings-side .on {
  background: #0a84ff;
  color: #fff;
}
.settings-main {
  padding: 16px 18px 18px;
}
.settings-main h3 {
  margin: 0 0 4px;
  font-size: 15px;
}
.settings-main p {
  margin: 0 0 16px;
  font-size: 12px;
  color: #6e6e73;
  font-weight: 500;
}
.blocked-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 8px;
  background: rgba(0,0,0,0.04);
  border-radius: 10px;
}
.blocked-row .app-mark { width: 32px; height: 32px; border-radius: 8px; }
.blocked-row .app-mark .smile { width: 16px; height: 12px; gap: 2px; }
.blocked-row .app-mark .smile .eyes i { width: 2.4px; height: 2.4px; }
.blocked-row div { flex: 1; min-width: 0; }
.blocked-row b { display: block; font-size: 12px; }
.blocked-row small { font-size: 11px; color: #6e6e73; font-weight: 500; }

.install-caption {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 7;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.58);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  pointer-events: none;
}

.gate a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.gate a:hover { color: #ffe399; }

.lost-main {
  text-align: center;
  padding: 80px 24px;
}
.lost-main h1 { font-size: 32px; }

.update-desktop .desktop-zoom {
  transform-origin: 50% 48%;
  align-items: center;
  justify-content: center;
}
.update-desktop .cursor { z-index: 9; }
.update-desktop [data-pane="finder"] { display: none; }
.update-desktop[data-scene="finder"] [data-pane="settings"] { display: none; }
.update-desktop[data-scene="finder"] [data-pane="finder"] { display: flex; }
.update-desktop.is-dragging .drag-ghost { opacity: 0.92; }

.noggin-win {
  position: relative;
  z-index: 5;
  width: min(560px, calc(100% - 36px));
  background: #141416;
  color: var(--text);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
}
.noggin-win .win-bar {
  background: rgba(255, 255, 255, 0.04);
  color: #c8c8cc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.noggin-body {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 268px;
}
.noggin-side {
  padding: 14px 8px 12px;
  background: rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--secondary);
}
.noggin-side p {
  margin: 0 8px 8px;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: var(--tertiary);
}
.noggin-side span {
  padding: 7px 10px;
  border-radius: 8px;
}
.noggin-side .on {
  background: var(--fill-strong);
  color: var(--text);
}
.noggin-side .on.is-pressed { transform: scale(0.97); }
.noggin-main {
  padding: 18px 18px 20px;
}
.noggin-main h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 650;
}
.noggin-sub {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--secondary);
  font-weight: 500;
}
.update-card {
  padding: 12px;
  border-radius: 12px;
  background: var(--fill);
  margin-bottom: 14px;
}
.update-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  margin-bottom: 8px;
}
.update-card-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: var(--secondary);
}
.update-ico {
  width: 18px;
  height: 18px;
  color: var(--gold);
  display: grid;
  place-items: center;
}
.update-ico .ico { width: 16px; height: 16px; }
.update-card p {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--secondary);
  font-weight: 500;
}
.update-bar {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin: 0 0 10px;
}
.update-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 99px;
  transition: width 0.28s ease;
}
.update-btn {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  color: #111;
  background: var(--gold);
  padding: 6px 12px;
  border-radius: 99px;
}
.update-btn.is-pressed { transform: scale(0.96); }
.update-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
}
.update-toggle i {
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
}
.update-toggle i::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: #d0d0d4;
}

.saves-desktop .desktop-zoom {
  transform-origin: 50% 42%;
  align-items: center;
  justify-content: center;
}
.saves-desktop[data-scene="notch"] .desktop-zoom {
  transform-origin: 50% 0%;
  align-items: flex-start;
  justify-content: center;
}
.saves-desktop .cursor { z-index: 9; }
.saves-desktop [data-scene] { display: none; }
.saves-desktop[data-scene="brew"] [data-scene="brew"],
.saves-desktop[data-scene="downloads"] [data-scene="downloads"] {
  display: flex;
}
.saves-desktop[data-scene="notch"] .island[data-scene="notch"] {
  display: block;
}
.term-win {
  width: min(520px, calc(100% - 48px));
  flex-direction: column;
  overflow: hidden;
  background: #1a1a1e;
  color: #e8e8ed;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255,255,255,0.08) inset;
  z-index: 5;
}
.term-bar {
  background: rgba(255,255,255,0.06);
  color: #c8c8cc;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.term-body {
  margin: 0;
  padding: 16px 18px 20px;
  min-height: 168px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 500;
  white-space: pre-wrap;
  color: #d4f5c8;
}
.term-body .term-dim { color: #8e8e93; }
.term-body .term-ytdlp { color: #f05252; }
.term-body .term-ffmpeg { color: var(--amber); }
.term-body .term-ok { color: var(--green); }
.save-card { display: none; }
.saves-desktop[data-kind="youtube"] [data-kind-card="youtube"],
.saves-desktop[data-kind="spotify"] [data-kind-card="spotify"] {
  display: block;
}
.save-field {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--tertiary);
  margin-bottom: 8px;
  min-height: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.save-field.is-filled { color: var(--text); }
.save-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.save-status {
  flex: 1;
  min-width: 0;
  font-size: 10px;
  font-weight: 500;
  color: var(--tertiary);
  line-height: 1.35;
}
.save-go {
  background: var(--fill-strong);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
}
.save-go.is-pressed { transform: scale(0.92); }
.save-pipe {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 0 2px;
}
.saves-desktop[data-pipe="yt"] .save-pipe,
.saves-desktop[data-pipe="sp"] .save-pipe {
  display: flex;
}
.save-chip {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  background: var(--fill-strong);
  color: var(--text);
  opacity: 0.28;
  transform: scale(0.92);
}
.saves-desktop[data-pipe="yt"] .save-chip-url,
.saves-desktop[data-pipe="yt"] .save-chip-ytdlp,
.saves-desktop[data-pipe="yt"] .save-chip-file,
.saves-desktop[data-pipe="sp"] .save-chip {
  animation: save-pop 0.45s cubic-bezier(0.16, 1, 0.22, 1) forwards;
}
.saves-desktop[data-pipe="yt"] .save-chip-ytdlp { animation-delay: 0.28s; }
.saves-desktop[data-pipe="yt"] .save-chip-file { animation-delay: 0.56s; }
.saves-desktop[data-pipe="sp"] .save-chip-url { animation-delay: 0s; }
.saves-desktop[data-pipe="sp"] .save-chip-ytdlp { animation-delay: 0.22s; }
.saves-desktop[data-pipe="sp"] .save-chip-ffmpeg { animation-delay: 0.44s; }
.saves-desktop[data-pipe="sp"] .save-chip-file { animation-delay: 0.66s; }
.saves-desktop[data-pipe="yt"] .save-arrow-ff,
.saves-desktop[data-pipe="yt"] .save-chip-ffmpeg {
  display: none;
}

.library-desktop .desktop-zoom {
  transform-origin: 50% 0%;
  align-items: flex-start;
  justify-content: center;
}
.library-desktop[data-scene="settings"] .desktop-zoom {
  transform-origin: 50% 42%;
  align-items: center;
}
.library-desktop .cursor { z-index: 9; }
.library-desktop [data-pane="settings"] { display: none; }
.library-desktop[data-scene="settings"] [data-pane="island"] { display: none; }
.library-desktop[data-scene="settings"] [data-pane="settings"] { display: flex; }
.library-desktop .ico-calc { display: none; }
.library-desktop .mcard-calc { display: none; }
.library-desktop .lib-calc-on { display: none; }
.library-desktop[data-installed="1"] .ico-calc { display: grid; }
.library-desktop[data-installed="1"] .mcard-calc { display: block; }
.library-desktop[data-installed="1"] .lib-calc-on { display: flex; }
.library-desktop[data-installed="1"] .lib-calc-off { display: none; }

.library-win {
  width: min(620px, calc(100% - 36px));
}
.library-win .noggin-main {
  overflow: auto;
  max-height: 340px;
}
.lib-group {
  margin: 12px 0 6px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--tertiary);
}
.lib-group:first-of-type { margin-top: 0; }
.lib-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border-radius: 10px;
  background: var(--fill);
}
.lib-card .ico {
  width: 16px;
  height: 16px;
  color: var(--sky);
  flex-shrink: 0;
}
.lib-card div { flex: 1; min-width: 0; }
.lib-card b {
  display: block;
  font-size: 12px;
  font-weight: 650;
}
.lib-card small {
  display: block;
  margin-top: 1px;
  font-size: 10px;
  color: var(--gold);
  font-weight: 600;
}
.lib-calc-off small,
.lib-calc-on small {
  color: var(--secondary);
  font-weight: 500;
}
.lib-switch {
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
  position: relative;
  flex-shrink: 0;
}
.lib-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: #fff;
}
.lib-switch.is-on {
  background: var(--teal);
}
.lib-switch.is-on::after { left: 14px; }
.lib-action {
  border: 0;
  border-radius: 7px;
  padding: 4px 9px;
  font: inherit;
  font-size: 11px;
  font-weight: 650;
  background: var(--fill-strong);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.lib-action.is-install {
  background: var(--sky);
  color: #081018;
}
.lib-action.is-pressed { transform: scale(0.94); }
.lib-action.is-loading {
  pointer-events: none;
  background: var(--fill-strong);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lib-action.is-loading::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(255, 212, 102, 0.22);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: lib-spin 0.68s linear infinite;
}
@keyframes lib-spin {
  to { transform: rotate(360deg); }
}

.save-chip-ytdlp { color: #ffb4b0; background: rgba(240, 82, 82, 0.18); }
.save-chip-ffmpeg { color: var(--amber); background: rgba(255, 214, 102, 0.16); }
.save-chip-file { color: var(--green); background: rgba(31, 214, 97, 0.16); }
.save-arrow {
  width: 14px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,0.22);
  position: relative;
  overflow: hidden;
}
.save-arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  transform: translateX(-100%);
}
.saves-desktop[data-pipe="yt"] .save-arrow::after,
.saves-desktop[data-pipe="sp"] .save-arrow::after {
  animation: save-flow 0.9s ease-in-out 0.2s 2;
}
@keyframes save-pop {
  to { opacity: 1; transform: scale(1); }
}
@keyframes save-flow {
  to { transform: translateX(100%); }
}
.saves-finder { display: none; }
.saves-finder-body { gap: 36px; }
.file-mark.mp3 {
  background: rgba(31, 214, 97, 0.2);
  color: #128a3a;
}

@media (max-width: 720px) {
  .bezel-bar { padding: 14px 16px 0; }
  .wordmark span { display: none; }
  .nav-end { gap: 12px; }
  .canvas-pitch { grid-template-columns: 1fr; }
  .canvas-lede { text-align: left; }
  .arcade { grid-template-columns: 1fr; padding: 22px; }
  .arcade-mascot { min-height: 120px; order: -1; }
  .download-panel { padding: 24px 18px; }
  .lip { width: 168px; height: 42px; }
  .mod-list { gap: 6px; }
  .desktop { height: min(64vh, 520px); border-radius: 16px; }
  .desk-file { left: 4%; top: 58%; }
  .desk-folder { right: 3%; top: 62%; }
  .finder-body { gap: 28px; padding: 28px 16px 32px; }
  .settings-body { grid-template-columns: 1fr; }
  .settings-side { display: none; }
  .noggin-body { grid-template-columns: 1fr; }
  .noggin-side { display: none; }
  .blocked-row { flex-wrap: wrap; }
  .split { flex-direction: column; }
}

.ico-mic { color: var(--coral); }
.ico-speed { color: var(--sky); }
.ico-archive { color: var(--teal); }
.ico-wave { color: var(--amber); }

.voice-desktop {
  height: min(78vh, 680px);
}
.voice-desktop .desktop-zoom,
.speed-desktop .desktop-zoom,
.zip-desktop .desktop-zoom,
.mic-desktop .desktop-zoom {
  transform-origin: 50% 0%;
  align-items: flex-start;
  justify-content: center;
}
.voice-desktop .cursor,
.speed-desktop .cursor,
.zip-desktop .cursor,
.mic-desktop .cursor { z-index: 9; }

.voice-empty,
.voice-list,
.voice-meters { display: none; }
.voice-desktop[data-voice="empty"] .voice-empty { display: flex; }
.voice-desktop[data-voice="rec"] .voice-meters { display: flex; }
.voice-desktop[data-voice="saved"] .voice-list,
.voice-desktop[data-voice="open"] .voice-list { display: flex; }
.voice-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px;
  min-height: 120px;
  text-align: center;
  background: var(--fill);
  border-radius: 12px;
  margin-bottom: 8px;
}
.voice-empty p { margin: 0; font-size: 12px; font-weight: 600; }
.voice-empty small {
  font-size: 10px;
  color: var(--tertiary);
  font-weight: 500;
  max-width: 240px;
}
.voice-empty-ico { width: 22px; height: 22px; color: var(--coral); }
.voice-list { flex-direction: column; gap: 6px; margin-bottom: 8px; }
.voice-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--fill);
}
.voice-play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--fill-strong);
  color: var(--coral);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.voice-play .ico { width: 11px; height: 11px; }
.voice-row > div { flex: 1; min-width: 0; }
.voice-row b { display: block; font-size: 12px; font-weight: 600; }
.voice-row small { display: block; font-size: 10px; color: var(--tertiary); font-weight: 500; }
.voice-star,
.voice-chevron {
  border: 0;
  background: none;
  padding: 0;
  color: var(--tertiary);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.voice-star .ico,
.voice-chevron .ico { width: 12px; height: 12px; }
.voice-chevron .chev-up { display: none; }
.voice-desktop[data-voice="open"] .voice-chevron .chev-down { display: none; }
.voice-desktop[data-voice="open"] .voice-chevron .chev-up { display: block; }
.voice-desktop[data-fav="1"] .voice-star { color: var(--gold); }
.voice-extra {
  display: none;
  width: 100%;
  flex: 1 1 100%;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
}
.voice-desktop[data-voice="open"] .voice-extra { display: flex; }
.voice-field {
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}
.voice-field.note { font-size: 11px; color: var(--secondary); }
.voice-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.voice-mp3 {
  border: 0;
  font: inherit;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  color: var(--coral);
  padding: 5px 8px;
  border-radius: 7px;
  background: var(--fill-strong);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.voice-mp3 .ico { width: 11px; height: 11px; }
.voice-meters {
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.voice-meters b {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.voice-bars { display: flex; align-items: center; gap: 3px; height: 24px; }
.voice-bars i {
  width: 3px;
  border-radius: 99px;
  background: var(--coral);
  opacity: 0.35;
  height: 8px;
}
.voice-desktop[data-voice="rec"] .voice-bars i {
  animation: voiceBar 0.7s ease-in-out infinite alternate;
}
.voice-desktop[data-voice="rec"] .voice-bars i:nth-child(2) { animation-delay: 0.1s; }
.voice-desktop[data-voice="rec"] .voice-bars i:nth-child(3) { animation-delay: 0.2s; }
.voice-desktop[data-voice="rec"] .voice-bars i:nth-child(4) { animation-delay: 0.15s; }
.voice-desktop[data-voice="rec"] .voice-bars i:nth-child(5) { animation-delay: 0.05s; }
@keyframes voiceBar {
  from { height: 8px; opacity: 0.3; }
  to { height: 22px; opacity: 1; }
}
.voice-rec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 4px;
}
.voice-mic {
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  background: var(--fill-strong);
  color: var(--coral);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px rgba(255, 122, 107, 0.22);
}
.voice-desktop[data-voice="rec"] .voice-mic {
  background: var(--coral);
  color: #fff;
}
.voice-mic .ico { width: 20px; height: 20px; }
.voice-mic .ico-stop { display: none; width: 16px; height: 16px; }
.voice-desktop[data-voice="rec"] .voice-mic .ico-rec { display: none; }
.voice-desktop[data-voice="rec"] .voice-mic .ico-stop { display: block; }
.voice-rec small { font-size: 10px; color: var(--tertiary); font-weight: 500; }
.voice-desktop .ico-mic.is-pressed,
.voice-desktop .voice-mic.is-pressed,
.voice-desktop .voice-row.is-pressed,
.voice-desktop .voice-star.is-pressed,
.voice-desktop .voice-mp3.is-pressed { transform: scale(0.92); }

.speed-desktop .speed-run { display: none; }
.speed-desktop[data-speed="run"] .speed-run { display: block; }
.speed-desktop[data-speed="run"] .speed-ready { display: none; }
.speed-desktop .chip { color: var(--sky); padding-inline: 10px; }
.speed-run-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.speed-run-row b {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}
.speed-run-row small { font-size: 10px; color: var(--sky); font-weight: 500; }
.speed-bar {
  height: 6px;
  border-radius: 99px;
  background: var(--fill);
  overflow: hidden;
}
.speed-bar i {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: 99px;
  background: var(--sky);
  transition: width 0.35s linear;
}
.speed-desktop .chip.is-pressed { transform: scale(0.94); }

.zip-desktop .desktop-zoom { z-index: 2; }
.zip-desktop .cursor { z-index: 9; }
.zip-desktop.is-dragging .drag-ghost { opacity: 0.95; }
.zip-desktop .drag-ghost { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.zip-desktop.is-dropping .zip-card {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.zip-status { font-size: 10px; font-weight: 500; color: var(--tertiary); margin: 0 0 8px; }
.zip-desktop[data-zip="busy"] .zip-status { color: var(--teal); }
.zip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.zip-row .chip { margin-left: auto; color: var(--teal); padding-inline: 10px; }
.zip-desktop .desk-icon.is-pressed,
.zip-desktop .chip.is-pressed { transform: scale(0.94); }

.mic-status { font-size: 10px; font-weight: 500; color: var(--tertiary); margin: 0 0 2px; }
.mic-meter {
  height: 8px;
  border-radius: 99px;
  background: var(--fill);
  overflow: hidden;
  margin: 6px 0 8px;
}
.mic-meter i {
  display: block;
  height: 100%;
  width: 8%;
  border-radius: 99px;
  background: var(--amber);
  transition: width 0.12s linear;
}
.mic-desktop[data-mic="record"] .mic-meter i {
  animation: micFill 0.9s ease-in-out infinite alternate;
}
@keyframes micFill {
  from { width: 12%; }
  to { width: 78%; }
}
.mic-actions { display: flex; align-items: center; gap: 8px; }
.mic-actions .chip { color: var(--amber); padding-inline: 10px; }
.mic-actions .chip-rec { margin-left: auto; color: var(--text); }
.mic-desktop[data-mic="record"] .chip-rec { color: var(--coral); }
.mic-desktop .chip.is-pressed { transform: scale(0.94); }

.island-edit-desktop .cursor,
.hud-desktop .cursor,
.music-desktop .cursor,
.timer-desktop .cursor { z-index: 9; }
.island-edit-desktop .island { position: relative; }
.island-edit-desktop [data-pane="settings"],
.hud-desktop .mac-hud { display: none; }
.island-edit-desktop[data-scene="settings"] [data-pane="island"] { display: none; }
.island-edit-desktop[data-scene="settings"] [data-pane="settings"] { display: flex; }
.island-edit-desktop[data-scene="settings"] .desktop-zoom {
  transform-origin: 50% 42%;
  align-items: center;
}
.island-edit-win { width: min(520px, calc(100% - 36px)); }
.edit-launch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: var(--fill);
  border: 1px solid rgba(255, 214, 102, 0.35);
}
.edit-launch b { display: block; font-size: 14px; font-weight: 650; }
.edit-launch small { display: block; font-size: 11px; color: var(--secondary); font-weight: 500; line-height: 1.4; }
.edit-go {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--gold);
  color: #111;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.edit-go.is-pressed { transform: scale(0.97); }
.edit-panel {
  display: none;
  position: absolute;
  z-index: 8;
  right: 4%;
  top: 16%;
  width: min(248px, 42%);
  padding: 12px;
  background: rgba(8, 8, 10, 0.9);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.island-edit-desktop[data-scene="hang"] .edit-panel,
.island-edit-desktop[data-scene="preview"] .edit-panel,
.island-edit-desktop[data-scene="expanded"] .edit-panel { display: block; }
.edit-panel h4 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 650;
}
.edit-phase {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.edit-phase span {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 650;
  padding: 5px 0;
  border-radius: 6px;
  color: var(--secondary);
}
.island-edit-desktop[data-scene="hang"] .edit-hang,
.island-edit-desktop[data-scene="preview"] .edit-hang,
.island-edit-desktop[data-scene="expanded"] .edit-exp {
  background: var(--fill-strong);
  color: #fff;
}
.edit-slider {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 11px;
  font-weight: 650;
}
.edit-slider em {
  font-style: normal;
  width: 36px;
}
.edit-slider b {
  width: 28px;
  text-align: right;
  color: var(--secondary);
  font-weight: 500;
}
.edit-track {
  flex: 1;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.edit-track i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 99px;
  background: var(--gold);
  transition: width 0.45s ease;
}
.island-edit-desktop[data-drop="hi"] .edit-drop i { width: 86%; }
.island-edit-desktop[data-drop="lo"] .edit-drop i { width: 18%; }
.edit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 8px;
}
.edit-chip {
  border: 0;
  border-radius: 99px;
  padding: 4px 8px;
  background: var(--fill-strong);
  color: #fff;
  font: inherit;
  font-size: 10px;
  font-weight: 650;
  cursor: pointer;
}
.island-edit-desktop[data-scene="preview"] .edit-chip-player {
  background: var(--gold);
  color: #111;
}
.edit-done {
  margin-top: 10px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  background: var(--gold);
  color: #111;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}
.edit-stroke {
  position: absolute;
  inset: 0;
  border: 2px solid #e23d3d;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}
.island-edit-desktop[data-scene="hang"] .edit-stroke,
.island-edit-desktop[data-scene="preview"] .edit-stroke,
.island-edit-desktop[data-scene="expanded"] .edit-stroke { opacity: 1; }
.island-edit-desktop[data-drop="lo"] .island[data-mode="idle"] { height: 38px; }
.island-edit-desktop[data-drop="hi"] .island[data-mode="idle"] { height: 64px; }
.island-edit-desktop[data-scene="expanded"] .island[data-mode="home"] {
  box-shadow: 0 0 0 2px #e23d3d, var(--shadow);
}

.hud-desktop .mac-hud {
  position: absolute;
  z-index: 7;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: min(220px, 54%);
  padding: 16px 18px 14px;
  background: rgba(246, 246, 248, 0.88);
  color: #1d1d1f;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hud-desktop[data-scene="system"] .mac-hud { display: flex; }
.mac-hud .ico { width: 28px; height: 28px; }
.mac-hud-track {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}
.mac-hud-track i {
  display: block;
  height: 100%;
  width: 58%;
  background: #1d1d1f;
  border-radius: 99px;
}
.hud-keys {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  display: none;
  gap: 6px;
}
.hud-desktop[data-scene="volume"] .hud-keys,
.hud-desktop[data-scene="brightness"] .hud-keys { display: flex; }
.hud-keys kbd {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(20, 20, 22, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 650;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.mode-hud .ico,
.mode-timer .ico { width: 14px; height: 14px; flex-shrink: 0; }
.hud-desktop[data-scene="volume"] .mode-hud { color: #fff; }
.hud-desktop[data-scene="brightness"] .mode-hud { color: var(--amber); }
.hud-track {
  flex: 1;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}
.hud-track i {
  display: block;
  height: 100%;
  width: 20%;
  border-radius: 99px;
  background: currentColor;
  transition: width 0.35s ease;
}
.hud-desktop[data-level="1"] .hud-track i { width: 28%; }
.hud-desktop[data-level="2"] .hud-track i { width: 52%; }
.hud-desktop[data-level="3"] .hud-track i { width: 78%; }
.hud-pct {
  font-size: 11px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  min-width: 34px;
  text-align: right;
}

.music-desktop .yt-win {
  display: none;
  position: absolute;
  z-index: 5;
  left: 8%;
  top: 28%;
  width: min(280px, 48%);
  background: #1a1a1c;
  color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}
.music-desktop[data-source="youtube"] .yt-win { display: block; }
.yt-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(255, 255, 255, 0.04);
}
.yt-stage {
  height: 92px;
  display: grid;
  place-items: center;
  background: #111;
  color: var(--canvas);
}
.yt-stage .ico { width: 28px; height: 28px; }
.yt-meta { padding: 10px 12px 12px; }
.yt-meta b { display: block; font-size: 13px; }
.yt-meta small { color: var(--secondary); font-size: 11px; font-weight: 500; }
.music-desktop[data-source="youtube"] .peek-spotify,
.music-desktop[data-source="youtube"] .now-spotify { display: none; }
.music-desktop[data-source="spotify"] .peek-youtube,
.music-desktop[data-source="spotify"] .now-youtube { display: none; }
.music-desktop[data-source="youtube"] .lbl-green { color: var(--canvas); }

.timer-hang {
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--amber);
}
.timer-desktop .island[data-mode="toast"] .mode-toast {
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 10px;
}

.changelog-intro {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 8px 0 20px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 8%, rgba(232, 185, 74, 0.16), transparent 58%),
    #050505;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.cl-bezel {
  height: 14px;
  background: linear-gradient(#1c1c1e, #0c0c0c);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cl-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  padding: 0 22px 12px;
}
.cl-notch {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 176px;
  height: 34px;
  padding: 0 16px 0 0;
  border-radius: 0 0 18px 18px;
  background: #000;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition:
    width 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    justify-content 0.5s ease;
}
.cl-notch::after {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 185, 74, 0.34), transparent 68%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.changelog-intro:not([data-beat="idle"]) .cl-notch {
  width: 78px;
  height: 78px;
  margin-top: 28px;
  padding: 0;
  justify-content: center;
  border-radius: 39px;
}
.changelog-intro:not([data-beat="idle"]) .cl-notch::after {
  opacity: 1;
  transform: scale(1);
}
.cl-smile {
  width: 16px;
  height: 12px;
  transition:
    width 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    gap 0.65s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.cl-smile .eyes { transition: gap 0.65s ease; }
.cl-smile .eyes i { transition: width 0.65s ease, height 0.65s ease; }
.cl-smile .mouth { transition: width 0.65s ease, height 0.65s ease; }
.changelog-intro:not([data-beat="idle"]) .cl-smile {
  width: 46px;
  height: 36px;
  gap: 5px;
}
.changelog-intro:not([data-beat="idle"]) .cl-smile .eyes { gap: 9px; }
.changelog-intro:not([data-beat="idle"]) .cl-smile .eyes i {
  width: 7px;
  height: 7.5px;
}
.changelog-intro:not([data-beat="idle"]) .cl-smile .mouth {
  width: 28px;
  height: 12px;
}
.changelog-intro[data-beat="hello"] .cl-smile {
  transform: scale(1.08);
}
.cl-hello {
  margin: 18px 0 0;
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--gold);
  line-height: 1;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.changelog-intro:not([data-beat="idle"]) .cl-hello {
  opacity: 1;
  transform: none;
}
.cl-line {
  min-height: 1.4em;
  margin: 10px 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}
.cl-pills {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 560px;
}
.changelog-intro[data-beat="games"] [data-group="games"],
.changelog-intro[data-beat="modules"] [data-group="modules"],
.changelog-intro[data-beat="all"] .cl-pills {
  display: flex;
}
.cl-pills span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px) scale(0.94);
}
.changelog-intro[data-beat="games"] [data-group="games"] span,
.changelog-intro[data-beat="modules"] [data-group="modules"] span {
  animation: clPop 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.changelog-intro[data-beat="games"] [data-group="games"] span:nth-child(n+4),
.changelog-intro[data-beat="modules"] [data-group="modules"] span:first-child,
.changelog-intro[data-beat="modules"] [data-group="modules"] span:last-child,
.changelog-intro[data-beat="all"] [data-group="games"] span:nth-child(n+4),
.changelog-intro[data-beat="all"] [data-group="modules"] span:first-child,
.changelog-intro[data-beat="all"] [data-group="modules"] span:last-child {
  background: rgba(232, 185, 74, 0.12);
  border-color: rgba(232, 185, 74, 0.28);
  color: #f3d48a;
}
@keyframes clPop {
  to {
    opacity: 1;
    transform: none;
  }
}
.cl-caption {
  margin: 0;
  padding: 4px 20px 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 600;
  min-height: 1.4em;
}

html.reel, html.reel body {
  background: #000;
  margin: 0;
}
html.reel .bezel,
html.reel footer,
html.reel .skip,
html.reel .post,
html.reel .post-lead {
  display: none !important;
}
html.reel .post-demo {
  max-width: none;
  margin: 0;
  padding: 0;
}
html.reel .changelog-intro {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  border: none;
  border-radius: 0;
}
html.reel .cl-stage {
  flex: 1;
  justify-content: center;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .smile .eye, .smile .eyes i, .legs i, .bars i, .playbar-track i { animation: none; }
  .modules-desktop .island[data-editing="1"] .mod-wrap .mcard { animation: none; }
  .btn:hover { transform: none; }
  .desktop-zoom, .cursor, .island { transition: none; }
  .install-desktop .desktop-zoom, .install-desktop .cursor, .drag-ghost { transition: none; }
  .pocket-desktop .desktop-zoom, .pocket-desktop .cursor { transition: none; }
  .lock-desktop .desktop-zoom, .lock-desktop .cursor, .lock-keys { transition: none; }
  .update-desktop .desktop-zoom, .update-desktop .cursor, .update-bar i { transition: none; }
  .saves-desktop .desktop-zoom, .saves-desktop .cursor, .save-chip, .save-arrow::after { animation: none; transition: none; }
  .saves-desktop[data-pipe="yt"] .save-chip,
  .saves-desktop[data-pipe="sp"] .save-chip { opacity: 1; transform: none; }
  .library-desktop .desktop-zoom, .library-desktop .cursor { transition: none; }
  .voice-desktop .desktop-zoom, .voice-desktop .cursor,
  .speed-desktop .desktop-zoom, .speed-desktop .cursor, .speed-bar i,
  .zip-desktop .desktop-zoom, .zip-desktop .cursor, .zip-desktop .drag-ghost,
  .mic-desktop .desktop-zoom, .mic-desktop .cursor { transition: none; }
  .island-edit-desktop .desktop-zoom, .island-edit-desktop .cursor, .edit-track i, .hud-track i { transition: none; }
  .hud-desktop .desktop-zoom, .hud-desktop .cursor,
  .music-desktop .desktop-zoom, .music-desktop .cursor,
  .timer-desktop .desktop-zoom, .timer-desktop .cursor { transition: none; }
  .voice-desktop[data-voice="rec"] .voice-bars i,
  .mic-desktop[data-mic="record"] .mic-meter i { animation: none; }
  .trust-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .trust-list[aria-hidden="true"] { display: none; }
  .trust-marquee { mask-image: none; padding: 0 24px; }
  .download-dialog, .download-dialog-card { animation: none; }
  .trust-list { flex-wrap: wrap; justify-content: center; padding: 0; }
  .cl-notch, .cl-smile, .cl-smile .eyes, .cl-smile .eyes i, .cl-smile .mouth, .cl-hello, .cl-notch::after {
    transition: none;
  }
  .changelog-intro[data-beat="all"] .cl-pills span {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
