/* FX Suite para Resolume — v2 "mesa de operação" */
:root {
  --bg: #05070a; --panel: #0c1016; --panel2: #10151d; --line: #18202b; --line2: #243040;
  --tx: #eef2f7; --tx2: #9aa6b5; --tx3: #6b7686; --sig: #36f0c2; --sig2: #9cf7df; --amb: #ffb13d; --amb2: #ffd08a;
  --fd: "Archivo", "Arial Black", system-ui, sans-serif;
  --fb: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fm: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 22px; --r2: 14px; --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--tx); font: 400 17px/1.6 var(--fb); overflow-x: hidden;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: -1px -1px; background-attachment: fixed; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(1200px 700px at 50% -10%, rgba(54, 240, 194, .10), transparent 60%), linear-gradient(180deg, rgba(5, 7, 10, .55), rgba(5, 7, 10, .92) 40%, var(--bg)); }
img, canvas { display: block; max-width: 100%; }
a { color: var(--sig); text-underline-offset: 3px; }
a:hover { color: var(--sig2); }
:focus-visible { outline: 2px solid var(--sig); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sig); color: #000; padding: 8px 14px; border-radius: 999px; z-index: 99; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--fd); font-stretch: 125%; font-weight: 900; line-height: .98; letter-spacing: -0.02em; margin: 0 0 .45em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 5vw, 64px); }
h3 { font-size: 20px; font-weight: 800; letter-spacing: 0; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--tx2); max-width: 62ch; }
.mono { font-family: var(--fm); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--fm); letter-spacing: .14em; text-transform: uppercase; color: var(--sig);
  border: 1px solid rgba(54, 240, 194, .35); background: rgba(54, 240, 194, .06); padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 12px var(--sig); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--amb); color: #1a1003; font: 700 16px/1 var(--fb);
  padding: 16px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 8px 30px rgba(255, 177, 61, .25); }
.btn:hover { background: var(--amb2); color: #000; transform: translateY(-1px); }
.btn.ghost { background: rgba(255, 255, 255, .04); color: var(--tx); border: 1px solid var(--line2); box-shadow: none; }
.btn.ghost:hover { border-color: var(--sig); color: var(--tx); }
.btn.sm { padding: 10px 18px; font-size: 14px; }

/* ---------- HUD (header flutuante) ---------- */
.hud { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 40; width: min(1280px, 100% - 24px);
  display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(10, 13, 18, .78); border: 1px solid var(--line2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--tx); text-decoration: none; font: 900 17px/1 var(--fd); font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.logo small { font: 500 11px/1 var(--fm); color: var(--tx3); text-transform: none; letter-spacing: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--tx2); text-decoration: none; font-size: 14px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { color: var(--tx); background: rgba(255, 255, 255, .05); }
.meters { display: flex; gap: 6px; font: 600 11px/1 var(--fm); color: var(--tx2); }
.meter { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); white-space: nowrap; }
.meter b { color: var(--tx); font-weight: 600; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d5e; box-shadow: 0 0 10px #ff4d5e; animation: blink 1s steps(2) infinite; }
.beat { width: 7px; height: 7px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 10px var(--sig); animation: beat .5s ease-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes beat { 0% { transform: scale(1.5); opacity: 1; } 100% { transform: scale(.8); opacity: .35; } }
.lang { font: 600 12px/1 var(--fm); color: var(--tx2); text-decoration: none; padding: 9px 11px; border-radius: 999px; border: 1px solid var(--line2); }

/* ---------- Palco (hero) ---------- */
.stage { position: relative; min-height: 100svh; padding: 100px 0 36px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.stage-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.stage h1 { font-size: clamp(34px, 4.9vw, 74px); margin: 0; }
.stage h1 em { font-style: normal; color: var(--sig); text-shadow: 0 0 40px rgba(54, 240, 194, .35); }
.stage-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.wall-wrap { position: relative; perspective: 1600px; }
.wall { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 7;
  border: 1px solid var(--line2); transform: rotateX(7deg); transform-origin: 50% 100%;
  box-shadow: 0 40px 120px -30px rgba(54, 240, 194, .35), 0 0 0 6px rgba(255, 255, 255, .02); animation: poweron 1.2s cubic-bezier(.2, .8, .2, 1) both .15s; }
@keyframes poweron { 0% { clip-path: inset(49.5% 0 49.5% 0 round 22px); filter: brightness(3); } 45% { clip-path: inset(49.5% 0 49.5% 0 round 22px); } 100% { clip-path: inset(0 0 0 0 round 22px); filter: none; } }
.wall canvas { width: 100%; height: 100%; object-fit: cover; }
.wall::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .35) 0 1px, transparent 1px calc(100% / 16)), repeating-linear-gradient(0deg, rgba(0, 0, 0, .35) 0 1px, transparent 1px calc(100% / 7)); }
.reflect { height: 90px; margin-top: 6px; border-radius: var(--r); overflow: hidden; opacity: .35; filter: blur(3px);
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); transform: rotateX(7deg); }
.reflect canvas { width: 100%; height: 100%; }
.tag { position: absolute; z-index: 2; font: 600 11px/1 var(--fm); color: var(--tx); background: rgba(5, 7, 10, .72); border: 1px solid var(--line2);
  padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(8px); display: flex; gap: 8px; align-items: center; }
