/* Cosmetic layers only. Existing geometry, actions and state indicators remain native. */
.spanish-card--back>.cosmetic-background-layer{z-index:2!important}
.domino-piece>.cosmetic-background-layer{border-radius:inherit}
.domino-piece>.domino-piece__face,.domino-piece>.domino-piece__divider{position:relative;z-index:1}
.domino-piece.is-back:has(>.cosmetic-background-layer[data-cosmetic-ready="true"])>.domino-piece__back{visibility:hidden}
.domino-table>.cosmetic-background-layer{inset:7px!important;border-radius:23px!important}
.connect4-board{isolation:isolate}
.connect4-cell{position:relative;z-index:1}
.connect4-cell:has(>.cosmetic-background-layer[data-cosmetic-ready="true"]){background:#0a0e1b}
.connect4-game[data-cosmetic-disc-skin] .connect4-player.player-1{color:#ef7885}
.connect4-game[data-cosmetic-disc-skin] .connect4-player.player-2{color:#f0c361}
@media(max-width:700px){.domino-table>.cosmetic-background-layer{inset:5px!important;border-radius:18px!important}}
.cosmetic-default-preview{display:flex;position:relative;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;min-width:0;overflow:hidden;pointer-events:none}
.cosmetic-default-preview>.spanish-card{width:56px;height:84px;flex-basis:56px}
.cosmetic-default-preview>.domino-piece{width:36px;height:66px;flex:none;min-width:0;min-height:0}
.cosmetic-default-preview>.domino-table{display:block;width:100%;height:100%;min-height:0;padding:0;grid-template:none}
.cosmetic-default-preview__board{display:block;width:100%;height:100%;object-fit:contain}
.cosmetic-default-preview__pawn{display:block;width:22%;height:45%;object-fit:contain}
.cosmetic-default-preview>.connect4-board{width:min(100%,112px);height:auto;aspect-ratio:7/6;max-height:100%;min-height:0;grid-template-rows:repeat(6,minmax(0,1fr));padding:6px;gap:3px;border-radius:12px}
.cosmetic-default-preview>.connect4-board>.connect4-cell{width:100%;height:100%;min-height:0}
.cosmetic-default-preview>.connect4-cell{width:40px;height:40px;flex:none}
