/* Coin Flip onward: shared controls, distinct game surfaces, original engine nodes. */
html body .tc-studio-shell:has(>:is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash)){padding:0!important;overflow:hidden}
html body #ftCf #ftCfStakeBox button{background:var(--gs-field,#102936)!important;color:var(--gs-ink,#e5eff6)!important;border:0!important;box-shadow:none!important;border-radius:0;min-width:34px}
html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash){--table-top:var(--ui-p-234d55,#234d55);--table-bottom:var(--ui-p-102b39,#102b39);--table-line:var(--ui-p-a0c5d51a,#a0c5d51a)}
html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash) .tc-import-layout{padding:0!important;gap:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash) .tc-import-controls{margin:0!important;padding:20px!important;border:0!important;border-radius:0!important;background:var(--gs-panel,#1a3445)!important;gap:14px;min-width:0}
html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash) .tc-import-stage{border-radius:0!important;border:0!important;min-width:0;box-shadow:none!important;background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 25%,var(--table-top),var(--table-bottom) 80%))!important}
html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash) .tc-import-controls :is(input,select){font-family:Inter,Arial,sans-serif!important;font-variant-numeric:tabular-nums;min-width:0}
html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash) .tc-import-controls :is(button,select){min-height:44px;border-radius:calc(8px * var(--ui-radius-scale,1));font-family:Inter,Arial,sans-serif!important}
html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash) .tc-import-controls button:focus-visible{outline:2px solid var(--ui-p-b7f76b,#b7f76b);outline-offset:3px}
html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash) .tc-import-controls :is(.ft-cf-box,.ft-cf-panel,.ft-hl-box,.ft-egg-box,.ft-gems-box,.ft-bc-box,.ft-es-box,.ft-wpro-panel){margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}

/* Coin Flip: a coin display above a stable three-column round summary. */
html body #ftCf{--table-top:var(--ui-p-244b5d,#244b5d);--table-bottom:var(--ui-p-102737,#102737)}
html body #ftCfBoard{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:34px;min-height:420px!important;padding:38px 24px!important}
html body #ftCf .ft-cf-stage{width:110px;height:110px;filter:drop-shadow(0 16px 15px var(--ui-p-00000044,#0004))}
html body #ftCf .ft-cf-face{border-width:3px;border-color:var(--ui-p-e4d29b,#e4d29b);box-shadow:inset 0 0 0 5px var(--ui-p-9b771b,#9b771b),0 4px 0 var(--ui-p-715518,#715518)}
html body #ftCf .ft-cf-face.is-heads{background:radial-gradient(circle at 30% 20%,var(--ui-p-fff1b5,#fff1b5),var(--ui-p-ddb756,#ddb756) 60%,var(--ui-p-b28a28,#b28a28));color:var(--ui-p-73551c,#73551c)}
html body #ftCf .ft-cf-face.is-tails{border-color:var(--ui-p-d1dfeb,#d1dfeb);background:radial-gradient(circle at 30% 20%,var(--ui-p-f3f9ff,#f3f9ff),var(--ui-p-b4c9d9,#b4c9d9) 60%,var(--ui-p-829eb4,#829eb4));box-shadow:inset 0 0 0 5px var(--ui-p-8298ac,#8298ac),0 4px 0 var(--ui-p-526b80,#526b80);color:var(--ui-p-4d6a80,#4d6a80)}
html body #ftCf .ft-cf-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;max-width:440px;margin:0;visibility:visible!important}
html body #ftCf .ft-cf-meta>div{padding:12px 6px;border-radius:calc(10px * var(--ui-radius-scale,1));background:var(--ui-p-0d243680,#0d243680);border:1px solid var(--ui-p-a7c5d514,#a7c5d514)}
html body #ftCf .ft-cf-meta span{color:var(--ui-p-a1b9c9,#a1b9c9);font:600 10px/16px Inter,Arial,sans-serif;text-transform:none}
html body #ftCf .ft-cf-meta b{margin-top:4px;color:var(--ui-p-f0f7fb,#f0f7fb);font:800 19px/24px Inter,Arial,sans-serif;font-variant-numeric:tabular-nums}
html body #ftCf .ft-cf-sides{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
html body #ftCf .ft-cf-sides button{background:var(--gs-field,#102936)!important;border:1px solid var(--gs-line,#345466)!important;color:var(--gs-ink,#e4eff7)!important;min-height:48px;font-size:12px;font-weight:700}
html body #ftCf .ft-cf-sides button:not(:disabled):hover{border-color:var(--ui-p-b7f76b,#b7f76b)!important;background:var(--ui-p-28493f,#28493f)!important;color:var(--ui-p-eaf6e8,#eaf6e8)!important}
html body #ftCf #ftCfHint{display:none}
html body #ftCf .ft-cf-strip{margin:0;padding:6px;min-height:42px;background:var(--gs-field,#102936)!important;border:0!important;border-radius:calc(8px * var(--ui-radius-scale,1))}
html body #ftCf .ft-cf-strip:not(:has(.ft-cf-chip)){visibility:hidden}

/* Light Coin Flip uses its own daylight surface, rather than a dark board with light text overrides. */
html[data-theme=light] body .tc-studio-shell #ftCf{margin-top:0!important;--table-top:var(--ui-p-f8fbf8,#f8fbf8);--table-bottom:var(--ui-p-e7efec,#e7efec);--gs-panel:var(--ui-p-f5f8fa,#f5f8fa);--gs-field:var(--ui-p-ffffff,#fff);--gs-line:var(--ui-p-d4dfe5,#d4dfe5);--gs-ink:var(--ui-p-243e4c,#243e4c);--gs-muted:var(--ui-p-526b79,#526b79)}
html[data-theme=light] body .tc-studio-shell #ftCfBoard{background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 30%,var(--ui-p-fffdf3,#fffdf3) 0,var(--ui-p-f2f6ee,#f2f6ee) 40%,var(--ui-p-e6efec,#e6efec) 100%))!important;border:0!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-stage{filter:drop-shadow(0 12px 12px var(--ui-p-49604b26,#49604b26))}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-face.is-heads{border:3px solid var(--ui-p-f6dfa0,#f6dfa0)!important;background:radial-gradient(circle at 32% 22%,var(--ui-p-fff3bd,#fff3bd),var(--ui-p-e3bd5e,#e3bd5e) 64%,var(--ui-p-bd9234,#bd9234))!important;color:var(--ui-p-76521a,#76521a)!important;box-shadow:inset 0 0 0 5px var(--ui-p-bf963b,#bf963b),0 3px 0 var(--ui-p-9c762b,#9c762b)}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-face.is-tails{border:3px solid var(--ui-p-e0e9ef,#e0e9ef)!important;background:radial-gradient(circle at 32% 22%,var(--ui-p-ffffff,#fff),var(--ui-p-d5e0e8,#d5e0e8) 64%,var(--ui-p-a6b9c6,#a6b9c6))!important;color:var(--ui-p-4b6476,#4b6476)!important;box-shadow:inset 0 0 0 5px var(--ui-p-a1b4c3,#a1b4c3),0 3px 0 var(--ui-p-7c94a5,#7c94a5)}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-meta>div{background:var(--ui-p-ffffffd9,#ffffffd9)!important;border:1px solid var(--ui-p-d9e3df,#d9e3df)!important;box-shadow:0 2px 4px var(--ui-p-334b3c04,#334b3c04)}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-meta span{color:var(--ui-p-526b61,#526b61)!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-meta b{color:var(--ui-p-243e35,#243e35)!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-sides button:not(:disabled):hover{background:var(--ui-p-edf5e4,#edf5e4)!important;border-color:var(--ui-p-7aa544,#7aa544)!important;color:var(--ui-p-31551f,#31551f)!important}
html[data-theme=light] body .tc-studio-shell #ftCf #ftCfStakeBox button:hover{background:var(--ui-p-edf2f5,#edf2f5)!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-group{background:var(--ui-p-ffffff,#fff)!important;border-color:var(--ui-p-cbd9e1,#cbd9e1)!important;color:var(--ui-p-243e4c,#243e4c)!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-group:focus-within{background:var(--ui-p-ffffff,#fff)!important;}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-group.is-off{background:var(--ui-p-edf2f5,#edf2f5)!important;border-color:var(--ui-p-d4dfe5,#d4dfe5)!important;box-shadow:none!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-group :is(input,select){background:transparent!important;color:var(--ui-p-243e4c,#243e4c)!important;-webkit-text-fill-color:var(--ui-p-243e4c,#243e4c)!important;opacity:1!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-group :is(input,select):disabled{background:transparent!important;color:var(--ui-p-526b79,#526b79)!important;-webkit-text-fill-color:var(--ui-p-526b79,#526b79)!important;opacity:1!important}
html[data-theme=light] body .tc-studio-shell #ftCf #ftCfStakeBox.is-off button{background:var(--ui-p-e4ebef,#e4ebef)!important;color:var(--ui-p-526b79,#526b79)!important;opacity:1!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-chip{background:var(--ui-p-ffffff,#fff)!important;border:1px solid var(--ui-p-cbd9d1,#cbd9d1)!important;color:var(--ui-p-997122,#997122)!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-chip.is-tails{color:var(--ui-p-526d82,#526d82)!important}
html[data-theme=light] body .tc-studio-shell #ftCf .ft-cf-chip.is-lose{border-color:var(--ui-p-d7a3aa,#d7a3aa)!important;color:var(--ui-p-a34353,#a34353)!important}

/* Card games share a felt palette, consistent score plaques and touch actions. */
html body :is(#ftBaccarat,#ftBlackjack,#ftHilow,#poker_game){--table-top:var(--ui-p-28544e,#28544e);--table-bottom:var(--ui-p-123438,#123438)}
html body :is(#ftBcBoard,#ftBjBoard,#ftHlBoard,#pokerBoard){background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 30%,var(--ui-p-28544e,#28544e),var(--ui-p-123438,#123438) 85%))!important;border-radius:0!important;box-shadow:none!important;border:0!important;color:var(--ui-p-e4f0ef,#e4f0ef)}
html body #ftBcBoard{min-height:420px!important;padding:28px 20px!important}
html body #ftBjBoard{min-height:420px!important;padding:24px 20px!important}
html body #ftHlBoard{min-height:380px!important;padding:30px 18px!important}
html body :is(#ftBcBoard,#ftBjBoard) .ft-bc-summary{background:var(--ui-p-0d2b30,#0d2b30)!important;border:1px solid var(--ui-p-8eb5b033,#8eb5b033)!important;border-radius:calc(8px * var(--ui-radius-scale,1));color:var(--ui-p-dcece9,#dcece9)!important;padding:5px 12px;font:700 12px/20px Inter,Arial,sans-serif;box-shadow:none}
html body :is(#ftBcBoard,#ftBjBoard) .ft-bc-payout{color:var(--ui-p-a6c2bc,#a6c2bc)!important;background:none!important;border:0!important;font:700 10px/18px Inter,Arial,sans-serif;letter-spacing:.12em}
html body #ftBlackjack .ft-bj-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
html body #ftBlackjack .ft-bj-act{min-height:46px;background:var(--gs-field,#102936)!important;border:1px solid var(--gs-line,#345466)!important;color:var(--gs-ink,#eaf3f9)!important}
html body #ftBlackjack .ft-bj-act:not(:disabled):hover{border-color:var(--ui-p-b7f76b,#b7f76b)!important}
html body #ftBlackjack .ft-bj-ico{width:16px;height:16px;margin-left:5px}
html body #ftHilow .ft-hl-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}
html body #ftHilow .ft-hl-choices button{font-size:11px;min-height:48px;background:var(--gs-field,#102936)!important;border:1px solid var(--gs-line,#345466)!important;color:var(--gs-ink,#eaf3f9)!important}
html body #ftHlBoard .ft-hl-rules{background:transparent!important;border:0!important;color:var(--ui-p-abc9c1,#abc9c1)!important;box-shadow:none}
html body #ftHlBoard .ft-hl-rules h3{font-size:20px;color:var(--ui-p-abc9c1,#abc9c1)!important}
html body #ftHlBoard .ft-hl-rules p{font-size:10px;max-width:78px;color:var(--ui-p-abc9c1,#abc9c1)!important}
html body #ftHlList{background:var(--gs-field,#102936)!important;border:0!important;border-radius:calc(8px * var(--ui-radius-scale,1));margin:0;padding:8px}
html body #pokerBoard{min-height:280px!important;padding:32px 18px!important;display:flex;align-items:center;justify-content:center;gap:10px}
html body #poker_game .ft-poker-pay{border:0!important;background:transparent!important}
html body #poker_game .ft-poker-pay-row{padding:7px 10px;border:0;border-radius:calc(6px * var(--ui-radius-scale,1));color:var(--gs-muted,#a7bfcd);font-size:11px}
html body #poker_game .ft-poker-pay-row:nth-child(even){background:var(--gs-field,#102936)}
html body #poker_game .ft-poker-pay-row.is-win{background:var(--ui-p-2b4b3c,#2b4b3c)!important;color:var(--ui-p-b7f76b,#b7f76b)!important}

/* Eggs and Gems keep their artwork, with a quieter surface and clear tile states. */
/* Baccarat table: two clear hand stations on woven felt, with theme-specific materials. */
html body .tc-studio-shell #ftBaccarat{margin-top:0!important}
html body .tc-studio-shell #ftBaccarat #ftBcBoard{--felt:var(--ui-p-183d3c,#183d3c);--felt-edge:var(--ui-p-102a31,#102a31);--rail:var(--ui-p-c6b67a44,#c6b67a44);--table-ink:var(--ui-p-c7d9cd,#c7d9cd);display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:54px 116px 46px;align-content:center;align-items:center;justify-items:center;gap:14px 18px;isolation:isolate;min-height:420px!important;padding:40px 32px!important;background:var(--ui-board-skin-background,radial-gradient(ellipse at 50% 35%,var(--ui-p-31594b44,#31594b44),transparent 70%),repeating-linear-gradient(45deg,var(--ui-p-ffffff02,#ffffff02) 0 1px,transparent 1px 4px),linear-gradient(var(--felt),var(--felt-edge)))!important;overflow:hidden}
html body .tc-studio-shell #ftBaccarat #ftBcBoard::before{content:'';position:absolute;inset:20px 18px;border:1px solid var(--rail);border-radius:100px 100px 65px 65px;box-shadow:inset 0 0 0 5px var(--ui-p-bdaf7b08,#bdaf7b08);pointer-events:none;z-index:-1}
html body .tc-studio-shell #ftBaccarat #ftBcBoard::after{content:var(--ui-brand-label,'TRONCLICK') ' / BACCARAT';grid-area:1/1/2/3;font:700 10px/20px Inter,Arial,sans-serif;letter-spacing:.24em;color:var(--table-ink);opacity:.65;pointer-events:none}
html body .tc-studio-shell #ftBaccarat #ftBcDeck{display:none!important}
html body .tc-studio-shell #ftBaccarat #ftBcBanker{grid-area:2/1}
html body .tc-studio-shell #ftBaccarat #ftBcPlayer{grid-area:2/2}
html body .tc-studio-shell #ftBaccarat #ftBcBankerSum{grid-area:3/1}
html body .tc-studio-shell #ftBaccarat #ftBcPlayerSum{grid-area:3/2}
html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-row{position:relative;display:flex!important;justify-content:center;align-items:center;height:110px!important;min-height:110px;margin:0!important;gap:7px;max-width:100%}
html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-card{width:62px!important;height:98px!important;margin:0!important;filter:drop-shadow(0 4px 3px var(--ui-p-00000033,#0003))}
html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-row:empty::before{content:'';width:62px;height:98px;border:1px dashed var(--rail);border-radius:calc(6px * var(--ui-radius-scale,1));background:var(--ui-p-ffffff03,#ffffff03);box-shadow:none}
html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-summary{position:static!important;display:flex;align-items:center;justify-content:center;gap:8px;min-width:120px;width:auto;height:36px!important;line-height:20px!important;margin:0!important;padding:6px 14px!important;background:var(--ui-p-0b262b99,#0b262b99)!important;border:1px solid var(--rail)!important;border-radius:calc(7px * var(--ui-radius-scale,1));color:var(--ui-p-dbe8de,#dbe8de)!important;font-size:12px!important;box-sizing:border-box}
html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-summary span{font-size:18px;font-weight:800;color:var(--ui-p-ffffff,#fff)}
html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-summary.is-win{border-color:var(--ui-p-b7f76b,#b7f76b)!important;color:var(--ui-p-b7f76b,#b7f76b)!important}
html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-payout{display:none!important}
html[data-theme=light] body .tc-studio-shell #ftBaccarat #ftBcBoard{--felt:var(--ui-p-e6eee6,#e6eee6);--felt-edge:var(--ui-p-d2e0d8,#d2e0d8);--rail:var(--ui-p-617c5c44,#617c5c44);--table-ink:var(--ui-p-48624e,#48624e)}
html[data-theme=light] body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-summary{background:var(--ui-p-ffffffc9,#ffffffc9)!important;color:var(--ui-p-3c5948,#3c5948)!important}
html[data-theme=light] body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-summary span{color:var(--ui-p-243e30,#243e30)!important}
html[data-theme=light] body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-summary.is-win{border-color:var(--ui-p-648b32,#648b32)!important;color:var(--ui-p-426b22,#426b22)!important}
html[data-theme=light] body .tc-studio-shell #ftBaccarat .ft-bc-group{background:var(--ui-p-ffffff,#fff)!important;border-color:var(--ui-p-cbd9e1,#cbd9e1)!important}
html[data-theme=light] body .tc-studio-shell #ftBaccarat .ft-bc-group.is-off{background:var(--ui-p-edf2f5,#edf2f5)!important}
html[data-theme=light] body .tc-studio-shell #ftBaccarat .ft-bc-group input{background:transparent!important;color:var(--ui-p-243e4c,#243e4c)!important;-webkit-text-fill-color:var(--ui-p-243e4c,#243e4c)!important;opacity:1!important}
@media(max-width:900px){
 html body .tc-studio-shell #ftBaccarat #ftBcBoard{min-height:300px!important;grid-template-rows:35px 94px 40px;gap:12px 8px;padding:24px 12px!important}
 html body .tc-studio-shell #ftBaccarat #ftBcBoard::before{inset:12px 8px;border-radius:60px 60px 32px 32px}
 html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-row{height:94px!important;min-height:94px;gap:4px}
 html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-card{width:clamp(36px,11vw,52px)!important;height:78px!important}
 html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-row:empty::before{width:48px;height:78px}
 html body .tc-studio-shell #ftBaccarat #ftBcBoard .ft-bc-summary{min-width:100px;padding:5px 8px!important}
 html body .tc-studio-shell #ftBaccarat #ftBcBoard::after{font-size:9px;letter-spacing:.17em}
 html body .tc-studio-shell #ftBaccarat .ft-bc-front{padding:8px 3px!important}
 html body .tc-studio-shell #ftBaccarat .ft-bc-front p{width:auto!important;font-size:20px!important}
}
html body #ftEggs{--table-top:var(--ui-p-394355,#394355);--table-bottom:var(--ui-p-172c3b,#172c3b)}
html body #ftEggSlots{min-height:310px!important;padding:32px 14px!important;gap:8px}
html body #ftEggs .ft-egg-slot{border:0!important;border-radius:calc(14px * var(--ui-radius-scale,1));background:var(--ui-p-132b3b88,#132b3b88);box-shadow:inset 0 1px var(--ui-p-c9dbed14,#c9dbed14)}
html body #ftEggTable{border:0!important;background:var(--ui-board-skin-background,var(--gs-field,#102936))!important;border-radius:calc(9px * var(--ui-radius-scale,1));padding:8px}
html body #ftEggs :is(.ft-egg-hand,.ft-egg-prize){font-size:11px;color:var(--gs-muted,#a8bfcd)}
html body #ftGems{--table-top:var(--ui-p-283c58,#283c58);--table-bottom:var(--ui-p-112b3a,#112b3a)}
html body #ftGemsTable{min-height:410px!important;padding:22px!important;gap:7px;background:var(--ui-board-skin-background,radial-gradient(ellipse at top,var(--ui-p-283c58,#283c58),var(--ui-p-112b3a,#112b3a)))!important}
html body #ftGems .ft-gems-cell{border:1px solid var(--ui-p-a2bcdb1c,#a2bcdb1c)!important;border-radius:calc(8px * var(--ui-radius-scale,1));background:linear-gradient(145deg,var(--ui-p-36516d,#36516d),var(--ui-p-253e57,#253e57))!important;box-shadow:0 3px var(--ui-p-091e30,#091e30);min-height:44px}
html body #ftGems .ft-gems-cell:not(:disabled):hover{border-color:var(--ui-p-b7f76b,#b7f76b)!important;filter:brightness(1.12)}

/* Slot cabinets: restrained framing lets the symbols carry the theme. */
html body #ftSlots{--table-top:var(--ui-p-343c58,#343c58);--table-bottom:var(--ui-p-152b3e,#152b3e)}
html body #ftSlots .slots__container{border:1px solid var(--ui-p-9eb2ce26,#9eb2ce26)!important;border-radius:calc(14px * var(--ui-radius-scale,1))!important;background:var(--ui-board-skin-background,var(--ui-p-102336,#102336))!important;box-shadow:0 8px 20px var(--ui-p-07152444,#07152444)!important;padding:14px}
html body #ftSlots .tc-special-stage{min-height:390px!important;padding:24px!important}
html body #ftSlots .slots__row-container{border-radius:calc(10px * var(--ui-radius-scale,1));overflow:hidden}
html body #ftEgyptian{--table-top:var(--ui-p-44433c,#44433c);--table-bottom:var(--ui-p-202e38,#202e38)}
html body #ftEgyptian .ft-es-stage{padding:24px 12px!important;min-height:390px!important}
html body #ftEgyptian .ft-es-frame{border-color:var(--ui-p-aa9160,#aa9160)!important;border-radius:calc(12px * var(--ui-radius-scale,1));box-shadow:0 5px 20px var(--ui-p-080f1c55,#080f1c55)}
html body #ftEgyptian .ft-es-lines{pointer-events:none}
html body #ftEgyptian .tc-import-controls .ft-es-cols{grid-template-columns:minmax(0,1fr)!important}
html body #ftEgyptian .tc-import-controls .ft-es-group input{min-width:70px!important;width:100%!important}

/* Roulette and Wheel Pro remain proportional at every breakpoint. */
html:is(.ft-dark,.ft-light) body #poker_game .ft-poker-pay-row{padding:3px 6px!important;gap:6px;grid-template-columns:minmax(0,1fr) 65px;background:transparent!important;border:0!important}
html:is(.ft-dark,.ft-light) body #poker_game :is(.ft-poker-hand,.ft-poker-prize){height:25px!important;min-height:0;border:0!important;background:transparent!important;color:inherit!important;padding:0 4px!important;font-size:10px}
html body #poker_game .ft-poker-hand i{width:5px;height:5px;margin-right:6px;flex:none}
html body #ftWheelPro .ft-wpro-stage{width:100%!important;max-width:none!important}
html body #ftWheelPro #ftWpSeg{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
html body #ftWheelPro .ft-wpro-leg{background:var(--gs-field,#102936)!important;border:1px solid var(--gs-line,#345466)!important;min-width:0;flex:1 1 28%;padding:7px 4px;border-radius:calc(7px * var(--ui-radius-scale,1))}
html body #ftWheelPro .ft-wpro-leg b{color:var(--gs-ink,#eaf4fa)!important;font-size:12px}
html body #roulette_game .chip{--chip-size:36px;--sprite-x:0;width:var(--chip-size)!important;height:var(--chip-size)!important;overflow:hidden;border-radius:50%;background-size:calc(var(--chip-size) * 266 / 36) calc(var(--chip-size) * 134 / 36)!important;background-position:calc(var(--chip-size) * var(--sprite-x) / 36) 0!important;background-repeat:no-repeat!important}
html body #roulette_game .chip[data-coin="1000"]{--sprite-x:-38}html body #roulette_game .chip[data-coin="10000"]{--sprite-x:-77}html body #roulette_game .chip[data-coin="100000"]{--sprite-x:-115}html body #roulette_game .chip[data-coin="1000000"]{--sprite-x:-154}html body #roulette_game .chip[data-coin="10000000"]{--sprite-x:-192}html body #roulette_game .chip[data-coin="100000000"]{--sprite-x:-230}
html body #roulette_game .chip.small{--chip-size:30px}
@media(max-width:900px){html body #roulette_game #rou_chips .chip{--chip-size:44px}}
html body #roulette_game{--table-top:var(--ui-p-244b45,#244b45);--table-bottom:var(--ui-p-122f36,#122f36)}
html body #roulette_game .tc-roulette-stage{padding:22px 12px!important}
html body #roulette_game .container-roulette{border-radius:calc(10px * var(--ui-radius-scale,1));overflow:hidden;box-shadow:none!important}
html body #ftWheelPro{--table-top:var(--ui-p-273f54,#273f54);--table-bottom:var(--ui-p-132b3b,#132b3b)}
html body #ftWheelPro .ft-wpro-stage{min-height:410px!important;padding:26px!important}
html body #ftWheelPro .ft-wpro-disc{width:min(100%,360px)!important;aspect-ratio:1;height:auto!important;padding:0!important;box-sizing:border-box;margin:auto;filter:drop-shadow(0 10px 16px var(--ui-p-06152466,#06152466))}
html body #ftWheelPro #ftWpCanvas{display:block;width:100%!important;height:auto!important;aspect-ratio:1}
html body #ftWheelPro .ft-wpro-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;padding:8px}
html body #ftCrash .ft-crash-stage{background:var(--ui-board-skin-background,radial-gradient(ellipse at bottom left,var(--ui-p-204252,#204252),var(--ui-p-112b3b,#112b3b)))!important;border-radius:0!important;min-height:310px}

@media(max-width:900px){
 html body :is(#ftCf,#ftBaccarat,#ftBlackjack,#ftHilow,#ftEggs,#poker_game,#ftSlots,#ftEgyptian,#ftGems,#roulette_game,#ftWheelPro,#ftCrash) .tc-import-controls{padding:16px!important;gap:12px}
 html body #ftCfBoard{min-height:290px!important;padding:24px 16px!important;gap:24px}
 html body #ftCf .ft-cf-meta{gap:7px}html body #ftCf .ft-cf-meta>div{padding:8px 4px}html body #ftCf .ft-cf-meta b{font-size:16px;line-height:22px}html body #ftCf .ft-cf-meta span{font-size:9px}
 html body :is(#ftBcBoard,#ftBjBoard){min-height:310px!important;padding:18px 10px!important}
 html body #ftHlBoard{min-height:280px!important;padding:24px 10px!important}
 html body #pokerBoard{min-height:200px!important;padding:24px 8px!important;gap:6px}
 html body #ftEggSlots{min-height:210px!important;padding:24px 8px!important;gap:5px}
 html body #ftGemsTable{min-height:340px!important;padding:14px!important}
 html body #ftSlots .tc-special-stage{min-height:270px!important;padding:16px 8px!important}
 html body #ftSlots .slots__container{padding:8px}
 html body #ftEgyptian .ft-es-stage{min-height:270px!important;padding:18px 6px!important}
 html body #roulette_game .tc-roulette-stage{padding:14px 8px!important}
 html body #ftWheelPro .ft-wpro-stage{min-height:300px!important;padding:22px!important}
}
@media(max-width:380px){html body #ftCf .ft-cf-meta b{font-size:14px}html body #ftGemsTable{padding:10px!important}html body #pokerBoard{gap:4px}html body #ftWheelPro .ft-wpro-stage{padding:16px!important}}