.tag.tl { top: 14px; left: 14px; } .tag.tr { top: 14px; right: 14px; }
.tag b { color: var(--sig); font-weight: 600; }
.params { position: absolute; z-index: 2; right: 14px; bottom: 14px; display: grid; gap: 6px; width: min(260px, 40%);
  background: rgba(5, 7, 10, .72); border: 1px solid var(--line2); border-radius: 16px; padding: 12px 14px; backdrop-filter: blur(8px); }
.prm { display: grid; grid-template-columns: 78px 1fr 34px; gap: 8px; align-items: center; font: 500 10.5px/1 var(--fm); color: var(--tx2); }
.prm i { display: block; height: 5px; border-radius: 99px; background: var(--line2); overflow: hidden; position: relative; }
.prm i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v, .5) * 100%); background: var(--sig); border-radius: 99px; transition: width .25s; }
.prm span:last-child { color: var(--tx); text-align: right; }

.deck { margin-top: 18px; }
.deck-label { font: 600 11px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--tx3); margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; }
.deck-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.clip { position: relative; border: 1px solid var(--line2); background: var(--panel); border-radius: var(--r2); padding: 0; cursor: pointer; overflow: hidden; color: var(--tx); text-align: left; transition: border-color .2s, transform .2s; }
.clip:hover { transform: translateY(-2px); border-color: var(--tx3); }
.clip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .8; }
.clip span { display: block; padding: 8px 10px 10px; font: 600 11px/1.2 var(--fm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clip::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--p, 0) * 100%); background: var(--sig); }
.clip[aria-pressed=true] { border-color: var(--sig); box-shadow: 0 0 0 1px var(--sig), 0 10px 30px -10px rgba(54, 240, 194, .5); }
.clip[aria-pressed=true] img { opacity: 1; }

/* ---------- Seções ---------- */
.sec { padding: 120px 0; position: relative; }
.sec-head { max-width: 820px; margin-bottom: 40px; }

/* Antes / depois */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab { border: 1px solid var(--line2); background: var(--panel); color: var(--tx2); padding: 11px 18px; border-radius: 999px; font: 600 13px/1 var(--fm); cursor: pointer; }
.tab[aria-selected=true] { background: var(--sig); color: #03110c; border-color: var(--sig); }
.cmp { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 7; background: #000; border: 1px solid var(--line2); --x: 50%; user-select: none; touch-action: pan-y; }
.cmp canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp .after { clip-path: inset(0 0 0 var(--x)); }
.cmp .bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; background: var(--sig); box-shadow: 0 0 18px var(--sig); pointer-events: none; }
.cmp .knob { position: absolute; top: 50%; left: var(--x); transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--sig); color: #03110c;
  display: grid; place-items: center; font: 700 16px/1 var(--fm); pointer-events: none; box-shadow: 0 0 30px rgba(54, 240, 194, .6); }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp .lbl { position: absolute; top: 14px; z-index: 2; font: 700 11px/1 var(--fm); letter-spacing: .12em; padding: 8px 12px; border-radius: 999px; background: rgba(5, 7, 10, .75); border: 1px solid var(--line2); pointer-events: none; }
