/* Five Durak interaction improvements; existing table art and seat geometry stay intact. */
body.durak-open .d-connection{margin:8px 16px;padding:10px 12px;border:1px solid #b79a5c;border-radius:12px;background:#302a1b;color:#f2dfb6;font-size:12px}
body.durak-open .d-connection button{margin-left:8px;color:inherit;text-decoration:underline;background:none;border:0;padding:5px}
body.durak-open .d-hand-card{touch-action:pan-x;transition:transform .18s,filter .18s;cursor:grab}
body.durak-open .d-hand-card.d-legal-card:not(.selected){filter:drop-shadow(0 0 4px #d7bd75aa)}
body.durak-open .d-hand-card.d-unavailable-card:not(.selected){filter:saturate(.65) brightness(.76)}
body.durak-open .d-pair.d-legal-target{outline:2px solid #c6e6ae;outline-offset:3px;border-radius:9px}
body.durak-open .d-drop-hover{filter:drop-shadow(0 0 8px #c1dfa6)!important;outline:2px solid #e3d18b!important;outline-offset:4px}
body.durak-open .d-drag-origin{opacity:.25}
.d-flight{position:fixed;pointer-events:none;z-index:99999;width:52px;height:76px;transform:translate(-50%,-50%)}
.d-flight .d-card,.d-flight .d-back{width:52px!important;height:76px!important;position:relative!important;inset:auto!important;display:block!important}
.d-flight .d-card-face{width:100%;height:100%}
.d-flight .d-trump-mark{display:none}
.d-drag-ghost{filter:drop-shadow(0 8px 10px #0008)}
body.durak-open .d-results{margin:18px 14px;padding:20px 14px;border:1px solid #b59b6080;border-radius:22px;background:linear-gradient(145deg,#1e3a2b,#10261e);color:#ede9d7}
body.durak-open .d-results[hidden],body.durak-open .d-connection[hidden]{display:none!important}
body.durak-open .d-results h3{font-size:28px;margin:8px 0}
body.durak-open .d-results p{font-size:13px;line-height:1.5;color:#b9c8b8}
body.durak-open .d-result-kicker{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#dfc88d}
body.durak-open .d-result-columns,body.durak-open .d-result-row{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,.8fr));align-items:center;gap:6px;padding:9px 4px;border-bottom:1px solid #ffffff12;font-size:12px}
body.durak-open .d-result-columns{font-size:10px;color:#b9c8b8}
body.durak-open .d-result-row>span:not(:first-child),body.durak-open .d-result-row>strong,body.durak-open .d-result-columns>span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
body.durak-open .d-result-row b{display:block;overflow-wrap:anywhere}
body.durak-open .d-result-row small{display:block;font-size:10px;color:#c1c9b9;margin-top:5px}
body.durak-open .d-result-self{background:#dfc88d0c}
body.durak-open .d-results>small{display:block;margin-top:16px;font-size:11px;color:#c6cbb9}
body.durak-open .positive{color:#a4e5b4}body.durak-open .negative{color:#efa797}
body.durak-open .d-show-result .d-arena,body.durak-open .d-show-result .d-hand,body.durak-open .d-show-result .d-player-line,body.durak-open .d-show-result .d-status,body.durak-open .d-show-result .d-table-meta{display:none!important}
body.durak-open .d-actions{flex-wrap:wrap}
body.durak-open .d-offline .d-actions button:not([data-d=exit]){opacity:.5}
@media(prefers-reduced-motion:reduce){body.durak-open .d-hand-card{transition:none}}
