/* Yongtip — "warung pop": krem hangat, oranye, outline tinta tebal, bayangan keras ala stiker.
   Mobile-first, tanpa framework. CSP-nya style-src 'self', jadi jangan pakai atribut style di HTML. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/static/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 500 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/static/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #FFF4E6;
  --surface: #ffffff;
  --surface-2: #FFFBF2;
  --soft: #FFE3C2;
  --ink: #24170D;
  --text: #24170D;
  --muted: #5C4636;
  --line: #EAD6BF;
  --brand: #FF7A1A;
  --on-brand: #24170D;
  --brand-text: #C2410C;
  --yellow: #FFD23F;
  --ok: #1F7A4F;
  --ok-soft: #C9F0D9;
  --warn-soft: #FFE58F;
  --bad: #B42318;
  --bad-soft: #FFE1E1;
  --info-soft: #CFE0FF;
  --mint: #A7E3C9;
  --on-ink: #FFD23F;
  --radius: 22px;
  --display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bounce: cubic-bezier(.3, 1.6, .5, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17110C;
    --surface: #231910;
    --surface-2: #2B2016;
    --soft: #3A2614;
    --ink: #F3E6D6;
    --text: #F6ECE0;
    --muted: #C9B5A1;
    --line: #4A382A;
    --brand: #FF8A33;
    --brand-text: #FFB070;
    --ok: #6EE0A4;
    --ok-soft: #17402B;
    --warn-soft: #4A3A0C;
    --bad: #FF8A80;
    --bad-soft: #4A1A17;
    --info-soft: #1D2B4A;
    --mint: #1F5A3E;
    --on-ink: #24170D;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 var(--body); overflow-x: hidden;
}
a { color: var(--brand-text); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); line-height: 1.05; margin: .25rem 0 .6rem; font-weight: 800; }
h2 { font-size: 1.25rem; line-height: 1.2; margin: 0 0 .7rem; font-weight: 800; }
p { margin: .4rem 0; }
img { max-width: 100%; }
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
body.wide .wrap { max-width: 1140px; }
.main { padding-top: 20px; padding-bottom: 48px; min-height: 70vh; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; border-bottom: 2px solid var(--ink);
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font: 800 1.45rem var(--display); color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand .logo { transition: transform .45s var(--bounce); }
.brand:hover .logo { transform: rotate(-14deg) scale(1.1); }
.nav { display: flex; align-items: center; gap: 6px; }
.navlink {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px;
  border-radius: 999px; color: var(--text); font-weight: 650; font-size: .95rem;
}
.navlink:hover, .navlink.on { background: var(--soft); text-decoration: none; }
.nav-me { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 4px; border-radius: 999px; color: var(--text); }
.nav-me:hover, .nav-me.on { background: var(--soft); text-decoration: none; }
.me-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }

/* ---------- Avatar ---------- */
.avatar {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--yellow); color: #24170D; font-weight: 800;
}
.avatar.sm { width: 32px; height: 32px; font-size: .8rem; }
.avatar.lg { width: 60px; height: 60px; font-size: 1.4rem; }
.avatar.t0 { background: #FFD23F; } .avatar.t1 { background: #A7E3C9; } .avatar.t2 { background: #B9C8FF; }
.avatar.t3 { background: #F7B2D9; } .avatar.t4 { background: #FFB5A0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--brand); color: var(--on-brand); font: 750 1rem var(--body);
  cursor: pointer; text-decoration: none; white-space: nowrap; box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); text-decoration: none; color: var(--on-brand); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: var(--surface); color: var(--text); }