.cmp .lbl.b { left: 14px; color: var(--tx2); } .cmp .lbl.a { right: 14px; color: var(--sig); }
.cmp-note { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-top: 20px; padding: 20px 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.cmp-note p { margin: 0; color: var(--tx2); }

/* Culto inteiro (sticky) */
.svc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; }
.svc-screen { position: sticky; top: 100px; align-self: start; }
.svc-screen .wall { transform: none; aspect-ratio: 16 / 9; animation: none; }
.svc-now { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 600 11px/1 var(--fm); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line2); background: var(--panel); color: var(--tx2); }
.chip.on { color: #03110c; background: var(--sig); border-color: var(--sig); }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .3; transition: opacity .4s; }
.step.on { opacity: 1; }
.step time { font: 600 13px/1 var(--fm); color: var(--sig); margin-bottom: 12px; }
.step h3 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 900; }
.step p { color: var(--tx2); font-size: 18px; max-width: 40ch; }
.step .chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* Números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); padding: 26px 24px; }
.stat b { display: block; font: 900 clamp(38px, 5vw, 60px)/1 var(--fd); font-stretch: 125%; color: var(--tx); }
.stat span { font: 500 13px/1.4 var(--fm); color: var(--tx2); }

/* Catálogo */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.tile { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: border-color .2s, transform .2s; }
.tile:hover { border-color: var(--sig); transform: translateY(-2px); }
.tile canvas { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.tile .fb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tile-b { padding: 14px 16px 16px; }
.tile-b h4 { margin: 0 0 6px; font: 800 16px/1.1 var(--fd); font-stretch: 115%; text-transform: uppercase; }
.tile-b p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--tx2); }
.tile-cat { position: absolute; top: 10px; left: 10px; font: 600 10px/1 var(--fm); padding: 6px 9px; border-radius: 999px; background: rgba(5, 7, 10, .75); color: var(--sig); border: 1px solid var(--line2); }
.tile[hidden] { display: none; }

/* Laboratório */
.lab { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.lab-view { position: sticky; top: 100px; }
.lab-view canvas { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); border: 1px solid var(--line2); }
.lab-panel { background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r); padding: 18px; }
.lab-head { display: flex; gap: 10px; margin-bottom: 12px; }
.lab-head select { flex: 1; }
select { background: var(--panel2); color: var(--tx); border: 1px solid var(--line2); border-radius: 12px; padding: 11px 12px; font: 500 15px var(--fb); accent-color: var(--sig); }
#lab-desc { color: var(--tx2); font-size: 14.5px; }
.ctl { display: grid; grid-template-columns: 112px 1fr 48px; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font: 500 12px/1.2 var(--fm); }
.ctl-n { color: var(--tx2); overflow: hidden; text-overflow: ellipsis; }
.ctl output { color: var(--sig); text-align: right; }
.ctl select { padding: 6px 8px; font: 500 12px var(--fm); border-radius: 10px; }
.ctl input[type=range] { width: 100%; accent-color: var(--sig); }
.ctl input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--sig); justify-self: start; }

/* Oferta */
.offer { position: relative; border-radius: 28px; padding: 2px; background: conic-gradient(from var(--a, 0deg), var(--sig), transparent 25%, var(--amb) 50%, transparent 75%, var(--sig)); animation: spin 8s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.offer-in { border-radius: 26px; background: var(--panel); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: clamp(24px, 4vw, 48px); align-items: center; }
.price { font: 900 clamp(56px, 8vw, 104px)/1 var(--fd); font-stretch: 125%; color: var(--amb); }
.price s { font-size: .32em; color: var(--tx3); margin-right: 14px; vertical-align: middle; }
.offer ul { list-style: none; padding: 0; margin: 0 0 24px; }
.offer li { padding: 11px 0 11px 30px; border-top: 1px solid var(--line); position: relative; }
.offer li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--sig); box-shadow: 0 0 10px var(--sig); }
.small { font-size: 14px; color: var(--tx2); }

