/* ===== hero / home ===== */
.tv-hero{position:relative;padding-top:clamp(28px,5vw,56px);overflow:hidden}
.tv-hero__grid{display:grid;grid-template-columns:1.25fr .75fr;gap:24px;align-items:center}
.tv-hero__title{margin:14px 0 20px;line-height:1.1;letter-spacing:.01em}
.tv-hero__title em{letter-spacing:.02em}
.tv-hero__sub{max-width:460px;opacity:.82;margin:0}
.tv-hero__ctas{display:flex;flex-wrap:wrap;gap:16px;align-items:center;margin-top:28px}
.tv-hero__logo{justify-self:center;width:min(280px,100%)}
.tv-hero__logo .tv-logo-sticker{display:block;width:100%;height:auto;transform:rotate(-5deg);transition:transform .35s var(--ease-out);filter:none;box-shadow:none}
.tv-hero__logo:hover .tv-logo-sticker{transform:rotate(-1deg) scale(1.03)}
.tv-hero .tv-bleed{margin-top:clamp(8px,2vw,24px)}
.tv-hero__copy .tv-rise:nth-child(2){animation-delay:.1s}.tv-hero__copy .tv-rise:nth-child(3){animation-delay:.2s}.tv-hero__copy .tv-rise:nth-child(4){animation-delay:.3s}
@media (max-width:860px){
  .tv-hero__grid{grid-template-columns:1fr}
  .tv-hero__logo{order:-1;width:min(180px,55vw)}
  .tv-hero__ctas .tv-btn,.tv-hero__ctas .tv-connect{width:100%}
}

