/* =================== GYRO GALAXY · base styles =================== */
:root {
  --bg: #07040f; --bg2: #0e0820; --card: #130b25; --card2: #1c1135; --line: #2d1c50;
  --ink: #f6f0ff; --mute: #a99bc7; --accent: #9b4dff; --accent2: #c79bff; --accent-ink: #fff;
  --gold: #ffb627; --green: #3fbf5f; --yellow: #ffb627; --red: #d7263d; --none: #21153a;
  --display: 'Unbounded', 'Karla', system-ui, sans-serif;
  --body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --r: 12px; --shadow: 0 14px 40px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body); color: var(--ink); background-color: var(--bg); font-size: 15px; line-height: 1.45;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.75), transparent),
    radial-gradient(1px 1px at 68% 42%, rgba(255,255,255,.6), transparent),
    radial-gradient(1.5px 1.5px at 35% 75%, rgba(199,155,255,.7), transparent),
    radial-gradient(1px 1px at 88% 85%, rgba(127,212,255,.7), transparent),
    radial-gradient(1px 1px at 52% 8%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.2px 1.2px at 80% 25%, rgba(255,255,255,.6), transparent),
    radial-gradient(900px 500px at 85% -10%, rgba(155,77,255,.18), transparent 70%),
    radial-gradient(700px 500px at -10% 110%, rgba(80,40,200,.14), transparent 70%);
  background-size: 420px 420px, 420px 420px, 420px 420px, 420px 420px, 420px 420px, 420px 420px, auto, auto;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 4vw, 36px); letter-spacing: -.01em; }
h2 { font-family: var(--display); font-weight: 700; font-size: 22px; }
h3 { font-size: 18px; font-weight: 800; }
p { margin: 0; }
[hidden] { display: none !important; }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.accent { color: var(--accent2); }
.kicker { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 800; color: var(--accent2); margin-bottom: 6px; }
.row { display: flex; align-items: center; }
.row.wrap, .wrap { flex-wrap: wrap; }
.row.gap { gap: 10px; } .row.gap-s, .gap-s { gap: 6px; }
.row.center { justify-content: center; } .row.end { justify-content: flex-end; } .row.between { justify-content: space-between; }
.center-v { align-items: center; } .center { text-align: center; }
.grow { flex: 1 1 auto; min-width: 0; }
.sect { margin: 26px 0 12px; font-size: 15px; letter-spacing: .04em; }