/* FAQ / autor / rodapé */
.faq details { border: 1px solid var(--line); background: var(--panel); border-radius: 18px; padding: 18px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--fm); color: var(--sig); }
details[open] summary::after { content: "−"; }
details p { color: var(--tx2); margin: 12px 0 0; }
.who { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 4vw, 44px); }
.ftr { border-top: 1px solid var(--line); padding: 40px 0 120px; color: var(--tx2); font-size: 14px; }

/* Docs */
.docs { display: grid; grid-template-columns: 230px 1fr; gap: 48px; padding: 120px 0 100px; }
.toc { position: sticky; top: 100px; align-self: start; font: 500 13px/2 var(--fm); background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; max-height: calc(100vh - 130px); overflow: auto; }
.toc a { color: var(--tx2); text-decoration: none; display: block; }
.toc a:hover { color: var(--sig); }
.doc-sec { padding: 28px; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); scroll-margin-top: 100px; }
.doc-sec h2 { font-size: clamp(24px, 3.4vw, 36px); }
.ptab { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 14px; }
.ptab th, .ptab td { text-align: left; padding: 8px 12px 8px 0; border-top: 1px solid var(--line); vertical-align: top; }
.ptab th { font: 600 11px/1.2 var(--fm); color: var(--tx3); text-transform: uppercase; letter-spacing: .08em; }
.ptab td:first-child { font-family: var(--fm); color: var(--sig); white-space: nowrap; }
.tbl-scroll { overflow-x: auto; }
ol.steps { padding-left: 1.2em; } ol.steps li { margin-bottom: .6em; }
code { font-family: var(--fm); font-size: .9em; background: var(--panel2); padding: 2px 7px; border-radius: 6px; }
.eyebrow { font: 600 12px/1 var(--fm); letter-spacing: .12em; text-transform: uppercase; color: var(--sig); display: block; margin-bottom: 14px; }

/* Sem WebGL */
.fb { display: none; object-fit: cover; }
.no-webgl canvas { display: none; }
.no-webgl .fb { display: block; }

