/* Paginas de conta e de pagamento do Tanki Rewind (e-mail, senha, Pix). Sem script nem estilo embutido: a politica de seguranca
   das paginas (CSP) so aceita este arquivo. Mesma linguagem do site: tinta, papel, verde-acido, cantos cortados, tudo chapado. */
@font-face { font-family: Bebas; src: url(bebas.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 400; src: url(barlow-400.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Barlow; font-weight: 600; src: url(barlow-600.woff2) format('woff2'); font-display: swap; }

:root {
  --ink: #11150e; --ink2: #1d2318; --paper: #e8ebe3; --paper2: #dbdfd5; --acid: #86e01e; --acid2: #9cf03a; --stone: #6d6656;
  --amber: #f2b632; --red: #e5533d;
  --muted: #4d5246;
  --cut: 16px;
  --display: Bebas, Impact, 'Arial Narrow', sans-serif;
  --text: Barlow, 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  min-height: 100svh; display: flex; flex-direction: column; background: var(--ink); color: var(--paper); font: 400 17px/1.5 var(--text);
  overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--acid2); outline-offset: 3px; }
.card :focus-visible, .card a:focus-visible { outline-color: var(--ink); }

/* ---------- topo ---------- */
.aurora { display: none; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid rgba(232, 235, 227, .14); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 30px/1 var(--display); letter-spacing: .01em; color: var(--paper); text-transform: uppercase; }
.brand img { display: block; width: 44px; height: auto; }
.top .where { font: 600 13px/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--acid2); }
.stripe { height: 8px; background: repeating-linear-gradient(-45deg, var(--acid) 0 14px, var(--ink) 14px 28px); }

