.game-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.game-toolbar .btn{min-height:56px;padding:6px 18px}.game-info{flex-wrap:wrap;align-items:center;gap:8px 16px;font-size:1.1rem;display:flex}.deal-label{color:var(--muted);font-variant-numeric:tabular-nums}.game-status{border:3px solid var(--border);border-radius:var(--radius);background:var(--surface);min-height:3.2em;box-shadow:var(--shadow-sm);padding:10px 16px;transition:border-color .2s,box-shadow .2s}.game-status .turn{font-family:var(--font-display);font-size:var(--text-lg);margin:0;font-weight:700}.game-status p{margin:.2em 0 0}.game-status.is-your-turn{border-color:var(--highlight);background:linear-gradient(180deg, var(--highlight-soft), var(--surface) 70%);box-shadow:0 0 0 3px var(--highlight) inset, var(--shadow-md)}.move-log{color:var(--muted);margin:6px 0 0;padding:0;list-style:none}.move-log li+li{margin-top:2px}.why-btn{border:2px solid var(--primary);background:var(--surface);min-width:48px;min-height:48px;color:var(--primary);font:inherit;cursor:pointer;vertical-align:middle;border-radius:999px;margin-left:6px;padding:4px 12px;font-size:1rem;font-weight:700}.why-btn[aria-expanded=true]{background:var(--primary-soft)}.why-text{border-left:5px solid var(--primary);background:var(--primary-soft);color:var(--text);margin:4px 0 6px;padding:6px 12px;display:block}.hint-box{border-left:6px solid var(--highlight);background:var(--highlight-soft);border-radius:0 var(--radius) var(--radius) 0;box-shadow:var(--shadow-sm);color:var(--text);padding:8px 14px}.is-hint{outline:5px solid var(--highlight);outline-offset:3px}.game-dialog{border:0;border-top:8px solid var(--brass);background:var(--surface);width:min(640px,100vw - 24px);max-height:calc(100vh - 24px);box-shadow:0 0 0 2px var(--wood-dark), var(--shadow-lg);color:var(--text);border-radius:18px;padding:28px 24px 24px}.game-dialog[open]{animation:.22s ease-out dialog-in}@keyframes dialog-in{0%{opacity:0;transform:translateY(14px)scale(.97)}}.game-dialog::backdrop{background:#1c12089e}.game-dialog h2{margin-top:0;font-size:2rem}.game-dialog-buttons{flex-wrap:wrap;gap:12px;margin-top:20px;display:flex}.game-dialog fieldset{border:2px solid var(--border);border-radius:var(--radius);margin:0 0 16px;padding:8px 16px 12px}.game-dialog legend{padding:0 6px;font-weight:800}.choice{cursor:pointer;flex-wrap:wrap;align-items:center;gap:4px 10px;min-height:48px;display:flex}.choice input{flex:none;width:26px;height:26px;margin:0}.choice-help{color:var(--muted);font-size:1.05rem}.choice-help a{font-weight:600}.text-input{border:2px solid var(--text);width:100%;max-width:260px;min-height:52px;font:inherit;border-radius:8px;margin-top:4px;padding:6px 12px;display:block}.results-table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.results-table th,.results-table td{border-bottom:1px solid var(--border);text-align:left;padding:8px 10px}.results-table thead th{border-bottom:3px solid var(--brass);font-family:var(--font-display)}.results-table td.num,.results-table th.num{text-align:right}.results-table tr.is-winner{background:var(--highlight-soft);font-weight:800}.all-hands{gap:12px;display:grid}.all-hands h3{margin:0 0 4px;font-size:1.15rem}.all-hands .hand-row{--card-w:46px;flex-wrap:wrap;gap:4px;display:flex}.guide-panel{border:3px solid var(--primary);border-radius:var(--radius);background:var(--primary-soft);box-shadow:var(--shadow-md);margin:0 0 12px;padding:14px 18px}.guide-step{color:var(--muted);margin:0;font-weight:700}.guide-text{margin:4px 0 10px}.guide-buttons{flex-wrap:wrap;gap:10px;display:flex}.guide-target{outline-offset:4px;border-radius:8px;animation:1.4s ease-in-out infinite guide-pulse;outline:6px solid var(--focus)!important}@keyframes guide-pulse{50%{outline-color:var(--highlight)}}.reduce-motion .guide-target{animation:none}.felt{background:var(--felt-bg);background-color:var(--felt);border:8px solid var(--felt-edge);box-shadow:var(--shadow-md), inset 0 0 0 2px #00000059, inset 0 2px 0 3px #ffffff0d, inset 0 0 60px #00000047;color:#fff;border-radius:20px}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.settings-group{margin:0 0 20px}.settings-group>h3{border-bottom:3px solid var(--brass);margin:0 0 8px;padding-bottom:4px;font-size:1.35rem}.play-dock{gap:12px;display:grid}@media (width<=767px){div.play-dock{z-index:20;max-height:62vh;margin:0 calc(-1 * var(--gutter));padding:8px var(--gutter) calc(8px + env(safe-area-inset-bottom));background:var(--bg);border-top:3px solid var(--border);flex-direction:column;gap:6px;display:flex;position:sticky;bottom:0;overflow-y:auto;box-shadow:0 -6px 14px #0000002e}.play-dock>*{flex:none}.play-dock .btn{min-height:56px}.play-dock .dock-scroll{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;overflow-x:auto}}.more-menu{position:relative}.more-menu>summary{cursor:pointer;min-height:56px;list-style:none}.more-menu>summary::-webkit-details-marker{display:none}.more-menu-list{z-index:40;border:3px solid var(--text);border-radius:var(--radius);background:var(--surface);gap:8px;min-width:220px;padding:10px;display:grid;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 8px 20px #00000040}.more-menu-list .btn{justify-content:flex-start;width:100%}.game-dock-status,.is-docked{margin:0}@media (width<=767px){.play-dock .is-docked{max-height:calc(var(--dock-status-lines,4) * 1.3em + 8px);font-size:1.25rem;line-height:1.3;overflow-y:auto;border-width:2px!important;min-height:0!important;padding:2px 10px!important}.play-dock .is-docked p,.play-dock .is-docked h2,.play-dock .is-docked h3{margin:0!important;font-size:1.25rem!important}.play-dock .is-docked .turn,.play-dock .is-docked p[class$=-turn]{display:inline;margin-right:6px!important;font-size:1.25rem!important}.play-dock .is-docked ul li:not(:last-child){display:none}.play-dock .is-docked ul{padding:0;margin:2px 0 0!important}.play-dock .is-docked .why-btn{min-height:48px;padding:2px 10px}}
