@font-face { font-family: 'Inter'; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/fonts/sora.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #08090f;
  --bg2: #0d0f18;
  --glass: rgba(255, 255, 255, .045);
  --glass2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --text: #f3f4fa;
  --muted: #9aa0b8;
  --faint: #6c7290;
  --violet: #8574ff;
  --magenta: #d05cf0;
  --coral: #ff7a93;
  --green: #4ade9f;
  --amber: #fbbf5a;
  --red: #ff7185;
  --grad: linear-gradient(120deg, #6d5dfc 0%, #c94bea 55%, #ff6a88 100%);
  --radius: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .8);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 14.5px/1.55 'Inter', 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss03';
}
/* Luz ambiental fija detrás de todo el producto. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(109, 93, 252, .22), transparent 65%),
    radial-gradient(800px 560px at 92% 4%, rgba(201, 75, 234, .15), transparent 62%),
    radial-gradient(900px 620px at 70% 108%, rgba(255, 106, 136, .11), transparent 60%);
}
a { color: #b6adff; text-decoration: none; }
a:hover { color: #d7d2ff; }
h1, h2, h3 { font-family: 'Sora', 'Inter', sans-serif; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.hidden { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
::selection { background: rgba(133, 116, 255, .4); }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.sm { width: 15px; height: 15px; }

/* Marca */
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); font-family: 'Sora', sans-serif; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 6px 20px -6px rgba(201, 75, 234, .8); }
.brand b { font-weight: 300; color: var(--muted); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 15px;
  border: 1px solid var(--line); border-radius: 11px; background: var(--glass); color: var(--text);
  font-weight: 500; font-size: 14px; white-space: nowrap; transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s, opacity .18s;
}
.btn:hover { background: var(--glass2); border-color: var(--line2); color: var(--text); }
.btn:active { transform: scale(.975); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { border: 0; background: var(--grad); color: #fff; font-weight: 600; box-shadow: 0 10px 28px -12px rgba(201, 75, 234, .9); }
.btn.primary:hover { box-shadow: 0 14px 34px -10px rgba(201, 75, 234, 1); transform: translateY(-1px); }
.btn.danger { color: var(--red); border-color: rgba(255, 113, 133, .28); }
.btn.danger:hover { background: rgba(255, 113, 133, .12); border-color: rgba(255, 113, 133, .5); }
.btn.small { min-height: 32px; padding: 5px 11px; font-size: 13px; border-radius: 9px; }
.btn.iconOnly { padding: 0; width: 36px; min-height: 36px; }
.btn.iconOnly.small { width: 30px; min-height: 30px; }
.btn.block { width: 100%; }

/* Formularios */
label.field { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=number], select, textarea {
  display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px;
  background: rgba(0, 0, 0, .28); color: var(--text); transition: border-color .18s, box-shadow .18s;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(133, 116, 255, .2); }
select option { background: #151726; }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input[type=range] { width: 100%; margin-top: 8px; accent-color: var(--violet); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; color: var(--text); font-size: 14px; cursor: pointer; }
.switch + .switch { border-top: 1px solid rgba(255, 255, 255, .05); }
.switch input { appearance: none; position: relative; flex: none; width: 38px; height: 22px; margin: 0; border-radius: 99px; background: rgba(255, 255, 255, .13); transition: background .22s; cursor: pointer; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .22s var(--ease); }
.switch input:checked { background: linear-gradient(120deg, #6d5dfc, #c94bea); }
.switch input:checked::after { transform: translateX(16px); }
.check { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13.5px; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--violet); flex: none; }

/* Tarjetas de cristal */
.card {
  position: relative; min-width: 0; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .058), rgba(255, 255, 255, .026));
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), var(--shadow);
}
.cardHead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cardHead h2 { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.cardHead h2 .ic { color: #b6adff; }
.note { margin-top: 8px; color: var(--muted); font-size: 13px; }
.note.top0 { margin-top: 0; }
.err { color: #ffb3bf; font-size: 13px; margin-top: 8px; }
.row { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1; min-width: 130px; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }

/* Acceso */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.authSide { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 44px; border-right: 1px solid var(--line); background: url('/fondos/galaxia.svg') center / cover; }
.authSide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 15, .3), rgba(8, 9, 15, .84)); }
.authSide > * { position: relative; z-index: 1; }
.authSide h2 { max-width: 460px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; }
.authSide p { max-width: 430px; margin-top: 14px; color: #c8cbe0; font-size: 16px; }
.authMain { display: grid; place-items: center; padding: 28px 16px; }
.authCard { width: 100%; max-width: 400px; animation: rise .55s var(--ease); }
.authCard .brand { display: none; margin-bottom: 26px; }
.authCard h1 { font-size: 28px; }
.authCard .lead { margin: 8px 0 24px; color: var(--muted); }
.formError { margin: 0 0 14px; padding: 10px 13px; border-radius: 11px; border: 1px solid rgba(255, 113, 133, .3); background: rgba(255, 113, 133, .1); color: #ffc2cb; font-size: 13.5px; }
.authCard .btn.primary { min-height: 46px; margin-top: 6px; }
.authFoot { margin-top: 18px; color: var(--muted); font-size: 13.5px; text-align: center; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* Portada */
.land { max-width: 1160px; margin: 0 auto; padding: 22px 16px 70px; }
.landTop { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; padding: 70px 0 62px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--glass); color: #cfcaff; font-size: 12.5px; font-weight: 500; }
.hero h1 { margin: 20px 0 18px; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.03; letter-spacing: -.035em; animation: rise .7s var(--ease); }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { max-width: 540px; font-size: 18px; color: var(--muted); animation: rise .85s var(--ease); }
.heroBtns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; animation: rise 1s var(--ease); }
.heroBtns .btn { min-height: 48px; padding: 10px 22px; font-size: 15px; }
.phone { position: relative; justify-self: center; width: min(100%, 300px); aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden; border: 1px solid var(--line2); background: url('/fondos/synth.svg') center / cover; box-shadow: 0 50px 100px -30px rgba(109, 93, 252, .7), inset 0 0 0 6px rgba(0, 0, 0, .3); animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.phoneChat { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
.phoneMsg { padding: 9px 12px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(10, 8, 24, .55); backdrop-filter: blur(12px); font-size: 12.5px; color: #eceaff; }
.phoneMsg b { display: block; font-size: 11.5px; color: #ffb4d0; font-weight: 600; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.feature h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14px; }
.feature .tile { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(133, 116, 255, .16); color: #c9c2ff; }

/* Panel */
.shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px; padding: 20px 14px; border-right: 1px solid var(--line); background: rgba(10, 11, 18, .62); backdrop-filter: blur(24px); }
.side .brand { padding: 2px 6px; }
.nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.nav button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 40px; padding: 8px 11px; border: 0; border-radius: 11px; background: none; color: var(--muted); font-weight: 500; text-align: left; transition: color .16s, background .16s; }
.nav button:hover { color: var(--text); background: var(--glass); }
.nav button.on { color: #fff; background: linear-gradient(120deg, rgba(109, 93, 252, .3), rgba(201, 75, 234, .17)); box-shadow: inset 0 0 0 1px rgba(133, 116, 255, .3); }
.nav button.on .ic { color: #c9c2ff; }
.sideFoot { padding-top: 14px; border-top: 1px solid var(--line); }
.who { margin-bottom: 8px; padding: 0 6px; color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.mainArea { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 13px 24px; border-bottom: 1px solid var(--line); background: rgba(8, 9, 15, .72); backdrop-filter: blur(20px); }
.topbar h1 { font-size: 19px; }
.topbar .spacer { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--glass); color: var(--muted); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.pill.ok { color: #a9f3d0; border-color: rgba(74, 222, 159, .3); }
.pill.ok::before { background: var(--green); box-shadow: 0 0 9px var(--green); }
.pill.warn { color: #fcdca0; border-color: rgba(251, 191, 90, .32); }
.pill.warn::before { background: var(--amber); }
.pill.bad { color: #ffc2cb; border-color: rgba(255, 113, 133, .35); }
.pill.bad::before { background: var(--red); }
.work { display: grid; grid-template-columns: minmax(0, 1fr) 316px; gap: 20px; padding: 20px 24px 40px; align-items: start; }
.view { display: none; flex-direction: column; gap: 16px; min-width: 0; }
.view.on { display: flex; animation: viewIn .35s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; align-items: start; }

.stagePanel { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 10px; }
.previewFrame { position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--line2); box-shadow: 0 30px 70px -30px rgba(109, 93, 252, .6); }
.preview { display: block; width: 100%; aspect-ratio: 9 / 16; max-height: calc(100vh - 225px); border: 0; background-color: #14162a; background-image: linear-gradient(45deg, #1b1e36 25%, transparent 25%, transparent 75%, #1b1e36 75%), linear-gradient(45deg, #1b1e36 25%, transparent 25%, transparent 75%, #1b1e36 75%); background-size: 22px 22px; background-position: 0 0, 11px 11px; }
.stageBtns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.stageBtns .btn { padding: 0; min-height: 36px; }
.stageBtns .wide { grid-column: 1 / -1; padding: 0 10px; }

.overlayUrl { padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0, 0, 0, .3); font: 12.5px/1.5 Consolas, 'Cascadia Mono', monospace; color: #cfd2e8; overflow-wrap: anywhere; user-select: all; }
ol.steps { margin: 10px 0 0; padding-left: 19px; color: var(--muted); font-size: 13px; }
ol.steps li + li { margin-top: 4px; }
details summary { cursor: pointer; color: #c9c2ff; font-size: 13.5px; }

.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 14px 15px; border: 1px solid var(--line); border-radius: 15px; background: var(--glass); min-width: 0; }
.stat span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.stat b { display: block; margin-top: 5px; font: 600 23px/1.1 'Sora', sans-serif; letter-spacing: -.02em; }

.feed { height: 352px; overflow-y: auto; overflow-wrap: anywhere; display: flex; flex-direction: column; gap: 6px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.feed .empty { margin: auto; color: var(--faint); text-align: center; }
.msg { padding: 6px 10px; border-radius: 10px; font-size: 13.5px; animation: viewIn .25s var(--ease); }
.msg b { font-weight: 600; }
.msg.comment b { color: #a9b7ff; }
.msg.gift { background: rgba(251, 191, 90, .1); }
.msg.gift b { color: var(--amber); }
.msg.follow b, .msg.share b { color: var(--green); }
.msg.join { color: var(--faint); font-size: 12.5px; }
.msg.say { background: rgba(201, 75, 234, .12); }
.msg.say b { color: #f0b3ff; }

.list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.list:empty { display: none; }
.list li { display: flex; align-items: center; gap: 7px; padding: 6px 8px 6px 11px; border: 1px solid var(--line); border-radius: 11px; background: rgba(0, 0, 0, .18); transition: border-color .18s; }
.list li.now { border-color: rgba(133, 116, 255, .7); background: rgba(133, 116, 255, .1); }
.list .title { flex: 1; min-width: 0; padding: 2px; overflow: hidden; border: 0; background: none; color: var(--text); font-weight: 500; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
button.title:hover { color: #c9c2ff; }

.nowPlaying { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress { height: 5px; margin: 9px 0 12px; border-radius: 3px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: var(--grad); transition: width .4s linear; }

/* Galería de fondos */
.bgGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.bgCard { position: relative; aspect-ratio: 9 / 14; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #12142a center / cover; color: #fff; transition: transform .22s var(--ease), border-color .2s, box-shadow .2s; }
.bgCard:hover { transform: translateY(-3px); border-color: var(--line2); }
.bgCard.on { border-color: transparent; box-shadow: 0 0 0 2px var(--violet), 0 14px 30px -12px rgba(133, 116, 255, .9); }
.bgCard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bgCard > span.name { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 9px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); font-size: 12px; font-weight: 500; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bgCard.empty { display: grid; place-items: center; align-content: center; gap: 7px; padding: 8px; background: rgba(0, 0, 0, .22); color: var(--muted); font-size: 12.5px; text-align: center; cursor: pointer; }
.bgCard.checker { background-color: #1a1c33; background-image: linear-gradient(45deg, #262a4b 25%, transparent 25%, transparent 75%, #262a4b 75%), linear-gradient(45deg, #262a4b 25%, transparent 25%, transparent 75%, #262a4b 75%); background-size: 18px 18px; background-position: 0 0, 9px 9px; }
.bgCard.lagoon { background: linear-gradient(180deg, #27c4d8, #0c5f97 72%, #e2b871 73%); }
.bgDel { position: absolute; top: 6px; right: 6px; display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 8px; background: rgba(0, 0, 0, .6); color: #fff; }

/* Muestra de voz y personaje */
.stateRow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(0, 0, 0, .2); }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 22px 14px; border: 1px dashed var(--line2); border-radius: 14px; background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 13px; text-align: center; cursor: pointer; transition: border-color .18s, background .18s; }
.dropzone:hover { border-color: var(--violet); background: rgba(133, 116, 255, .07); }
.dropzone .ic { width: 24px; height: 24px; color: #c9c2ff; }
audio { width: 100%; height: 38px; margin-top: 10px; }
.recBar { height: 4px; margin-top: 10px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.recBar i { display: block; height: 100%; width: 0; background: var(--coral); }
.btn.rec { color: #ffc2cb; border-color: rgba(255, 113, 133, .6); background: rgba(255, 113, 133, .13); }
.tokenBox { margin-top: 10px; }
.charThumb { display: flex; align-items: center; gap: 12px; padding: 10px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 13px; background: rgba(0, 0, 0, .2); }
.charThumb .pic { width: 58px; height: 58px; flex: none; border-radius: 12px; background: #15172c center / contain no-repeat; }

dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 22px; overflow: auto; border: 1px solid var(--line2); border-radius: 22px; background: #11131f; color: var(--text); box-shadow: 0 40px 100px rgba(0, 0, 0, .7); }
dialog::backdrop { background: rgba(4, 5, 10, .7); backdrop-filter: blur(6px); }
dialog h2 { font-size: 19px; margin-bottom: 6px; }
.rigStage { position: relative; width: min(100%, 340px); max-height: 52dvh; margin: 14px auto; border-radius: 14px; overflow: hidden; background-color: #1a1c33; background-image: linear-gradient(45deg, #262a4b 25%, transparent 25%, transparent 75%, #262a4b 75%), linear-gradient(45deg, #262a4b 25%, transparent 25%, transparent 75%, #262a4b 75%); background-size: 20px 20px; background-position: 0 0, 10px 10px; }
.rigStage canvas { display: block; width: 100%; height: 100%; }
.rigBox { position: absolute; border: 2px solid #fff; border-radius: 9px; box-shadow: 0 0 0 2px var(--violet), 0 0 0 999px rgba(5, 6, 14, .35); cursor: move; touch-action: none; }
.rigBox.testing { opacity: 0; }
#rigHandle { position: absolute; right: -8px; bottom: -8px; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 6px; background: var(--violet); cursor: nwse-resize; }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 50; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 11px 17px; border: 1px solid var(--line2); border-radius: 13px; background: rgba(24, 26, 42, .92); backdrop-filter: blur(16px); box-shadow: var(--shadow); animation: rise .28s var(--ease); }
.toast.bad { border-color: rgba(255, 113, 133, .5); color: #ffc2cb; }

@media (max-width: 1240px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .work { grid-template-columns: minmax(0, 1fr); }
  .stagePanel { position: static; order: -1; max-width: 300px; width: 100%; margin: 0 auto; }
  .preview { max-height: none; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: sticky; top: 0; z-index: 20; height: auto; flex-direction: row; align-items: center; gap: 10px; padding: 9px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side .brand span { display: none; }
  .nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .nav button { flex: none; width: auto; font-size: 13px; }
  .sideFoot { padding: 0; border: 0; }
  .sideFoot .who, .sideFoot .btn span { display: none; }
  .topbar { position: static; padding: 12px 16px; }
  .stagePanel { max-width: 220px; }
  .work { padding: 14px 16px 32px; }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .authSide { display: none; }
  .authCard .brand { display: inline-flex; }
  .hero { grid-template-columns: minmax(0, 1fr); padding: 44px 0; gap: 36px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
