/* Approved PNG artwork. Same editable geometry for play, Studio and snapshots. */
:root{--sg-panel:#160b31;--sg-gold:#f1b75b;--sg-cream:#fff0bf;--sg-sapphire:#8c59e9;--sg-line:#bf833d80;--gold:#ffcf79;--muted:#b6a8d0;--line:#e2b66e60}
html,body{background:#080512;color:#fff0ce}.game{background:#150a35;box-shadow:0 0 70px #32126466}.game.has-published-scene.legend-raster:after{display:none}
.legend-scene{position:absolute;inset:0;isolation:isolate;overflow:hidden;background:#140728;container-type:inline-size}
.legend-layer{position:absolute;box-sizing:border-box;display:flex;align-items:center;justify-content:center;transform-origin:center}.legend-art{pointer-events:none}.legend-art img{width:100%;height:100%;object-fit:fill;display:block;user-select:none}
.legend-art[data-layer=guardian] img,.legend-art[data-layer=dragon] img,.legend-art[data-layer=logo] img{object-fit:contain}.legend-art[data-layer=sky]{z-index:0!important}.legend-art[data-layer=guardian]{filter:drop-shadow(0 0 9px #657dff60)}.legend-art[data-layer=dragon]{filter:drop-shadow(0 0 11px #527fff77)}.legend-art[data-layer=reelframe]{filter:drop-shadow(0 0 7px #9f4ee477);z-index:12!important}
.legend-copy{font-family:system-ui,sans-serif;text-align:center;font-weight:800;line-height:1.1;letter-spacing:.045em;text-shadow:0 2px 5px #080216}.legend-copy[data-layer=bonuscopy]{color:#ffe2aa!important;font-size:2.45cqw!important;text-shadow:0 2px 3px #080216,0 0 8px #ff8a3988}.legend-copy[data-layer=provider]{color:#dec9f0!important;font-size:2.1cqw!important;letter-spacing:.18em;font-weight:650}
.legend-binding{pointer-events:auto}.legend-scene .live-grid{background:radial-gradient(ellipse at 48% 15%,#321653,#15072d 75%);border-radius:1.4cqw;overflow:visible}.legend-scene #reels{width:100%;height:100%;border-radius:1.4cqw;background:none;position:relative}
.legend-scene .tile{background:radial-gradient(ellipse,#2b1040aa,#10032444);border-right:1px solid #efbe6e35;border-bottom:1px solid #ad629b2c}.legend-scene .tile .symbol{width:96%;height:96%;object-fit:contain;filter:drop-shadow(0 3px 3px #09001466)}.legend-scene .reels.rolling .symbol{filter:none}.legend-scene .tile.win{background:radial-gradient(ellipse,#ffe57b50,#7924b71c);box-shadow:inset 0 0 0 1px #ffce6d}
.legend-scene .tile.orb .symbol{opacity:1}.legend-scene .orb-num{background:none!important;box-shadow:none!important;border:0;left:14%;top:32%;width:72%;height:35%;font:900 4.5cqw/1 Georgia,serif;color:#fff3bf;text-shadow:0 2px 3px #082359,0 0 6px #043da5}.legend-scene .scatter-label{bottom:3%;font:bold 1.6cqw/1.1 system-ui;letter-spacing:.025em;color:#fff1b3;text-shadow:0 1px 3px #190228,0 0 3px #ffb129}.legend-scene .bonus-ribbon{border-radius:1.3cqw;background:linear-gradient(90deg,#391464,#8a2e74,#391464);border-color:#e6b157;color:#ffe5a6}
.legend-value-caption{display:block;font:800 2.2cqw/1.2 system-ui,sans-serif;letter-spacing:.07em;color:#f6d592;text-align:center}.legend-winamount,.legend-credits,.legend-betlabel{display:flex;flex-direction:column;justify-content:center;gap:.5cqw;text-shadow:0 2px 4px #080216}.legend-winamount #win{color:#ffe27d;font:900 6.4cqw/1 Georgia,serif;white-space:nowrap}.legend-credits #credits,.legend-betlabel #betText{font:800 3.8cqw/1.1 system-ui,sans-serif;color:#ffedc4;white-space:nowrap}
.legend-scene .feature{position:relative;inset:auto!important;margin:0;width:100%;height:100%;padding:1.5cqw 2cqw;display:flex;align-items:center;justify-content:center;text-align:center;border:0;border-radius:3cqw;background:linear-gradient(120deg,#52163b,#291047);box-shadow:inset 0 0 0 1px #b66b47,0 3px 10px #09001466;font:800 2.7cqw/1.15 system-ui;color:#ffedbd}.legend-scene .feature:after{content:'';position:absolute;inset:-2%;background:var(--legend-panel) center/100% 100% no-repeat;pointer-events:none}.legend-scene .feature>span{position:relative;z-index:1}.legend-scene .feature strong{font:900 4.2cqw/1.05 system-ui;color:#ffdb79}.legend-scene .feature small{font-size:1.8cqw;display:block;margin-top:.8cqw}.legend-scene .feature-ante{background:linear-gradient(120deg,#24366a,#19103d)}.legend-scene .feature-ante b{color:#ffe397}.legend-scene .feature.selected{box-shadow:inset 0 0 0 2px #ffe2a0,0 0 12px #eb9e4877}
.legend-scene #playHint{position:static;inset:auto;font-size:2.1cqw;line-height:1.2;width:100%;text-align:center;color:#e8d4ed;height:auto;white-space:nowrap;overflow:visible;max-width:none}
.legend-scene .round{width:100%;height:100%;min-width:0;min-height:0;padding:0;flex-shrink:0;border-radius:50%;border:1.5px solid #dda34f;background:radial-gradient(circle at 40% 20%,#4d2c75,#210d39 65%,#130c28);box-shadow:inset 0 0 0 2px #9c682944,0 2px 6px #06020e88;color:#ffe7a2;display:flex;flex-direction:column;align-items:center;justify-content:center}.legend-scene .round svg{width:45%;height:45%;stroke:currentColor;fill:none;stroke-width:1.7}.legend-scene .round small{font:700 1.7cqw/1 system-ui;letter-spacing:.04em;margin-top:3px;color:#ffe1a7}.legend-scene .round:after{font-size:1.5cqw;color:#d9bdde}.legend-scene .legend-minusbtn .round,.legend-scene .legend-plusbtn .round{border-width:1px;background:#25113f;box-shadow:none;position:relative}.legend-scene .legend-binding .round{min-width:44px;min-height:44px}
.legend-scene .spin{position:relative;inset:auto;width:100%;height:100%;min-width:0;min-height:0;margin:0;border:0;padding:0;background:none;filter:drop-shadow(0 0 10px #ed7d3466);display:block;aspect-ratio:1}.legend-scene .spin .spin-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;clip-path:none;animation:none;transform:none;mask-image:none!important;-webkit-mask-image:none!important}.legend-scene .spin .spin-rotor,.legend-scene .spin-caption{display:none!important}.legend-scene .spin:disabled{opacity:.7;filter:drop-shadow(0 0 15px #ffd066a0)}.legend-scene .spin:focus-visible{outline:2px solid #ffe2a0;outline-offset:4px;border-radius:50%}
.legend-raster>#promoBadge{display:none!important}.legend-raster>.bet-menu{display:none}.legend-raster .preview-badge{font-size:2cqw;top:1%;right:1%;background:#1a082d9c;color:#f7d390}
.legend-art[data-layer=winbanner],.legend-art[data-layer=creditpanel],.legend-art[data-layer=betpanel]{background:linear-gradient(120deg,#220c3adb,#181132ef);border-radius:4cqw}
.legend-scene .published-layer[data-layer=menubtn],.legend-scene .published-layer[data-layer=soundbtn],.legend-scene .published-layer[data-layer=infobtn]{bottom:5px!important;width:44px!important;height:44px!important}
dialog{border:1px solid #c88a44;background:linear-gradient(145deg,#2b103f,#150b29);color:#fff0d8;border-radius:18px;box-shadow:0 20px 80px #000b}.dialog-head{background:#2a123b;border-color:#dfa95655}.dialog-head h2{color:#ffe3a9}.dialog-head h2:before{content:'LEGEND BALL X1000';color:#e9adff}.primary-action,.splash-play{background:linear-gradient(135deg,#6f2146,#40235a);color:#fff0c1;border-color:#efb352}
.boot-splash{background:#15092c}.splash-lightning{display:none!important}.splash-background{object-fit:cover;filter:none}.splash-art .splash-background{z-index:0}.splash-art .splash-hero{position:absolute;left:0;bottom:13%;height:78%;max-width:70%;object-fit:contain;object-position:left bottom;filter:drop-shadow(0 0 15px #6975ff66);z-index:2}.splash-art .splash-dragon{position:absolute;right:-1%;top:22%;width:62%;object-fit:contain;filter:drop-shadow(0 0 15px #547fffa0);z-index:1}.splash-shade{background:linear-gradient(180deg,#0e052922,transparent 28%,transparent 46%,#110621b0 76%,#110621 100%)}
.splash-title{width:min(90vw,430px);max-width:90%;position:relative;z-index:2}.legend-splash-brand{width:100%;height:auto;overflow:visible;aspect-ratio:1000/335}.legend-splash-brand .brand-top{display:block;position:relative;inset:0;width:100%;height:100%;overflow:visible}.legend-splash-brand img{position:relative!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;filter:drop-shadow(0 3px 8px #06020e)}.splash-title>span{font:700 9px/1.2 system-ui;letter-spacing:.2em;color:#f9d0a5}.splash-logo-text{font:900 17px/1.1 ui-monospace,monospace;letter-spacing:.22em;color:#fff1cb;margin:10px 0}.splash-footer{position:relative;z-index:2}.splash-footer>small{color:#c6acd2}
@media(max-width:699px) and (orientation:portrait){.game.legend-raster{background:#15092c}.legend-scene{top:env(safe-area-inset-top,0px);bottom:env(safe-area-inset-bottom,0px);height:auto}.game.has-published-scene>.published-scene{z-index:3}}
@media(max-width:359px){.legend-scene .legend-value-caption{font-size:2.35cqw}.legend-scene .round small{font-size:1.8cqw}}
@media(prefers-reduced-motion:reduce){.legend-scene img{animation:none!important}}
/* Bound the small provider signature between independent 44px footer buttons. */
.legend-scene .legend-copy[data-layer=provider]{left:18%!important;top:auto!important;bottom:8px!important;width:50%!important;height:24px!important;font-size:clamp(8px,2cqw,10px)!important;letter-spacing:.08em;line-height:1.3;white-space:normal;overflow:hidden;pointer-events:none}