.btn-ghost:hover { color: var(--text); }
.btn-ink { background: var(--ink); color: var(--bg); box-shadow: 4px 4px 0 var(--brand); }
.btn-ink:hover { color: var(--bg); box-shadow: 6px 6px 0 var(--brand); }
.btn-mint { background: var(--mint); color: var(--text); }
.btn-mint:hover { color: var(--text); }
.btn-danger { background: #FFB4B4; color: #24170D; }
.btn-danger:hover { color: #24170D; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); }
.btn-xs { min-height: 36px; padding: 0 12px; font-size: .82rem; box-shadow: 2px 2px 0 var(--ink); background: var(--yellow); color: #24170D; }
.btn-xs:hover { transform: scale(1.06) rotate(-2deg); box-shadow: 3px 3px 0 var(--ink); color: #24170D; }
.btn-lg { min-height: 58px; padding: 0 26px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }
.btn-link, .link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
  background: none; border: 0; padding: 0; color: var(--brand-text); font: 650 .92rem var(--body); cursor: pointer;
}
.link:hover, .btn-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.btn-link { min-height: 44px; margin-top: 6px; }
.danger { color: var(--bad) !important; }
.btn-create { margin: 6px 0 8px; }
.plus { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #24170D; color: #FFD23F; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--surface); color: var(--text);
  font-size: .75rem; font-weight: 800; vertical-align: middle; white-space: nowrap; line-height: 1.5;
}
.pill .ic { width: 13px; height: 13px; }
.pill.ok { background: var(--ok-soft); }
.pill.warn { background: var(--warn-soft); }
.pill.bad { background: var(--bad-soft); white-space: normal; }
.pill.info { background: var(--info-soft); }
.pill.hot { background: var(--ok-soft); }
.pill.muted { background: var(--surface-2); color: var(--muted); }
.live { width: 8px; height: 8px; border-radius: 50%; background: #1F8A5B; animation: ping 1.6s ease-out infinite; }

/* ---------- Cards & util ---------- */
.card {
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 20px; margin: 0 0 18px; box-shadow: 4px 4px 0 var(--ink);
  animation: rise .5s cubic-bezier(.2, .8, .2, 1) both;
}
.card h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card.narrow { max-width: 460px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }
.center .btn-block { margin-top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hint { display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: .92rem; margin: .5rem 0 1rem; }
.hint .ic { margin-top: .2em; }
.hint.box { display: block; padding: 12px 14px; border: 2px dashed var(--ink); border-radius: 16px; }
.opt { color: var(--muted); font-weight: 500; font-size: .85em; }
.mono { font-family: var(--mono); letter-spacing: .05em; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.wrap-row { margin: 12px 0; }
.grow { flex: 1 1 140px; min-width: 0; }
.page-title { display: flex; align-items: center; gap: 10px; }
.page-title .ic { width: .9em; height: .9em; }
.sec { margin: 26px 0 12px; font-size: .9rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sec-h { font: 800 clamp(1.7rem, 4vw, 2.6rem)/1.05 var(--display); margin: 6px 0 0; letter-spacing: -.02em; }
.sec-h.sm { font-size: 1.5rem; margin: 26px 0 14px; }
.eyebrow { font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-text); }
.note {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 16px;
  border: 2px dashed var(--ink); border-radius: 16px; background: var(--warn-soft); font-weight: 650; font-size: .93rem;
}
.note.bad { background: var(--bad-soft); margin-top: 18px; }
.empty {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--text);
  padding: 32px 20px; border: 2px dashed var(--ink); border-radius: var(--radius); margin-bottom: 18px;
  background: var(--surface); font-weight: 600;
}
.empty p { margin: 0; }
.empty-art { width: 120px; }
.ok-text { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 700; }
.pre { white-space: pre-line; font-weight: 650; }

/* ---------- Flash, banner, pengumuman ---------- */
.flash {
  border: 2px solid var(--ink); border-radius: 18px; padding: 12px 16px; margin: 0 0 18px;
  box-shadow: 3px 3px 0 var(--ink); animation: pop .5s var(--bounce) both;
}
.flash.ok { background: var(--ok-soft); }
.flash.err { background: var(--bad-soft); }
.flash-head { display: flex; align-items: flex-start; gap: 10px; }
.flash-ico { display: inline-grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--ink); color: var(--bg); }
.flash-ico .ic { width: 16px; height: 16px; }
.flash p { margin: 2px 0 4px; font-weight: 650; }
.flash .btn { margin-top: 8px; }
.copy-row { display: flex; gap: 8px; margin: 10px 0; }
.copy-src { flex: 1; min-width: 0; font-size: .85rem !important; }
.banner {
  background: var(--yellow); color: #24170D; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 14px 16px; margin: 0 0 18px; box-shadow: 4px 4px 0 var(--ink); animation: rise .5s both;
}
.banner a { color: #24170D; text-decoration: underline; text-underline-offset: 3px; }
.banner-row { display: flex; gap: 12px; align-items: flex-start; }
.banner-row + .banner-row { margin-top: 12px; padding-top: 12px; border-top: 2px dashed #24170D; }
.banner-ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; border: 2px solid #24170D; background: #fff; }
.banner-ico .ic { animation: ring 2.6s ease-in-out infinite; }
.banner-txt { min-width: 0; }
.banner ul { margin: 4px 0 0; padding-left: 18px; font-size: .92rem; }
.banner .pill { border-color: #24170D; color: #24170D; }
.ann { background: var(--ink); color: var(--bg); font-size: .92rem; }
.ann-in { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; padding-bottom: 6px; }
.ann-txt { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.ann-txt .ic { color: var(--on-ink); }
.ann-x { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: inherit; cursor: pointer; border-radius: 50%; }
.ann-x:hover { background: color-mix(in srgb, var(--bg) 18%, transparent); }
.admin-strip {
  display: flex; align-items: center; gap: 8px; background: var(--info-soft); border: 2px solid var(--ink);
  border-radius: 14px; padding: 10px 14px; font-size: .92rem; font-weight: 650; margin-bottom: 14px;
}

/* ---------- Form ---------- */
.form { display: grid; gap: 14px; }
.form label { display: block; font-size: .92rem; font-weight: 700; }
.form label > input, .form label > select, .form label > textarea { display: block; margin-top: 6px; }
.form label small { display: block; margin-top: 4px; font-weight: 500; color: var(--muted); }
input, select, textarea {
  font: 600 16px var(--body); width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 14px;
  border: 2px solid var(--ink); background: var(--surface-2); color: var(--text);
  transition: box-shadow .15s, background .15s;
}
textarea { resize: vertical; min-height: 80px; }
input:focus, select:focus, textarea:focus { outline: none; background: var(--surface); box-shadow: 4px 4px 0 var(--brand); }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; min-height: 0; padding: 0; accent-color: var(--brand); }
.form.inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.form.inline label { flex: 1 1 160px; }
.form.inline .btn { flex: none; }
.form.compact { gap: 10px; margin: 12px 0; }
.form.compact input, .form.compact select { min-height: 44px; padding: 8px 12px; }
.form .qty { flex: 0 0 88px; }
.check { display: flex !important; align-items: center; gap: 10px; font-weight: 600 !important; }
fieldset.choice { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
fieldset.choice legend { font-size: .92rem; font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt-card {
  display: flex !important; gap: 12px; align-items: flex-start; border: 2px solid var(--ink); border-radius: 18px;
  padding: 14px; cursor: pointer; font-weight: 500 !important; background: var(--surface-2);
  transition: transform .2s var(--bounce), background .2s, box-shadow .2s;
}
.opt-card input { margin-top: 4px; }
.opt-card span { display: grid; gap: 2px; }
.opt-card small { color: var(--muted); }
.opt-ico { display: grid !important; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; border: 2px solid var(--ink); background: var(--surface); }
.opt-card:hover { transform: translateY(-2px); }
.opt-card:has(input:checked) { background: var(--yellow); color: #24170D; box-shadow: 3px 3px 0 var(--ink); }
.opt-card:has(input:checked) small { color: #5C4636; }
.opt-card:has(input:checked) .opt-ico { background: #fff; }
fieldset:disabled .opt-card { opacity: .6; cursor: not-allowed; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 2px solid var(--ink); background: var(--surface); color: var(--text); border-radius: 999px;
  font: 700 .88rem var(--body); cursor: pointer; transition: transform .2s var(--bounce), background .15s;
}
.chip:hover { background: var(--soft); transform: translateY(-3px) rotate(-2deg); }
.token {
  font: 700 1.35rem var(--mono); text-align: center; padding: 16px; margin: 16px 0;
  background: var(--yellow); color: #24170D; border-radius: 18px; border: 2px dashed #24170D; word-break: break-all;
  animation: pop .6s .2s var(--bounce) both;
}
.token-input { font: 500 1.15rem var(--mono); letter-spacing: .08em; text-transform: uppercase; min-height: 58px; }
.qr { display: block; margin: 14px auto; border-radius: 18px; background: #fff; padding: 10px; border: 2px solid var(--ink); }
.acct-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.back { display: inline-flex; align-items: center; gap: 6px; }

/* Halaman masuk / daftar / token */
.auth { text-align: left; overflow: hidden; }
.auth h1 { margin-top: 14px; }
.auth-art {
  position: relative; display: grid; place-items: center; height: 170px; margin: -20px -20px 0;
  background: var(--yellow); border-bottom: 2px solid var(--ink);
  background-image: radial-gradient(rgba(36, 23, 13, .14) 1.6px, transparent 2px); background-size: 20px 20px;
}
.auth-art .bowl-face { width: 150px; animation: bob 3s ease-in-out infinite; }
.auth-art.sm { height: auto; margin: 0 auto 8px; background: none; border: 0; width: 120px; }
.center .auth-art:not(.sm) { margin-bottom: 14px; }
.auth-key { position: absolute; right: 26px; top: 18px; width: 70px; animation: keyfloat 3.6s ease-in-out infinite; }

/* ---------- Beranda ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: center; padding: 20px 0 40px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 2px solid var(--ink);
  border-radius: 999px; background: var(--surface); font-weight: 750; font-size: .88rem;
}
.kicker-dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: #24170D; border: 2px solid var(--ink); }
.kicker-dot .ic { width: 15px; height: 15px; animation: spin 6s linear infinite; fill: currentColor; }
.hero-h { font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .98; margin: 20px 0 18px; }
.mark { position: relative; isolation: isolate; display: inline-block; color: var(--brand-text); white-space: nowrap; }
.mark svg { position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .3em; overflow: visible; z-index: -1; }
.mark path { stroke-dasharray: 440; stroke-dashoffset: 440; animation: draw 1.1s .6s cubic-bezier(.6, 0, .2, 1) forwards; }
.hero-lead { font-size: 1.12rem; line-height: 1.6; color: var(--muted); max-width: 520px; margin: 0 0 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-proof { display: flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--muted); font-weight: 650; font-size: .95rem; }
.hero-art { position: relative; height: 380px; width: 100%; max-width: 520px; margin: 0 auto; }
.hero-dots { position: absolute; left: 0; top: 10px; width: 130px; height: 100px; background-image: radial-gradient(var(--ink) 2px, transparent 2.5px); background-size: 18px 18px; opacity: .22; }
.hero-blob { position: absolute; inset: 30px 16px 20px 30px; background: var(--yellow); border: 2px solid var(--ink); animation: morph 10s ease-in-out infinite; }
.hero-mascot { position: absolute; left: 50%; top: 48%; width: 250px; margin: -125px 0 0 -125px; animation: bob 3.2s ease-in-out infinite; }
.hero-sticker {
  position: absolute; left: 6px; bottom: 34px; width: 96px; height: 96px; border-radius: 50%; background: #fff; color: #24170D;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; font: 800 .74rem/1.15 var(--display); --r: -10deg; animation: float 5.5s .8s ease-in-out infinite;
}
.hero-sticker .ic { width: 26px; height: 26px; color: #1F7A4F; stroke-width: 3; }
.hero-receipt { position: absolute; right: -4px; bottom: 0; width: 120px; padding: 6px; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); --r: 6deg; animation: float 6s ease-in-out infinite; }
.fl { position: absolute; animation: float 5s ease-in-out infinite; }
.fl-1 { left: 20px; top: 50px; --r: -18deg; animation-delay: .3s; }
.fl-2 { right: 28px; top: 10px; --r: 12deg; animation-delay: 1.1s; }
.fl-3 { right: 0; top: 170px; --r: -24deg; animation-delay: .5s; display: none; }
.fl-4 { left: 50px; top: 220px; --r: 8deg; animation-delay: 1.6s; display: none; }
.fl svg { display: block; width: 52px; height: auto; }
.marq { background: #24170D; color: #FFD23F; overflow: hidden; transform: rotate(-1.4deg); width: calc(100vw + 40px); margin: 10px 0 8px calc(50% - 50vw - 20px); }
.marq-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marq-item { display: flex; align-items: center; gap: 20px; padding: 14px 0 14px 20px; font: 800 1.15rem var(--display); white-space: nowrap; }
.marq-item .ic { color: var(--brand); fill: currentColor; animation: spin 4s linear infinite; }
.hello { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 14px; animation: rise .5s both; }
.hello h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin: 0; }
.hello p { margin: 4px 0 0; font-weight: 600; }
.hello-art { width: 104px; flex: none; }
.hello-art .bowl-face { animation: bob 3s ease-in-out infinite; }
.sec-block { padding-top: 36px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.steps-h { margin-bottom: 34px; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; margin-bottom: 18px; }
.ccard {
  display: flex; flex-direction: column; background: var(--surface); color: var(--text); border: 2px solid var(--ink);
  border-radius: 24px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; font-weight: 400;
  transition: transform .3s var(--bounce), box-shadow .3s; animation: pop .5s var(--bounce) both;
}
.ccard:nth-child(2) { animation-delay: .06s; } .ccard:nth-child(3) { animation-delay: .12s; }
.ccard:nth-child(4) { animation-delay: .18s; } .ccard:nth-child(n+5) { animation-delay: .24s; }
.ccard:hover { transform: translate(-3px, -6px) rotate(-.8deg); box-shadow: 8px 11px 0 var(--ink); text-decoration: none; color: var(--text); }
.ccard-art { position: relative; display: grid; place-items: center; height: 140px; padding-top: 30px; border-bottom: 2px solid var(--ink); }
.ccard-art .food { width: 92px; transition: transform .4s var(--bounce); }
.ccard:hover .food { transform: scale(1.14) rotate(-8deg); }
.k-geprek { background: #FFE3C2; } .k-kopi { background: #DDF0E6; } .k-bakso { background: #E3E8FF; }
.k-padang { background: #FFF0B3; } .k-bowl { background: #FFE3C2; }
.ccard-top { position: absolute; left: 12px; top: 12px; right: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.ccard-top .pill { border-color: #24170D; color: #24170D; }
.ccard-top .pill:not(.ok):not(.warn):not(.info):not(.hot) { background: #fff; }
.ccard-top .pill.ok, .ccard-top .pill.hot { background: #C9F0D9; }
.ccard-top .pill.warn { background: #FFE58F; } .ccard-top .pill.info { background: #CFE0FF; }
.ccard-top .pill.muted { background: #FFFBF2; color: #5C4636; }
.ccard-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.ccard-title { font: 800 1.25rem/1.15 var(--display); letter-spacing: -.01em; }
.ccard-meta { color: var(--muted); font-size: .9rem; }
.ccard-dl { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 750; color: var(--brand-text); }
.ccard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 2px dashed var(--line); }
.ccard-n { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.ccard-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.ccard-go .arr { transition: transform .2s; }
.ccard:hover .ccard-go .arr { transform: translateX(5px); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 34px 24px; }
.step { position: relative; background: var(--surface); border: 2px solid var(--ink); border-radius: 26px; padding: 24px; box-shadow: 4px 4px 0 var(--ink); transition: transform .3s var(--bounce); }
.step:hover { transform: translateY(-6px) rotate(.6deg); }
.step-n { position: absolute; top: -20px; left: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #24170D; border: 2px solid var(--ink); display: grid; place-items: center; font: 800 1.2rem var(--display); }
.step-art { height: 160px; border-radius: 18px; border: 2px solid var(--ink); display: grid; place-items: center; margin: 8px 0 18px; overflow: hidden; }
.step-art svg { height: 130px; width: auto; }
.step-art.a1 { background: #FFE3C2; } .step-art.a2 { background: #DDF0E6; } .step-art.a3 { background: #FFF0B3; }
.step h3 { font-size: 1.4rem; margin: 0 0 6px; }
.step p { margin: 0; color: var(--muted); }
.band {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 56px;
  background: var(--brand); color: #24170D; border: 2px solid var(--ink); border-radius: 30px; box-shadow: 6px 6px 0 var(--ink); padding: 30px 24px;
}
.band h2 { font: 800 clamp(1.9rem, 4vw, 3rem)/1 var(--display); margin: 0 0 10px; }
.band p { margin: 0; font-weight: 650; }
.band-copy { position: relative; z-index: 1; }
.band .btn-ink { position: relative; z-index: 1; background: #24170D; color: #FFF4E6; border-color: #24170D; box-shadow: 4px 4px 0 #FFD23F; }
.band-art { display: none; }

/* ---------- Halaman campaign ---------- */
.c-head {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); border: 2px solid var(--ink); border-radius: 28px;
  box-shadow: 5px 5px 0 var(--ink); padding: 22px 20px; margin-bottom: 8px; color: #24170D; animation: rise .5s both;
}
.c-head h1 { margin: 26px 0 6px; font-size: clamp(1.9rem, 5vw, 3rem); }
.c-head a:not(.btn) { color: #24170D; }
.c-head .pill { border-color: #24170D; color: #24170D; background: #fff; }
.c-head .pill.hot { background: #C9F0D9; } .c-head .pill.warn { background: #FFE58F; } .c-head .pill.info { background: #CFE0FF; } .c-head .pill.ok { background: #C9F0D9; }
.c-head-main { position: relative; z-index: 1; min-width: 0; }
.c-head-art { position: absolute; right: -8px; top: -12px; width: 84px; opacity: .95; animation: bob 3.4s ease-in-out infinite; }
.c-head-art .food { width: 100%; }
.c-pills { display: flex; gap: 6px; flex-wrap: wrap; padding-right: 90px; }
.c-meta { font-weight: 650; color: #5C4636; margin: 0; }
.dl { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-weight: 750; margin: 10px 0 0; padding: 6px 12px; border: 2px solid #24170D; border-radius: 999px; background: #fff; }
.dl-left { font-variant-numeric: tabular-nums; color: #B42318; }
.desc { white-space: pre-line; margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: flex-start; }
.c-head .btn-ghost { background: #fff; color: #24170D; border-color: #24170D; box-shadow: 4px 4px 0 #24170D; }
.c-head .btn { border-color: #24170D; box-shadow: 4px 4px 0 #24170D; color: #24170D; }
.c-head .btn-mint { background: #A7E3C9; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details .chev { transition: transform .3s var(--bounce); }
details[open] > summary .chev { transform: rotate(180deg); }
details.more { position: relative; }
details.more .menu {
  position: absolute; z-index: 15; top: calc(100% + 10px); right: 0; min-width: 270px; color: var(--text);
  background: var(--surface); border: 2px solid var(--ink); border-radius: 18px; padding: 8px;
  box-shadow: 5px 5px 0 var(--ink); display: grid; gap: 2px; animation: pop .25s var(--bounce) both; transform-origin: top right;
}
details.more .menu .form { padding: 6px 8px; }
@media (max-width: 480px) { details.more .menu { right: auto; left: -80px; } }
.menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px;
  background: none; color: var(--text) !important; font: 650 .95rem var(--body); cursor: pointer; text-align: left;
}
.menu-item:hover { background: var(--soft); text-decoration: none; }
.menu-item.danger:hover { background: var(--bad-soft); }
.join h2 { margin-bottom: 8px; }
.join { background: var(--soft); }

.stepper { display: flex; align-items: flex-start; list-style: none; margin: 20px 0 10px; padding: 0 2px; overflow-x: auto; scrollbar-width: none; }
.st { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; width: 58px; text-align: center; font-size: .78rem; font-weight: 750; color: var(--muted); }
.st-dot { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: var(--surface); color: var(--text); font-weight: 800; transition: transform .4s var(--bounce); }
.st-dot .ic { width: 16px; height: 16px; stroke-width: 3; }
.st.done { color: var(--text); }
.st.done .st-dot { background: var(--ink); color: var(--on-ink); }
.st.cur { color: var(--text); }
.st.cur .st-dot { background: var(--brand); color: #24170D; transform: scale(1.15); box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 30%, transparent); animation: breathe 2.4s ease-in-out infinite; }
.st-line { flex: 1 1 20px; min-width: 14px; height: 4px; margin-top: 15px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.st-line span { position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.st-line.done span, .st-line.cur span { transform: scaleX(1); animation: growx .8s .2s cubic-bezier(.6, 0, .2, 1) both; }

.party { text-align: center; background: #24170D; color: #FFF4E6; border-color: #24170D; box-shadow: 4px 4px 0 var(--brand); }
.party h2 { justify-content: center; color: #FFD23F; font-size: 1.6rem; margin: 6px 0 4px; }
.party-art { width: 140px; margin: 0 auto; animation: jump 1.2s var(--bounce) infinite; }

.tabs {
  display: flex; gap: 4px; overflow-x: auto; padding: 5px; margin: 18px 0 18px; scrollbar-width: none;
  background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink);
}
.tabs a {
  flex: 1 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px;
  padding: 0 14px; border-radius: 999px; color: var(--muted); white-space: nowrap; font-weight: 700; font-size: .92rem;
  transition: background .2s, color .2s;
}
.tabs a:hover { text-decoration: none; color: var(--text); background: var(--soft); }
.tabs a.on { background: var(--ink); color: var(--bg); }
.tabs a .ic { width: 17px; height: 17px; }
.count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--yellow); color: #24170D; font-size: .75rem; font-weight: 800;
}

.pgroup.me { background: var(--surface-2); box-shadow: 4px 4px 0 var(--brand); }
.pg-head { display: flex; align-items: center; gap: 12px; }
.pg-name { flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; font-size: 1.05rem; }
.pg-sum { font: 800 1.1rem var(--display); font-variant-numeric: tabular-nums; }
.items { list-style: none; margin: 12px 0 0; padding: 0; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 2px dashed var(--line); }
.item-main { min-width: 0; }
.item-name { font-weight: 700; }
.item-note { display: block; font-size: .85rem; color: var(--muted); }
.item-price { text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.item-price small { display: block; font-weight: 600; }
.item-act { grid-column: 1 / -1; }
.item-act:empty { display: none; }
details.edit[open] { background: var(--soft); border-radius: 14px; padding: 8px 12px; margin-top: 6px; }
.pg-tools { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; padding-top: 8px; border-top: 2px dashed var(--line); }
.card-add { background: var(--yellow); color: #24170D; }
.card-add .hint, .card-add .opt, .card-add label small { color: #5C4636; }
.card-add input, .card-add select { border-color: #24170D; background: #FFFBF2; color: #24170D; }
.card-add .btn-ink { background: #24170D; color: #FFF4E6; border-color: #24170D; box-shadow: 4px 4px 0 #FF7A1A; }
.sum-toggle { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.mini { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; font-size: .9rem; }
.mini li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows > li { padding: 12px 0; border-top: 2px dashed var(--line); }
.rows > li:first-child { border-top: 0; padding-top: 0; }
.row-main { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
details.add { margin-top: 14px; }
details.add[open] summary { margin-bottom: 6px; }

dl.sum { margin: 0; display: grid; gap: 8px; }
dl.sum > div { display: flex; justify-content: space-between; gap: 12px; }
dl.sum dt { color: var(--muted); font-weight: 600; }
dl.sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
dl.sum .minus dd { color: var(--ok); }
dl.sum .total { border-top: 2px solid var(--ink); padding-top: 10px; margin-top: 4px; }
dl.sum .total dt, dl.sum .total dd { color: var(--text); font: 800 1.2rem var(--display); }
details.bill { padding-top: 10px; padding-bottom: 10px; }
details.bill > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 750; }
details.bill[open] > summary { margin-bottom: 10px; }
details.bill.me { background: var(--surface-2); box-shadow: 4px 4px 0 var(--brand); }
.bill-total { margin-left: auto; font: 800 1.05rem var(--display); font-variant-numeric: tabular-nums; }

.my-bill { position: relative; overflow: hidden; text-align: left; background: var(--brand); color: #24170D; box-shadow: 5px 5px 0 var(--ink); }
.my-bill h2 { color: #24170D; }
.my-bill .muted { color: #3D2A1B; }
.my-bill .link { color: #24170D; text-decoration: underline; }
.my-bill-art { position: absolute; right: -16px; top: -10px; width: 120px; animation: bob 3.4s ease-in-out infinite; }
.my-bill .big { position: relative; font: 800 clamp(2.4rem, 8vw, 3rem)/1 var(--display); font-variant-numeric: tabular-nums; margin: 6px 0 12px; letter-spacing: -.03em; }
.my-bill .pill { border-color: #24170D; color: #24170D; }
.my-bill .form { text-align: left; margin-top: 16px; position: relative; }
.my-bill label { color: #24170D; }
.my-bill input, .my-bill select { border-color: #24170D; background: #FFFBF2; color: #24170D; }
.my-bill .btn-ink { background: #24170D; color: #FFF4E6; border-color: #24170D; box-shadow: 4px 4px 0 #FFD23F; }
.my-bill .flash { margin-top: 12px; }
.pay-info { background: var(--surface-2); }
.progress { display: block; width: 100%; height: 20px; margin: 4px 0 10px; border: 2px solid var(--ink); border-radius: 999px; background: var(--surface-2); overflow: hidden; -webkit-appearance: none; appearance: none; }
.progress::-webkit-progress-bar { background: var(--surface-2); }
.progress::-webkit-progress-value { background: #1F8A5B repeating-linear-gradient(-45deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px); border-right: 2px solid var(--ink); transition: width .8s var(--bounce); }
.progress::-moz-progress-bar { background: #1F8A5B; }
.payrow { display: grid; gap: 8px; }
.payrow-top { display: flex; align-items: center; gap: 10px; }
.payrow .pill { justify-self: start; }
.amt { font: 800 1.05rem var(--display); font-variant-numeric: tabular-nums; }
.pay-tools { display: grid; gap: 8px; }
.pending-box { background: var(--warn-soft); border: 2px solid var(--ink); border-radius: 16px; padding: 10px 12px; }
.pending-box p { margin: 0 0 8px; }
.inline-details[open] { background: var(--soft); border-radius: 14px; padding: 8px 12px; }
.history .mini { font-size: .82rem; }

.log { list-style: none; margin: 0; padding: 0; }
.log li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 2px dashed var(--line); font-size: .92rem; }
.log li:first-child { border-top: 0; }
.log .muted { white-space: nowrap; }

/* ---------- Admin ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat {
  background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; padding: 14px 16px; display: grid;
  color: var(--text); box-shadow: 3px 3px 0 var(--ink); transition: transform .25s var(--bounce), box-shadow .25s; font-weight: 400;
}
a.stat:hover { transform: translate(-2px, -4px); box-shadow: 5px 7px 0 var(--ink); text-decoration: none; color: var(--text); }
.stat.wide { margin-bottom: 18px; background: var(--yellow); color: #24170D; }
.stat.wide .stat-l { color: #5C4636; }
.stat-n { font: 800 1.8rem var(--display); font-variant-numeric: tabular-nums; }
.stat-l { color: var(--muted); font-size: .85rem; font-weight: 600; }
.filter { margin-bottom: 18px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 2px solid var(--ink); border-radius: 20px; box-shadow: 4px 4px 0 var(--ink); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 12px 14px; text-align: left; border-top: 2px dashed var(--line); vertical-align: top; }
.table th { border-top: 0; color: var(--muted); font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; background: var(--surface-2); }
.table td form { display: inline; }
.table td .inline-details form { display: grid; }

/* ---------- Footer & tab bar ---------- */
.foot { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; padding-top: 24px; padding-bottom: 36px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; }
.foot-brand .logo { width: 24px; height: 24px; }
.tabbar { display: none; }
@media (max-width: 719px) {
  .hide-sm { display: none; }
  .me-name { display: none; }
  body.has-tabbar { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30;
    display: flex; gap: 4px; padding: 5px; background: var(--surface); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
  }
  .tb {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 999px;
    color: var(--muted); font-size: .88rem; font-weight: 800; transition: flex .35s var(--bounce), background .25s, color .25s;
  }
  .tb span { display: none; }
  .tb:hover { text-decoration: none; color: var(--text); }
  .tb.on { flex: 1.8; background: var(--ink); color: var(--on-ink); }
  .tb.on span { display: inline; animation: rise .3s both; }
}

/* ---------- Dialog konfirmasi & efek ---------- */
.yt-dialog { border: 0; padding: 16px; background: transparent; max-width: 440px; width: 100%; color: var(--text); }
.yt-dialog::backdrop { background: rgba(23, 17, 12, .5); }
.yt-dialog[open] .dlg { animation: pop .4s var(--bounce) both; }
.dlg { background: var(--surface); border: 2px solid var(--ink); border-radius: 28px; box-shadow: 6px 6px 0 var(--ink); padding: 26px 22px 22px; text-align: center; }
.dlg-art { width: 110px; margin: 0 auto 6px; }
.dlg h3 { font: 800 1.5rem/1.1 var(--display); margin: 6px 0 8px; }
.dlg p { margin: 0 0 20px; color: var(--muted); }
.dlg-acts { display: flex; gap: 12px; }
.dlg-acts .btn { flex: 1; padding: 0 12px; }
.confetti { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 50; }
.cf { position: absolute; top: -24px; width: 12px; height: 18px; border: 2px solid #24170D; border-radius: 3px; animation: fall 2.8s cubic-bezier(.3, .6, .5, 1) both; }
.copied { background: var(--ok-soft) !important; color: var(--text) !important; }

/* Animasi & ilustrasi */
.rise { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; }
.blink { transform-box: fill-box; transform-origin: center; animation: blink 4.2s infinite; }
.steam { animation: steam 2.6s ease-in infinite; }
.s2 { animation-delay: .7s; } .s3 { animation-delay: 1.4s; }
.ring { transform-box: fill-box; transform-origin: 50% 10%; animation: ring 2.4s ease-in-out infinite; }
.wave1 { animation: bob 1.6s ease-in-out infinite; }
.wave2 { animation: bob 1.6s .2s ease-in-out infinite; }
.wave3 { animation: bob 1.6s .4s ease-in-out infinite; }
.tick { stroke-dasharray: 60; stroke-dashoffset: 60; animation: tick 3s ease-in-out infinite; }
.mascot, .bowl-face, .food { display: block; width: 100%; height: auto; overflow: visible; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.85) translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 5deg)); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes morph { 0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; } 50% { border-radius: 58% 42% 55% 45% / 42% 58% 44% 56%; } }
@keyframes blink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
@keyframes steam { 0% { transform: translateY(10px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(-18px); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 138, 91, .6); } 100% { box-shadow: 0 0 0 8px rgba(31, 138, 91, 0); } }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 66% { transform: rotate(14deg); } 72% { transform: rotate(-12deg); } 78% { transform: rotate(8deg); } 84% { transform: rotate(-4deg); } }
@keyframes tick { 0%, 15% { stroke-dashoffset: 60; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 60; } }
@keyframes keyfloat { 0%, 100% { transform: translateY(0) rotate(-20deg); } 50% { transform: translateY(-10px) rotate(10deg); } }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 30%, transparent); } 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--brand) 12%, transparent); } }
@keyframes growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes jump { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-16px); } 60% { transform: translateY(-12px); } }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(110vh) rotate(720deg); opacity: .9; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-10px); } 40% { transform: translateX(9px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(4px); } }
.shake { animation: shake .45s; }

/* ---------- Layar lebih lebar ---------- */
@media (min-width: 720px) {
  .top-in { height: 74px; }
  .card { padding: 24px; }
  .hero-cta .btn { flex: none; }
  .hero-art { height: 460px; }
  .hero-mascot { width: 320px; margin: -160px 0 0 -160px; }
  .hero-receipt { width: 150px; }
  .fl svg { width: 64px; }
  .fl-3, .fl-4 { display: block; }
  .c-head { padding: 30px 32px; }
  .c-head-art { position: static; grid-row: 1; grid-column: 2; width: 170px; align-self: center; }
  .c-head { grid-template-columns: minmax(0, 1fr) 170px; gap: 20px; }
  .c-pills { padding-right: 0; }
  .c-head h1 { margin-top: 14px; }
  .st { width: 76px; font-size: .85rem; }
  .st-dot { width: 38px; height: 38px; }
  .st-line { margin-top: 17px; }
  .band { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px; }
  .band-art { display: block; position: absolute; right: 300px; bottom: -18px; width: 130px; animation: peek 4s ease-in-out infinite; }
  .foot { flex-direction: row; justify-content: space-between; text-align: left; }
}
@media (min-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; padding: 48px 0 64px; }
  .hero-art { height: 520px; }
  .hero-mascot { width: 360px; margin: -180px 0 0 -180px; }
  .hero-sticker { width: 112px; height: 112px; font-size: .85rem; }
  .hero-receipt { width: 170px; }
  .sec-block { padding-top: 64px; }
}
@keyframes peek { 0%, 100% { transform: translateY(14px) rotate(-6deg); } 50% { transform: translateY(0) rotate(4deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .mark path, .tick { stroke-dashoffset: 0; }
  .st-line.done span, .st-line.cur span { transform: scaleX(1); }
}
