.sl-cabinet {
  --sl-paper:#fff0ca; --sl-brass:#c5a46a; --sl-edge:#b99c68; --sl-deep:#0a282a; --sl-serif:Georgia,"Yu Mincho","Hiragino Mincho ProN",serif;
  width:100%; max-width:672px; margin:0 auto; position:relative; isolation:isolate;
  border:2px solid #9f8055; border-radius:24px 24px 17px 17px;
  padding:clamp(7px,1.9vw,14px); color:var(--sl-paper); line-height:1.5;
  background:linear-gradient(103deg,#332722,#855538 1.8%,#48332b 3.3%,#392b25 96.7%,#845a42 98.2%,#352820);
  box-shadow:0 12px 32px #0006, inset 0 0 0 1px #edd098, inset 0 0 0 4px #664b32, inset 0 0 0 5px #c6a06a70;
}
.sl-cabinet *,.sl-cabinet *::before,.sl-cabinet *::after {box-sizing:border-box}
.sl-cabinet button,.sl-cabinet summary {font-family:inherit;touch-action:manipulation;min-height:44px}
.sl-cabinet button:focus-visible,.sl-cabinet summary:focus-visible {outline:3px solid #ffe89c;outline-offset:1px;position:relative;z-index:2}
.sl-sr {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.sl-marquee {
  position:relative;overflow:hidden;display:flex;align-items:center;isolation:isolate;aspect-ratio:3.7/1;
  width:100%;min-width:0;min-height:92px;max-height:152px;border:1px solid #ebcf94;border-radius:16px 16px 4px 4px;
  background:#12363e url("/assets/casino/slot-marquee.webp") center center/cover no-repeat;
  box-shadow:inset 0 0 0 3px #462f21,inset 0 0 0 4px #e3bb7766;
}
.sl-marquee::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#061e29ad 0,#092b3960 31%,transparent 66%)}
.sl-rims {position:absolute;inset:5px;border:1px solid #ebcb8a85;border-radius:11px 11px 2px 2px;pointer-events:none}
.sl-title {margin:0 0 1px clamp(17px,5%,35px);text-shadow:0 2px 4px #03141d}
.sl-title h1 {font:650 clamp(30px,7vw,52px)/1.28 var(--sl-serif);color:#fff0be;letter-spacing:.11em;margin:0}
.sl-title p {font-size:.81rem;letter-spacing:.12em;line-height:1.5;color:#ebdbb4;margin:4px 0 0}
.sl-instrument,.sl-tools {background:linear-gradient(180deg,#113f40,#133536);border:1px solid #ad895c;display:flex;align-items:center;justify-content:space-between;gap:6px}
.sl-instrument {padding:5px clamp(7px,2.5%,16px);margin:4px 0;color:#ebd7ae;font-size:.81rem;line-height:1.4;min-height:30px}
.sl-instrument>span {text-align:right;font-variant-numeric:tabular-nums}
.sl-pilot {display:inline-flex;align-items:center;gap:6px;min-width:0;color:#fff0c4}
.sl-pilot i {width:8px;height:8px;flex:none;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffffc7,#ebc77b 50%,#895837);box-shadow:0 0 0 2px #a28558}
.sl-reel-frame {position:relative;padding:clamp(5px,1.4vw,11px);border:1px solid #e0c28b;border-radius:10px;
 background:linear-gradient(150deg,#e8ce9b,#8f643a 22%,#c5a172 41%,#725339 68%,#dbba7e 88%,#6c5136);box-shadow:inset 0 0 0 2px #684a2d}
.sl-reel-frame::before,.sl-reel-frame::after {position:absolute;width:4px;height:4px;content:"";top:2px;background:#fbe7b1;border-radius:50%;box-shadow:inset -1px -1px 1px #492f1a}
.sl-reel-frame::before{left:3px}.sl-reel-frame::after{right:3px}
.sl-window {position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));aspect-ratio:5/2.85;overflow:hidden;isolation:isolate;
  border:1px solid #3a3023;border-radius:5px;background:#eadbb7;box-shadow:0 0 0 1px #ddb97b}
.sl-reel {position:relative;overflow:hidden;background:linear-gradient(90deg,#cdbe9f 0%,#e7d7b5 4%,#f0e3c5 15%,#f8efd4 52%,#ecdfc0 89%,#cbb995 100%);border-right:2px solid #937e5c}
.sl-reel:last-of-type {border-right:0}
.sl-reel::after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#5a482c58,transparent 12%,transparent 89%,#6956395e);z-index:2}
.sl-strip {position:absolute;inset:0}
.sl-cell {position:relative;display:flex;justify-content:center;align-items:center;width:100%;height:33.3333333333%;border-bottom:1px solid #9f896638}
.sl-cell .sl-symbol {width:91%;height:auto;max-height:98%;aspect-ratio:1;flex:none;filter:drop-shadow(0 1px 1px #563d2b40)}
.sl-symbol {
  display:inline-block; background-image:url("/assets/casino/slot-symbols.webp");background-repeat:no-repeat;background-size:400% 200%;
}
.sl-sym-crown {background-position:0 0}
.sl-sym-compass {background-position:33.333333% 0}
.sl-sym-ship {background-position:66.666667% 0}
.sl-sym-lantern {background-position:100% 0}
.sl-sym-rose {background-position:0 100%}
.sl-sym-key {background-position:33.333333% 100%}
.sl-sym-wild {background-position:66.666667% 100%}
.sl-sym-scatter {background-position:100% 100%}
.sl-cell-wild,.sl-cell-scatter {padding-bottom:8%}
.sl-cell small {position:absolute;bottom:2%;left:50%;transform:translateX(-50%);margin:0;padding:1px 4px 0;min-width:48%;border:1px solid #c39e63;border-radius:2px;
  color:#fff5cc;background:#124858;font:700 clamp(8px,1.6vw,12px)/1.15 Georgia,serif;letter-spacing:.05em;text-align:center}
.sl-cell-scatter small {background:#783136}
.sl-running .sl-strip {will-change:transform;animation:sl-reel-motion var(--sl-roll) cubic-bezier(.17,.11,.16,1) var(--sl-delay) both}
@keyframes sl-reel-motion {from{transform:translate3d(0,var(--sl-travel),0)}to{transform:translate3d(0,0,0)}}
.sl-trace,.sl-scatter-trace {position:absolute;inset:0;z-index:3;pointer-events:none}
.sl-trace svg {display:block;width:100%;height:100%;overflow:visible}
.sl-border-cells {fill:#ffcc6124;stroke:#976420;stroke-width:2.4}
.sl-line,.sl-line-shadow {fill:none;stroke-linecap:round;stroke-linejoin:round}
.sl-line-shadow {stroke:#47331f;opacity:.68;stroke-width:3.4}
.sl-line {stroke:#ffe388;stroke-width:1.9;stroke-dasharray:900;animation:sl-trace-in .48s ease-out both}
@keyframes sl-trace-in {from{stroke-dashoffset:900}to{stroke-dashoffset:0}}
.sl-scatter-trace {display:grid;grid-template:repeat(3,1fr)/repeat(5,1fr)}
.sl-scatter-trace i {margin:3%;border:2px double #aa502b;border-radius:8px;box-shadow:inset 0 0 0 2px #ffdf8f;animation:sl-scatter .55s ease-out both}
@keyframes sl-scatter {from{opacity:.2}to{opacity:1}}
.sl-win-viewer,.sl-caption,.sl-companion,.sl-rules {background:#113438;border:1px solid #ad895c}
.sl-win-viewer {display:flex;justify-content:center;align-items:center;gap:5px;text-align:center;border-top:0;border-radius:0 0 4px 4px;padding:1px 4px}
.sl-win-viewer button {width:44px;min-width:44px;padding:0;border:0;background:transparent;color:#f5d397;font:1.8rem/1 Georgia,serif}
.sl-win-viewer>div {display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:1px 9px;flex:1;min-width:0;padding:4px 0;line-height:1.4}
.sl-win-viewer strong {font-size:.88rem;color:#ffebaf}.sl-win-viewer span {font-size:.85rem;color:#efe2c4}
.sl-control-deck {margin:6px 0 0;display:flex;gap:clamp(8px,2vw,18px);align-items:center;justify-content:space-between;padding:clamp(8px,1.8vw,13px);
  border:1px solid #aa865a;border-radius:5px 5px 2px 2px;background:linear-gradient(120deg,#25524e,#173c3b 55%,#123330);box-shadow:inset 0 0 0 2px #b49c6433}
.sl-meter-group {flex:1;display:flex;justify-content:space-evenly;gap:6px;min-width:0}
.sl-meter {display:grid;align-content:center;min-width:0;gap:2px}
.sl-meter>span {font-size:.81rem;color:#e4d2a7;white-space:nowrap}
.sl-meter strong {font:600 clamp(18px,4vw,28px)/1.05 Georgia,serif;font-variant-numeric:lining-nums tabular-nums;color:#f3dfaa;white-space:nowrap}
.sl-meter strong small {font:500 .68rem/1 system-ui;color:#efdcb8}
.sl-return strong {color:#fff1bd;text-shadow:0 0 10px #ffd06628}
.sl-spin {display:flex;align-items:center;justify-content:center;gap:clamp(5px,1.8vw,12px);flex:0 1 43%;min-width:110px;min-height:54px!important;
  border:1px solid #f5dfaa;border-radius:30px 30px 26px 26px;box-shadow:0 3px 0 #6f4b2d,inset 0 0 0 2px #ab8954,inset 0 0 0 3px #f5deb0;
  background:linear-gradient(160deg,#f7e4b5 0,#e3c489 46%,#d3b074 100%);color:#352b21;cursor:pointer;text-align:center;padding:7px 9px}
.sl-spin svg {flex:none}
.sl-spin span {display:grid;gap:2px;min-width:0;line-height:1.2}
.sl-spin b {font-size:clamp(14px,3.4vw,20px);font-weight:730;white-space:nowrap}
.sl-spin small {font-size:.76rem}
.sl-spin:active:not(:disabled) {transform:translateY(2px);box-shadow:0 1px 0 #63452d,inset 0 0 0 2px #af8c5a}
.sl-spin:disabled {opacity:.85;color:#e4d4ae;background:linear-gradient(#44534b,#35433c);box-shadow:inset 0 0 0 2px #6f725d;border-color:#948e71;cursor:default}
.sl-caption {border-top:0;padding:4px 10px;color:#e6d6b5;font-size:.82rem;line-height:1.5;border-radius:0 0 3px 3px;text-align:center}
.sl-caption b {font-weight:650;color:#fff0c7}
.sl-companion {display:flex;align-items:center;gap:8px;padding:5px 9px;margin:6px 0 0;background:linear-gradient(110deg,#384741,#273b39);border-radius:5px 5px 0 0}
.sl-face {position:relative;overflow:hidden;width:35px;height:42px;flex:none;background:#a89c7b;border:1px solid #b79b67;border-radius:18px 18px 4px 4px}
.sl-face img {position:absolute;max-width:none;width:205%;height:auto;top:-9%;left:-48%}
.sl-companion p {display:flex;align-items:baseline;gap:2px 8px;flex-wrap:wrap;margin:0;font-size:.86rem;line-height:1.45;color:#f3e3c1}
.sl-companion strong {font-size:.78rem;font-weight:650;color:#ebca8c}
.sl-tools {gap:0;justify-content:stretch;border-top:0}
.sl-tools .sl-tool,.sl-rules summary {display:flex;align-items:center;justify-content:center;gap:5px;line-height:1.2;color:#f1dfba;font-size:.88rem;font-weight:550}
.sl-tools .sl-tool {flex:1;margin:0;border:0;background:transparent;padding:4px 3px}
.sl-tools .sl-tool + .sl-tool {border-left:1px solid #ab956044}
.sl-tool svg,.sl-rules summary svg {width:19px;height:19px;flex:none}
.sl-tool b {font-weight:650;font-size:.78rem;color:#d8cdb6}
.sl-tool[aria-pressed=true] b {color:#ffe7a9}
.sl-rules {border-top:0;border-radius:0 0 7px 7px}
.sl-rules summary {cursor:pointer;list-style:none;padding:4px 5px}
.sl-rules summary::-webkit-details-marker {display:none}
.sl-rules summary i {width:7px;height:7px;border:solid #d4bd91;border-width:0 1px 1px 0;transform:rotate(45deg);margin:-3px 0 0 3px}
.sl-rules[open] summary i {transform:rotate(225deg);margin-top:3px}
.sl-rules-body {padding:6px clamp(8px,3vw,18px) 14px;border-top:1px solid #9f946155}
.sl-rules-body>p,.sl-special p,.sl-rules-body h4 {font-size:.9rem;line-height:1.65;color:#f0e6d0;margin:6px 0 10px}
.sl-rules-body table {width:100%;border-collapse:collapse;border-bottom:1px solid #b89c6970;color:#f7e7c4;font-size:.89rem;font-variant-numeric:tabular-nums}
.sl-rules-body th,.sl-rules-body td {text-align:right;font-weight:500;padding:5px 3px;border-top:1px solid #a898713e}
.sl-rules-body th:first-child {text-align:left}.sl-rules-body thead th {color:#e3c98f;font-weight:650}
.sl-rules-body tbody th {padding-block:0}
.sl-pay-pick {display:inline-flex;align-items:center;gap:4px;min-width:44px;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;white-space:nowrap}
.sl-pay-symbol {display:inline-block;position:relative;width:30px;height:30px;flex:none;vertical-align:middle;background:#e9dcba;border-radius:5px;border:1px solid #b4a077}
.sl-pay-symbol .sl-symbol {width:100%;height:100%}
.sl-pay-pick:active .sl-pay-symbol {border-color:#ffe6ac;box-shadow:0 0 0 1px #ffe6ac}
.sl-special {margin:9px 0}
.sl-special .sl-pay-pick {width:100%;white-space:normal}
.sl-special .sl-pay-symbol {width:37px;height:37px;flex:none}
.sl-special-info {display:grid;line-height:1.5;font-size:.87rem;color:#f0e6d0}.sl-special b {color:#fff0c9}
.sl-rules-body h4 {margin:12px 0 4px;color:#ebd09a}
.sl-line-map {list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0;padding:0;gap:4px}
.sl-line-map li {min-width:0;display:grid;justify-items:center;gap:1px;padding:2px;border:1px solid #a8976a66;color:#f1debb;font:600 .76rem/1.1 Georgia,serif}
.sl-line-map svg {width:100%;max-width:65px;aspect-ratio:2/1;display:block}
.sl-line-map path {stroke:#8fa293;fill:none;stroke-width:.6}.sl-line-map polyline {fill:none;stroke:#ffdf7e;stroke-width:2.4}
.sl-control-deck:has(.sl-routes) {display:block}
.sl-control-deck:has(.sl-routes) .sl-meter-group {justify-content:space-between;padding:0 5px 8px}
.sl-routes {width:100%;border-top:1px solid #c5ad755c;text-align:center;padding:8px 0 2px}
.sl-routes h3 {font:650 clamp(16px,4.3vw,23px)/1.4 var(--sl-serif);color:#ffebbb;margin:0}
.sl-routes p {font-size:.87rem;color:#e6dbc1;margin:2px 0 8px}
.sl-route-options {display:grid;grid-template-columns:1fr 1fr;gap:7px}
.sl-route {position:relative;overflow:hidden;isolation:isolate;display:grid;justify-items:center;align-content:center;gap:1px;border:1px solid #debd83;border-radius:7px;
  padding:10px 4px;min-height:75px!important;background:linear-gradient(150deg,#255b61,#174850);color:#fcf0cc}
.sl-storm {background:linear-gradient(150deg,#4b495c,#322b45)}
.sl-route strong {font:600 clamp(15px,3.7vw,20px)/1.3 var(--sl-serif);text-shadow:0 1px #192e29}
.sl-route b {font-size:.95rem;color:#fff3c8}.sl-route small {font-size:.75rem;font-weight:500;color:#e9dec8}
.sl-sea {position:absolute;inset:0;overflow:hidden;z-index:-1;opacity:.63}
.sl-sea i {position:absolute;width:130%;height:190%;bottom:-170%;left:-4%;border:1px solid #b7e1d5;border-radius:45%;transform:rotate(-6deg);background:#8fc6c927}
.sl-sea i:nth-child(2){bottom:-176%;left:-12%;transform:rotate(9deg)}.sl-sea i:nth-child(3){bottom:-182%;left:-15%;transform:rotate(-4deg)}
.sl-storm .sl-sea i {bottom:-166%;border-color:#dfccdf;transform:rotate(-16deg)}.sl-storm .sl-sea i:nth-child(2){bottom:-177%;transform:rotate(15deg)}
@media(max-width:390px){
 .sl-title p {font-size:.76rem}
 .sl-control-deck {gap:5px;padding:7px 5px}
 .sl-meter>span,.sl-instrument {font-size:.77rem}
 .sl-spin {flex-basis:43%;padding:6px}.sl-spin svg{width:21px;height:21px}
 .sl-spin small {font-size:.70rem}
 .sl-companion {padding:5px}.sl-face{width:31px;height:36px}
}
@media(max-width:350px){
 .sl-spin {min-width:110px;flex-basis:45%}
 .sl-spin svg {display:none}
}
@media(prefers-reduced-motion:reduce) {
 .sl-running .sl-strip {animation:none;transform:translate3d(0,var(--sl-travel),0)}
 .sl-line,.sl-scatter-trace i{animation:none}
}
.sl-cabinet .sl-auto-open {
  display:flex;width:100%;align-items:center;justify-content:center;gap:8px;margin:0;
  padding:5px 8px;border:1px solid #ad895c;border-top:0;background:linear-gradient(#214a49,#153a3b);
  color:#fff0c8;font-size:.9rem;line-height:1.4;cursor:pointer;
}
.sl-auto-open svg {width:20px;height:20px;flex:none;color:#ebd29c}
.sl-auto-open span {font-size:.82rem;color:#e5d6b5}
.sl-auto-open:disabled {cursor:default}
.sl-auto-picker {padding:3px clamp(8px,2vw,15px) 11px;background:#163e3e;border:1px solid #ad895c;border-top:0}
.sl-auto-heading {display:flex;align-items:center;justify-content:space-between;gap:5px}
.sl-auto-heading h3 {margin:0;color:#fff0c7;font:650 clamp(15px,3.9vw,19px)/1.4 var(--sl-serif)}
.sl-auto-heading button {min-width:44px;border:0;padding:2px;color:#edd7ae;background:transparent;font-size:.85rem;text-decoration:underline;text-underline-offset:3px}
.sl-auto-picker p {margin:0 0 8px;color:#eee3c8;font-size:.85rem;line-height:1.55}
.sl-auto-counts {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.sl-auto-counts button {display:grid;min-width:0;align-content:center;justify-items:center;gap:1px;margin:0;padding:5px 1px;
  border:1px solid #b99963;border-radius:8px;color:#ffecc3;background:linear-gradient(#315753,#234442);
  font-size:.97rem;line-height:1.25;font-variant-numeric:tabular-nums}
.sl-auto-counts button small {font-size:.75rem;color:#ead8b2}
.sl-cabinet .sl-auto-stop {background:linear-gradient(145deg,#8b4146,#72353a 58%,#5f2d33);color:#fff1d5;
  border-color:#e9c995;box-shadow:0 3px 0 #502c28,inset 0 0 0 2px #8e6052,inset 0 0 0 3px #c09470}
.sl-auto-stop i {width:11px;height:11px;flex:none;background:#ffdda4;border-radius:2px;box-shadow:0 1px 1px #382322}
.sl-auto-stop small {font-variant-numeric:tabular-nums}