/* ===== produto ===== */
.tv-product{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,4vw,40px);align-items:start;padding-top:20px;padding-bottom:40px}
.tv-gallery{min-width:0}
.tv-gallery__main{position:relative;aspect-ratio:1/1;border-radius:var(--radius-xl);border:3px solid var(--off);box-shadow:8px 8px 0 var(--sun);display:grid;place-items:center;background:radial-gradient(90% 70% at 50% 100%,var(--deep-2),var(--night) 70%)}
.tv-gallery__radio{position:absolute;opacity:0;pointer-events:none}
.tv-gallery__img{display:none;grid-area:1/1;width:100%;height:100%;object-fit:cover;border-radius:calc(var(--radius-xl) - 3px)}
.tv-gallery__radio:checked+.tv-gallery__img{display:block}
.tv-gallery__main .tv-logo-icon{width:28%;height:auto}
.tv-gallery__thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.tv-gallery__thumbs label{aspect-ratio:1;border-radius:12px;overflow:hidden;border:3px solid rgba(248,245,237,.15);cursor:pointer;min-height:44px}
.tv-gallery__thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.tv-gallery__thumbs label:hover{border-color:var(--sky)}
.tv-gallery:has(#tv-g-1:checked) label[for="tv-g-1"],.tv-gallery:has(#tv-g-2:checked) label[for="tv-g-2"],.tv-gallery:has(#tv-g-3:checked) label[for="tv-g-3"],.tv-gallery:has(#tv-g-4:checked) label[for="tv-g-4"],.tv-gallery:has(#tv-g-5:checked) label[for="tv-g-5"],.tv-gallery:has(#tv-g-6:checked) label[for="tv-g-6"],.tv-gallery:has(#tv-g-7:checked) label[for="tv-g-7"],.tv-gallery:has(#tv-g-8:checked) label[for="tv-g-8"]{border-color:var(--sun)}
.tv-gallery:has(.tv-gallery__radio:focus-visible) .tv-gallery__main{outline:3px solid var(--sky);outline-offset:4px}
.tv-badge--lg{width:68px;height:68px;font-size:1rem;top:-16px;right:-16px}
.tv-gallery__auto{position:absolute;z-index:2;left:18px;bottom:18px;display:flex;gap:8px;align-items:center;background:var(--night);border:2px solid var(--sky);color:var(--sky);font-weight:700;font-size:.75rem;padding:8px 12px;border-radius:10px}
.tv-gallery__auto i{width:8px;height:8px;border-radius:50%;background:var(--ok)}
.tv-buybox{display:flex;flex-direction:column;gap:14px;min-width:0}
.tv-buybox__now{margin-top:2px}
.tv-buybox__msg:empty{display:none}
.tv-buybox__msg{margin:0;padding:10px 14px;border-radius:var(--radius);border:2px solid var(--earth);color:var(--sand);font-weight:700;font-size:.875rem}
.tv-stock{display:flex;align-items:center;gap:8px;margin:6px 0 0;font-size:.8125rem;font-weight:600;color:var(--ok)}
.tv-stock i{width:8px;height:8px;border-radius:50%;background:currentColor}
.tv-stock.is-out{color:var(--earth)}
.tv-tabs{padding-bottom:20px}
.tv-tabs__bar{display:flex;gap:8px;border-bottom:3px solid rgba(248,245,237,.1);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}
.tv-tabs__bar::-webkit-scrollbar{display:none}
.tv-tabs__bar [role="tab"]{min-height:48px;padding:12px 18px;border:none;background:none;color:inherit;font-weight:800;text-transform:uppercase;font-size:.8125rem;letter-spacing:.04em;opacity:.7;border-bottom:3px solid transparent;margin-bottom:-3px;cursor:pointer;white-space:nowrap}
.tv-tabs__bar [aria-selected="true"]{opacity:1;color:var(--sun);border-color:var(--sun)}
.tv-tabs__panel{padding:24px 0}
.tv-prose{max-width:70ch;opacity:.9}
.tv-prose h2,.tv-prose h3{font-weight:900;text-transform:uppercase;line-height:1.15}
.tv-prose a{color:var(--sky)}
.tv-prose img{max-width:100%;height:auto;border-radius:var(--radius)}
.tv-reviews:not([hidden]){display:grid;grid-template-columns:1fr 1.3fr;gap:28px;align-items:start}
.tv-revsum{background:var(--off);color:var(--night);border-radius:var(--radius-lg);border:var(--tv-border);box-shadow:6px 6px 0 var(--deep);padding:20px}
.tv-revsum__big{margin:8px 0;font-weight:900;font-size:2.75rem;line-height:1}
.tv-revsum__big b{font-size:1rem;color:var(--sun-2);letter-spacing:2px;vertical-align:middle}
.tv-revsum__bars{list-style:none;margin:0;padding:0}
.tv-revsum__bars li{display:grid;grid-template-columns:28px 1fr 34px;gap:8px;align-items:center;font-size:.75rem;font-weight:700;margin-top:6px}
.tv-revsum__bars i{height:8px;border-radius:9px;background:rgba(17,30,41,.12);overflow:hidden;display:block}
.tv-revsum__bars em{display:block;height:100%;background:var(--sun)}
.tv-reviews__list{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.tv-reviews__list li{border:2px solid rgba(248,245,237,.12);border-radius:var(--radius);padding:14px 16px}
.tv-reviews__list p{margin:6px 0;opacity:.85}
.tv-reviews__list small{opacity:.65}
.tv-stars-sm{color:var(--sun);font-weight:700}
@media (max-width:900px){
  .tv-product{grid-template-columns:1fr}
  .tv-buybox{position:static}
  .tv-reviews:not([hidden]){grid-template-columns:1fr}
}
@media (max-width:640px){
  .tv-gallery__main{box-shadow:5px 5px 0 var(--sun)}
  .tv-badge--lg{width:56px;height:56px;font-size:.875rem;top:-10px;right:-4px}
  .tv-ticket{box-shadow:5px 5px 0 var(--sun)}
}

/* ===== pagamento Pix (status em components.css: tv-pstat) ===== */
.tv-pay{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:center;padding-top:clamp(28px,5vw,56px);padding-bottom:32px}
.tv-pay__copy{min-width:0}
.tv-pay__title{margin:14px 0}
.tv-pay__sub{opacity:.82;max-width:440px;margin:0}
.tv-steps{list-style:none;padding:0;margin:24px 0 0;display:grid;gap:14px;counter-reset:s}
.tv-steps li{display:flex;gap:14px;align-items:center;font-weight:600}
.tv-steps li::before{counter-increment:s;content:counter(s,decimal-leading-zero);width:44px;height:44px;flex-shrink:0;border-radius:50%;border:3px solid var(--off);display:grid;place-items:center;font-weight:900;font-size:.8125rem;box-shadow:3px 3px 0 var(--sky)}
.tv-steps small{display:block;font-weight:500;opacity:.65;font-size:.75rem}
.tv-pix{justify-self:center;width:100%;max-width:420px;min-width:0;background:var(--off);color:var(--night);border:var(--tv-border);border-radius:24px;box-shadow:8px 8px 0 var(--sun);padding:22px}
.tv-pix__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.tv-pix__head b{font-weight:900;font-size:1.625rem;white-space:nowrap}
.tv-pix__qr{border:var(--tv-border);border-radius:14px;padding:12px;background:#fff}
.tv-pix__qr img{display:block;width:100%;height:auto;image-rendering:pixelated}
.tv-pix__code{display:flex;gap:8px;margin-top:14px}
.tv-pix__code code{flex:1;min-width:0;font:600 .75rem var(--font);background:rgba(17,30,41,.07);border:2px dashed rgba(17,30,41,.3);border-radius:12px;padding:14px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;user-select:all}
.tv-pix__copy{flex-shrink:0;min-height:48px;padding:0 16px;border:none;border-radius:12px;background:var(--night);color:var(--sun);display:flex;align-items:center;gap:8px;font:800 .75rem var(--font);text-transform:uppercase;cursor:pointer}
.tv-pix__copy.is-copied{background:var(--ok);color:var(--night)}
.tv-pix__note{margin:0;padding:14px;border:2px dashed rgba(17,30,41,.3);border-radius:12px}
.tv-pix__meta{display:flex;justify-content:space-between;gap:12px;margin:12px 0 0;font-size:.75rem;font-weight:600;opacity:.7}
.tv-pix__go{margin-top:16px}
.tv-pix__go p{margin:8px 0 0;font-size:.75rem;text-align:center;opacity:.7}
/* acesso restrito (allowed == false) */
.tv-lock{display:grid;place-items:center;min-height:60vh;padding-top:32px;padding-bottom:32px}
.tv-lock__card{width:100%;max-width:420px;display:grid;justify-items:center;gap:14px;text-align:center;background:var(--off);color:var(--night);border:var(--tv-border);border-radius:24px;box-shadow:8px 8px 0 var(--sun);padding:28px 22px}
.tv-lock__card h1{margin:0}
.tv-lock__card p{margin:0;opacity:.8}
.tv-lock__card .tv-btn{width:100%}
.tv-lock__back{font-size:.75rem;font-weight:700;color:var(--night);opacity:.7}
@media (max-width:860px){.tv-pay{grid-template-columns:minmax(0,1fr)}}

/* ===== pedido (passagem/status/lock reaproveitados de components.css e do bloco acima) =====
   #feedback-card, #feedback-sent, .tv-redeem__more e .tv-redeem__fade recebem .hidden do JS do base
   (feedback.js, main.js): essas regras não definem display para o .hidden do Tailwind continuar valendo. */
.tv-order{display:grid;gap:28px;padding-top:clamp(28px,5vw,56px);padding-bottom:36px}
.tv-order__head{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px}
.tv-order__sub{opacity:.82;max-width:480px;margin:0}
.tv-order__ticket,.tv-order__grid,.tv-order__chat,.tv-order__hours,.tv-order__upsells{max-width:880px;width:100%;margin:0 auto}
.tv-items{list-style:none;margin:16px 0 0;padding:0;border-top:2.5px dashed rgba(17,30,41,.3)}
.tv-items li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-bottom:2px solid rgba(17,30,41,.08);font-weight:700}
.tv-items li>span:last-child{white-space:nowrap}
.tv-items small{opacity:.6;font-weight:600;margin-left:4px;white-space:nowrap}
.tv-items__name{display:flex;align-items:center;gap:10px;min-width:0}
.tv-items__img{width:36px;height:36px;flex:none;border-radius:8px;border:2px solid var(--night);object-fit:cover}
.tv-items__empty{margin:16px 0 0;opacity:.7}
.tv-cell__v{overflow-wrap:anywhere}
.tv-order__grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px;align-items:start}
.tv-order__grid>:only-child,.tv-deliveries--wide{grid-column:1/-1}
.tv-box{border:2px solid rgba(248,245,237,.15);border-radius:var(--radius-xl);padding:18px;min-width:0}
.tv-deliveries ul{list-style:none;margin:10px 0 0;padding:0}
.tv-deliveries li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px dashed rgba(248,245,237,.15)}
.tv-deliveries li:last-child{border-bottom:none}
.tv-deliveries small{opacity:.65}
.tv-deliveries__body{flex:1;min-width:0}
.tv-check{width:34px;height:34px;border-radius:10px;background:var(--ok);color:var(--night);display:grid;place-items:center;flex-shrink:0}
.tv-redeem{margin-top:8px}
.tv-redeem summary{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:2.5px solid var(--sun);border-radius:12px;color:var(--sun);font-weight:800;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;list-style:none}
.tv-redeem summary::-webkit-details-marker{display:none}
.tv-redeem[open] summary{background:var(--sun);color:var(--night)}
.tv-redeem__body{display:grid;gap:12px;margin-top:12px}
.tv-keys{border:2px dashed rgba(248,245,237,.25);border-radius:var(--radius);padding:12px}
.tv-keys__head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.tv-keys__k{margin-right:auto;font-size:.6875rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--sky)}
.tv-keys__btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border:2px solid rgba(248,245,237,.3);border-radius:10px;background:transparent;color:var(--off);font-weight:700;font-size:.75rem;cursor:pointer}
.tv-keys__btn:hover{border-color:var(--sky)}
.tv-keys__btn[data-is-copied="true"],.tv-keys__btn[data-is-downloaded="true"]{border-color:var(--ok);color:var(--ok)}
.tv-keys__list{display:grid;gap:8px;max-height:280px;overflow:auto}
.tv-keys__row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:10px;background:rgba(248,245,237,.06);font:600 .875rem/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}
.tv-keys__row [data-action="copy"]{flex:none;min-width:36px;min-height:36px;border:none;border-radius:8px;background:transparent;color:var(--sky);cursor:pointer}
.tv-keys__row [data-action="copy"][data-is-copied="true"]{color:var(--ok)}
/* main.js (copiar chave) injeta os dois ícones lucide e alterna data-is-copied; sem depender do Tailwind compilar group-data-* */
.tv-keys__row [data-is-copied="false"] .lucide-check,.tv-keys__row [data-is-copied="true"] .lucide-copy{display:none}
.tv-keys__row [data-action="copy"] svg{margin:auto}
.tv-redeem__clip{position:relative}
.tv-redeem__text{padding:14px;border-radius:var(--radius);background:rgba(248,245,237,.06);overflow:hidden;overflow-wrap:anywhere;transition:max-height .3s var(--ease-out)}
.tv-redeem__text a{color:var(--sky)}
.tv-redeem__fade{position:absolute;left:0;right:0;bottom:0;height:72px;pointer-events:none;border-radius:0 0 var(--radius) var(--radius);background:linear-gradient(to top,var(--night),transparent)}
.tv-redeem__more{margin:8px auto 0;min-height:44px;padding:0 14px;border:none;background:transparent;color:var(--sky);font-weight:800;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}
.tv-redeem__more span,.tv-redeem__more svg{display:inline-block;vertical-align:middle}
.tv-redeem__more[data-is-expanded="true"] svg{transform:rotate(180deg)}
.tv-dl{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--radius);background:rgba(248,245,237,.06)}
.tv-dl b{display:block;overflow-wrap:anywhere}
.tv-dl small{opacity:.7;font-size:.75rem}
.tv-fb__title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 0}
.tv-fb__stars{margin:8px 0 0;font-size:1.25rem;letter-spacing:4px;color:rgba(248,245,237,.25)}
.tv-fb__stars .is-on{color:var(--sun)}
.tv-fb__msg{margin:8px 0 0;opacity:.85}
.tv-fb__note{margin:8px 0 0;font-size:.75rem;opacity:.65}
.tv-rate{display:flex;gap:6px;margin:12px 0}
.tv-rate .feedback-star{width:44px;height:44px;border-radius:12px;border:3px solid var(--off);background:transparent;color:var(--sun);display:grid;place-items:center;cursor:pointer;transition:transform .15s var(--ease-out)}
.tv-rate .feedback-star svg{fill:none}
.tv-rate .feedback-star:hover{transform:translateY(-2px)}
.tv-rate .feedback-star.text-yellow-400{background:var(--sun);color:var(--night);border-color:var(--night);box-shadow:3px 3px 0 var(--off)}
.tv-rate .feedback-star.text-yellow-400 svg{fill:currentColor}
.tv-fb__chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.tv-chip{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 12px;border:2px solid rgba(248,245,237,.3);border-radius:999px;background:transparent;color:var(--off);font-weight:700;font-size:.75rem;cursor:pointer}
.tv-chip:hover{border-color:var(--sky)}
.tv-fb .feedback-suggestion-active{background:var(--sun);border-color:var(--sun);color:var(--night)}
.tv-fb__text{min-height:72px;padding:12px 14px;resize:vertical}
.tv-fb__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px}
.tv-order__chat>.tv-label,.tv-order__hours>.tv-label{margin-bottom:12px}
.tv-order__upsells:empty{display:none}
.tv-order__upsell-list{display:grid;gap:10px;margin-top:12px}
.tv-order__ctas{display:flex;flex-wrap:wrap;gap:14px;justify-content:center}
@media (max-width:760px){
  .tv-order__grid{grid-template-columns:minmax(0,1fr)}
  .tv-order__ctas .tv-btn{width:100%}
}
@media (max-width:640px){
  .tv-order__ticket .tv-stamp{top:auto;bottom:96px;right:14px;transform:rotate(-12deg)}
}

