:root {
  --cream: #F2EEE6;
  --paper: #FBF8F2;
  --ink: #0A0A0B;
  --ink2: #17171B;
  --red: #FF2E12;
  --redd: #C21A00;
  --cobalt: #1428FF;
  --line: rgba(10, 10, 11, .16);
  --muted: rgba(10, 10, 11, .72);
  --display: "Anybody", "Arial Black", sans-serif;
  --body: "Schibsted Grotesk", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, Consolas, monospace;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--cream); -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); font: 450 16.5px/1.45 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
.mono { font: 500 12.5px/1.4 var(--mono); letter-spacing: .03em; text-transform: uppercase; }

/* ---------- estrutura ---------- */
.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; background: var(--ink); color: var(--cream); }
.brand { display: flex; align-items: center; gap: 9px; padding: 0 8px; font: 800 20px/1 var(--display); font-variation-settings: "wdth" 110; letter-spacing: -.02em; }
.brand svg { width: 28px; height: 28px; }
.menu { display: grid; gap: 3px; }
.menu a { display: flex; align-items: center; gap: 11px; padding: 11px 10px; border-radius: 7px; font-weight: 650; transition: background .15s; }
.menu a svg { width: 21px; height: 21px; flex: none; }
.menu a:hover { background: var(--ink2); }
.menu a[aria-current="page"] { background: var(--cream); color: var(--ink); }
.side-foot { margin-top: auto; display: grid; gap: 12px; }
.side-plan { padding: 12px; border: 1.5px solid rgba(242, 238, 230, .28); border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.side-plan b { font: 800 17px/1 var(--display); }
.side-plan a { font-weight: 700; font-size: 14px; color: #FFC9BC; text-decoration: underline; text-underline-offset: 3px; }
.side-links { display: grid; gap: 7px; padding: 0 8px; font-size: 14.5px; }
.side-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.langs { display: flex; gap: 2px; padding: 0 4px; }
.langs button { padding: 4px 7px; font: 500 12.5px/1 var(--mono); opacity: .7; }
.langs button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

main { min-width: 0; padding: 0 clamp(16px, 3vw, 40px) 60px; }
.notice { margin: 0 calc(clamp(16px, 3vw, 40px) * -1) 26px; padding: 9px clamp(16px, 3vw, 40px); background: #FFE7A8; font-size: 14.5px; font-weight: 600; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.head h1 { font: 900 clamp(32px, 3.6vw, 54px)/1 var(--display); font-variation-settings: "wdth" 90; letter-spacing: -.02em; text-transform: uppercase; }
.head p { margin-top: 7px; color: var(--muted); font-size: 17.5px; }

.press {
  --d: 6px; display: inline-block; padding: 14px 22px 13px; border-radius: 8px; background: var(--red); color: #fff; white-space: nowrap;
  font: 800 16.5px/1 var(--display); font-variation-settings: "wdth" 104; transform: translateY(calc(var(--d) * -1)); margin-top: var(--d);
  box-shadow: 0 var(--d) 0 #A91400; transition: transform .14s var(--out), box-shadow .14s var(--out), filter .15s;
}
.press:hover { filter: brightness(1.07); }
.press:active { transform: translateY(-1px); box-shadow: 0 1px 0 #A91400; }
.press[disabled] { background: #CFC9BD; color: rgba(10, 10, 11, .6); box-shadow: 0 var(--d) 0 #AFA99D; cursor: not-allowed; filter: none; }
.ghost { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.ghost:hover { color: var(--redd); }

.panel { background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: clamp(16px, 1.7vw, 24px); min-width: 0; }
.panel > h2, .h2 { font: 800 clamp(20px, 1.7vw, 26px)/1.08 var(--display); font-variation-settings: "wdth" 94; letter-spacing: -.012em; }
.panel > h2 { margin-bottom: 14px; }
.panel-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.stack { display: grid; gap: 16px; }
.cols { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); align-items: start; }

/* ---------- início ---------- */
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin-bottom: 16px; }
.tile { background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 16px; display: grid; gap: 7px; min-width: 0; }
.tile .label { color: var(--muted); font-size: 14.5px; font-weight: 600; }
.tile .val { font: 800 clamp(19px, 1.65vw, 25px)/1.08 var(--display); font-variation-settings: "wdth" 94; display: flex; align-items: center; gap: 8px; min-width: 0; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #9A958A; }
.dot.warn { background: var(--red); }
.tile img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; object-position: 50% 30%; flex: none; }

.month { display: grid; gap: 12px 18px; grid-template-columns: repeat(auto-fit, minmax(min(46%, 150px), 1fr)); }
.month dd { font: 800 clamp(24px, 2.2vw, 34px)/1 var(--display); font-variation-settings: "wdth" 88; }
.month dt { margin-top: 4px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.est { margin-top: 16px; padding-top: 13px; border-top: 1.5px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.est b { font: 800 22px/1 var(--display); color: var(--redd); }

.check li { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-top: 1.5px solid var(--line); font-weight: 600; }
.check li:first-child { border-top: 0; }
.check i { flex: none; width: 23px; height: 23px; border-radius: 50%; border: 2px solid rgba(10, 10, 11, .35); display: grid; place-items: center; }
.check li.done i { background: var(--ink); border-color: var(--ink); }
.check li.done i::after { content: ""; width: 10px; height: 5px; border-left: 2.4px solid var(--cream); border-bottom: 2.4px solid var(--cream); transform: translateY(-1.5px) rotate(-45deg); }
.check span { flex: 1; min-width: 0; }
.check li.done span { color: var(--muted); }
.check a { font-weight: 700; color: var(--redd); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.check em { font-style: normal; color: var(--muted); font-size: 14px; white-space: nowrap; }
.count { color: var(--muted); font-size: 14.5px; font-weight: 600; white-space: nowrap; }

.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { padding: 0 8px 8px 0; text-align: left; color: var(--muted); font-weight: 600; border-bottom: 1.5px solid var(--line); }
.empty { padding: 22px 8px 8px; text-align: center; }
.empty b { display: block; font: 800 18px/1.1 var(--display); }
.empty p { margin: 5px auto 0; max-width: 34em; color: var(--muted); }

/* ---------- minha live ---------- */
.live-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 18px; align-items: start; }
.step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.step-h b { flex: none; width: 29px; height: 29px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); font: 800 15px/1 var(--body); }
.pick { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pick button { display: flex; flex-direction: column; text-align: left; border: 2px solid var(--line); border-radius: 9px; overflow: hidden; background: #fff; transition: border-color .15s, transform .3s var(--out); }
.pick button:hover { transform: translateY(-2px); }
.pick img { width: 100%; height: clamp(84px, 11vw, 130px); object-fit: cover; object-position: 50% 28%; display: block; }
.pick span { padding: 9px 11px 11px; display: grid; gap: 3px; }
.pick b { font: 800 16.5px/1.08 var(--display); font-variation-settings: "wdth" 92; }
.pick small { font-size: 14px; line-height: 1.32; color: var(--muted); }
.pick button[aria-pressed="true"] { border-color: var(--red); box-shadow: 0 0 0 2px var(--red); }
.fields { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span, .field > label { font-weight: 700; font-size: 15px; }
.input { display: flex; align-items: center; min-width: 0; background: #fff; border: 1.5px solid rgba(10, 10, 11, .35); border-radius: 7px; padding: 0 12px; }
.input:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.input b { color: var(--muted); }
.input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 16px var(--body); color: var(--ink); padding: 11px 5px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { padding: 9px 14px; border: 1.5px solid rgba(10, 10, 11, .35); border-radius: 7px; background: #fff; font-weight: 700; font-size: 15px; }
.seg button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.toggles { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.switch { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch i { flex: none; width: 42px; height: 25px; border-radius: 999px; background: rgba(10, 10, 11, .3); position: relative; transition: background .15s; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; transition: transform .2s var(--out); }
.switch input:checked + i { background: var(--ink); }
.switch input:checked + i::after { transform: translateX(17px); }
.switch input:focus-visible + i { outline: 2.5px solid var(--cobalt); outline-offset: 2px; }
.linkbox { display: flex; gap: 8px; align-items: center; min-width: 0; padding: 5px 5px 5px 12px; background: #fff; border: 1.5px solid rgba(10, 10, 11, .35); border-radius: 7px; }
.linkbox input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 13.5px var(--mono); color: var(--ink); }
.linkbox .press { --d: 3px; padding: 10px 13px 9px; font-size: 14.5px; }
.warn-box { margin-top: 14px; padding: 10px 12px; border-radius: 7px; background: #FFE7A8; font-size: 14.5px; font-weight: 600; }
.tabs { display: flex; gap: 16px; margin: 16px 0 10px; border-bottom: 1.5px solid var(--line); }
.tabs button { padding: 6px 0; margin-bottom: -1.5px; font-weight: 700; border-bottom: 3px solid transparent; opacity: .72; }
.tabs button[aria-selected="true"] { opacity: 1; border-color: var(--red); }
.howto { counter-reset: h; display: grid; gap: 8px; }
.howto li { counter-increment: h; display: flex; gap: 10px; }
.howto li::before { content: counter(h); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 10, 11, .1); font-weight: 800; font-size: 13.5px; }
.fx { display: grid; gap: 7px; }
.fx li { display: flex; align-items: center; gap: 9px; }
.fx img, .fx svg { width: 30px; height: 30px; flex: none; object-fit: contain; }
.fx svg { padding: 5px; color: var(--redd); }
.fx b { font-weight: 750; }
.fx small { margin-left: auto; font: 600 12.5px var(--mono); color: var(--muted); white-space: nowrap; }

.preview { position: sticky; top: 14px; background: var(--ink); color: var(--cream); border-radius: 12px; padding: 14px; display: grid; gap: 11px; justify-items: center; }
.preview-h { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.preview .switch input:checked + i { background: var(--red); }
.preview .switch i { background: rgba(242, 238, 230, .3); }
.phone { width: min(100%, calc((100vh - 330px) * 9 / 16)); min-width: 200px; aspect-ratio: 9 / 16; border-radius: 26px; padding: 7px; background: #2A2A30; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.phone iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 20px; background: #07041a; }
.tester { width: 100%; display: grid; gap: 8px; }
.say { display: flex; align-items: center; gap: 6px; min-width: 0; background: var(--ink2); border: 1.5px solid rgba(242, 238, 230, .28); border-radius: 7px; padding: 3px 3px 3px 10px; }
.say input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--cream); font: 500 15px var(--body); padding: 7px 0; }
.say input::placeholder { color: rgba(242, 238, 230, .68); }
.say button { padding: 8px 12px; border-radius: 5px; background: var(--cream); color: var(--ink); font-weight: 700; font-size: 14px; }
.gifts { display: flex; flex-wrap: wrap; gap: 5px; }
.gifts button { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; border-radius: 6px; background: var(--cream); color: var(--ink); font-weight: 700; font-size: 13.5px; transition: background .12s, color .12s; }
.gifts button:hover { background: var(--red); color: #fff; }
.gifts svg { width: 16px; height: 16px; flex: none; }
.gifts img { width: 24px; height: 24px; flex: none; object-fit: contain; }

/* ---------- ganhos ---------- */
.big { font: 900 clamp(42px, 5vw, 74px)/1 var(--display); font-variation-settings: "wdth" 88; letter-spacing: -.02em; color: var(--redd); }
.calc { display: grid; gap: 3px; font-weight: 650; }
.calc > span { display: flex; justify-content: space-between; gap: 12px; }
.calc b { font: 800 19px/1.1 var(--display); }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: none; margin: 0; cursor: grab; }
.calc input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: rgba(10, 10, 11, .18); }
.calc input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(10, 10, 11, .18); }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; border: 0; background: var(--red); box-shadow: 0 2px 5px rgba(10, 10, 11, .35); }
.calc input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--red); }
.rows { display: grid; gap: 7px; margin-top: 12px; padding-top: 11px; border-top: 1.5px solid var(--line); }
.rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rows b { font: 800 19px/1 var(--display); white-space: nowrap; }
.note { margin-top: 12px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.flowlist { counter-reset: h; display: grid; gap: 10px; }
.flowlist li { counter-increment: h; display: flex; gap: 10px; }
.flowlist li::before { content: counter(h); flex: none; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--cream); font-weight: 800; font-size: 13.5px; }

/* ---------- plano ---------- */
.plans { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 18px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; }
.plan.on { border: 2.5px solid var(--ink); }
.plan h3 { font: 800 23px/1 var(--display); font-variation-settings: "wdth" 94; }
.plan .price { font: 900 40px/1 var(--display); font-variation-settings: "wdth" 88; letter-spacing: -.02em; }
.plan .price small { font: 600 15px var(--body); letter-spacing: 0; color: var(--muted); }
.plan .pays { font-weight: 700; color: var(--redd); font-size: 15px; }
.plan .foot { margin-top: auto; padding-top: 8px; }
.plan .tag { display: inline-block; padding: 8px 12px; border-radius: 6px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 14.5px; }
.kv { display: grid; gap: 9px; }
.kv div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; padding-bottom: 8px; border-bottom: 1.5px solid var(--line); }
.kv div:last-child { border: 0; padding: 0; }
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { font-weight: 750; }

/* ---------- conta ---------- */
.saved { color: var(--muted); font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .25s; }
.saved.on { opacity: 1; }
.danger { font-weight: 700; color: var(--redd); text-decoration: underline; text-underline-offset: 3px; }
.notify { display: grid; gap: 11px; }

/* ---------- telas menores ---------- */
/* ---------- personalizar ---------- */
.preview-slot { align-self: stretch; min-width: 0; }
.cu-game button { flex: 1 1 auto; font-weight: 800; }
.cu-link { justify-self: start; font-weight: 800; color: var(--redd); text-decoration: underline; text-underline-offset: 3px; }
.opt-group > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; min-height: 28px; }
.opt-group > summary::-webkit-details-marker { display: none; }
.opt-group > summary::after { content: "+"; font: 800 24px/1 var(--display); flex: none; }
.opt-group[open] > summary::after { content: "–"; }
.opt-group > summary .h2 { margin: 0; }
.opt-group > summary em { margin-left: auto; font: 700 12.5px var(--mono); font-style: normal; color: var(--redd); white-space: nowrap; }
.opt-grid { display: grid; gap: 16px 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); margin-top: 16px; }
.opt { display: grid; gap: 7px; min-width: 0; align-content: start; }
.opt > label:not(.switch) { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; line-height: 1.25; }
.opt .opt-l { flex: 1 1 auto; min-width: 0; }
.opt img { width: 24px; height: 24px; flex: none; object-fit: contain; }
.opt output { font: 700 13px var(--mono); white-space: nowrap; }
.opt-val { display: inline-flex; align-items: center; gap: 4px; flex: none; font: 700 13px var(--mono); }
.opt-val i { font-style: normal; }
.opt-num { width: 92px; padding: 4px 6px; border: 1.5px solid var(--line); border-radius: 6px; background: transparent; color: inherit; font: inherit; text-align: right; -moz-appearance: textfield; }
.opt-num::-webkit-outer-spin-button, .opt-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.opt-num:hover { border-color: rgba(10, 10, 11, .35); }
.opt-num:focus { outline: none; border-color: var(--red); background: #fff; }
.opt input[type="range"] { width: 100%; accent-color: var(--red); }
.opt input[type="color"] { width: 46px; height: 32px; padding: 2px; border: 1.5px solid rgba(10, 10, 11, .35); border-radius: 6px; background: #fff; cursor: pointer; flex: none; }
.opt-row { grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
.opt:has(> .switch) { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.opt .switch { min-width: 0; }
.opt-reset { visibility: hidden; flex: none; width: 26px; height: 26px; border: 0; border-radius: 6px; background: var(--line); color: var(--ink); font-size: 15px; line-height: 1; cursor: pointer; }
.opt.changed .opt-reset { visibility: visible; }
.opt-reset:hover { background: var(--ink); color: var(--cream); }

@media (max-width: 1080px) {
  .preview-slot { grid-row: 1; }
  .live-grid { grid-template-columns: minmax(0, 1fr); }
  .preview { position: static; grid-row: 1; }
  .phone { width: min(70vw, 300px); }
}
@media (max-width: 760px) {
  .shell { display: block; padding-bottom: 66px; }
  .side { position: fixed; z-index: 20; left: 0; right: 0; top: auto; bottom: 0; height: auto; display: block; padding: 5px 6px; }
  .brand, .side-foot { display: none; }
  .menu { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
  .menu a { flex-direction: column; gap: 2px; padding: 6px 2px; font-size: 11.5px; text-align: center; }
  .mobile-top { display: flex !important; }
  .pick { grid-template-columns: minmax(0, 1fr); }
  .pick button { flex-direction: row; }
  .pick img { width: 104px; height: auto; flex: none; }
}
.mobile-top { display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; }
.mobile-top .brand { display: flex; padding: 0; font-size: 18px; }
.mobile-top .langs { padding: 0; }
.mobile-top .langs button { color: var(--ink); opacity: .75; }
.mobile-top .langs button[aria-pressed="true"] { opacity: 1; }

/* seis itens no menu do celular, sempre em uma linha só */
@media (max-width: 760px) {
  .menu { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 2px !important; }
  .menu a { min-width: 0; padding-left: 1px; padding-right: 1px; }
  .menu a span { font-size: 10.5px !important; letter-spacing: -.01em; white-space: nowrap; }
}

/* pagamento do plano */
.plan .foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pay { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 26px 24px 24px; border: 0; border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(10, 10, 11, .35); overflow: auto; }
.pay::backdrop { background: rgba(10, 10, 11, .55); }
.pay[open] { animation: pay-in .32s var(--out, cubic-bezier(.2, .8, .2, 1)); }
@keyframes pay-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.pay-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border-radius: 50%; font-size: 24px; line-height: 1; color: var(--muted); }
.pay-x:hover { background: var(--cream); color: var(--ink); }
#pay-body { display: grid; gap: 12px; justify-items: stretch; }
.pay-h { font: 900 28px/1 var(--display); font-variation-settings: "wdth" 90; letter-spacing: -.01em; text-transform: uppercase; padding-right: 30px; }
.pay-sub { color: var(--muted); font-weight: 600; }
.pay-sub b { color: var(--ink); }
.pay-test { padding: 7px 10px; border-radius: 6px; background: #FFE7A8; font-size: 13.5px; font-weight: 600; }
/* margem branca de 4+ módulos e redução suave: é o que os apps de banco precisam para ler o QR */
.pay-qr { justify-self: center; box-sizing: content-box; width: 236px; height: 236px; padding: 20px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; image-rendering: auto; }
.pay-scan { font-size: 14.5px; color: var(--muted); }
.pay-wait { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 9px; font-weight: 700; }
.pay-wait small { margin-left: auto; font: 500 12.5px var(--mono); color: var(--muted); white-space: nowrap; }
.pay-msg { font-weight: 600; }
.pay-sim { justify-self: start; font-size: 14.5px; }
.pay-sim[disabled] { opacity: .5; }
.pay #pay-body > .press { justify-self: start; }
.spin { width: 15px; height: 15px; flex: none; border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pay[open], .spin { animation: none; } }

/* aprovado: o selo pousa (pay-fx.js), depois ondas, halo, ✓ e título letra a letra */
.pay:has(.pay-ok) { overflow: hidden; }
.pay-ok { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 14px 0 4px; }
.ok-badge { position: relative; width: 88px; height: 88px; margin-bottom: 6px; }
.ok-core { position: relative; z-index: 1; display: block; width: 88px; height: 88px; overflow: visible; filter: drop-shadow(0 8px 18px rgba(194, 26, 0, .35)); }
.ok-core circle { fill: var(--red); }
.ok-core path { fill: none; stroke: #fff; stroke-width: 8.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 55; stroke-dashoffset: 55; }
.ok-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--red); opacity: 0; }
.ok-ring.r2 { border-width: 1.5px; border-color: var(--redd); }
.ok-halo { position: absolute; inset: -34px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 46, 18, .34), rgba(255, 46, 18, 0) 66%); opacity: 0; }
.ok-title .w { display: inline-block; white-space: nowrap; }
.ok-title .l { display: inline-block; opacity: 0; }
.ok-sub, .pay-ok:not(.landed) .ok-btn { opacity: 0; }
.ok-sub { max-width: 30ch; color: var(--muted); }
.ok-sub b { color: var(--ink); }

.landed .ok-core { animation: ok-drift 3.2s ease-in-out .6s infinite alternate; }
.landed .ok-core path { animation: ok-draw .36s cubic-bezier(.65, 0, .35, 1) .05s forwards; }
.landed .ok-ring { animation: ok-ring .85s var(--out) forwards; }
.landed .ok-ring.r2 { animation-duration: 1.1s; animation-delay: .08s; }
.landed .ok-halo { animation: ok-halo .6s var(--out) forwards, ok-breathe 2.6s ease-in-out .6s infinite alternate; }
.landed .ok-title .l { animation: ok-letter .55s var(--out) calc(.14s + var(--i) * 26ms) forwards; }
.landed .ok-sub { animation: ok-rise .6s var(--out) .62s forwards; }
.landed .ok-btn { animation: ok-pop .5s cubic-bezier(.3, 1.5, .5, 1) .78s backwards; }

@keyframes ok-draw { to { stroke-dashoffset: 0; } }
@keyframes ok-ring { from { opacity: .75; transform: scale(.92); } to { opacity: 0; transform: scale(2.7); } }
@keyframes ok-halo { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes ok-breathe { to { opacity: .6; transform: scale(1.14); } }
@keyframes ok-drift { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.035) rotate(-3deg); } }
@keyframes ok-letter { from { opacity: 0; transform: translateY(.55em) scale(.86); filter: blur(7px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ok-rise { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ok-pop { from { opacity: 0; transform: translateY(6px) scale(.6); } to { opacity: 1; transform: translateY(calc(var(--d) * -1)); } }
.ok-fx { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 5; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .pay-ok .l, .ok-sub, .ok-btn { opacity: 1 !important; animation: none !important; }
  .ok-core path { stroke-dashoffset: 0; animation: none !important; }
  .ok-ring, .ok-halo { display: none; }
  .landed .ok-core { animation: none; }
}

/* ---------- login no painel ---------- */
.side-who { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 12px/1.3 var(--mono); opacity: .62; }
.side-links button { text-align: left; font-size: 14.5px; }
.side-links button:hover { text-decoration: underline; text-underline-offset: 3px; }
.input.is-ro { background: transparent; border-style: dashed; }
.pw-hint { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.pw-msg { font-weight: 650; font-size: 15px; }
.pw-msg:empty { display: none; }
.pw-msg.bad { color: var(--redd); }
.moved { margin: -10px 0 18px; padding: 10px 12px; border-radius: 7px; background: #D9F2DF; font-weight: 650; font-size: 15px; }

/* ---------- conexão com o TikTok ---------- */
.dot.on { background: #12B76A; box-shadow: 0 0 0 4px rgba(18, 183, 106, .18); animation: tt-pulse 1.6s ease-in-out infinite; }
@keyframes tt-pulse { 50% { box-shadow: 0 0 0 7px rgba(18, 183, 106, .06); } }
.tt-pill { flex: none; padding: 4px 9px; border-radius: 999px; background: rgba(10, 10, 11, .07); font: 500 11.5px/1 var(--mono); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.tt-pill.on { background: #D9F2DF; color: #0B6B3F; }
.pw-hint.bad { color: var(--redd); }
@media (prefers-reduced-motion: reduce) { .dot.on { animation: none; } }

/* ---------- histórico de lives ---------- */
.table td { padding: 9px 8px 9px 0; border-bottom: 1.5px solid var(--line); }
.table tr.live-now td { font-weight: 750; }
.table tr.live-now .dot { display: inline-block; vertical-align: middle; margin-right: 4px; }
