#team-bench{margin:8px 0 12px}#team-bench h3{font-size:12px;letter-spacing:1px;color:#c5d9c5;margin:0 0 3px}.live-dugout{position:relative;width:100%;aspect-ratio:450/112;background:url('/bench-front.svg') center/100% 100% no-repeat}.live-seats{position:absolute;left:1.444444%;width:96%;top:17%;height:73%;display:grid;grid-template-columns:repeat(9,minmax(0,1fr))}.live-seat{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:0 1px!important;border:0!important;border-radius:3px;background:transparent!important;color:#f3f7df;position:relative;cursor:pointer}.live-seat canvas{width:100%;max-width:44px;height:auto;aspect-ratio:1;image-rendering:pixelated;filter:drop-shadow(0 1px 1px #071916)}.live-seat>span{max-width:100%;font-size:clamp(6px,1.9vw,9px);font-weight:800;line-height:1.1;text-align:center;overflow-wrap:anywhere;text-shadow:0 1px 2px #000;background:#112a25d9;padding:2px 1px;border-radius:2px}.live-seat.empty{display:grid;place-items:center}.live-seat.empty>span{font-size:24px;line-height:1;padding:0;background:none;transform:translateY(2px)}.live-seat:focus-visible{outline:2px solid #bdf452;outline-offset:-2px}.live-bench-picker{width:min(92vw,440px);max-height:80vh;box-sizing:border-box;overflow:auto;background:#122e29;color:#eef8dc;border:1px solid #a6cb69;border-radius:14px;padding:16px}.live-bench-picker::backdrop{background:#001714c9}.live-bench-picker button{color:inherit;background:#254b3e;border:1px solid #60856b;border-radius:8px;padding:8px;cursor:pointer;margin:3px}.live-bench-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}.live-bench-options button{display:flex;flex-direction:column;align-items:center;min-width:0}.live-bench-options canvas{width:60px;height:60px;image-rendering:pixelated}.live-bench-options span{font-size:12px}

.live-seat:not(.empty)>span{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;overflow-wrap:normal}

.live-bench-picker{position:fixed;inset:0;margin:auto;max-height:calc(100dvh - 32px);height:fit-content;transform:none}.live-seat.drag-over{background:#c2ed6240!important;outline:2px solid #c2ed62;outline-offset:-2px}

#roster-view .collection-card{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

.live-bench-options .bench-choice-portrait{display:block;width:100%;height:60px;object-fit:contain;object-position:center;image-rendering:pixelated}
/* Fill each picker tile with the substitution portrait; keep its face at the left. */
.live-bench-options button{position:relative;height:94px;overflow:hidden;padding:0;isolation:isolate}
.live-bench-options .bench-choice-portrait{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:left center}
.live-bench-options button>span{position:absolute;left:3px;right:3px;bottom:7px;z-index:1;text-align:center;font-size:12px;font-weight:900;line-height:1.15;color:#fff;paint-order:stroke fill;-webkit-text-stroke:2px #10211c;text-shadow:0 2px 3px #000,1px 0 #10211c,-1px 0 #10211c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.live-seat:not(.empty){touch-action:none;user-select:none;-webkit-user-select:none}
