.py-root{margin:12px 0 0}.py-game{gap:10px;min-width:0;display:grid}.py-toolbar .btn{flex:auto;min-height:56px}.py-toolbar .py-undo{font-size:1.35rem}.py-toolbar .btn:disabled{opacity:.5;cursor:default}@media (width<=767px){.py-toolbar{flex-wrap:nowrap;gap:6px}.py-toolbar>.btn,.py-toolbar .more-menu>summary{text-align:center;flex:1 1 0;min-width:0;min-height:56px;padding:4px 6px;font-size:1.25rem;line-height:1.1}.py-toolbar .more-menu{flex:1 1 0;min-width:0;display:flex}.py-toolbar .more-menu>summary{gap:3px;width:100%;padding:4px 2px}.py-toolbar .more-menu-list .btn{min-height:56px}}.py-info{font-variant-numeric:tabular-nums;font-size:1.25rem}.py-info>.deal-label{color:var(--text);font-family:var(--font-display);font-weight:700}@media (width>=768px){.py-info{gap:8px}.py-info>span{border:2px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm);border-radius:999px;padding:1px 14px}.py-info>.deal-label{border-color:var(--brass);background:linear-gradient(180deg, #fff8e3, var(--surface-2))}}@media (width<=767px){.py-info{gap:2px 14px}.py-info-extra{display:none}}.py-status{min-height:5.4em}@media (width<=767px){.py-status{min-height:8.2em;padding:8px 12px;line-height:1.35}}.py-status .hint-box{margin-top:4px}.py-status-buttons{flex-wrap:wrap;gap:10px;margin-top:8px;display:flex}.py-status-buttons .btn{min-height:56px}.py-felt{padding:16px 12px 14px;position:relative;overflow:hidden}@media (width<=600px){.py-felt{margin-inline:calc(-1 * var(--gutter,16px));border-left:0;border-right:0;border-radius:0;padding:12px 3px 10px}}.py-table{--py-w:48px;--py-gap:4px;--card-w:var(--py-w);-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.py-pyramid{flex-direction:column;align-items:center;padding-top:10px;display:flex}.py-row{align-items:flex-start;gap:var(--py-gap);height:calc(var(--card-w) * 1.4 * .44);pointer-events:none;display:flex}.py-row:last-child{height:calc(var(--card-w) * 1.4)}.py-gap{width:var(--card-w);flex:none}.py-card{width:var(--card-w);aspect-ratio:100/140;border-radius:calc(var(--card-w) * .08);font:inherit;color:inherit;cursor:pointer;pointer-events:auto;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:0 0;border:0;flex:none;margin:0;padding:0;display:block;position:relative}.py-card .card{pointer-events:none;width:100%}.py-card:focus-visible{outline:4px solid var(--focus);outline-offset:2px;z-index:4}.py-card.is-free .card{filter:drop-shadow(0 2px 2px #00000080)drop-shadow(0 6px 7px #00000059)}.py-card.is-covered{cursor:default}.py-card.is-covered .card{filter:none}.py-card.is-covered .card-bg{fill:#b9b2a3;stroke:#5d564a}.py-card.is-covered .card-ink{opacity:.5}@media (hover:hover) and (pointer:fine){.py-card.is-free{transition:transform .12s ease-out}.py-card.is-free:hover{transform:translateY(-3px)}}.py-card.is-selected,.py-card.is-selected:hover{z-index:5;outline:5px solid var(--highlight);outline-offset:0;transform:translateY(-10px);box-shadow:0 0 0 8px #0000008c,0 14px 14px #00000080}.py-card.is-selected .card-bg{stroke:var(--highlight);stroke-width:8px}.py-hint{outline:5px solid var(--highlight);outline-offset:2px;z-index:3;animation:.9s ease-in-out 3 py-hint}.py-hint-tag{background:var(--highlight);color:#000;pointer-events:none;border:2px solid #000;border-radius:999px;padding:0 6px;font-size:.9rem;font-weight:800;line-height:1.3;position:absolute;bottom:6%;left:50%;transform:translate(-50%)}@keyframes py-hint{50%{outline-offset:6px}}.py-card.is-leaving{animation:.17s ease-in forwards py-leave}@keyframes py-leave{to{opacity:0;transform:scale(.8)}}.reduce-motion .py-hint,.reduce-motion .py-card.is-leaving{animation:none}.reduce-motion .py-card.is-free:hover{transform:none}@media (prefers-reduced-motion:reduce){.py-hint{animation:none}.py-card.is-free{transition:none}}.py-piles{border-top:2px dashed #ffffff4d;justify-content:center;align-items:flex-start;gap:16px;margin-top:16px;padding-top:14px;display:flex}.py-pile{--card-w:max(64px, var(--py-w));width:calc(var(--card-w) + 28px);justify-items:center;gap:8px;display:grid}.py-pile-cards{position:relative}.py-pile-cards .py-card{z-index:1}.py-pile-cards .py-card.is-selected{z-index:5}.py-pile.has-more .py-pile-cards:before,.py-pile.has-more .py-pile-cards:after{content:"";border-radius:calc(var(--card-w) * .08);background:#e9dfc6;border:1.5px solid #3a332a;position:absolute;inset:0}.py-pile.has-more .py-pile-cards:before{transform:translate(6px,5px)}.py-pile.has-more .py-pile-cards:after{transform:translate(3px,2.5px)}.py-slot{width:var(--card-w);aspect-ratio:100/140;border-radius:calc(var(--card-w) * .08);background:#00000024;border:3px dashed #ffffff80;display:block}.py-pile-label,.py-pass{color:#fff;text-align:center;text-shadow:0 1px 2px #0009;margin:0;font-size:1.25rem;font-weight:700;line-height:1.15}.py-turn{flex:0 240px;align-content:start;gap:10px;min-width:0;display:grid}.py-turn-btn{text-align:center;min-height:72px;padding:8px 10px;line-height:1.15}.py-turn-btn.is-off{opacity:.6;cursor:default}@media (width<=480px){.py-piles{gap:8px}.py-pile{width:calc(var(--card-w) + 32px)}}.py-legend-2{margin:0 0 4px;font-weight:700}@media (width>=1080px){.py-table{position:relative}.py-piles{pointer-events:none;border:0;justify-content:flex-start;margin:0;padding:0;position:absolute;inset:0 0 auto}.py-piles>*{pointer-events:auto}.py-turn{flex:0 0 230px;margin-left:auto}}.py-root .game-dialog .btn{min-height:56px}.py-settings .choice{min-height:48px}
