#arrangement-dialog{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:22px;background:#14251d;color:#e7dec9;border:1px solid #ae935c;border-radius:14px}#arrangement-dialog::backdrop{background:#030b08ba;backdrop-filter:blur(5px)}#arrangement-dialog h2{font:28px var(--serif);margin:0}#arrangement-dialog p{font-size:13px;line-height:1.7;color:#bdc9b9}.arrange-modes{display:flex;flex-wrap:wrap;gap:8px}.arrange-modes [aria-pressed=true]{border-color:#dec48a;background:#465038}.arrange-candidates{display:grid;grid-template-columns:1fr 1fr;gap:8px}.arrange-combo{padding:12px;text-align:left;border:1px solid #8f845e55;border-radius:8px;background:#26372c;color:#ead7a6;min-height:72px}.arrange-combo strong,.arrange-combo span,.arrange-combo small{display:block}.arrange-combo span{margin-top:6px;font:16px Georgia}.arrange-combo small{color:#b8c9b4;font-size:11px}.card-size{display:flex;align-items:center;gap:5px;font-size:10px;color:#d5c798}.card-size input{width:66px;accent-color:#dbc68e;min-height:30px}.card-size output{width:30px}.mobile-play-tools .card-size{display:none}.sort-buttons{flex-wrap:wrap}.my-cards .hand-card{contain:layout style}
@media(pointer:coarse),(max-width:959px){
 .mobile-play-tools .card-size{display:flex}.my-cards.cards-zoomed .hand-card{width:calc(76px * var(--card-scale,1))!important;flex-basis:calc(76px * var(--card-scale,1))!important;height:calc(100px * var(--card-scale,1))!important}.my-cards.cards-zoomed{min-height:calc(115px * var(--card-scale,1));align-items:end}.my-cards.cards-zoomed .hand-card .card-rank{font-size:calc(27px * var(--card-scale,1))!important}.my-cards.cards-zoomed .hand-card .card-suit{font-size:calc(21px * var(--card-scale,1))!important;top:35%}.landscape-table .arena:has(.cards-zoomed){--hand-h:calc(115px * var(--card-scale,1))}.landscape-table .mobile-play-tools{gap:3px}.landscape-table #mobile-fullscreen{display:none}.landscape-table .card-size>span{display:none}
}
@media(max-width:760px) and (orientation:portrait){
 .match-toolbar .mobile-play-tools{justify-content:space-between;gap:4px}.mobile-play-tools .quiet{font-size:11px;min-height:34px;padding:4px 8px}#mobile-settings,#mobile-sort{display:block}.rotate-hint{display:none}.match-focused{overflow:hidden}.match-focused #content{height:100dvh;overflow:hidden}.match-focused .match-shell{display:flex;flex-direction:column;width:100%;height:100dvh;max-width:none;margin:0;padding:0 8px env(safe-area-inset-bottom);gap:4px}.match-focused .match-toolbar{position:relative;flex-shrink:0;padding:5px 0;gap:4px;min-height:86px}.match-focused .mode-switch{padding:2px}.match-focused .mode-switch button{font-size:12px;padding:7px 10px;min-height:34px}.match-focused .table-tools{gap:4px}.match-focused .table-tools .quiet{font-size:11px;min-height:34px;padding:5px 8px}.match-focused .sound-toggle{width:30px;height:30px;min-width:30px}.match-focused .mobile-play-tools{margin:0}.match-focused .match-score{height:39px;min-height:39px;padding:0 8px;gap:8px}.match-focused .team-score strong{font-size:25px}.match-focused .team-score span{font-size:9px}.match-focused .team-score span+span{display:none}.match-focused .deal-level b{font-size:12px}.match-focused .deal-level span{font-size:9px}.match-focused .mode-explainer,.match-focused .level-track,.match-focused .table-details,.match-focused .match-notice{display:none!important}
 .match-focused .arena{position:relative;flex:1;min-height:0;padding:0;border-radius:12px;overflow:hidden;background:radial-gradient(ellipse at 50% 28%,#31513c,#11251b 70%)}.match-focused .arena:before,.match-focused .arena:after{display:none}.match-focused #rival-seats{display:block;position:static}.match-focused .rival-seat{position:absolute;width:87px;padding:5px;margin:0;background:#12231dc9;border-radius:8px}.match-focused .rival-seat[data-seat="2"]{top:4px;left:50%;right:auto;transform:translateX(-50%);width:150px}.match-focused .rival-seat[data-seat="3"]{top:90px;left:4px;right:auto;transform:none}.match-focused .rival-seat[data-seat="1"]{top:90px;right:4px;left:auto;transform:none}.match-focused .rival-seat .seat-heading{display:flex;flex-direction:row;gap:4px;min-height:38px}.match-focused .rival-seat .seat-portrait{width:23px;height:33px}.match-focused .rival-seat .seat-meta strong{font-size:13px;white-space:nowrap}.match-focused .rival-seat .seat-meta small{font-size:9px}.match-focused .seat-role{font-size:7px}.match-focused .seat-action{position:static!important;font-size:9px!important;min-height:12px;max-height:14px;overflow:hidden;margin:2px 0}.match-focused .rival-hand,.match-focused .rival-hidden{display:none}.match-focused .rival-peek{position:static!important;width:100%!important;min-height:26px!important;margin:0!important;padding:3px!important;font-size:9px}
 .match-focused .table-felt{position:absolute;left:95px;right:95px;top:95px;bottom:auto;margin:0;padding:4px;height:100px;min-height:0;border:0;background:transparent}.match-focused .turn-banner{font-size:10px;line-height:1.4}.match-focused .trick-cards{gap:2px;flex-wrap:wrap;min-height:35px;margin:5px 0}.match-focused .trick-cards .match-card{width:24px;height:34px}.match-focused .trick-cards .card-rank{font-size:12px;top:2px;left:3px}.match-focused .trick-cards .card-suit{font-size:10px;top:17px;left:3px}.match-focused .trick-cards .card-center{display:none}.match-focused .trick-caption{font-size:9px;line-height:1.4}.match-focused .self-seat{display:none!important}.match-focused .hand-area{position:absolute;left:6px;right:6px;bottom:103px;top:210px;margin:0;padding:0;border:0;display:flex;flex-direction:column;justify-content:end;min-height:0}.match-focused .hand-topline{display:none}.match-focused .hand-arrange{display:none}.match-focused .my-cards:not(.cards-zoomed){display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px 3px;padding:8px 0;height:min(100%,234px);min-height:0;overflow:visible}.match-focused .my-cards:not(.cards-zoomed) .hand-card{height:100%;min-height:0}.match-focused .my-cards:not(.cards-zoomed) .card-rank{font-size:19px;top:4px;left:4px}.match-focused .my-cards:not(.cards-zoomed) .card-suit{font-size:15px;top:27px;left:4px}.match-focused .my-cards:not(.cards-zoomed) .card-center{font-size:20px;opacity:.25;bottom:3px}.match-focused .my-cards.cards-zoomed{flex-shrink:0;height:auto;max-height:100%;padding:12px 3px;overflow-x:auto;overflow-y:hidden}.match-focused .move-dock{position:absolute;bottom:0;left:0;right:0;margin:0;height:97px;padding:6px;background:#14271f;box-shadow:none;backdrop-filter:none;display:flex;flex-direction:column;gap:5px}.match-focused .selection-summary{width:100%;margin:0;height:31px;overflow:auto}.match-focused .selection-summary strong{font-size:12px}.match-focused .selection-summary>span{font-size:10px;min-height:0}.match-focused .move-buttons{width:100%;gap:5px}.match-focused .move-buttons button{min-height:43px;font-size:13px;padding:7px}.match-focused .selection-summary:has(#interpretation:not([hidden])){display:grid;grid-template-columns:1fr 130px}.match-focused #interpretation{grid-column:2;grid-row:1 / span 2;font-size:10px;min-height:29px}.match-focused .round-result{position:absolute;inset:5px;overflow:auto;z-index:40;margin:0}.arrange-candidates{grid-template-columns:1fr}
}
@media(max-width:760px) and (orientation:portrait) and (max-height:700px){.match-focused .hand-area{top:187px}.match-focused .rival-seat[data-seat="1"],.match-focused .rival-seat[data-seat="3"]{top:75px}.match-focused .table-felt{top:80px}}
@media(hover:none) and (prefers-reduced-motion:no-preference){.hero-noir .hero-deal{transform:translateY(calc(var(--mobile-drift,0px) * -1))}.deck-arrived .reveal-card{animation:mobile-deal .65s cubic-bezier(.2,.75,.2,1) both;animation-delay:calc(var(--card-order)*90ms)}.hero-noir .stage-orbit{animation:orbit-breathe 5s ease-in-out infinite}.reveal-card:hover{transform:rotate(var(--card-angle))}.reveal-card.is-revealed{transform:translateY(-12px) rotate(var(--card-angle))}}
@keyframes mobile-deal{from{opacity:0;translate:0 60px;scale:.8}to{opacity:1;translate:0 0;scale:1}}@keyframes orbit-breathe{50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.hero-noir .hero-deal{transform:none!important}.reveal-card,.stage-orbit{animation:none!important}}
@media(max-width:760px) and (orientation:portrait){.match-focused .rival-seat[data-seat="2"]{width:180px;display:grid;grid-template-columns:1fr 64px;gap:2px 4px;align-items:center}.match-focused .rival-seat[data-seat="2"] .seat-heading{min-height:40px;height:40px;text-align:left}.match-focused .rival-seat[data-seat="2"] .seat-action{grid-column:1 / -1;grid-row:2}.match-focused .rival-seat[data-seat="2"] .rival-peek{grid-column:2;grid-row:1}.match-focused .rival-seat[data-seat="2"] .seat-portrait{height:33px;width:23px}.match-focused .rival-seat[data-seat="2"] .seat-meta strong{font-size:13px}}
.hand-browser{display:none}.hand-browser[hidden]{display:none!important}
@media(max-width:959px),(pointer:coarse){
 .hand-browser{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-shrink:0;height:34px;color:#e0cda0;position:relative;z-index:6}.hand-browser .quiet{min-height:30px;padding:4px 6px;font-size:10px;white-space:nowrap}.hand-browser button:disabled{opacity:.3}.hand-browser span{font-size:10px;text-align:center;line-height:1.3}.my-cards.cards-zoomed{overscroll-behavior-x:contain;scroll-padding-inline:4px;scrollbar-width:thin}.my-cards.cards-zoomed .hand-card{height:var(--zoom-card-height,100px)!important;scroll-snap-align:start}.my-cards.cards-zoomed .hand-card .card-rank{font-size:min(calc(27px * var(--card-scale,1)),calc(var(--zoom-card-height,100px)*.32))!important}.my-cards.cards-zoomed .hand-card .card-suit{font-size:min(calc(21px * var(--card-scale,1)),calc(var(--zoom-card-height,100px)*.25))!important;top:38%!important}.my-cards.cards-zoomed .card-center{font-size:24px!important;opacity:.25}
}
@media(max-width:760px) and (orientation:portrait){
 .match-focused .my-cards.cards-zoomed,.my-cards.cards-zoomed{display:grid!important;grid-auto-flow:column;grid-template-rows:repeat(2,var(--zoom-card-height,100px));grid-template-columns:none;grid-auto-columns:calc(76px * var(--card-scale,1));gap:8px;padding:10px 4px!important;height:auto!important;min-height:0!important;max-height:none!important;overflow-x:auto!important;overflow-y:hidden!important;align-items:stretch;justify-content:start}.match-focused .my-cards.cards-zoomed .hand-card,.my-cards.cards-zoomed .hand-card{width:100%!important;min-width:0;transform-origin:center}.match-focused .my-cards.cards-zoomed .hand-card[aria-pressed=true]{transform:translateY(-4px);border-width:2px}.match-focused .hand-area:has(.cards-zoomed){justify-content:end}.hand-browser{min-height:34px}
}
@media(orientation:landscape) and (max-height:600px) and (min-width:560px){
 .landscape-table .arena:has(.cards-zoomed){--hand-h:calc(100px * var(--card-scale,1) + 52px)}.landscape-table .hand-area:has(.cards-zoomed){display:flex;flex-direction:column}.landscape-table .my-cards.cards-zoomed{flex:1;min-height:0;height:calc(100px * var(--card-scale,1) + 16px);padding:10px 4px 2px}.landscape-table .hand-browser{height:34px;min-height:34px;justify-content:center;gap:18px}.landscape-table .hand-browser .quiet{min-width:65px}
}
@media(max-width:959px),(pointer:coarse){.my-cards.cards-zoomed,.my-cards.cards-zoomed .hand-card{touch-action:pan-x}}
