/* Painel flutuante, sem caixa de fundo; imagens preservam sua proporção. */
#table-decks {--deck-panel-height:calc(100dvh - var(--session-height,48px) - 190px);--deck-card-height:max(16px,calc((var(--deck-panel-height) - 110px - 10vh)/3));width:clamp(240px,22vw,300px);max-height:var(--deck-panel-height);background:transparent;border:0;border-radius:0;box-shadow:none;padding:0 4px 8px;}
#table-decks summary {text-shadow:0 1px 3px #000;}
#table-decks {scrollbar-width:none;}
#table-decks::-webkit-scrollbar {display:none;}
#table-decks > :is(#spawn-deck,#draw-equip-deck,#draw-pimp-deck) {gap:2px;margin:10px 0;background:transparent;border:0;}
#table-decks .card,#table-decks .card:nth-child(1) {width:min(90%,calc(var(--deck-card-height)*303/434));justify-self:center;background:transparent;border:0;border-radius:10px;aspect-ratio:303/434;}
#table-decks .card:first-child {justify-self:end;}
#table-decks .card:last-child {justify-self:start;}
#table-decks .card img {object-fit:contain;user-select:none;-webkit-user-drag:none;}
#table-decks .cardSelect {outline:2px solid #f0ce62;outline-offset:2px;}
#table-decks #dice-container,#table-decks #dice-container > .container {background:transparent;border:0;box-shadow:none;}
#last-spawn,#equip-last img,#pimp-last img {cursor:zoom-in;touch-action:pan-y;}
#table-decks img:focus-visible {outline:2px solid #f0ce62;outline-offset:-3px;}
.drawn-card-preview {position:fixed;inset:0;z-index:15000;display:grid;place-items:center;pointer-events:none;}
.drawn-card-preview[hidden] {display:none;}
.drawn-card-preview img {width:auto;height:auto;max-width:min(84vw,480px);max-height:82dvh;object-fit:contain;border:0;border-radius:8px;box-shadow:0 8px 35px #0009;}
@media(max-width:700px){#table-decks{--deck-panel-height:calc(100dvh - var(--session-height,48px) - 90px);width:min(46vw,240px);}}
