/* Theme palette is generated from theme-art.json. */
:is(#game,.theme-demo,.theme-tile)[data-theme="classic"]{--tf:#285840;--te:#18372a;--tt:#8aa483;--ts:#ecd395;--tp:#f4edda;--ti:#13201a;--tr:#a32b2b;--tb:#24533e;--tx:#37755a;--tc:7px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23ecd395%22%20stroke-width%3D%222%22%3E%3Ctext%20x%3D%2222%22%20y%3D%2234%22%20text-anchor%3D%22middle%22%20stroke%3D%22none%22%20fill%3D%22%23ecd395%22%20font-size%3D%2234%22%20font-family%3D%22DejaVu%20Sans%2CArial%2Csans-serif%22%3E%E2%99%A0%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="blue"]{--tf:#315b95;--te:#172e56;--tt:#88aadd;--ts:#cde5fc;--tp:#eff5ff;--ti:#162b52;--tr:#932338;--tb:#274979;--tx:#477caf;--tc:7px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23cde5fc%22%20stroke-width%3D%222%22%3E%3Ctext%20x%3D%2222%22%20y%3D%2234%22%20text-anchor%3D%22middle%22%20stroke%3D%22none%22%20fill%3D%22%23cde5fc%22%20font-size%3D%2234%22%20font-family%3D%22DejaVu%20Sans%2CArial%2Csans-serif%22%3E%E2%99%A6%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="burgundy"]{--tf:#783740;--te:#481c28;--tt:#ba7476;--ts:#f5c6bc;--tp:#fff0df;--ti:#3c2331;--tr:#9d2442;--tb:#662c39;--tx:#954b58;--tc:7px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23f5c6bc%22%20stroke-width%3D%222%22%3E%3Ctext%20x%3D%2222%22%20y%3D%2234%22%20text-anchor%3D%22middle%22%20stroke%3D%22none%22%20fill%3D%22%23f5c6bc%22%20font-size%3D%2234%22%20font-family%3D%22DejaVu%20Sans%2CArial%2Csans-serif%22%3E%E2%99%A5%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="violet"]{--tf:#644580;--te:#35264d;--tt:#9b84cb;--ts:#e7d4ff;--tp:#f3eafe;--ti:#34244d;--tr:#a0204c;--tb:#574078;--tx:#7955a7;--tc:7px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23e7d4ff%22%20stroke-width%3D%222%22%3E%3Ctext%20x%3D%2222%22%20y%3D%2234%22%20text-anchor%3D%22middle%22%20stroke%3D%22none%22%20fill%3D%22%23e7d4ff%22%20font-size%3D%2234%22%20font-family%3D%22DejaVu%20Sans%2CArial%2Csans-serif%22%3E%E2%99%A3%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="holiday"]{--tf:#633844;--te:#321b25;--tt:#d6a96b;--ts:#f0d39a;--tp:#fff4dc;--ti:#243a32;--tr:#a32b2b;--tb:#6a3146;--tx:#425440;--tc:9px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23f0d39a%22%20stroke-width%3D%222%22%3E%3Ctext%20x%3D%2222%22%20y%3D%2234%22%20text-anchor%3D%22middle%22%20stroke%3D%22none%22%20fill%3D%22%23f0d39a%22%20font-size%3D%2234%22%20font-family%3D%22DejaVu%20Sans%2CArial%2Csans-serif%22%3E%E2%9D%84%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="pinup"]{--tf:#74516c;--te:#3d233b;--tt:#dfa4ad;--ts:#f3c8a8;--tp:#fff1e4;--ti:#47243b;--tr:#9d2442;--tb:#71394f;--tx:#a15c76;--tc:9px;--tm:url("/pinup-mark.webp?v=b4ac88e90f03")}
:is(#game,.theme-demo,.theme-tile)[data-theme="midnight"]{--tf:#466080;--te:#1a2137;--tt:#aaa5b9;--ts:#c9dcf6;--tp:#e8effc;--ti:#16263d;--tr:#8e273a;--tb:#273e68;--tx:#17223c;--tc:4px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23c9dcf6%22%20stroke-width%3D%222%22%3E%3Ctext%20x%3D%2222%22%20y%3D%2234%22%20text-anchor%3D%22middle%22%20stroke%3D%22none%22%20fill%3D%22%23c9dcf6%22%20font-size%3D%2234%22%20font-family%3D%22DejaVu%20Sans%2CArial%2Csans-serif%22%3E%E2%9C%A7%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="gotham"]{--tf:#79551c;--te:#39290f;--tt:#b89a4a;--ts:#f2cd63;--tp:#f6efd0;--ti:#242431;--tr:#9b2d31;--tb:#302e38;--tx:#594a25;--tc:4px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23f2cd63%22%20stroke-width%3D%222%22%3E%3Cellipse%20cx%3D%2222%22%20cy%3D%2222%22%20rx%3D%2220%22%20ry%3D%2212%22%2F%3E%3Cpath%20fill%3D%22%23f2cd63%22%20d%3D%22M5%2018l8%202%204%200%203-5%202%203%202-3%203%205%204%200%208-2-5%209-6-2-6%207-6-7-6%202Z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="double-o"]{--tf:#325347;--te:#16241f;--tt:#af9868;--ts:#e5c98d;--tp:#fbf4dd;--ti:#1d302a;--tr:#9e2731;--tb:#223f38;--tx:#665337;--tc:5px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23e5c98d%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2222%22%20r%3D%2217%22%2F%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2222%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22M22%201v15m0%2012v15M1%2022h15m12%200h15%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="dallas"]{--tf:#35527a;--te:#172840;--tt:#a7b9ca;--ts:#e3edf9;--tp:#f0f5f9;--ti:#1b304b;--tr:#95253a;--tb:#28456c;--tx:#688198;--tc:5px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23e3edf9%22%20stroke-width%3D%222%22%3E%3Ctext%20x%3D%2222%22%20y%3D%2234%22%20text-anchor%3D%22middle%22%20stroke%3D%22none%22%20fill%3D%22%23e3edf9%22%20font-size%3D%2234%22%20font-family%3D%22DejaVu%20Sans%2CArial%2Csans-serif%22%3E%E2%98%85%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="courtside"]{--tf:#96542e;--te:#532a20;--tt:#e3aa73;--ts:#fee1ba;--tp:#fff1d9;--ti:#3f261c;--tr:#971e3a;--tb:#934c25;--tx:#c87b39;--tc:7px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23fee1ba%22%20stroke-width%3D%222%22%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2222%22%20r%3D%2218%22%2F%3E%3Cpath%20d%3D%22M4%2022h36M22%204v36M10%208q20%2014%200%2028M34%208q-20%2014%200%2028%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(#game,.theme-demo,.theme-tile)[data-theme="ice"]{--tf:#376884;--te:#173447;--tt:#a3d8ee;--ts:#dcf7fd;--tp:#f4fcff;--ti:#12334a;--tr:#992647;--tb:#305773;--tx:#648eaa;--tc:6px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2044%2044%22%3E%3Cg%20transform%3D%22translate%280%200%29%20scale%281.0%29%22%20fill%3D%22none%22%20stroke%3D%22%23dcf7fd%22%20stroke-width%3D%222%22%3E%3Crect%20x%3D%222%22%20y%3D%228%22%20width%3D%2240%22%20height%3D%2228%22%20rx%3D%229%22%2F%3E%3Cpath%20d%3D%22M22%208v28M11%208v28M33%208v28%22%2F%3E%3Ccircle%20cx%3D%2222%22%20cy%3D%2222%22%20r%3D%226%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
#game[data-theme] .felt{border-color:var(--tt);background:radial-gradient(ellipse at 50% 20%,var(--tf),var(--te) 79%)}
#game[data-theme] .felt-lines{border-color:color-mix(in srgb,var(--tt) 75%,transparent)}
#game[data-theme] .felt-label{color:var(--ts)}#game[data-theme] .pot{background:var(--te);color:var(--ts)}
#game[data-theme] .card:not(.empty):not(.back){color:var(--ti);background:linear-gradient(150deg,#fffdf3,var(--tp));border-color:var(--tt);border-radius:var(--tc)}
#game[data-theme] .card.red:not(.empty):not(.back){color:var(--tr)}
#game[data-theme] .card.back{color:transparent;border-color:var(--tt);border-radius:var(--tc);background:var(--tm) center/72% auto no-repeat,repeating-linear-gradient(45deg,var(--tb) 0 4px,var(--tx) 4px 8px)}
#game[data-theme]:not([data-theme=classic]) .felt-lines::before{content:"";position:absolute;top:12%;left:6%;width:clamp(32px,7vw,56px);aspect-ratio:1;background:var(--tm) center/contain no-repeat;opacity:.5;pointer-events:none}
/* Decorative marks stay under every card and chip. Flat colors stay clean. */
#game[data-theme]:not([data-theme=classic]) .felt-lines::after{content:"";position:absolute;right:5%;bottom:7%;width:clamp(21px,4vw,39px);aspect-ratio:1;background:var(--tm) center/contain no-repeat;opacity:.25;pointer-events:none}
#game[data-theme][data-theme=pinup] .felt-lines::before{top:5%;left:4%;width:clamp(54px,9vw,94px);opacity:.91;filter:drop-shadow(0 1px 2px #2a1020)}
#game[data-theme][data-theme=pinup] .felt-lines::after{right:5%;bottom:7%;width:clamp(35px,6vw,68px);opacity:.52;background-image:url("/pinup-corner-two.webp?v=f2da72368f49")}
@media(max-width:650px){
 #game[data-theme][data-theme=pinup] .felt-lines::before{top:8%;left:6%;width:clamp(50px,13vw,70px)}
 #game[data-theme][data-theme=pinup] .felt-lines::after{right:10%;bottom:15%;width:clamp(33px,8.5vw,50px);opacity:.45}
}

/* The same visual picker is used in the profile and at the table. */
.theme-select-field{border:0;padding:0;margin:.9rem 0 .25rem;min-inline-size:0}
.theme-select-field>legend{font-size:.88rem;font-weight:800;color:#f4e3bd;padding:0}
.theme-select-field>p,.theme-menu-panel>p{font-size:.76rem;color:var(--muted);margin:.28rem 0 .4rem}
.theme-grid{display:grid;gap:.4rem}
.theme-group{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.42rem}
.theme-group-name{grid-column:1/-1;font-size:.71rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#e9c999;margin-top:.27rem}
.theme-tile{appearance:none;display:flex;flex-direction:column;align-items:stretch;gap:.25rem;min-width:0;min-height:0;text-align:left;padding:.27rem .27rem .39rem;border:1px solid #547463;border-radius:.62rem;background:#142720;color:#e5eee6}
.theme-tile img{display:block;width:100%;height:auto;aspect-ratio:32/15;object-fit:contain;background:#111917;border-radius:.34rem}
.theme-tile span{font-size:.73rem;padding:0 .15rem;line-height:1.2;overflow-wrap:anywhere}
.theme-tile[aria-pressed=true]{border-color:#ffe1a5;box-shadow:inset 0 0 0 1px #ffe1a5;background:#2c3b2f;color:#ffedc6}
.theme-tile:focus-visible,.theme-menu summary:focus-visible{outline:3px solid #ffdc98;outline-offset:2px}
.theme-menu{position:relative}
.theme-menu summary{cursor:pointer;color:var(--text);font-size:.77rem;border:1px solid #617a67;border-radius:8px;background:var(--panel);padding:.5rem .57rem;line-height:1.35}
.theme-menu-panel{position:absolute;right:0;z-index:3;top:calc(100% + 8px);width:min(480px,calc(100vw - 38px));max-height:min(66vh,480px);overflow:auto;overscroll-behavior:contain;border:1px solid #698876;border-radius:12px;background:#12241c;box-shadow:0 8px 28px #080e0bbd;padding:.64rem}
.theme-native select{width:100%;max-width:290px}
@media(max-width:530px){.theme-group{grid-template-columns:repeat(3,minmax(0,1fr))}.theme-menu summary{max-width:min(55vw,240px)}}
#game[data-theme] .dealer-deck-icon{
 border-color:var(--tt);border-radius:calc(var(--tc) * .65);
 background:var(--tm) center / 74% auto no-repeat,repeating-linear-gradient(45deg,var(--tb) 0 4px,var(--tx) 4px 8px);
 box-shadow:2px 2px 0 var(--te),3px 3px 0 var(--tt),5px 6px 9px #07110dab;
}
:is(#game,.theme-demo,.theme-tile)[data-theme="remax"]{--tf:#294e83;--te:#101d3d;--tt:#a13146;--ts:#e3edff;--tp:#f6f8ff;--ti:#152749;--tr:#b1263a;--tb:#1b3f72;--tx:#a53047;--tc:7px;--tm:url("/realty-deck-mark.svg");--mobile-felt:#294e83;--mobile-felt-mid:#142944}
:is(#game,.theme-demo,.theme-tile)[data-theme="vet"]{--tf:#32695f;--te:#143534;--tt:#84cbb9;--ts:#d8fff2;--tp:#fff9eb;--ti:#173c36;--tr:#a12d43;--tb:#245b53;--tx:#367d6e;--tc:8px;--tm:url("/vet-deck-mark.svg");--mobile-felt:#32695f;--mobile-felt-mid:#163f38}
#game .mobile-felt-mark:is([data-brand="remax"],[data-brand="vet"]){position:absolute;display:block;pointer-events:none;left:50%;top:58%;transform:translate(-50%,-50%);width:32%;height:22%;opacity:.14;z-index:0}
#game .mobile-felt-mark:is([data-brand="remax"],[data-brand="vet"]) img{width:100%;height:100%;object-fit:contain}
#game .mobile-felt-mark[data-brand="campaign"]{position:absolute;display:block;pointer-events:none;left:50%;top:56%;transform:translateX(-50%);height:29%;width:28%;opacity:.10;z-index:0}
#game .mobile-felt-mark[data-brand="campaign"] img{width:100%;height:100%;object-fit:contain;filter:grayscale(1)}

/* Club tribute: HD Fleet uses the portrait logo on the deck, the wide wordmark on the felt. */
:is(#game,.theme-demo,.theme-tile)[data-theme="hdfleet"]{--tf:#325560;--te:#152732;--tt:#b45b64;--ts:#f3e6e6;--tp:#fff5ee;--ti:#192c36;--tr:#a12438;--tb:#571f28;--tx:#712a37;--tc:7px;--tm:url("/hd-fleet-card.webp?v=fb826e4d7553");--mobile-felt:#325560;--mobile-felt-mid:#182d38}
#game[data-theme="hdfleet"] :is(.card.back,.dealer-deck-icon){background-size:auto 82%,auto}
body[data-mobile-poker] #game[data-theme="hdfleet"] .felt .felt-lines::before,
body[data-mobile-poker] #game[data-theme="hdfleet"] .felt .felt-lines::after{content:none}
body[data-mobile-poker] #game[data-theme="hdfleet"] .felt .mobile-felt-mark[data-brand="hdfleet"],
body[data-mobile-poker] #game[data-theme="hdfleet"][data-casual][data-felt-idle] .felt .mobile-felt-mark[data-brand="hdfleet"]{
 position:absolute;display:block;left:50%;top:25%;width:44%;height:24%;transform:translate(-50%,-50%);z-index:0;pointer-events:none;opacity:.19
}
body[data-mobile-poker] #game[data-theme="hdfleet"] .felt .mobile-felt-mark[data-brand="hdfleet"],
body[data-mobile-poker] #game[data-theme="hdfleet"][data-casual][data-felt-idle] .felt .mobile-felt-mark[data-brand="hdfleet"]{top:35%;width:69%;height:19%}
body[data-mobile-poker] #game[data-theme="hdfleet"] .felt .mobile-felt-mark[data-brand="hdfleet"] img{
 width:100%;height:100%;object-fit:contain;filter:brightness(0) invert(1);mix-blend-mode:normal
}
body[data-mobile-poker] #game[data-theme="hdfleet"][data-casual][data-felt-idle] .felt .mobile-felt-mark[data-brand="hdfleet"]{opacity:.98}
body[data-mobile-poker] #game[data-theme="hdfleet"][data-casual][data-felt-idle] .felt .mobile-felt-mark[data-brand="hdfleet"] img{filter:drop-shadow(0 0 1.3px #fff)}

/* Shared desktop table and My Account watermark art. --tm remains the deck. */
:is(#game,.theme-demo)[data-theme="classic"]{
 --desktop-felt:#227134;--desktop-edge:#144b29;
 --desktop-felt-art:url("/harvey-blasko-badge.webp?v=13055505522a");
 --desktop-felt-opacity:.29;--desktop-felt-idle-opacity:1
}
:is(#game,.theme-demo)[data-theme="pinup"]{
 --desktop-felt-art:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23f3c8a8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='60' cy='60' r='51' opacity='.55'/%3E%3Cpath d='M60 74c-19 0-32-17-26-31 6-14 20-17 27-8 8-9 24-4 27 9 4 14-10 29-28 30Zm0 0c8-9 14-20 9-29-5-8-19-5-19 3 0 7 9 9 13 4m-3 22v24m0-12c-9-10-18-10-25-9 4 8 13 12 25 12m0 4c9-10 18-11 25-10-4 8-13 12-25 12'/%3E%3C/svg%3E");
 --desktop-felt-opacity:.22
}
:is(#game,.theme-demo)[data-theme="remax"]{--desktop-felt-art:url("/remax-theme-logo.svg")}
:is(#game,.theme-demo)[data-theme="vet"]{--desktop-felt-art:url("/vet-theme-mark.svg")}
:is(#game,.theme-demo)[data-theme="hdfleet"]{
 --desktop-felt-art:url("/hd-fleet-felt.webp?v=124b1382f537");
 --desktop-felt-opacity:.19;--desktop-felt-idle-opacity:.98;
 --desktop-felt-filter:brightness(0) invert(1)
}

/* Profile preview and Club Tributes tiles share the live card-back palette. */
.theme-tile-art{position:relative;min-width:0}
.theme-tile-backs,.theme-demo-backs{display:flex;align-items:end;pointer-events:none}
.theme-tile .theme-tile-backs{position:absolute;right:7%;bottom:8%;height:38%;padding:0}
.theme-demo-back{display:block;height:100%;aspect-ratio:.70;box-sizing:border-box;border:1px solid var(--tt);border-radius:3px;background:var(--tm) center/78% auto no-repeat,repeating-linear-gradient(45deg,var(--tb) 0 3px,var(--tx) 3px 6px);box-shadow:0 1px 3px #111c}
.theme-demo-back:first-child{transform:rotate(-8deg)}
.theme-demo-back+ .theme-demo-back{margin-left:-20%;transform:rotate(8deg)}
:is(.theme-demo,.theme-tile)[data-theme=hdfleet] .theme-demo-back{background-size:auto 83%,auto}
.profile-theme-select .theme-demo{display:none}
@media(min-width:900px){
 .profile-theme-select{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,1fr);grid-template-rows:auto 1fr;align-items:start;column-gap:clamp(12px,2vw,23px)}
 .profile-theme-select>p,.profile-theme-select>.theme-native,.profile-theme-select>.theme-grid{grid-column:1}
 .profile-theme-select>.theme-demo:not([hidden]){display:block;grid-column:2;grid-row:1/4;position:sticky;top:.7rem}
}
.theme-demo{min-width:0;border:1px solid var(--border);border-radius:12px;padding:.7rem;background:#101b1a}
.theme-demo>.eyebrow{margin:0}
.theme-demo>h3{margin:0 0 .45rem;font-size:1.05rem}
.theme-demo>.account-muted{margin:.45rem 0 0;font-size:.74rem}
.theme-demo-felt{position:relative;min-width:0;aspect-ratio:1.92;border-radius:999px;border:5px solid #0a1113;box-shadow:0 4px 9px #060d0bbb,inset 0 0 10px #091818ab;background:radial-gradient(ellipse at 50% 52%,var(--desktop-felt,var(--tf)),var(--desktop-edge,var(--te)) 76%,#071311 100%);overflow:hidden}
.theme-demo-rail{position:absolute;inset:10%;border:1px solid var(--tt);border-radius:999px;opacity:.68}
.theme-demo-mark{position:absolute;left:50%;top:50%;width:62%;height:65%;transform:translate(-50%,-50%);background:var(--desktop-felt-art,var(--tm)) center/contain no-repeat;opacity:var(--desktop-felt-opacity,.22);filter:var(--desktop-felt-filter,saturate(.55))}
.theme-demo-board{position:absolute;left:50%;top:46%;display:flex;gap:3px;transform:translateX(-50%)}
.theme-demo-board span{display:grid;place-items:center;width:20px;height:28px;font-size:10px;font-weight:900;color:var(--ti);border-radius:3px;border:1px solid var(--tt);background:linear-gradient(150deg,#fffdf3,var(--tp))}
.theme-demo-board .red{color:var(--tr)}
.theme-demo-backs{position:absolute;right:12%;bottom:13%;height:26%}

/* Desktop Pin-Up keeps its centered watermark and adds quiet side art.
   Mobile uses its existing felt-line artwork and placement. */
body[data-desktop-poker] #game[data-theme="pinup"] .felt .felt-lines {
 display:block;position:absolute;inset:0;border:0;border-radius:inherit;overflow:hidden;z-index:0;pointer-events:none;
}
body[data-desktop-poker] #game[data-theme="pinup"] .felt .felt-lines::before,
body[data-desktop-poker] #game[data-theme="pinup"] .felt .felt-lines::after,
.theme-demo[data-theme="pinup"] .theme-demo-felt::before,
.theme-demo[data-theme="pinup"] .theme-demo-felt::after {
 content:"";display:block;position:absolute;width:16%;height:43%;aspect-ratio:auto;
 background:var(--pinup-side-art) center/contain no-repeat;filter:saturate(.65);opacity:.30;pointer-events:none;
}
body[data-desktop-poker] #game[data-theme="pinup"] .felt .felt-lines::before,
.theme-demo[data-theme="pinup"] .theme-demo-felt::before {
 --pinup-side-art:url("/pinup-mark.webp?v=b4ac88e90f03");inset:14% auto auto 10%;
}
body[data-desktop-poker] #game[data-theme="pinup"] .felt .felt-lines::after,
.theme-demo[data-theme="pinup"] .theme-demo-felt::after {
 --pinup-side-art:url("/pinup-corner-two.webp?v=f2da72368f49");inset:auto 11% 13% auto;opacity:.26;
}

#game[data-theme=gotham] .felt{border-color:#97713b;box-shadow:0 0 0 3px #33291e,0 0 0 5px #14161b,0 8px 17px #07080bb0,inset 0 0 18px #241a13a0}
#game[data-theme=gotham] .felt .felt-label{color:#ffe6a3}

/* Generated Travel felts */
:is(#game,.theme-demo,.theme-tile)[data-theme="caribbean"]{--tf:#276c66;--te:#143b3a;--tt:#d9ae6e;--ts:#ffedbb;--tp:#fff4df;--ti:#153d3c;--tr:#9b2a36;--tb:#124743;--tx:#21746a;--tc:6px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffd18c%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2248%22%20cy%3D%2248%22%20r%3D%2244%22%20opacity%3D%22.65%22%2F%3E%3Cg%20transform%3D%22translate%2812%2010%29%20scale%28.76%29%22%3E%3Cpath%20d%3D%22M9%2075q31-13%2076-3M35%2068q12-29%2010-49M45%2019q-17-13-34%203%2019-6%2032%201-16%203-24%2017%2017-12%2026-16-3-14%2018-17-12%204-15%2013%2015-4%2033%207-17-6-33-3%209%205%2016%2016-10-7-17-13%22%2F%3E%3Ccircle%20cx%3D%2275%22%20cy%3D%2249%22%20r%3D%2213%22%2F%3E%3Cpath%20d%3D%22M66%2041q3%208%2022%2011M75%2037q-7%2014%202%2023%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-left:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffd18c%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2075q31-13%2076-3M35%2068q12-29%2010-49M45%2019q-17-13-34%203%2019-6%2032%201-16%203-24%2017%2017-12%2026-16-3-14%2018-17-12%204-15%2013%2015-4%2033%207-17-6-33-3%209%205%2016%2016-10-7-17-13%22%2F%3E%3Ccircle%20cx%3D%2275%22%20cy%3D%2249%22%20r%3D%2213%22%2F%3E%3Cpath%20d%3D%22M66%2041q3%208%2022%2011M75%2037q-7%2014%202%2023%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-right:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ffd18c%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%2071h77M17%2058l16%209h30m-32-4%205-17h17m-19%2021-8%2010m28-10%208%209M65%2067V31M43%2039q22-25%2044%200H43m10%200q11-21%2023%200%22%2F%3E%3Cpath%20d%3D%22M12%2083h66%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--desktop-felt-art:var(--tm);--desktop-felt-opacity:.22;--desktop-felt-idle-opacity:.63}
:is(#game,.theme-demo,.theme-tile)[data-theme="mountain"]{--tf:#405749;--te:#192d2a;--tt:#c8b38b;--ts:#ffeed0;--tp:#f7f0de;--ti:#223432;--tr:#8c2339;--tb:#23392d;--tx:#45634b;--tc:6px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e9bf82%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2248%22%20cy%3D%2248%22%20r%3D%2244%22%20opacity%3D%22.65%22%2F%3E%3Cg%20transform%3D%22translate%2812%2010%29%20scale%28.76%29%22%3E%3Cpath%20d%3D%22m5%2070%2030-48%2016%2022%2011-28%2028%2054H5m18-27%2012%206%208-13m10%200%2010%208%209-7%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2220%22%20r%3D%227%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-left:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e9bf82%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%2070%2030-48%2016%2022%2011-28%2028%2054H5m18-27%2012%206%208-13m10%200%2010%208%209-7%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2220%22%20r%3D%227%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-right:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e9bf82%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%2077h81M22%2050l25-20%2026%2020M29%2049h37v25M42%2074V57h13v17M66%2036V25h8v22M13%2073V59m-7%205%207-13%208%2013m59%209V55m-9%205%209-18%209%2018%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--desktop-felt-art:var(--tm);--desktop-felt-opacity:.22;--desktop-felt-idle-opacity:.63}
:is(#game,.theme-demo,.theme-tile)[data-theme="ski"]{--tf:#416c8e;--te:#182e4a;--tt:#b5dcf7;--ts:#e6f7ff;--tp:#f1fbff;--ti:#163653;--tr:#a02449;--tb:#1d3b60;--tx:#376792;--tc:6px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ecf9ff%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2248%22%20cy%3D%2248%22%20r%3D%2244%22%20opacity%3D%22.65%22%2F%3E%3Cg%20transform%3D%22translate%2812%2010%29%20scale%28.76%29%22%3E%3Cpath%20d%3D%22m7%2078%2027-41%2012%2013%2023-34%2022%2062H7m47-36%2014%207%209-8m-52%209%209%206%207-7M25%2015v17m-8-8h16m-14-6%2012%2012m0-12L19%2030%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-left:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ecf9ff%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%2078%2027-41%2012%2013%2023-34%2022%2062H7m47-36%2014%207%209-8m-52%209%209%206%207-7M25%2015v17m-8-8h16m-14-6%2012%2012m0-12L19%2030%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-right:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23ecf9ff%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2265%22%20cy%3D%2224%22%20r%3D%227%22%2F%3E%3Cpath%20d%3D%22m62%2033-15%2015%2017%208%207%2014m-24-22-14-4-10%2011m25-9%2017-5%2013%208m-39%207-11%2018m41-5%2013%205M12%2078l65%208q10%201%2013-5M24%2069l64%208M75%2048l7%2018%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--desktop-felt-art:var(--tm);--desktop-felt-opacity:.22;--desktop-felt-idle-opacity:.63}
:is(#game,.theme-demo,.theme-tile)[data-theme="cruise"]{--tf:#2b6280;--te:#13283f;--tt:#e5bd7b;--ts:#ffeac0;--tp:#fff8e6;--ti:#192f47;--tr:#94283b;--tb:#142f4b;--tx:#2d537d;--tc:6px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f2cf8d%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2248%22%20cy%3D%2248%22%20r%3D%2244%22%20opacity%3D%22.65%22%2F%3E%3Cg%20transform%3D%22translate%2812%2010%29%20scale%28.76%29%22%3E%3Cpath%20d%3D%22M7%2065h82L76%2078H22L7%2065zm17%200V49h45l9%2016M31%2049V36h28v13m-15-13V23h10m-22%2033h6m7%200h6m7%200h6M9%2084q10-7%2020%200t20%200%2020%200%2020%200%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-left:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f2cf8d%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2065h82L76%2078H22L7%2065zm17%200V49h45l9%2016M31%2049V36h28v13m-15-13V23h10m-22%2033h6m7%200h6m7%200h6M9%2084q10-7%2020%200t20%200%2020%200%2020%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-right:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f2cf8d%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2249%22%20cy%3D%2247%22%20r%3D%2228%22%2F%3E%3Ccircle%20cx%3D%2249%22%20cy%3D%2247%22%20r%3D%2220%22%2F%3E%3Cpath%20d%3D%22m49%2028%205%2013%2013%206-13%205-5%2014-5-14-13-5%2013-6zM49%2011v6m0%2059v6M13%2047h6m60%200h6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--desktop-felt-art:var(--tm);--desktop-felt-opacity:.22;--desktop-felt-idle-opacity:.63}
:is(#game,.theme-demo,.theme-tile)[data-theme="lakeside"]{--tf:#3c6260;--te:#203b40;--tt:#b9cfab;--ts:#eef5d5;--tp:#f4f4de;--ti:#223b3b;--tr:#8b2940;--tb:#244b48;--tx:#466f67;--tc:6px;--tm:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e8d49b%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2248%22%20cy%3D%2248%22%20r%3D%2244%22%20opacity%3D%22.65%22%2F%3E%3Cg%20transform%3D%22translate%2812%2010%29%20scale%28.76%29%22%3E%3Cpath%20d%3D%22M6%2067q11-5%2022%200t22%200%2022%200%2019%200M11%2078h66M9%2056l23-22%2013%2011%2022-26%2023%2037M21%2056V42m-8%204%208-16%209%2016%22%2F%3E%3Ccircle%20cx%3D%2241%22%20cy%3D%2224%22%20r%3D%228%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-left:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e8d49b%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%2067q11-5%2022%200t22%200%2022%200%2019%200M11%2078h66M9%2056l23-22%2013%2011%2022-26%2023%2037M21%2056V42m-8%204%208-16%209%2016%22%2F%3E%3Ccircle%20cx%3D%2241%22%20cy%3D%2224%22%20r%3D%228%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--travel-right:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2096%2096%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23e8d49b%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2070q38%2020%2075-5H9zm12-6%2018-21%2029%2017M46%2060l10-31m-9%2037%2013-44m15%2035V30m-8%205%208-18%209%2018M5%2083q10-5%2021%200t21%200%2021%200%2021%200%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--desktop-felt-art:var(--tm);--desktop-felt-opacity:.22;--desktop-felt-idle-opacity:.63}
:is(#game,.theme-demo):is([data-theme=caribbean],[data-theme=mountain],[data-theme=ski],[data-theme=cruise],[data-theme=lakeside]) :is(.felt-lines,.theme-demo-felt){
 isolation:isolate
}
body[data-desktop-poker] #game:is([data-theme=caribbean],[data-theme=mountain],[data-theme=ski],[data-theme=cruise],[data-theme=lakeside]) .felt .felt-lines{
 display:block;position:absolute;inset:0;border:0;border-radius:inherit;overflow:hidden;z-index:0;pointer-events:none
}
#game:is([data-theme=caribbean],[data-theme=mountain],[data-theme=ski],[data-theme=cruise],[data-theme=lakeside]) .felt .felt-lines::before,
.theme-demo:is([data-theme=caribbean],[data-theme=mountain],[data-theme=ski],[data-theme=cruise],[data-theme=lakeside]) .theme-demo-felt::before{
 content:"";display:block;position:absolute;inset:13% auto auto 9%;width:18%;height:36%;aspect-ratio:auto;
 background:var(--travel-left) center/contain no-repeat;opacity:.38;pointer-events:none
}
#game:is([data-theme=caribbean],[data-theme=mountain],[data-theme=ski],[data-theme=cruise],[data-theme=lakeside]) .felt .felt-lines::after,
.theme-demo:is([data-theme=caribbean],[data-theme=mountain],[data-theme=ski],[data-theme=cruise],[data-theme=lakeside]) .theme-demo-felt::after{
 content:"";display:block;position:absolute;inset:auto 8% 12% auto;width:18%;height:35%;aspect-ratio:auto;
 background:var(--travel-right) center/contain no-repeat;opacity:.34;pointer-events:none
}
body[data-mobile-poker] #game:is([data-theme=caribbean],[data-theme=mountain],[data-theme=ski],[data-theme=cruise],[data-theme=lakeside]) .felt .mobile-felt-mark{
 background:var(--tm) center/contain no-repeat;color:transparent;font-size:0;filter:none
}
body[data-mobile-poker] #game:is([data-theme=caribbean],[data-theme=mountain],[data-theme=ski],[data-theme=cruise],[data-theme=lakeside]) .felt .mobile-felt-mark img{visibility:hidden}
