:root {
  color-scheme: dark;
  --ink: #180808; --paper: #f7eedc; --soft: #c7abab; --gold: #edc781;
  --line: #523737; --jade: #261010; --serif: "Segel Serif", Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
body { margin:0; background:var(--ink); color:var(--paper); font: 15px/1.5 var(--sans); }
.wrap { width:min(1376px,100%); padding-inline:clamp(14px,4.4vw,68px); margin-inline:auto; }
a { color:inherit; } button,input,select { font:inherit; } button,select,summary { cursor:pointer; }
button { color:var(--paper); }
[hidden] { display:none !important; }
:focus-visible { outline:2px solid #ffe3a6; outline-offset:3px; }
.sr,.skip:not(:focus) { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.skip:focus { position:fixed; left:8px; top:8px; z-index:5; background:var(--paper); color:var(--ink); padding:8px 14px; }
.hero { overflow:hidden; isolation:isolate; position:relative; display:flex; align-items:center; min-height:clamp(222px,21vw,282px); margin-top:clamp(14px,2.2vw,30px); padding:clamp(24px,3.9vw,57px); border:1px solid #666044; border-radius:4px; background:#210b0c; }
.hero::before { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#1a0708 3%,#1f0a0bea 29%,#1f0a0b4a 54%,transparent 78%),url('images/gerbang.webp') right 47% / auto 128% no-repeat; }
.hero::after { content:""; position:absolute; pointer-events:none; inset:9px; border:1px solid #ceaa632d; }
.hero-text { max-width:49%; }
.kicker { display:flex; align-items:center; gap:11px; margin:0 0 10px; color:var(--gold); font-size:11px; letter-spacing:.21em; font-weight:650; text-transform:uppercase; }
.kicker span { width:30px; height:1px; background:#c69e5a; }
h1,h2 { font-family:var(--serif); font-weight:400; line-height:1.05; margin:0; letter-spacing:-.025em; }
h1 { font-size:clamp(54px,6.6vw,97px); }
h1 em,h2 em { color:var(--gold); font-weight:400; }
.intro { font-size:clamp(14px,1.25vw,18px); margin:10px 0 3px; }
.intro strong { font-weight:650; }
.disclosure { margin:0; color:#caafaf; font-size:13px; max-width:40ch; }
.providers,#katalog,.partners { margin-top:clamp(25px,3.3vw,45px); }
.section-bar,.catalog-head,.catalog-name { display:flex; align-items:center; gap:14px; }
.section-bar::after { content:""; order:1; height:1px; flex:1; background:linear-gradient(90deg,#655537,#452e2e 70%,transparent); }
h2 { font-size:clamp(28px,3.3vw,46px); }
.rail-controls { display:flex; gap:5px; order:2; }
.rail-controls button { width:36px; height:36px; padding:0; display:grid; place-items:center; background:transparent; border:1px solid var(--line); border-radius:50%; color:var(--gold); font-size:23px; line-height:1; }
.rail-controls button:hover,.empty button:hover { background:#331c1c; }
#putar { font-size:12px; font-weight:700; }
#putar[aria-pressed="true"] .play,#putar[aria-pressed="false"] .pause { display:none; }
#provider-rail { position:relative; display:flex; gap:8px; margin-top:16px; padding:3px 2px 6px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:#665e42 transparent; }
.provider { display:flex; align-items:center; justify-content:center; gap:8px; flex:0 0 calc((100% - 40px)/6); min-width:0; padding:6px 7px; min-height:49px; border-radius:4px; border:1px solid var(--line); background:#271111; color:#d7c4c4; text-decoration:none; text-align:center; font:600 13px/1.18 var(--sans); scroll-snap-align:start; }
.provider img { flex:none; width:33px; height:33px; object-fit:contain; }
.provider[aria-current],.provider:hover { color:#ffe6af; background:#352223; border-color:#a88c53; }
#katalog { scroll-margin-top:15px; }
.catalog-head { flex-wrap:wrap; justify-content:space-between; align-items:end; border-bottom:1px solid var(--line); padding-bottom:15px; margin-bottom:16px; gap:14px 20px; }
.catalog-name { align-items:baseline; flex-wrap:wrap; gap:4px 12px; }
#jumlah,.caption,.load,.catalog-note { color:var(--soft); font-size:12px; }
.tools { display:flex; align-items:center; flex-wrap:wrap; gap:7px; }
.tools label { min-width:0; }
.search { position:relative; flex:1 1 158px; }
.magnify { position:absolute; top:50%; left:13px; border:1.5px solid #bdbb9f; border-radius:100%; width:12px; height:12px; transform:translateY(-61%); pointer-events:none; }
.magnify::after { content:""; position:absolute; width:6px; height:1.5px; background:#bdbb9f; right:-4px; bottom:-2px; transform:rotate(45deg); }
.tools input,.tools select { display:block; width:100%; min-height:41px; background:#221010; color:#efe8d7; border:1px solid #573a3b; border-radius:4px; font-size:13px; }
.tools input { padding:7px 9px 7px 34px; }
.tools input::placeholder { color:#c6aaaa; }
.tools select { padding:7px 6px; }
.catalog-note { margin:0 0 12px; }
.games { display:grid; gap:clamp(8px,1.35vw,18px); grid-template-columns:repeat(6,minmax(0,1fr)); align-items:start; }
.game { min-width:0; background:linear-gradient(145deg,#2e1515,#210f0f); border:1px solid #523737; border-radius:5px; overflow:hidden; --bar:#d27678; }
.art { background:#180b0b; aspect-ratio:1.15; border-bottom:1px solid #523737; }
.art img { display:block; width:100%; height:100%; object-fit:contain; }
.card-body { padding:clamp(9px,1.1vw,15px); }
h3 { font-size:clamp(13px,1vw,15px); line-height:1.3; min-height:2.6em; margin:0 0 9px; font-weight:630; overflow-wrap:anywhere; }
.readout { display:flex; align-items:baseline; justify-content:space-between; }
.readout span,.caption { font-size:10px; font-weight:650; letter-spacing:.09em; text-transform:uppercase; color:#cbb1b1; }
.rate { font:600 20px/1.25 var(--sans); color:var(--bar); font-variant-numeric:tabular-nums; }
.game[data-level="sedang"] { --bar:#f4ca72; }
.game[data-level="rendah"] { --bar:#f49a8e; }
.meter { height:3px; margin:4px 0 5px; border-radius:2px; background:linear-gradient(to right,var(--bar) var(--nilai),#452e2e var(--nilai)); }
summary { display:flex; align-items:center; justify-content:space-between; gap:4px; list-style:none; min-height:36px; color:#ece3cf; font-size:12px; }
summary::-webkit-details-marker { display:none; }
.plus { width:9px; height:9px; display:grid; place-items:center; position:relative; margin-right:2px; }
.plus::before,.plus::after { content:""; position:absolute; width:9px; height:1px; background:var(--gold); }
.plus::after { transform:rotate(90deg); }
details[open] .plus::after { display:none; }
.detail { border-top:1px solid var(--line); padding-top:8px; font-size:12px; }
.waktu,.pola { margin:2px 0 6px; font-variant-numeric:tabular-nums; }
.pola { padding:0; list-style:none; }
.pola li { margin:1px 0; }
.empty { padding:26px 14px; background:var(--jade); text-align:center; }
.empty button,.load button { padding:10px 18px; border-radius:4px; cursor:pointer; }
.empty button { background:transparent; border:1px solid #785051; }
.load { display:flex; flex-direction:column; align-items:center; gap:9px; margin:16px 0; }
.load button { border:1px solid #bb9c62; background:#e4c58e; color:#241515; font-weight:650; font-size:13px; }
.load button:hover { background:#f5d9a2; }
.partners { margin-bottom:30px; }
.partner-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px; }
.partner-card {min-width:0;border-radius:4px;border:1px solid #685d3c;overflow:hidden;background:var(--jade)}
.partner-art {display:flex;align-items:center;aspect-ratio:5/1;padding-inline:5%;background-position:center,right 45%;background-size:cover}
.partner-k24 {background-image:linear-gradient(90deg,#20090b 10%,#20090bdb 44%,transparent 85%),url("../images/beranda/naga.webp")}
.partner-k34 {background-image:linear-gradient(90deg,#20090b 10%,#20090bdb 44%,transparent 85%),url("../images/beranda/feniks.webp")}
.partner-art img {width:48%;height:auto;display:block}
.partner-card>a {display:flex;align-items:center;justify-content:space-between;min-height:36px;padding:6px 10px;font-weight:600;font-size:12px;text-decoration:none}
.partner-card>a:is(:hover,:focus-visible) {text-decoration:underline}
.partner-links b,footer a { color:var(--gold); }
.sample-pref { display:inline-flex; align-items:center; gap:6px; color:var(--soft); font-size:12px; margin-top:12px; cursor:pointer; }
.sample-pref input { accent-color:var(--gold); }
.activity { position:fixed; right:max(14px,env(safe-area-inset-right)); bottom:max(14px,env(safe-area-inset-bottom)); z-index:3; display:flex; align-items:center; gap:8px; min-width:160px; max-width:calc(100% - 28px); background:#291313fa; border:1px solid #726443; border-left:3px solid #dcb875; border-radius:4px; box-shadow:0 4px 16px #0f030366; padding:5px 4px 5px 10px; font-size:12px; }
.activity>div { display:grid; }
.sample-title { font-size:10px; font-weight:600; color:var(--soft); }
.activity button { border:0; color:var(--soft); margin-left:auto; background:transparent; width:32px; height:32px; display:grid; place-items:center; }
.activity button span { width:12px; height:12px; display:grid; place-items:center; }
.activity button span::before,.activity button span::after { content:""; position:absolute; background:currentColor; width:11px; height:1px; transform:rotate(45deg); }
.activity button span::after { transform:rotate(-45deg); }
#contoh-penarikan { font-variant-numeric:tabular-nums; color:var(--gold); }

footer { border-top:1px solid var(--line); color:var(--soft); }
footer .wrap { display:flex; justify-content:space-between; gap:8px; align-items:center; min-height:60px; font-size:12px; }
footer i { padding-inline:6px; color:#7f795b; }
footer a { text-underline-offset:.18em; }
@media(max-width:1100px) { .games { grid-template-columns:repeat(5,minmax(0,1fr)); } }
@media(max-width:999px) { .provider { flex-basis:calc((100% - 32px)/5); } }
@media(max-width:850px) {
  .games { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .catalog-head { align-items:start; }
  .hero-text { max-width:62%; }
  .hero::before { background-size:auto,auto 118%; background-position:center,right 44%; }
}
@media(max-width:680px) {
  .games { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .catalog-head { display:block; }
  .tools { margin-top:13px; }
}
@media(max-width:599px) {
  .hero { min-height:208px; padding:22px 16px; }
  .hero-text { max-width:69%; }
  .hero::before { background-image:linear-gradient(90deg,#170607f2 0%,#170708e8 28%,#18080877 61%,#18080820),url('images/gerbang.webp'); background-size:auto,auto 103%; background-position:center,64% center; }
  .disclosure { max-width:25ch; font-size:12px; }
  .provider { flex-basis:calc((100% - 16px)/3); flex-direction:column; gap:3px; font-size:11px; padding:5px; }
  .provider img { width:27px; height:27px; }
  .rail-controls { gap:4px; }
  .section-bar { gap:9px; }
  .rail-controls button { width:34px; height:34px; }
  .partner-links { grid-template-columns:1fr; gap:8px; }
}
@media(max-width:490px) {
  .games { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tools { display:grid; grid-template-columns:1fr 1fr; }
  .search { grid-column:1/-1; }
  .hero-text { max-width:76%; }
  .hero::before { background-position:center,60% center; }
  .art { aspect-ratio:1.1; }
  summary { min-height:41px; }
}
.external-mark { position:relative; display:inline-block; flex:none; width:8px; height:8px; border-top:1px solid currentColor; border-right:1px solid currentColor; vertical-align:.12em; margin-inline:2px; }
.external-mark::after { content:""; position:absolute; right:0; top:0; width:10px; height:1px; background:currentColor; transform-origin:right center; transform:rotate(-45deg); }
.pause { width:8px; height:10px; border-inline:2px solid currentColor; }
.play { width:0; height:0; border-left:8px solid currentColor; border-block:5px solid transparent; margin-left:2px; }
.more-mark { display:inline-block; position:relative; width:7px; height:7px; border-right:1px solid; border-bottom:1px solid; transform:rotate(45deg); margin:0 1px 2px 5px; }
.time-row { display:flex; flex-wrap:wrap; align-items:center; gap:4px; margin:8px 0 0; font-size:clamp(10px,.86vw,12px); line-height:1.3; color:var(--soft); }
.time-row .waktu { margin:0; }
.clock-icon { display:inline-block; position:relative; width:10px; height:10px; border:1px solid #bc9b9c; border-radius:50%; }
.clock-icon::after { content:""; position:absolute; top:1px; left:3px; width:3px; height:4px; border-left:1px solid; border-bottom:1px solid; }

/* Sampul asli digunakan pada kartu sorotan dan katalog. */
.hero{min-height:clamp(190px,17vw,248px);padding:clamp(21px,3vw,43px)}
.hero-text{max-width:57%}.hero h1{font-size:clamp(51px,5.5vw,79px)}
.wrap>.doro-news{margin-top:12px}
.providers,#katalog{margin-top:clamp(24px,2.7vw,38px)}
.period-tag{order:2;color:#e9c786;font:600 13px/1.4 var(--sans);margin:0}
.provider-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(7px,1vw,15px);margin-top:14px}
.provider-picks .provider{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;justify-content:initial;align-items:center;text-align:left;border:1px solid #786847;background:radial-gradient(at 0% 35%,#493031,transparent 72%),linear-gradient(120deg,#3a2223,#261111);min-height:78px;border-radius:6px;padding:10px clamp(8px,1.35vw,21px);gap:clamp(5px,1vw,14px);color:#fff0d1}
.provider-picks .provider::before{content:"";z-index:-1;position:absolute;inset:0;background:url('../images/beranda/pahatan.webp') right center/auto 100% no-repeat;opacity:.19}
.provider-picks .provider img{box-sizing:content-box;object-fit:contain;width:40px;height:40px;padding:3px;border:1px solid #a28b5b77;background:#1f0e0eb0;border-radius:50%}
.provider-picks .prov-name{font:400 clamp(19px,2vw,28px)/1.05 var(--serif);overflow-wrap:anywhere}
.provider-mark,.pick-total{font:650 11px/1.3 var(--sans);color:#efd191}
.provider-mark{white-space:nowrap;display:inline-flex;gap:4px;align-items:center;align-self:start}.provider-mark::before,.spark,.cover-star{font-family:Georgia,serif}
.provider-mark::before{content:"✦";font-size:14px;line-height:1}
.provider-picks .provider[aria-current=page],.provider-picks .provider:is(:hover,:focus-visible){border-color:#e4c179;box-shadow:inset 0 -2px 0 #d9b675}
.rail-line{display:flex;align-items:center;gap:10px;margin-top:8px}.rail-line .rail-controls{flex:none}.rail-line #provider-rail{flex:1;min-width:0;margin:0;padding:3px 2px}
#provider-rail .provider{padding:4px 7px;min-height:43px}.provider[aria-current=page]{border-color:#d4b674;box-shadow:inset 0 -2px #c5a161}
#provider-rail .provider-mark[hidden]{display:none}.catalog-head{margin-bottom:14px;align-items:center}
#provider-title:focus:not(:focus-visible){outline:none}
.catalog-head input,.catalog-head select,.catalog-head button{touch-action:manipulation}
#katalog{position:relative}#katalog[aria-busy=true] .catalog-head{border-bottom-color:#d5b577}
.shelf{background:radial-gradient(ellipse at 0 0,#3b272875,transparent 70%),#200d0d;border:1px solid #5f6045;border-radius:7px;padding:clamp(10px,1.3vw,18px)}
.shelf-head,.shelf-head>div{display:flex;align-items:center;gap:10px}.shelf-head{justify-content:space-between;margin-bottom:12px}
.shelf-head h3,.rest-title{font:400 clamp(22px,2.05vw,31px)/1.1 var(--serif);min-height:0;letter-spacing:-.018em;margin:0}.spark{color:#efc27b;font-size:20px}
.pick-total{border:1px solid #655d41;padding:3px 8px;border-radius:20px}
.picks-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(7px,1vw,13px);align-items:start}
.rest-title{margin:clamp(20px,2.2vw,30px) 0 13px}
.game{border:1px solid #56393a;border-radius:7px;background:linear-gradient(150deg,#361d1d,#230d0e 75%);box-shadow:0 3px 8px #0b02021f;transition:border-color .18s ease,box-shadow .18s ease}
.game:focus-within,.game:hover{border-color:#ab9262;box-shadow:0 4px 12px #0b020240}
.game .art{position:relative;isolation:isolate;background:radial-gradient(at top,#3c2223,#1f0c0c 90%);aspect-ratio:1.14;border-bottom:1px solid #6c603d;overflow:hidden}
.art img{width:100%;height:100%;object-fit:contain}
.cover-star{position:absolute;z-index:1;left:4px;top:4px;display:grid;place-items:center;width:22px;height:22px;color:#ffe3a4;font-size:15px;background:#321717ed;border:1px solid #d4b274;border-radius:50%;pointer-events:none}
.game .card-body{padding:clamp(9px,1vw,15px)}
.game h3,.game .game-name{margin:0 0 8px;min-height:2.5em;font:650 clamp(14px,1.05vw,16px)/1.26 var(--sans);color:#fff0d6;overflow-wrap:anywhere}
.readout{justify-content:flex-start;align-items:center;gap:8px}.rate{font:400 clamp(23px,2vw,30px)/1 var(--serif);font-variant-numeric:lining-nums tabular-nums}
.readout span{font:650 10px/1.09 var(--sans);text-transform:uppercase;letter-spacing:.08em;color:#d2bbbb}
.meter{position:relative;height:4px;margin:6px 0 9px;overflow:hidden;border-radius:6px}
.time-row{font-size:12px;gap:6px;margin:3px 0 6px;color:#d8c5c5;line-height:1.3}
.game summary{border-top:1px solid #4e3435;min-height:37px;color:#ecd4a6;font-weight:600}
.detail{color:#f1e8d5}.pola{counter-reset:mode;display:grid;gap:4px;margin-top:5px}.pola li{display:flex;gap:6px;align-items:center;margin:0;font-size:12px}.pola li::before{counter-increment:mode;content:counter(mode);color:#d5c191;font:600 10px/1.2 var(--sans);min-width:14px;text-align:center;background:#3e2828;border-radius:3px;padding:2px}.game[data-level=rendah] .pola li::before{display:none}
.picks-grid .game{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);background:linear-gradient(125deg,#422c2d,#281212 82%);border-color:#6c684a}
.picks-grid .art{height:100%;min-height:129px;aspect-ratio:auto;border-bottom:0;border-right:1px solid #635d40;display:grid;place-content:center;grid-template-columns:1fr}
.picks-grid .art img{height:auto;max-height:160px;width:100%;object-fit:contain}
.picks-grid .card-body{padding:8px 10px 4px}.picks-grid .game-name{font:400 clamp(18px,1.45vw,24px)/1.08 var(--serif);min-height:2.16em;margin-bottom:8px}
.picks-grid .readout .rate{font-size:24px}.picks-grid .time-row{font-size:11px}.picks-grid summary{min-height:31px}
.rtp-footer>.footer-inner{display:block;padding-top:1px}.partners{margin:22px 0 18px}.rtp-footer .foot-sign{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);min-height:56px;font-size:13px}.rtp-footer .partner-links{max-width:970px}.rtp-footer .partners h2{font-size:clamp(23px,2.2vw,32px)}
@media(max-width:1000px){.provider-picks .provider{grid-template-columns:auto minmax(0,1fr);padding:8px 11px;gap:3px 9px}.provider-picks .provider img{grid-row:1/3}.provider-picks .provider-mark{grid-column:2;justify-self:start;grid-row:2}.picks-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.provider-picks .provider{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:4px;padding:8px 3px}.provider-picks .provider-mark{align-self:center;font-size:11px}.provider-picks .prov-name{font:650 13px/1.18 var(--sans);min-height:1.18em}.provider-picks .provider img{width:29px;height:29px;padding:1px}.providers .section-bar{flex-wrap:wrap;gap:5px 8px}.providers .section-bar::after{display:none}.period-tag{margin-left:auto;font-size:11px}.rail-line{gap:4px}.rail-line .rail-controls{gap:1px}.rail-line .rail-controls button{width:27px;height:31px;border-radius:4px}.rail-line #provider-rail .provider{flex-basis:calc((100% - 8px)/2);flex-direction:row;font-size:11px;min-height:38px}.rail-line #provider-rail .provider img{width:22px;height:22px}.picks-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(82%,282px);overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#847348 #1e0b0c;padding:1px 1px 5px}.picks-grid .game{scroll-snap-align:start}.picks-grid .game-name{font-size:20px}.picks-grid .time-row{font-size:11px}.time-row{font-size:11px}.game summary{min-height:41px}.picks-grid summary{min-height:36px}.hero-text{max-width:77%}.wrap>.doro-news{margin-top:9px}}
@media(prefers-reduced-motion:reduce){.game{transition:none}}
.game,.picks-grid{position:relative}

#pilihan-kosong{margin:7px 0;color:#e4d2ac;font:500 14px/1.5 Arial,sans-serif}.game:target{outline:2px solid #e7c37a;outline-offset:2px}.provider-picks[hidden]{display:none}

.jejak-katalog { margin: 1rem 0 0; font-size: .84rem; line-height: 1.5; }
.jejak-katalog ol { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.jejak-katalog a { color: var(--gold); text-decoration: underline; text-underline-offset: .2em; }
.jejak-katalog .pemisah { margin-inline-end: .5rem; opacity: .7; }
.jejak-katalog + .hero { margin-block-start: .6rem; }
.hero #nama-provider-hero { display: block; font-size: clamp(1.4rem, 2.5vw, 2.2rem); line-height: 1.18; margin-top: .1em; overflow-wrap: anywhere; }
