/* My Car Collection — visual: asfalto, faixa amarela e vermelho de corrida */
:root{
  --asfalto:#1d2129; --asfalto2:#2a303b; --faixa:#ffc21a; --vermelho:#e63329; --azul:#1769e0; --verde:#1f9d55;
  --fundo:#f3f4f6; --card:#fff; --tinta:#1d2129; --cinza:#6b7280; --linha:#e2e5ea;
  --r:16px; --sombra:0 2px 6px rgba(20,25,35,.06),0 10px 24px rgba(20,25,35,.07);
  --cond:"Barlow Condensed","Arial Narrow",Arial,sans-serif; --txt:"Barlow",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:17px/1.5 var(--txt);color:var(--tinta);background:var(--fundo);min-height:100vh;display:flex;flex-direction:column}
a{color:var(--azul);text-decoration:none}
h1,h2,h3{font-family:var(--cond);line-height:1.1;margin:0 0 .4em;letter-spacing:.01em}
h1{font-size:2.2rem;text-transform:uppercase} h2{font-size:1.5rem} h3{font-size:1.4rem}
h3 small{display:block;font:600 .8rem var(--txt);color:var(--cinza);text-transform:uppercase;letter-spacing:.08em}
code{background:#e9ecf1;padding:1px 6px;border-radius:6px}
.muted{color:var(--cinza)} .center{text-align:center} .small{font-size:.85rem}
main{width:100%;max-width:1180px;margin:0 auto;padding:22px 18px 40px;flex:1}

/* ---------- Topo: pista ---------- */
.top{background:var(--asfalto);color:#fff;display:flex;align-items:center;gap:12px;padding:12px 18px 18px;position:sticky;top:0;z-index:20;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:10px;color:#fff;font:italic 700 1.35rem var(--cond);letter-spacing:.03em;white-space:nowrap}
.logo b{color:var(--faixa)} .logo .carsvg{width:46px;fill:var(--vermelho)}
.carsvg .win{fill:rgba(255,255,255,.75)} .carsvg .hub{fill:#cfd4dc} .carsvg circle{fill:#111}
.top nav{display:flex;gap:4px;flex:1;flex-wrap:wrap}
.top nav a{color:#d5d9e0;padding:9px 11px;white-space:nowrap;border-radius:10px;font-weight:600;min-height:44px;display:flex;align-items:center;gap:6px;transition:background .2s,color .2s}
.top nav a:hover{background:var(--asfalto2);color:#fff} .top nav a.on{background:var(--faixa);color:var(--asfalto)}
.who{display:flex;align-items:center;gap:12px} .who a{color:#fff;display:flex;align-items:center;gap:8px;font-weight:600}
.who .out{color:#aab1bd;font-weight:500}
.avatar{width:38px;height:38px;border-radius:50%;background:var(--vermelho);color:#fff;display:inline-grid;place-items:center;font:700 1.15rem var(--cond);flex:none}
.lane{position:absolute;left:0;right:0;bottom:0;height:6px;background:repeating-linear-gradient(90deg,var(--faixa) 0 34px,transparent 34px 60px);background-color:#11141a}
.runner{position:absolute;bottom:3px;left:-70px;width:50px;animation:drive 2.6s cubic-bezier(.3,.6,.4,1) .2s 1 both}
.runner .carsvg{width:50px;fill:var(--vermelho);display:block}
@keyframes drive{from{left:-70px}to{left:calc(100% + 20px)}}
.badge{background:var(--vermelho);color:#fff;border-radius:99px;padding:1px 9px;font:700 .8rem var(--txt);font-style:normal;display:inline-block}
.badge.ok{background:var(--verde)}

.foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;color:var(--cinza);font-size:.9rem;border-top:1px solid var(--linha)}
.link{background:none;border:0;color:var(--azul);font:inherit;cursor:pointer;padding:6px}

/* ---------- Peças ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 20px;border-radius:12px;border:2px solid var(--linha);background:#fff;color:var(--tinta);font:600 1rem var(--txt);cursor:pointer;transition:transform .12s,box-shadow .2s,background .2s}
.btn:hover{box-shadow:var(--sombra)} .btn:active{transform:scale(.97)}
.btn-go{background:var(--vermelho);border-color:var(--vermelho);color:#fff}
.btn-dark{background:var(--asfalto);border-color:var(--asfalto);color:#fff}
.btn-sm{min-height:40px;padding:6px 14px;font-size:.92rem}
.btn-danger{color:var(--vermelho)}
label{display:block;font-weight:600;margin:0 0 14px}
input,select,textarea{display:block;width:100%;margin-top:6px;padding:12px 14px;min-height:48px;border:2px solid var(--linha);border-radius:12px;font:inherit;background:#fff;color:var(--tinta)}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(23,105,224,.25);border-color:var(--azul)}
.flash{padding:12px 16px;border-radius:12px;margin:0 0 16px;font-weight:600;animation:pop .35s ease}
.flash-ok{background:#e4f6ea;color:#14633a} .flash-err{background:#fde8e6;color:#a3211a} .flash-warn{background:#fff4d1;color:#7a5a00}
@keyframes pop{from{transform:translateY(-8px);opacity:0}}
.panel{background:var(--card);border-radius:var(--r);box-shadow:var(--sombra);padding:22px;margin-bottom:20px}
.narrow{max-width:520px;margin-inline:auto}
.title{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.title small{font:500 1rem var(--txt);color:var(--cinza);text-transform:none}
.title .back{font-size:2rem;line-height:1;padding:0 8px}
.inline{display:inline}
.sw{display:inline-block;width:.85em;height:.85em;border-radius:50%;border:1px solid rgba(0,0,0,.25);margin-right:.35em;vertical-align:-.05em}
.chip{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:99px;background:#eef0f4;border:0;font:500 .92rem var(--txt);color:var(--tinta);cursor:pointer}

/* ---------- Login ---------- */
body.auth{background:linear-gradient(180deg,var(--asfalto) 0 46%,var(--fundo) 46%)}
body.auth .top nav,body.auth .who{display:none}
body.auth main{display:grid;place-items:start center;padding-top:40px}
.auth-card{background:#fff;border-radius:22px;box-shadow:0 20px 50px rgba(0,0,0,.25);padding:30px 28px;width:100%;max-width:430px;animation:rise .5s ease both}
.auth-card h1 b{color:var(--vermelho)} .auth-card h1{font-style:italic;margin-bottom:0}
.auth-card .btn{width:100%;margin:6px 0 14px}
.auth-hero{height:74px;border-bottom:5px dashed var(--faixa);margin-bottom:18px;position:relative;overflow:hidden}
.auth-hero .carsvg{width:120px;fill:var(--vermelho);position:absolute;bottom:0;left:0;animation:park 1.4s cubic-bezier(.2,.8,.3,1) both}
.auth-hero.wait .carsvg{animation:idle 1.2s ease-in-out infinite alternate;left:calc(50% - 60px)}
@keyframes park{from{left:-130px}to{left:calc(50% - 60px)}}
@keyframes idle{to{transform:translateY(-2px)}}
@keyframes rise{from{transform:translateY(18px);opacity:0}}

/* ---------- Garagem ---------- */
.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 18px;align-items:center}
.toolbar input,.toolbar select{margin:0;width:auto;flex:1;min-width:180px}
.toolbar select{flex:0 1 230px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.gcard{background:var(--card);border-radius:var(--r);box-shadow:var(--sombra);overflow:hidden;display:flex;flex-direction:column;animation:rise .5s ease both;animation-delay:calc(var(--i,0)*60ms);transition:transform .25s,box-shadow .25s}
.gcard:hover{transform:translateY(-4px);box-shadow:0 6px 12px rgba(20,25,35,.08),0 18px 36px rgba(20,25,35,.12)}
.gcard .pic{display:block;position:relative;aspect-ratio:4/3;background:#dfe3ea;overflow:hidden}
.pic img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.gcard:hover .pic img{transform:scale(1.05)}
.nopic{width:100%;height:100%;display:grid;place-content:center;justify-items:center;gap:4px;color:#8a93a1;font-size:.8rem;background:repeating-linear-gradient(135deg,#e7eaef 0 14px,#dfe3ea 14px 28px)}
.nopic .carsvg{width:55%;max-width:150px;fill:#aeb5c0}
.gcard .code,.gcard .mini{position:absolute;top:10px;padding:3px 10px;border-radius:8px;font:700 .95rem var(--cond);letter-spacing:.04em}
.gcard .code{left:10px;background:var(--faixa);color:var(--asfalto)}
.gcard .mini{right:10px;background:rgba(29,33,41,.85);color:#fff;text-transform:uppercase}
.gcard .done{position:absolute;bottom:10px;right:10px;background:var(--verde);color:#fff;border-radius:99px;padding:2px 10px;font-weight:600;font-size:.82rem}
.gbody{padding:16px 18px 18px;display:flex;flex-direction:column;gap:10px;flex:1}
.gbody h3{margin:0} .gbody h3 a{color:inherit}
.meta{margin:0;color:var(--cinza);font-size:.92rem}
.mini-stats{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.mini-stats li{background:#f3f4f6;border-radius:10px;padding:6px 4px;text-align:center;min-width:0}
.mini-stats span{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:var(--cinza)}
.mini-stats b{font:700 1rem var(--cond);white-space:nowrap}
.empty{text-align:center;padding:50px 20px} .empty .carsvg{width:160px;fill:#c5cbd5}

/* estrada de progresso */
.trip{background:var(--asfalto);color:#fff;border-radius:var(--r);padding:16px 20px 14px;margin-bottom:20px}
.trip p{margin:10px 0 0;font-weight:600}
.road{height:10px;border-radius:99px;background:#e2e5ea;overflow:hidden;margin:6px 0 4px}
.road i{display:block;height:100%;background:var(--verde);border-radius:99px;transition:width 1s cubic-bezier(.3,.7,.3,1)}
.road.big{height:30px;background:#3a414e;overflow:visible;position:relative;border-radius:8px;background-image:repeating-linear-gradient(90deg,rgba(255,255,255,.35) 0 18px,transparent 18px 36px);background-size:100% 3px;background-repeat:no-repeat;background-position:center}
.road.big i{background:none;position:relative;min-width:56px}
.road.big .carsvg{position:absolute;right:0;top:1px;width:56px;fill:var(--faixa)}
.road.big::after{content:"🏁";position:absolute;right:-4px;top:-14px;font-size:1.3rem}

/* ---------- Votação ---------- */
.vote .q{margin:0 0 6px;font-size:.98rem}
.scale{display:grid;grid-template-columns:repeat(11,1fr);gap:4px;margin-bottom:14px}
.scale label{margin:0;position:relative}
.scale input{position:absolute;opacity:0;width:100%;height:100%;margin:0;min-height:0;cursor:pointer}
.scale span{display:grid;place-items:center;height:42px;border-radius:9px;background:#eef0f4;font:700 1.05rem var(--cond);transition:transform .15s,background .15s,color .15s}
.scale input:checked+span{background:var(--asfalto);color:var(--faixa);transform:scale(1.14)}
.scale input:focus-visible+span{outline:3px solid var(--azul)}
.vote .btn{width:100%}
.vote.sending{opacity:.5;pointer-events:none}
.gauges{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gauge{position:relative;text-align:center}
.gauge svg{width:100%;max-width:150px;display:block;margin:0 auto}
.gauge path{fill:none;stroke-width:10;stroke-linecap:round}
.g-bg{stroke:#e6e9ee} .g-fg{stroke:var(--azul);stroke-dashoffset:var(--off);animation:rev 1.3s cubic-bezier(.3,.7,.2,1) both}
.g-red .g-fg{stroke:var(--vermelho)} .g-yellow .g-fg{stroke:var(--faixa)}
@keyframes rev{from{stroke-dashoffset:125.66}}
.gauge b{display:block;font:700 1.9rem var(--cond);margin-top:-34px;line-height:1}
.gauge span{display:block;font-size:.8rem;color:var(--cinza);margin-top:8px}
.stamp{background:#e4f6ea;color:#14633a;border-radius:10px;padding:8px 12px;margin:0 0 10px;font-size:.95rem;text-align:center}
.result p:last-child{margin:6px 0 0}
.reveal{animation:flip .7s cubic-bezier(.3,.7,.3,1) both;transform-origin:center}
@keyframes flip{from{transform:perspective(700px) rotateY(90deg);opacity:0}}

/* ---------- Cadastro de carro ---------- */
.steps{display:flex;gap:0;margin:0 0 22px;padding:0;list-style:none;counter-reset:s}
.steps li{flex:1;text-align:center;font-weight:600;color:var(--cinza);position:relative;padding-top:44px;counter-increment:s}
.steps li::before{content:counter(s);position:absolute;top:0;left:50%;translate:-50% 0;width:36px;height:36px;border-radius:50%;background:#dfe3ea;color:#fff;display:grid;place-items:center;font:700 1.2rem var(--cond);z-index:1}
.steps li::after{content:"";position:absolute;top:16px;left:-50%;width:100%;height:4px;background:repeating-linear-gradient(90deg,#cfd4dc 0 10px,transparent 10px 18px)}
.steps li:first-child::after{display:none}
.steps li.done::before{background:var(--verde);content:"✓"} .steps li.now::before{background:var(--vermelho);animation:pulse 1.6s ease-in-out infinite}
.steps li.now{color:var(--tinta)} .steps li.done::after,.steps li.now::after{background:var(--verde)}
@keyframes pulse{50%{box-shadow:0 0 0 8px rgba(230,51,41,.18)}}
.fgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 18px}
.fgrid .full{grid-column:1/-1}
fieldset{border:0;padding:0;margin:0 0 14px} legend{font-weight:600;padding:0;margin-bottom:8px}
.picks{display:flex;flex-wrap:wrap;gap:8px}
.picks label{margin:0;position:relative}
.picks input{position:absolute;opacity:0;inset:0;min-height:0;margin:0;cursor:pointer}
.picks span{display:inline-flex;align-items:center;min-height:44px;padding:6px 14px;border-radius:99px;border:2px solid var(--linha);background:#fff;font-weight:500;transition:all .15s}
.picks input:checked+span{border-color:var(--asfalto);background:var(--asfalto);color:#fff}
.picks input:focus-visible+span{outline:3px solid var(--azul)}
.similar{grid-column:1/-1;background:#fff4d1;border:2px solid var(--faixa);border-radius:12px;padding:12px 16px;margin-bottom:14px;animation:pop .3s ease}
.similar[hidden]{display:none}
.similar ul{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.similar li a{display:flex;align-items:center;gap:10px;background:#fff;border-radius:10px;padding:6px 10px;color:var(--tinta)}
.similar img,.similar .nopic{width:56px;height:42px;object-fit:cover;border-radius:6px;flex:none}
.similar .nopic span{display:none}
.hint{font-weight:400;color:var(--cinza);font-size:.85rem}
.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:20px}
.slot{background:#f3f4f6;border-radius:var(--r);padding:12px;text-align:center}
.slot h3{margin-bottom:8px}
.slot .view{aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#dfe3ea;margin-bottom:10px;position:relative}
.slot .view img{width:100%;height:100%;object-fit:cover}
.slot.busy .view::after{content:"enviando…";position:absolute;inset:0;background:rgba(29,33,41,.6);color:#fff;display:grid;place-items:center;font-weight:600}
.slot.ok .view{outline:4px solid var(--verde);animation:pop .3s}
.slot label.btn{width:100%;margin:0 0 6px} .slot input[type=file]{display:none}
.slot .rm{font-size:.85rem}

/* ---------- Página do carro ---------- */
.car{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;align-items:start}
.gallery .main{aspect-ratio:4/3;border-radius:var(--r);overflow:hidden;background:#dfe3ea;box-shadow:var(--sombra)}
.gallery .main img{width:100%;height:100%;object-fit:cover;animation:fade .35s}
@keyframes fade{from{opacity:0;transform:scale(1.03)}}
.thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}
.thumbs button{border:3px solid transparent;border-radius:12px;padding:0;overflow:hidden;background:#dfe3ea;cursor:pointer;aspect-ratio:4/3;position:relative}
.thumbs button.on{border-color:var(--vermelho)}
.thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.thumbs span{position:absolute;left:0;right:0;bottom:0;background:rgba(29,33,41,.75);color:#fff;font-size:.75rem;padding:2px}
.ficha{list-style:none;margin:0 0 16px;padding:0;border-radius:12px;overflow:hidden;border:1px solid var(--linha)}
.ficha li{display:flex;justify-content:space-between;gap:10px;padding:9px 14px}
.ficha li:nth-child(odd){background:#f6f7f9}
.ficha b{font:700 1.15rem var(--cond)}
.plate{display:inline-block;background:var(--faixa);color:var(--asfalto);font:700 1.2rem var(--cond);padding:2px 12px;border-radius:8px;margin-right:8px;vertical-align:middle}
.hist{white-space:pre-line}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
table.voters{width:100%;border-collapse:collapse} .voters td,.voters th{padding:8px 10px;text-align:left;border-bottom:1px solid var(--linha)} .voters td:nth-child(n+2),.voters th:nth-child(n+2){text-align:center}

/* ---------- Pessoas e mensagens ---------- */
.people{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.people li{display:flex;gap:14px;align-items:center;padding:12px 14px;border-radius:12px;background:#f6f7f9;flex-wrap:wrap}
.people li.pending{background:#fff4d1}
.people li>div:nth-child(2){flex:1;min-width:200px}
.people small{display:block;color:var(--cinza);font-size:.86rem}
.acts{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
details summary{list-style:none} details summary::-webkit-details-marker{display:none}
details form{display:flex;gap:6px;margin-top:6px} details input{margin:0;min-height:40px;padding:6px 10px;width:150px}
.bubbles{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.bubble{max-width:78%;padding:10px 14px;border-radius:16px;background:#eef0f4;align-self:flex-start;animation:rise .3s ease both}
.bubble.me{align-self:flex-end;background:var(--asfalto);color:#fff}
.bubble p{margin:0} .bubble small{opacity:.65;font-size:.75rem}
.send{display:grid;gap:10px} .send textarea{margin:0} .ideas{display:flex;gap:8px;flex-wrap:wrap}

/* ---------- Bio ---------- */
.bio-hero{background:var(--asfalto);color:#fff;border-radius:var(--r);padding:28px;display:flex;gap:24px;align-items:center;flex-wrap:wrap;position:relative;overflow:hidden;margin-bottom:20px}
.bio-hero::after{content:"";position:absolute;right:-30px;top:0;bottom:0;width:150px;background:conic-gradient(#fff 25%,#000 0 50%,#fff 0 75%,#000 0) 0 0/36px 36px;opacity:.1;transform:skewX(-14deg)}
.bio-pic{width:130px;height:130px;border-radius:50%;border:5px solid var(--faixa);overflow:hidden;background:var(--vermelho);display:grid;place-items:center;font:700 4rem var(--cond);flex:none}
.bio-pic img{width:100%;height:100%;object-fit:cover}
.bio-hero h1{font-size:2.8rem;margin:0;font-style:italic} .bio-hero p{margin:4px 0 0;font-size:1.15rem;color:#d5d9e0}
.bio-hero .nums{display:flex;gap:22px;margin-top:12px} .bio-hero .nums b{font:700 1.8rem var(--cond);color:var(--faixa);display:block;line-height:1}
.bio-hero .nums span{font-size:.8rem;color:#aab1bd}
.bio-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.bio-grid .panel{margin:0;border-top:5px solid var(--faixa);animation:rise .5s ease both;animation-delay:calc(var(--i,0)*80ms)}
.bio-grid .panel:nth-child(2n){border-top-color:var(--vermelho)} .bio-grid .panel:nth-child(3n){border-top-color:var(--azul)}
.bio-grid p{white-space:pre-line;margin:0}
.comments{list-style:none;padding:0;margin:0 0 16px;display:grid;gap:10px}
.comments li{display:flex;gap:12px;background:#f6f7f9;border-radius:12px;padding:12px 14px}
.comments li>div{flex:1} .comments p{margin:2px 0 0;white-space:pre-line}
.comments .liked{color:var(--vermelho);font-weight:600;font-size:.85rem}

/* ---------- Cartas (impressão) ---------- */
.sheets{display:grid;gap:20px;justify-content:center}
.sheet{width:210mm;min-height:297mm;background:#fff;box-shadow:var(--sombra);padding:8mm;display:grid;gap:0;align-content:start;justify-content:center}
.sheet.m-s{grid-template-columns:repeat(3,63mm);grid-auto-rows:88mm}
.sheet.m-l{grid-template-columns:repeat(2,95mm);grid-auto-rows:135mm}
.sheet.m-k{grid-template-columns:repeat(2,95mm);grid-auto-rows:66mm}
.trunfo{border:.3mm dashed #9aa1ad;padding:2mm;display:flex;flex-direction:column;overflow:hidden;background:#fff;color:#1d2129;-webkit-print-color-adjust:exact;print-color-adjust:exact;font-family:var(--txt)}
.trunfo header{display:flex;align-items:center;gap:1.5mm;background:#1d2129;color:#fff;border-radius:2mm 2mm 0 0;padding:1mm 2mm;font:700 9pt var(--cond)}
.trunfo .code{background:#ffc21a;color:#1d2129;border-radius:1mm;padding:0 1.6mm;font-size:11pt}
.trunfo .mini{text-transform:uppercase;letter-spacing:.06em;flex:1}
.trunfo .flag{width:9mm;height:4mm;background:conic-gradient(#fff 25%,#1d2129 0 50%,#fff 0 75%,#1d2129 0) 0 0/2mm 2mm;border-radius:.6mm}
.trunfo .pic{height:27mm;background:#dfe3ea;border-bottom:1mm solid #e63329;flex:none;overflow:hidden}
.trunfo .pic img{width:100%;height:100%;object-fit:cover}
.trunfo .nopic span{display:none} .trunfo .nopic .carsvg{width:30mm}
.trunfo .body{flex:1;display:flex;flex-direction:column;min-height:0}
.trunfo h3{font-size:11.5pt;margin:1mm 0 0;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.trunfo h3 small{font-size:6pt;letter-spacing:.08em}
.trunfo .meta{font-size:6pt;margin:.4mm 0 .8mm;color:#555}
.trunfo .stats{list-style:none;margin:0;padding:0;flex:1;display:flex;flex-direction:column}
.trunfo .stats li{flex:1;display:flex;justify-content:space-between;align-items:center;padding:0 1.5mm;font-size:7pt;border-radius:.8mm}
.trunfo .stats li:nth-child(odd){background:#eef0f4}
.trunfo .stats b{font:700 9pt var(--cond)}
.trunfo footer{font-size:4.6pt;text-align:center;color:#888;letter-spacing:.1em;text-transform:uppercase;margin-top:.6mm}
.trunfo .hist{font-size:7pt;line-height:1.25;margin:0 0 1.5mm;color:#333;white-space:normal}
.t-l{padding:3mm} .t-l .pic{height:52mm} .t-l h3{font-size:17pt} .t-l h3 small{font-size:8pt} .t-l .meta{font-size:8pt}
.t-l .stats li{font-size:9.5pt} .t-l .stats b{font-size:12.5pt} .t-l header{font-size:12pt} .t-l .code{font-size:14pt} .t-l footer{font-size:6pt}
.t-k{flex-direction:row;flex-wrap:wrap;border-style:solid;border-color:#cfd4dc;border-radius:3mm}
.t-k header{width:100%;flex:none} .t-k .pic{width:40mm;height:auto;flex:1 1 40mm;max-width:40mm;border-bottom:0;border-right:1mm solid #e63329}
.t-k .body{flex:1 1 40mm;padding-left:2mm;height:calc(100% - 12mm)} .t-k footer{width:100%}
.rules{padding:4mm;font-size:7.5pt;line-height:1.3;justify-content:center}
.rules h3{font-size:13pt;margin-bottom:1.5mm;white-space:normal} .rules ol{margin:0;padding-left:4mm} .rules li{margin-bottom:1mm}
.t-l.rules{font-size:11pt} .t-l.rules h3{font-size:20pt}
.pickcars{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;max-height:260px;overflow:auto;margin-bottom:14px}
.pickcars label{display:flex;align-items:center;gap:8px;margin:0;font-weight:500;background:#f6f7f9;border-radius:10px;padding:8px 10px}
.pickcars input,.check input{width:22px;height:22px;min-height:0;margin:0;flex:none}
.check{display:flex;align-items:center;gap:8px}

@media print{
  @page{size:A4;margin:0}
  body{background:#fff;display:block} .top,.foot,.noprint,.flash{display:none!important}
  main{max-width:none;padding:0;margin:0}
  .sheets{display:block} .sheet{box-shadow:none;page-break-after:always;break-after:page;margin:0;height:297mm;min-height:0}
  .sheet:last-child{page-break-after:auto;break-after:auto}
}
@media screen and (max-width:820px){
  .car,.bio-grid,.fgrid{grid-template-columns:1fr} .slots{grid-template-columns:1fr}
  .top{position:static} h1{font-size:1.8rem}
  .sheets{zoom:.5}
}
/* Modo calmo: sem movimento */
.calm *,.calm *::before,.calm *::after{animation:none!important;transition:none!important}
.calm .runner{display:none}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.runner{display:none}}
