/* Site layer on top of the owner's Office Aurora theme (office-theme.css is loaded first).
   Office components (au-card, au-btn, au-h1, au-cover, ax-head …) keep their own look; this file only adds layout,
   forms and the few pieces the Office does not have (setup steps, plans, tables). */
:root { --s-gold: #f2c27b; --s-ink: #f5f3f0; --s-mute: #a39ea8; --s-line: rgba(255,255,255,.09); --s-line2: rgba(255,255,255,.16);
  --s-ok: #7fd9b3; --s-warn: #f3c26f; --s-bad: #ff9d9d; --s-info: #9db8ff; --s-banner: 40px; color-scheme: dark; }
body { margin: 0; min-height: 100vh; }
.s-root { min-height: calc(100vh - var(--s-banner)); color: var(--s-ink); }
.s-root a { color: var(--s-gold); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--s-gold); color: #140d04; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--s-gold); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- demo banner ---------- */
.demo-banner { position: sticky; top: 0; z-index: 100; min-height: var(--s-banner); display: flex; align-items: center; gap: 10px; padding: 6px 16px; background: #2a2010; border-bottom: 1px solid rgba(242,194,123,.35); color: #f7e3bf; font: 500 12.5px/1.35 -apple-system, "Segoe UI", system-ui, sans-serif; }
.demo-tag { flex: none; font-weight: 700; font-size: 10.5px; letter-spacing: .14em; background: var(--s-gold); color: #24190a; padding: 5px 8px; border-radius: 6px; }
.demo-text { flex: 1; min-width: 0; }
.demo-btn { flex: none; font: 600 12px inherit; color: #f7e3bf; background: rgba(242,194,123,.14); border: 1px solid rgba(242,194,123,.4); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
#demo-state:empty { display: none; } #demo-state { opacity: .8; } #demo-state:not(:empty)::after { content: " ·"; }

/* ---------- bars ---------- */
.s-bar { position: sticky; top: var(--s-banner); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; padding: 0 max(20px, calc((100vw - 1180px) / 2)); background: rgba(10,8,10,.62); backdrop-filter: blur(28px) saturate(150%); -webkit-backdrop-filter: blur(28px) saturate(150%); border-bottom: 1px solid var(--s-line); }
.s-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--s-ink) !important; text-decoration: none; font: 600 18px/1 var(--au-sans, system-ui); letter-spacing: -.02em; }
.s-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(140deg, #fff3db, var(--s-gold)); color: #140d04; font-weight: 700; font-size: 15px; box-shadow: 0 8px 30px -10px rgba(242,194,123,.8); }
.s-nav { display: flex; align-items: center; gap: 6px; }
.s-navlink { color: var(--s-mute) !important; text-decoration: none; font: 500 14px var(--au-sans, system-ui); padding: 9px 14px; border-radius: 12px; transition: .2s; }
.s-navlink:hover, .s-navlink.on { color: var(--s-ink) !important; background: rgba(255,255,255,.07); }

/* ---------- page ---------- */
.s-main, .s-public > main { outline: none; }
.s-page { max-width: 1180px; margin: 0 auto; padding: 48px 20px 120px; display: grid; gap: 64px; }
.s-narrow .s-page, .s-page.s-narrow { max-width: 620px; gap: 28px; }
/* the Office theme resets gap on .ax; the site's sections need air between them */
/* the Office theme sets .ax{gap:0 !important}; the site's sections need air between them */
.s-root .s-page.ax.au, .s-root .s-page { row-gap: 64px !important; }
.s-root .s-narrow .s-page, .s-root .s-page.s-narrow { row-gap: 28px !important; }
.s-root .s-page.s-account { row-gap: 48px !important; }
/* the page title gets focus for screen readers after navigation; no visible frame for that */
.s-root h1:focus { outline: none; }
.s-root .s-page > section > .s-h3 { margin-bottom: 22px; }
/* subscription: the plan card is centred, with its actions inside */
.s-plancard { display: grid; justify-items: center; text-align: center; gap: 18px; }
.s-plancard .s-h3 { margin: 0; }
.s-plancard .s-summary { grid-template-columns: auto auto; justify-content: center; text-align: left; margin: 0; }
.s-plancard .s-small { margin: 0; }
.s-page > .ax-head, .s-page .ax-head { text-align: center; margin: 0 auto; }
.s-page .ax-head .ax-sub { margin-left: auto; margin-right: auto; }
.ax.au .ax-h2 em { font-family: var(--au-serif); font-style: italic; color: var(--s-gold); font-weight: 400; letter-spacing: -.02em; }
.s-foot-pub { max-width: 1180px; margin: 0 auto; padding: 28px 20px 60px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--s-mute); font-size: 13px; border-top: 1px solid var(--s-line); }

/* ---------- Office components: small additions ---------- */
a.au-btn, button.au-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; color: #f5f3f0; }
a.au-btn.prime, button.au-btn.prime { color: #140d04 !important; }
.au-btn[disabled] { opacity: .5; cursor: not-allowed; }
.au-btn.au-lg { height: 54px; padding: 0 28px; font-size: 15.5px; border-radius: 16px; }
.au-btn.au-small { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 12px; }
.au-btn.au-block { width: 100%; }
.au-btn.au-ghost { background: transparent; border-color: transparent; }
.au-btn.au-danger { background: rgba(255,157,157,.1); border-color: rgba(255,157,157,.35); color: var(--s-bad) !important; }
.s-pad { padding: 28px; }
.s-stack { display: grid; gap: 16px; }
.s-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.s-between { justify-content: space-between; }
.s-center { text-align: center; justify-content: center; display: flex; flex-wrap: wrap; gap: 10px; }
p.s-center { display: block; }
.s-mute { color: var(--s-mute); } .s-small { font-size: 13px; } .s-clamp2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.s-h3 { font: 500 20px/1.2 var(--au-sans); letter-spacing: -.02em; margin: 0 0 16px; }
.s-h3.s-center { display: block; }
.s-notice { background: rgba(242,194,123,.08); border: 1px solid rgba(242,194,123,.26); color: #f3e2c4; border-radius: 16px; padding: 13px 16px; font-size: 14px; margin: 0; }
.s-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.s-checks li { position: relative; padding-left: 30px; }
.s-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--s-ok); background: rgba(127,217,179,.13); }
.s-checks.warn li::before { content: "!"; color: var(--s-warn); background: rgba(243,194,111,.13); }
.s-legal p { color: #e4e0e8; line-height: 1.65; }

/* ---------- landing ---------- */
.s-landing .s-page { padding-top: 24px; }
.s-cover { height: min(58vh, 560px); }
.s-hero { text-align: center; display: block; }
.s-hero > div { max-width: 900px; margin: 0 auto; }
.s-hero .au-sub { max-width: 640px; margin: 22px auto 0; font-size: 18px; line-height: 1.55; }
.s-hero .au-cta { justify-content: center; margin-top: 30px; }
.s-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.s-step { padding: 26px; }
.s-step h3 { font: 500 18px/1.25 var(--au-sans); margin: 14px 0 6px; letter-spacing: -.015em; }
.s-step p { color: var(--s-mute); margin: 0; }
.s-step-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(242,194,123,.14); color: var(--s-gold); font-weight: 600; }

/* ---------- plans ---------- */
.s-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.s-plan { padding: 28px; display: grid; gap: 8px; align-content: start; }
.s-plan.is-chosen { border-color: rgba(242,194,123,.55); box-shadow: 0 30px 80px -40px rgba(242,194,123,.5); }
.s-plan h3 { font: 300 30px/1.05 var(--au-sans); letter-spacing: -.04em; margin: 6px 0 0; }
.s-plan p { margin: 0; }
.s-plan .au-btn { margin-top: 14px; }
.s-price { font: 500 16px var(--au-sans); color: var(--s-gold); }
.s-plan-worlds { display: flex; gap: 6px; height: 34px; align-items: center; }
.s-plan-dot { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3db, var(--s-gold) 55%, #a8743a); box-shadow: 0 6px 20px -6px rgba(242,194,123,.8); }

/* ---------- forms ---------- */
.s-form { display: grid; gap: 18px; }
.s-root .field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.s-root .field > label, .s-root .field > legend, .choice legend { font: 500 14px var(--au-sans); color: var(--s-ink); padding: 0; }
.s-root .field > legend { margin-bottom: 6px; }
.s-root .hint { margin: 0; font-size: 13px; color: var(--s-mute); }
.s-root .field-error { margin: 0; font-size: 13px; color: var(--s-bad); }
.s-root .field-error:empty { display: none; }
.s-root input:not([type=checkbox]):not([type=radio]), .s-root select, .s-root textarea, .sheet input:not([type=checkbox]):not([type=radio]), .sheet textarea {
  width: 100%; box-sizing: border-box; font: 15px var(--au-sans); color: var(--s-ink); background: rgba(0,0,0,.3); border: 1px solid var(--s-line2); border-radius: 14px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.s-root textarea, .sheet textarea { resize: vertical; line-height: 1.5; }
.s-root textarea.memory { border-color: rgba(242,194,123,.35); background: rgba(242,194,123,.04); }
.s-root select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--s-mute) 50%), linear-gradient(135deg, var(--s-mute) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.s-root select option { background: #17141b; }
.s-root input:focus, .s-root select:focus, .s-root textarea:focus, .sheet input:focus, .sheet textarea:focus { outline: none; border-color: var(--s-gold); box-shadow: 0 0 0 4px rgba(242,194,123,.16); }
.s-root .has-error input, .s-root .has-error select, .s-root .has-error textarea { border-color: var(--s-bad); }
.s-root input[type=time] { color-scheme: dark; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.radio, .switch { display: flex; align-items: center; gap: 12px; padding: 9px 0; cursor: pointer; }
.radio input, .switch input { width: 20px; height: 20px; accent-color: var(--s-gold); flex: none; margin: 0; }
.choice { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-width: 58px; height: 48px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--s-line2); background: rgba(255,255,255,.04); font-weight: 500; transition: .2s; }
.chip input:checked + span { background: linear-gradient(140deg, #fff3db, var(--s-gold)); border-color: transparent; color: #140d04; }
.chip input:focus-visible + span { outline: 2px solid var(--s-gold); outline-offset: 3px; }

/* ---------- setup ---------- */
.wizard { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; width: 100%; }
.wizard-head { display: grid; gap: 12px; text-align: center; justify-items: center; }
.wizard-head .eyebrow { margin: 0; font: 600 11.5px/1.3 var(--au-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--s-gold); }
.wizard h1 { font: 300 clamp(30px, 4.2vw, 46px)/1.05 var(--au-sans); letter-spacing: -.045em; margin: 0 0 6px; }
.wizard h2 { font: 500 20px var(--au-sans); letter-spacing: -.02em; margin: 0; }
.stepper { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 9), minmax(0, 1fr)); gap: 4px; width: 100%; }
.stepper li > span { display: grid; justify-items: center; gap: 7px; color: var(--s-mute); font-size: 11.5px; text-align: center; }
.stepper li { position: relative; }
.stepper li:not(:first-child)::before { content: ""; position: absolute; top: 15px; right: calc(50% + 18px); left: calc(-50% + 18px); height: 1px; background: var(--s-line2); }
.stepper li.done:not(:first-child)::before, .stepper li.now:not(:first-child)::before { background: rgba(242,194,123,.5); }
.stepper .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--s-line2); font-weight: 600; font-size: 12.5px; background: rgba(10,8,10,.6); }
.stepper li.done .dot { background: rgba(127,217,179,.16); border-color: transparent; color: var(--s-ok); }
.stepper li.now .dot { background: linear-gradient(140deg, #fff3db, var(--s-gold)); border-color: transparent; color: #140d04; box-shadow: 0 0 0 6px rgba(242,194,123,.14); }
.stepper li.now .lbl { color: var(--s-ink); font-weight: 600; }
.wizard-foot, .s-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 6px; }
.s-foot.end { justify-content: flex-end; }
.count-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.count-tile { display: grid; justify-items: center; gap: 14px; padding: 26px 12px; border-radius: 20px; border: 1px solid var(--s-line2); background: rgba(255,255,255,.03); color: var(--s-ink); cursor: pointer; font: 500 15px var(--au-sans); transition: .2s; }
.count-tile:hover { background: rgba(255,255,255,.07); }
.count-tile.is-on { border-color: var(--s-gold); background: rgba(242,194,123,.08); box-shadow: 0 20px 60px -30px rgba(242,194,123,.7); }
.count-tile[disabled] { opacity: .45; cursor: not-allowed; }
.count-faces { display: flex; justify-content: center; height: 46px; align-items: center; }
.face { width: 34px; height: 34px; border-radius: 50%; margin-left: -8px; border: 2px solid #120f14; background: radial-gradient(circle at 35% 35%, hsl(var(--h) 80% 82%), hsl(var(--h) 60% 62%)); }
.face:first-child { margin-left: 0; }
.versions { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.version { display: grid; gap: 12px; padding: 12px; border-radius: 20px; border: 1px solid var(--s-line); background: rgba(255,255,255,.03); align-content: start; transition: .2s; }
.version.is-approved { border-color: rgba(127,217,179,.55); background: rgba(127,217,179,.06); }
.version-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wish { margin-top: 6px; } .wish summary { cursor: pointer; color: var(--s-gold); font-weight: 500; font-size: 14px; } .wish[open] { display: grid; gap: 12px; } .wish .au-btn { justify-self: start; }
.review { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.review li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: rgba(255,255,255,.04); }
.review li a { margin-left: auto; font-weight: 600; }
.tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; flex: none; font-size: 12px; }
.review .ok .tick { background: rgba(127,217,179,.14); color: var(--s-ok); } .review .missing .tick { background: rgba(243,194,111,.14); color: var(--s-warn); }
.summary, .s-summary { display: grid; grid-template-columns: minmax(130px, auto) 1fr; gap: 10px 18px; margin: 12px 0 0; }
.summary dt, .s-summary dt { color: var(--s-mute); } .summary dd, .s-summary dd { margin: 0; overflow-wrap: anywhere; }

/* ---------- art ---------- */
.art { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #17141b; }
.art-img, .art-img svg { display: block; width: 100%; height: 100%; }
.art-character { aspect-ratio: 1; } .art-world { aspect-ratio: 16/10; }
.art-tag { position: absolute; left: 8px; bottom: 8px; font: 600 10px/1 var(--au-sans); letter-spacing: .04em; color: #fff; background: rgba(0,0,0,.45); padding: 4px 7px; border-radius: 6px; }
.art-tag:empty { display: none; }

/* ---------- pills, channels ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font: 600 11.5px/1.3 var(--au-sans); white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { color: var(--s-ok); background: rgba(127,217,179,.13); } .pill-warn { color: var(--s-warn); background: rgba(243,194,111,.13); } .pill-bad { color: var(--s-bad); background: rgba(255,157,157,.13); }
.pill-info { color: var(--s-info); background: rgba(157,184,255,.13); } .pill-mute { color: #d8d3dc; background: rgba(255,255,255,.08); }
.s-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 600 11.5px var(--au-sans); background: rgba(255,255,255,.08); color: #d8d3dc; }
.s-badge.ok { color: var(--s-ok); background: rgba(127,217,179,.13); } .s-badge.stop { color: var(--s-warn); background: rgba(243,194,111,.13); }
.conn-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.conn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.04); }
.conn-logo { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; flex: none; }
.conn-youtube { background: linear-gradient(140deg, #ff6a5c, #e2463c); } .conn-tiktok { background: linear-gradient(140deg, #ff2d6f, #7b2cff); } .conn-instagram { background: linear-gradient(135deg, #f5a623, #d6249f, #6a3cf0); opacity: .55; }
.conn-text { flex: 1; display: grid; gap: 5px; justify-items: start; min-width: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: flex; gap: 10px; align-items: center; color: var(--s-mute); }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--s-line2); font-size: 12px; font-weight: 700; }
.steps li.now { color: var(--s-ink); font-weight: 600; } .steps li.now::before { background: var(--s-gold); color: #140d04; border-color: var(--s-gold); }
.steps li.done::before { content: "✓"; background: rgba(127,217,179,.14); color: var(--s-ok); border-color: transparent; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; } .checks li::before { content: "✓  "; color: var(--s-ok); font-weight: 700; }

/* ---------- account and admin ---------- */
.s-worlds { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.s-world { display: grid; color: var(--s-ink) !important; text-decoration: none; height: 100%; }
.s-world .art { border-radius: 0; }
.s-world-body { padding: 18px 22px 22px; display: grid; gap: 8px; justify-items: start; }
.s-world-body h2 { font: 300 28px/1.05 var(--au-sans); letter-spacing: -.04em; margin: 0; }
.s-world-body p { margin: 0; }
.s-link { color: var(--s-gold); font-weight: 500; }
.s-new { place-items: center; align-content: center; gap: 10px; min-height: 280px; border-style: dashed !important; }
.s-plus { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: rgba(242,194,123,.12); color: var(--s-gold); }
.s-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.s-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 150px; padding: 18px; }
.s-stat b { display: block; font: 300 34px/1.05 var(--au-sans); letter-spacing: -.04em; margin: 8px 0 4px; }
.s-stat .au-of { margin: 0; color: var(--s-mute); font-size: 12.5px; }
.s-table-wrap { overflow-x: auto; margin: 0 -8px; }
.s-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.s-table th, .s-table td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--s-line); white-space: nowrap; font-weight: 400; }
.s-table thead th { color: var(--s-mute); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.s-table tbody th { font-weight: 500; }

/* ---------- states ---------- */
.skeleton { display: grid; gap: 18px; max-width: 1180px; margin: 0 auto; padding: 48px 20px; }
.sk { border-radius: 24px; background: linear-gradient(90deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.09) 50%, rgba(255,255,255,.04) 100%); background-size: 200% 100%; animation: sk 1.3s ease-in-out infinite; }
.sk-title { height: 52px; width: 40%; margin: 0 auto; border-radius: 14px; } .sk-card { height: 140px; }
@keyframes sk { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 30px 16px; display: grid; justify-items: center; gap: 6px; }
.empty-mark { font-size: 24px; color: var(--s-gold); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(242,194,123,.1); margin-bottom: 6px; }
.empty h3 { margin: 0; font: 500 18px var(--au-sans); } .empty p { color: var(--s-mute); max-width: 34em; margin: 0 0 8px; }
.errorbox { max-width: 620px; margin: 48px auto; background: rgba(255,157,157,.08); border: 1px solid rgba(255,157,157,.3); border-radius: 24px; padding: 26px; }
.errorbox h3 { color: var(--s-bad); font: 500 19px var(--au-sans); margin: 0 0 8px; }
.tech { margin-top: 14px; } .tech summary { cursor: pointer; color: var(--s-mute); font-size: 13px; font-weight: 600; }
.tech dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 13px; margin: 10px 0 0; } .tech dt { color: var(--s-mute); } .tech dd { margin: 0; overflow-wrap: anywhere; }
.s-pick { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 15px 18px; border-radius: 18px; border: 1px solid var(--s-line2); background: rgba(255,255,255,.04); color: var(--s-ink); cursor: pointer; font: inherit; transition: .2s; }
.s-pick:hover { background: rgba(255,255,255,.09); }
.s-pick-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(242,194,123,.16); color: var(--s-gold); font-weight: 700; flex: none; }
.s-pick-text { flex: 1; display: grid; } .s-pick-text small { color: var(--s-mute); }

/* ---------- dialog / toast ---------- */
.sheet { width: min(560px, calc(100% - 24px)); max-height: min(88vh, 860px); padding: 0; border-radius: 28px; border: 1px solid rgba(255,255,255,.14); background: rgba(19,17,23,.95); backdrop-filter: blur(40px) saturate(160%); color: var(--s-ink); box-shadow: 0 60px 140px -40px #000; overflow: auto; font-family: var(--au-sans, system-ui); }
.sheet[open] { animation: pop .32s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.sheet::backdrop { background: rgba(5,5,6,.62); backdrop-filter: blur(10px); }
.sheet-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 26px 10px; }
.sheet-top .eyebrow { margin: 0 0 6px; font: 600 11px/1.3 var(--au-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--s-gold); }
.sheet .sheet-top h2 { font: 300 32px/1.05 var(--au-sans); letter-spacing: -.04em; margin: 0; color: var(--s-ink); }
.sheet-body { padding: 6px 26px 20px; }
.sheet-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 26px 24px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.iconbtn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); color: #fff; cursor: pointer; }
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 400; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); }
.toast { padding: 14px 18px; border-radius: 18px; background: rgba(30,27,36,.96); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 20px 50px -20px #000; font: 500 14px var(--au-sans, system-ui); color: var(--s-ink); transition: opacity .4s, transform .4s; }
.toast-bad { border-color: rgba(255,157,157,.5); color: #ffd0d0; }
.toast.out { opacity: 0; transform: translateY(8px); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .s-steps, .s-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-plans { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --s-banner: 58px; }
  .demo-banner { align-items: flex-start; padding: 8px 16px; font-size: 12px; }
  #demo-state { display: none; }
  .s-bar { height: 60px; padding: 0 16px; gap: 8px; }
  .s-hide-s { display: none; }
  .s-navlink { padding: 8px 9px; font-size: 13px; }
  .s-page { padding: 28px 16px 120px; gap: 44px; }
  .s-steps, .count-tiles { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .s-pad { padding: 20px; }
  .stepper .lbl { display: none; }
  .stepper .dot { width: 26px; height: 26px; font-size: 11.5px; }
  .stepper li:not(:first-child)::before { top: 13px; right: calc(50% + 14px); left: calc(-50% + 14px); }
  .wizard-foot { position: sticky; bottom: 14px; padding: 12px; border-radius: 20px; background: rgba(19,17,23,.92); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.1); }
  .s-cover { height: 46vh; }
  .sheet-actions .au-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
/* letters with tails (g, j, p, y) must not be cut under the big light headings */
.s-root.ax.au .ax-h2, .s-root.ax.au .au-h1, .s-root .wizard h1 { line-height: 1.14; padding-bottom: .08em; overflow: visible; }

/* ---------- credits ---------- */
.s-stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; margin: 0 auto; width: 100%; }
.s-credit-coin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #140d04; font-size: 15px; background: radial-gradient(circle at 35% 30%, #fff3db, var(--s-gold) 55%, #a8743a); box-shadow: 0 6px 20px -6px rgba(242,194,123,.8); }
.s-credit-line { color: var(--s-gold); }
.s-credit-tag { flex: none; padding: 6px 12px; border-radius: 999px; background: rgba(242,194,123,.12); color: var(--s-gold); font: 600 13px var(--au-sans); white-space: nowrap; }
.s-services { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.s-services li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); }
.s-services p { margin: 4px 0 0; }
.s-table .s-num { text-align: right; font-weight: 600; }
.s-stats.s-stats3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .s-stats.s-stats3 { grid-template-columns: 1fr 1fr; } }
.s-per { font-weight: 400; color: var(--s-mute); font-size: 13px; }
.s-testtag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font: 600 10.5px var(--au-sans); letter-spacing: .06em; text-transform: uppercase; color: #f3e2c4; background: rgba(242,194,123,.14); vertical-align: middle; }
/* ---------- owner admin ---------- */
.s-root .s-page.s-admin { row-gap: 56px !important; }
.s-adm-sec { display: grid; gap: 16px; }
.s-adm-head { text-align: center; display: grid; gap: 4px; }
.s-adm-head .s-h3 { margin: 0; font: 300 30px/1.1 var(--au-sans); letter-spacing: -.035em; }
.s-adm-head p { margin: 0; }
.s-h4 { font: 600 13px var(--au-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--s-gold); margin: 0 0 12px; }
.s-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.s-stat.pos b { color: var(--s-ok); } .s-stat.neg b { color: var(--s-bad); }
.s-money { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.s-money th, .s-money td { padding: 11px 0; border-bottom: 1px solid var(--s-line); font-weight: 400; text-align: left; }
.s-money td { text-align: right; font-variant-numeric: tabular-nums; }
.s-money tr.sum th, .s-money tr.sum td { border-bottom: 0; font-weight: 600; color: var(--s-ink); padding-top: 14px; }
.s-chart-svg svg { display: block; width: 100%; height: 170px; }
.s-legend { display: flex; justify-content: center; gap: 20px; margin-top: 10px; font-size: 13px; color: var(--s-mute); }
.s-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.s-bars { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.s-bar-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; margin-bottom: 6px; }
.s-bar-track { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.s-bar-track span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ff9d9d, #f2c27b); }
.s-quotes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.s-quotes li { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.04); }
.s-quotes p { margin: 0 0 6px; font-family: var(--au-serif); font-style: italic; font-size: 16px; color: #ece6dd; }
.s-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.s-seg button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--s-line); background: rgba(255,255,255,.03); color: var(--s-mute); font: 500 13.5px var(--au-sans); cursor: pointer; }
.s-seg button.on { color: var(--s-ink); border-color: rgba(242,194,123,.5); background: rgba(242,194,123,.08); }
.s-seg i { font-style: normal; font-size: 12px; padding: 1px 7px; border-radius: 99px; background: rgba(255,255,255,.08); }
.s-table td.s-num, .s-table .s-num { text-align: right; font-variant-numeric: tabular-nums; }
.s-table .pos { color: var(--s-ok); } .s-table .neg { color: var(--s-bad); }
.s-table .s-testtag { margin-left: 6px; }
@media (max-width: 760px) { .s-split { grid-template-columns: 1fr; } .s-adm-head .s-h3 { font-size: 26px; } }

/* Review the exact selected cast; environment image remains explicitly pending. */
.world-place-preview { display:grid;grid-template-columns:minmax(180px,300px) minmax(0,1fr);gap:24px;align-items:center; }
.world-cast-preview { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px; }
.world-setup-preview figure { margin:0 0 16px; }
.world-setup-preview h3 { margin:12px 0; }
@media(max-width:600px){.world-place-preview{grid-template-columns:1fr;}.world-place-preview .art{max-width:260px;margin-inline:auto;}}
