:root{--bg:#16351b;--panel:#2a6133;--panel2:#204526;--dark:#183b1e;--green:#53b963;--yellow:#ffd000;--red:#ff4741;--orange:#ff9c1a;--text:#fff;--radius:12px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:Arial,Helvetica,sans-serif;color:#fff;overflow-x:hidden}button,input,select{font:inherit}.page{width:min(1040px,calc(100% - 20px));margin:auto;padding:28px 0 50px}.date{text-align:right;color:#ffd400;font-size:13px;margin-bottom:14px}.hero{min-height:300px;background:linear-gradient(135deg,#0f3e17,#267036 55%,#0a3212);border:1px solid #315f38;display:flex;align-items:center;justify-content:center;text-align:center;position:relative;overflow:hidden;background-size:cover;background-position:center;padding:24px}.hero:before,.hero:after{content:"";position:absolute;width:260px;height:260px;border:35px solid rgba(255,255,255,.07);border-radius:50%;top:-130px}.hero:before{left:-70px}.hero:after{right:-70px}.hero>div{z-index:1;max-width:760px}.hero-kicker{font-weight:900;font-size:20px;color:#ffd000}.hero h1{margin:8px 0;font-size:clamp(30px,5vw,48px);line-height:1.05;text-shadow:0 4px 0 #2d441d,0 6px 15px #000;color:#ffcf2d}.hero p{font-size:clamp(14px,2vw,19px);font-weight:700}.hero small{color:#d7f2d9}.auth-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.btn{text-decoration:none;padding:12px;text-align:center;font-weight:900;border-radius:5px}.login{background:#ff1616;color:#fff}.register{background:#ffd000;color:#111}.search{display:flex;margin:0 0 34px}.search input{min-width:0;flex:1;padding:12px;border:0;border-radius:5px 0 0 5px}.search button{width:72px;border:0;background:#ffd000;border-radius:0 5px 5px 0;font-weight:700;cursor:pointer}.providers{background:#2a5f31;padding:15px 10px 7px;display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-inline:contain}.providers a{flex:0 0 160px;border-radius:25px;text-align:center;background:#3d8649;padding:10px 14px;color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}.providers a.active{background:#52a05d;box-shadow:0 0 0 2px #75c77f inset}.ticker{background:#2a5f31;border-top:1px solid #3f7c48;padding:14px 10px;display:flex;align-items:center;gap:20px;color:#ffd000;font-weight:800;overflow:hidden}.ticker>div{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ticker label{color:#fff;font-weight:400;white-space:nowrap}.ticker select{padding:8px;border:0;border-radius:5px}.provider-title{font-size:16px;margin:18px 0 8px;color:#fff}.provider-title span{font-weight:400;color:#a9c9ad;font-size:12px}.grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.card{background:#2b6034;border-radius:12px;padding:9px;overflow:hidden;min-width:0}.card[hidden]{display:none!important}.img-wrap{aspect-ratio:1/1;overflow:hidden;border-radius:9px 9px 0 0;background:#123}.img-wrap img{width:100%;height:100%;object-fit:cover;display:block}.game-name{background:#173d1e;min-height:42px;padding:6px 4px;color:#ffd600;font-weight:800;font-size:11px;text-align:center;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}.progress{height:18px;background:#386c40;border-radius:15px;margin:8px 0;position:relative;overflow:hidden}.progress .fill{height:100%;position:relative;overflow:hidden;transition:width .5s ease}.progress.green .fill{background:#54c667}.progress.orange .fill{background:#ff9e1f}.progress.red .fill{background:#fb4e4e}.progress .fill:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(130deg,rgba(255,255,255,.25) 0 12px,rgba(255,255,255,0) 12px 25px);animation:stripe 1.1s linear infinite}.progress span{position:absolute;inset:0;text-align:center;font-size:12px;font-weight:900;line-height:18px;text-shadow:0 1px 2px #333}@keyframes stripe{from{transform:translateX(-25px)}to{transform:translateX(0)}}.simulate{display:block;width:calc(100% - 16px);margin:16px auto 10px;background:#ffd000;border:2px solid #ae8f00;border-radius:5px;padding:6px 8px;font-weight:700;font-size:12px;cursor:pointer;white-space:normal}.pattern{background:#193d1e;padding:12px 10px;border-radius:9px;min-height:122px}.pattern>strong{display:block;color:#ffd000;text-align:center;font-size:12px;margin-bottom:9px}.pattern-row{display:flex;justify-content:space-between;align-items:center;margin:8px 0;gap:8px}.pattern-row small{font-size:9px;white-space:nowrap}.pattern-row>div{display:flex;gap:10px}.dot{display:inline-block;width:15px;height:15px;border-radius:50%;flex:none}.dot.ok{background:#51b961}.dot.no{background:#ff4b43}.na{text-align:center;font-size:12px;margin-top:25px}.na b{color:#ff4b43}.empty{grid-column:1/-1;text-align:center;padding:60px;background:#204526;border-radius:10px;color:#d4e7d6}

.modal-backdrop{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.62);display:grid;place-items:start center;padding:26px 14px;overflow-y:auto}.modal-backdrop[hidden]{display:none}.modal-open{overflow:hidden}.sim-modal{width:min(440px,100%);background:#fff;color:#3d3d3d;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.4);padding:24px 20px 20px;position:relative;margin:auto}.sim-close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#aaa;font-size:28px;font-weight:800;line-height:1;cursor:pointer}.sim-modal h2{text-align:center;margin:14px 28px 8px;font-size:24px;color:#333}.sim-game{text-align:center;color:#777;font-size:12px;margin:0 0 20px}.sim-form{display:grid;gap:18px}.sim-form input{width:100%;height:41px;border:1px solid #ccc;border-radius:5px;padding:0 11px;color:#333;background:#fff;outline:none}.sim-form input:focus{border-color:#53ad61;box-shadow:0 0 0 3px rgba(83,173,97,.14)}.sim-submit{height:38px;border:0;border-radius:4px;background:#58ad60;color:#fff;cursor:pointer}.sim-result{border-top:1px solid #eee;margin-top:20px;padding:26px 20px 0}.sim-stat{display:flex;justify-content:center;gap:8px;align-items:baseline;margin:10px 0;font-size:16px;text-align:center;flex-wrap:wrap}.sim-stat strong{color:#41ae56}.sim-stat .potential{color:#ff7a00}.sim-explain{margin:228px 0 18px;font-size:15px;line-height:1.45}.sim-explain p{margin:0 0 14px}.sim-meter{height:30px;background:#eee;border-radius:9px;overflow:hidden;margin-bottom:20px}.sim-meter>div{height:100%;background:#50b25f;border-radius:9px;transition:width .55s ease}.sim-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sim-actions a{display:block;padding:10px;border-radius:5px;text-align:center;text-decoration:none;color:#fff}.sim-actions .enter{background:#1285f5}.sim-actions .join{background:#28aa49}.sim-disclaimer{text-align:center;color:#888;font-size:11px;line-height:1.4;margin:14px 0 0}

@media(max-width:900px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.page{width:min(100% - 16px,1040px);padding-top:12px}.date{font-size:11px}.hero{min-height:210px;padding:18px}.auth-row{gap:8px}.ticker{align-items:stretch;flex-direction:column;gap:10px}.ticker>div{white-space:normal}.ticker label{display:flex;justify-content:space-between;align-items:center;gap:10px}.providers a{flex-basis:145px}.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.card{padding:7px}.pattern{padding:10px 7px}.pattern-row>div{gap:6px}.dot{width:13px;height:13px}}@media(max-width:520px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hero h1{font-size:28px}.search{margin-bottom:18px}.auth-row{grid-template-columns:1fr 1fr}.simulate{font-size:11px;width:100%;padding:7px 4px}.game-name{font-size:9px}.pattern>strong{font-size:10px}.pattern-row small{font-size:8px}.modal-backdrop{padding:12px 8px}.sim-modal{padding:18px 14px 16px;border-radius:6px}.sim-modal h2{font-size:21px}.sim-result{padding:22px 4px 0}.sim-explain{margin-top:120px}.sim-actions{grid-template-columns:1fr 1fr}}@media(max-width:340px){.page{width:calc(100% - 10px)}.grid{gap:5px}.card{padding:5px}.pattern-row>div{gap:4px}.dot{width:11px;height:11px}.auth-row{grid-template-columns:1fr}.sim-actions{grid-template-columns:1fr}}

/* v3: 3-column landscape cards + automatic HOT/TOP badge */
.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.card{position:relative;display:grid;grid-template-columns:minmax(0,46%) minmax(0,54%);gap:10px;padding:11px;background:#2b6034;border-radius:10px;overflow:hidden;min-height:228px}
.card-media,.card-info{min-width:0}.img-wrap{aspect-ratio:1/1;border-radius:7px;border:2px solid #d6ad00;padding:4px;background:#ffd51a}.img-wrap img{border-radius:4px}.game-name{margin-top:6px;min-height:32px;border-radius:3px;font-size:10px;padding:5px}.card-info{background:#102b15;border-radius:7px;padding:10px;display:flex;flex-direction:column}.pattern{background:transparent;padding:0;border-radius:0;min-height:105px}.pattern>strong{font-size:13px;text-align:left;border-bottom:1px solid rgba(255,255,255,.18);padding-bottom:8px;margin-bottom:9px}.pattern-row{margin:7px 0}.pattern-row small{font-size:10px}.pattern-row>div{gap:7px}.dot{width:11px;height:11px;border:2px solid currentColor;background:transparent!important}.dot.ok{color:#22b86a}.dot.no{color:#ed3c46}.dot:after{content:'✓';display:block;font-size:7px;line-height:7px;text-align:center;font-style:normal}.dot.no:after{content:'×'}.na{margin:26px 0 0;font-size:11px}.rtp-time{font-size:10px;font-weight:800;margin-top:auto;color:#fff;white-space:nowrap}.progress{margin:7px 0 6px;height:20px;background:#e8edf1;border-radius:4px}.progress span{color:#111;text-shadow:none;line-height:20px}.simulate{width:100%;margin:3px 0 0;font-size:10px;padding:5px}.rtp-badge{position:absolute;z-index:3;top:0;left:0;color:#fff;font-weight:900;font-size:13px;padding:8px 8px 12px;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%)}.rtp-badge.hot{background:#f20d16}.rtp-badge.top{background:#16d842}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.grid{grid-template-columns:1fr}.card{grid-template-columns:minmax(0,44%) minmax(0,56%);min-height:210px}.pattern{min-height:96px}.simulate{font-size:11px}}
@media(max-width:390px){.card{grid-template-columns:1fr;gap:8px}.card-media{display:grid;grid-template-columns:110px 1fr;gap:8px;align-items:center}.game-name{margin:0;min-height:50px}.card-info{padding:9px}.rtp-time{white-space:normal}}

/* v4: provider live header, WIB hourly slot, clearer microcopy */
.provider-live-head{margin:18px 0 12px;padding:16px 18px;border-radius:8px;background:linear-gradient(135deg,#f2c900,#ffe000 52%,#f2c900);color:#fff;box-shadow:0 3px 12px rgba(0,0,0,.18);overflow:hidden;position:relative}
.provider-live-head:after{content:"";position:absolute;right:-60px;top:-80px;width:250px;height:250px;border:24px solid rgba(0,0,0,.08);transform:rotate(28deg)}
.provider-live-head>*{position:relative;z-index:1}.provider-live-head .update-line{font-size:14px;font-weight:800;margin-bottom:10px;text-shadow:0 1px 1px rgba(0,0,0,.25)}
.provider-live-head h2{margin:0 0 7px;font-size:22px;line-height:1.15;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.2)}
.provider-live-head .rating-line{font-size:13px;font-weight:800}.provider-live-head .rating-line span{color:#ffb000;filter:drop-shadow(0 1px 0 rgba(0,0,0,.2))}
.provider-summary{margin:14px 0 10px;font-size:16px;color:#fff}.provider-summary strong{font-size:16px}.provider-summary span{font-size:12px;color:#b7d3bb}
.provider-title{display:none}
.pattern>strong{font-size:14px}.pattern-row small{font-size:11px;font-weight:700}.na{font-size:12px;line-height:1.45}.rtp-time{font-size:11px;line-height:1.3;letter-spacing:.05px}.game-name{font-size:11px;line-height:1.2}.progress span{font-size:12px}.simulate{font-size:11px}.provider-summary span{font-weight:600}
@media(max-width:620px){.provider-live-head{padding:14px 13px}.provider-live-head .update-line{font-size:13px}.provider-live-head h2{font-size:19px}.provider-live-head .rating-line{font-size:12px}.pattern>strong{font-size:13px}.pattern-row small{font-size:10.5px}.rtp-time{font-size:10.5px}.game-name{font-size:10.5px}}

/* v5 — cleaner Gen-Z green theme + balanced responsive cards */
:root{
  --bg:#071a12;
  --bg-soft:#0b2419;
  --panel:#113c29;
  --panel2:#0c2f20;
  --panel3:#082419;
  --line:rgba(142,255,196,.13);
  --green:#2fe07d;
  --green-2:#73f2a9;
  --lime:#b8f34a;
  --yellow:#ffd84a;
  --red:#ff4d64;
  --orange:#ffad42;
  --text:#f4fff8;
  --muted:#9fc9ae;
  --radius:16px;
}
body{background:
  radial-gradient(circle at 10% 0%,rgba(47,224,125,.10),transparent 28%),
  radial-gradient(circle at 92% 16%,rgba(184,243,74,.06),transparent 25%),
  linear-gradient(180deg,#071a12,#081e15 45%,#06150f);
  color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.page{width:min(1180px,calc(100% - 28px));padding:22px 0 52px}
.date{color:var(--muted);font-size:12px}.hero{border-radius:18px;border-color:var(--line);background:linear-gradient(135deg,#0c3323,#145236 55%,#0a2a1d);box-shadow:0 18px 55px rgba(0,0,0,.22)}
.auth-row{gap:12px}.btn{border-radius:10px}.login{background:#183e2b;color:#eafff1;border:1px solid var(--line)}.register{background:linear-gradient(135deg,#35df7d,#6ff0a4);color:#052012}
.search{margin-bottom:22px}.search input{border:1px solid var(--line);background:#0b2a1d;color:#fff;border-radius:12px 0 0 12px}.search button{background:var(--green);color:#052012;border-radius:0 12px 12px 0;font-weight:800}
.providers{background:#0b2a1d;border:1px solid var(--line);border-radius:15px;padding:10px;gap:8px}.providers a{background:#123d2a;color:#cce8d5;border-radius:10px}.providers a.active{background:linear-gradient(135deg,#28c86d,#3ce486);color:#052012;box-shadow:none}
.ticker{margin-top:10px;background:#0b2a1d;border:1px solid var(--line);border-radius:14px;color:var(--green-2)}.ticker select{background:#123d2a;color:#fff;border:1px solid var(--line)}
.provider-live-head{margin:16px 0 18px;padding:16px 18px;border-radius:16px;background:linear-gradient(120deg,#113c29,#155237 60%,#173d2d);border:1px solid rgba(115,242,169,.2);box-shadow:0 14px 38px rgba(0,0,0,.2);color:#fff}
.provider-live-head:after{border-color:rgba(115,242,169,.07)}
.provider-live-head .update-line{font-size:13px;color:#a8efc2;text-shadow:none;margin-bottom:7px}
.provider-live-head h2{font-size:21px;color:#f5fff8;text-shadow:none;letter-spacing:-.2px}
.provider-live-head .rating-line{font-size:12px;color:#c7e6d2}.provider-live-head .rating-line span{color:#f5cf4f;filter:none}

.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}
.card{position:relative;display:grid;grid-template-columns:minmax(0,44%) minmax(0,56%);gap:12px;min-height:236px;height:100%;padding:12px;background:linear-gradient(145deg,#123e2b,#0f3424);border:1px solid var(--line);border-radius:17px;box-shadow:0 10px 28px rgba(0,0,0,.18);overflow:hidden;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-2px);border-color:rgba(115,242,169,.28);box-shadow:0 14px 34px rgba(0,0,0,.24)}
.card-media{display:flex;flex-direction:column;min-width:0;gap:8px}.img-wrap{width:100%;aspect-ratio:1/1;border-radius:12px;border:2px solid rgba(184,243,74,.72);padding:3px;background:#0a291c;box-shadow:0 0 0 1px rgba(255,255,255,.04) inset}.img-wrap img{width:100%;height:100%;border-radius:8px;object-fit:cover}
.game-name{margin:0;min-height:38px;padding:7px 6px;background:#0a2c1e;border:1px solid rgba(255,255,255,.04);border-radius:9px;color:#f2d95f;font-size:10.5px;line-height:1.22;font-weight:850;letter-spacing:.05px;text-wrap:balance}
.card-info{min-width:0;background:#08271b;border:1px solid rgba(255,255,255,.045);border-radius:12px;padding:11px;display:flex;flex-direction:column;justify-content:flex-start}
.pattern{min-height:112px}.pattern>strong{color:#d9ef54;font-size:13px;font-weight:850;padding-bottom:8px;margin-bottom:8px;border-color:rgba(255,255,255,.12)}
.pattern-row{margin:7px 0;gap:8px}.pattern-row small{font-size:10.5px;color:#e7f7ec;font-weight:750}.pattern-row>div{gap:7px}.dot{width:12px;height:12px;border-width:1.7px}.dot:after{font-size:7px;line-height:8px}.dot.ok{color:#2fe07d}.dot.no{color:#ff5368}.na{margin:27px 0 0;font-size:11px;color:#dbece1}.na b{color:#ff6c7d}
.rtp-time{margin-top:auto;padding-top:8px;font-size:10.5px;font-weight:800;color:#dff3e6;white-space:normal;line-height:1.25}
.progress{height:20px;margin:7px 0;background:#dfe7e3;border-radius:7px}.progress .fill:after{opacity:.65}.progress.green .fill{background:linear-gradient(90deg,#2ed675,#69e99d)}.progress.orange .fill{background:linear-gradient(90deg,#f5a623,#ffc354)}.progress.red .fill{background:linear-gradient(90deg,#f24d61,#ff7181)}.progress span{font-size:11px;font-weight:900}
.simulate{width:100%;min-height:31px;margin:2px 0 0;padding:6px 7px;border:0;border-radius:8px;background:linear-gradient(135deg,#f9d631,#ffe36c);color:#222;font-size:10.5px;font-weight:850;box-shadow:0 3px 0 #b89912;transition:transform .12s ease,filter .12s ease}.simulate:hover{filter:brightness(1.03)}.simulate:active{transform:translateY(2px);box-shadow:0 1px 0 #b89912}
.rtp-badge{top:8px;left:8px;padding:7px 9px 10px;border-radius:8px 8px 10px 8px;clip-path:none;font-size:11px;letter-spacing:.4px;box-shadow:0 5px 14px rgba(0,0,0,.23)}.rtp-badge.hot{background:linear-gradient(135deg,#ff3854,#f10e31)}.rtp-badge.top{background:linear-gradient(135deg,#24d56e,#18b75a)}

/* Preserve visual balance at every common width. */
@media(max-width:1020px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card{grid-template-columns:minmax(0,42%) minmax(0,58%);min-height:230px}}
@media(max-width:700px){.page{width:min(100% - 18px,1180px)}.provider-live-head{padding:14px 15px}.provider-live-head h2{font-size:18px}.grid{grid-template-columns:1fr;gap:12px}.card{grid-template-columns:145px minmax(0,1fr);min-height:0;padding:11px;gap:11px}.pattern{min-height:108px}.card-media{align-self:stretch}.img-wrap{max-height:none}.game-name{min-height:36px}.card-info{padding:10px}}
@media(max-width:460px){.page{width:calc(100% - 14px)}.provider-live-head{border-radius:13px;margin:12px 0 14px}.provider-live-head .update-line{font-size:12px}.provider-live-head h2{font-size:16.5px}.provider-live-head .rating-line{font-size:11px}.grid{gap:10px}.card{grid-template-columns:118px minmax(0,1fr);gap:9px;padding:9px;border-radius:14px}.card-media{gap:6px}.img-wrap{border-radius:10px}.game-name{font-size:9.2px;min-height:34px;padding:5px}.card-info{padding:9px;border-radius:10px}.pattern{min-height:100px}.pattern>strong{font-size:12px;margin-bottom:7px;padding-bottom:6px}.pattern-row{margin:6px 0}.pattern-row small{font-size:9.5px}.pattern-row>div{gap:5px}.dot{width:11px;height:11px}.rtp-time{font-size:9.4px;padding-top:6px}.progress{height:18px;margin:6px 0}.progress span{line-height:18px;font-size:10.5px}.simulate{min-height:29px;font-size:9.4px;padding:5px}.rtp-badge{top:6px;left:6px;font-size:9.5px;padding:6px 7px 7px}}
@media(max-width:360px){.card{grid-template-columns:104px minmax(0,1fr);gap:7px;padding:7px}.game-name{font-size:8.5px}.card-info{padding:8px}.pattern>strong{font-size:11px}.pattern-row small{font-size:8.8px}.dot{width:10px;height:10px}.rtp-time{font-size:8.8px}.simulate{font-size:8.8px}}
.pattern-choices>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%}.pattern-choice{display:flex;align-items:center;justify-content:center;min-height:25px;padding:3px 5px;border-radius:6px;background:rgba(255,255,255,.08);font-size:11px;font-weight:800;line-height:1;color:#f7f7f7;border:1px solid rgba(255,255,255,.12)}
@media(max-width:460px){.pattern-choice{font-size:10px;padding:3px}.pattern-choices>div{gap:3px}}

/* v15 — two-row provider rail + polished scrollbar */
.providers{
  display:grid;
  grid-template-rows:repeat(2,minmax(40px,auto));
  grid-auto-flow:column;
  grid-auto-columns:minmax(150px,176px);
  column-gap:9px;
  row-gap:9px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:11px 11px 9px;
  scroll-snap-type:x proximity;
  scroll-padding-inline:11px;
  scrollbar-width:thin;
  scrollbar-color:rgba(69,225,132,.68) rgba(255,255,255,.055);
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
}
.providers a{
  width:100%;
  min-width:0;
  height:40px;
  padding:0 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:none;
  scroll-snap-align:start;
  border:1px solid rgba(142,255,196,.06);
  box-shadow:0 3px 10px rgba(0,0,0,.08);
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.providers a:hover{
  background:#174b34;
  border-color:rgba(115,242,169,.18);
  transform:translateY(-1px);
}
.providers a.active{
  border-color:rgba(126,255,183,.38);
  box-shadow:0 5px 16px rgba(41,220,119,.12);
}
.providers::-webkit-scrollbar{height:7px}
.providers::-webkit-scrollbar-track{
  background:rgba(255,255,255,.045);
  border-radius:999px;
  margin-inline:12px;
}
.providers::-webkit-scrollbar-thumb{
  background:linear-gradient(90deg,rgba(40,200,109,.72),rgba(60,228,134,.92));
  border-radius:999px;
  border:1px solid rgba(7,26,18,.72);
}
.providers::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(90deg,rgba(47,224,125,.9),rgba(115,242,169,1));
}
@media(max-width:700px){
  .providers{
    grid-auto-columns:minmax(132px,148px);
    grid-template-rows:repeat(2,38px);
    gap:7px;
    padding:9px 9px 8px;
    border-radius:13px;
  }
  .providers a{height:38px;padding:0 9px;font-size:12px;border-radius:9px}
  .providers::-webkit-scrollbar{height:5px}
}
@media(max-width:420px){
  .providers{grid-auto-columns:minmax(118px,136px)}
  .providers a{font-size:10.5px;line-height:1.1;white-space:normal;text-align:center}
}

/* v16 — friendly RTP info + filter toolbar */
.rtp-toolbar{
  margin-top:12px;
  padding:10px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  background:linear-gradient(135deg,rgba(10,40,28,.98),rgba(12,48,33,.96));
  border:1px solid rgba(106,236,165,.16);
  border-radius:16px;
  box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.rtp-notice{min-width:0;display:flex;align-items:center;gap:9px;padding:0 4px}
.rtp-notice-icon{
  width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;
  border-radius:10px;background:rgba(49,221,123,.12);color:#63ef9f;
  border:1px solid rgba(99,239,159,.18);font-size:18px;font-weight:900;
}
.rtp-marquee{min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
.rtp-marquee-track{display:flex;width:max-content;gap:64px;will-change:transform;animation:rtpMarquee 24s linear infinite}
.rtp-marquee-track span{white-space:nowrap;color:#72efa8;font-size:12.5px;font-weight:850;letter-spacing:.08px;text-transform:uppercase}
.rtp-marquee:hover .rtp-marquee-track{animation-play-state:paused}
@keyframes rtpMarquee{to{transform:translateX(calc(-50% - 32px))}}
.rtp-filter{display:flex;align-items:center;gap:9px;flex:none}
.rtp-filter-label{color:#9bc7aa;font-size:11px;font-weight:800;white-space:nowrap}
.rtp-filter-pills{display:flex;align-items:center;gap:6px;padding:4px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.055)}
.filter-pill{
  appearance:none;border:0;min-height:32px;padding:0 11px;border-radius:9px;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  background:transparent;color:#b9d8c4;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .12s ease;
}
.filter-pill:hover{background:rgba(255,255,255,.06);color:#fff}
.filter-pill:active{transform:scale(.97)}
.filter-pill.active{background:linear-gradient(135deg,#29cf73,#42e58b);color:#062314;box-shadow:0 5px 14px rgba(41,207,115,.16)}
.filter-dot{width:7px;height:7px;border-radius:50%;display:inline-block;box-shadow:0 0 0 2px rgba(255,255,255,.08)}
.filter-dot.hot{background:#ff3f58}.filter-dot.top{background:#35dc7d}

/* the old ticker is no longer rendered; keep legacy styles harmless */
@media(prefers-reduced-motion:reduce){.rtp-marquee-track{animation:none}}
@media(max-width:820px){
  .rtp-toolbar{grid-template-columns:1fr;gap:9px;padding:9px}
  .rtp-filter{justify-content:space-between;min-width:0}
  .rtp-filter-pills{overflow-x:auto;max-width:100%;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .rtp-filter-pills::-webkit-scrollbar{display:none}
}
@media(max-width:520px){
  .rtp-toolbar{margin-top:9px;border-radius:13px;padding:8px;gap:8px}
  .rtp-notice{gap:7px;padding:0}
  .rtp-notice-icon{width:28px;height:28px;flex-basis:28px;border-radius:9px;font-size:15px}
  .rtp-marquee-track{gap:44px;animation-duration:20s}
  .rtp-marquee-track span{font-size:10.5px}
  .rtp-filter{display:block}
  .rtp-filter-label{display:block;margin:0 0 6px 3px;font-size:10px}
  .rtp-filter-pills{width:100%;padding:3px;gap:4px}
  .filter-pill{min-height:30px;padding:0 9px;font-size:10px;flex:0 0 auto}
}

/* v17 — compact top controls + clean two-row provider carousel */
.hero{min-height:240px;padding:20px;border-radius:18px}
.hero-kicker{font-size:16px;letter-spacing:.08em}.hero h1{font-size:clamp(27px,4.2vw,42px);margin:6px 0}.hero p{margin:7px 0 10px;font-size:clamp(13px,1.7vw,17px)}
.quick-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin:14px 0 12px;padding:9px;background:rgba(8,36,25,.78);border:1px solid rgba(105,235,163,.13);border-radius:15px;box-shadow:0 10px 26px rgba(0,0,0,.10)}
.search-modern{position:relative;display:flex;align-items:center;margin:0;min-width:0;height:42px;background:#09291d;border:1px solid rgba(111,232,166,.15);border-radius:11px;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
.search-modern:focus-within{border-color:rgba(89,235,155,.48);box-shadow:0 0 0 3px rgba(48,213,122,.08)}
.search-modern .search-icon{width:40px;flex:0 0 40px;display:grid;place-items:center;color:#70d99b;font-size:20px;font-weight:900;transform:rotate(-18deg)}
.search-modern input{height:100%;min-width:0;flex:1;padding:0 8px 0 0!important;background:transparent!important;border:0!important;border-radius:0!important;color:#f4fff8;outline:0;font-size:13px}
.search-modern input::placeholder{color:#759987}.search-clear{width:36px;height:36px;margin-right:3px;border:0;border-radius:9px;background:transparent;color:#91b7a0;font-size:21px;line-height:1;cursor:pointer}.search-clear:hover{background:rgba(255,255,255,.06);color:#fff}
.auth-compact{display:flex;gap:7px;margin:0}.auth-compact .btn{min-width:92px;min-height:42px;padding:0 15px;display:flex;align-items:center;justify-content:center;border-radius:10px;font-size:11.5px;letter-spacing:.03em;transition:transform .13s ease,filter .13s ease,box-shadow .13s ease}.auth-compact .btn:hover{filter:brightness(1.05);transform:translateY(-1px)}.auth-compact .register{box-shadow:0 5px 15px rgba(44,220,124,.13)}
.provider-shell{position:relative;margin-top:0;padding:0 40px;border-radius:16px;background:#09291d;border:1px solid rgba(108,235,164,.15);box-shadow:0 10px 28px rgba(0,0,0,.12);overflow:hidden}
.provider-shell:before,.provider-shell:after{content:"";position:absolute;top:0;bottom:0;width:44px;z-index:2;pointer-events:none}.provider-shell:before{left:34px;background:linear-gradient(90deg,#09291d,transparent)}.provider-shell:after{right:34px;background:linear-gradient(270deg,#09291d,transparent)}
.providers{margin:0;border:0!important;border-radius:0!important;background:transparent!important;padding:10px 5px!important;scrollbar-width:none!important;-ms-overflow-style:none;scroll-behavior:smooth;grid-template-rows:repeat(2,40px);grid-auto-columns:minmax(148px,174px);gap:8px}
.providers::-webkit-scrollbar{display:none!important}.providers a{height:40px;border-radius:10px;font-size:11.5px;letter-spacing:.01em;box-shadow:none}.providers a.active{box-shadow:0 5px 16px rgba(44,221,124,.14)}
.provider-arrow{position:absolute;top:50%;z-index:4;width:31px;height:60px;transform:translateY(-50%);border:0;display:grid;place-items:center;background:rgba(15,60,42,.96);color:#dff9e8;font-size:28px;line-height:1;cursor:pointer;transition:background .15s ease,color .15s ease,opacity .15s ease}.provider-arrow:hover{background:#1a714b;color:#fff}.provider-arrow:disabled{opacity:.28;cursor:default}.provider-arrow.prev{left:0;border-radius:0 10px 10px 0}.provider-arrow.next{right:0;border-radius:10px 0 0 10px}
.rtp-toolbar{margin-top:10px}
@media(max-width:720px){.hero{min-height:185px;padding:16px}.quick-bar{grid-template-columns:1fr;gap:8px;padding:8px}.auth-compact{display:grid;grid-template-columns:1fr 1fr}.auth-compact .btn{min-width:0;width:100%;min-height:38px}.search-modern{height:40px}.provider-shell{padding:0 32px}.provider-shell:before{left:27px}.provider-shell:after{right:27px}.provider-arrow{width:27px;height:54px;font-size:24px}.providers{grid-template-rows:repeat(2,38px);grid-auto-columns:minmax(126px,142px);padding:8px 3px!important}.providers a{height:38px;font-size:10.5px}}
@media(max-width:430px){.page{padding-top:10px}.date{margin-bottom:8px}.hero{min-height:160px}.hero-kicker{font-size:13px}.hero h1{font-size:24px}.hero p{font-size:12px}.hero small{font-size:10px}.quick-bar{margin:10px 0 9px}.provider-shell{padding:0 28px}.provider-arrow{width:24px;height:50px}.providers{grid-auto-columns:minmax(116px,132px);gap:6px}.providers a{font-size:9.8px;padding:0 7px}}


/* v18 — mobile-first polish: balanced cards, real marquee, friendly filters */
.date{display:none!important}

/* ticker benar-benar masuk dari kanan dan berjalan ke kiri */
.rtp-marquee{position:relative;overflow:hidden;min-width:0;width:100%;mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.rtp-marquee-track{display:block;width:100%;min-width:100%;gap:0!important;animation:rtpMarqueeV18 18s linear infinite!important;will-change:transform}
.rtp-marquee-track span{display:inline-block;white-space:nowrap;min-width:max-content;padding-left:100%;font-size:12px;font-weight:850;letter-spacing:.02em}
@keyframes rtpMarqueeV18{from{transform:translateX(0)}to{transform:translateX(-100%)}}
.rtp-marquee:hover .rtp-marquee-track{animation-play-state:paused!important}

/* filter terasa sebagai segmented control, bukan deretan tombol random */
.rtp-filter{align-items:center;gap:8px}
.rtp-filter-pills{background:#092b1e;border:1px solid rgba(111,232,166,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.025);padding:4px;gap:4px}
.filter-pill{min-width:72px;min-height:34px;padding:0 12px;border-radius:9px;color:#bcd7c6;font-size:10.5px;letter-spacing:.01em}
.filter-pill.active{background:linear-gradient(135deg,#2dd77a,#46e991);color:#062416;box-shadow:0 4px 14px rgba(46,223,126,.18)}

/* card sizing lebih seimbang */
.card{grid-template-columns:minmax(0,43%) minmax(0,57%);gap:12px}
.game-name{font-size:11px;line-height:1.25;min-height:40px;padding:7px 6px}
.card-info{padding:11px}
.pattern-row small{font-size:10.5px}
.rtp-time{font-size:10.5px}

@media(max-width:820px){
  .rtp-toolbar{gap:10px}
  .rtp-filter{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}
  .rtp-filter-pills{overflow:visible;max-width:none;width:100%}
}

@media(max-width:520px){
  .rtp-toolbar{padding:9px;border-radius:14px;gap:10px}
  .rtp-notice{min-height:34px}
  .rtp-marquee-track{animation-duration:15s!important}
  .rtp-marquee-track span{font-size:10.5px;padding-left:100%}

  .rtp-filter{display:block;width:100%}
  .rtp-filter-label{display:block;margin:0 0 7px 2px;font-size:10px;color:#8fb9a0}
  .rtp-filter-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;width:100%;padding:5px;overflow:visible}
  .filter-pill{width:100%;min-width:0;min-height:34px;padding:0 6px;font-size:10px;justify-content:center}

  .grid{grid-template-columns:1fr;gap:11px}
  .card{grid-template-columns:minmax(132px,43%) minmax(0,57%);gap:10px;padding:10px;border-radius:15px;min-height:0}
  .card-media{gap:7px}
  .img-wrap{border-radius:11px;padding:3px}
  .game-name{font-size:11.5px;line-height:1.22;min-height:42px;padding:7px 5px;border-radius:9px;letter-spacing:0}
  .card-info{padding:10px;border-radius:11px}
  .pattern{min-height:104px}
  .pattern>strong{font-size:12.5px;margin-bottom:7px;padding-bottom:7px}
  .pattern-row{margin:7px 0;gap:6px}
  .pattern-row small{font-size:10.5px;line-height:1.15}
  .pattern-row>div{gap:5px}
  .pattern-choice{font-size:10px}
  .dot{width:11px;height:11px}
  .rtp-time{font-size:9.8px;line-height:1.25;padding-top:7px}
  .progress{height:19px;margin:7px 0}
  .progress span{font-size:10.5px;line-height:19px}
  .simulate{min-height:32px;font-size:10px;padding:6px 5px;border-radius:8px}
  .rtp-badge{font-size:10px;padding:7px 8px 10px}
}

@media(max-width:390px){
  .page{width:calc(100% - 12px)}
  .card{grid-template-columns:minmax(124px,42%) minmax(0,58%);gap:8px;padding:8px}
  .game-name{font-size:11px;min-height:40px;padding:6px 4px}
  .card-info{padding:9px 8px}
  .pattern>strong{font-size:12px}
  .pattern-row small{font-size:10px}
  .rtp-time{font-size:9.3px}
  .simulate{font-size:9.7px}
}

@media(max-width:340px){
  /* layar sangat sempit: tetap dua sisi, tapi jangan sampai saling tindih */
  .card{grid-template-columns:minmax(112px,41%) minmax(0,59%);gap:7px;padding:7px}
  .game-name{font-size:10.3px;min-height:38px}
  .pattern-row small{font-size:9.4px}
  .dot{width:10px;height:10px}
  .rtp-time{font-size:8.8px}
  .filter-pill{font-size:9.5px}
}

@media(prefers-reduced-motion:reduce){
  .rtp-marquee-track{animation:none!important;transform:none!important}
  .rtp-marquee-track span{padding-left:0;white-space:normal}
}

/* FINAL PATCH — ticker kanan->kiri + box nama game seragam */
/* Ticker: teks dimulai dari luar sisi kanan, melintas penuh, lalu mengulang. */
.rtp-marquee{
  position:relative;
  display:block;
  width:100%;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
}
.rtp-marquee-track{
  display:block!important;
  width:100%!important;
  min-width:100%!important;
  transform:none!important;
  animation:none!important;
  overflow:visible;
}
.rtp-marquee-track span{
  display:inline-block!important;
  width:max-content;
  min-width:max-content;
  max-width:none;
  padding-left:100%!important;
  white-space:nowrap!important;
  will-change:transform;
  animation:rtpTickerFinal 22s linear infinite!important;
}
@keyframes rtpTickerFinal{
  0%{transform:translateX(0)}
  100%{transform:translateX(-100%)}
}
.rtp-marquee:hover .rtp-marquee-track span{animation-play-state:paused!important}

/* Jangan matikan ticker karena aturan prefers-reduced-motion lama. */
@media(prefers-reduced-motion:reduce){
  .rtp-marquee-track{animation:none!important;transform:none!important}
  .rtp-marquee-track span{
    padding-left:100%!important;
    white-space:nowrap!important;
    animation:rtpTickerFinal 30s linear infinite!important;
  }
}

/* Semua box nama game mempunyai footprint yang sama. */
.game-name{
  width:100%;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  padding:7px 8px!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  overflow:hidden;
  text-overflow:ellipsis;
  align-content:center;
  justify-content:center;
  text-align:center;
  line-height:1.22!important;
}
.card-media{min-width:0}

@media(max-width:520px){
  .rtp-marquee-track span{animation-duration:18s!important}
  .game-name{
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    font-size:11px!important;
    padding:7px 6px!important;
  }
}
@media(max-width:390px){
  .rtp-marquee-track span{animation-duration:17s!important}
  .game-name{
    height:46px!important;
    min-height:46px!important;
    max-height:46px!important;
    font-size:10.6px!important;
  }
}

/* v20 — desktop provider scrolling, search CTA, and caret/focus cleanup */
/* Hide accidental text caret on UI chrome while keeping form fields normal. */
body{caret-color:transparent}
input,textarea,[contenteditable="true"]{caret-color:auto}
button,.btn,.providers a,.filter-pill,.rtp-notice-icon,.rtp-badge,.simulate,.game-name,.pattern,.rtp-time{-webkit-user-select:none;user-select:none}

/* Search is a proper input + clear + CTA group. */
.search-modern{overflow:hidden}
.search-modern input{padding-right:4px!important}
.search-submit{
  align-self:stretch;
  min-width:76px;
  padding:0 18px;
  border:0;
  border-left:1px solid rgba(102,235,161,.16);
  background:linear-gradient(135deg,#2ed879,#49ea94);
  color:#062416;
  font-size:11px;
  font-weight:900;
  letter-spacing:.035em;
  cursor:pointer;
  transition:filter .15s ease,transform .15s ease,box-shadow .15s ease;
}
.search-submit:hover{filter:brightness(1.055);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}
.search-submit:active{transform:translateY(1px)}
.search-submit:focus-visible,.search-clear:focus-visible,.provider-arrow:focus-visible,.filter-pill:focus-visible{outline:2px solid #82f5b4;outline-offset:-3px}

/* Provider rail: arrows + wheel + mouse/touch drag on desktop. */
.providers{cursor:grab;touch-action:pan-x;scroll-snap-type:x proximity}
.providers.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto!important}
.providers.is-dragging a{pointer-events:none}
.provider-shell.has-overflow .provider-arrow{opacity:1}
.provider-shell:not(.has-overflow) .provider-arrow{opacity:.25;pointer-events:none}

@media(min-width:721px){
  .provider-shell{padding-inline:42px}
  .provider-arrow{width:34px;height:64px}
  .providers{grid-auto-columns:minmax(150px,174px)}
}

@media(max-width:720px){
  .search-submit{min-width:66px;padding:0 13px;font-size:10.5px}
}
@media(max-width:430px){
  .search-modern .search-icon{width:34px;flex-basis:34px;font-size:17px}
  .search-clear{width:31px;height:31px;margin-right:2px}
  .search-submit{min-width:58px;padding:0 10px;font-size:10px}
}

/* V21: custom brand logo in hero */
.hero-brand-logo{display:block;max-width:min(260px,55vw);max-height:82px;width:auto;height:auto;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 5px 12px rgba(0,0,0,.32))}
@media(max-width:720px){.hero-brand-logo{max-width:min(210px,58vw);max-height:64px;margin-bottom:8px}}
@media(max-width:430px){.hero-brand-logo{max-width:min(175px,62vw);max-height:54px;margin-bottom:6px}}


/* V22: logo is a standalone row above the banner (not an overlay). */
.site-brand{display:flex;align-items:center;justify-content:center;width:100%;padding:4px 12px 14px}
.site-brand-logo{display:block;width:auto;height:auto;max-width:min(320px,62vw);max-height:96px;object-fit:contain;filter:drop-shadow(0 5px 14px rgba(0,0,0,.28))}
/* Compatibility: old in-hero class is no longer rendered. */
.hero-brand-logo{display:none!important}
@media(max-width:720px){.site-brand{padding:2px 10px 10px}.site-brand-logo{max-width:min(240px,68vw);max-height:72px}}
@media(max-width:430px){.site-brand{padding:0 8px 8px}.site-brand-logo{max-width:min(200px,72vw);max-height:60px}}

/* v23 — provider click/drag reliability */
.providers a{position:relative;z-index:1;touch-action:manipulation}
.providers.is-dragging a{pointer-events:none}

/* =========================================================
   SIMULATOR REBUILD V5
   One clean system. No legacy simulator overrides.
   ========================================================= */

#simModal.modal-backdrop{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:16px;
  overflow:hidden;
  background:rgba(1,11,7,.80);
  backdrop-filter:blur(5px);
}
#simModal[hidden]{display:none!important}
body.modal-open{overflow:hidden}

#simModal .sim-shell{
  position:relative;
  width:min(680px,calc(100vw - 28px));
  max-height:92vh;
}

#simModal .sim-v24{
  width:100%!important;
  max-width:none!important;
  max-height:92vh!important;
  margin:0!important;
  padding:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  border:1px solid rgba(87,224,157,.18)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#09251c,#071d16)!important;
  color:#eafff3!important;
  box-shadow:0 30px 90px rgba(0,0,0,.58)!important;
  scrollbar-width:thin;
  scrollbar-color:#35c58c rgba(255,255,255,.04);
}
#simModal .sim-v24::-webkit-scrollbar{width:7px}
#simModal .sim-v24::-webkit-scrollbar-track{background:rgba(255,255,255,.035);border-radius:999px;margin:12px 0}
#simModal .sim-v24::-webkit-scrollbar-thumb{background:linear-gradient(#40df9b,#247e61);border:2px solid #09251c;border-radius:999px}

/* close */
#simModal .sim-close-outer{
  position:absolute!important;
  z-index:100!important;
  top:13px!important;
  right:13px!important;
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  min-height:38px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:11px!important;
  background:#103a2e!important;
  color:#effff7!important;
  box-shadow:0 6px 18px rgba(0,0,0,.26)!important;
  font-size:0!important;
  cursor:pointer!important;
}
#simModal .sim-close-outer::before,
#simModal .sim-close-outer::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:15px;
  height:2px;
  border-radius:999px;
  background:currentColor;
}
#simModal .sim-close-outer::before{transform:translate(-50%,-50%) rotate(45deg)}
#simModal .sim-close-outer::after{transform:translate(-50%,-50%) rotate(-45deg)}
#simModal .sim-close-outer:hover{background:#17513e!important}

/* head */
#simModal .sim-head{
  padding:22px 64px 16px 24px!important;
  background:radial-gradient(circle at 88% -20%,rgba(57,230,151,.18),transparent 40%),linear-gradient(145deg,#0a3929,#0a2a20)!important;
  border-bottom:1px solid rgba(100,229,163,.12);
}
#simModal .sim-kicker{
  display:inline-flex;
  min-height:26px;
  align-items:center;
  padding:0 10px;
  border:1px solid rgba(80,236,160,.25);
  border-radius:999px;
  background:rgba(55,224,145,.10);
  color:#55e99d;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
#simModal .sim-head h2{
  margin:10px 0 4px!important;
  padding:0!important;
  color:#f4fff8!important;
  font-size:28px!important;
  line-height:1.12!important;
  text-align:left!important;
}
#simModal .sim-game{
  margin:0!important;
  color:#9bc1ae!important;
  font-size:12px!important;
  text-align:left!important;
}

/* form */
#simModal .sim-form{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  padding:16px 24px 18px!important;
  background:#081f18!important;
}
#simModal .sim-field{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:3px!important;
  min-width:0!important;
  padding:9px 12px!important;
  border:1px solid rgba(103,225,164,.16)!important;
  border-radius:13px!important;
  background:#0c2d22!important;
}
#simModal .sim-field>span{padding:0!important;color:#78a08c!important;font-size:9px!important;font-weight:900!important}
#simModal .sim-form input{
  width:100%!important;
  min-width:0!important;
  height:32px!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#f4fff8!important;
  font-size:16px!important;
  font-weight:800!important;
}
#simModal .sim-submit{
  grid-column:1/-1!important;
  width:100%!important;
  min-height:48px!important;
  border:0!important;
  border-radius:12px!important;
  background:linear-gradient(135deg,#2cd981,#56e9a1)!important;
  color:#06291b!important;
  font-size:15px!important;
  font-weight:900!important;
}

/* scanner */
#simModal .sim-scanner{
  margin:16px 24px 0!important;
  padding:20px!important;
  border:1px solid rgba(91,226,160,.12)!important;
  border-radius:16px!important;
  background:#0b2b20!important;
  text-align:center!important;
}
#simModal .scanner-orb{
  position:relative;
  display:grid;
  place-items:center;
  width:64px;
  height:64px;
  margin:0 auto 12px;
  border-radius:50%;
  background:conic-gradient(#36e394 0 24%,rgba(54,227,148,.11) 24% 100%);
  animation:simV5Spin .8s linear infinite;
}
#simModal .scanner-orb::before{content:"";position:absolute;inset:6px;border-radius:50%;background:#0b2b20}
#simModal .scanner-orb span{position:relative;width:18px;height:18px;border-radius:50%;background:#3be399}
#simModal .scanner-steps{display:flex;justify-content:center;gap:7px;margin-top:13px}
#simModal .scanner-steps i{width:22px;height:4px;border-radius:999px;background:#184735}
#simModal .scanner-steps i.active{background:#3be399}
@keyframes simV5Spin{to{transform:rotate(360deg)}}

/* result */
#simModal .sim-result{
  width:100%!important;
  margin:0!important;
  padding:18px 24px 22px!important;
  border:0!important;
  background:transparent!important;
  color:#eafff3!important;
  box-sizing:border-box!important;
}

#simModal .sim-v27-summary{
  display:grid!important;
  grid-template-columns:112px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:center!important;
  width:100%!important;
  padding:16px!important;
  border:1px solid rgba(100,231,165,.13)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,#103528,#0a261d)!important;
  box-sizing:border-box!important;
}
#simModal .sim-score-ring{
  --score:0;
  width:104px!important;
  height:104px!important;
  padding:7px!important;
  margin:0!important;
  border-radius:50%!important;
  background:conic-gradient(#3be394 calc(var(--score)*1%),#173d2f 0)!important;
}
#simModal .sim-score-ring>div{height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0a241b}
#simModal .sim-score-ring strong{font-size:27px!important;line-height:1!important;color:#f0fff8!important}
#simModal .sim-score-ring span{margin-top:6px;font-size:7px!important;color:#789c8a!important;font-weight:900!important;text-transform:uppercase}

#simModal .sim-v27-main{min-width:0!important;width:100%!important}
#simModal .sim-status{display:inline-flex!important;padding:5px 8px!important;border-radius:999px!important;background:rgba(54,224,143,.10)!important;color:#59e9a0!important;font-size:8px!important;font-weight:900!important}
#simModal .sim-v27-main h3{margin:8px 0 5px!important;color:#f3fff8!important;font-size:18px!important;line-height:1.28!important}
#simModal .sim-v27-main>p{margin:0 0 12px!important;color:#8dac9c!important;font-size:11px!important;line-height:1.5!important}

#simModal .sim-outcomes{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
#simModal .sim-outcome{min-width:0!important;padding:11px 12px!important;border:1px solid rgba(255,255,255,.055)!important;border-radius:12px!important;background:#0b2a20!important}
#simModal .sim-outcome span{display:block!important;color:#7f9f8f!important;font-size:9px!important;font-weight:800!important}
#simModal .sim-outcome strong{display:block!important;margin:4px 0 2px!important;font-size:18px!important;line-height:1.12!important;white-space:normal!important}
#simModal .sim-outcome small{display:block!important;color:#688a79!important;font-size:8px!important}
#simModal .sim-outcome.win strong{color:#60eca6!important}
#simModal .sim-outcome.loss strong{color:#ff8585!important}

#simModal .sim-jackpot{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:11px!important;
  width:100%!important;
  margin-top:10px!important;
  padding:13px!important;
  border:1px solid rgba(113,228,173,.13)!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#102f25,#0a251d)!important;
  box-sizing:border-box!important;
}
#simModal .sim-jackpot-icon{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:12px!important;background:rgba(68,224,151,.09)!important;color:#66e9a7!important}
#simModal .sim-jackpot-copy{min-width:0!important;width:100%!important}
#simModal .sim-jackpot-copy>span{display:block!important;color:#68e7a6!important;font-size:9px!important;font-weight:950!important}
#simModal .sim-jackpot-copy>strong{display:block!important;margin:4px 0 3px!important;color:#f2fff8!important;font-size:30px!important;line-height:1.05!important;overflow-wrap:normal!important}
#simModal .sim-jackpot-copy>small{display:block!important;color:#789a89!important;font-size:10px!important;line-height:1.5!important}
#simModal .sim-jackpot-badge{align-self:start!important;padding:5px 8px!important;border-radius:999px!important;background:rgba(255,255,255,.04)!important;color:#93b1a2!important;font-size:7px!important;font-weight:950!important}
#simModal .sim-jackpot[data-level="hot"],
#simModal .sim-jackpot[data-level="jackpot"]{border-color:rgba(255,201,88,.28)!important;background:linear-gradient(135deg,#352a14,#14261d)!important}

#simModal .sim-v27-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:10px 0!important}
#simModal .sim-v27-metrics>div{min-width:0!important;padding:11px 12px!important;border:1px solid rgba(99,226,163,.09)!important;border-radius:12px!important;background:#0b2a20!important}
#simModal .sim-v27-metrics span{display:block!important;color:#789988!important;font-size:8px!important;font-weight:800!important}
#simModal .sim-v27-metrics strong{display:block!important;margin:4px 0 2px!important;color:#effff7!important;font-size:17px!important}
#simModal .sim-v27-metrics small{display:block!important;color:#5bdc9a!important;font-size:8px!important;font-weight:800!important}

#simModal .sim-v27-chart-card{width:100%!important;padding:13px 14px 11px!important;border:1px solid rgba(97,225,162,.09)!important;border-radius:16px!important;background:#0b2a20!important;box-sizing:border-box!important}
#simModal .sim-v27-chart-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
#simModal .sim-v27-chart-head span{display:block!important;color:#59df99!important;font-size:8px!important;font-weight:900!important}
#simModal .sim-v27-chart-head strong{display:block!important;color:#eafff3!important;font-size:12px!important}
#simModal .sim-v27-chart-head b{padding:5px 8px!important;border-radius:999px!important;background:rgba(72,225,152,.09)!important;color:#5de5a0!important;font-size:8px!important}
#simModal .sim-chart{display:block!important;width:100%!important;height:116px!important}
#simModal .sim-grid-line{stroke:rgba(175,234,204,.08);stroke-width:1}
#simModal .sim-chart-line{stroke:#44e59a;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#simModal .sim-chart-point{fill:#071f17;stroke:#64f0ad;stroke-width:3}
#simModal .sim-chart-labels{display:grid!important;grid-template-columns:repeat(4,1fr)!important;text-align:center!important;color:#719181!important;font-size:8px!important}

#simModal .sim-v27-note{margin:10px 2px!important;padding:9px 11px!important;border-radius:10px!important;background:rgba(255,255,255,.024)!important;color:#7f9e8e!important;font-size:10px!important;line-height:1.5!important}
#simModal .sim-v27-actions{display:grid!important;grid-template-columns:.8fr 1fr 1fr!important;gap:8px!important}
#simModal .sim-v27-actions>*{min-width:0!important;min-height:44px!important;display:grid!important;place-items:center!important;border-radius:11px!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important}
#simModal .sim-again{background:#103326!important;color:#dff8eb!important;border:1px solid rgba(255,255,255,.08)!important}
#simModal .enter{background:#164936!important;color:#e6fff1!important}
#simModal .join{background:linear-gradient(135deg,#2dd983,#55e9a1)!important;color:#07291b!important}

/* MOBILE: <=520px, score is ALWAYS top, jackpot ALWAYS below */
@media(max-width:520px){
  #simModal.modal-backdrop{padding:6px!important}
  #simModal .sim-shell{
    width:calc(100vw - 12px)!important;
    max-width:420px!important;
    max-height:96vh!important;
    padding-top:42px!important;
  }
  #simModal .sim-v24{
    max-height:calc(96vh - 42px)!important;
    border-radius:18px!important;
    scrollbar-width:none!important;
  }
  #simModal .sim-v24::-webkit-scrollbar{display:none!important}

  #simModal .sim-close-outer{
    top:2px!important;
    right:3px!important;
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
  }

  #simModal .sim-head{padding:17px 16px 12px!important}
  #simModal .sim-head h2{font-size:24px!important}
  #simModal .sim-form{grid-template-columns:1fr!important;padding:12px 16px 16px!important}
  #simModal .sim-submit{grid-column:auto!important}
  #simModal .sim-result{padding:0 16px 18px!important}

  #simModal .sim-v27-summary{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:14px!important;
    padding:14px!important;
  }

  #simModal .sim-score-ring{
    order:0!important;
    flex:0 0 auto!important;
    width:100px!important;
    height:100px!important;
    margin:0 auto!important;
  }

  #simModal .sim-v27-main{
    order:1!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  #simModal .sim-v27-main h3{font-size:17px!important}
  #simModal .sim-outcomes{grid-template-columns:1fr!important}

  #simModal .sim-jackpot{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:8px!important;
    padding:14px!important;
  }
  #simModal .sim-jackpot-icon{display:none!important}
  #simModal .sim-jackpot-copy{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding:0!important;
  }
  #simModal .sim-jackpot-copy>strong{
    width:100%!important;
    margin:6px 0!important;
    font-size:30px!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  #simModal .sim-jackpot-copy>small{
    width:100%!important;
    max-width:none!important;
    font-size:11px!important;
  }
  #simModal .sim-jackpot-badge{
    position:static!important;
    align-self:flex-start!important;
  }

  #simModal .sim-v27-metrics{grid-template-columns:1fr!important}
  #simModal .sim-v27-metrics strong{font-size:18px!important}
  #simModal .sim-chart{height:108px!important}
  #simModal .sim-v27-actions{grid-template-columns:1fr 1fr!important}
  #simModal .sim-again{grid-column:1/-1!important}
}

@media(max-width:360px){
  #simModal .sim-shell{width:calc(100vw - 8px)!important}
  #simModal .sim-head,
  #simModal .sim-form,
  #simModal .sim-result{padding-left:12px!important;padding-right:12px!important}
  #simModal .sim-jackpot-copy>strong{font-size:27px!important}
  #simModal .sim-v27-actions{grid-template-columns:1fr!important}
  #simModal .sim-again{grid-column:auto!important}
}