/* ===== categoria, busca, conta, post, termos, blog, 404, manutenção (Task 15a) ===== */
.tv-cat__head{padding-top:24px;padding-bottom:28px;display:grid;gap:10px}
.tv-cat__banner{width:100%;height:auto;border-radius:var(--radius-xl);border:3px solid var(--off);box-shadow:8px 8px 0 var(--sun);margin-bottom:12px}
.tv-cat__desc{margin:0;max-width:60ch;opacity:.8}
.tv-sform{display:flex;align-items:center;gap:8px}
.tv-sform .tv-input{width:170px;min-height:44px;-webkit-appearance:none;appearance:none}
.tv-sform .tv-btn{width:44px;min-width:44px;padding:0}
.tv-lost__search{width:min(100%,360px)}
.tv-lost__search .tv-sform .tv-input{width:auto;flex:1}
.tv-search{display:flex;gap:12px;margin:22px 0 32px;max-width:560px}
.tv-search .tv-input{flex:1;-webkit-appearance:none;appearance:none}
.tv-account{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0 4px}
.tv-account__credit{margin:0 auto 0 0;padding:10px 14px;border:2px dashed var(--sky);border-radius:var(--radius);color:var(--sky);font-size:.875rem}
.tv-account__credit b{color:var(--off)}
.tv-minipasses{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:16px}
.tv-minipass{display:grid;grid-template-columns:1fr auto auto auto;gap:16px 24px;align-items:center;background:var(--off);color:var(--night);border:var(--tv-border);border-radius:var(--radius-lg);box-shadow:5px 5px 0 var(--deep);padding:16px 20px;background-image:repeating-linear-gradient(135deg,rgba(216,167,58,.12) 0 8px,transparent 8px 16px);background-size:120px 100%;background-repeat:no-repeat;background-position:right}
.tv-minipass__main{display:grid;gap:8px;justify-items:start;min-width:0}
.tv-minipass .tv-label--earth{color:#7a4a28}
.tv-minipass__meta{margin:0;font-size:.8125rem;opacity:.7}
.tv-minipass__facts{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0}
.tv-minipass__facts dt{font-size:.625rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;opacity:.6}
.tv-minipass__facts dd{margin:0;font-weight:700;font-size:.875rem}
.tv-minipass__price{margin:0;font-weight:900;font-size:1.25rem}
.tv-post-page{max-width:820px}
.tv-post-page__head{display:grid;gap:12px;margin-bottom:24px}
.tv-post-page__image{width:100%;height:auto;aspect-ratio:12/5;object-fit:cover;border-radius:var(--radius-xl);border:3px solid var(--off);box-shadow:8px 8px 0 var(--sun);margin-bottom:32px}
.tv-post-page__back{margin:12px 0 0;text-align:center}
.tv-terms__sub{margin:14px 0 0;max-width:60ch;opacity:.75}
.tv-section .tv-h2+.tv-prose,.tv-section .tv-terms__sub+.tv-prose{margin-top:24px}
.tv-blog__sub{margin:0 0 28px;max-width:60ch;opacity:.75}
.tv-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:24px}
.tv-post{display:flex;flex-direction:column;background:var(--off);color:var(--night);border:var(--tv-border);border-radius:var(--radius-lg);box-shadow:6px 6px 0 var(--deep);overflow:hidden;text-decoration:none;transition:transform .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.tv-post:hover{transform:translate(-2px,-2px);box-shadow:9px 9px 0 var(--deep)}
.tv-post__media{aspect-ratio:16/9;background:var(--deep);border-bottom:var(--tv-border)}
.tv-post__media img{width:100%;height:100%;object-fit:cover}
.tv-post__body{display:flex;flex-direction:column;gap:10px;padding:18px 20px 20px;flex:1}
.tv-post .tv-label--earth{color:#7a4a28}
.tv-post__title{margin:0;font-weight:800;font-size:1.125rem;line-height:1.25}
.tv-post__excerpt{margin:0;font-size:.875rem;opacity:.75}
.tv-post__more{margin-top:auto;font-weight:900;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;text-decoration:underline;text-decoration-color:var(--sun-2);text-decoration-thickness:3px;text-underline-offset:4px}
.tv-posts__more{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:28px;padding:16px 20px;border:2px dashed var(--sky);border-radius:var(--radius)}
.tv-posts__more p{margin:0}
.tv-lost{display:flex;flex-direction:column}
.tv-lost .tv-bleed{margin-top:auto}
.tv-lost__body{min-height:52vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px}
.tv-lost__body p{margin:0;max-width:52ch}
.tv-lost__body p:not(.tv-label){opacity:.8}
.tv-maint{position:relative;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:40px 0 0}
.tv-maint__logo{width:min(220px,55vw)}
.tv-maint__logo .tv-logo-sticker{display:block;width:100%;height:auto;transform:rotate(-5deg)}
.tv-maint p:not(.tv-label){max-width:440px;margin:0;opacity:.85;padding:0 var(--gutter)}
.tv-maint a{color:var(--sky)}
.tv-maint .tv-bleed{margin-top:auto}
@media (max-width:860px){
  .tv-minipass{grid-template-columns:1fr auto}
  .tv-minipass__facts{grid-column:1/-1;order:3}
  .tv-minipass .tv-btn{grid-column:1/-1;order:4}
}
@media (max-width:640px){
  .tv-search{flex-direction:column}
}

/* ===== checkout (Task 15b): reestilização de pages/checkout.html do base =====
   O JS do base (checkout.js, centralcart_script) alterna .hidden/.block/.flex em #creditcard-form,
   #installments-container, client_document, #phone-field-wrapper, #checkout_fields, #address-section,
   #cep-loading, #credit-divider, #credit-block, #credit-row e #fee-row: as classes tv- desses elementos
   (tv-co-panel, tv-co-panel__body, tv-co-stack, tv-co-perf, tv-co-credit, tv-input) NÃO definem display,
   para o .hidden do Tailwind continuar vencendo (teste em harness/tests/checkout-login.test.mjs). */
.tv-co-head{display:grid;gap:10px;margin-bottom:28px}
.tv-co-crumb ol{list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;font-size:.6875rem;letter-spacing:.2em;text-transform:uppercase}
.tv-co-crumb a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;opacity:.7}
.tv-co-crumb a[aria-current="page"]{opacity:1;color:var(--sun);font-weight:800}
.tv-co-crumb li[role="presentation"]{color:var(--sun)}
.tv-co-crumb svg{width:14px;height:14px}
.tv-co{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(24px,4vw,40px);align-items:start}
.tv-co-main{display:grid;gap:20px;min-width:0;counter-reset:tvstep}
.tv-co-panel{background:rgba(11,21,30,.72);border:2px solid rgba(248,245,237,.15);border-radius:var(--radius-xl);min-width:0}
.tv-co-panel__head{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:2px dashed rgba(248,245,237,.15)}
.tv-co-panel__title{margin:0;font-weight:900;font-size:1rem;letter-spacing:.04em;text-transform:uppercase}
/* número da etapa por contador: painéis escondidos (display:none) não contam, a numeração se ajusta */
.tv-co-step{width:34px;height:34px;flex:none;border-radius:50%;border:3px solid var(--off);display:grid;place-items:center;font-weight:900;font-size:.75rem;box-shadow:3px 3px 0 var(--sky)}
.tv-co-step::before{counter-increment:tvstep;content:counter(tvstep,decimal-leading-zero)}
.tv-co-panel__body{padding:18px 20px 20px}
.tv-co-panel__body--more{border-top:2px dashed rgba(248,245,237,.15)}
.tv-co-stack>*+*{margin-top:12px}
.tv-co-gws{display:grid;gap:12px}
.tv-co-gw{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:12px 14px;text-align:start;border:2px solid rgba(248,245,237,.2);border-radius:var(--radius);background:rgba(248,245,237,.04);color:var(--off);cursor:pointer;transition:border-color .2s var(--ease-out),box-shadow .2s var(--ease-out),transform .2s var(--ease-out)}
.tv-co-gw:hover{border-color:var(--sky)}
.tv-co-gw[data-selected="true"]{border-color:var(--sun);background:rgba(216,167,58,.08);box-shadow:4px 4px 0 var(--sun);transform:translate(-2px,-2px)}
.tv-co-gw__icon{width:44px;height:44px;flex:none;border-radius:12px;background:var(--off);border:2px solid var(--night);display:grid;place-items:center}
.tv-co-gw__icon img{width:24px;height:24px}
.tv-co-gw__info{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.tv-co-gw__top{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.tv-co-gw__name{font-weight:800;font-size:.9375rem}
.tv-co-gw__sub{font-size:.75rem;opacity:.65}
.tv-co-gw__radio{width:20px;height:20px;flex:none;border-radius:50%;border:2px solid rgba(248,245,237,.4)}
.tv-co-gw[data-selected="true"] .tv-co-gw__radio{border-color:var(--sun);background:var(--sun);box-shadow:inset 0 0 0 4px var(--night)}
.tv-co-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1.5px solid currentColor;border-radius:999px;font-size:.625rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;line-height:1.5}
.tv-co-tag svg{width:12px;height:12px}
.tv-co-tag--ok{color:var(--ok)}.tv-co-tag--info{color:var(--sky)}.tv-co-tag--sale{color:var(--sun)}
.tv-co .tv-input{-webkit-appearance:none;appearance:none}
.tv-co select.tv-input{background-color:var(--night-2)}
.tv-co .tv-input[readonly]{opacity:.7;cursor:not-allowed}
.tv-co-iconfield{position:relative}
.tv-co-iconfield .tv-input{padding-right:46px}
.tv-co-iconfield__icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:16px;height:16px;opacity:.6;pointer-events:none}
.tv-co-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.tv-co-row--wide{grid-template-columns:2fr 1fr}
.tv-co-phone{display:flex;gap:10px}
.tv-co-phone .tv-input{flex:1;min-width:0}
.tv-co-phone #phone-country-button{height:48px;border-radius:12px;border:2px solid rgba(248,245,237,.2);background:rgba(248,245,237,.06)}
.tv-discord{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:10px 18px;border:3px solid var(--night);border-radius:var(--radius);background:#5865F2;color:#fff;font-weight:800;font-size:.9375rem;box-shadow:4px 4px 0 var(--off);cursor:pointer;transition:transform .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.tv-discord:hover{transform:translate(-2px,-2px);box-shadow:6px 6px 0 var(--off)}
.tv-discord__av{width:24px;height:24px;border-radius:50%;object-fit:cover}
.tv-co-err{display:block;font-size:.75rem;font-weight:700;color:#ff9b8f}
.tv-co-err:empty{display:none}
.tv-co-finish{display:grid;gap:14px}
.tv-co-terms{display:flex;align-items:flex-start;gap:12px;font-size:.875rem}
.tv-co-terms input[type="checkbox"]{-webkit-appearance:checkbox;appearance:auto;flex:none;width:22px;height:22px;margin:0;padding:0;accent-color:var(--sun);cursor:pointer}
.tv-co-terms label{opacity:.85;cursor:pointer}
.tv-co-terms a{color:var(--sky);font-weight:700}
.tv-co-pay{min-height:62px;justify-content:space-between;font-size:1.0625rem}
/* resumo como passagem: cabeçalho de papel, picote e corpo escuro (componentes do base seguem no tema escuro) */
.tv-co-ticket{position:sticky;top:calc(var(--header-h) + 16px);min-width:0;background:var(--night-2);border:3px solid var(--off);border-radius:var(--radius-xl);box-shadow:8px 8px 0 var(--sun)}
.tv-co-ticket__head{position:relative;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:18px 20px;background:var(--off);color:var(--night);border-radius:calc(var(--radius-xl) - 3px) calc(var(--radius-xl) - 3px) 0 0;border-bottom:3px dashed var(--night)}
.tv-co-ticket__head::before,.tv-co-ticket__head::after{content:"";position:absolute;bottom:-15px;width:26px;height:26px;border-radius:50%;background:var(--night);border:3px solid var(--off)}
.tv-co-ticket__head::before{left:-16px;clip-path:inset(0 0 0 50%)}
.tv-co-ticket__head::after{right:-16px;clip-path:inset(0 50% 0 0)}
.tv-co-ticket__head .tv-label--earth{color:#7a4a28}
.tv-co-ticket__title{margin:4px 0 0;font-weight:900;font-size:1.25rem;text-transform:uppercase;line-height:1.15}
.tv-co-secure{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border:2px solid var(--night);border-radius:999px;font-size:.6875rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;background:var(--ok)}
.tv-co-secure svg{width:14px;height:14px}
.tv-co-ticket__body{display:grid;gap:16px;padding:22px 20px 20px}
.tv-co-items>*+*{margin-top:14px}
.tv-co-items--tight>*+*{margin-top:8px}
.tv-co-empty{padding:14px;border:2px dashed rgba(248,245,237,.2);border-radius:var(--radius);font-size:.875rem;opacity:.75;text-align:center}
.tv-co-perf{height:0;border-top:2px dashed rgba(248,245,237,.2)}
.tv-co-slot:empty{display:none}
.tv-co-coupon{display:flex;gap:10px}
.tv-co-coupon .tv-input{flex:1;min-width:0}
.tv-co-coupon .tv-btn{min-height:48px;flex:none;box-shadow:3px 3px 0 var(--sky)}
.tv-co-coupon .tv-btn svg{width:18px;height:18px}
.tv-co-credit{align-items:center;gap:12px;padding:12px;border:2px solid rgba(248,245,237,.2);border-radius:var(--radius);background:rgba(248,245,237,.04);cursor:pointer;transition:border-color .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.tv-co-credit[data-active="true"]{border-color:var(--sun);box-shadow:3px 3px 0 var(--sun)}
.tv-co-credit:focus-within{outline:3px solid var(--sky);outline-offset:3px}
.tv-co-credit__icon{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;background:rgba(248,245,237,.08);color:rgba(248,245,237,.7)}
.tv-co-credit__icon[data-active="true"]{background:var(--sun);color:var(--night)}
.tv-co-credit__icon svg{width:20px;height:20px}
.tv-co-credit__text{flex:1;min-width:0}
.tv-co-credit__name{display:block;font-weight:700;font-size:.875rem}
.tv-co-credit__hint{display:block;font-size:.75rem;opacity:.65}
.tv-co-credit__check{width:22px;height:22px;flex:none;border-radius:50%;border:2px solid rgba(248,245,237,.4);display:grid;place-items:center;color:transparent}
.tv-co-credit__check[data-active="true"]{border-color:var(--sun);background:var(--sun);color:var(--night)}
.tv-co-credit__check svg{width:14px;height:14px}
.tv-co-prices{list-style:none;margin:0;padding:14px 16px;border:2px dashed rgba(248,245,237,.2);border-radius:var(--radius);font-size:.875rem}
.tv-co-prices li+li{margin-top:8px}
.tv-co-prices li span:first-child{opacity:.75}
.tv-co-prices__total{padding-top:10px;border-top:2px solid rgba(248,245,237,.12);font-weight:900;font-size:1.125rem;text-transform:uppercase}
.tv-co-prices__total span:first-child{opacity:1}
.tv-co-prices__total .total-value{color:var(--sun);font-size:1.375rem}
.tv-co-dlg{display:flex;flex-direction:column;gap:20px}
@media (max-width:900px){
  .tv-co{grid-template-columns:minmax(0,1fr)}
  .tv-co-ticket{position:static}
}
@media (max-width:640px){
  .tv-co-ticket{box-shadow:5px 5px 0 var(--sun)}
  .tv-co-row--wide{grid-template-columns:1fr}
  .tv-co-panel__head,.tv-co-panel__body{padding-left:16px;padding-right:16px}
}

/* ===== login (Task 15b): cartão de embarque sobre pages/login.html do base =====
   #email-step, #otp-step e #back-to-email têm .hidden alternado por auth.js: sem display nas suas classes. */
.tv-login{display:grid;place-items:center;min-height:70vh}
.tv-auth{width:100%;max-width:460px;margin:0 auto;background:var(--off);color:var(--night);border:var(--tv-border);border-radius:24px;box-shadow:8px 8px 0 var(--sun);padding:30px 26px 26px}
.tv-auth__head{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;margin-bottom:22px}
.tv-auth__logo{width:76px;height:76px;border-radius:50%;background:var(--night);display:grid;place-items:center;box-shadow:4px 4px 0 var(--sky)}
.tv-auth__logo .tv-logo-icon{width:46px;height:auto}
.tv-auth .tv-label--earth{color:#7a4a28}
.tv-auth__title{font-size:clamp(1.5rem,1.6vw + 1rem,2rem)}
.tv-auth__title em{color:var(--sun-2)}
.tv-auth__sub{margin:0;opacity:.75}
.tv-auth__social{display:grid;gap:10px}
.tv-auth__provider{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:10px 16px;border:2.5px solid var(--night);border-radius:var(--radius);background:#fff;color:var(--night);font-weight:800;font-size:.9375rem;cursor:pointer;box-shadow:3px 3px 0 var(--night);transition:transform .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.tv-auth__provider:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 var(--night)}
.tv-auth__provider:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--night)}
.tv-auth__or{display:flex;align-items:center;gap:12px;margin:20px 0;font-size:.6875rem;font-weight:800;letter-spacing:.3em;text-transform:uppercase;opacity:.6}
.tv-auth__or::before,.tv-auth__or::after{content:"";flex:1;border-top:2px dashed rgba(17,30,41,.35)}
.tv-auth__form{display:grid;gap:16px}
.tv-auth .tv-field{margin:0}
.tv-auth .tv-input{background:#fff;border-color:rgba(17,30,41,.3);color:var(--night);-webkit-appearance:none;appearance:none}
.tv-auth .tv-input::placeholder{color:rgba(17,30,41,.45)}
.tv-auth .tv-input:focus{border-color:var(--deep-2);box-shadow:0 0 0 4px rgba(31,90,133,.2)}
.tv-auth__otp-label{margin:0 0 10px;text-align:center;font-size:.8125rem;font-weight:700}
.tv-auth__otp{display:flex;justify-content:space-between;gap:8px}
.tv-auth__digit{width:100%;max-width:52px;height:56px;min-width:0;padding:0;text-align:center;border:2.5px solid var(--night);border-radius:12px;background:#fff;color:var(--night);font:900 1.375rem var(--font);-webkit-appearance:none;appearance:none}
.tv-auth__digit:focus{outline:none;border-color:var(--deep-2);box-shadow:3px 3px 0 var(--sun)}
.tv-auth__hint{margin:10px 0 0;text-align:center;font-size:.8125rem;opacity:.75}
.tv-auth__mail{font-weight:800}
.tv-auth .tv-btn{box-shadow:5px 5px 0 var(--night)}
.tv-auth .tv-btn:hover{box-shadow:7px 7px 0 var(--night)}
.tv-auth .tv-btn:active{box-shadow:2px 2px 0 var(--night)}
.tv-auth__again{text-align:center}
.tv-auth__back{min-height:44px;padding:0 12px;border:none;background:none;color:var(--deep-2);font-weight:800;font-size:.8125rem;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
@media (max-width:420px){
  .tv-auth{padding:24px 16px 20px}
  .tv-auth__otp{gap:6px}
  .tv-auth__digit{height:50px}
}