/* ---------- cartao: papel com canto cortado ---------- */
main.card {
  width: min(100% - 32px, 560px); margin: clamp(28px, 7vh, 72px) auto 0; padding: clamp(24px, 5vw, 40px); background: var(--paper); color: var(--ink);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  animation: rise .5s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.kicker { display: inline-block; margin-bottom: 12px; padding: 5px 9px 4px; background: var(--ink); color: var(--acid2); font: 400 17px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
h1 { font: 400 clamp(46px, 11vw, 72px)/.9 var(--display); letter-spacing: -.005em; text-transform: uppercase; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 18px; margin-bottom: 22px; max-width: 34em; }
p { margin-bottom: 12px; }
.small { font-size: 14px; color: var(--muted); }
b, strong { font-weight: 600; }
.card a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- etapas ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 22px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 7px 0 0; border-top: 6px solid var(--paper2); font: 400 17px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: rgba(17, 21, 14, .45); }
.steps li::before { content: '0' counter(s) '  '; }
.steps li.on { border-top-color: var(--ink); color: var(--ink); }
.steps li.done { border-top-color: var(--acid); color: var(--ink); }

/* ---------- resumo: recibo escuro ---------- */
.summary { display: grid; gap: 4px; padding: 18px 20px 16px; margin-bottom: 22px; background: var(--ink); color: var(--paper); position: relative;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.summary::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 10px; background: radial-gradient(circle at 8px 10px, var(--paper) 6px, transparent 6.5px) 0 0 / 16px 10px repeat-x; }
.summary { padding-bottom: 24px; }
.summary .item { font: 400 26px/1.05 var(--display); letter-spacing: .02em; text-transform: uppercase; color: rgba(232, 235, 227, .86); }
.summary .price { font: 400 64px/.95 var(--display); color: var(--acid2); letter-spacing: -.005em; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed rgba(232, 235, 227, .25); font-size: 15px; }
.summary dt { color: rgba(232, 235, 227, .55); }
.summary dd { text-align: right; overflow-wrap: anywhere; }
.summary:not(:has(.item)) { padding-bottom: 24px; }
.summary:not(:has(.item)) dl { margin-top: 0; padding-top: 0; border-top: 0; }

/* ---------- formulario ---------- */
label { display: block; margin: 18px 0 6px; font: 600 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
input { width: 100%; height: 54px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 0; background: #f6f8f2; color: var(--ink); font: 400 18px var(--text); transition: box-shadow .12s, transform .12s; }
input::placeholder { color: rgba(17, 21, 14, .38); }
input:hover { background: #fff; }
input:focus { outline: none; background: #fff; box-shadow: 5px 5px 0 var(--acid); transform: translate(-2px, -2px); }
input[aria-invalid='true'] { border-color: var(--red); box-shadow: 5px 5px 0 rgba(229, 83, 61, .35); }
input[readonly] { font: 400 14px/1 Consolas, 'Courier New', monospace; text-overflow: ellipsis; background: var(--paper2); }
.field-note { min-height: 22px; margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.field-note.bad { color: #b3321f; font-weight: 600; }

.btn, a.btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 60px; margin-top: 22px;
  border: 0; background: var(--acid); color: var(--ink); font: 400 28px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background .15s, transform .15s;
}
.btn::after { content: '\2192'; font: 400 30px/1 var(--text); transition: transform .18s; }
.btn:hover { background: var(--acid2); }
.btn:hover::after { transform: translateX(5px); }
.btn:active { transform: translateY(2px); }
.btn:disabled { cursor: not-allowed; background: var(--paper2); color: rgba(17, 21, 14, .45); }
.btn:disabled::after { content: ''; }
.btn.loading { cursor: progress; }
.btn.loading::after { content: ''; width: 20px; height: 20px; border: 3px solid rgba(17, 21, 14, .25); border-top-color: var(--ink); border-radius: 50%; animation: spin .8s linear infinite; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); font-size: 24px; height: 52px; clip-path: none; }
.btn.ghost::after { content: ''; }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- QR do Pix ---------- */
.qr { position: relative; width: 252px; margin: 4px auto 22px; padding: 12px; background: #fff; border: 3px solid var(--ink); }
.qr img { display: block; width: 216px; height: 216px; image-rendering: pixelated; }
.qr i { position: absolute; width: 22px; height: 22px; background: var(--acid); }
.qr i:nth-of-type(1) { top: -3px; left: -3px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.qr i:nth-of-type(2) { top: -3px; right: -3px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.qr i:nth-of-type(3) { bottom: -3px; left: -3px; clip-path: polygon(0 0, 0 100%, 100% 100%); }
.qr i:nth-of-type(4) { bottom: -3px; right: -3px; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.copy { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch; }
.copy .btn { width: auto; height: 54px; margin: 0; padding: 0 22px; font-size: 24px; }
.copy .btn::after { content: ''; }
.copy .btn.ok { background: var(--ink); color: var(--acid2); }
.status { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 22px 0 6px; padding: 13px 14px; background: var(--paper2); font: 600 15px/1 var(--text); letter-spacing: .04em; color: var(--ink); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; background: var(--ink); animation: blink 1.2s steps(1, end) infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60% { opacity: .2; } 30% { opacity: 1; } }
.left { text-align: center; font-size: 14px; color: var(--muted); margin: 8px 0 0; }
.left b { color: var(--ink); }

/* ---------- resultado: selo quadrado ---------- */
.result { padding-top: 2px; }
.badge { position: relative; width: 84px; height: 84px; margin: 0 0 20px; display: grid; place-items: center;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.badge svg { width: 84px; height: 84px; overflow: visible; position: absolute; inset: 0; }
.badge .ring, .badge .pop, .burst { display: none; }
.badge .mark { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: square; stroke-linejoin: miter; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .5s .25s cubic-bezier(.4, 0, .2, 1) forwards; }
.badge.ok { background: var(--acid); }
.badge.warn { background: var(--amber); }
.badge.bad { background: var(--red); }

@keyframes draw { to { stroke-dashoffset: 0; } }
.reward { display: inline-flex; align-items: center; gap: 10px; margin: 4px 0 16px; padding: 10px 16px 8px; background: var(--ink); color: var(--acid2); font: 400 30px/1 var(--display); letter-spacing: .04em; }
.reward svg { width: 24px; height: 24px; }

.notice { margin: 16px 0; padding: 12px 14px; border: 2px solid var(--ink); background: #f3e6c4; box-shadow: 4px 4px 0 var(--amber); font-size: 15.5px; color: var(--ink); }
.notice.bad { background: #f4d4cd; box-shadow: 4px 4px 0 var(--red); }

/* ---------- rodape ---------- */
.foot { width: min(100% - 32px, 560px); margin: 26px auto 40px; font-size: 14px; color: rgba(232, 235, 227, .6); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 10px; }
.foot a { color: var(--paper); text-decoration: none; font-weight: 600; letter-spacing: .04em; border-bottom: 2px solid transparent; }
.foot a:hover { border-bottom-color: var(--acid2); }
.foot p { margin: 0; }
.secure { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.secure svg { width: 15px; height: 15px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: square; }


.btn + .small { margin-top: 14px; }

/* ---------- forma de pagamento (Pix ou cartao) ---------- */
.methods { border: 0; margin: 0 0 4px; padding: 0; min-inline-size: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.methods legend { grid-column: 1 / -1; padding: 0; margin: 18px 0 8px; font: 600 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; }
.tile { position: relative; display: block; margin: 0; font: 400 17px/1.5 var(--text); letter-spacing: normal; text-transform: none; color: var(--ink); cursor: pointer; }
.tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; border: 0; background: none; box-shadow: none; transform: none; cursor: pointer; }
.tile-body { display: block; height: 100%; padding: 12px 14px 11px; border: 2px solid var(--ink); background: #f6f8f2; transition: background .12s, box-shadow .12s, transform .12s; }
.tile-body b { display: block; font: 400 27px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; }
.tile-body small { display: block; margin-top: 5px; font-size: 14px; line-height: 1.25; color: var(--muted); }
.tile:hover .tile-body { background: #fff; }
.tile input:checked + .tile-body { background: var(--acid); box-shadow: 5px 5px 0 var(--ink); transform: translate(-2px, -2px); }
.tile input:checked + .tile-body small { color: var(--ink); }
.tile input:focus-visible + .tile-body { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 440px) { .methods { grid-template-columns: 1fr; } }

@media (max-width: 440px) {
  .brand { font-size: 25px; } .brand img { width: 38px; }
  .copy { grid-template-columns: 1fr; }
  .copy .btn { width: 100%; }
  .summary .price { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) { main.card, .dots i, .badge .mark { animation: none; } .badge .mark { stroke-dashoffset: 0; } }

/* ---------- suporte (SupportPages): central de ajuda, chamados ---------- */
main.card.wide { width: min(100% - 32px, 900px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.userbar { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.userbar b { color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.search { display: flex; gap: 10px; align-items: stretch; margin: 0 0 26px; }
.search input { flex: 1; }
.search .btn { width: auto; flex: none; margin: 0; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-bottom: 26px; }
.cat h2, .found h2, .cta h2, main.card section > h2 { font: 400 26px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; margin: 0 0 10px; }
.articles { list-style: none; display: grid; gap: 6px; }
.articles a { display: block; padding: 10px 12px; background: var(--paper2); text-decoration: none; font-weight: 600; border-left: 4px solid var(--ink); transition: border-color .12s, background .12s; }
.articles a:hover { background: #fff; border-left-color: var(--acid); }
.articles small, .tsub small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.found { margin-bottom: 26px; }
.cta { margin-top: 8px; padding: 20px; background: var(--ink); color: var(--paper); }
.cta p { color: rgba(232, 235, 227, .8); }
.cta .btn { margin-top: 8px; }
.article p, .article ul { margin-bottom: 14px; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article code, .card code { font: 400 15px/1 Consolas, 'Courier New', monospace; background: var(--paper2); padding: 2px 5px; }
.tickets { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.ticket { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; background: var(--paper2); text-decoration: none; }
.ticket:hover { background: #fff; }
.tid { font: 400 22px/1 var(--display); color: var(--muted); }
.tsub { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.chip { display: inline-block; padding: 4px 8px 3px; font: 600 12px/1 var(--text); letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: var(--paper); white-space: nowrap; }
.chip.aguardando { background: var(--amber); color: var(--ink); }
.chip.respondido { background: var(--acid); color: var(--ink); }
.chip.fechado { background: var(--stone); color: var(--paper); }
.chip.staff { background: var(--ink); color: var(--acid2); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tab { padding: 8px 12px; background: var(--paper2); text-decoration: none; font-weight: 600; font-size: 15px; }
.tab.on { background: var(--ink); color: var(--acid2) !important; }
.meta { color: var(--muted); margin-bottom: 18px; }
.thread { list-style: none; display: grid; gap: 12px; margin-bottom: 22px; }
.msg { padding: 14px 16px; background: #f6f8f2; border-left: 4px solid var(--stone); }
.msg.staff { border-left-color: var(--acid); background: #eef6e2; }
.mhead { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.mhead b { color: var(--ink); }
.msg p { margin: 0; overflow-wrap: anywhere; }
select, textarea { width: 100%; border: 2px solid var(--ink); border-radius: 0; background: #f6f8f2; color: var(--ink); font: 400 17px/1.4 var(--text); }
select { height: 54px; padding: 0 12px; }
textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
select:focus, textarea:focus { outline: none; background: #fff; box-shadow: 5px 5px 0 var(--acid); }
@media (max-width: 560px) { .search { flex-direction: column; } .ticket { grid-template-columns: 1fr; gap: 6px; } }
.card .kicker a { color: var(--acid2); text-decoration: none; }
.card .kicker a:hover { text-decoration: underline; }
.search .btn { padding: 0 22px 0 26px; }
.cta + .userbar { margin-top: 14px; }
