.lucky-mode-tabs{display:flex;gap:8px;padding:10px;background:#101b2d;border-radius:16px 16px 0 0;font:700 15px system-ui}.lucky-mode-tabs button{flex:1;border:1px solid #40516a;background:#18263c;color:#fff;border-radius:9px;padding:13px 8px;cursor:pointer}.lucky-mode-tabs button[aria-pressed=true]{background:#f7cb62;color:#101b2d;border-color:#f7cb62}
.lucky-sng{font:15px/1.5 system-ui,sans-serif;color:#edf2f8;background:#0c1525;padding:18px;border-radius:0 0 16px 16px}.lucky-sng *{box-sizing:border-box}.lucky-sng button,.lucky-sng input,.lucky-sng select{font:inherit}.lucky-sng button{min-height:44px;padding:10px 16px;border:1px solid #465873;border-radius:9px;background:#23344e;color:#fff;cursor:pointer}.lucky-sng button:disabled{opacity:.5;cursor:wait}.lucky-sng a{color:#f7cb62}.lucky-sng button:focus-visible,.lucky-sng input:focus-visible,.lucky-sng select:focus-visible{outline:3px solid #6ae6c1;outline-offset:2px}.lucky-sng h2{color:#fff;font-size:clamp(23px,3vw,34px);line-height:1.2;margin:14px 0}.lucky-sng h3{color:#f7cb62;font-size:17px}.lucky-sng .sng-primary{background:#f7cb62;border-color:#f7cb62;color:#142035;font-weight:800}.sng-lobby{max-width:620px;margin:auto}.sng-kicker{color:#f7cb62;font-weight:700;letter-spacing:.1em;font-size:12px}.sng-lobby form{display:grid;gap:14px;margin:22px 0}.sng-lobby label{display:grid;gap:5px}.lucky-sng .sng-check{display:flex;align-items:center;gap:10px}.lucky-sng input:not([type=checkbox]),.lucky-sng select{background:#1c2b40;color:white;border:1px solid #536783;border-radius:7px;padding:10px;width:100%}.sng-check input{width:20px;height:20px;accent-color:#f7cb62}.sng-cast{display:flex;gap:10px;margin-top:24px}.sng-avatar{display:block;width:70px;height:80px;border-radius:12px;background-image:url('../images/sng-avatars.png');background-size:400% 200%;background-repeat:no-repeat;background-color:#0c1c34;border:1px solid #52657b;flex-shrink:0}.avatar-0{background-position:0 0}.avatar-1{background-position:33.333% 0}.avatar-2{background-position:66.667% 0}.avatar-3{background-position:100% 0}.avatar-4{background-position:0 100%}.avatar-5{background-position:33.333% 100%}.avatar-6{background-position:66.667% 100%}.avatar-7{background-position:100% 100%}.sng-avatar.lucky{background-size:contain;background-position:center}
.sng-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:18px}.sng-layout aside{padding:14px;background:#152237;border-radius:12px;align-self:start}.sng-head{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:16px}.sng-head strong{color:#f7cb62}.sng-head small{display:block;color:#c0cbd9}.sng-head button{font-size:12px;padding:7px}.sng-table{position:relative;min-height:540px;border:8px solid #755336;border-radius:90px;background:radial-gradient(ellipse,#146456,#093f39 70%);box-shadow:inset 0 0 60px #001d27;margin:10px 0}.sng-seat{position:absolute;width:130px;text-align:center;display:flex;align-items:center;flex-direction:column;transform:translate(-50%,-50%);padding:5px;border:2px solid transparent;border-radius:14px;background:#101b2df0;font-size:12px;line-height:1.35}.sng-seat .sng-avatar{width:54px;height:64px}.sng-seat strong{font-size:12px;color:#fff;max-width:100%;overflow-wrap:anywhere;margin-top:3px}.sng-seat>span{color:#f7cb62;font-weight:700}.sng-seat>small{color:#c4d0dd}.sng-seat.is-turn{border-color:#f7cb62;box-shadow:0 0 18px #f7cb6244}.sng-seat.is-out{opacity:.45}.seat-0{left:50%;top:83%}.seat-1{left:17%;top:66%}.seat-2{left:17%;top:23%}.seat-3{left:50%;top:16%}.seat-4{left:83%;top:23%}.seat-5{left:83%;top:66%}.sng-dealer{display:inline-block;border-radius:50%;background:#eee;color:#17243a;font-size:10px;padding:1px 4px}.sng-center{position:absolute;top:43%;left:50%;transform:translate(-50%,-50%);text-align:center;width:100%;pointer-events:none}.sng-center small{font-size:11px;color:#c5dfd2}.sng-community,.sng-hole{display:flex;gap:4px;justify-content:center;margin:5px 0}.sng-card{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;background:#fff8e7;border-radius:5px;color:#152138;width:36px;height:48px;font-size:20px;line-height:1.1;font-weight:800;box-shadow:0 2px 3px #0004}.sng-card small{font-size:15px}.sng-card.red{color:#bd293b}.sng-hole .sng-card{width:27px;height:34px;font-size:16px}.sng-hole .sng-card small{font-size:12px}.sng-back{display:inline-block;width:23px;height:30px;background:repeating-linear-gradient(45deg,#314f8a,#314f8a 4px,#203656 4px,#203656 8px);border:2px solid #b2bed4;border-radius:4px}.sng-speech{min-height:48px;padding:10px 12px;background:#1b2b41;border-left:3px solid #f7cb62;border-radius:6px;margin:10px 0;color:#f2e7c9}.sng-controls{padding:10px 0}.sng-actions{display:flex;gap:6px}.sng-actions button{flex:1;padding:10px 5px}.sng-controls form{display:flex;align-items:end;gap:10px;margin-top:10px}.sng-controls label{flex:1;font-size:12px}.sng-controls h2{font-size:26px}.sng-history summary,.sng-lobby summary{cursor:pointer;min-height:44px;padding:10px 0}.sng-history ul{padding-left:20px;font-size:12px}.sng-abandon{font-size:12px!important;margin:10px 0}.lucky-sng [data-error]{color:#ffb4b4;overflow-wrap:anywhere}.lucky-sng [data-board] ol{padding-left:24px}.lucky-sng [data-board] li{padding:8px 0;border-bottom:1px solid #35445b;font-size:13px}.lucky-sng [data-board] li span{display:inline-block;max-width:130px;overflow-wrap:anywhere}.lucky-sng [data-board] li strong{float:right}.sng-me{color:#f7cb62}.sng-foot{font-size:12px;color:#c1c9d6}.sng-warning{font-size:11px;background:#19273b;padding:12px;border-radius:8px;line-height:1.5}.sng-return{display:block;padding:12px}
@media(max-width:1050px){.sng-layout{grid-template-columns:1fr}.sng-layout aside{width:100%}.sng-table{max-width:680px;margin:10px auto}.sng-seat{width:115px}}
@media(max-width:600px){.lucky-sng{padding:10px;font-size:13px}.lucky-mode-tabs{font-size:12px;padding:6px}.sng-table{min-height:490px;border-width:5px;border-radius:65px}.sng-seat{width:88px;padding:4px 2px;font-size:11px}.sng-seat strong{font-size:10px}.sng-seat .sng-avatar{width:45px;height:54px}.sng-seat>small{font-size:9px}.sng-head{align-items:start}.sng-head strong{font-size:13px}.sng-head small{font-size:10px}.sng-head button{font-size:10px;padding:5px}.sng-card{width:29px;height:40px;font-size:17px}.sng-community{gap:3px}.sng-hole{gap:2px}.sng-hole .sng-card{width:23px;height:30px;font-size:14px}.sng-center{top:44%}.sng-center b{font-size:13px}.sng-cast .sng-avatar{width:60px;height:72px}.sng-actions button{font-size:12px}.sng-seat.seat-1,.sng-seat.seat-2{left:15%}.sng-seat.seat-4,.sng-seat.seat-5{left:85%}}
.lucky-hu-root.sng-active{max-width:1040px;image-rendering:auto}.lucky-sng{font-weight:400;container-type:inline-size}.lucky-sng .sng-avatar{image-rendering:auto}.sng-layout{grid-template-columns:1fr}@container(min-width:780px){.sng-layout{grid-template-columns:minmax(0,1fr) 220px}}
body.lucky-hu-standalone .lucky-hu-root{overflow-y:auto;touch-action:pan-y}body.lucky-hu-standalone .lucky-hu-root.sng-active{width:min(100vw,1040px);max-width:1040px}body.lucky-hu-standalone .lucky-hu-game{height:calc(var(--lucky-viewport-height,100dvh) - 68px)}
/* Core rc105 adds a HU sidebar. SNG owns its leaderboard and needs the whole stage. */
.lbp-game-layout:has(.lucky-hu-root.sng-active){grid-template-columns:minmax(0,1fr)}
.lbp-game-layout:has(.lucky-hu-root.sng-active)>.lbp-game-sidebar{display:none}
/* rc3: comfortable betting controls and a roomier felt table. */
.lucky-sng .sng-controls form{display:block;padding:16px;background:#142338;border:1px solid #3e5269;border-radius:14px;margin-top:12px}
.sng-sizing-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}.sng-sizing-title label{font-size:14px;font-weight:700}.sng-sizing-title span{font-size:13px;color:#f7cb62;white-space:nowrap}
.sng-sizing-row{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:8px}.sng-sizing-row input{text-align:center;font-size:19px!important;font-weight:750}.sng-sizing-row button{font-size:22px;padding:4px!important}
.lucky-sng input[data-bet-slider]{appearance:none;-webkit-appearance:none;width:100%;height:48px;padding:0;margin:8px 0;border:0;background:transparent;cursor:pointer;touch-action:pan-y;accent-color:#f7cb62}
.lucky-sng input[data-bet-slider]::-webkit-slider-runnable-track{height:9px;border-radius:10px;background:linear-gradient(to right,#f7cb62 var(--fill,0%),#41526a var(--fill,0%))}.lucky-sng input[data-bet-slider]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:30px;height:30px;border-radius:50%;background:#fff3c9;border:4px solid #e8ba52;margin-top:-10.5px;box-shadow:0 2px 8px #0008}
.lucky-sng input[data-bet-slider]::-moz-range-track{height:9px;border-radius:10px;background:#41526a}.lucky-sng input[data-bet-slider]::-moz-range-progress{height:9px;border-radius:10px;background:#f7cb62}.lucky-sng input[data-bet-slider]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;background:#fff3c9;border:3px solid #e8ba52}
.sng-presets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.sng-presets button{font-size:12px;padding:8px 2px;min-height:44px}.lucky-sng [data-raise-submit]{width:100%;margin-top:12px;min-height:48px}
.sng-table{min-height:640px;margin-top:95px;margin-bottom:24px;border:12px solid #33251f;border-radius:145px;background:radial-gradient(ellipse at 50% 38%,#207968 0%,#105346 55%,#082f2b 100%);box-shadow:0 0 0 2px #bd975b,0 0 0 8px #1c1716,0 18px 38px #0007,inset 0 0 0 3px #9cb98535,inset 0 0 65px #001c1c}
.sng-table:before{content:"";position:absolute;inset:33px 28px;border:1px solid #b8d1b32b;border-radius:120px;pointer-events:none}.sng-table:after{content:"PORAŽ LUCKYHO";position:absolute;left:0;right:0;top:55%;text-align:center;font-size:14px;letter-spacing:.22em;color:#d4d7b324;pointer-events:none;font-weight:800}
.sng-seat{width:136px;background:linear-gradient(180deg,#17283be8,#0c1725f7);border-radius:18px;padding:7px 5px;box-shadow:0 5px 14px #00191c55}.sng-seat .sng-avatar{width:78px;height:98px;border-radius:13px;border-color:#76909d}.sng-seat strong{font-size:13px}.sng-seat>span{font-size:14px}.sng-seat.is-turn{box-shadow:0 0 0 2px #9e74272b,0 0 24px #efcb6355}.sng-seat:has(.sng-bubble){z-index:5;opacity:1}
.seat-0{top:84%}.seat-1,.seat-5{top:68%}.seat-2,.seat-4{top:27%}.seat-3{top:17%}.sng-center{top:46%;z-index:1}.sng-center>b{display:inline-block;padding:5px 15px;border:1px solid #9db89b66;background:#082c29a8;border-radius:18px}.sng-community{margin:10px 0}.sng-community .sng-card{width:40px;height:54px}
.sng-bubble{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);width:max-content;max-width:190px;background:#fff6df;color:#263141;border:1px solid #e3c88e;border-radius:14px;padding:10px 12px;font-size:13px;font-weight:600;line-height:1.35;box-shadow:0 5px 16px #0005;pointer-events:none;text-align:left}.sng-bubble:after{content:"";position:absolute;bottom:-7px;left:calc(50% - 6px);width:12px;height:12px;background:#fff6df;border-right:1px solid #e3c88e;border-bottom:1px solid #e3c88e;transform:rotate(45deg)}
.seat-1 .sng-bubble,.seat-2 .sng-bubble{left:0;transform:none}.seat-4 .sng-bubble,.seat-5 .sng-bubble{left:auto;right:0;transform:none}
@container(max-width:600px){.sng-table{min-height:580px;border-width:8px;border-radius:90px;margin-top:90px}.sng-table:before{inset:23px 15px;border-radius:75px}.sng-seat{width:96px;padding:5px 2px;border-radius:14px}.sng-seat .sng-avatar{width:60px;height:78px}.sng-seat strong{font-size:10px}.sng-seat>span{font-size:12px}.sng-seat>small{font-size:10px}.sng-seat.seat-1,.sng-seat.seat-2{left:17%;}.sng-seat.seat-4,.sng-seat.seat-5{left:83%}.seat-1,.seat-5{top:70%}.seat-2,.seat-4{top:27%}.seat-3{top:17%}.seat-0{top:85%}.sng-center{top:46%}.sng-community .sng-card{width:28px;height:40px;font-size:17px}.sng-community .sng-card small{font-size:13px}.sng-bubble{max-width:155px;font-size:12px;padding:9px 10px}.sng-table:after{font-size:11px;top:55%;letter-spacing:.15em}.sng-presets{gap:4px}.sng-presets button{font-size:11px}.lucky-sng .sng-controls form{padding:12px}}
/* HU shares the larger touch target without changing its betting rules. */
.lucky-hu-sizing input[type=range]{min-height:44px;cursor:pointer;accent-color:#ffc247}.lucky-hu-sizing input[type=range]::-webkit-slider-thumb{width:28px;height:28px}.lucky-hu-sizing button{min-width:44px;min-height:44px}
.sng-avatar.self-avatar{background:radial-gradient(circle at 50% 30%,#415971,#1b2e43);display:grid;place-items:center}.sng-avatar.self-avatar:after{content:'TY';font-size:24px;letter-spacing:.12em;font-weight:800;color:#f7cb62}
@container(max-width:360px){.sng-seat{width:86px}.sng-seat strong{font-size:10px}.sng-seat .sng-avatar{width:58px;height:76px}.sng-bubble{max-width:145px}}
.sng-presets{display:flex;flex-wrap:wrap}.sng-presets button{flex:1 0 55px}.sng-presets button[aria-pressed=true]{border-color:#f7cb62;background:#3e3826;color:#ffe5a1}.sng-bet-detail{display:block;margin-top:10px;color:#c1cddd;font-size:12px}
/* Fixed-shape suits, independent of OS fonts / emoji rendering. */
.lucky-hu-root .playing-card{position:relative;display:inline-flex;flex-direction:column;align-items:center;justify-content:space-between;padding:5px 4px;background:#fffdf3;color:#152236;border:1px solid #ddd9c6;border-radius:6px;box-shadow:0 2px 4px #0005;font-family:Arial,Helvetica,sans-serif;font-weight:800;line-height:1;letter-spacing:-.04em;image-rendering:auto;vertical-align:middle;overflow:hidden}
.lucky-hu-root .playing-card.red,.lucky-hu-root .playing-card.is-red{color:#c62639}.lucky-hu-root .playing-rank{display:block;align-self:flex-start;font-size:22px;line-height:1}.lucky-hu-root svg.playing-suit{display:block;width:25px;height:25px;min-width:0;max-width:none;fill:currentColor;flex:none;align-self:center;margin:0;padding:0}.lucky-hu-root svg.playing-suit path{fill:currentColor}
.sng-community .playing-card{width:44px;height:62px}.sng-hole .playing-card{width:34px;height:48px;padding:3px}.sng-hole .playing-rank{font-size:18px}.sng-hole svg.playing-suit{width:21px;height:21px}.seat-0 .sng-hole .playing-card{width:44px;height:60px}.seat-0 .sng-hole .playing-rank{font-size:23px}.seat-0 .sng-hole svg.playing-suit{width:26px;height:26px}.sng-position{display:inline-block;color:#97dac7;font:700 9px Arial;letter-spacing:0}.lucky-hu-bot-cards{display:flex;justify-content:center;gap:4px}.lucky-hu-bot-cards .playing-card{width:34px;height:48px}.lucky-hu-bot-cards .playing-rank{font-size:17px}.lucky-hu-bot-cards svg.playing-suit{width:20px;height:20px}
@container(max-width:600px){.sng-table{min-height:620px}.seat-2,.seat-4{top:24%}.seat-0{top:83%}.sng-center{top:47%}.sng-community .playing-card{width:32px;height:46px;padding:3px}.sng-community .playing-rank{font-size:18px}.sng-community svg.playing-suit{width:20px;height:20px}.sng-hole .playing-card{width:28px;height:40px;padding:2px}.sng-hole .playing-rank{font-size:16px}.sng-hole svg.playing-suit{width:18px;height:18px}.seat-0 .sng-hole .playing-card{width:36px;height:52px;padding:3px}.seat-0 .sng-hole .playing-rank{font-size:21px}.seat-0 .sng-hole svg.playing-suit{width:23px;height:23px}}