/* ---------- boot ---------- */
.boot { min-height: 100vh; display: grid; place-items: center; }
.boot-ring { width: 54px; height: 54px; border-radius: 50%; border: 4px solid rgba(255,255,255,.15); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 10px; font-weight: 800;
  background: var(--card2); border: 1px solid var(--line); color: var(--ink); letter-spacing: .02em; transition: transform .12s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover { border-color: var(--accent2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 22px rgba(155,77,255,.35); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 8px; }
.btn.danger { color: #ff8f98; border-color: rgba(215,38,61,.5); }
.btn small { font-weight: 600; opacity: .7; font-size: 11px; }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; font-size: 17px; padding: 15px 28px; border-radius: 14px; box-shadow: 0 10px 30px rgba(88,101,242,.45); }
.btn.discord:hover { background: #4752c4; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mute); margin-bottom: 14px; }
.field input, .field select, .field textarea, .filters input, .filters select, .cal-switch select {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--ink); font-weight: 600; font-size: 15px; width: 100%; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.field input[type=color] { padding: 3px; height: 42px; }
.field input[type=file] { padding: 8px; }
.input-pre { display: flex; align-items: stretch; }
.input-pre span { display: grid; place-items: center; padding: 0 10px; background: var(--card2); border: 1px solid var(--line); border-right: 0; border-radius: 10px 0 0 10px; color: var(--mute); }
.input-pre input { border-radius: 0 10px 10px 0 !important; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; margin: 6px 0 12px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.chip { padding: 8px 12px; border-radius: 999px; background: var(--card2); border: 1px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--mute); }
.chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- tags, badges, avatars ---------- */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(155,77,255,.16); color: var(--accent2); border: 1px solid rgba(155,77,255,.3); white-space: nowrap; }
.tag.city { background: rgba(127,212,255,.1); color: #9ddcff; border-color: rgba(127,212,255,.25); }
.tag.admin { background: rgba(255,182,39,.15); color: var(--gold); border-color: rgba(255,182,39,.35); }
.tag.ghost { background: transparent; color: var(--mute); border-color: var(--line); }
.tag.bad { background: rgba(215,38,61,.15); color: #ff8f98; border-color: rgba(215,38,61,.4); }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.bchip { padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 800; background: transparent; border: 1.5px dashed var(--bc); color: var(--bc); opacity: .7; }
.bchip.on { background: var(--bc); color: var(--bt); border-style: solid; opacity: 1; }
.av { position: relative; display: inline-grid; place-items: center; width: var(--s); height: var(--s); flex: 0 0 var(--s); border-radius: 50%;
  background: linear-gradient(135deg, #5a1a8c, #9b4dff); box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av-init { font-weight: 800; font-size: calc(var(--s) * .38); color: #fff; }
.av-badge { position: absolute; bottom: -3px; right: -6px; font-size: max(9px, calc(var(--s) * .2)); font-weight: 900; padding: 1px 5px; border-radius: 6px; border: 2px solid var(--bg); line-height: 1.2; letter-spacing: .03em; }
.av-dot { position: absolute; top: 2%; right: 2%; width: max(10px, calc(var(--s) * .2)); height: max(10px, calc(var(--s) * .2)); border-radius: 50%; background: #3fdc6b; border: 2px solid var(--bg); }
.seen { font-size: 12.5px; color: var(--mute); }
.seen.on { color: #5fe39b; font-weight: 700; }
.seen.on::before { content: '● '; }

/* ---------- cards & layout ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 12px; }
.card.narrow { width: min(560px, 100%); }
.card.medium { width: min(760px, 100%); margin: 0 auto; }
.center-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.page { max-width: 1120px; margin: 0 auto; padding: 26px 18px 120px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.empty { text-align: center; padding: 48px 16px; color: var(--mute); }
.empty-ic { font-size: 44px; margin-bottom: 8px; }
.empty h3 { color: var(--ink); margin-bottom: 6px; }
.list { display: flex; flex-direction: column; gap: 8px; }
.lrow { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.lrow.wrap { flex-wrap: wrap; }
.warn-box { background: rgba(215,38,61,.12); border: 1px solid var(--red); color: #ffc0c6; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.warn-box ul { margin: 6px 0 0; padding-left: 20px; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.seg a { padding: 10px 14px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-weight: 800; font-size: 14px; color: var(--mute); }
.seg a.on { background: #fff; color: #14082a; border-color: #fff; }
.pip { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; margin-left: 4px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; padding: 10px 18px;
  background: rgba(7,4,15,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; font-weight: 800; color: var(--mute); font-size: 14px; }
.nav a.on { background: rgba(155,77,255,.18); color: #fff; }
.nav a:hover { color: #fff; }
.nav .nav-me { display: none; }
.tb-right { display: flex; align-items: center; gap: 14px; }
.site-link { font-size: 13px; color: var(--mute); font-weight: 700; }
.site-link:hover { color: #fff; }
.gplanet { overflow: visible; }

/* ---------- project grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--accent2); box-shadow: 0 16px 40px rgba(155,77,255,.25); }
.pc-art { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: #0c0618; }
.pc-art > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.ptype { color: var(--accent2); font-weight: 800; }
.pc-body h3 { font-family: var(--display); font-size: 17px; margin: 0; }
.th-galaxy { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, #4a1590, #14062b 70%); }
.th-galaxy .ph-stars { position: absolute; inset: 0; }
.th-witch { position: absolute; inset: 0; }
.th-witch .wlw-scene { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- people ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters input { flex: 1 1 220px; width: auto; }
.filters select { flex: 0 1 220px; width: auto; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.person { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; transition: border-color .15s; }
.person:hover { border-color: var(--accent2); }
.person-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.person-name { font-weight: 800; font-size: 16px; }

/* ---------- profile ---------- */
.profile .prof-top { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.prof-main { display: flex; flex-direction: column; gap: 6px; flex: 1 1 260px; }
.prof-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.prof-roles { margin-top: 18px; }
.prof-bio { margin-top: 14px; font-size: 16px; max-width: 70ch; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.contact a { padding: 8px 12px; background: var(--card2); border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 14px; }
.mini-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.mini-project { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mp-art { position: relative; width: 96px; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; flex: 0 0 96px; background: #0c0618; }
.mp-art > img { width: 100%; height: 100%; object-fit: cover; }
.mp-art .gplanet { width: 40px; height: 40px; }

/* ---------- profile edit ---------- */
.pe-hero { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.pe-photo { display: flex; gap: 16px; align-items: center; margin: 14px 0 18px; }
.pe-photo label.btn { cursor: pointer; }
.pe-actions { margin-top: 10px; }
.pend-planet { margin-bottom: -18px; }
.card.center { display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ---------- project page ---------- */
.project { max-width: 1120px; margin: 0 auto; padding: 18px 16px 120px; }
.phead { position: relative; min-height: 230px; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); }
.ph-text { position: relative; z-index: 2; padding: 26px 18px 30px; }
.ph-kicker { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 800; color: var(--accent2); }
.ph-title { margin: 8px 0; font-size: clamp(34px, 7vw, 60px); }
.ph-sub { color: #eadcff; font-size: 15px; }
.ph-dates { color: var(--mute); font-size: 13px; margin-top: 4px; font-weight: 700; }
.ph-galaxy { background: radial-gradient(ellipse at 75% 20%, #4c1696, #1a0838 55%, #0a0416); }
.ph-galaxy.has-img { background: linear-gradient(180deg, rgba(7,4,15,.35), rgba(7,4,15,.85)), var(--img) center / cover; }
.ph-stars { position: absolute; inset: 0; background-image:
  radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 55% 15%, #d9b8ff, transparent), radial-gradient(1px 1px at 80% 60%, #fff, transparent),
  radial-gradient(1px 1px at 90% 30%, #9ddcff, transparent), radial-gradient(1.2px 1.2px at 45% 85%, #fff, transparent);
  animation: twinkle 4s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .55; } to { opacity: 1; } }
.ph-planet { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); opacity: .9; }
.ph-galaxy .ph-title { font-family: var(--display); }
.ptabs { display: flex; gap: 6px; overflow-x: auto; padding: 14px 2px 4px; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { flex: 0 0 auto; padding: 10px 16px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-weight: 800; font-size: 14px; color: var(--mute); }
.ptab.on { background: #fff; color: #14082a; border-color: #fff; box-shadow: 3px 3px 0 var(--accent); }
.ptab.soon { opacity: .45; }
.ptab.soon i { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; margin-left: 4px; }
.ptab-body { margin-top: 16px; }
.team h2 { margin-bottom: 4px; }
.tform { margin: 8px 0 12px; }

/* ---------- login ---------- */
.login { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 16px 40px; overflow: hidden; }
.lg-stars { position: absolute; inset: -50%; background-image:
  radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent),
  radial-gradient(2px 2px at 55% 15%, #d9b8ff, transparent), radial-gradient(1px 1px at 80% 60%, #fff, transparent),
  radial-gradient(1.5px 1.5px at 90% 30%, #9ddcff, transparent), radial-gradient(1.2px 1.2px at 45% 85%, #fff, transparent);
  background-size: 300px 300px; animation: drift 120s linear infinite; opacity: .8; }
@keyframes drift { to { transform: rotate(360deg); } }
.lg-scene { position: relative; width: min(820px, 112vw); margin-bottom: -40px; animation: lgIn 1.4s cubic-bezier(.2,.9,.3,1.1) both; }
.lg-svg { width: 100%; height: auto; display: block; overflow: visible; }
.lg-ring { fill: none; stroke: rgba(199,155,255,.22); stroke-width: 1.4; stroke-dasharray: 3 7; }
.lg-halo { animation: pulse 5s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .7; } to { opacity: 1; } }
.lg-core { animation: bob 7s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes lgIn { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
.lg-card { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; animation: fadeUp 1s .5s both; max-width: 460px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lg-title { font-family: var(--display); font-size: clamp(40px, 9vw, 68px); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(120deg, #fff 20%, #d9b8ff 50%, #9b4dff 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-slogan { font-size: 19px; font-weight: 700; color: #eadcff; letter-spacing: .02em; margin-bottom: 8px; }
.lg-back { margin-top: 8px; color: var(--mute); font-weight: 700; font-size: 14px; }
.lg-back:hover { color: #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 30px); background: var(--green); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 12px;
  opacity: 0; pointer-events: none; transition: .25s; z-index: 2147482500; max-width: 92vw; text-align: center; box-shadow: var(--shadow); }
.toast.bad { background: var(--red); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .topbar { padding: 8px 12px; backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(7,4,15,.96); }
  .brand span { font-size: 15px; }
  .site-link { display: none; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; justify-content: space-around; padding: 6px 6px max(6px, calc(env(safe-area-inset-bottom) - 16px));
    background: rgba(10,6,22,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); z-index: 60; }
  .nav a { flex-direction: column; gap: 2px; font-size: 11px; padding: 6px 10px; }
  .nav .ni { font-size: 20px; }
  .nav .nav-me { display: flex; }
  .tb-right { margin-left: auto; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .page { padding: 18px 12px 110px; }
  .project { padding: 10px 8px 110px; }
  .phead { min-height: 200px; border-radius: 14px; }
  .ph-planet { right: -60px; opacity: .55; }
  .profile .prof-top { flex-direction: column; text-align: center; }
  .prof-main { align-items: center; flex: 0 0 auto; }
  .prof-actions { justify-content: center; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .lrow { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* setup helpers */
.steps { margin: 10px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps.big > li { padding-left: 4px; line-height: 1.5; }
.steps.big > li > div { margin-top: 8px; }
.steps ul { margin: 6px 0; padding-left: 18px; }
.copybox { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-top: 8px; }
.copybox code, .copybox textarea { display: block; margin-top: 6px; word-break: break-all; font-size: 12.5px; color: #d9c8ff; background: none; border: 0; width: 100%; resize: vertical; }
.mono, code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
code { background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 5px; font-size: .92em; }
.kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--card2); }
.push-card { margin-top: 18px; }
.push-card h3 { margin-bottom: 8px; }
.warn-box.small { font-size: 13px; padding: 8px 12px; margin-top: 10px; }
.bell-foot { display: block; text-align: center; padding: 10px; font-size: 13px; color: var(--accent2); font-weight: 700; }

/* project settings */
.settings { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin: 0 auto; }
.settings .card p { margin-bottom: 12px; }
.inp { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg2, rgba(255,255,255,.04)); color: inherit; font: inherit; }
.inp:focus { outline: 2px solid var(--accent); border-color: transparent; }
@media (max-width: 700px) { .inp { font-size: 16px; } }

/* notifications banner */
.push-banner { margin: 12px auto 0; width: min(1180px, calc(100% - 24px)); background: linear-gradient(90deg, rgba(155,77,255,.22), rgba(155,77,255,.08)); border: 1px solid rgba(155,77,255,.45); border-radius: 14px; padding: 10px 12px; }
.pb-row { display: flex; align-items: center; gap: 10px; }
.pb-ic { font-size: 20px; }
.pb-x { background: none; border: 0; color: var(--mute); font-size: 16px; cursor: pointer; padding: 6px; }
.pb-steps { margin: 10px 0 2px; }
@media (max-width: 700px) { .pb-sub { display: none; } }

/* iPhone Home Screen app: keep the top bar below the clock/notch */
.topbar { padding-top: calc(10px + env(safe-area-inset-top)); }
@media (max-width: 760px) { .topbar { padding-top: calc(8px + env(safe-area-inset-top)); } }
html, body { overscroll-behavior-y: none; }
