/* Local opt-in skin. All gameplay/card identity/animation remains in existing modules. */
.casino-theme{--gold:#d6bb80;--ivory:#f5efdf;background:radial-gradient(ellipse at 50% 20%,#172a2a,#0b1417 75%);color:var(--ivory)}
.casino-preview-banner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:15px 20px;margin-bottom:26px;border:1px solid #d6bb8045;border-radius:12px;background:#152c28;font-size:12px}.casino-preview-banner strong,.casino-preview-banner a{color:var(--gold)}.casino-preview-banner span{color:#b7c8bf}
.casino-theme :is(#game>.casino-board,#friend-board.casino-board,.replay-table.casino-board){position:relative;border-radius:90px;border:1px solid #ad945875;padding:32px 66px;background:radial-gradient(ellipse at 50% 45%,#1b5746,#103f34 50%,#0b2c26);box-shadow:0 25px 65px #0007,inset 0 0 0 7px #071e1b,inset 0 0 0 8px #bd9d5b40,inset 0 0 70px #0004}
.casino-board:before{content:"";position:absolute;inset:19px;border:1px solid #d6bb802b;border-radius:72px;pointer-events:none;background:repeating-linear-gradient(15deg,transparent 0 3px,#ffffff02 3px 4px)}
.casino-board .score{position:relative;max-width:520px;gap:15px}.casino-identity{display:flex;align-items:center;gap:12px;min-width:0}.casino-identity h2{font:normal 19px Georgia,serif;margin:5px 0 0}.casino-role{font-size:8px;letter-spacing:2px;color:#b8cec1}.casino-health{border:1px solid #d6bb8050;border-radius:10px;padding:10px 14px;background:linear-gradient(125deg,#0b2925,#173d31);color:#e5cf9d;white-space:nowrap;font:normal 23px Georgia,serif;box-shadow:0 5px 12px #0002}.casino-health:before{content:'♡';margin-right:9px;color:var(--gold)}
.casino-board .hand-row{gap:34px;margin:21px 0;position:relative}.casino-board .hand{gap:17px}.casino-board .hand-row:after{content:'';width:67px;flex-shrink:0}.casino-board .deck-pile{width:67px;flex-shrink:0}.casino-board .deck-pile>span:first-child{height:94px;border:1px solid #bba366;border-radius:7px;background:repeating-linear-gradient(45deg,transparent 0 9px,#bda36c13 9px 10px),repeating-linear-gradient(-45deg,#10243a 0 9px,#bda36c20 9px 10px);color:#d6bb80;box-shadow:2px 3px 0 #182b3b,3px 4px 0 #ad985e,5px 6px 0 #152835,6px 7px 0 #9f8c5b,7px 12px 18px #0005;font-size:30px}.casino-board .deck-pile>span:last-child{font-size:9px;color:#bdcbbd;margin-top:13px}.casino-board .card,.casino-theme :is(#game>.animation-card,#friend-board>.animation-card){border:1px solid #d0c6ac;border-radius:9px;background:linear-gradient(135deg,#fffaf0,#eee7d5);color:#17352f;font-weight:normal;box-shadow:0 9px 15px #00130f66,0 1px 1px #fff8 inset}.casino-board .hand-row .card{width:112px;height:156px;font-size:53px}.casino-board .card:before,.casino-theme :is(#game>.animation-card,#friend-board>.animation-card):before{content:'';position:absolute;inset:6px;border:1px solid #c9bc9d65;border-radius:4px;pointer-events:none}.casino-board .card:has(.suit-red),.casino-theme :is(#game>.animation-card,#friend-board>.animation-card):has(.suit-red){color:#a03939}.casino-board .card-suit-top{top:11px;left:11px}.casino-board .card-suit-bottom{bottom:11px;right:11px}.casino-board .card-back,.casino-theme :is(#game>.animation-card,#friend-board>.animation-card).card-back{background:repeating-linear-gradient(45deg,#10243a 0 9px,#26394a 9px 10px)!important;color:#d6bb80!important}.casino-board .center{position:relative;margin:12px auto;max-width:430px}.casino-board #status{font:italic 18px Georgia,serif;color:#d2dfcf}.casino-board #result{color:#b9cec0;min-height:3em;font-size:12px}.casino-theme #game .details{padding:0 10px}.casino-theme #game #solo-circulation{margin-bottom:16px}.casino-theme #avatar-gallery .gallery-close{margin:0;padding:0}.casino-theme #avatar-gallery .quiet-button{color:#d6bb80}.casino-theme .avatar{display:grid;place-items:center;border:1px solid #d6bb8055;border-radius:50%}.casino-theme button.avatar{padding:2px;min-width:44px;min-height:44px}
@media(max-width:600px){.casino-preview-banner{padding:12px;font-size:11px}.casino-preview-banner span{flex-basis:100%}.casino-theme :is(#game>.casino-board,#friend-board.casino-board,.replay-table.casino-board){padding:25px 20px;border-radius:42px}.casino-board:before{inset:12px;border-radius:31px}.casino-identity{gap:8px}.casino-identity h2{font-size:15px}.casino-health{font-size:18px;padding:9px 8px}.casino-health:before{margin-right:5px}.casino-board .score{gap:8px}.casino-board .hand-row{gap:16px;margin:22px 0}.casino-board .hand{gap:13px}.casino-board .deck-pile,.casino-board .hand-row:after{width:37px}.casino-board .deck-pile>span:first-child{height:55px;font-size:22px}.casino-board .deck-pile>span:last-child{font-size:8px}.casino-board .hand-row .card{width:90px;height:128px;font-size:42px}.casino-board .center{margin:10px auto}.casino-board #status{font-size:16px}.casino-board .card-suit-top{top:9px;left:9px}.casino-board .card-suit-bottom{bottom:9px;right:9px}}
@media(max-width:360px){.casino-theme :is(#game>.casino-board,#friend-board.casino-board,.replay-table.casino-board){padding:23px 14px}.casino-board .hand-row{gap:10px}.casino-board .hand{gap:10px}.casino-board .deck-pile,.casino-board .hand-row:after{width:30px}.casino-board .hand-row .card{width:76px;height:112px;font-size:36px}.casino-health{font-size:16px}.casino-health:before{display:none}.casino-identity h2{font-size:13px}}

.casino-theme :is(#game>.animation-card,#friend-board>.animation-card){font-size:53px}@media(max-width:600px){.casino-theme :is(#game>.animation-card,#friend-board>.animation-card){font-size:42px}}@media(max-width:360px){.casino-theme :is(#game>.animation-card,#friend-board>.animation-card){font-size:36px}}

.casino-audio-hint{flex-basis:100%;margin:0;font-size:12px;line-height:1.5;color:#c9c6af}

:root{--gold:#d6bb80;--ivory:#f5efdf}
.casino-theme .welcome,.casino-theme #friends{border:1px solid #ad945855;border-radius:24px;background:radial-gradient(ellipse at top,#1e4539,#102a25);box-shadow:0 20px 50px #0003;padding:28px}
.casino-theme .welcome h2,.casino-theme dialog h2,.casino-theme .review-heading h2{color:var(--gold)}
.casino-theme button:not(.card):not(.avatar):not(.gallery-close){border-color:#d6bb8055}
.casino-theme .primary{background:#d6bb80;color:#17352f;border-color:#d6bb80}
.casino-theme dialog{background:radial-gradient(ellipse at top,#203d35,#101f20);border-color:#d6bb8070}
.casino-theme .review-tabs [aria-selected=true]{background:#d6bb80;color:#17352f}
.casino-theme #friend-participants,.casino-theme #friend-spectators{list-style:none;padding:0}
.casino-theme #friend-participants li,.casino-theme #friend-spectators li{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px;border:1px solid #d6bb8025;border-radius:10px;background:#ffffff03}
.casino-theme #friend-participants li .portrait,.casino-theme #friend-spectators li .portrait{width:36px;height:36px}
.casino-theme .casino-identity h3{font:normal 19px Georgia,serif;margin:6px 0}
.casino-theme .replay-table .hand{margin:24px 0}
.casino-theme .replay-table .card{width:112px;height:156px;font-size:53px}
.casino-theme .replay-table .score{max-width:520px}
.theme-switch{color:#d6bb80;align-self:center;padding:12px;font-size:12px;text-decoration:underline;text-underline-offset:4px}
.casino-theme .avatar{display:grid;place-items:center;border:1px solid #d6bb8055;border-radius:50%;flex-shrink:0}
.casino-theme button.avatar{padding:2px;min-width:44px;min-height:44px;cursor:pointer}
.casino-theme .profile-avatar{margin-right:8px}
.casino-theme .casino-identity{overflow-wrap:anywhere}.casino-theme .casino-identity h2,.casino-theme .casino-identity h3{min-width:0}
@media(max-width:600px){.casino-theme #friends{padding:16px}.casino-theme .casino-identity h3{font-size:15px}.casino-theme .replay-table .card{width:90px;height:128px;font-size:42px}.casino-theme #friend-link{min-width:0;width:100%}.casino-theme .replay-navigation{gap:8px;flex-wrap:wrap}.casino-theme .replay-navigation button{padding:10px}.casino-theme .review-heading{flex-wrap:wrap}.casino-theme .score .casino-health{white-space:normal;text-align:center}.casino-theme .replay-table .card{max-width:100%}}