/* Celular */
.mcta { display: none; }
@media (max-width: 1100px) { .meters .fps { display: none; } .deck-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 960px) {
  .stage-head, .svc, .lab, .offer-in, .who, .docs, .cmp-note { grid-template-columns: 1fr; }
  .svc-screen { top: 84px; z-index: 3; }
  .lab-view, .toc { position: static; }
  .toc { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .meters { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; background-size: 40px 40px; }
  .hud { gap: 8px; padding-left: 14px; }
  .logo small, .meters .bpm, .hud .btn { display: none; }
  .stage { padding-top: 96px; }
  .wall, .cmp { aspect-ratio: 16 / 10; }
  .wall { transform: none; }
  .reflect { display: none; }
  .params, .tag.tr { display: none; }
  .deck-row { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .clip span { font-size: 10px; padding: 6px 7px 8px; }
  .sec { padding: 80px 0; }
  .step { min-height: 56vh; }
  .ctl { grid-template-columns: 96px 1fr 44px; }
  .mcta { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; gap: 12px; align-items: center; justify-content: space-between;
    padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(10, 13, 18, .92); border: 1px solid var(--line2); backdrop-filter: blur(12px); }
  .mcta span { font: 600 12px/1.2 var(--fm); color: var(--tx2); }
  .mcta b { color: var(--amb); font-size: 15px; display: block; }
}
.docs > * { min-width: 0; }
.docs h1 { overflow-wrap: anywhere; }
@media (max-width: 640px) { .docs h1 { font-size: 30px !important; } h2 { overflow-wrap: anywhere; } }

/* ---------- Loja ---------- */
.tile-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.tile-buy span { font: 700 15px/1 var(--fm); color: var(--amb); }
.add { font: 700 12px/1 var(--fm); color: var(--tx); background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); padding: 9px 12px; border-radius: 999px; cursor: pointer; }
.add:hover { border-color: var(--sig); }
.add.on { background: var(--sig); color: #03110c; border-color: var(--sig); }
.cartbtn { cursor: pointer; background: transparent; display: inline-flex; gap: 6px; align-items: center; }
.cartbtn b { color: var(--sig); }
.cart { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.cart.open { opacity: 1; pointer-events: auto; }
.cart-in { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(420px, 100% - 24px); background: var(--panel); border: 1px solid var(--line2); border-radius: var(--r);
  padding: 22px; display: flex; flex-direction: column; gap: 14px; overflow: auto; transform: translateX(30px); transition: transform .25s; }
.cart.open .cart-in { transform: none; }
.cart-in header { display: flex; justify-content: space-between; align-items: center; }
.cart-in h3 { margin: 0; font-size: 22px; }
#cart-close { background: none; border: 1px solid var(--line2); color: var(--tx); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; }
#cart-items { list-style: none; margin: 0; padding: 0; }
#cart-items li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; }
#cart-items li.empty { display: block; color: var(--tx2); font-size: 14px; }
#cart-items b { font: 600 13px/1 var(--fm); color: var(--tx2); }
#cart-items button { background: none; border: 0; color: var(--tx3); cursor: pointer; font-size: 14px; }
#cart-upsell:empty { display: none; }
#cart-upsell { background: rgba(54, 240, 194, .07); border: 1px dashed rgba(54, 240, 194, .45); border-radius: 16px; padding: 14px; }
#cart-upsell p { margin: 0 0 10px; font-size: 14px; color: var(--sig2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line2); padding-top: 14px; }
.cart-total b { font: 900 30px/1 var(--fd); font-stretch: 125%; color: var(--amb); }
.cart-in label { font-size: 13px; color: var(--tx2); display: grid; gap: 6px; }
.cart-in input, .resend input { background: var(--panel2); border: 1px solid var(--line2); color: var(--tx); border-radius: 12px; padding: 13px 14px; font: 500 16px var(--fb); }
.cart-in input:focus, .resend input:focus { outline: 2px solid var(--sig); outline-offset: 1px; }
#cart-pay:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.err { color: #ff8a8a; min-height: 1em; margin: 0; }
body.cart-lock { overflow: hidden; }
.offer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: stretch; }
.single-card { border-radius: 28px; border: 1px solid var(--line2); background: var(--panel); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.single-card .price { font-size: clamp(44px, 6vw, 72px); color: var(--tx); }
.page { padding: 130px 0 100px; max-width: 760px; }
.page h1 { font-size: clamp(30px, 5vw, 56px); }
.page .card { border-radius: var(--r); border: 1px solid var(--line2); background: var(--panel); padding: clamp(20px, 4vw, 36px); margin-top: 20px; }
.page p, .page li { color: var(--tx2); }
.dl { list-style: none; padding: 0; display: grid; gap: 10px; margin: 16px 0; }
.dl .btn { width: 100%; justify-content: flex-start; }
.ok { color: var(--sig) !important; font-weight: 600; font-size: 18px; }
.wait { display: flex; gap: 12px; align-items: center; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line2); border-top-color: var(--sig); animation: rot 0.8s linear infinite; flex: none; }
@keyframes rot { to { transform: rotate(360deg); } }
.resend { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.resend input { flex: 1 1 240px; }
.legal h2 { font-size: 22px; margin-top: 30px; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cartbtn span { display: none; } }

.offer-grid .offer-in { grid-template-columns: 1fr; gap: 20px; }
#lab-add.on { background: var(--sig); color: #03110c; box-shadow: none; }

.hud .btn, .hud .lang { white-space: nowrap; }
@media (max-width: 1400px) { .meters .fps { display: none; } }
@media (max-width: 1180px) { .meters .bpm { display: none; } }

.pending-bar { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 12px;
  width: min(560px, 100% - 24px); padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(10, 13, 18, .95); border: 1px solid var(--line2); backdrop-filter: blur(12px); font-size: 14px; }
.pending-bar span { flex: 1; } .pending-bar.ok { border-color: var(--sig); }
.pending-bar button { background: none; border: 0; color: var(--tx3); cursor: pointer; font-size: 14px; }
@media (max-width: 640px) { .pending-bar { bottom: calc(84px + env(safe-area-inset-bottom)); border-radius: 22px; } }
