/* TRUCO V10 — PWA, mesas de 6/8 e controles maiores */
.install-app-button{width:100%;color:#ffe38a!important;border:1px solid rgba(255,214,86,.25)!important;border-radius:10px!important;background:rgba(255,203,55,.08)!important}
.install-help{position:fixed;z-index:8000;inset:0;display:grid;place-items:center;padding:18px;background:rgba(2,12,7,.78);backdrop-filter:blur(7px)}
.install-help[hidden]{display:none!important}
.install-help-card{width:min(390px,100%);padding:18px;border:1px solid rgba(255,217,108,.38);border-radius:20px;display:grid;grid-template-columns:64px minmax(0,1fr);gap:13px;background:linear-gradient(150deg,#153522,#08170f);box-shadow:0 25px 70px rgba(0,0,0,.6)}
.install-help-card img{border-radius:15px;box-shadow:0 8px 25px rgba(0,0,0,.35)}
.install-help-card strong{display:block;margin:2px 0 5px;font-size:17px}.install-help-card p{margin:0;color:#c7d9cd;font-size:13px;line-height:1.45}
.install-help-card button{grid-column:1/-1;min-height:42px;border:0;border-radius:12px;color:#1d1602;background:linear-gradient(145deg,#ffd965,#e9ad26);font-weight:900;cursor:pointer}
.mode-hint{margin-top:-4px!important}
.room-table-clean .table-seats.seats-6{grid-template-columns:repeat(3,minmax(0,1fr))}
.room-table-clean .table-seats.seats-8{grid-template-columns:repeat(4,minmax(0,1fr))}
.room-table-clean .table-seats.seats-6 .table-seat,
.room-table-clean .table-seats.seats-8 .table-seat{min-height:76px}
@media(max-width:700px){
 .field input,.field select{min-height:47px;font-size:15px}
 .button.button-full{min-height:48px;font-size:14px}
 .tool-accordion summary b{font-size:16px}.tool-accordion summary small{font-size:12px}
 .room-table-clean .table-seats.seats-6,.room-table-clean .table-seats.seats-8{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .room-table-clean .table-seats.seats-6 .table-seat,.room-table-clean .table-seats.seats-8 .table-seat{min-height:76px;padding:6px}
 .room-table-clean .table-seats.seats-6 .seat-avatar,.room-table-clean .table-seats.seats-8 .seat-avatar{width:34px;height:34px}
 .room-table-clean .table-seats.seats-6 .ready-status,.room-table-clean .table-seats.seats-8 .ready-status{font-size:7px;padding:3px 5px}
}
@media(display-mode:standalone){
 body{padding-top:env(safe-area-inset-top)}
 .topbar{padding-top:0}
}

/* V12 — seleção de time na sala */
.team-picker-card{width:min(760px,100%);margin:12px auto 0;padding:12px 14px;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,320px);align-items:center;gap:12px;border:1px solid rgba(117,233,174,.24);border-radius:17px;background:linear-gradient(145deg,rgba(12,48,31,.96),rgba(5,28,17,.96));box-shadow:0 12px 32px rgba(0,0,0,.22)}
.team-picker-copy strong{display:block;color:#f2fff7;font-size:15px;line-height:1.15}.team-picker-copy small{display:block;margin-top:4px;color:#a9c8b6;font-size:11px;line-height:1.3}
.team-picker-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.team-choice{min-height:49px;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid rgba(255,255,255,.13);border-radius:13px;color:#e9fff2;background:rgba(255,255,255,.055);font:inherit;font-weight:900;cursor:pointer;transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}
.team-choice:not(:disabled):active{transform:scale(.98)}.team-choice b{min-width:38px;padding:4px 7px;border-radius:999px;color:#bfe8ce;background:rgba(0,0,0,.25);font-size:11px;text-align:center}
.team-choice.is-selected{border-color:#55dc94;background:linear-gradient(145deg,rgba(38,146,91,.48),rgba(16,83,49,.62));box-shadow:0 0 0 2px rgba(80,220,144,.12),0 8px 20px rgba(0,0,0,.18)}
.team-choice.is-selected b{color:#062415;background:#8df0b5}.team-choice:disabled{cursor:default;opacity:.72}.team-choice:disabled:not(.is-selected){opacity:.38}
@media(max-width:700px){.team-picker-card{margin-top:9px;padding:10px;grid-template-columns:1fr;gap:8px}.team-picker-copy{text-align:center}.team-picker-copy strong{font-size:14px}.team-choice{min-height:46px;font-size:13px}}
