/* Seleção do Brasileirão — segue o DESIGN.md do Simonetti Stats */
:root{
  --fundo:#0A0A11; --s1:#12121B; --s2:#1B1B27; --s3:#282837;
  --linha:rgba(255,255,255,.07); --linha-forte:rgba(255,255,255,.15);
  --texto:#EEEDF4; --texto-2:#B5B3C4; --texto-3:#8B899C;
  --acao:#FFD72E; --acao-h:#FFE771; --acao-tinta:#17132B;
  --tinta-escura:#17132B;
  --f:"Geist",system-ui,sans-serif;
  --ease:cubic-bezier(.2,.7,.3,1);
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{background:var(--fundo);color:var(--texto);font:400 14px/1.5 var(--f);font-feature-settings:"tnum";-webkit-font-smoothing:antialiased;min-height:100vh}
::selection{background:var(--acao);color:var(--acao-tinta)}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit;color:inherit}
button{background:none;border:0;cursor:pointer}
.i{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
:focus{outline:none}
:focus-visible{outline:2px solid var(--texto);outline-offset:2px;border-radius:10px}
.only-m{display:none!important}
[hidden]{display:none!important}

/* barra superior */
.nav{height:60px;display:flex;align-items:center;gap:16px;padding:0 32px;max-width:1344px;margin:0 auto}
.brand{display:flex;align-items:center;gap:10px;font:600 13px var(--f);letter-spacing:.12em;white-space:nowrap}
.brand b{font-weight:800}
.logo{width:22px;height:22px;border-radius:5px;overflow:hidden;display:block}
.logo svg{width:100%;height:100%;display:block}
.nav-sep{width:1px;height:20px;background:var(--linha-forte)}
.nav-prod{font:500 14px var(--f);color:var(--texto-2)}
.nav-r{margin-left:auto;display:flex;gap:8px}

/* botões */
.btn{height:40px;padding:0 14px;border-radius:10px;background:var(--s2);color:var(--texto);display:inline-flex;align-items:center;justify-content:center;gap:8px;font:500 14px var(--f);white-space:nowrap;transition:background .12s var(--ease)}
.btn:hover{background:var(--s3)}
.btn.primary{background:var(--acao);color:var(--acao-tinta);font-weight:600}
.btn.primary:hover{background:var(--acao-h)}
.btn.light{background:var(--texto);color:var(--fundo);font-weight:600}
.btn.light:hover{background:#fff}
.btn.icon{width:40px;padding:0}
.btn.icon.sm{width:32px;height:32px;background:var(--s3)}
.btn.full{width:100%}
.btn[disabled]{opacity:.4;pointer-events:none}

/* título */
.wrap{max-width:1344px;margin:0 auto;padding:0 32px 48px}
.titlerow{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:20px 0 16px}
h1{font:700 30px/1.1 var(--f);letter-spacing:-.025em}
.sub{color:var(--texto-2);font-size:14px;margin-top:8px}
.titlerow-r{display:flex;gap:8px}

.grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}

/* banner do Simonetti Stats, entre o título e a prancheta */
.promo{position:relative;overflow:hidden;display:flex;align-items:center;gap:20px;margin-bottom:16px;padding:18px 24px 18px 18px;border-radius:16px;
  background:linear-gradient(90deg,var(--s1) 0%,var(--s1) 55%,rgba(57,32,215,.32) 100%);border:1px solid var(--linha)}
.promo-mos{flex:none;display:grid;grid-template-columns:repeat(4,14px);grid-auto-rows:14px;border-radius:10px;overflow:hidden}
.promo-mos i{display:block}
.promo-tx{flex:1;min-width:0}
.promo-k{font:600 12px var(--f);letter-spacing:.12em;text-transform:uppercase;color:var(--texto-3)}
.promo h2{font:600 18px/1.25 var(--f);letter-spacing:-.01em;margin:2px 0 3px}
.promo-d{font-size:14px;color:var(--texto-2)}
.promo-cta{flex:none;height:44px;padding:0 18px}

/* campo */
.pitch-col{background:var(--s1);border-radius:16px;padding:20px 24px 12px;min-width:0}
.pitch-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.teamname{display:flex;align-items:center;gap:8px;height:38px;background:var(--s2);border-radius:10px;padding:0 12px;min-width:260px;flex:0 1 320px}
.teamname .lbl{font-size:13px;color:var(--texto-3);white-space:nowrap}
.teamname input{background:none;border:0;flex:1;min-width:0;font:600 14px var(--f);color:var(--texto)}
.teamname input::placeholder{color:var(--texto-3);font-weight:500}
.teamname:focus-within{outline:2px solid var(--texto);outline-offset:2px}
.forms{display:flex;gap:3px;background:var(--s2);border-radius:10px;padding:3px}
.forms button{height:32px;padding:0 10px;border-radius:8px;font:500 13px var(--f);color:var(--texto-2);transition:background .12s var(--ease)}
.forms button:hover{color:var(--texto)}
.forms button.on{background:var(--s3);color:var(--texto)}

.pitch{position:relative;z-index:0;height:760px;margin-top:8px;user-select:none;-webkit-user-select:none}
.pitch-svg{position:absolute;inset:0;width:100%;height:100%}
.slots{position:absolute;inset:0}
.hint{white-space:nowrap;position:absolute;left:50%;bottom:8px;transform:translateX(-50%);display:flex;align-items:center;gap:8px;height:32px;padding:0 12px;border-radius:999px;background:var(--s2);font:500 13px var(--f);color:var(--texto-2);pointer-events:none;transition:opacity .16s}
.hint.off{opacity:0}

/* moldura do jogador */
.slot{position:absolute;left:0;top:0;width:var(--w);transform-origin:50% 50%;display:flex;flex-direction:column;align-items:center;cursor:pointer;-webkit-tap-highlight-color:transparent}
.slot .ph{width:100%;aspect-ratio:1/1;border-radius:10px 10px 0 0;background:var(--s3);overflow:hidden;position:relative;display:flex;align-items:flex-end;justify-content:center;transition:background .12s var(--ease)}
.slot .ph img{width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block}
.row .av .ini,.aw .av .ini,.det-head .av .ini{position:static;font:inherit;color:inherit}
.slot .ph .ini{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font:600 calc(var(--w)*.22) var(--f);color:var(--texto-2)}
.slot .pl{min-width:calc(100% + 18px);width:max-content;min-height:calc(var(--w)*.34);max-width:172px;background:var(--s2);border-radius:8px;margin-top:-1px;padding:3px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:background .12s var(--ease)}
.slot .nm{font:600 clamp(11px,calc(var(--w)*.118),13px)/1.15 var(--f);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.slot .rl{font:400 12px/1.2 var(--f);color:var(--texto-3);white-space:nowrap}
/* escudo: quatro jeitos */
.slot .cr{object-fit:contain;flex:none;display:block}
.slot .pl .cr{width:clamp(12px,calc(var(--w)*.15),16px);height:clamp(12px,calc(var(--w)*.15),16px)}
.slot .ph .cr{position:absolute;z-index:1}
[data-crest=placa] .slot .pl{flex-direction:row;gap:5px}
[data-crest=selo] .slot .ph .cr{top:5px;right:5px;width:calc(var(--w)*.22);height:calc(var(--w)*.22);filter:drop-shadow(0 0 2px rgba(10,10,17,.6))}
[data-crest=marca] .slot .ph .cr{width:95%;height:95%;left:38%;top:-12%;opacity:.4;z-index:0}
[data-crest=marca] .slot .ph img:not(.cr){position:relative;z-index:1}
.slot:not(.empty) .ph{background:radial-gradient(62% 58% at 50% 100%,rgba(226,61,110,.6),rgba(226,61,110,0) 100%),linear-gradient(180deg,rgba(57,32,215,0) 0%,rgba(106,20,255,.45) 45%,#3920D7 100%)}
.slot .nm{text-transform:uppercase;letter-spacing:.02em}
.slot:not(.empty):hover .ph{filter:brightness(1.15)}
.slot:hover .pl{background:var(--s3)}
.slot.empty .ph{background:rgba(255,255,255,.025);border:1.5px dashed var(--linha-forte);border-bottom:0;color:var(--texto-2);align-items:center}
.slot.empty .ph .i{width:40%;height:40%;stroke-width:1.4}
.slot.empty .pl{background:var(--s2)}
.slot.empty .nm{font-weight:500;color:var(--texto-2)}
.slot.empty:hover .ph{background:var(--s2);color:var(--texto)}
.slot.drag-over .ph{outline:2px solid var(--texto);outline-offset:2px}
.slot.dragging{opacity:.4}
.slot:focus-visible{outline:none}
.slot:focus-visible .ph{outline:2px solid var(--texto);outline-offset:2px}

/* lateral */
.side{display:flex;flex-direction:column;gap:16px;min-width:0}
.folha{background:var(--s1);border-radius:16px;padding:20px 20px}
.folha-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px}
h2{font:600 16px/1.3 var(--f);letter-spacing:-.01em}
.leg{font-size:12px;color:var(--texto-3)}
.note{font-size:12px;color:var(--texto-3);margin-top:10px;line-height:1.4}

.aw{display:flex;align-items:center;gap:12px;height:60px;padding:0 10px;margin:0 -10px;border-radius:10px;width:calc(100% + 20px);text-align:left;transition:background .12s var(--ease)}
.aw + .aw{border-top:1px solid var(--linha)}
.aw:hover{background:var(--s2);border-color:transparent}
.aw:hover + .aw{border-color:transparent}
.aw .av{width:40px;height:40px;border-radius:50%;background:var(--s3);overflow:hidden;flex:none;display:flex;align-items:center;justify-content:center;font:600 13px var(--f);color:var(--texto-2)}
.aw .av img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.aw .av.empty{background:transparent;border:1.5px dashed var(--linha-forte)}
.aw .tx{flex:1;min-width:0}
.aw .k{font-size:12px;color:var(--texto-3);display:block}
.aw .v{font:600 14px/1.3 var(--f);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.aw .v.muted{color:var(--texto-2);font-weight:500}
.aw .m{font-size:12px;color:var(--texto-3);display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden}
.aw .m img{width:14px;height:14px}
.aw > .i{color:var(--texto-3)}

.trow{display:flex;align-items:center;gap:12px;height:48px;border-top:1px solid var(--linha)}
.trow:first-child{border-top:0}
.trow .tn{flex:1;font-size:14px;color:var(--texto-2)}
.trow .tv{font:600 16px var(--f);min-width:36px;text-align:right}
.trow .tc{font-size:12px;color:var(--texto-3);width:118px;text-align:right;line-height:1.25}

.unlock h2{margin:14px 0 6px}
.unlock p{color:var(--texto-2);font-size:14px;line-height:1.5}
.unlock p b{color:var(--texto);font-weight:600}
.unlock-mos{width:40px;height:40px;border-radius:10px;overflow:hidden}
.unlock-mos svg{width:100%;height:100%;display:block}
.unlock-list{list-style:none;margin:12px 0 16px;display:grid;gap:8px}
.unlock-list li{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--texto-2)}
.unlock-list .i{color:var(--texto-3)}

.foot{display:flex;justify-content:space-between;margin-top:24px;padding-top:16px;border-top:1px solid var(--linha);font-size:13px;color:var(--texto-3)}
.foot a{font-weight:600;color:var(--texto)}

/* ladrilho de percentil */
.tile{height:28px;min-width:50px;padding:0 8px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font:600 13px var(--f);flex:none}
.tile.off{background:var(--s2);color:var(--texto-3)}

/* janelas */
.veil{position:fixed;inset:0;background:rgba(10,10,17,.68);z-index:40;animation:fade .16s var(--ease)}
.win{position:fixed;z-index:50;background:var(--s2);border:1px solid var(--linha-forte);border-radius:16px;animation:pop .16s var(--ease)}
@keyframes fade{from{opacity:0}}
@keyframes pop{from{opacity:0;transform:translate(-50%,-48%)}}
@keyframes up{from{transform:translateY(40px);opacity:0}}
.grab{width:36px;height:4px;border-radius:2px;background:var(--s3);margin:8px auto 4px}
h3{font:700 18px/1.2 var(--f);letter-spacing:-.015em}
.pk-sub{font-size:12px;color:var(--texto-3);margin-top:2px}

.picker{left:50%;top:50%;transform:translate(-50%,-50%);width:min(940px,calc(100vw - 48px));height:min(680px,calc(100vh - 48px));display:grid;grid-template-columns:minmax(0,1fr) 340px;overflow:hidden}
.picker.nodet{grid-template-columns:1fr;width:min(620px,calc(100vw - 48px))}
.picker.nodet .pk-det{display:none}
.pk-list{display:flex;flex-direction:column;min-height:0;min-width:0}
.pk-top{padding:20px 20px 8px;display:flex;flex-direction:column;gap:10px}
.pk-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.search{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;background:var(--s1);border-radius:10px;color:var(--texto-3)}
.search input{flex:1;background:none;border:0;color:var(--texto);font-size:14px;min-width:0}
.search input::placeholder{color:var(--texto-3)}
.search:focus-within{outline:2px solid var(--texto);outline-offset:2px}
.chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{height:32px;padding:0 12px;border-radius:999px;background:var(--s3);font:500 13px var(--f);color:var(--texto-2);white-space:nowrap;flex:none;transition:background .12s var(--ease)}
.chip:hover{background:#33334a;color:var(--texto)}
.chip.on{background:var(--texto);color:var(--fundo);font-weight:600}
.chip.on:hover{background:#fff}
.pk-ctrl2{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fsel{display:flex;align-items:center;gap:6px;height:36px;padding:0 4px 0 12px;background:var(--s1);border-radius:10px;font-size:13px;color:var(--texto-3);position:relative}
.fsel select{background:transparent;border:0;color:var(--texto);font:500 13px var(--f);height:100%;padding-right:6px;cursor:pointer;max-width:150px}
.fsel select option{background:var(--s2)}
.fsel:hover{background:var(--s3)}
.seg{display:flex;background:var(--s1);border-radius:10px;padding:3px;gap:2px}
.seg button{height:30px;padding:0 10px;border-radius:8px;font:500 13px var(--f);color:var(--texto-2)}
.seg button.on{background:var(--s3);color:var(--texto)}
.pk-ctrl2 .seg{margin-left:auto}

.pk-rows{flex:1;overflow-y:auto;padding:4px 12px 16px;overscroll-behavior:contain}
.pk-group{font:600 12px var(--f);color:var(--texto-3);padding:14px 8px 6px}
.row{display:flex;align-items:center;gap:12px;height:56px;padding:0 8px;border-radius:10px;width:100%;text-align:left;position:relative;transition:background .12s var(--ease)}
.row::after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:1px;background:var(--linha)}
.row:hover,.row.sel{background:var(--s3)}
.row:hover::after,.row.sel::after{opacity:0}
.row .av{width:36px;height:36px;border-radius:50%;background:var(--s3);overflow:hidden;flex:none;display:flex;align-items:center;justify-content:center;font:600 12px var(--f);color:var(--texto-2)}
.row.sel .av,.row:hover .av{background:var(--s1)}
.row .av img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.row .tx{flex:1;min-width:0}
.row .nm{font:600 14px/1.3 var(--f);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.row .mt{font-size:12px;color:var(--texto-3);display:flex;align-items:center;gap:5px;white-space:nowrap;overflow:hidden}
.row .mt img{width:14px;height:14px;flex:none}
.row .in{font:500 12px var(--f);color:var(--texto-2);background:var(--s1);height:22px;padding:0 8px;border-radius:999px;display:inline-flex;align-items:center;flex:none}
.row .rec{font-size:13px;color:var(--texto-2);white-space:nowrap}
.fp{display:flex;gap:2px;flex:none}
.fp i{width:8px;height:20px;border-radius:2px;display:block}
.row .val{display:flex;flex-direction:column;align-items:center;gap:2px}
.row .val small{font-size:12px;color:var(--texto-3);line-height:1}
.empty-st{max-width:380px;margin:40px auto;text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}
.empty-st .ic{width:38px;height:38px;border-radius:10px;background:var(--s3);display:flex;align-items:center;justify-content:center;margin-bottom:6px;color:var(--texto-2)}
.empty-st b{font:600 15px var(--f)}
.empty-st span{font-size:13px;color:var(--texto-2)}

/* detalhe */
.pk-det{background:var(--s1);border-left:1px solid var(--linha);display:flex;flex-direction:column;min-height:0}
.det-body{flex:1;overflow-y:auto;padding:20px;overscroll-behavior:contain}
.det-back{display:none}
.det-head{display:flex;gap:12px;align-items:center}
.det-head .av{width:64px;height:64px;border-radius:50%;background:var(--s3);overflow:hidden;flex:none;display:flex;align-items:center;justify-content:center;font:600 18px var(--f);color:var(--texto-2)}
.det-head .av img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.det-head .nm{font:700 20px/1.15 var(--f);letter-spacing:-.02em}
.det-head .fn{font-size:12px;color:var(--texto-3);margin-top:2px}
.det-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:14px;font-size:13px;color:var(--texto-2)}
.det-meta img{width:16px;height:16px}
.det-meta .dot{color:var(--texto-3)}
.det-sec{font:600 12px var(--f);color:var(--texto-3);margin:20px 0 8px;display:flex;justify-content:space-between;align-items:center}
.mos{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.mt-t{aspect-ratio:1/1;border-radius:10px;padding:8px;display:flex;flex-direction:column;justify-content:space-between}
.mt-t .l{font:500 12px/1.2 var(--f)}
.mt-t .n{font:700 22px/1 var(--f);letter-spacing:-.02em}
.mt-t .p{font:600 12px/1 var(--f);opacity:.8}
.mt-t.neu{background:var(--s2);color:var(--texto)}
.mt-t.neu .l{color:var(--texto-3)}
.regua{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:12px;color:var(--texto-3)}
.regua i{flex:1;height:6px;border-radius:3px;background:linear-gradient(90deg,#251078,#3920D7 17%,#6A14FF 33%,#C516F3 50%,#E23D6E 62%,#FF7452 75%,#FFB11B 87%,#FFE05A)}
.lockbox{margin-top:20px;background:var(--s2);border:1px solid var(--linha-forte);border-radius:14px;overflow:hidden}
.lock-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:12px 12px 0;position:relative;height:118px;overflow:hidden}
.lock-tiles::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(27,27,39,0) 30%,var(--s2) 96%)}
.mt-t.lock{aspect-ratio:auto;height:52px;padding:6px 8px;border-radius:8px}
.mt-t.lock .l{font-size:12px}
.mt-t.lock .n{font-size:18px;filter:blur(5px)}
.lock-cta{position:relative;margin-top:-28px;padding:0 16px 16px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.lock-ic{width:38px;height:38px;border-radius:50%;background:var(--texto);color:var(--fundo);display:flex;align-items:center;justify-content:center;margin-bottom:4px}
.lock-ic .i{width:18px;height:18px;stroke-width:1.8}
.lock-cta b{font:700 16px/1.25 var(--f);letter-spacing:-.01em}
.lock-cta > span:not(.lock-ic){font-size:13px;color:var(--texto-2);line-height:1.45;margin-bottom:8px}
.det-act{padding:16px 20px 20px;display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--linha)}
.det-act .warn{font-size:12px;color:var(--texto-3);line-height:1.35}
.det-empty{flex:1;display:flex;align-items:center;justify-content:center;padding:24px}

/* prévia */
.preview{left:50%;top:50%;transform:translate(-50%,-50%);width:432px;padding:20px}
.pv-h{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.pv-img{width:392px;height:490px;border-radius:10px;overflow:hidden;background:var(--fundo)}
.pv-img{position:relative}
.pv-img canvas{width:100%;height:100%;display:block}
.pv-img.busy canvas{opacity:0}
.pv-img.busy::after{content:"Montando a imagem…";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--texto-3);animation:pulse 1.2s ease-in-out infinite alternate}
@keyframes pulse{to{opacity:.6}}
.pv-bg{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:12px;color:var(--texto-3)}
.pv-act{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.btn.up{background:var(--s3)}
.btn.up:hover{background:#33334a}

.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:60;height:40px;padding:0 16px;border-radius:999px;background:var(--s2);border:1px solid var(--linha-forte);display:flex;align-items:center;gap:10px;font:500 13px var(--f);color:var(--texto-2);animation:fade .16s}
.toast b{color:var(--texto);font-weight:600}
.toast button{font-weight:600;color:var(--texto);text-decoration:underline;text-underline-offset:3px}

/* computador estreito */
@media (max-width:1279px){
  .nav,.wrap{padding-left:24px;padding-right:24px}
  .grid{grid-template-columns:minmax(0,1fr) 300px}
}

/* celular */
@media (max-width:1023px){
  .only-d{display:none!important}
  .only-m{display:flex!important}
  .nav{height:56px;padding:0 16px;gap:12px}
  .nav .btn.icon{width:38px;height:38px;background:var(--s1)}
  .nav-prod,.nav-sep{display:none}
  .wrap{padding:0 16px 120px}
  .titlerow{padding:10px 0 12px}
  h1{font-size:24px}
  .sub{font-size:13px;margin-top:6px}
  .grid{grid-template-columns:1fr;gap:10px}
  .promo{flex-wrap:wrap;gap:12px 14px;padding:14px;margin-bottom:10px;border-radius:14px;background:linear-gradient(160deg,var(--s1) 0%,var(--s1) 50%,rgba(57,32,215,.32) 100%)}
  .promo-mos{grid-template-columns:repeat(4,10px);grid-auto-rows:10px;border-radius:8px;align-self:flex-start;margin-top:3px}
  .promo h2{font-size:16px}
  .promo-d{font-size:13px}
  .promo-k{display:none}
  .promo-cta{width:100%;height:42px}
  .pitch-col{background:none;padding:0;border-radius:0}
  .pitch-head{flex-direction:column;align-items:stretch;gap:10px}
  .teamname{flex:none;min-width:0;background:var(--s1);height:44px}
  .forms{overflow-x:auto;scrollbar-width:none;background:var(--s1);justify-content:space-between}
  .forms::-webkit-scrollbar{display:none}
  .forms button{flex:1 0 auto;padding:0 4px}
  .pitch{margin:4px -16px 0;height:auto}
  .folha{border-radius:14px;padding:14px}
  .side{gap:10px}
  .foot{flex-direction:column;gap:4px}
  .mbar{position:fixed;left:0;right:0;bottom:0;height:76px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--fundo);border-top:1px solid var(--linha);z-index:30;gap:8px;align-items:center}
  .mbar .btn{height:48px}
  .mbar .btn.icon{width:48px;background:var(--s1)}
  .mbar .grow{flex:1}
  .slot .pl{padding:2px 5px;border-radius:6px;min-width:calc(100% + 10px);max-width:98px}
  .slot .rl{display:none}

  .win{border-radius:20px 20px 0 0;left:0;right:0;bottom:0;top:auto;transform:none;width:100%;border-left:0;border-right:0;border-bottom:0;animation:up .16s var(--ease)}
  .picker,.picker.nodet{width:100%;height:92vh;height:92dvh;grid-template-columns:1fr;transform:none;top:auto;display:flex;flex-direction:column}
  .picker .pk-list{flex:1}
  .picker .pk-det{display:none;flex:1;border-left:0;background:var(--s2)}
  .picker.show-det .pk-list{display:none}
  .picker.show-det .pk-det{display:flex}
  .pk-top{padding:6px 16px 8px}
  .search{height:44px}
  .pk-ctrl2 .fsel{flex:1;min-width:0}
  .pk-ctrl2 .fsel select{max-width:none;flex:1;min-width:0}
  .pk-ctrl2 .seg{margin-left:0}
  .pk-rows{padding:0 8px calc(16px + env(safe-area-inset-bottom))}
  .row .fp{display:none}
  .det-back{display:inline-flex;margin-bottom:14px}
  .det-body{padding:8px 16px 16px}
  .det-act{padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  .det-act .btn{height:48px}
  .mt-t .n{font-size:20px}
  .mt-t.neu{background:var(--s3)}
  .lockbox{background:var(--s1)}
  .lock-tiles::after{background:linear-gradient(180deg,rgba(18,18,27,0) 30%,var(--s1) 96%)}
  .fsel > span{display:none}
  .fsel{padding-left:8px}
  .preview{padding:6px 16px calc(16px + env(safe-area-inset-bottom))}
  .pv-img{width:min(300px,100%);height:auto;aspect-ratio:4/5;margin:0 auto}
  .pv-act{grid-template-columns:1fr}
  .pv-act .btn{height:44px}
  .toast{bottom:96px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
