@font-face { font-family: "Archivo"; src: url(/assets/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "PANE Selawik"; src: url(/assets/fonts/selawik.woff2) format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/assets/fonts/jetbrains-mono-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
/* PANE glass kit for the web. Tokens and looks from dll/src/glasskit.h (gk::tok) and ui.cpp, 1 px = PANE's 1.0 scale. */
:root {
  --pane-ui: "Segoe UI Variable Text", "Segoe UI", "PANE Selawik", system-ui, sans-serif;
  --pane-ui-semi: "Segoe UI Variable Display", "Segoe UI Semibold", "Segoe UI", "PANE Selawik", system-ui, sans-serif;
  --display: "Archivo", "PANE Selawik", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --ink: rgb(13 13 15);
  --w: 255 255 255;
  --warn: rgb(255 102 92);
  --glass-tint: rgba(15, 15, 20, 0.34);
  --app-tint: rgba(14, 14, 19, 0.40);
  --blur: blur(22px) saturate(1.25);
  --r-panel: 26px;
  --r-row: 16px;
  --r-inset: 18px;
}

/* ---------------------------------------------------------------- glass panels (DrawGlass) */
.pg-glass {
  position: relative;
  border-radius: var(--r-panel);
  background: var(--glass-tint);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: 0 0 0 1px rgb(var(--w) / 0.20), inset 0 0 0 2px rgb(var(--w) / 0.05), 0 5px 18px rgba(0, 0, 0, 0.16);
  color: rgb(var(--w) / 0.97);
  font-family: var(--pane-ui);
}
.pg-glass.app { background: var(--app-tint); }
.pg-glass.clear { background: rgba(15, 15, 20, 0.17); box-shadow: 0 0 0 1.6px rgb(var(--w) / 0.58), inset 0 0 0 2px rgb(var(--w) / 0.05), 0 5px 18px rgba(0, 0, 0, 0.16); }

/* ---------------------------------------------------------------- text */
.pg-title { font-family: var(--pane-ui-semi); font-weight: 600; font-size: 21.85px; line-height: 1.15; color: rgb(var(--w) / 0.97); letter-spacing: 0; }
.pg-body { font-size: 17px; color: rgb(var(--w) / 0.94); }
.pg-small { font-size: 14px; color: rgb(var(--w) / 0.5); }
.pg-section { font-size: 12px; letter-spacing: 0.02em; color: rgb(var(--w) / 0.45); text-transform: uppercase; }
.pg-note { font-size: 14px; color: rgb(var(--w) / 0.48); }

/* ---------------------------------------------------------------- the PANE mark (DrawLogo) */
.pg-mark { position: relative; display: inline-block; width: 19px; height: 19px; flex: none; }
.pg-mark i { position: absolute; border-radius: 24%; }
.pg-mark i:nth-child(1) { left: 34%; top: 0; width: 66%; height: 66%; background: rgb(var(--w) / 0.16); box-shadow: inset 0 0 0 1.4px rgb(var(--w) / 0.7); }
.pg-mark i:nth-child(2) { left: 0; top: 34%; width: 66%; height: 66%; background: rgb(var(--w) / 0.95); }
.pg-mark i:nth-child(2)::after { content: ""; position: absolute; left: 21%; bottom: 39%; width: 1.6px; height: 38%; background: rgba(13, 13, 15, 0.22); transform: rotate(22deg); transform-origin: bottom; }
.pg-wordmark { font-family: var(--pane-ui-semi); font-weight: 600; font-size: 19px; letter-spacing: 2.2px; color: rgb(var(--w) / 0.97); }

/* ---------------------------------------------------------------- buttons (DrawButton): glass, solid, static */
.pg-btn {
  --h: 0; --d: 0; --k: 1;
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 33px; padding: 0 17px; border: 0; border-radius: 999px;
  font: 17px/1 var(--pane-ui); color: rgb(var(--w) / calc(0.88 + 0.12 * var(--h)));
  background: rgb(var(--w) / calc(0.08 + 0.10 * var(--h) + 0.06 * var(--d)));
  box-shadow: inset 0 0 0 calc(1px + 0.3px * var(--h)) rgb(var(--w) / calc(0.14 + 0.36 * var(--h)));
  transform: scale(var(--k)); cursor: pointer; white-space: nowrap; text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.pg-btn.solid { color: var(--ink); background: rgb(var(--w) / calc(0.90 + 0.10 * var(--h) - 0.08 * var(--d))); box-shadow: none; }
.pg-btn.static { color: rgb(var(--w) / 0.62); background: rgb(var(--w) / 0.05); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.10); cursor: default; }
.pg-btn.big { height: 46px; padding: 0 24px; font-size: 18px; }
.pg-btn.small { height: 30px; padding: 0 14px; font-size: 14.3px; }
.pg-btn:focus-visible, .pg-toggle:focus-visible, .pg-seg button:focus-visible, .pg-round:focus-visible, .pg-close:focus-visible { outline: 2px solid rgb(var(--w) / 0.9); outline-offset: 3px; }
.pg-ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; background: radial-gradient(circle, rgb(var(--w) / 0.28) 0 25%, rgb(var(--w) / 0.21) 25% 50%, rgb(var(--w) / 0.14) 50% 75%, rgb(var(--w) / 0.07) 75% 100%); }
.pg-btn.solid .pg-ripple { background: radial-gradient(circle, rgba(0, 0, 0, 0.10) 0 50%, rgba(0, 0, 0, 0.04) 50% 100%); }

/* ---------------------------------------------------------------- switch (DrawToggle) 46 x 28 */
.pg-toggle {
  --pos: 0; --fill: 0; --st: 0; --h: 0; --a: 1;
  position: relative; flex: none; width: 46px; height: 28px; padding: 0; border: 0; border-radius: 14px; cursor: pointer;
  background: rgb(var(--w) / calc((0.14 + 0.05 * var(--h)) * var(--a)));
  box-shadow: inset 0 0 0 1px rgb(var(--w) / calc((0.16 + 0.2 * var(--h)) * var(--a)));
  -webkit-tap-highlight-color: transparent;
}
.pg-toggle::before { /* white fill growing from the left behind the knob */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; border-radius: 14px;
  width: calc(28px + max(0px, 18px * var(--pos)));
  background: rgb(var(--w) / calc(0.92 * var(--fill) * var(--a)));
}
.pg-toggle i { /* knob: squashes and stretches with its speed */
  position: absolute; top: 50%; left: calc(14px + 18px * var(--pos));
  width: calc(22px * (1 + 0.45 * var(--st) + 0.06 * var(--h))); height: calc(22px * (1 - 0.10 * var(--st) + 0.06 * var(--h)));
  transform: translate(-50%, -50%); border-radius: 999px;
  background: rgb(calc(255 * (1 - 0.9 * var(--fill))) calc(255 * (1 - 0.9 * var(--fill))) calc(255 * (1 - 0.9 * var(--fill)) + 2.5));
  box-shadow: 0 1.2px 0 rgba(0, 0, 0, calc(0.25 * var(--a)));
}
.pg-toggle[aria-disabled="true"] { --a: 0.45; cursor: default; }

/* ---------------------------------------------------------------- segmented (DrawSegmented / SegRow) */
.pg-seg { --sx: 0px; --sw: 0px; position: relative; display: inline-flex; padding: 2px; border-radius: 999px; background: rgb(var(--w) / 0.06); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.10); }
.pg-seg::before { content: ""; position: absolute; top: 2px; bottom: 2px; left: 0; width: var(--sw); transform: translateX(var(--sx)); border-radius: 999px; background: rgb(var(--w) / 0.92); }
.pg-seg button { position: relative; z-index: 1; height: 29px; padding: 0 11px; border: 0; background: none; cursor: pointer; font: 14px/1 var(--pane-ui); color: rgb(var(--w) / 0.72); white-space: nowrap; transition: color 0.12s; }
.pg-seg button[aria-pressed="true"] { color: var(--ink); }
.pg-seg.tabs button { flex: 1; height: 33px; font-size: 17px; padding: 0 14px; }

/* ---------------------------------------------------------------- slider (SliderRow + Thumb) */
.pg-slider { --t: 0; --h: 0; position: relative; height: 28px; flex: 1; min-width: 90px; cursor: pointer; touch-action: none; }
.pg-slider::before, .pg-slider::after { content: ""; position: absolute; left: 0; top: 12px; height: 4px; border-radius: 4px; }
.pg-slider::before { right: 0; background: rgb(var(--w) / 0.12); }
.pg-slider::after { width: calc(100% * var(--t)); background: rgb(var(--w) / 0.9); }
.pg-slider i { position: absolute; top: 14px; left: calc(100% * var(--t)); width: calc(16px + 4px * var(--h)); height: calc(16px + 4px * var(--h)); transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 0 0 calc(7px * var(--h)) rgb(var(--w) / calc(0.12 * var(--h))); }
.pg-slider input { position: absolute; inset: 0; opacity: 0; width: 100%; margin: 0; cursor: pointer; }

/* ---------------------------------------------------------------- field (DrawField) */
.pg-field { --h: 0; --f: 0; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: rgb(var(--w) / calc(0.07 + 0.02 * var(--h) + 0.05 * var(--f)));
  box-shadow: inset 0 0 0 1px rgb(var(--w) / calc(0.18 + 0.06 * var(--h) + 0.37 * var(--f))); }
.pg-field svg { flex: none; width: 17px; height: 17px; opacity: 0.6; }
.pg-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: 17px var(--pane-ui); color: rgb(var(--w) / 0.95); caret-color: #fff; }
.pg-field input::placeholder { color: rgb(var(--w) / 0.4); }

/* ---------------------------------------------------------------- tiles, rows, insets */
.pg-tile { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgb(var(--w) / 0.08); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.18); color: rgb(var(--w) / 0.92); }
.pg-tile.on { background: rgb(var(--w) / 0.16); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.34); }
.pg-tile svg { width: 22px; height: 22px; }
.pg-inset { border-radius: var(--r-inset); background: rgb(var(--w) / 0.05); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.07); }
.pg-sep { height: 1px; background: rgb(var(--w) / 0.08); }

/* header (gk::Header): tile, title, subtitle, round close */
.pg-header { display: flex; align-items: center; gap: 14px; padding: 18px 20px 0; height: 58px; box-sizing: content-box; }
.pg-header .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pg-header .pg-small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-close { --h: 0; position: relative; flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgb(var(--w) / calc(0.08 + 0.84 * var(--h))); transform: scale(calc(1 + 0.05 * var(--h))); }
.pg-close::before, .pg-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.7px; border-radius: 1px;
  background: rgb(calc(255 * (0.9 - 0.85 * var(--h))) calc(255 * (0.9 - 0.85 * var(--h))) calc(255 * (0.9 - 0.85 * var(--h)))); }
.pg-close::before { transform: translate(-50%, -50%) rotate(45deg); } .pg-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* round glass buttons (DrawRound): 0 glass, 1 red end call, 2 red-tint state */
.pg-round { --h: 0; display: grid; place-items: center; flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: rgb(var(--w) / 0.95);
  background: rgb(var(--w) / calc(0.08 + 0.10 * var(--h))); box-shadow: inset 0 0 0 1px rgb(var(--w) / calc(0.32 + 0.2 * var(--h))); }
.pg-round svg { width: 17px; height: 17px; }
.pg-round.end { background: rgba(209, 51, 56, calc(0.9 + 0.1 * var(--h))); box-shadow: inset 0 0 0 1px rgb(255 153 156); }
.pg-round.state { color: rgb(255 168 163); background: rgba(242, 66, 61, calc(0.22 + 0.1 * var(--h))); box-shadow: inset 0 0 0 1px rgba(255, 92, 82, 0.6); }

