:root {
  color-scheme: dark;
  --bg: #100e18;
  --surface: #1a1725;
  --line: #ffffff22;
  --ink: #f8f5ff;
  --muted: #d0c8df;
  --lime: #deffa5;
  --accent: #d9c6ff;
  color: var(--ink);
  background: var(--bg);
  font: 1rem/1.5 system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: radial-gradient(ellipse at 62% 0%, #261a40, transparent 44rem), var(--bg); }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
a { color: inherit; }
.wrap { width: min(1180px, calc(100% - 44px)); margin-inline: auto; }
.skip { position: absolute; z-index: 20; padding: 10px; background: var(--bg); transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.top, .site-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.top { min-height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-size: .875rem; letter-spacing: .05em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: var(--lime); color: #1e2516; font-size: 23px; }
.brand strong { font-weight: 820; }
nav { display: flex; gap: 22px; color: var(--muted); }
nav a { text-decoration: none; }
nav a:hover, .back:hover { color: var(--lime); }
.hero {
  display: grid; align-items: center; min-height: 390px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  background: linear-gradient(90deg,#130d26 5%,#180f2be8 37%,#170e2560 70%), url(assets/cover.webp) right 43% / 82% auto no-repeat, #24173a;
}
.hero-inner { padding: 28px clamp(22px, 6vw, 76px); }
.eyebrow { margin: 0 0 5px; color: var(--accent); font-size: .8125rem; font-weight: 800; letter-spacing: .12em; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.038em; }
.hero h1 { font-size: clamp(3.3rem, 8.6vw, 7.1rem); font-weight: 850; line-height: .87; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p:not(.eyebrow) { max-width: 35ch; color: #f1eafb; margin: 18px 0 20px; }
.button { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; font: inherit; font-weight: 760; border-radius: 9px; border: 1px solid transparent; min-height: 44px; padding: 8px 14px; }
.primary { background: var(--lime); color: #171f0b; }
.primary:hover { background: #ebffca; }
.secondary { background: #2c253d; border-color: var(--line); color: var(--ink); }
.secondary:hover:not(:disabled) { background: #3a304e; }
.content-section { margin-block: 34px; scroll-margin-top: 18px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
h2 { font-size: clamp(1.6rem, 3.3vw, 2.25rem); }
.muted, .site-footer { color: var(--muted); font-size: .9rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 17px; overflow: hidden; background: var(--surface); }
.card img { width: 100%; height: auto; aspect-ratio: 1.75; object-fit: cover; display: block; }
.card-body { padding: 16px; display: grid; gap: 9px; }
.card-body h3 { font-size: clamp(1.45rem, 2.5vw, 2rem); }
.card-body p { margin: 0; color: var(--muted); min-height: 3em; }
.card-body .button { justify-self: start; }
.card-kind { font-size: .8125rem; color: var(--accent); font-weight: 750; }
[data-game="naga"] { --accent: #ffd896; }
[data-game="manis"] { --accent: #ffb8e3; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.packs article { background: var(--surface); padding: 18px; border: 1px solid var(--line); border-radius: 14px; }
.packs p { color: var(--muted); margin: 7px 0 12px; }
.pill { display: inline-block; padding: 3px 8px; border: 1px solid var(--line); border-radius: 20px; color: var(--lime); font-size: .875rem; }
.site-footer { border-top: 1px solid var(--line); min-height: 62px; margin-top: 36px; flex-wrap: wrap; }
.back { display: inline-block; color: var(--muted); margin: 7px 0 14px; }
.game-head { display: flex; align-items: end; min-height: 230px; padding: 19px clamp(16px, 4vw, 36px); border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(90deg, #100d1be8 8%,#100d1bcc 40%,#100d1b22), var(--art) center 46% / cover, #2a1b3c; }
.game-head h1 { font-size: clamp(2.5rem,6.7vw,5.3rem); font-weight: 850; }
.game-head p:not(.eyebrow) { margin: 6px 0 0; max-width: 45ch; }
.game-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.levels, .game-frame { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.levels { padding: 13px; }
.levels h3 { margin: 5px 0 7px; font-size: 1rem; }
.levels h3:not(:first-child) { margin-top: 13px; }
.levels button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; text-align: left; padding: 7px 9px; min-height: 38px; background: #231e31; border: 1px solid transparent; border-radius: 7px; }
.levels button[aria-current] { border-color: var(--accent); color: var(--accent); }
.level-state { color: var(--muted); font-size: .76rem; white-space: nowrap; }
.stage-head, .round { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px; }
.stage-head h2 { font-size: 1.35rem; }
.stage-head p, .round p { margin: 3px 0 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; background: #140f21; border-block: 1px solid var(--line); text-align: center; padding: 6px; }
dt { color: var(--muted); font-size: .875rem; }
dd { margin: 0; color: var(--accent); font-weight: 790; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.arena { position: relative; min-height: 300px; overflow: hidden; }
.stage-actions { display: flex; gap: 5px; }
.campaign-grid { display: grid; grid-template-columns: repeat(var(--columns),minmax(0,1fr)); gap: 3px; padding: 8px; width: min(100%, 450px); margin: 0 auto; }
.map-tile { font-size: clamp(.73rem, 3.5vw, 1.25rem); font-weight: 750; aspect-ratio: 1; line-height: 1; padding: 0; min-width: 0; border-radius: 7px; border: 1px solid #ffffff1f; background: #2a233b; color: #fff; }
.map-tile:hover { border-color: var(--accent); }
.map-wall { background: #110e1b; color: #c7b2ea; box-shadow: inset 0 0 0 2px #423650; }
.map-player { color: #151b0e; background: var(--lime); }
.map-enemy { color: #ffcad8; background: #61334a; }
.map-danger { box-shadow: inset 0 0 0 2px #fa657d; }
.map-exit,.map-switch { color: #bafff4; background: #244448; }
.map-crate { background: #694262; }
.map-target { background: #3f2d49; color: #fff2cf; font-size: clamp(.58rem, 2.4vw, 1rem); }
.map-next { box-shadow: inset 0 0 0 2px var(--lime); }
.map-syrup { background: #53285b; color: #ffb3df; }
.flight-map { display: block; margin: 0 auto; width: min(100%, 430px); height: auto; touch-action: none; background: linear-gradient(#21102787,#140e2294), var(--art) center / cover; }
.campaign-perks { position: absolute; inset: auto 8px 8px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; padding: 11px; background: #1a1725f5; border: 1px solid var(--accent); border-radius: 9px; }
.campaign-perks strong { flex-basis: 100%; }
.controls { display: grid; gap: 4px; grid-template-columns: repeat(4, 1fr); margin: 5px; }
.controls button { touch-action: manipulation; padding-inline: 4px; }
.tactics { display: flex; justify-content: space-between; align-items: center; gap: 7px; min-height: 48px; padding: 3px 8px; }
.tactics p { color: var(--accent); margin: 0; font-size: .875rem; }
.tactics button { flex-shrink: 0; }
.round { flex-wrap: wrap; }
.round-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.instructions { border-top: 1px solid var(--line); color: var(--muted); padding: 9px 13px; margin: 0; font-size: .9375rem; }
@media (max-width: 850px) {
  .cards { gap: 9px; }
  .card-body { padding: 12px; }
  .game-layout { grid-template-columns: 185px minmax(0,1fr); gap: 9px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 22px); }
  .top { min-height: 60px; }
  nav { gap: 10px; font-size: .875rem; }
  .hero { min-height: 365px; background-size: auto, auto 100%, auto; background-position: center, 60% center, center; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .card img { aspect-ratio: 2.15; }
  .card-body p { min-height: 0; }
  .packs { grid-template-columns: 1fr; gap: 8px; }
  .game-head { min-height: 150px; }
  .game-layout { display: flex; flex-direction: column; }
  .game-frame, .levels { width: 100%; }
  .levels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; padding: 8px; }
  .levels h3 { grid-column: 1 / -1; margin: 3px 0 !important; }
  .levels button { flex-wrap: wrap; gap: 0 7px; font-size: .875rem; margin-top: 0; min-height: 34px; padding: 3px 6px; }
  .stage-head { padding: 9px; }
  .map-tile { border-radius: 5px; }
  .stage-actions .button { padding-inline: 7px; }
  dd { font-size: 1.03rem; }
}

body { background: radial-gradient(ellipse at 70% 0%, var(--game-theme), transparent 48rem), var(--bg); }
.brand { font-size: 1rem; font-weight: 800; }
.brand-mark { font-size: 23px; background: var(--accent); }
.solo-hero { min-height: clamp(325px,48vw,500px); background-color: var(--game-theme); }
.solo-hero h1 { max-width: 8.8ch; }
.solo-hero .hero-inner { max-width: 35rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mission-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 0; margin: 0; gap: 8px; list-style: none; }
.mission-list li { padding: 12px; display: flex; gap: 10px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.mission-list h3 { margin: 0; font-size: 1.05rem; }
.mission-list p { color: var(--muted); margin: 4px 0 0; font-size: .9rem; }
.mission-number { font-size: .8125rem; font-weight: 750; color: var(--accent); }
.store-status { color: var(--muted); margin: -4px 0 14px; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.product { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.product h3 { font-size: 1.35rem; }
.product .price { font-size: 1.95rem; font-weight: 825; margin: 6px 0 0; color: var(--accent); line-height: 1.15; }
.product .purchase-note { margin: 5px 0 10px; color: #f3ecff; font-size: .875rem; }
.product p, .product ol { color: var(--muted); }
.product details { margin-bottom: 13px; }
.product summary { color: var(--ink); cursor: pointer; padding-block: 5px; font-weight: 680; }
.product li > span { display: block; font-size: .9rem; }
.product li + li { margin-top: 5px; }
.bundle { border-color: var(--accent); background: linear-gradient(145deg,var(--game-theme),var(--surface)); }
.bundle-list { padding-left: 20px; }
@media(max-width:700px) {
  .mission-list { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}
@media(max-width:390px) {
  .mission-list { grid-template-columns: 1fr; }
}

:root { --accent: #ffc1dd; --game-theme: #301829; }

body { min-height:100svh; background:linear-gradient(180deg,#13131b6b,#10101cf2 70%),url('./assets/cover.webp') center 30% / cover fixed,#17101f; }
.wrap { width:min(100% - 28px,760px); }
.top { min-height:62px; }
.brand-mark { border-radius:50% 50% 42% 42%; box-shadow:inset 0 2px 3px #fff9,inset 0 -3px 5px #20182d38; }
.game-layout { display:flex; flex-direction:column; gap:8px; margin:0 0 22px; }
.game-frame,.mission-drawer { width:100%; }
.mission-drawer,.game-frame,.product { background:#171824f2; border:1px solid #ffffff28; border-radius:16px; box-shadow:0 12px 32px #09071045; }
.mission-drawer summary,.guide summary { padding:10px 15px; cursor:pointer; color:var(--accent); font-weight:700; }
.levels { border:0; background:transparent; box-shadow:none; }
.stage-head { padding:12px 15px; }
.stage-head h2 { font-size:clamp(1.16rem,3vw,1.55rem); }
.round { padding:0 15px 8px; }
.round:not(:has(button:not([hidden]))):has(p:empty) { display:none; }
.round-message:empty,.round p:empty { display:none; }
.stats { background:#11111bc7; }
.stats dd { font-size:1.08rem; }
.arena { isolation:isolate; background:radial-gradient(ellipse at 50% 30%,#66567977,#161427cc 85%),url('./assets/cover.webp') center / cover; min-height:0; }
.campaign-grid { width:min(97%,430px); position:relative; margin:8px auto 17px; padding:8px; gap:2px; transform:perspective(880px) rotateX(14deg); background:#443852; border-radius:13px; box-shadow:0 6px #32233f,0 11px #231b30,0 18px 18px #0a071a99; }
.map-tile { position:relative; border-radius:4px; background:linear-gradient(140deg,#776e91,#4f4765); border:1px solid #aaa0b13f; box-shadow:inset 0 1px #e9e5ff32,inset 0 -3px #342d4b88; }
.map-tile:nth-child(even){ background:linear-gradient(145deg,#695e82,#4c425f); }
.map-tile::after { content:''; position:absolute; inset:-16% -4% 3%; pointer-events:none; background:var(--piece,none) center bottom / contain no-repeat; filter:drop-shadow(1px 3px 1px #17111d70); }
.map-tile:has(*) { touch-action:manipulation; }
.map-tile.map-danger { box-shadow:inset 0 0 0 3px #ff696e; background:#943e56; }
.map-tile.map-next { box-shadow:inset 0 0 0 3px #fff19e; }
.map-tile.map-syrup {background:repeating-linear-gradient(155deg,#b85683 0 5px,#e299a7 6px 8px);color:white;}
.map-enemy::before {content:attr(data-hp);position:absolute;bottom:0;right:0;padding:1px 4px;border-radius:4px;background:#3a172c;color:white;font:750 .75rem/1.2 system-ui;z-index:1;}
.controls { margin:8px; gap:6px; }
.controls button,.stage-actions button { border-radius:12px; }
.guide { border-top:1px solid var(--line); }
.guide summary {font-size:.9rem;}
.tactics {padding:0 10px 8px;}
.product-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));}
.product .price {margin:10px 0;}
.content-section {margin-block:20px;}
.flight-map {width:min(100%,460px);background:#331b32;}
@media(max-width:650px){.wrap{width:min(100% - 12px,760px)}.top{min-height:50px;padding:0 6px}.game-layout{gap:5px}.stage-head p{font-size:.875rem}.game-frame{border-radius:13px}.arena{border-block:1px solid var(--line)}}
@media(prefers-reduced-motion:no-preference){.map-player::after{animation:arrive .18s ease-out}@keyframes arrive{from{transform:translateY(-5%) scale(1.05)}to{transform:none}}}

.map-tile.map-player{--piece:url("./assets/courier.webp");color:transparent;}
.map-tile[aria-label="Dinding"]{--piece:url("./assets/wall0.webp");color:transparent;}
.map-tile[aria-label="Dinding"]:nth-child(3n){--piece:url("./assets/wall1.webp");color:transparent;}
.map-tile[aria-label="Dinding"]:nth-child(4n){--piece:url("./assets/wall2.webp");color:transparent;}
.map-tile[aria-label="Kios Stroberi"]{--piece:url("./assets/kiosk-berry.webp");color:transparent;}
.map-tile[aria-label="Kios Lemon"]{--piece:url("./assets/kiosk-lemon.webp");color:transparent;}
.map-tile[aria-label="Kios Anggur"]{--piece:url("./assets/kiosk-grape.webp");color:transparent;}
.map-tile[aria-label="Peti Stroberi"]{--piece:url("./assets/crate-berry.webp");color:transparent;}
.map-tile[aria-label="Peti Lemon"]{--piece:url("./assets/crate-lemon.webp");color:transparent;}
.map-tile[aria-label="Peti Anggur"]{--piece:url("./assets/crate-grape.webp");color:transparent;}
.campaign-grid{background:#985f76}.map-tile,.map-tile:nth-child(even){background-color:#e7b4a7;background-image:linear-gradient(145deg,#ffdfc6,#cc9da3)}.map-wall[aria-label="Gerbang tertutup"],.map-switch{color:#563147}
#club{margin-bottom:8px;background:#171622ed;border:1px solid #ffffff38;border-radius:12px}#club summary{font-weight:750;cursor:pointer;color:#ffe4a1;padding:8px 14px}.locker{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:8px 14px 14px}.locker h3{font-size:1rem}.skins{display:grid;gap:5px;margin-top:8px}.locker ol{margin:8px 0;padding-left:1.6em}.locker li{margin:3px 0}body[data-skin="1"] .arena{filter:hue-rotate(95deg)}body[data-skin="2"] .arena{filter:hue-rotate(205deg)}@media(max-width:480px){.locker{grid-template-columns:1fr}.top nav{gap:8px}.brand{font-size:.9rem}}

.signature .game-frame{background:#fff1de;color:#432d32;border:3px solid #e1a797;border-radius:25px}.signature .stage-head p,.signature .round p{color:#715251}.signature .stats{background:#674453}.signature .stats dd,.signature .stats dt{color:#fff5e8}.signature .arena{background:repeating-linear-gradient(90deg,#ffdfbd 0 26px,#ffeacd 26px 52px);border-bottom:7px solid #cb917d}.cafe-counter{padding:16px;display:grid;justify-items:center;gap:13px}.ticket,.mix-bowl{display:flex;align-items:center;justify-content:center;gap:4px}.ticket{background:#fffaf0;color:#55373f;padding:7px 12px;box-shadow:2px 4px #dcae96;border-radius:5px}.fruit{width:clamp(32px,8vw,60px);height:auto}.mix-bowl{min-width:55%;min-height:62px;background:linear-gradient(#fff8f0 28%,#d4edef 30%,#7cb9bf);border:3px solid #fff9f0;border-radius:10px 10px 60px 60px;font-weight:700}.fruit-tray{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.ingredient{border:1px solid #dab19e;background:#fff9ed;color:#53333c;border-radius:14px;display:grid;justify-items:center;font-weight:750}.fruit-tray .primary{grid-column:span 2;background:#943c5e;color:white}.signature .tactics p,.signature .guide summary,.signature .instructions{color:#734455}.signature .stats dd{color:#ffe0ab}

body[data-world="manis"][data-skin] .arena{filter:none}
body[data-skin="1"] .cafe-counter,body[data-skin="1"] .campaign-grid{background:repeating-linear-gradient(90deg,#b8e6cf 0 26px,#d8f5dd 26px 52px)}
body[data-skin="2"] .cafe-counter,body[data-skin="2"] .campaign-grid{background:repeating-linear-gradient(90deg,#c8c3f4 0 26px,#dedcfa 26px 52px)}

.offer-art{width:80px;height:80px;object-fit:contain;float:right;margin:-10px -8px 0 0;filter:drop-shadow(0 4px 5px #0007)}
.offer h3{min-height:2.2em}.offer>p:not(.price){clear:both}.offer .primary{margin-top:auto}.offer details a{display:inline-block;padding-bottom:8px;color:var(--accent)}.product.bundle{align-self:start}

.product-grid .product{display:flex;flex-direction:column;align-self:stretch}
.product-grid .offer-art{align-self:flex-end;margin:0 0 -50px;width:56px;height:56px}
.product-grid .offer h3{padding-right:58px}
.product-grid .buy{width:100%;margin-top:auto}
.trial-link{display:block;margin:4px 0 12px;color:var(--accent)}
.purchase-review{color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:clamp(18px,4vw,28px);background:var(--surface);width:min(90vw,420px);max-height:85svh;box-shadow:0 18px 80px #0008}
.purchase-review::backdrop{background:#080611bb}
.purchase-review small{color:var(--muted)}.purchase-review h2{margin-top:5px}
.purchase-total{display:flex;gap:12px;justify-content:space-between;align-items:center;padding-block:14px;border-block:1px solid var(--line)}
.purchase-total strong{font-size:1.4rem;color:var(--accent)}.purchase-state{color:var(--muted)}

.game-headline { margin: 4px 0 14px; font-size: clamp(1.3rem, 3.6vw, 2.15rem); line-height: 1.15; text-wrap: balance; }
