/* Card-bound native hit areas share the visual card's exact stacking order. */
.card-touch-face{position:absolute;inset:0;border-radius:inherit;pointer-events:none}
.card-touch-input{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;opacity:0!important;appearance:auto!important;-webkit-appearance:auto!important;cursor:pointer;touch-action:inherit;border-radius:inherit;z-index:2}
.playing-card:has(.card-touch-input:focus-visible),.uno-card:has(.card-touch-input:focus-visible){outline:2px solid #ddd;outline-offset:3px}
.playing-card[data-submitting=true],.uno-card[data-submitting=true]{filter:brightness(.8);translate:0 -12px}
.cards-page .card-seat[data-active=true] .card-seat-top{background:#444;box-shadow:0 5px 14px #0003}
.cards-page .card-seat[data-active=true] .card-seat-avatar,.uno-seat[data-active=true] .uno-seat-avatar{background:linear-gradient(145deg,#e0e0e0,#aaa);color:#272727;box-shadow:inset 0 1px #fff6,0 3px 8px #0004}
.cards-page .card-seat[data-active=true] .card-seat-name,.uno-seat[data-active=true] .uno-seat-name{color:#fff;font-weight:600}
.uno-seat[data-active=true]::after{content:'';position:absolute;bottom:0;left:50%;width:24px;height:3px;background:#cfcfcf;border-radius:3px;transform:translateX(-50%)}
.uno-seat[data-active=true] .uno-seat-meta{color:#e7e7e7}
.card-hand-caption[data-mine=true],.uno-hand-top[data-mine=true]{color:#eee}
.card-hand-caption[data-mine=true] #cards-self,.uno-hand-top[data-mine=true] #uno-self{background:linear-gradient(#ddd,#bdbdbd);color:#242424;padding:6px 11px;border-radius:7px;box-shadow:inset 0 1px #fff6,0 2px 6px #0003;font-weight:550}
.cards-page .card-table-status[data-ownership=mine],.uno-page #uno-turn[data-ownership=mine]{background:linear-gradient(135deg,#494949,#373737)}
@media(prefers-reduced-motion:reduce){[data-submitting=true]{translate:none!important}}

.uno-card[disabled]{cursor:default}.uno-card[disabled]:hover{translate:0 0}.uno-hand .uno-card{touch-action:pan-x}