/* the cog (modules_app.cpp Cog): turns as its settings open */
.pg-cog { --h: 0; --o: 0; display: grid; place-items: center; flex: none; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  color: rgb(var(--w) / calc(0.5 + 0.3 * var(--h) + 0.45 * var(--o))); background: rgb(var(--w) / calc(0.08 * var(--h) + 0.14 * var(--o))); }
.pg-cog svg { width: 20px; height: 20px; }

/* small count pill and red tags */
.pg-badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; box-sizing: border-box; background: rgb(var(--w) / 0.92); color: var(--ink); font: 12px var(--pane-ui); }
.pg-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 13px var(--pane-ui); white-space: nowrap; }
.pg-tag.red { color: rgb(255 102 92); background: rgba(242, 66, 61, 0.2); box-shadow: inset 0 0 0 1px rgba(255, 92, 82, 0.55); }
.pg-tag.amber { color: rgb(255 219 158); background: rgba(242, 179, 77, 0.2); box-shadow: inset 0 0 0 1px rgba(242, 191, 89, 0.55); }

/* scroll bar (gk::ScrollBar) */
.pg-scroll { scrollbar-width: none; }
.pg-scroll::-webkit-scrollbar { display: none; }
.pg-sb { --h: 0; position: absolute; right: 2px; width: calc(6px + 4px * var(--h)); border-radius: 5px; background: rgb(var(--w) / calc(0.05 + 0.05 * var(--h))); transform: translateX(calc(-3px + 2px * var(--h))); cursor: pointer; }
.pg-sb i { position: absolute; left: 0; right: 0; border-radius: 5px; background: rgb(var(--w) / calc(0.32 + 0.45 * var(--h))); }

/* the notice pill (ShowNotice) */
.pg-notice { position: fixed; left: 50%; top: 86px; z-index: 60; transform: translateX(-50%); padding: 11px 20px; border-radius: 999px; font: 15px var(--pane-ui); pointer-events: none; }

