/* ================= sijagogaming · stiker komik ================= */
:root {
  --paper: #fff4df;
  --paper-2: #ffe8bf;
  --white: #ffffff;
  --ink: #161616;
  --ink-2: #4b4339;
  --muted: #8a7e6c;
  --red: #ff4b2b;
  --red-d: #e0381b;
  --teal: #00b8a9;
  --sun: #ffc928;
  --sky: #47b8ff;
  --pink: #ff7ab6;
  --lime: #9be15d;
  --bd: 3px solid var(--ink);
  --r: 18px;
  --r-s: 12px;
  --sh: 5px 5px 0 var(--ink);
  --sh-s: 3px 3px 0 var(--ink);
  --sh-l: 8px 8px 0 var(--ink);
  --pop: cubic-bezier(.34, 1.7, .5, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --disp: 'Bungee', 'Arial Black', sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
.disp { font-family: var(--disp); font-weight: 400; letter-spacing: .01em; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.stk { background: var(--white); border: var(--bd); border-radius: var(--r); box-shadow: var(--sh); }

/* ---------- Buttons ---------- */
.bt { --bg: var(--white); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 22px; background: var(--bg); color: var(--fg); border: var(--bd); border-radius: 999px; box-shadow: var(--sh-s); font-weight: 800; font-size: 1rem; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .2s; position: relative; }
.bt:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.bt:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.bt svg { width: 19px; height: 19px; flex: none; }
.bt-r { --bg: var(--red); --fg: #fff; }
.bt-t { --bg: var(--teal); --fg: var(--ink); }
.bt-y { --bg: var(--sun); }
.bt-k { --bg: var(--ink); --fg: #fff; }
.bt-p { --bg: var(--pink); }
.bt-sm { height: 40px; padding: 0 16px; font-size: .88rem; }
.bt-full { width: 100%; }
.bt[disabled] { opacity: .45; pointer-events: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border: var(--bd); border-radius: 999px; background: var(--white); font-weight: 700; font-size: .88rem; white-space: nowrap; transition: background .2s, transform .2s var(--pop); }
.pill:hover { background: var(--paper-2); transform: rotate(-2deg); }
.pill.on { background: var(--ink); color: #fff; }
.lbl { display: inline-block; font-weight: 800; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border: 2px solid var(--ink); border-radius: 999px; background: var(--sun); }
.lbl.r { background: var(--red); color: #fff; }
.lbl.t { background: var(--teal); }
.lbl.l { background: var(--lime); }
.lbl.k { background: var(--ink); color: #fff; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; text-align: center; padding: 8px 16px; }
.topbar b { color: var(--sun); }
.hd { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: var(--bd); }
.hd-in { display: flex; align-items: center; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand svg { width: 50px; height: 50px; transition: transform .5s var(--pop); }
.brand:hover svg { transform: rotate(-12deg) scale(1.08); }
.brand-t { font-family: var(--disp); font-size: 1.35rem; line-height: .9; }
.brand-t small { display: block; font-family: var(--body); font-weight: 800; font-size: .66rem; letter-spacing: .32em; color: var(--red); margin-top: 3px; }
.menu { display: flex; gap: 4px; margin-left: 10px; }
.menu a { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .94rem; border: 2px solid transparent; transition: background .2s, border-color .2s; }
.menu a:hover { background: var(--paper-2); }
.menu a.on { background: var(--sun); border-color: var(--ink); }
.hd-srch { flex: 1; max-width: 300px; margin-left: auto; position: relative; }
.hd-srch input { width: 100%; height: 46px; border: var(--bd); border-radius: 999px; background: var(--white); padding: 0 16px 0 42px; outline: none; font-weight: 600; }
.hd-srch input:focus { box-shadow: var(--sh-s); }
.hd-srch svg { position: absolute; z-index: 1; left: 15px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; }
.icb { position: relative; width: 48px; height: 48px; border: var(--bd); border-radius: 50%; background: var(--white); display: grid; place-items: center; flex: none; transition: transform .2s var(--pop), background .2s; }
.icb:hover { transform: rotate(-10deg); background: var(--sun); }
.icb svg { width: 21px; height: 21px; }
.icb .ct { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid var(--ink); border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.icb .ct[hidden] { display: none; }
.icb.wob { animation: wob .6s var(--pop); }
@keyframes wob { 30% { transform: scale(1.25) rotate(-12deg); } 60% { transform: scale(.95) rotate(6deg); } }
.hamb { display: none; }

/* Mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 80; background: var(--sun); padding: 90px 22px 28px; transform: translateY(-100%); transition: transform .5s var(--out); overflow-y: auto; visibility: hidden; }
.sheet.on { transform: none; visibility: visible; }
.sheet a { display: block; font-family: var(--disp); font-size: 1.9rem; padding: 6px 0; border-bottom: 3px solid var(--ink); }
.sheet .x { position: absolute; top: 18px; right: 18px; }
.sheet form input { width: 100%; height: 52px; margin-top: 18px; border: var(--bd); border-radius: 999px; padding: 0 18px; font-weight: 600; outline: none; }

/* ---------- Page ---------- */
.page { animation: pIn .45s var(--out); }
@keyframes pIn { from { opacity: 0; transform: translateY(12px); } }
.rv { opacity: 0; transform: translateY(26px) rotate(-1deg); transition: opacity .6s var(--out), transform .7s var(--pop); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* ---------- Hero bento ---------- */
.hero { padding: 30px 0 10px; }
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.b-main { grid-row: span 2; background: var(--sun); padding: 38px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 520px; }
.b-main::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--ink) 1.3px, transparent 1.5px); background-size: 16px 16px; opacity: .12; }
.b-main > * { position: relative; }
.b-main h1 { font-family: var(--disp); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5rem); line-height: .95; margin: 16px 0 18px; }
.b-main h1 .r { color: var(--red); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.b-main h1 .w { color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--ink); }
.b-main p { font-size: 1.1rem; max-width: 40ch; margin: 0 0 24px; font-weight: 500; }
.b-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.b-mascot { position: absolute; right: -24px; bottom: -30px; width: 240px; height: 240px; animation: peck 4s ease-in-out infinite; transform-origin: 60% 90%; }
@keyframes peck { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-10deg); } 80% { transform: rotate(4deg); } 85% { transform: rotate(-6deg); } }
.b-bub { position: absolute; right: 30px; bottom: 250px; background: #fff; border: var(--bd); border-radius: 16px 16px 4px 16px; padding: 8px 14px; font-weight: 800; font-size: .9rem; animation: bubble 4s ease-in-out infinite; }
@keyframes bubble { 0%, 60%, 100% { transform: scale(0); opacity: 0; } 68%, 92% { transform: scale(1); opacity: 1; } }
.b-stats { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.b-stats div b { display: block; font-family: var(--disp); font-size: 1.7rem; font-weight: 400; line-height: 1; }
.b-stats div small { font-weight: 700; font-size: .78rem; }

.b-prod { background: var(--teal); padding: 22px; display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 12px; position: relative; overflow: hidden; min-height: 250px; }
.b-prod .ph-img { position: relative; height: 100%; display: grid; place-items: center; }
.b-prod .ph-img::before { content: ''; position: absolute; width: 88%; aspect-ratio: 1; border-radius: 50%; background: var(--sun); border: var(--bd); }
.b-prod img { position: relative; max-height: 200px; max-width: 100%; object-fit: contain; filter: drop-shadow(4px 6px 0 rgba(22, 22, 22, .35)); transition: transform .5s var(--pop), opacity .3s; }
.b-prod img.fr, .fr { border: var(--bd); border-radius: var(--r-s); background: #fff; filter: none; }
.b-prod:hover img { transform: rotate(-6deg) scale(1.05); }
.b-prod h3 { font-family: var(--disp); font-weight: 400; font-size: 1.35rem; }
.b-prod .pr { font-weight: 800; font-size: 1.2rem; margin: 6px 0 12px; }
.b-prod .pr s { font-weight: 600; font-size: .86rem; opacity: .7; margin-left: 6px; }
.b-prod .nav-dots { display: flex; gap: 6px; margin-top: 12px; }
.b-prod .nav-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.b-prod .nav-dots button.on { background: var(--ink); }
.b-tu { background: var(--sky); padding: 22px; }
.b-tu h3 { font-family: var(--disp); font-weight: 400; font-size: 1.25rem; margin-bottom: 12px; }
.b-tu form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-tu select, .b-tu input { height: 48px; border: var(--bd); border-radius: var(--r-s); padding: 0 12px; font-weight: 700; background: #fff; outline: none; min-width: 0; width: 100%; }
.b-tu .bt { grid-column: 1 / -1; }

/* Platform ribbon */
.ribbon { margin: 34px 0 0; background: var(--red); border-block: var(--bd); overflow: hidden; }
.ribbon-t { display: flex; gap: 46px; width: max-content; padding: 14px 0; animation: marq 26s linear infinite; font-family: var(--disp); color: #fff; font-size: 1.15rem; -webkit-text-stroke: 1px var(--ink); }
.ribbon-t span { display: flex; align-items: center; gap: 46px; }
.ribbon-t span::after { content: '✦'; color: var(--sun); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.sec { padding: 64px 0; }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-h h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.sec-h h2 em { font-style: normal; background: var(--sun); padding: 0 10px; border: var(--bd); border-radius: 12px; display: inline-block; transform: rotate(-2deg); }
.sec-h p { margin: 8px 0 0; color: var(--ink-2); font-weight: 500; }
.band { border-block: var(--bd); }
.band-t { background: var(--teal); }
.band-p { background: var(--pink); }
.band-y { background: var(--sun); }

/* Category stickers */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cat { display: grid; justify-items: center; text-align: center; gap: 12px; font-weight: 800; }
.cat .ci { width: 100%; aspect-ratio: 1; border: var(--bd); border-radius: 50%; background: var(--cc); display: grid; place-items: center; box-shadow: var(--sh); transition: transform .4s var(--pop), box-shadow .2s; overflow: hidden; }
.cat .ci img { max-width: 66%; max-height: 66%; object-fit: contain; transition: transform .5s var(--pop); }
.cat .ci img.fr { max-width: 58%; max-height: 52%; }
.cat:hover .ci { transform: rotate(-6deg) translateY(-6px); box-shadow: var(--sh-l); }
.cat:hover .ci img { transform: scale(1.12); }
.cat small { display: block; font-weight: 600; color: var(--ink-2); font-size: .8rem; }
.cat .ci .coins { font-family: var(--disp); font-size: 2.6rem; color: #fff; -webkit-text-stroke: 2px var(--ink); }

/* Shelf (horizontal) */
.shelf { position: relative; }
.shelf-t { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 8px 16px 4px; scrollbar-width: none; }
.shelf-t::-webkit-scrollbar { display: none; }
.shelf-t > * { scroll-snap-align: start; }
.sh-nav { display: flex; gap: 8px; }
.sh-nav button { width: 46px; height: 46px; border: var(--bd); border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-s); transition: transform .15s; }
.sh-nav button:active { transform: translate(3px, 3px); box-shadow: none; }
.sh-nav svg { width: 20px; height: 20px; }

/* Product card */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pc { background: #fff; border: var(--bd); border-radius: var(--r); box-shadow: var(--sh); display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; min-width: 0; }
.pc:hover { transform: translate(-3px, -3px); box-shadow: var(--sh-l); }
.pc-img { aspect-ratio: 1 / .88; margin: 10px 10px 0; border: var(--bd); border-radius: var(--r-s); background: var(--cc, var(--paper-2)); display: grid; place-items: center; position: relative; overflow: hidden; }
.pc-img::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 22, 22, .18) 1.3px, transparent 1.5px); background-size: 14px 14px; }
.pc-img img { position: relative; max-width: 78%; max-height: 78%; object-fit: contain; transition: transform .45s var(--pop); filter: drop-shadow(3px 5px 0 rgba(22, 22, 22, .25)); }
.pc-img img.fr { max-width: 72%; max-height: 70%; filter: none; box-shadow: 3px 3px 0 var(--ink); }
.pc:hover .pc-img img { transform: rotate(-5deg) scale(1.07); }
.pc .lbls { position: absolute; top: 20px; left: 20px; z-index: 2; display: flex; gap: 4px; flex-wrap: wrap; }
.heart { position: absolute; top: 18px; right: 18px; z-index: 3; width: 40px; height: 40px; border: var(--bd); border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .3s var(--pop), background .2s; }
.heart svg { width: 19px; height: 19px; }
.heart:hover { transform: scale(1.12); }
.heart.on { background: var(--pink); }
.heart.on svg { fill: var(--ink); }
.heart.pop { animation: wob .5s var(--pop); }
.pc-b { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pc-b .pl { font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.pc-b .pl b { color: var(--ink); }
.pc-b h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.25; }
.pc-b h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pc-f { display: flex; justify-content: space-between; align-items: end; gap: 8px; margin-top: auto; padding-top: 10px; }
.pc-pr { font-weight: 800; font-size: 1.12rem; }
.pc-pr s { display: block; font-weight: 600; font-size: .78rem; color: var(--muted); }
.pc-add { position: relative; z-index: 2; height: 42px; padding: 0 14px; border: var(--bd); border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: .84rem; display: inline-flex; align-items: center; gap: 6px; box-shadow: var(--sh-s); transition: transform .15s, box-shadow .15s, background .2s; flex: none; }
.pc-add svg { width: 16px; height: 16px; }
.pc-add:active { transform: translate(3px, 3px); box-shadow: none; }
.pc-add.ok { background: var(--lime); color: var(--ink); }

/* Top-up cards */
.tugrid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tuc { background: #fff; border: var(--bd); border-radius: var(--r); padding: 14px; display: grid; gap: 10px; justify-items: start; transition: transform .3s var(--pop), box-shadow .2s; box-shadow: var(--sh-s); }
.tuc:hover { transform: rotate(-2deg) translateY(-4px); box-shadow: var(--sh); }
.tuc .mk { width: 56px; height: 56px; border: var(--bd); border-radius: 16px; background: var(--gc); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .86rem; }
.tuc b { font-weight: 800; line-height: 1.2; font-size: .95rem; }
.tuc small { color: var(--muted); font-weight: 600; font-size: .76rem; }

/* Gacha banner */
.gb { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 50px 0; }
.gb h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1; }
.gb p { font-weight: 600; max-width: 46ch; margin: 12px 0 22px; }
.gb-caps { display: flex; gap: 10px; }
.cap { width: 74px; height: 74px; border: var(--bd); border-radius: 50%; background: linear-gradient(var(--c1, var(--sun)) 50%, #fff 50%); position: relative; box-shadow: var(--sh-s); animation: capb 2.4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.cap::after { content: ''; position: absolute; left: -3px; right: -3px; top: calc(50% - 1.5px); height: 3px; background: var(--ink); }
@keyframes capb { 50% { transform: translateY(-12px) rotate(14deg); } }

/* Testimonials */
.bubs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bub { background: #fff; border: var(--bd); border-radius: var(--r) var(--r) var(--r) 4px; padding: 20px; box-shadow: var(--sh); position: relative; }
.bub:nth-child(2) { transform: rotate(1.4deg); background: var(--paper-2); }
.bub:nth-child(3) { transform: rotate(-1deg); }
.bub p { margin: 0 0 12px; font-weight: 600; }
.bub footer { display: flex; align-items: center; gap: 10px; font-size: .86rem; }
.bub .av { width: 38px; height: 38px; border: var(--bd); border-radius: 50%; background: var(--sky); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.bub .st { color: var(--red); letter-spacing: 1px; margin-left: auto; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: var(--bd); border-radius: var(--r-s); box-shadow: var(--sh-s); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; line-height: 1; background: var(--sun); transition: transform .3s var(--pop); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); }

/* ---------- Footer ---------- */
.ft { background: var(--ink); color: #e8dcc6; margin-top: 60px; border-top: var(--bd); }
.ft-top { background: var(--sun); color: var(--ink); border-bottom: var(--bd); }
.ft-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 26px 0; flex-wrap: wrap; }
.ft-top b { font-family: var(--disp); font-weight: 400; font-size: 1.5rem; }
.ft-g { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 46px 0 30px; }
.ft h4 { color: var(--sun); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.ft a:hover { color: var(--sun); }
.ft .brand-t { color: #fff; }
.ft p { font-size: .9rem; max-width: 36ch; }
.ft-b { border-top: 1px solid #3a342b; padding: 18px 0 26px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #a3977f; }

/* ---------- Katalog ---------- */
.ph { padding: 30px 0 22px; }
.crumb { display: flex; gap: 6px; flex-wrap: wrap; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.crumb a:hover { color: var(--red); }
.ph h1 { font-family: var(--disp); font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); }
.ph p { margin: 8px 0 0; color: var(--ink-2); font-weight: 500; }
.kat { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.side { position: sticky; top: 96px; padding: 18px; }
.side h4 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.side h4:not(:first-child) { margin-top: 20px; }
.side summary { display: none; }
.chk { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: 600; font-size: .92rem; cursor: pointer; }
.chk input { appearance: none; width: 22px; height: 22px; border: var(--bd); border-radius: 7px; background: #fff; display: grid; place-items: center; margin: 0; flex: none; cursor: pointer; transition: background .15s; }
.chk input[type=radio] { border-radius: 50%; }
.chk input:checked { background: var(--red); }
.chk input:checked::after { content: ''; width: 8px; height: 8px; background: #fff; border-radius: 2px; }
.chk input[type=radio]:checked::after { border-radius: 50%; }
.chk span.n { margin-left: auto; font-size: .78rem; color: var(--muted); }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range input { width: 100%; min-width: 0; height: 42px; border: var(--bd); border-radius: 10px; padding: 0 10px; font-weight: 700; font-size: .86rem; outline: none; }
.kbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.kbar b { font-weight: 800; }
.sel { height: 42px; border: var(--bd); border-radius: 999px; background: #fff; padding: 0 38px 0 16px; font-weight: 700; font-size: .88rem; outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.kgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; }
.empty svg { width: 120px; height: 120px; margin: 0 auto 10px; }
.empty h3 { font-family: var(--disp); font-weight: 400; font-size: 1.6rem; margin-bottom: 8px; }
.empty p { color: var(--ink-2); max-width: 44ch; margin: 0 auto 18px; }

/* ---------- Produk ---------- */
.pv { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pv-g { position: sticky; top: 96px; }
.pv-main { aspect-ratio: 1 / .9; background: var(--cc, var(--paper-2)); display: grid; place-items: center; position: relative; overflow: hidden; }
.pv-main::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(22, 22, 22, .16) 1.4px, transparent 1.6px); background-size: 18px 18px; }
.pv-main img { position: relative; max-width: 78%; max-height: 80%; object-fit: contain; filter: drop-shadow(5px 8px 0 rgba(22, 22, 22, .25)); transition: opacity .25s, transform .35s var(--pop); }
.pv-main img.fr { max-width: 74%; max-height: 74%; filter: none; box-shadow: var(--sh); }
.pv-main img.sw { opacity: 0; transform: scale(.9) rotate(-4deg); }
.pv-main .stamp { position: absolute; right: 18px; bottom: 18px; width: 96px; height: 96px; border: var(--bd); border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--disp); font-size: .9rem; line-height: 1; transform: rotate(-12deg); animation: spinS 14s linear infinite; }
@keyframes spinS { to { transform: rotate(348deg); } }
.thumbs { display: flex; gap: 10px; margin-top: 14px; }
.thumbs button { width: 76px; height: 76px; border: var(--bd); border-radius: var(--r-s); background: #fff; padding: 6px; transition: transform .2s var(--pop), box-shadow .2s; }
.thumbs button.on { box-shadow: var(--sh-s); background: var(--sun); transform: translate(-2px, -2px); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pv-i .pl { display: flex; gap: 6px; flex-wrap: wrap; }
.pv-i h1 { font-family: var(--disp); font-weight: 400; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 14px 0 10px; }
.pv-i .rt { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.pv-i .rt b { color: var(--red); }
.prc { margin: 20px 0; padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; background: var(--paper-2); }
.prc .now { font-family: var(--disp); font-size: 2.1rem; line-height: 1; }
.prc s { color: var(--muted); font-weight: 600; }
.cicil { width: 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; font-size: .9rem; }
.cicil select { height: 36px; border: 2px solid var(--ink); border-radius: 999px; padding: 0 12px; font-weight: 700; background: #fff; }
.cicil b { color: var(--red); }
.pv-i .desc { color: var(--ink-2); margin: 0 0 18px; font-weight: 500; }
.og-l { font-weight: 800; font-size: .88rem; margin-bottom: 8px; }
.ogs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.ogs button { border: var(--bd); border-radius: 14px; background: #fff; padding: 9px 14px; text-align: left; font-weight: 800; transition: background .2s, transform .2s var(--pop), box-shadow .2s; }
.ogs button small { display: block; font-weight: 600; font-size: .74rem; color: var(--muted); }
.ogs button.on { background: var(--sun); box-shadow: var(--sh-s); transform: translate(-2px, -2px); }
.buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.buy .bt { flex: 1; min-width: 160px; }
.qtyx { display: inline-flex; align-items: center; height: 52px; border: var(--bd); border-radius: 999px; background: #fff; overflow: hidden; }
.qtyx button { width: 44px; height: 100%; font-weight: 800; font-size: 1.2rem; transition: background .15s; }
.qtyx button:hover { background: var(--sun); }
.qtyx input { width: 40px; border: 0; text-align: center; font-weight: 800; outline: none; background: transparent; -moz-appearance: textfield; }
.qtyx input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qtyx.sm { height: 38px; }
.qtyx.sm button { width: 34px; }
.qtyx.sm input { width: 28px; }
.stok { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-weight: 700; font-size: .88rem; }
.stok i { width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); }
.stok.low i { background: var(--red); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.perk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.perk div { border: 2px dashed var(--ink); border-radius: var(--r-s); padding: 12px; font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.perk b { display: block; color: var(--ink); font-size: .9rem; }
.tbh { display: flex; gap: 8px; margin: 40px 0 16px; flex-wrap: wrap; }
.tbp { display: none; animation: pIn .35s var(--out); }
.tbp.on { display: block; }
.spec { padding: 6px 22px; }
.spec div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 2px dashed var(--paper-2); font-size: .94rem; }
.spec div:last-child { border: 0; }
.spec span { color: var(--muted); font-weight: 700; }
.rvs { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.rv-sum { padding: 20px; text-align: center; }
.rv-sum .big { font-family: var(--disp); font-size: 3.4rem; line-height: 1; }
.rv-sum .st { color: var(--red); font-size: 1.3rem; letter-spacing: 2px; }
.rv-bar { display: grid; grid-template-columns: 22px minmax(0, 1fr) 26px; gap: 8px; align-items: center; font-size: .8rem; font-weight: 700; margin-top: 6px; }
.rv-bar span.b { height: 10px; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; background: #fff; }
.rv-bar span.b i { display: block; height: 100%; background: var(--sun); }
.rvi { padding: 16px 18px; margin-bottom: 12px; }
.rvi header { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; }
.rvi .av { width: 36px; height: 36px; border: var(--bd); border-radius: 50%; background: var(--teal); display: grid; place-items: center; font-weight: 800; font-size: .78rem; flex: none; }
.rvi small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; }
.rvi .st { margin-left: auto; color: var(--red); letter-spacing: 1px; }
.rvi p { margin: 0; color: var(--ink-2); }
.rvi.me { background: var(--paper-2); }
.rform { padding: 18px; margin-bottom: 14px; display: grid; gap: 12px; }
.stars-in { display: flex; gap: 4px; }
.stars-in button { font-size: 1.8rem; line-height: 1; color: #d9ccb4; -webkit-text-stroke: 1.5px var(--ink); transition: transform .25s var(--pop), color .15s; }
.stars-in button.on { color: var(--sun); }
.stars-in button:hover { transform: scale(1.2) rotate(-10deg); }

/* Fields */
.fs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.fs .full { grid-column: 1 / -1; }
.f label { display: block; font-weight: 800; font-size: .82rem; margin: 0 0 6px 4px; }
.f input, .f select, .f textarea { width: 100%; height: 52px; border: var(--bd); border-radius: var(--r-s); background: #fff; padding: 0 14px; font-weight: 600; font-size: 1rem; outline: none; transition: box-shadow .15s, transform .15s; }
.f textarea { height: 96px; padding-top: 12px; resize: vertical; }
.f select { appearance: none; cursor: pointer; }
.f input:focus, .f select:focus, .f textarea:focus { box-shadow: var(--sh-s); transform: translate(-1px, -1px); }
.f .er { display: none; color: var(--red-d); font-size: .8rem; font-weight: 800; margin: 6px 4px 0; }
.f.bad input, .f.bad select, .f.bad textarea { background: #ffe3dc; animation: jig .35s; }
.f.bad .er { display: block; }
@keyframes jig { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* ---------- Top-up ---------- */
.tu-hd { background: var(--gc); color: #fff; padding: 26px; display: flex; gap: 18px; align-items: center; position: relative; overflow: hidden; margin-bottom: 20px; }
.tu-hd::after { content: attr(data-mk); position: absolute; right: -10px; bottom: -40px; font-family: var(--disp); font-size: 9rem; opacity: .16; line-height: 1; }
.tu-hd .mk { width: 78px; height: 78px; border: 3px solid #fff; border-radius: 20px; display: grid; place-items: center; font-weight: 800; background: rgba(0, 0, 0, .2); flex: none; }
.tu-hd h1 { font-family: var(--disp); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.6rem); }
.tu-hd p { margin: 4px 0 0; font-weight: 600; opacity: .9; }
.tu { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.tst { padding: 22px; }
.tst + .tst { margin-top: 18px; }
.tst h3 { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.12rem; margin-bottom: 16px; }
.tst h3 .no { width: 34px; height: 34px; border: var(--bd); border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-family: var(--disp); font-size: .9rem; flex: none; }
.found { margin-top: 14px; padding: 12px 14px; border: var(--bd); border-radius: var(--r-s); background: var(--lime); font-weight: 700; display: flex; align-items: center; gap: 10px; animation: pIn .35s var(--out); }
.found svg { width: 22px; height: 22px; flex: none; }
.noms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nom { border: var(--bd); border-radius: 14px; background: #fff; padding: 14px; text-align: left; display: flex; flex-direction: column; gap: 2px; min-height: 100px; position: relative; transition: transform .2s var(--pop), background .2s, box-shadow .2s; }
.nom:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-s); }
.nom.on { background: var(--sun); box-shadow: var(--sh-s); transform: translate(-2px, -2px); }
.nom b { font-weight: 800; line-height: 1.2; }
.nom small { color: var(--ink-2); font-size: .74rem; font-weight: 600; }
.nom .p { margin-top: auto; padding-top: 8px; font-weight: 800; color: var(--red-d); }
.nom .tg { position: absolute; top: -10px; right: 10px; }
.nom .chkm { position: absolute; right: 10px; bottom: 10px; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; display: grid; place-items: center; }
.nom.on .chkm { background: var(--ink); }
.nom.on .chkm::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.side-sum { position: sticky; top: 96px; padding: 22px; }
.kv { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: .93rem; }
.kv span:first-child { color: var(--ink-2); font-weight: 600; }
.kv b { text-align: right; font-weight: 800; min-width: 0; overflow-wrap: anywhere; }
.kv.minus b { color: #0b8f4d; }
.kv.tot { border-top: 3px solid var(--ink); margin-top: 10px; padding-top: 14px; align-items: baseline; }
.kv.tot span:first-child { color: var(--ink); font-weight: 800; }
.kv.tot b { font-family: var(--disp); font-weight: 400; font-size: 1.6rem; }

/* ---------- Drawer keranjang ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(22, 22, 22, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(440px, 100%); background: var(--paper); border-left: var(--bd); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .45s var(--out); visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.dr-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: var(--bd); background: var(--sun); }
.dr-h h3 { font-family: var(--disp); font-weight: 400; font-size: 1.4rem; }
.dr-b { flex: 1; overflow-y: auto; padding: 14px 20px; }
.dr-f { border-top: var(--bd); padding: 16px 20px 20px; background: #fff; }
.dl { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; margin-bottom: 10px; background: #fff; border: var(--bd); border-radius: 14px; transition: transform .3s var(--out), opacity .3s; }
.dl.bye { transform: translateX(60px); opacity: 0; }
.dl .im { width: 70px; height: 70px; border: 2px solid var(--ink); border-radius: 10px; background: var(--cc, var(--paper-2)); display: grid; place-items: center; padding: 6px; overflow: hidden; }
.dl .im img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dl .im .mk, .oit .im .mk { color: #fff; font-weight: 800; font-size: .74rem; }
.dl b { display: block; font-size: .92rem; line-height: 1.25; }
.dl small { display: block; color: var(--muted); font-size: .76rem; font-weight: 600; overflow-wrap: anywhere; }
.dl .pr { font-weight: 800; font-size: .92rem; margin-top: 2px; }
.dl .r { display: grid; gap: 8px; justify-items: end; }
.dl .rm { width: 32px; height: 32px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; background: #fff; transition: background .2s; }
.dl .rm:hover { background: var(--red); color: #fff; }
.dl .rm svg { width: 15px; height: 15px; }
.dr-empty { text-align: center; padding: 40px 10px; }
.dr-empty svg { width: 130px; height: 130px; margin: 0 auto 10px; }
.dr-empty b { font-family: var(--disp); font-weight: 400; font-size: 1.3rem; display: block; margin-bottom: 6px; }
.prog { border: 2px solid var(--ink); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: .82rem; font-weight: 700; margin-bottom: 12px; }
.prog .b { height: 10px; border: 2px solid var(--ink); border-radius: 999px; margin-top: 6px; overflow: hidden; background: var(--paper); }
.prog .b i { display: block; height: 100%; background: var(--teal); transition: width .6s var(--out); }

/* ---------- Checkout wizard ---------- */
.wz { display: flex; gap: 0; margin-bottom: 24px; counter-reset: st; }
.wz div { flex: 1; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .92rem; color: var(--muted); position: relative; }
.wz div:not(:last-child)::after { content: ''; flex: 1; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); opacity: .25; margin: 0 12px; }
.wz div.done:not(:last-child)::after { opacity: 1; background: var(--ink); }
.wz i { width: 40px; height: 40px; border: var(--bd); border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-family: var(--disp); flex: none; transition: background .3s, transform .4s var(--pop); }
.wz div.on { color: var(--ink); }
.wz div.on i { background: var(--sun); transform: scale(1.12); box-shadow: var(--sh-s); }
.wz div.done { color: var(--ink); }
.wz div.done i { background: var(--teal); }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.co-step { padding: 24px; animation: pIn .4s var(--out); }
.co-step h2 { font-family: var(--disp); font-weight: 400; font-size: 1.5rem; margin-bottom: 18px; }
.co-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.rcs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.rc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: var(--bd); border-radius: 14px; background: #fff; cursor: pointer; transition: background .2s, transform .2s var(--pop), box-shadow .2s; position: relative; min-width: 0; }
.rc:hover { background: var(--paper); }
.rc input { position: absolute; opacity: 0; pointer-events: none; }
.rc:has(input:checked) { background: var(--sun); box-shadow: var(--sh-s); transform: translate(-2px, -2px); }
.rc:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.rc .pm { min-width: 52px; height: 32px; border: 2px solid var(--ink); border-radius: 8px; color: #fff; display: grid; place-items: center; font-size: .66rem; font-weight: 800; padding: 0 6px; flex: none; }
.rc b { display: block; font-size: .9rem; line-height: 1.2; }
.rc small { color: var(--ink-2); font-size: .76rem; font-weight: 600; }
.rc .sd { margin-left: auto; font-weight: 800; font-size: .86rem; white-space: nowrap; }
.co-sum { position: sticky; top: 96px; padding: 22px; }
.co-sum h3 { font-family: var(--disp); font-weight: 400; font-size: 1.25rem; margin-bottom: 12px; }
.oit { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; font-size: .88rem; }
.oit .im { width: 52px; height: 52px; border: 2px solid var(--ink); border-radius: 10px; background: var(--cc, var(--paper-2)); display: grid; place-items: center; padding: 4px; overflow: hidden; }
.oit .im img { max-width: 100%; max-height: 100%; object-fit: contain; }
.oit b { display: block; line-height: 1.2; }
.oit small { color: var(--muted); font-weight: 600; font-size: .76rem; display: block; overflow-wrap: anywhere; }
.vrow { display: flex; gap: 8px; margin: 14px 0 8px; }
.vrow input { flex: 1; min-width: 0; height: 44px; border: var(--bd); border-radius: 999px; padding: 0 16px; font-family: var(--mono); font-weight: 700; text-transform: uppercase; outline: none; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; font-size: .76rem; font-weight: 700; color: var(--muted); align-items: center; }
.vchips button { font-family: var(--mono); font-size: .72rem; font-weight: 700; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 9px; background: #fff; transition: background .2s; }
.vchips button:hover { background: var(--sun); }
.vchips button.g { background: var(--pink); }
.von { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0 8px; padding: 10px 14px; border: var(--bd); border-radius: 12px; background: var(--lime); font-weight: 800; font-size: .86rem; }
.von button { text-decoration: underline; font-size: .8rem; }
.hold { position: relative; width: 100%; height: 64px; border: var(--bd); border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: 1.05rem; overflow: hidden; box-shadow: var(--sh); user-select: none; -webkit-user-select: none; touch-action: none; margin-top: 14px; transition: transform .15s, box-shadow .15s; }
.hold .fill { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
.hold span { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; }
.hold svg { width: 22px; height: 22px; }
.hold.down { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.hold-h { text-align: center; font-size: .78rem; font-weight: 700; color: var(--muted); margin-top: 10px; }

/* ---------- Modal bayar ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 16px; background: rgba(22, 22, 22, .55); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.on { opacity: 1; pointer-events: auto; }
.mbox { width: min(420px, 100%); padding: 26px; text-align: center; transform: scale(.85) rotate(-3deg); transition: transform .45s var(--pop); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal.on .mbox { transform: none; }
.mbox h3 { font-family: var(--disp); font-weight: 400; font-size: 1.4rem; margin-bottom: 4px; }
.mbox .amt { font-family: var(--disp); font-size: 2rem; margin: 10px 0; }
.qr { width: 200px; height: 200px; margin: 14px auto; border: var(--bd); border-radius: 14px; background: #fff; padding: 12px; display: grid; grid-template-columns: repeat(21, 1fr); position: relative; }
.qr i { background: var(--ink); }
.qr i.o { background: transparent; }
.qr::after { content: ''; position: absolute; left: 10px; right: 10px; height: 3px; background: var(--red); box-shadow: 0 0 10px var(--red); top: 10px; animation: scan 1.4s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 13px); } }
.vabox { border: var(--bd); border-radius: 14px; padding: 14px; margin: 14px 0; background: var(--paper-2); }
.vabox code { display: block; font-family: var(--mono); font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; }
.ccard { width: 260px; height: 160px; margin: 14px auto; border: var(--bd); border-radius: 16px; background: linear-gradient(135deg, var(--sky), var(--teal)); padding: 16px; text-align: left; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--sh-s); animation: capb 3s ease-in-out infinite; }
.ccard code { font-family: var(--mono); font-weight: 800; font-size: 1.05rem; }
.mstat { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; margin-top: 8px; }
.spin { width: 22px; height: 22px; border: 3px solid var(--ink); border-right-color: transparent; border-radius: 50%; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.okmark { width: 90px; height: 90px; margin: 10px auto; border: var(--bd); border-radius: 50%; background: var(--lime); display: grid; place-items: center; animation: pop .5s var(--pop); }
.okmark svg { width: 46px; height: 46px; }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } }

/* ---------- Pesanan / tiket ---------- */
.yay { text-align: center; padding: 26px 0 8px; }
.yay h1 { font-family: var(--disp); font-weight: 400; font-size: clamp(2rem, 6vw, 3.6rem); animation: pop .6s var(--pop) both; }
.yay h1 span { color: var(--red); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.yay p { color: var(--ink-2); font-weight: 600; max-width: 52ch; margin: 10px auto 0; }
.ord { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; margin-top: 24px; }
.ticket { background: #fff; border: var(--bd); border-radius: var(--r); box-shadow: var(--sh); position: relative; }
.tk-h { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--sun); border-bottom: var(--bd); border-radius: 15px 15px 0 0; }
.tk-h .id { font-family: var(--mono); font-weight: 800; }
.tk-b { padding: 18px 22px; }
.tk-cut { position: relative; height: 0; border-top: 3px dashed var(--ink); margin: 0 18px; }
.tk-cut::before, .tk-cut::after { content: ''; position: absolute; top: -16px; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); border: var(--bd); }
.tk-cut::before { left: -36px; clip-path: inset(0 0 0 50%); }
.tk-cut::after { right: -36px; clip-path: inset(0 50% 0 0); }
.code { display: flex; align-items: center; gap: 12px; margin: 6px 0 12px; padding: 12px 14px; border: var(--bd); border-radius: 12px; background: var(--ink); color: #fff; }
.code small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; color: var(--sun); }
.code code { font-family: var(--mono); font-weight: 800; font-size: 1rem; letter-spacing: .05em; overflow-wrap: anywhere; }
.code button { margin-left: auto; flex: none; height: 34px; padding: 0 14px; border: 2px solid #fff; border-radius: 999px; font-weight: 800; font-size: .8rem; transition: background .2s, color .2s; }
.code button:hover { background: #fff; color: var(--ink); }
.tl { list-style: none; margin: 10px 0 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-bottom: 16px; position: relative; color: var(--muted); font-weight: 700; }
.tl li::before { content: ''; position: absolute; left: 15px; top: 30px; bottom: 0; width: 3px; background: var(--paper-2); }
.tl li:last-child::before { display: none; }
.tl li i { width: 34px; height: 34px; border: var(--bd); border-radius: 50%; background: #fff; display: grid; place-items: center; font-style: normal; font-size: .8rem; position: relative; z-index: 1; }
.tl li small { display: block; font-weight: 600; font-size: .78rem; }
.tl li.ok { color: var(--ink); }
.tl li.ok i { background: var(--teal); }
.tl li.ok::before { background: var(--ink); }
.tl li.now i { background: var(--sun); animation: wob 1.6s var(--pop) infinite; }
.olist { display: grid; gap: 14px; }
.orow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; transition: transform .2s, box-shadow .2s; }
.orow:hover { transform: translate(-3px, -3px); box-shadow: var(--sh-l); }
.orow .id { font-family: var(--mono); font-weight: 800; }
.orow .ims { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.orow .ims span { width: 46px; height: 46px; border: 2px solid var(--ink); border-radius: 10px; background: var(--cc, var(--paper-2)); display: grid; place-items: center; padding: 4px; color: #fff; font-weight: 800; font-size: .6rem; }
.orow .ims img { max-width: 100%; max-height: 100%; object-fit: contain; }
.orow .tot { font-family: var(--disp); font-size: 1.2rem; }
.confetti { position: fixed; top: -20px; z-index: 130; width: 12px; height: 16px; border: 2px solid var(--ink); pointer-events: none; }

/* ---------- Gacha ---------- */
.gacha { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; align-items: center; }
.mach { width: min(360px, 100%); margin: 0 auto; position: relative; }
.mach-dome { aspect-ratio: 1; border: var(--bd); border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .95) 0 10%, rgba(255, 255, 255, .5) 11% 40%, rgba(255, 255, 255, .25)); position: relative; overflow: hidden; box-shadow: inset -12px -14px 0 rgba(22, 22, 22, .08); z-index: 1; }
.mach-dome .cap { position: absolute; width: 23%; height: 23%; animation: none; }
.mach.shake .mach-dome .cap { animation: jumble .5s ease-in-out infinite alternate; }
@keyframes jumble { from { transform: translate(0, 0) rotate(0); } to { transform: translate(var(--jx, 8px), var(--jy, -14px)) rotate(var(--jr, 40deg)); } }
.mach-body { margin: -30px 8% 0; background: var(--red); border: var(--bd); border-radius: 22px 22px 14px 14px; padding: 50px 24px 22px; display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; box-shadow: var(--sh); }
.mach-slot { height: 74px; border: var(--bd); border-radius: 14px; background: var(--ink); position: relative; overflow: hidden; display: grid; place-items: center; }
.mach-slot .cap { width: 52px; height: 52px; animation: none; transform: translateY(-90px); transition: transform .7s var(--pop); }
.mach-slot.drop .cap { transform: none; }
.knob { width: 74px; height: 74px; border: var(--bd); border-radius: 50%; background: var(--sun); position: relative; transition: transform 1.2s var(--out); box-shadow: var(--sh-s); }
.knob::before { content: ''; position: absolute; left: 50%; top: 8px; bottom: 8px; width: 14px; translate: -50% 0; border: 2px solid var(--ink); border-radius: 8px; background: #fff; }
.prize { padding: 26px; text-align: center; animation: pop .5s var(--pop); }
.prize .big { font-family: var(--disp); font-size: 2.6rem; line-height: 1; margin: 6px 0; }
.mine { display: grid; gap: 10px; margin-top: 18px; }
.mine div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border: var(--bd); border-radius: 12px; background: #fff; font-weight: 700; font-size: .88rem; flex-wrap: wrap; }
.mine code { font-family: var(--mono); font-weight: 800; }
.mine .used { opacity: .5; text-decoration: line-through; }

/* Credits */
.cr { padding: 8px 20px; font-size: .88rem; }
.cr div { padding: 11px 0; border-bottom: 2px dashed var(--paper-2); }
.cr div:last-child { border: 0; }
.cr a { color: var(--red-d); text-decoration: underline; font-weight: 700; }

/* Toast */
.tsts { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 150; display: grid; gap: 8px; justify-items: center; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.tst-i { pointer-events: none; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: var(--bd); border-radius: 999px; background: #fff; box-shadow: var(--sh-s); font-weight: 800; font-size: .9rem; animation: tUp .45s var(--pop) both; }
.tst-i i { width: 14px; height: 14px; border: 2px solid var(--ink); border-radius: 50%; background: var(--lime); flex: none; }
.tst-i.err i { background: var(--red); }
.tst-i.out { animation: tDn .3s forwards; }
@keyframes tUp { from { opacity: 0; transform: translateY(30px) scale(.9); } }
@keyframes tDn { to { opacity: 0; transform: translateY(20px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hd-srch { display: none; }
  .menu { margin-left: auto; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tugrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shelf-t { grid-auto-columns: calc((100% - 36px) / 3); }
  .cats { grid-template-columns: repeat(5, 1fr); gap: 12px; }
}
@media (max-width: 900px) {
  .menu { display: none; }
  .hamb { display: grid; margin-left: auto; }
  .bento, .pv, .tu, .co, .ord, .gacha, .rvs, .gb { grid-template-columns: minmax(0, 1fr); }
  .b-main { grid-row: auto; min-height: 0; padding: 28px 24px 200px; }
  .b-mascot { width: 190px; height: 190px; right: -10px; bottom: -20px; }
  .b-bub { right: 20px; bottom: 196px; }
  .pv-g, .side-sum, .co-sum, .side { position: static; }
  .kat { grid-template-columns: minmax(0, 1fr); }
  .side summary { display: flex; justify-content: space-between; font-weight: 800; cursor: pointer; list-style: none; }
  .side summary::-webkit-details-marker { display: none; }
  .side details:not([open]) > div { display: none; }
  .side details[open] summary { margin-bottom: 12px; }
  .bubs { grid-template-columns: minmax(0, 1fr); }
  .ft-g { grid-template-columns: 1fr 1fr; }
  .gb-caps { justify-content: center; }
}
@media (max-width: 640px) {
  .topbar { font-size: .74rem; }
  .hd-in { height: 66px; gap: 10px; }
  .brand svg { width: 42px; height: 42px; }
  .brand-t { font-size: 1.05rem; }
  .brand-t small { font-size: .56rem; letter-spacing: .2em; }
  .icb { width: 42px; height: 42px; }
  .icb svg { width: 19px; height: 19px; }
  .hamb { margin-left: auto; }
  #wishB { display: none; }
  .b-main h1 { font-size: 2.5rem; }
  .b-prod { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .b-prod .ph-img { height: 180px; }
  .b-prod img { max-height: 160px; }
  .b-prod .nav-dots { justify-content: center; }
  .b-tu form { grid-template-columns: minmax(0, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cat { font-size: .82rem; }
  .cat small { display: none; }
  .shelf-t { grid-auto-columns: 72%; }
  .pgrid, .kgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pc-img { margin: 7px 7px 0; }
  .pc .lbls { top: 14px; left: 14px; }
  .heart { top: 12px; right: 12px; width: 34px; height: 34px; }
  .pc-b { padding: 10px 11px 12px; }
  .pc-b h3 { font-size: .9rem; }
  .pc-b .pl b { display: none; }
  .pc-f { flex-direction: column; align-items: stretch; }
  .pc-add { justify-content: center; }
  .tugrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .noms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs, .rcs { grid-template-columns: minmax(0, 1fr); }
  .perk { grid-template-columns: minmax(0, 1fr); }
  .spec div { grid-template-columns: 110px minmax(0, 1fr); }
  .wz div { font-size: 0; gap: 0; }
  .wz i { font-size: .9rem; }
  .ft-g { grid-template-columns: minmax(0, 1fr); }
  .tu-hd { padding: 20px; }
  .tu-hd .mk { width: 60px; height: 60px; }
  .mach-body { padding: 44px 16px 16px; }
  .knob { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
.yay > svg { margin: 0 auto; }
@media (max-width: 900px) { #wishB { margin-left: auto; } .hamb { margin-left: 0; } }
@media (max-width: 640px) { #cartB { margin-left: auto; } .hamb { margin-left: 0; } }
@media (max-width: 640px) { .tsts { bottom: auto; top: 74px; } }