/* paneclient.com: the page around the world. The world is the only colour; everything else is PANE glass and white. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: #0a0c11; color: #fff; font-family: var(--display); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
.pane-site { position: relative; min-height: 100vh; overflow-x: clip; }
.pane-site a { color: inherit; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: rgba(255, 255, 255, 0.85); color: #0d0d0f; }
kbd { font: 600 0.9em var(--mono); padding: 1px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25); }

/* ---------------------------------------------------------------- the world and its layers */
.world-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: 0; opacity: 0; transition: opacity 1.2s cubic-bezier(.2, .8, .2, 1); }
.world-canvas.on { opacity: 1; }
.world-fallback { position: fixed; inset: 0; z-index: -1; background: radial-gradient(120% 80% at 70% 0%, #6f9be8 0%, #2b3f6b 55%, #0a0c11 100%); }
.world-dim { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(6, 8, 14, 0.62), rgba(6, 8, 14, 0.18) 60%, rgba(6, 8, 14, 0.05)); }
.world-layer { position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hud { position: fixed; inset: 0; z-index: 6; pointer-events: none; overflow: hidden; }
.story { position: relative; z-index: 4; pointer-events: none; }
.story a, .story button, .story [data-interactive], .story details, .story input, .story .pack-shelf { pointer-events: auto; }
.home .story::before { /* a lens vignette so white type reads over a bright sky */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(90% 70% at 16% 78%, rgba(4, 6, 12, 0.48), rgba(4, 6, 12, 0) 62%), linear-gradient(0deg, rgba(4, 6, 12, 0.32), rgba(4, 6, 12, 0) 34%);
}

/* ---------------------------------------------------------------- the bar (DrawDock) */
.bar { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 30; max-width: calc(100vw - 24px); }
.bar-glass { isolation: isolate; --by: 0px; --kx: 1; --ky: 1; --ba: 1; position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; }
.bar-glass::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px; transform: translateY(var(--by)) scale(var(--kx), var(--ky)); opacity: var(--ba);
  background: var(--glass-tint); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 0 0 1px rgb(var(--w) / 0.20), inset 0 0 0 2px rgb(var(--w) / 0.05), 0 5px 18px rgba(0, 0, 0, 0.16); }
.bar-brand { display: inline-flex; align-items: center; gap: 10px; padding: 0 10px 0 8px; height: 33px; text-decoration: none; }
.bar-item.is-here { --h: 0.6; }
.bar-slot { display: contents; }
.bar [data-bar-item] { will-change: transform, opacity; }

/* ---------------------------------------------------------------- type */
.eyebrow { margin: 0 0 18px; font: 500 12.5px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.display { margin: 0; font-family: var(--display); font-weight: 640; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.94; color: #fff; text-wrap: balance; }
h1.display { font-size: clamp(52px, 8.2vw, 136px); }
h2.display { font-size: clamp(40px, 4.6vw, 80px); }
h1.display.hero-name { font-size: clamp(84px, 14vw, 230px); letter-spacing: -0.02em; line-height: 0.86; }
.display.hero-tag { font-size: clamp(30px, 3.4vw, 58px); margin-top: 0.3em; }
.display.small { font-size: clamp(36px, 4vw, 64px); }
.lede { margin: 22px 0 0; max-width: 34ch; font: 400 clamp(17px, 1.35vw, 21px)/1.45 var(--display); font-stretch: 100%; color: rgba(255, 255, 255, 0.8); text-wrap: pretty; }
.home .display, .home .lede, .home .eyebrow { text-shadow: 0 1px 30px rgba(0, 0, 0, 0.28); }
.home .eyebrow { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 0 18px rgba(0, 0, 0, 0.35); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pg-btn svg { width: 19px; height: 19px; margin-left: -4px; }
.pg-btn.big svg { width: 21px; height: 21px; }
.hint { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; padding: 10px 16px 10px 12px; border-radius: 999px; font: 14.5px var(--pane-ui); color: rgba(255, 255, 255, 0.9); }
.hint svg { width: 18px; height: 18px; opacity: 0.9; }
.hint.gone { opacity: 0; transform: translateY(8px) scale(0.96); transition: opacity 0.45s, transform 0.45s cubic-bezier(.2, .8, .2, 1); pointer-events: none; }

/* ---------------------------------------------------------------- chapters */
.ch { position: relative; min-height: 100vh; padding: 0 clamp(20px, 7vw, 120px); }
.ch-in { position: relative; max-width: 600px; }
.ch-in.sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.ch-hero { min-height: 100vh; display: flex; align-items: flex-end; padding-bottom: clamp(56px, 12vh, 140px); }
.ch-hero .hint { position: absolute; right: clamp(20px, 4vw, 56px); bottom: clamp(28px, 6vh, 64px); margin: 0; }
.ch-left { min-height: 250vh; }
.ch[data-ch="windows"] { min-height: 360vh; }
.ch[data-ch="more"] { min-height: 480vh; }
.ch[data-ch="ping"] { min-height: 220vh; }
.ch[data-ch="shaders"] { min-height: 260vh; }
.ch[data-ch="packs"] { min-height: 200vh; }
.ch-in.sticky > * { will-change: opacity, transform; }
.ch-in.sticky > .pg-btn { align-self: flex-start; }
.ch-beat { min-height: 220vh; }
.beat { align-items: center; justify-content: center !important; max-width: none; text-align: center; }
.beat .display { font-size: clamp(48px, 7.6vw, 130px); }
.beat-b { margin-top: 0.12em; }
.ch-get { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; padding-bottom: 80px; }
.get { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; max-width: 1180px; width: 100%; align-items: end; }
.get-head { grid-column: 1; }
.get .release { grid-column: 2; grid-row: 1 / span 2; }

.demo-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 26px; padding: 0; }
.demo-list li { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 10px; border-radius: 999px; font: 15px var(--pane-ui); color: rgba(255, 255, 255, 0.62); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); transition: color .2s, background .2s, box-shadow .2s; }
.demo-list li svg { width: 17px; height: 17px; }
.demo-list li.on { color: #0d0d0f; background: rgba(255, 255, 255, 0.92); box-shadow: none; }

.shader-ctl { margin-top: 28px; width: min(100%, 470px); padding: 8px 18px; border-radius: 22px; pointer-events: auto; }
.shader-ctl .row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; font: 16px var(--pane-ui); color: rgba(255, 255, 255, 0.92); }
.shader-ctl .row + .row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.shader-ctl .sky { flex-wrap: wrap; padding: 8px 0; }

.pack-shelf { display: flex; gap: 12px; margin: 26px 0 24px; }
@media (max-width: 700px) { .pack-shelf { overflow-x: auto; scroll-snap-type: x mandatory; margin-right: -20px; padding-right: 20px; scrollbar-width: none; } .pack-shelf::-webkit-scrollbar { display: none; } .pack-shelf > * { flex: 0 0 auto; scroll-snap-align: start; } }
.pack { display: block; width: 148px; flex: none; padding: 10px; border-radius: 20px; text-decoration: none; }
.pack-art { display: block; aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.pack b { display: block; margin-top: 10px; font: 600 14px/1.25 var(--pane-ui); }
.pack small { display: block; margin-top: 2px; font: 13px/1.2 var(--pane-ui); color: rgba(255, 255, 255, 0.55); }

/* ---------------------------------------------------------------- PANE windows in the world (EmitPanel + LookOf) */
.ww { --frame: 1; --boost: 0; --glow: 0; --shift: 0; position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: auto; visibility: hidden; contain: layout style; }
.ww-frame { position: absolute; inset: -11px; border-radius: 25px; opacity: var(--frame); pointer-events: none;
  background: linear-gradient(calc(110deg + var(--shift) * 120deg), rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.20) 45%, rgba(255, 255, 255, 0.08));
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, min(1, calc(0.82 + 0.18 * var(--glow) + var(--boost)))), 0 0 calc(18px * var(--glow)) rgba(255, 255, 255, calc(0.25 * var(--glow))), 0 18px 50px rgba(0, 0, 0, 0.22); }
.ww-pic { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 2.5px rgba(0, 0, 0, 0.3); background: #15171c; }
.ww.is-app .ww-pic { background: rgba(14, 14, 19, 0.58); -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25); }
.ww-frost, .ww-sheen { position: absolute; inset: 0; border-radius: 14px; pointer-events: none; opacity: 0; }
.ww-frost { background: #fff; }
.ww-sheen { --sheen: -1; background: linear-gradient(100deg, transparent calc(var(--sheen) * 100% - 22%), rgba(255, 255, 255, 0.95) calc(var(--sheen) * 100%), transparent calc(var(--sheen) * 100% + 22%)); mix-blend-mode: screen; }
.ww-glint { --gr: 0.05; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; pointer-events: none; opacity: 0; transform: translate(-50%, -50%); background: #fff; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.22), 0 0 40px 18px rgba(255, 255, 255, 0.35); }
.ww-owner { position: absolute; left: 50%; top: -60px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px 0 6px; border-radius: 999px; font: 600 18px var(--pane-ui); white-space: nowrap; }
.ww-owner .face { width: 28px; height: 28px; font-size: 15px; }

/* toolbar under a window (DrawToolbar) */
.ww-tools { position: absolute; left: 50%; top: calc(100% + 22px); display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; pointer-events: none; opacity: 0; transform: translateX(-50%) scale(1.25); transform-origin: 50% 0; transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.menu-open .ww .ww-tools { opacity: 1; pointer-events: auto; transform: translateX(-50%) scale(calc(1.35 * var(--tk, 1))); }
.tb-btn { --h: 0; display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: rgb(calc(255 * (0.95 - 0.9 * var(--h))) calc(255 * (0.95 - 0.9 * var(--h))) calc(255 * (0.95 - 0.9 * var(--h)))); background: rgba(255, 255, 255, calc(0.10 + 0.85 * var(--h))); transition: background .15s, color .15s; }
.tb-btn:hover, .tb-btn[aria-pressed="true"].lit { --h: 1; }
.tb-btn svg { width: 16px; height: 16px; }
.tb-btn .x { position: relative; width: 10px; height: 10px; }
.tb-btn .x::before, .tb-btn .x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.7px; border-radius: 1px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.tb-btn .x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.tb-btn[data-tb="eye"] .off, .tb-btn[data-tb="eye"][aria-pressed="false"] .on { display: none; }
.tb-btn[data-tb="eye"][aria-pressed="false"] .off { display: block; }
.tb-btn[data-tb="eye"][aria-pressed="false"] { color: rgb(255 168 163); background: rgba(242, 66, 61, 0.22); }
.tb-move { width: 120px; height: 29px; border-radius: 999px; cursor: grab; background: rgba(255, 255, 255, 0.08); position: relative; touch-action: none; }
.tb-move::after { content: ""; position: absolute; left: 30%; right: 30%; top: 50%; height: 4px; margin-top: -2px; border-radius: 3px; background: rgba(255, 255, 255, 0.55); }
.tb-move:active { cursor: grabbing; }

/* ---------------------------------------------------------------- desktop apps inside windows (original) */
.app.desk { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: "Segoe UI", "PANE Selawik", system-ui, sans-serif; color: #e9ebf0; background: #17191f; }
.chrome { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 0 0 14px; font-size: 12.5px; color: rgba(255, 255, 255, 0.7); background: #1f2229; flex: none; }
.chrome-ctl { display: flex; height: 100%; }
.chrome-ctl i { width: 44px; height: 100%; position: relative; }
.chrome-ctl i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1px; background: rgba(255, 255, 255, 0.7); transform: translate(-50%, -50%); }
.chrome-ctl i:nth-child(2)::before { height: 9px; background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.chrome-ctl i:nth-child(3)::before { width: 12px; height: 1px; transform: translate(-50%, -50%) rotate(45deg); }
.chrome-ctl i:nth-child(3)::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: rgba(255, 255, 255, 0.7); transform: translate(-50%, -50%) rotate(-45deg); }
.music { background: linear-gradient(160deg, #241a33, #121219 70%); }
.music-body { flex: 1; display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding: 26px; min-height: 0; }
.music-art { position: relative; width: 240px; height: 240px; border-radius: 10px; overflow: hidden; background: #0b0b14; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.music-art i { position: absolute; border-radius: 50%; filter: blur(18px); }
.music-art i:nth-child(1) { width: 70%; height: 70%; left: -10%; top: 30%; background: #ff6a3d; }
.music-art i:nth-child(2) { width: 80%; height: 60%; right: -20%; top: -10%; background: #6b4bff; }
.music-art i:nth-child(3) { width: 40%; height: 40%; left: 40%; top: 45%; background: #ffd06b; mix-blend-mode: screen; }
.music-art::after { content: "GLASS HOURS"; position: absolute; left: 16px; bottom: 14px; font: 700 13px/1 var(--display); letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.85); }
.music-side { display: flex; flex-direction: column; min-width: 0; }
.music-kicker { margin: 0; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.music-title { margin: 8px 0 0; font: 600 30px/1.1 "Segoe UI", "PANE Selawik", sans-serif; }
.music-artist { margin: 6px 0 0; font-size: 15px; color: rgba(255, 255, 255, 0.6); }
.music-bar { position: relative; height: 4px; margin-top: 26px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.music-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 32%; border-radius: 2px; background: #fff; }
.music-times { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: rgba(255, 255, 255, 0.5); font-variant-numeric: tabular-nums; }
.music-ctl { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.music-ctl button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: none; cursor: pointer; }
.music-ctl button svg { width: 18px; height: 18px; }
.music-ctl .play { width: 46px; height: 46px; background: #fff; color: #111; }
.music-ctl .play .pl { display: none; } .music-ctl .play.paused .pl { display: block; } .music-ctl .play.paused .pz { display: none; }
.music-next { margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.music-next li { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.video { background: #000; }
.video-body { position: relative; flex: 1; min-height: 0; }
.video-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-el.placeholder { background: radial-gradient(60% 80% at 30% 40%, #f0b26b, #b24d2a 45%, #2b1410 100%); }
.video-ui { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent); }
.video-title { font-size: 15px; font-weight: 600; }
.video-bar { position: relative; height: 4px; margin-top: 10px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); }
.video-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 44%; border-radius: 2px; background: #fff; }
.doc { background: #f7f7f5; color: #1d1f24; }
.doc .chrome { background: #ebebe8; color: rgba(0, 0, 0, 0.6); }
.doc .chrome-ctl i::before, .doc .chrome-ctl i::after { background: rgba(0, 0, 0, 0.55) !important; }
.doc .chrome-ctl i:nth-child(2)::before { background: none !important; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.55); }
.doc-body { padding: 26px 34px; font-size: 15px; line-height: 1.55; }
.doc-h { margin: 0; font: 700 26px/1.15 "Segoe UI", "PANE Selawik", sans-serif; letter-spacing: -0.01em; }
.doc-meta { margin: 4px 0 16px; font-size: 12.5px; color: rgba(0, 0, 0, 0.45); }
.doc-p { margin: 0 0 12px; }
.doc-list { margin: 0; padding-left: 20px; }
.doc-list li { margin: 4px 0; }
.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: #1d1f24; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.browser { background: #101216; }
.hs-body { padding: 22px 26px; }
.hs-h { margin: 0 0 16px; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.hs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hs-grid div { padding: 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.hs-grid b { display: block; font-size: 24px; }
.hs-grid span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.hs-chart { display: flex; align-items: flex-end; gap: 4px; height: 120px; margin-top: 18px; }
.hs-chart i { flex: 1; border-radius: 3px 3px 0 0; background: rgba(255, 196, 64, 0.85); }

/* ---------------------------------------------------------------- PANE apps (glass body comes from .ww.is-app) */
.papp { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--pane-ui); color: #fff; }
.papp .pg-header { flex: none; }
.papp-tools { display: flex; align-items: center; gap: 10px; padding: 18px 20px 10px; flex: none; }
.papp-tools .pg-field { flex: 1; }
.pg-seg.tabs.show { width: 130px; }
.pg-seg.tabs.wide { width: 100%; }
.papp-list { position: relative; flex: 1; min-height: 0; overflow-y: auto; padding: 0 10px 14px; overscroll-behavior: contain; }
.papp-empty { margin: 60px 0; text-align: center; font-size: 17px; color: rgba(255, 255, 255, 0.6); }
.papp .pg-sb { top: 150px; bottom: 14px; }
.mgroup { margin: 12px 14px 8px; }
.mgroup:first-child { margin-top: 2px; }
.mcard { --o: 0; position: relative; margin-bottom: 4px; border-radius: 16px; transition: background .18s; }
.mcard:hover { background: rgba(255, 255, 255, 0.07); }
.mcard.open { background: rgba(255, 255, 255, 0.07); }
.mrow { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 14px; }
.mtile { width: 38px; height: 38px; border-radius: 10.5px; font: 600 15.6px var(--pane-ui-semi); color: rgba(255, 255, 255, 0.6); letter-spacing: -0.01em; transition: background .2s, color .2s, box-shadow .2s; }
.mtile.on { color: rgba(255, 255, 255, 0.97); }
.mtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mname { font-size: 17px; color: rgba(255, 255, 255, 0.94); }
.mdesc { font-size: 14px; color: rgba(255, 255, 255, 0.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mset { overflow: hidden; }
.mset-in { margin: -4px 14px 10px 66px; padding: 6px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); }
.srow { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14.7px; color: rgba(255, 255, 255, 0.88); }
.srow .sl { flex: 1; min-width: 0; }
.srow.slide .sl { flex: 0 0 140px; }
.srow .pg-seg button { height: 26px; font-size: 14px; padding: 0 11px; }
.sval { flex: 0 0 auto; min-width: 54px; text-align: right; font-size: 14.7px; color: rgba(255, 255, 255, 0.9); font-variant-numeric: tabular-nums; }
.snote { margin: 0; min-height: 44px; display: flex; align-items: center; font-size: 14px; color: rgba(255, 255, 255, 0.48); }
.shead { margin: 0; padding: 18px 0 8px; }
.keybtn { min-width: 54px; height: 30px; padding: 0 15px; border: 0; border-radius: 999px; cursor: pointer; font: 14.7px var(--pane-ui); color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.keybtn:hover { background: rgba(255, 255, 255, 0.14); }
.keybtn.wait { color: #0d0d0f; background: rgba(255, 255, 255, 0.92); box-shadow: none; }
.pg-field.small { height: 32px; flex: 1; padding: 0 12px; }
.pg-field.small input { font-size: 14.7px; }
.papp.compact .mdesc { max-width: 520px; }

/* Shaders app */
.shaders .pg-header .pg-toggle { margin-right: 6px; }
.fcard { margin-bottom: 10px; border-radius: 16px; transition: background .18s; }
.fcard:hover, .fcard.open { background: rgba(255, 255, 255, 0.07); }
.frow { display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 14px; }
.ftile { width: 42px; height: 42px; border-radius: 11.5px; color: rgba(255, 255, 255, 0.6); }
.ftile.on { color: rgba(255, 255, 255, 0.97); }
.ftile svg { width: 23px; height: 23px; }
.ftxt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--pane-ui); }
.fname { font-size: 17px; color: rgba(255, 255, 255, 0.95); }
.fsub { font-size: 14px; color: rgba(255, 255, 255, 0.52); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.chev { width: 12px; height: 12px; border-right: 1.8px solid rgba(255, 255, 255, 0.7); border-bottom: 1.8px solid rgba(255, 255, 255, 0.7); transform: translateY(-3px) rotate(45deg); transition: transform .35s cubic-bezier(.2, .8, .2, 1); margin-right: 10px; }
.fcard.open .chev { transform: translateY(2px) rotate(225deg); }
.fset { overflow: hidden; }
.fset-in { margin: 0 16px; padding: 10px 2px 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.opt { margin-bottom: 8px; }
.olabel { margin: 0 0 8px; font-size: 14.3px; color: rgba(255, 255, 255, 0.62); }
.orow { display: flex; align-items: center; gap: 14px; height: 30px; }
.orow .sval { min-width: 92px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 34px; padding: 0 15px; border: 0; border-radius: 999px; cursor: pointer; font: 14px var(--pane-ui); color: rgba(255, 255, 255, 0.82); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); transition: background .15s; }
.chip:hover { background: rgba(255, 255, 255, 0.15); }
.chip[aria-pressed="true"] { color: #0d0d0f; background: rgba(255, 255, 255, 0.92); box-shadow: none; }

/* PANE Network app */
.network .pg-header { gap: 14px; }
.ntabs { display: flex; gap: 6px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ntab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; font: 16px var(--pane-ui); color: rgba(255, 255, 255, 0.85); background: none; }
.ntab svg { width: 18px; height: 18px; }
.ntab[aria-pressed="true"] { color: #0d0d0f; background: rgba(255, 255, 255, 0.92); }
.ntab[aria-pressed="true"] .pg-badge { background: #0d0d0f; color: #fff; }
.nbody { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px 1fr; gap: 16px; padding: 20px 20px 18px 14px; }
.nside { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nperson { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 16px; }
.nperson.sel { background: rgba(255, 255, 255, 0.10); }
.nperson .pg-badge { margin-left: auto; }
.ntxt { display: flex; flex-direction: column; min-width: 0; }
.ntxt b { font-weight: 400; font-size: 17px; color: rgba(255, 255, 255, 0.96); }
.ntxt small { font-size: 14px; color: rgba(255, 255, 255, 0.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.face { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; font: 600 16px var(--pane-ui-semi); color: rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.face.g { font-family: var(--mono); }
.face.big { width: 46px; height: 46px; font-size: 21px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.nperson .dot { position: absolute; left: 36px; top: 34px; width: 11px; height: 11px; box-shadow: 0 0 0 2px #22252c; margin: 0; }
.dot.online { background: #42c97a; } .dot.away { background: #f2b84b; } .dot.offline { background: #8a8d96; } .dot.group { display: none; }
.pg-small .dot { margin-right: 7px; }
.nconv { display: flex; flex-direction: column; min-width: 0; border-radius: 18px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.nconv-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nconv-head .ntxt { flex: 1; }
.nmsgs { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; overflow: hidden; justify-content: flex-end; }
.nday { align-self: center; margin: 0 0 6px; } .nday span { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 13px; color: rgba(255, 255, 255, 0.8); background: rgba(255, 255, 255, 0.08); }
.nmsg p { display: inline-block; margin: 0; max-width: 78%; padding: 9px 13px; font-size: 17px; line-height: 1.3; border-radius: 16px; }
.nmsg.them { padding-left: 40px; }
.nmsg.them p { color: rgba(255, 255, 255, 0.96); background: rgba(255, 255, 255, 0.09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); border-top-left-radius: 4px; }
.nmsg.them.cont p { border-top-left-radius: 16px; }
.nmsg .who { display: flex; align-items: center; gap: 8px; margin: 6px 0 6px -40px; font-size: 14px; }
.nmsg .who .face { width: 30px; height: 30px; font-size: 14px; }
.nmsg .who b { font-weight: 400; color: rgba(255, 255, 255, 0.95); } .nmsg .who small { font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.nmsg.me { display: flex; flex-direction: column; align-items: flex-end; }
.nmsg.me p { color: #0d0d0f; background: rgba(255, 255, 255, 0.93); border-top-right-radius: 4px; }
.nmsg.me small { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-top: 3px; }
.ncompose { padding: 10px 12px 12px; }
.ncompose .pg-field { width: 100%; }

/* ---------------------------------------------------------------- HUD: WAILA, pings, nametags, call, zoom, keys */
.ping { --left: 1; --lift: 64px; --wave: 0; position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; will-change: transform, opacity; }
.ping-dot { position: absolute; left: -2.5px; top: -2.5px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); }
.ping-line { position: absolute; left: -1px; width: 2px; top: calc(-1 * var(--lift) + 20px); height: calc(var(--lift) - 20px); background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0)); }
.ping-disc { position: absolute; left: -20px; top: calc(-1 * var(--lift) - 20px); width: 40px; height: 40px; display: grid; place-items: center; }
.ping-disc > svg:not(.ring) { position: relative; width: 17px; height: 17px; color: rgba(255, 255, 255, 0.97); z-index: 1; }
.ping-disc::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: rgba(15, 15, 20, 0.38); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.ping-disc .ring { position: absolute; inset: 0; width: 40px; height: 40px; transform: rotate(-90deg); fill: none; stroke-width: 3; }
.ping-disc .ring circle { stroke: rgba(255, 255, 255, 0.22); }
.ping-disc .ring .left { stroke: rgba(255, 255, 255, 0.95); stroke-dasharray: calc(var(--left) * 100) 100; }
.ping-disc .wave { position: absolute; inset: calc(-18px * var(--wave)); border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, calc(0.5 * (1 - var(--wave)) * min(1, var(--wave) * 50))); }
.ping-pill { position: absolute; left: 0; top: calc(-1 * var(--lift) - 60px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 14px 0 6px; border-radius: 999px; font: 14px var(--pane-ui); white-space: nowrap; }
.ping-ring svg { width: 20px; height: 20px; transform: rotate(-90deg); fill: none; stroke-width: 2; display: block; }
.ping-ring circle { stroke: rgba(255, 255, 255, 0.22); fill: rgba(255, 255, 255, 0.1); }
.ping-ring .left { stroke: rgba(255, 255, 255, 0.95); fill: none; stroke-dasharray: calc(var(--left) * 100) 100; }
.nametag { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 13px 0 10px; border-radius: 999px; font: 600 15px var(--pane-ui); opacity: 0; transform-origin: 50% 100%; white-space: nowrap; }
.pg-mark.tiny { width: 14px; height: 14px; }
.nametag .talk { width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.nametag.talking .talk { opacity: 1; animation: talk 0.6s ease-in-out infinite alternate; }
@keyframes talk { to { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.05); } }
.zoom-pill { position: absolute; left: 50%; bottom: 110px; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; font: 600 16px var(--pane-ui); opacity: 0; transition: opacity .3s; }
.zoom-pill.on { opacity: 1; }
.keys { position: absolute; right: 28px; bottom: 28px; display: grid; grid-template-columns: repeat(3, 46px); grid-template-rows: 46px 46px 34px 26px; gap: 6px; opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.keys.on { opacity: 1; transform: none; }
.keys .k { display: grid; place-items: center; border-radius: 12px; font: 600 15px var(--pane-ui); color: rgba(255, 255, 255, 0.9); background: rgba(15, 15, 20, 0.34); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); transition: background .08s, color .08s; }
.keys .k.lit { background: rgba(255, 255, 255, 0.92); color: #0d0d0f; }
.keys [data-key="KeyW"] { grid-column: 2; } .keys [data-key="KeyA"] { grid-column: 1; grid-row: 2; } .keys [data-key="KeyS"] { grid-column: 2; grid-row: 2; } .keys [data-key="KeyD"] { grid-column: 3; grid-row: 2; }
.keys .wide { grid-row: 3; font-size: 12px; } .keys [data-key="Mouse0"] { grid-column: 1 / span 2; margin-right: 26px; } .keys [data-key="Mouse2"] { grid-column: 2 / span 2; margin-left: 26px; }
.keys .space { grid-column: 1 / span 3; grid-row: 4; }
.keys .space::after { content: ""; width: 30%; height: 2px; border-radius: 1px; background: currentColor; opacity: .7; }

.callcard { position: absolute; right: 28px; top: 92px; width: 320px; padding: 16px; border-radius: 26px; pointer-events: auto; transform-origin: 100% 0; }
.callcard[hidden] { display: none; }
.callcard.in-col { right: auto; transform-origin: 0 0; }
.callcard.above { transform-origin: 50% 100%; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 22px; }
.callcard.above .cc-top { flex: 1; min-width: 0; margin: 0; } .callcard.above .meter { display: none; }
.callcard.above .cc-ctl { margin: 0; flex: none; gap: 6px; } .callcard.above .cc-ctl[hidden] { display: none; }
.callcard.above .cc-ctl .pg-btn { height: 34px; padding: 0 12px; font-size: 13px; }
.cc-top { display: flex; align-items: center; gap: 12px; }
.cc-top .ntxt { flex: 1; }
.cc-top .ntxt b { font-weight: 600; font-size: 16px; }
.meter { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.meter i { width: 3px; height: 4px; border-radius: 1.5px; background: rgba(255, 255, 255, 0.95); transition: height .08s; }
.cc-ctl { display: flex; gap: 10px; margin-top: 14px; }
.cc-ctl[hidden] { display: none; }
.cc-ctl .pg-btn { flex: 1; }
.cc-ctl .pg-round { width: 40px; height: 40px; }
.cc-ctl .pg-round svg { width: 19px; height: 19px; }
.pg-round .off, .pg-round[aria-pressed="true"] .on { display: none; }
.pg-round[aria-pressed="true"] .off { display: block; }
.face.ring { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 6px rgba(255, 255, 255, 0.12); }
.callpill { display: inline-flex; align-items: center; gap: 8px; height: 33px; padding: 0 4px 0 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); overflow: hidden; white-space: nowrap; }
.callpill[hidden] { display: none; }
.callpill .face { width: 25px; height: 25px; font-size: 13px; }
.callpill .ntxt { line-height: 1.05; margin-right: 6px; }
.callpill .ntxt b { font-size: 14px; font-weight: 600; } .callpill .ntxt small { font-size: 12px; color: rgba(255, 255, 255, 0.85); }
.pg-round.sm { width: 25px; height: 25px; } .pg-round.sm svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- release card, steps, FAQ */
.release { padding: 22px; border-radius: 28px; pointer-events: auto; }
.rel-top { display: flex; align-items: center; gap: 14px; }
.rel-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.pg-mark.big { width: 28px; height: 28px; }
.rel-txt { display: flex; flex-direction: column; gap: 3px; font-family: var(--pane-ui); }
.rel-txt b { font-size: 18px; font-weight: 600; } .rel-txt small { font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.rel-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 20px 0; overflow: hidden; border-radius: 16px; background: rgba(255, 255, 255, 0.08); }
.rel-meta div { padding: 12px 14px; background: rgba(10, 12, 18, 0.35); }
.rel-meta dt { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.rel-meta dd { margin: 4px 0 0; font: 600 17px var(--pane-ui); font-variant-numeric: tabular-nums; }
.rel-price { margin: 0 0 18px; font-family: var(--pane-ui); }
.price-line { margin: 0; font-size: 17px; color: rgba(255, 255, 255, 0.85); } .price-line b { font-size: 22px; color: #fff; }
.price-after { margin: 4px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.price-line .price-offer { margin-left: 10px; vertical-align: 4px; }
[data-plan-card] { display: contents; }
.rel-get { width: 100%; }
.rel-note { margin: 12px 0 0; text-align: center; font: 13px var(--pane-ui); color: rgba(255, 255, 255, 0.5); }
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.steps li { display: flex; gap: 16px; align-items: baseline; font: 17px/1.45 var(--display); color: rgba(255, 255, 255, 0.78); }
.steps b { color: #fff; font-weight: 600; }
.steps .n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font: 600 14px var(--mono); color: #0d0d0f; background: rgba(255, 255, 255, 0.92); transform: translateY(5px); }
.faq { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; list-style: none; cursor: pointer; font: 500 clamp(18px, 1.6vw, 22px)/1.3 var(--display); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-x { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); transition: transform .35s cubic-bezier(.2, .8, .2, 1), background .2s; }
.faq-x::before, .faq-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.7px; background: #fff; transform: translate(-50%, -50%); }
.faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-x { transform: rotate(45deg); background: rgba(255, 255, 255, 0.92); }
.faq-item[open] .faq-x::before, .faq-item[open] .faq-x::after { background: #0d0d0f; }
.faq-item p { margin: 0; padding: 0 60px 24px 4px; font: 17px/1.55 var(--display); color: rgba(255, 255, 255, 0.72); max-width: 70ch; }

/* ---------------------------------------------------------------- pages (download, modules, packs) */
.page .page-main { position: relative; z-index: 4; padding: 140px clamp(20px, 6vw, 96px) 60px; max-width: 1360px; margin: 0 auto; }
.dl-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: clamp(32px, 6vw, 96px); align-items: start; min-height: calc(100vh - 220px); }
.help { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding: 80px 0 40px; }
.help .faq { padding: 6px 26px; border-radius: 28px; border-top: 0; background: rgba(12, 14, 20, 0.5); -webkit-backdrop-filter: blur(22px) saturate(1.2); backdrop-filter: blur(22px) saturate(1.2); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); }
.help .faq-item:last-child { border-bottom: 0; }
.help .lede a { text-decoration-thickness: 1px; text-underline-offset: 3px; }

.foot { position: relative; z-index: 4; padding: 40px clamp(20px, 6vw, 96px) 48px; border-top: 1px solid rgba(255, 255, 255, 0.1); background: rgba(6, 8, 13, 0.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 15px var(--pane-ui); }
.foot-links a { text-decoration: none; color: rgba(255, 255, 255, 0.7); } .foot-links a:hover { color: #fff; }
.foot-legal { margin: 26px 0 0; font: 12px var(--mono); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 860px) {
  .bar { top: 10px; }
  .bar .bar-help, .bar .bar-sign, .bar-me-name, .bar .bar-admin { display: none; }
  .bar .pg-btn { padding: 0 13px; }
  .ch { padding: 0 20px; }
  .ch-in.sticky { justify-content: flex-end; padding-bottom: 48px; }
  .ch-hero .hint { position: static; margin-top: 18px; }
  .get, .dl-hero, .help { grid-template-columns: minmax(0, 1fr); }
  .get .release { grid-column: 1; grid-row: auto; }
  .keys { display: none; }
  .callcard { right: 12px; left: 12px; width: auto; top: 70px; }
  .lede { max-width: none; }
  .home .hint { display: none; }
}
@media (max-width: 480px) { .bar .bar-brand .pg-wordmark { display: none; } .bar-glass { gap: 6px; } }
@media (max-aspect-ratio: 19/20) {
  .home .story::before { background: linear-gradient(0deg, rgba(4, 6, 12, 0.86), rgba(4, 6, 12, 0.6) 30%, rgba(4, 6, 12, 0) 56%); }
  .ch-hero { padding-bottom: 40px; }
  .home h1.display { font-size: clamp(44px, 13vw, 72px); }
  .home h1.display.hero-name { font-size: clamp(72px, 26vw, 120px); }
  .home .display.hero-tag { font-size: clamp(28px, 8.4vw, 42px); }
  .home h2.display { font-size: clamp(34px, 10vw, 56px); }
  .home .lede { font-size: 16.5px; margin-top: 14px; }
  .home .cta-row { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { .world-canvas { transition: none; } }

/* ---------------------------------------------------------------- /modules: PANE Apps list + the open app */
.world-dim.soft { background: linear-gradient(90deg, rgba(6, 8, 14, 0.55), rgba(6, 8, 14, 0.12) 55%, rgba(6, 8, 14, 0.2)); }
.apps-main { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; max-width: 1480px !important; padding-top: 120px !important; min-height: 100vh; }
.apps-side { position: sticky; top: 110px; display: flex; flex-direction: column; }
.apps-side .lede { max-width: 32ch; }
.apps-list { margin-top: 28px; padding: 10px; border-radius: 26px; max-height: calc(100vh - 540px); min-height: 200px; overflow-y: auto; }
.apps-head { margin: 6px 12px 8px; }
.app-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 16px; background: none; text-align: left; font-family: var(--pane-ui); color: #fff; cursor: pointer; transition: background .15s; }
.app-row:hover { background: rgba(255, 255, 255, 0.07); }
.app-row[aria-pressed="true"] { background: rgba(255, 255, 255, 0.10); }
.app-row.static { cursor: default; }
.app-row.static:hover { background: none; }
.app-row .pg-tile { width: 38px; height: 38px; border-radius: 10.5px; }
.app-row .pg-tile svg { width: 21px; height: 21px; }
.app-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-txt b { font-weight: 400; font-size: 16px; color: rgba(255, 255, 255, 0.95); }
.app-txt small { font-size: 13px; color: rgba(255, 255, 255, 0.5); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-row.static .app-txt b { color: rgba(255, 255, 255, 0.7); }
.app-go { width: 18px; height: 18px; color: rgba(255, 255, 255, 0.5); }
.app-go svg { width: 18px; height: 18px; }
.app-row[aria-pressed="true"] .app-go { color: #fff; }
.apps-stage { position: sticky; top: 96px; display: flex; justify-content: center; align-self: start; }
.app-win { position: relative; flex: none; border-radius: 26px; transform-origin: 50% 0; }
.app-win[hidden] { display: none; }
.app-win > .papp { border-radius: 26px; overflow: hidden; }
.papp.shaders.off .fcard { opacity: 0.45; }
@media (max-width: 1100px) {
  .apps-main { grid-template-columns: minmax(0, 1fr); }
  .apps-side { position: static; }
  .apps-list { max-height: none; }
}

/* ---------------------------------------------------------------- still backgrounds (pages without the live world) */
.still-bg { position: fixed; inset: 0; z-index: 0; background: #0a0c11 center / cover no-repeat; }
.still-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 8, 14, 0.35), rgba(6, 8, 14, 0.75) 60%, rgba(6, 8, 14, 0.92)); }
.still-bg.night { background-image: url(/assets/stills/night.webp); }
.still-bg.dawn { background-image: url(/assets/stills/dawn.webp); }
.pg-mark.ink i:nth-child(1) { background: rgba(13, 13, 15, 0.12); box-shadow: inset 0 0 0 1.4px rgba(13, 13, 15, 0.7); }
.pg-mark.ink i:nth-child(2) { background: #0d0d0f; }
.pg-mark.ink i:nth-child(2)::after { background: rgba(255, 255, 255, 0.35); }
.pg-btn .pg-mark { width: 17px; height: 17px; }

/* ---------------------------------------------------------------- /packs */
.packs-main { padding-top: 130px !important; }
.packs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.packs-search { width: min(100%, 380px); height: 46px; }
.feature { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: center; margin: 48px 0 20px; padding: 22px; border-radius: 32px; text-decoration: none; }
.feature-bg { position: absolute; inset: -40px; z-index: -1; background: center / cover; filter: blur(40px) saturate(1.3); opacity: 0.45; transform: scale(1.1); }
.feature-sum { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin: -6px 0 16px; }
.feature[hidden] { display: none; }
.feature-art img, .ptile-art img, .psheet-art img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.feature-art { width: 260px; height: 260px; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 20px 50px rgba(0, 0, 0, 0.4); }
.feature-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-family: var(--pane-ui); }
.feature-txt .eyebrow { margin: 0 0 4px; }
.feature-name { font: 600 clamp(30px, 3.2vw, 46px)/1.05 var(--display); letter-spacing: -0.02em; }
.feature-txt small { font-size: 15px; color: rgba(255, 255, 255, 0.6); margin-bottom: 14px; }
.shelves { display: flex; flex-direction: column; gap: 36px; margin-top: 44px; }
.shelf[hidden] { display: none; }
.shelf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-family: var(--pane-ui); }
.shelf-head .ntxt b { font-weight: 600; }
.face.pic { background-size: cover; background-position: center; color: transparent; }
.shelf-row { display: flex; gap: 14px; overflow-x: auto; padding: 4px 4px 18px; margin: 0 -4px; scroll-snap-type: x proximity; }
.ptile { flex: none; width: 196px; scroll-snap-align: start; text-decoration: none; font-family: var(--pane-ui); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.ptile[hidden] { display: none; }
.ptile:hover { transform: translateY(-4px); }
.ptile-art { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, 0.06); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 30px rgba(0, 0, 0, 0.35); transition: box-shadow .25s; }
.ptile:hover .ptile-art { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.85), 0 18px 40px rgba(0, 0, 0, 0.45); }
.ptile-txt { display: flex; flex-direction: column; gap: 3px; padding: 12px 4px 0; }
.ptile-txt b { font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ptile-txt small { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.packs-empty { margin: 60px 0; font: 18px var(--pane-ui); color: rgba(255, 255, 255, 0.6); text-align: center; }
.psheet-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(4, 6, 10, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.psheet-scrim[hidden], .psheet[hidden] { display: none; }
.psheet { position: fixed; left: 50%; top: 50%; z-index: 41; width: min(880px, calc(100vw - 24px)); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 30px; transform: translate(-50%, -50%); }
.psheet-in { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; padding: 28px; font-family: var(--pane-ui); }
.psheet-art { width: 300px; height: 300px; border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }
.psheet-body .eyebrow { margin-bottom: 8px; }
.psheet-name { margin: 0; font: 600 38px/1.05 var(--display); letter-spacing: -0.02em; }
.psheet-sum { margin: 10px 0 0; font-size: 16px; color: rgba(255, 255, 255, 0.72); }
.psheet-cta { margin: 22px 0 6px; }
.psheet-hint { margin: 8px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.psheet-hint a { color: #fff; }
.psheet-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 22px 0; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.psheet-meta div { padding: 11px 14px; background: rgba(10, 12, 18, 0.32); }
.psheet-meta .wide { grid-column: 1 / -1; }
.psheet-meta dt { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.psheet-meta dd { margin: 3px 0 0; font-size: 16px; font-weight: 600; }
.psheet-creator { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07); }
.psheet-creator .ntxt { flex: 1; }
.psheet-report { margin: 16px 0 0; font-size: 13px; } .psheet-report a { color: rgba(255, 255, 255, 0.55); }
.psheet-close { position: absolute; right: 18px; top: 18px; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; } .feature-art { width: 100%; height: auto; aspect-ratio: 1; }
  .psheet-in { grid-template-columns: 1fr; } .psheet-art { width: 100%; height: auto; aspect-ratio: 1; }
}

/* ---------------------------------------------------------------- PANE Core admin */
.still-bg.blur { filter: blur(18px) saturate(1.2); transform: scale(1.06); }
.admin { font-family: var(--pane-ui); }
.adm { position: relative; z-index: 2; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; min-height: 100vh; padding: 18px; }
.adm-rail { position: sticky; top: 18px; height: calc(100vh - 36px); display: flex; flex-direction: column; padding: 16px 12px; border-radius: 26px; }
.adm-brand { display: flex; align-items: center; gap: 12px; padding: 4px 10px 18px; }
.adm-brand small { display: block; font: 12px var(--mono); color: rgba(255, 255, 255, 0.5); margin-top: 2px; }
.adm-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.adm-link { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border: 0; border-radius: 14px; background: none; color: rgba(255, 255, 255, 0.78); font: 15.5px var(--pane-ui); cursor: pointer; text-align: left; }
.adm-link svg { width: 19px; height: 19px; flex: none; opacity: .85; }
.adm-link span { flex: 1; }
.adm-link .pg-badge { flex: none; }
.adm-link small { font-size: 11px; color: rgba(255, 255, 255, 0.4); }
.adm-link:hover { background: rgba(255, 255, 255, 0.06); }
.adm-link[aria-pressed="true"] { background: rgba(255, 255, 255, 0.92); color: #0d0d0f; }
.adm-link[aria-pressed="true"] small { color: rgba(0, 0, 0, 0.45); }
.adm-link[aria-pressed="true"] .pg-badge { background: #0d0d0f; color: #fff; }
.adm-me { display: flex; align-items: center; gap: 10px; padding: 12px 6px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.adm-me .ntxt { flex: 1; } .adm-me .ntxt b { font-size: 15px; }
.adm-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.adm-top { display: flex; align-items: center; gap: 14px; }
.adm-search { flex: 1; height: 48px; max-width: 640px; }
.adm-search kbd { font-size: 12px; }
.adm-live { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.adm-live b { color: #fff; font-variant-numeric: tabular-nums; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #42c97a; box-shadow: 0 0 0 0 rgba(66, 201, 122, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(66, 201, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(66, 201, 122, 0); } }
.adm-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.adm-h { margin: 0; font: 640 34px/1.1 var(--display); font-stretch: 108%; letter-spacing: -0.02em; }
.adm-h small { font: 500 15px var(--mono); color: rgba(255, 255, 255, 0.5); margin-left: 6px; letter-spacing: 0; }
.adm-sec[hidden] { display: none; }
.adm-note { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); margin: 12px 4px 0; }
.muted { color: rgba(255, 255, 255, 0.5); font-size: 13px; }
.mono { font-family: var(--mono); font-weight: 500; font-size: 14px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tile { padding: 16px 18px; border-radius: 22px; }
.tile small { display: block; font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.tile b { display: block; margin-top: 8px; font: 600 30px/1 var(--display); font-variant-numeric: tabular-nums; }
.tile span { display: block; margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.ov-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.ov-card { position: relative; padding: 14px; border-radius: 22px; }
.ov-card .pg-section { margin: 4px 8px 10px; }
.ov-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 14px; background: none; color: #fff; text-align: left; cursor: pointer; font-family: var(--pane-ui); }
.ov-item:hover { background: rgba(255, 255, 255, 0.07); }
.ov-item > svg { width: 20px; height: 20px; flex: none; opacity: .85; }
.ov-item span { flex: 1; display: flex; flex-direction: column; } .ov-item b { font-weight: 600; font-size: 15px; } .ov-item small { font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.ov-log { list-style: none; margin: 0; padding: 0 6px; }
.ov-log li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14.5px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ov-log li:first-child { border-top: 0; }
.ov-log li span:nth-child(2) { flex: 1; } .ov-log small { color: rgba(255, 255, 255, 0.5); }
.ov-log .face, .c-name .face, .adm-me .face, .rep .face, .srow .face { width: 30px; height: 30px; font-size: 14px; }
.acc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; align-items: start; }
.acc-table, .atable { position: relative; border-radius: 22px; overflow: hidden; }
.acc-cols, .arow, .at-head, .at-row { display: grid; grid-template-columns: minmax(170px, 1.3fr) minmax(160px, 1.4fr) 82px 104px 76px 76px; align-items: center; gap: 10px; padding: 0 16px; }
.acc-cols, .at-head { height: 42px; font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.acc-cols button { padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: pointer; }
.acc-cols button[aria-pressed="true"] { color: #fff; }
.acc-cols button[aria-pressed="true"]::after { content: " ↓"; }
.acc-rows { display: flex; flex-direction: column; max-height: calc(100vh - 220px); overflow-y: auto; }
.arow { flex: none; width: 100%; height: 56px; border: 0; background: none; color: #fff; text-align: left; cursor: pointer; font: 14.5px var(--pane-ui); border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.arow:hover { background: rgba(255, 255, 255, 0.06); }
.arow.sel { background: rgba(255, 255, 255, 0.11); }
.arow[hidden] { display: none; }
.c-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.c-name b { font-weight: 600; } .c-name small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.5); }
.c-mail { color: rgba(255, 255, 255, 0.7); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-joined, .c-seen, .c-plan { color: rgba(255, 255, 255, 0.75); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-ok { color: #6be39b; font-size: 13.5px; }
.acc-empty { padding: 40px; text-align: center; color: rgba(255, 255, 255, 0.55); }
.acc-detail { position: sticky; top: 18px; padding: 18px; border-radius: 24px; }
.acc-detail[hidden] { display: none; }
.ad-top { display: flex; align-items: center; gap: 12px; }
.ad-top .ntxt { flex: 1; } .ad-top .ntxt b { font-size: 19px; font-weight: 600; }
.ad-kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 16px 0; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.ad-kv div { padding: 10px 12px; background: rgba(10, 12, 18, 0.32); }
.ad-kv dt { font: 500 10.5px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.ad-kv dd { margin: 3px 0 0; font-size: 15px; font-weight: 600; }
.ad-actions .pg-section, .ad-log .pg-section { margin: 14px 2px 6px; }
.ad-actions .srow { font-size: 14px; }
.ban { display: flex; flex-direction: column; gap: 10px; }
.ban .pg-field.small { flex: none; }
.ban-dev { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.ban-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ban-go { color: rgb(255 168 163); background: rgba(242, 66, 61, 0.18); box-shadow: inset 0 0 0 1px rgba(255, 92, 82, 0.5); }
.ban-confirm { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.ban-confirm[hidden], .ask-q[hidden], .ask [hidden] { display: none; }
.ad-log ul { list-style: none; margin: 0; padding: 0; }
.ad-log li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 2px; font-size: 13.5px; color: rgba(255, 255, 255, 0.8); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ad-log small { color: rgba(255, 255, 255, 0.45); white-space: nowrap; }
.at-head, .at-row { grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); }
.atable.sessions .at-head, .atable.sessions .at-row { grid-template-columns: 1.2fr 0.7fr 0.6fr 0.9fr 0.8fr 2.2fr; }
.at-row { min-height: 56px; font-size: 14.5px; border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.at-row:hover { background: rgba(255, 255, 255, 0.04); }
.acts { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ask { display: inline-flex; } .ask-q { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; white-space: nowrap; }
.rep-list { display: grid; gap: 12px; }
.rep { padding: 16px; border-radius: 22px; }
.rep-top { display: flex; align-items: center; gap: 10px; }
.rep-msg { margin: 12px 0; padding: 12px 14px; border-radius: 14px; font-size: 15.5px; background: rgba(255, 255, 255, 0.06); }
.rep-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mute { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.mute .pg-seg button { height: 26px; font-size: 13px; }
.packs-adm { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 14px; align-items: start; }
.pa-card, .bill-card, .tool { padding: 14px 18px; border-radius: 22px; }
.pa-card .srow { font-size: 14.5px; }
.rule-add { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 16px; border-radius: 20px; }
.rule-add .pg-field.small { flex: 1 1 220px; }
.rule-sw { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.flag-list { padding: 6px 16px; border-radius: 22px; }
.flag-row { display: flex; align-items: center; gap: 14px; min-height: 64px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.flag-row:first-child { border-top: 0; }
.flag-row .ntxt { flex: 1; } .flag-row .ntxt small { white-space: normal; }
.bill { display: grid; gap: 12px; }
.tiles.small .tile b { font-size: 24px; }
.logbox { margin: 12px 0 0; padding: 16px 18px; border-radius: 20px; font: 13px/1.7 var(--mono); color: rgba(255, 255, 255, 0.82); white-space: pre-wrap; }
.logbox[hidden] { display: none; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.tool { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tool .pg-field.small { width: 100%; flex: none; }
.tool .pg-section { margin: 0; }
@media (max-width: 1180px) { .acc-wrap { grid-template-columns: 1fr; } .acc-detail { position: static; } .packs-adm { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .adm { grid-template-columns: 1fr; } .adm-rail { position: static; height: auto; } .adm-nav { flex-direction: row; flex-wrap: wrap; }
  .acc-cols, .arow { grid-template-columns: minmax(0, 1fr) 90px 70px; } .acc-cols .c-mail, .arow .c-mail, .acc-cols button[data-sort="joined"], .arow .c-joined, .c-plan { display: none; }
  .ov-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- site type on site controls (PANE's own UI font stays inside the apps) */
.bar .pg-btn, .story .pg-btn, .page-main .pg-btn, .foot .pg-btn, .release .pg-btn { font-family: var(--display); font-stretch: 100%; font-weight: 500; font-size: 16px; letter-spacing: -0.005em; }
.bar .pg-wordmark { font-family: var(--display); font-stretch: 118%; font-weight: 700; font-size: 18px; letter-spacing: 0.1em; }
.bar-gap { width: 6px; }
.bar-me { padding: 0 14px 0 4px; gap: 8px; }
.bar-admin[hidden] { display: none; }
.bar-me .face { width: 25px; height: 25px; font: 600 13px var(--display); }
.call-dock { position: absolute; bottom: 26px; right: 40px; pointer-events: auto; }
@media (max-width: 820px) and (orientation: portrait) { .call-dock { bottom: auto; top: 84px; right: 22px; } }  /* phones: text sits at the bottom, so the call lives up top */
.call-dock .callpill { height: 40px; padding: 0 6px; background: var(--glass-tint); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.ww.still .ww-pic { pointer-events: none; }
.home .story, .world-layer, .hud { -webkit-user-select: none; user-select: none; }
.sb-drag, .sb-drag * { -webkit-user-select: none !important; user-select: none !important; cursor: grabbing !important; }
.demo-list li { cursor: default; }

/* ---------------------------------------------------------------- footer sound switch */
.foot-small { align-items: flex-end; margin-top: 26px; }
.foot-small .foot-legal { margin: 0; line-height: 1.7; }
.foot-sound { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; font: 500 14px var(--display); color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); cursor: pointer; flex: none; }
.foot-sound:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.foot-sound svg { width: 17px; height: 17px; }
.foot-sound[aria-pressed="true"] .off, .foot-sound[aria-pressed="false"] .on { display: none; }

/* ---------------------------------------------------------------- PANE scrollbar (smooth scroll) */
html.pane-scroll { scrollbar-width: none; }
html.pane-scroll::-webkit-scrollbar { display: none; }
.pane-sb { position: fixed; top: 84px; bottom: 24px; right: 8px; width: 18px; z-index: 35; }
.pane-sb.none { display: none; }
.pane-sb-track { position: absolute; inset: 0; cursor: pointer; }
.pane-sb-thumb { position: absolute; top: 0; right: 0; width: 18px; background: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.pane-sb-thumb::before { content: ""; position: absolute; top: 0; bottom: 0; right: 6px; width: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.55); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: grab; transition: width .18s, right .18s, background .18s; }
.pane-sb:hover .pane-sb-thumb::before, html.sb-drag .pane-sb-thumb::before { width: 8px; right: 5px; background: rgba(255, 255, 255, 0.82); }
.pane-sb-mark { position: absolute; right: 7px; width: 3px; height: 3px; margin-top: -1.5px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.45); cursor: pointer; }
.pane-sb-mark::before { content: ""; position: absolute; inset: -6px -10px; }
.pane-sb-mark span { position: absolute; right: 16px; top: 50%; transform: translate(6px, -50%); padding: 5px 10px; border-radius: 999px; font: 500 12.5px var(--display); white-space: nowrap; color: #fff; background: rgba(14, 16, 22, 0.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.pane-sb:hover .pane-sb-mark span { opacity: 0.85; transform: translate(0, -50%); }
.pane-sb-mark.here { background: #fff; }
.pane-sb:hover .pane-sb-mark.here span { opacity: 1; background: rgba(255, 255, 255, 0.9); color: #0d0e12; }
@media (pointer: coarse) { .pane-sb { display: none; } }

/* ---------------------------------------------------------------- /account (signed in) */
.acct { max-width: 1120px; }
.acct-head { display: flex; align-items: center; gap: 26px; margin-bottom: 34px; }
.face.huge { width: 96px; height: 96px; font: 600 42px var(--display); background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6), 0 10px 40px rgba(0, 0, 0, 0.25); }
.acct-head .eyebrow { margin-bottom: 10px; }
.acct-sub { margin: 12px 0 0; font: 400 16px var(--display); color: rgba(255, 255, 255, 0.72); }
.acct-sample { margin-left: auto; align-self: flex-start; }
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.acct-card { padding: 20px 24px 22px; border-radius: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.acct-card .pg-section { margin: 0; }
.acct-card .muted { margin: 0; font: 15px/1.45 var(--pane-ui); color: rgba(255, 255, 255, 0.66); }
.acct-card .muted.small { font-size: 13.5px; }
.acct-card .adm-note { margin: 4px 0 0; }
.plan-now { display: flex; align-items: center; gap: 12px; }
.plan-now b { font: 650 34px var(--display); font-stretch: 112%; letter-spacing: -0.02em; }
.plan-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.plan-opt { padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); display: grid; gap: 2px; }
.plan-opt small { white-space: nowrap; font: 500 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.plan-opt b { font: 650 24px var(--display); }
.plan-opt span { font: 13.5px var(--pane-ui); color: rgba(255, 255, 255, 0.6); }
.plan-opt .save { color: rgb(150 230 160); letter-spacing: 0.04em; }
.dl-row { display: flex; align-items: center; gap: 12px; }
.dl-row .ntxt b { display: block; font: 600 18px var(--pane-ui-semi); }
.dl-row .ntxt small { font: 14px var(--pane-ui); color: rgba(255, 255, 255, 0.62); }
.acct-dl .pg-btn.big { margin-top: 4px; }
.acct-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.acct-card .ask-q { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 15px var(--pane-ui); }
.pg-tag.green { color: rgb(150 235 165); background: rgba(70, 200, 110, 0.18); box-shadow: inset 0 0 0 1px rgba(110, 220, 140, 0.5); }
@media (max-width: 860px) { .acct-grid { grid-template-columns: minmax(0, 1fr); } .acct-head { flex-wrap: wrap; gap: 16px; } .face.huge { width: 72px; height: 72px; font-size: 32px; } }

/* ---------------------------------------------------------------- admin: releases + website */
.rel-adm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 16px; align-items: start; }
.rel-adm .rel-hist { grid-column: 1 / -1; }
.rel-now, .rel-new { padding: 18px 20px; border-radius: 24px; }
.rel-now-top { display: flex; align-items: center; gap: 12px; }
.rel-now-top .ntxt small { display: block; font: 500 10.5px var(--mono); letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.5); }
.rel-now-top .ntxt b { font: 600 20px var(--pane-ui-semi); }
.rel-now-top .pg-tag { margin-left: auto; }
.ad-kv.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rel-file { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.rel-new-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rel-new-head .pg-section { margin: 0; }
.drop { display: flex; align-items: center; gap: 14px; margin: 14px 0; padding: 18px; border-radius: 18px; border: 1.5px dashed rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.04); cursor: pointer; transition: background .2s, border-color .2s; }
.drop:hover, .drop.over { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.6); }
.drop.has { border-style: solid; border-color: rgba(120, 220, 150, 0.6); }
.drop[hidden] { display: none; }
.drop svg { width: 26px; height: 26px; flex: none; }
.drop span { display: grid; gap: 2px; }
.drop b { font: 600 16px var(--pane-ui-semi); } .drop small { font: 13.5px var(--pane-ui); color: rgba(255, 255, 255, 0.6); }
.rel-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rel-fields .pg-field { flex-direction: column; align-items: stretch; height: auto; padding: 8px 12px; gap: 2px; }
.rel-fields .fl { font: 500 10.5px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.rel-fields input { padding: 0; }
.rel-go { display: flex; align-items: center; gap: 14px; margin-top: 14px; min-height: 36px; }
.rel-go .ask-q { display: inline-flex; align-items: center; gap: 8px; font: 15px var(--pane-ui); }
.rel-prog { flex: 1; position: relative; height: 30px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.rel-prog i { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, 0.85); transition: width .12s linear; }
.rel-prog span { position: relative; display: block; text-align: center; line-height: 30px; font: 500 13.5px var(--pane-ui); mix-blend-mode: difference; color: #fff; }
.web-adm { display: grid; gap: 14px; }
.web-links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 1180px) { .rel-adm { grid-template-columns: minmax(0, 1fr); } }
.ask-q[hidden], [data-ask][hidden] { display: none !important; }
.atable.rel-hist .at-head, .atable.rel-hist .at-row { grid-template-columns: 0.7fr 0.7fr 1fr 1fr 0.7fr 0.6fr 1.6fr; }

/* ---------------------------------------------------------------- the PANE menu (.) and the layer under the words */
.tool-layer { position: fixed; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; -webkit-user-select: none; user-select: none; }
.home:not(.menu-open) .world-layer .ww { pointer-events: none; }
.keycap { display: inline-grid; place-items: center; min-width: 30px; height: 30px; margin: 0 2px; padding: 0 8px 4px; border: 0; border-radius: 8px; font: 700 20px/1 var(--mono); color: #fff; vertical-align: middle;
  background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 3px 0 rgba(255, 255, 255, 0.18); cursor: pointer; transition: transform .08s, box-shadow .08s; pointer-events: auto; }
.keycap:hover { background: linear-gradient(rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12)); }
.keycap.down, .keycap:active { transform: translateY(3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 0 rgba(255, 255, 255, 0.18); }
.menu-open .keycap { background: rgba(255, 255, 255, 0.9); color: #0d0e12; }
.menu-hint { gap: 6px; line-height: 1.5; }

/* ---------------------------------------------------------------- round 3 */
.keycap.pulse { animation: keypulse 1.6s ease-in-out infinite; }
@keyframes keypulse { 0%, 60%, 100% { transform: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), 0 3px 0 rgba(255, 255, 255, 0.18), 0 0 0 0 rgba(255, 255, 255, 0.5); }
  70% { transform: translateY(3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 0 0 rgba(255, 255, 255, 0.18), 0 0 0 8px rgba(255, 255, 255, 0); } }
.narrow-only { display: none; }
@media (max-width: 700px) { .wide-only { display: none; } .narrow-only { display: inline; } }
.pg-btn.ghost { background: rgba(255, 255, 255, 0.04); }
.sound-pill .on, .sound-pill[aria-pressed="false"] .on, .sound-pill[aria-pressed="true"] .off, .sound-pill svg.on { display: none; }
.sound-pill[aria-pressed="true"] .on, .sound-pill[aria-pressed="false"] .off, .sound-pill[aria-pressed="true"] svg.on, .sound-pill[aria-pressed="false"] svg.off { display: inline; }
.sound-pill[aria-pressed="true"] svg.off { display: none; }
.video-el.placeholder.mc { background: #10141c url(/assets/stills/dawn.webp) center / cover; }
@media (hover: none) { .home .hint, .menu-hint { display: none !important; } }
.pane-sb-thumb { cursor: grab; }
.face.px { background-color: transparent; background-position: center; background-size: 100% 100%; background-repeat: no-repeat; image-rendering: pixelated; color: transparent !important; border-radius: 22%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 1px 4px rgba(0, 0, 0, 0.25); }
/* /modules: rows that open nothing look like a list, not buttons; full blurbs; a darker left side for the words */
.app-row.static { opacity: 0.66; }
.app-row.static::after { content: "In the game"; flex: none; margin-left: auto; padding: 3px 8px; border-radius: 999px; font: 500 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
.app-txt small { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: clip; }
.apps-page .world-dim { background: linear-gradient(90deg, rgba(6, 8, 14, 0.74), rgba(6, 8, 14, 0.3) 52%, rgba(6, 8, 14, 0.12)); }
@media (min-aspect-ratio: 21/20) { .ch-left .ch-in { max-width: min(600px, 44vw); } }

/* the tour: the story plays itself; this pill pauses or plays it (any scroll of your own also stops it) */
.tour-pill { position: absolute; top: 20px; right: 26px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px 0 11px; border: 0; border-radius: 999px; pointer-events: auto; color: #fff; font: 500 13.5px/1 inherit; font-family: inherit; cursor: pointer; overflow: hidden; }
.tour-pill[hidden] { display: none; }
.tour-pill .tp-ic { display: inline-flex; width: 16px; height: 16px; } .tour-pill .tp-ic svg { width: 16px; height: 16px; }
.tour-pill .pl, .tour-pill.playing .pl { display: none; } .tour-pill .pz { display: block; } .tour-pill:not(.playing) .pz { display: none; } .tour-pill:not(.playing) .pl { display: block; }
.tour-pill .tp-bar { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.16); overflow: hidden; opacity: 0; transition: opacity .3s; }
.tour-pill.playing .tp-bar { opacity: 1; }
.tour-pill .tp-bar i { display: block; height: 100%; background: rgba(255, 255, 255, 0.75); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 820px) { .tour-pill { top: 78px; right: auto; left: 16px; height: 34px; } }
[data-feat], [data-sheets] { display: contents; }
.packs-closed { display: grid; gap: 6px; max-width: 520px; margin: 40px auto; padding: 26px 28px; border-radius: 26px; text-align: center; }
.packs-closed[hidden] { display: none; }
.packs-closed b { font: 650 24px var(--display); } .packs-closed span { color: rgba(255, 255, 255, 0.7); }
[data-feat][hidden], [data-shelves][hidden], .packs-search[hidden] { display: none; }

.live .tag {display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font: 600 11px/1.6 var(--font); letter-spacing: .06em; color: var(--dim); border: 1px solid var(--edge); vertical-align: middle; }
.live .note {margin-top: 16px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid var(--edge); color: var(--dim); font-size: 14px; }
.live .form {display: grid; gap: 14px; }
.live .form label {display: grid; gap: 6px; color: var(--dim); font-size: 14px; }
.live .form input {width: 100%; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--edge); background: rgba(0,0,0,.28); color: var(--text); font: 16px var(--font); outline: none; transition: border-color .2s, box-shadow .2s; color-scheme: dark; }
.live .form input:focus {border-color: rgba(255,255,255,.45); box-shadow: 0 0 0 4px rgba(255,255,255,.07); }
.live .form .btn {width: 100%; }
.live .form button:disabled {opacity: .6; cursor: wait; }
.live .msg {margin: 0; color: var(--faint); font-size: 14px; text-align: center; }
.live .msg.bad {color: #ffb4ab; }
.live .msg a {color: var(--dim); }
.live .kv {display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 14px; color: var(--dim); margin: 0 0 18px; }
.live .kv b {color: var(--text); font-weight: 600; }
.live .btns {display: flex; flex-wrap: wrap; gap: 10px; }
.live dialog.dlg {width: min(460px, calc(100vw - 32px)); padding: 30px 28px; border: 1px solid var(--edge); border-radius: 26px; color: var(--text); background: rgba(18, 20, 26, .92); backdrop-filter: blur(24px); box-shadow: 0 30px 120px rgba(0,0,0,.6); }
.live dialog.dlg::backdrop {background: rgba(0,0,0,.55); backdrop-filter: blur(4px); }
.live dialog.dlg h3 {margin: 0 0 4px; font: 600 21px/1.3 var(--display); }
.live dialog.dlg p {margin: 0 0 18px; color: var(--dim); font-size: 14px; }
.live .form input[type=file] {border-radius: 16px; padding: 12px 14px; font-size: 14px; }
.live .form .row2 {display: flex; gap: 10px; }
.live .form .row2 .btn {width: auto; flex: 1; }
.live .cav {width: 42px; height: 42px; flex: none; border-radius: 50%; object-fit: cover; background: rgba(255,255,255,.08); border: 1px solid var(--edge); }
.live .ph {display: grid; place-items: center; font: 600 18px/1 var(--display); color: var(--dim); }
.live .picon {width: 72px; height: 72px; flex: none; border-radius: 16px; object-fit: cover; background: rgba(255,255,255,.06); border: 1px solid var(--edge); }
.live .picon.big {width: 120px; height: 120px; border-radius: 26px; font-size: 44px; }
.live .pname {font: 600 16px/1.3 var(--display); overflow-wrap: anywhere; }
.live .pname span {color: inherit; background: none; -webkit-background-clip: border-box; background-clip: border-box; }
.live .pname .dk {text-shadow: 0 0 1px rgba(255,255,255,.7), 0 0 10px rgba(255,255,255,.25); }
.live .psum {color: var(--faint); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live .pempty {padding: 40px 28px; text-align: center; }
.live .pempty h3 {margin: 0 0 6px; font: 600 21px/1.3 var(--display); }
.live .pempty p {margin: 0; color: var(--dim); }
.live .cprev {margin: 18px 0 0; }
.live .phead {display: flex; align-items: center; gap: 22px; margin: 0 0 22px; }
.live .ptitle {min-width: 0; }
.live .ptitle h1.pname {font: 650 clamp(28px, 4.4vw, 44px)/1.1 var(--display); margin: 6px 0; }
.live .ptitle .psum {display: block; margin: 0; color: var(--dim); font-size: 16px; }
.live .pkv {grid-template-columns: repeat(2, auto 1fr); margin: 22px 0; }
.live .pver {margin: 0 0 14px; }
.live .pver summary {padding: 10px 0; font-size: 15px; }
.live .pver ul {list-style: none; margin: 0; padding: 0 0 6px; }
.live .pver li {display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.06); color: var(--dim); font-size: 14px; }
.live .pver li b {color: var(--text); }
.live .pver ul.left li {justify-content: flex-start; font: 12px/1.4 ui-monospace, Consolas, monospace; word-break: break-all; }
.live .note.bad {color: #ffb4ab; border-color: rgba(255,138,128,.35); }
.live .mono {font-family: ui-monospace, Consolas, monospace; font-size: 13px; word-break: break-all; }
.live .tag.on {background: rgba(95,209,139,.15); color: #7ee2a3; border-color: rgba(95,209,139,.3); }
.live .tag.bad {background: rgba(255,138,128,.12); color: #ffb4ab; border-color: rgba(255,138,128,.3); }
.live .drop {position: relative; display: grid; place-items: center; gap: 4px; margin: 0 0 12px; padding: 28px 18px; border-radius: 20px; text-align: center; cursor: pointer; border: 1.5px dashed rgba(255,255,255,.22); background: rgba(0,0,0,.18); transition: border-color .2s, background .2s; }
.live .drop:hover, .live .drop:focus-visible, .live .drop.over {border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); outline: none; }
.live .drop b {font: 600 16px/1.3 var(--display); }
.live .drop span {color: var(--faint); font-size: 13px; }
.live .drop input {position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.live .drop.off {opacity: .45; cursor: not-allowed; pointer-events: none; }
.live .progress {height: 6px; margin: 0 0 12px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.live .progress i {display: block; width: 0; height: 100%; border-radius: inherit; background: #fff; transition: width .2s; }
.live .msg.left {text-align: left; }
.live .form textarea {width: 100%; padding: 13px 18px; border-radius: 18px; border: 1px solid var(--edge); background: rgba(0,0,0,.28); color: var(--text); font: 15px/1.5 var(--font); outline: none; resize: vertical; color-scheme: dark; transition: border-color .2s, box-shadow .2s; }
.live .form textarea:focus {border-color: rgba(255,255,255,.45); box-shadow: 0 0 0 4px rgba(255,255,255,.07); }
.live .check, .live .form .check {display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; color: var(--dim); font-size: 14px; cursor: pointer; }
.live .form .check {margin: 0; }
.live .check input, .live .form .check input {width: 18px; height: 18px; flex: none; margin: 2px 0 0; padding: 0; border-radius: 4px; accent-color: #fff; }
.live .check a {color: var(--text); }
.live .mine-head {display: flex; align-items: baseline; gap: 12px; margin: 34px 0 12px; }
.live .mine-head h3 {margin: 0; font: 600 21px/1.3 var(--display); }
.live .mine {display: grid; gap: 10px; }
.live .mrow {display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 16px; padding: 14px; border-radius: 22px; }
.live .mrow .picon {width: 56px; height: 56px; border-radius: 14px; }
.live .mtext {display: grid; gap: 2px; min-width: 0; }
.live .mtext > span {color: var(--faint); font-size: 13px; }
.live .mrow .btns {justify-content: flex-end; gap: 6px; }
.live .mrow .medit, .live .mrow .msg {grid-column: 1 / -1; }
.live .mrow .msg:empty {display: none; }
.live .btn.danger {border-color: rgba(255,138,128,.5); color: #ffb4ab; }
@media (max-width: 640px) {
  .live .phead { flex-direction: column; align-items: flex-start; gap: 14px; }
  .live .picon.big { width: 96px; height: 96px; }
  .live .pkv { grid-template-columns: auto 1fr; }
  .live .mrow { grid-template-columns: auto 1fr; }
  .live .mrow .btns { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ---------------------------------------------------------------- the account-side pages (account, sign in, creator studio,
   staff page, legal, gate, 404). Their scripts (live/*.js) draw forms, buttons and tags with the earlier class names;
   live-ported.css keeps those layouts, and this file dresses them in PANE's glass. */
.live { --text: rgb(var(--w) / 0.97); --dim: rgb(var(--w) / 0.68); --faint: rgb(var(--w) / 0.46); --edge: rgb(var(--w) / 0.14); --glass-hi: rgb(var(--w) / 0.1); --font: var(--pane-ui); font-family: var(--pane-ui); color: var(--text); }
.live .still-bg { filter: blur(14px) saturate(1.15); transform: scale(1.06); }
.live-main { min-height: calc(100vh - 160px); }
.live-head { margin-bottom: 30px; }
.live-head .eyebrow { margin-bottom: 10px; }
.live a:not(.pg-btn):not(.btn):not(.bar-brand) { color: rgb(var(--w) / 0.92); text-underline-offset: 3px; }

/* buttons the scripts make: the same as .pg-btn (live.js adds pg-btn so they press and ripple like PANE's) */
.live .btn { --h: 0; --d: 0; --k: 1; position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 18px; border: 0; border-radius: 999px; font: 500 16px/1 var(--display); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  color: rgb(var(--w) / calc(0.88 + 0.12 * var(--h))); background: rgb(var(--w) / calc(0.08 + 0.10 * var(--h) + 0.06 * var(--d)));
  box-shadow: inset 0 0 0 calc(1px + 0.3px * var(--h)) rgb(var(--w) / calc(0.14 + 0.36 * var(--h))); transform: scale(var(--k)); transition: none; }
.live .btn.primary { color: var(--ink); background: rgb(var(--w) / calc(0.90 + 0.10 * var(--h) - 0.08 * var(--d))); box-shadow: none; }
.live .btn.small { height: 30px; padding: 0 14px; font-size: 14.3px; }
.live .btn.danger { color: rgb(255 150 140); box-shadow: inset 0 0 0 1px rgba(255, 120, 110, 0.45); }
.live .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.live [hidden] { display: none !important; }
.live .glass { border-radius: var(--r-panel); background: var(--app-tint); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 0 0 1px rgb(var(--w) / 0.20), inset 0 0 0 2px rgb(var(--w) / 0.05), 0 5px 18px rgba(0, 0, 0, 0.16); }

/* forms: fields like PANE's search field */
.live .form { gap: 12px; }
.live .form label { gap: 7px; font: 13.5px var(--pane-ui); color: rgb(var(--w) / 0.6); }
.live .form input:not([type=checkbox]):not([type=file]), .live .form textarea { height: 42px; padding: 0 16px; border: 0; border-radius: 999px; font: 16.5px var(--pane-ui); color: rgb(var(--w) / 0.95);
  background: rgb(var(--w) / 0.07); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.18); caret-color: #fff; }
.live .form textarea { height: auto; padding: 12px 16px; border-radius: 18px; }
.live .form input:focus, .live .form textarea:focus { background: rgb(var(--w) / 0.1); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.55); }
.live .form input::placeholder { color: rgb(var(--w) / 0.38); }
.live .form input[type=file] { border-radius: 16px; background: rgb(var(--w) / 0.05); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.14); border: 0; }
.live .form .btn { width: 100%; height: 42px; }
.live .msg { font: 13.5px/1.45 var(--pane-ui); color: rgb(var(--w) / 0.5); }
.live .msg.bad { color: rgb(255 150 140); }
.live .msg:empty { display: none; }
.live-msg { margin: 0 0 18px !important; text-align: left !important; font-size: 15px !important; }

/* tags: PANE's pills */
.live .tag { display: inline-flex; align-items: center; height: 22px; margin-left: 8px; padding: 0 9px; border: 0; border-radius: 999px; font: 13px var(--pane-ui); letter-spacing: 0; vertical-align: middle;
  color: rgb(150 235 165); background: rgba(70, 200, 110, 0.18); box-shadow: inset 0 0 0 1px rgba(110, 220, 140, 0.5); }
.live .tag:empty { display: none; }
.live .tag.off { color: rgb(var(--w) / 0.7); background: rgb(var(--w) / 0.07); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.18); }
.live .tag.bad { color: rgb(255 150 140); background: rgba(242, 66, 61, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 102, 92, 0.5); }
.live .tag.on { color: rgb(150 235 165); background: rgba(70, 200, 110, 0.18); box-shadow: inset 0 0 0 1px rgba(110, 220, 140, 0.5); }
.live .note { margin: 0; padding: 12px 14px; border: 0; border-radius: 16px; font: 13.5px/1.45 var(--pane-ui); color: rgb(var(--w) / 0.6); background: rgb(var(--w) / 0.05); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.1); }
.live .kicker { font: 500 12px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(var(--w) / 0.5); }

/* key-value lists */
.live-kv, .live .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font: 15px var(--pane-ui); color: rgb(var(--w) / 0.6); }
.live-kv dt { margin: 0; } .live-kv dd { margin: 0; color: rgb(var(--w) / 0.95); font-weight: 600; }
.live .kv b { color: rgb(var(--w) / 0.95); }
.live .btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* cards */
.live .acct-card h3, .live-card h3 { margin: 0; font: 600 19px/1.3 var(--pane-ui-semi); }
.live .acct-card > p:not(.pg-section) { margin: 0; }
.live-center { display: grid; place-items: center; min-height: calc(100vh - 330px); }
.live-card { width: min(440px, 100%); padding: 30px 30px 28px; border-radius: 30px; display: flex; flex-direction: column; gap: 14px; }
.live-card .display { margin: 0; }
.live-card .muted { margin: 0; font: 15.5px/1.45 var(--pane-ui); color: rgb(var(--w) / 0.66); }
.live-card .lock { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: rgb(var(--w) / 0.07); box-shadow: inset 0 0 0 1px rgb(var(--w) / 0.16); }
.live-card hr { width: 100%; border: 0; border-top: 1px solid rgb(var(--w) / 0.12); margin: 6px 0 0; }
.live-card .pg-section { margin: 0; }
.live-form { width: 100%; }
.live-sign { width: min(460px, 100%); }
.live-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.live-plan .plan-now span { font: 15px var(--pane-ui); color: rgb(var(--w) / 0.6); }
.live-plan ul { margin: 0; padding-left: 18px; font: 15px/1.6 var(--pane-ui); color: rgb(var(--w) / 0.7); }
.live-plan .btn { width: 100%; margin-top: 4px; }
.live-plan.rec { box-shadow: 0 0 0 1.4px rgb(var(--w) / 0.45), inset 0 0 0 2px rgb(var(--w) / 0.05), 0 20px 70px rgba(255, 255, 255, 0.05); }
.live-plan .save { color: rgb(150 230 160); }
.live #aTiles { margin-top: 0; }
.live .plan-now .tag { margin-left: 0; }
.live-404 .display { font-size: clamp(48px, 7vw, 96px); }

/* dialogs (staff page: publish a release) */
.live dialog.dlg { width: min(460px, calc(100vw - 32px)); padding: 26px 26px 22px; border: 0; border-radius: 28px; color: rgb(var(--w) / 0.97); background: rgba(16, 17, 23, 0.86);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 0 0 1px rgb(var(--w) / 0.22), 0 30px 90px rgba(0, 0, 0, 0.5); }
.live dialog.dlg h3 { font: 600 21px/1.3 var(--pane-ui-semi); }
.live dialog.dlg p { color: rgb(var(--w) / 0.62); }

/* creator studio */
.live .drop { border: 0 !important; box-shadow: inset 0 0 0 1.4px rgb(var(--w) / 0.22); background: rgb(var(--w) / 0.04); border-radius: 22px; }
.live .drop:hover, .live .drop:focus-visible, .live .drop.over { box-shadow: inset 0 0 0 1.4px rgb(var(--w) / 0.6); background: rgb(var(--w) / 0.07); }
.live .mrow, .live .cprev, .live .pempty { padding: 16px; }
.live .cprev { padding: 24px; margin-top: 16px; }
.live .mine-head h3 { font: 600 21px/1.3 var(--pane-ui-semi); }

/* legal */
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.legal-doc { padding: clamp(22px, 4vw, 44px); border-radius: 30px; font: 16px/1.65 var(--pane-ui); color: rgb(var(--w) / 0.78); max-width: 900px; }
.legal-doc h2 { margin: 42px 0 10px; font: 650 clamp(26px, 3vw, 36px)/1.1 var(--display); font-stretch: 112%; letter-spacing: -0.02em; color: #fff; scroll-margin-top: 100px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 { margin: 26px 0 6px; font: 600 18px/1.35 var(--pane-ui-semi); color: rgb(var(--w) / 0.95); }
.legal-doc ul { padding-left: 20px; } .legal-doc li { margin: 4px 0; }
.legal-doc p { margin: 8px 0; }

@media (max-width: 860px) {
  .live-plans { grid-template-columns: minmax(0, 1fr); }
  .live-card { padding: 24px 22px; }
}
.live .pg-section .tag { text-transform: none; }
