/* Charadoll: an otome game screen at night. Tokens first; ornament lives only on frames. */
:root {
  --night: #1d1022;
  --scene: #2a1830;
  --scene-2: #331d3b;
  --dusk: #4a2340;
  --rose: #d9577a;
  --rose-deep: #b8375e;
  --req: #c42a3f; /* the "wajib" star: red, not rose, so it reads as a rule and not as decoration */
  --rose-press: #9f2d50;
  --blush: #f6d3de;
  --veil: #fbf4f6;
  --veil-a: rgba(251, 244, 246, .95);
  --paper: #f8e9ef;
  --ink: #2b1d2e;
  --ink-2: #5a4560;
  --lav: #b9a3d6;
  --mist: #ead9e3;
  --rule-dark: rgba(246, 211, 222, .28);
  --rule-light: #e7c9d5;
  --ok: #2f7a57;
  --shadow: 0 18px 40px -14px rgba(10, 4, 14, .7);
  --shadow-sm: 0 8px 20px -10px rgba(10, 4, 14, .65);
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --bloom: cubic-bezier(.34, 1.3, .64, 1); /* the brief asks for a soft overshoot on the choice cards */
  --gutter: clamp(1rem, 4.5vw, 3.5rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--rose-deep) var(--night); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--scene); color: var(--mist);
  font: 500 1.0625rem/1.7 var(--font); font-feature-settings: "palt" 0;
  caret-color: var(--rose);
}
::selection { background: var(--rose-deep); color: var(--veil); }
img { max-width: 100%; display: block; }
a { color: var(--blush); text-underline-offset: .22em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--veil); }
h1, h2, h3 { color: var(--veil); font-weight: 900; line-height: 1.15; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; }
b, strong { font-weight: 700; }
:focus-visible { outline: 2.5px solid var(--blush); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.muted { opacity: .7; font-weight: 500; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 20; background: var(--veil); color: var(--ink); padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--bloom), box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-rose { background: var(--rose-deep); color: var(--veil); box-shadow: 0 8px 18px -8px rgba(10, 4, 14, .7); }
.btn-rose:hover { background: var(--rose-press); color: var(--veil); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--veil); border-color: rgba(246, 211, 222, .55); } /* a <button> would take the browser's grey */
.btn-ghost:hover { border-color: var(--blush); background: rgba(246, 211, 222, .08); color: var(--veil); }
.btn-line { color: var(--rose-deep); border-color: var(--rule-light); background: #fff; }
.btn-line:hover { border-color: var(--rose); color: var(--rose-press); }
.btn-sm { padding: .55em 1.1em; font-size: .95rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.15rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; gap: 1.5rem; padding: 1rem var(--gutter);
  position: relative; z-index: 6;
}
.home .topbar { position: absolute; inset: 0 0 auto 0; }
.wordmark { display: inline-flex; align-items: center; gap: .45rem; color: var(--veil); font-weight: 900; font-size: 1.2rem; text-decoration: none; letter-spacing: .01em; }
.wordmark .ic { color: var(--rose); width: 1.05em; height: 1.05em; }
.chapters { display: flex; gap: 1.4rem; margin-left: auto; }
.chapters a { color: var(--mist); text-decoration: none; font-weight: 700; font-size: .98rem; padding: .3rem 0; border-bottom: 1.5px solid transparent; }
.chapters a:hover { color: var(--veil); border-bottom-color: var(--rose); }

/* ---------- the scene (first viewport) ---------- */
.scene {
  position: relative; min-height: 100svh; overflow: clip; isolation: isolate;
  background: linear-gradient(180deg, var(--night) 0%, var(--scene) 48%, var(--dusk) 100%);
}
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glint { position: absolute; color: var(--blush); opacity: .55; animation: twinkle 4.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.8); } 50% { opacity: .75; transform: scale(1); } }

.offer { position: relative; z-index: 3; padding: clamp(5.5rem, 15vh, 9.5rem) var(--gutter) 0; max-width: min(40rem, 50vw); }
.offer h1 { font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; }
@media (min-width: 761px) { .offer h1 span { display: block; } }
.offer-sub { margin-top: 1rem; color: var(--blush); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.offer-sub strong { color: var(--veil); }
.offer-act { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.stage { position: absolute; z-index: 1; top: 4.75rem; right: max(1vw, calc(50% - 44rem)); height: min(118svh, 84rem); }
.stage .puppet { height: 100%; width: auto; }
.moon {
  position: absolute; z-index: -1; left: 74%; top: 3%; width: 36%; aspect-ratio: 1; translate: -50% 0; /* over her right shoulder, clear of the offer text */
  border-radius: 50%; background: #f1e1ea;
  box-shadow: 0 0 0 14px rgba(241, 225, 234, .06), 0 0 90px 30px rgba(246, 211, 222, .16);
  opacity: .9;
}

/* puppet: a base picture with eyes/mouth layers stacked on it */
.puppet { position: relative; user-select: none; -webkit-user-select: none; }
.puppet-base { width: 100%; height: 100%; object-fit: contain; }
/* the sample art can't be grabbed with right-click / long-press "save image" (a speed bump, not a lock: the baked-in
   signature from tools/export_art.py is what survives a screenshot) */
img[src^="/static/art/"] { pointer-events: none; -webkit-touch-callout: none; -webkit-user-drag: none; }
.part { position: absolute; height: auto; max-width: none; opacity: 0; transition: opacity 90ms linear; pointer-events: none; }
.part.on { opacity: 1; }
.part[data-part^="mouth_"] { transition: none; } /* mouths swap instantly, like the shorts' puppet */
.puppet.snap .part { transition: none; }

/* the dialogue stack: choice cards, timer, window */
.vn {
  position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(1rem, 3.2vh, 2.2rem);
  display: grid; gap: .8rem; max-width: 74rem; margin-inline: auto;
}
.choices { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; width: min(22rem, 100%); }
.choice {
  --i: 0;
  display: flex; align-items: center; gap: .85rem; width: min(20rem, 100%); transform-origin: 0 100%;
  padding: .72rem 1.15rem .72rem .8rem; margin-left: calc(var(--i) * 1.1rem);
  background: var(--veil); color: var(--ink); border: 1px solid #e2b8c8; border-radius: .9rem;
  box-shadow: inset 0 0 0 3px var(--veil), inset 0 0 0 4px rgba(217, 87, 122, .35), var(--shadow-sm);
  font: 700 1.02rem/1.3 var(--font); text-align: left; text-decoration: none; cursor: pointer;
  rotate: calc((var(--i) - 1) * 2.4deg);
  transition: background-color .18s, transform .35s var(--bloom), box-shadow .2s, border-color .2s;
  animation: bloom .55s var(--bloom) both; animation-delay: calc(var(--i) * 70ms);
}
.choices .choice:nth-child(2) { --i: 1; }
.choices .choice:nth-child(3) { --i: 2; }
.choice:hover, .choice:focus-visible {
  background: var(--blush); color: var(--ink); border-color: var(--rose);
  box-shadow: inset 0 0 0 3px var(--blush), inset 0 0 0 4.5px var(--rose), var(--shadow);
  transform: translateX(.45rem) scale(1.02);
}
.choice:focus-visible { outline: 2.5px solid var(--veil); outline-offset: 3px; }
.key {
  display: grid; place-items: center; flex: none; width: 1.7rem; height: 1.7rem; border-radius: 50%;
  background: var(--scene); color: var(--blush); font-size: .85rem; font-variant-numeric: tabular-nums;
}
.choice:hover .key, .choice:focus-visible .key { background: var(--rose-deep); color: var(--veil); }
@keyframes bloom { from { opacity: 0; transform: translateY(.6rem) scale(.92); } }

.timer { width: min(22rem, 100%); margin-bottom: 1rem; height: 4px; border-radius: 4px; background: rgba(246, 211, 222, .16); }
.timer span { display: block; height: 100%; border-radius: inherit; background: var(--rose); width: 0; position: relative; }
.timer span::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; translate: 0 -50%; background: var(--blush); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.timer.run span { animation: decay 15s linear forwards; }
.vn.off .timer span { animation-play-state: paused; } /* app.js: the dialogue is scrolled away */
@keyframes decay { from { width: 100%; } to { width: 0; } }

.window {
  position: relative; min-height: 8.6rem; padding: 1.7rem clamp(1.3rem, 3vw, 2.4rem) 1.5rem;
  background: var(--veil-a); color: var(--ink); border: 1.5px solid var(--rose); border-radius: 1.1rem;
  box-shadow: 0 0 0 4px var(--veil-a), 0 0 0 5.5px var(--dusk), var(--shadow);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem); line-height: 1.75; cursor: default;
}
.window .line { max-width: 62ch; min-height: 3.5em; }
.nameplate {
  position: absolute; top: 0; left: clamp(1.2rem, 3vw, 2.2rem); translate: 0 -58%;
  padding: .28rem 1.15rem .3rem; border-radius: 999px; background: var(--rose-deep); color: var(--veil);
  font-weight: 700; font-size: 1rem; letter-spacing: .06em; box-shadow: 0 0 0 3px var(--veil), 0 6px 14px -6px rgba(10, 4, 14, .6);
}
.corner { position: absolute; width: 26px; height: 26px; color: var(--rose); }
.voice-toggle {
  position: absolute; top: 0; right: clamp(1.2rem, 3vw, 2.2rem); translate: 0 -58%; display: inline-flex; align-items: center; gap: .35rem;
  padding: .28rem .8rem .3rem; border-radius: 999px; border: 1.5px solid var(--rose); background: var(--veil); color: var(--rose-deep);
  font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(10, 4, 14, .6);
}
.voice-toggle[hidden] { display: none; }
.voice-toggle:hover { background: var(--blush); }
.voice-toggle:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.voice-toggle .ic { width: 1.05em; height: 1.05em; }
.voice-toggle[aria-pressed="true"] .off, .voice-toggle[aria-pressed="false"] .on { display: none; }
.voice-toggle[aria-pressed="false"] { color: var(--ink-2); border-color: var(--rule-light); }
.window::after { content: ""; position: absolute; top: 0; left: 50%; width: 22px; height: 22px; translate: -50% -55%; background: var(--rose); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.corner.tl { top: 7px; left: 7px; }
.corner.tr { top: 7px; right: 7px; rotate: 90deg; }
.corner.br { bottom: 7px; right: 7px; rotate: 180deg; }
.corner.bl { bottom: 7px; left: 7px; rotate: 270deg; }
.more { position: absolute; right: 2.2rem; bottom: 1rem; width: 14px; height: 14px; color: var(--rose); opacity: 0; }
.window.done .more { opacity: 1; animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { translate: 0 3px; } }

/* Amerta as the guide: her portrait box in the corner, the window slides out from behind it while she talks (app.js "amerta").
   Owner 2026-11-25: the portrait is a box as tall as the window, like a visual-novel side portrait. */
.pendamping {
  position: fixed; z-index: 30; right: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem);
  display: flex; flex-direction: row-reverse; align-items: stretch; gap: .7rem; width: min(32rem, calc(100vw - 1.5rem));
  pointer-events: none; transition: transform .5s var(--ease-out), opacity .3s;
}
.pendamping[hidden] { display: none; }
.pendamping.away { transform: translateY(130%); opacity: 0; }
.pendamping > * { pointer-events: auto; }
.pendamping.away > * { pointer-events: none; }
.pd-face {
  position: relative; z-index: 2; flex: none; width: 8.6rem; padding: 0; overflow: hidden; cursor: pointer;
  border-radius: 1.1rem; border: 1.5px solid var(--rose); background: var(--paper);
  box-shadow: 0 0 0 4px var(--veil-a), 0 0 0 5.5px var(--dusk), var(--shadow);
}
.pd-face:focus-visible { outline: 3px solid var(--veil); outline-offset: 4px; }
/* her full-body picture, cropped to head, hair and shoulders (owner 2026-11-24: a face-only circle read too small) */
.pd-face .puppet { position: absolute; width: 100%; left: 0; top: 0; }
.pd-window {
  flex: 1; min-width: 0; min-height: 8.6rem; padding: 1.3rem 1.1rem .9rem; background: var(--veil); font-size: 1rem; line-height: 1.6; cursor: pointer;
  /* opaque veil: the page text read through the 95% one; the negative insets keep the ring, shadow and top badges */
  clip-path: inset(-2.5rem -1rem -3rem -1rem);
  transition: translate .5s var(--ease-out), clip-path .5s var(--ease-out), opacity .2s, visibility 0s;
}
.pd-window .line { min-height: 1.6em; }
.pd-window .nameplate { left: 1rem; font-size: .88rem; padding: .2rem .9rem .22rem; }
.pd-window .voice-toggle { right: 3rem; font-size: .8rem; padding: .2rem .65rem .22rem; }
.pd-window::after { display: none; }
.pd-close {
  position: absolute; top: 0; right: .7rem; translate: 0 -58%; display: grid; place-items: center; width: 1.9rem; height: 1.9rem;
  padding: 0; border-radius: 50%; border: 1.5px solid var(--rose); background: var(--veil); color: var(--rose-deep); cursor: pointer;
  box-shadow: 0 6px 14px -6px rgba(10, 4, 14, .6);
}
.pd-close .ic { width: .95rem; height: .95rem; }
.pd-close:hover { background: var(--blush); }
.pd-close:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
/* between lines only her portrait stays; the window tucks back behind it (keeps its size, so the portrait does too) */
.pendamping:not(.awake) .pd-window {
  opacity: 0; visibility: hidden; translate: 3rem 0; clip-path: inset(-2.5rem -1rem -3rem calc(100% + 1rem));
  transition: translate .3s ease-in, clip-path .3s ease-in, opacity .2s .1s, visibility 0s .3s;
}

/* ---------- sections ---------- */
.sec { padding: clamp(4.5rem, 10vw, 8rem) var(--gutter); }
.sec > * { max-width: 74rem; margin-inline: auto; }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.sec-head p { margin-top: .9rem; max-width: 60ch; color: var(--mist); }
.album { background: var(--dusk); }
.rute { background: var(--scene); }
.cara { background: var(--scene-2); }
.aturan { background: var(--scene); }

/* album */
.tabs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.4rem; }
.tabs-sep { font-size: .85rem; color: var(--mist); margin: 0 .2rem 0 .8rem; }
@media (max-width: 640px) { .tabs-sep { flex-basis: 100%; margin: .4rem 0 0; } .tabs [role="tab"] { padding: .6rem 1rem; font-size: .92rem; } }
.tabs [role="tab"] {
  font: 700 1rem/1 var(--font); padding: .7rem 1.2rem; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--mist); border: 1.5px solid var(--rule-dark); transition: background-color .2s, color .2s, border-color .2s;
}
.tabs [role="tab"]:not([aria-selected="true"]):hover { border-color: var(--blush); color: var(--veil); }
.tabs [aria-selected="true"] { background: var(--veil); color: var(--ink); border-color: var(--veil); }
/* picture tabs (owner 2026-11-25: text-only tabs went unnoticed) */
.tabs [role="tab"]:has(.tab-face) { display: inline-flex; align-items: center; gap: .6rem; padding: .3rem 1.15rem .3rem .3rem; }
.tab-face { width: 3.1rem; height: 3.1rem; border-radius: 50%; object-fit: cover; background: var(--veil); flex: none; box-shadow: 0 0 0 2px var(--rule-dark); transition: box-shadow .2s; }
.tabs [aria-selected="true"] .tab-face { box-shadow: 0 0 0 2px var(--ink); }
.tabs [role="tab"]:not([aria-selected="true"]):hover .tab-face { box-shadow: 0 0 0 2px var(--blush); }
@media (max-width: 640px) { .tabs [role="tab"]:has(.tab-face) { padding: .25rem .95rem .25rem .25rem; } .tab-face { width: 2.6rem; height: 2.6rem; } }
.album-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.album-panel[hidden] { display: none; }
/* the free Moira pack, above the tabs so it shows without opening Moira's tab (owner 2026-11-26) */
.gratis { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.6rem;
  margin-bottom: 2rem; padding: 1.1rem 1.4rem; border: 1.5px solid var(--rose); border-radius: 1.2rem;
  background: color-mix(in srgb, var(--rose-deep) 22%, var(--dusk)); box-shadow: 0 10px 28px -16px rgba(10, 4, 14, .8); }
.gratis-face { width: 5.5rem; height: 5.5rem; border-radius: 50%; object-fit: cover; background: var(--veil); box-shadow: 0 0 0 2px var(--veil); }
.gratis h3 { font-size: 1.35rem; color: var(--veil); }
.gratis .hint { margin: .35rem 0 0; max-width: 62ch; color: color-mix(in srgb, var(--veil) 80%, transparent); }
.gratis-act { display: grid; justify-items: center; gap: .55rem; }
.gratis-see { font-weight: 700; font-size: .92rem; color: var(--blush); }
.gratis-see:hover { color: var(--veil); }
@media (max-width: 760px) {
  .gratis { grid-template-columns: auto minmax(0, 1fr); padding: 1rem; gap: .9rem; }
  .gratis-face { width: 4rem; height: 4rem; }
  .gratis-act { grid-column: 1 / -1; justify-items: stretch; text-align: center; }
  .gratis-act .btn { justify-content: center; }
}
.frame {
  margin: 0; position: relative; background: var(--paper); border: 1.5px solid var(--rose); border-radius: 1.2rem;
  box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--scene), var(--shadow); padding: 1.4rem 1.4rem 0; overflow: hidden;
}
.frame .puppet { max-height: 68vh; margin-inline: auto; }
.frame figcaption { margin: 0 -1.4rem; padding: .8rem 1.4rem; background: var(--veil); color: var(--ink-2); font-size: .92rem; border-top: 1px solid var(--rule-light); position: relative; }
.chips { border: 0; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { color: var(--veil); font-weight: 900; font-size: 1.25rem; margin-bottom: .8rem; padding: 0; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid var(--rule-dark);
  color: var(--mist); font-weight: 700; font-size: .95rem; transition: background-color .15s, color .15s, border-color .15s, transform .3s var(--bloom);
}
.chips label:hover span { border-color: var(--blush); color: var(--veil); }
.chips input:checked + span { background: var(--blush); color: var(--ink); border-color: var(--blush); transform: scale(1.04); }
.chips input:focus-visible + span { outline: 2.5px solid var(--veil); outline-offset: 2px; }
.ucap { flex-basis: 100%; margin: .6rem 0 0; min-height: 1.5em; color: var(--veil); font-style: italic; }
.ucap:empty { display: none; }
.ucap-note { flex-basis: 100%; margin: .3rem 0 0; color: var(--mist); font-size: .85rem; }
.count { color: var(--mist); font-variant-numeric: tabular-nums; padding-top: 1rem; border-top: 1px solid var(--rule-dark); }
.count b { color: var(--veil); }
.mixer.all .count::after { content: " Semua udah kamu lihat."; color: var(--blush); }

/* routes */
.routes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.8rem); align-items: stretch; }
.route {
  position: relative; display: flex; flex-direction: column; gap: .9rem; padding: 2.4rem 1.7rem 1.7rem;
  background: var(--veil); color: var(--ink); border: 1.5px solid var(--rule-light); border-radius: 1.2rem;
  box-shadow: inset 0 0 0 4px var(--veil), inset 0 0 0 5px rgba(217, 87, 122, .3), var(--shadow-sm);
  transition: transform .4s var(--bloom), box-shadow .25s, border-color .25s;
}
.route:hover, .route:focus-within { transform: translateY(-.35rem); border-color: var(--rose); box-shadow: inset 0 0 0 4px var(--veil), inset 0 0 0 5.5px var(--rose), var(--shadow); }
.route-name {
  position: absolute; top: 0; left: 1.5rem; translate: 0 -50%; color: var(--veil); background: var(--rose-deep);
  font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; padding: .3rem 1.1rem; border-radius: 999px; box-shadow: 0 0 0 3px var(--scene);
}
.combo { color: var(--ink-2); font-weight: 700; line-height: 1.1; }
.combo b { display: block; color: var(--rose-deep); font-size: clamp(2.6rem, 3.6vw, 3.3rem); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.price { font-size: 1.2rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.route .see { font-weight: 700; color: var(--rose-deep); font-size: .95rem; }
.route .see:hover { color: var(--rose-press); }
.facts { margin: 0; display: grid; gap: .55rem; padding-top: .9rem; border-top: 1px solid var(--rule-light); flex: 1; }
.facts div { display: grid; grid-template-columns: 7.2rem 1fr; gap: .6rem; font-size: .95rem; line-height: 1.5; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; color: var(--ink); font-weight: 700; }
.route .btn { align-self: flex-start; margin-top: .4rem; }

/* routes: try every combination of a route on Amerta */
.coba { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.coba .frame { position: sticky; top: 1.5rem; padding-bottom: 0; }
.coba .frame .puppet { max-height: 72vh; }
.coba-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--veil); }
.coba-note { color: var(--mist); max-width: 52ch; margin: .6rem 0 1.4rem; }
.coba-panel .chips { margin-bottom: 1.2rem; }
.matrix-wrap[hidden] { display: none; }
.matrix { border-collapse: separate; border-spacing: .3rem; margin: 0 -.3rem; font-variant-numeric: tabular-nums; }
.sum { color: var(--mist); font-size: 1.05rem; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.sum b { color: var(--veil); font-weight: 900; font-size: 1.15em; }
.matrix th { color: var(--mist); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.matrix thead th { text-align: center; padding-bottom: .15rem; }
.matrix tbody th { text-align: right; padding-right: .5rem; }
.cell {
  display: block; width: clamp(2.3rem, 4vw, 3.4rem); height: 2.5rem; padding: 0; border-radius: .55rem; cursor: pointer;
  background: transparent; border: 1.5px solid var(--rule-dark); transition: background-color .15s, border-color .15s, transform .3s var(--bloom);
}
.cell:hover { border-color: var(--blush); }
.cell.seen { background: rgba(246, 211, 222, .16); border-color: rgba(246, 211, 222, .45); }
.cell[aria-pressed="true"] { background: var(--blush); border-color: var(--blush); transform: scale(1.08); box-shadow: 0 6px 14px -6px rgba(10, 4, 14, .7); }
.cell:focus-visible { outline: 2.5px solid var(--veil); outline-offset: 2px; }
.matrix-wrap .count { margin-top: 1rem; }
.matrix-wrap.all .count::after { content: " Semua udah kamu coba."; color: var(--blush); }

/* how to order */
.cara-body { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.cara-body .slots { max-width: 46rem; }
.slots { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.slots li {
  display: grid; grid-template-columns: 3.2rem 1fr 4.2rem; gap: 1rem; align-items: center; padding: .7rem .8rem .7rem .7rem;
  background: var(--veil); color: var(--ink); border: 1px solid #e2b8c8; border-radius: .9rem;
  box-shadow: inset 0 0 0 3px var(--veil), inset 0 0 0 4px rgba(217, 87, 122, .3), var(--shadow-sm);
  transition: transform .35s var(--bloom), box-shadow .2s;
}
.slots li:hover { transform: translateX(.35rem); }
.slots li:last-child { background: var(--blush); box-shadow: inset 0 0 0 3px var(--blush), inset 0 0 0 4.5px var(--rose), var(--shadow-sm); }
.slots .n { display: grid; place-items: center; aspect-ratio: 1; border-radius: .6rem; background: var(--scene); color: var(--blush); font-weight: 900; font-size: 1.2rem; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 2px var(--scene), inset 0 0 0 3px var(--rose); }
.slots h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: .15rem; }
.slots p { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.slots .thumb { width: 4.2rem; aspect-ratio: 3 / 4; border-radius: .5rem; overflow: hidden; border: 1.5px dashed #d9aebf; background: var(--paper); }
.slots .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.slots .thumb:has(img) { border-style: solid; border-color: var(--rose); }
.proof { margin: 0; }
.proof-row { display: grid; grid-template-columns: minmax(0, 3fr) auto minmax(0, 1.4fr); align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); }
.konsep { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.konsep li { position: relative; border-radius: .9rem; overflow: hidden; background: #f3eef0; border: 1.5px solid var(--rule-dark); }
.konsep img { width: 100%; height: auto; aspect-ratio: 480 / 840; object-fit: cover; }
.konsep li:not(.picked) img { opacity: .72; filter: saturate(.7); }
.konsep .picked { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose), var(--shadow); }
.tag { position: absolute; left: .6rem; bottom: .6rem; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .75rem .25rem .5rem; border-radius: 999px; background: var(--rose-deep); color: var(--veil); font-weight: 700; font-size: .85rem; }
.proof-arrow { width: 2rem; height: 2rem; color: var(--rose); }
.proof-result { background: var(--paper); border-radius: 1rem; border: 1.5px solid var(--rose); padding: 1rem 1rem 0; overflow: hidden; }
.proof figcaption { margin-top: 1.1rem; color: var(--mist); font-size: .95rem; }

.akun-h { font-size: 1.15rem; color: var(--ink); margin: 1.4rem 0 .7rem; }
.akun-h:first-child, .dc-sambung + .akun-h { margin-top: 0; }
.akun-panel .dc-sambung { margin-bottom: 1.4rem; }

/* privacy policy and terms (legal.html) */
.legal-date { font-size: .9rem; color: var(--mist); }
.page.legal > * { max-width: 52rem; } /* head and body share one reading column */
.legal-body section + section { margin-top: 1.9rem; }
.legal-body h2 { font-size: 1.3rem; margin-bottom: .6rem; color: var(--ink); }
.legal-body p, .legal-body li { max-width: 70ch; line-height: 1.65; }
.legal-body ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .55rem; }
.legal-body li::marker { color: var(--rose-deep); }
.legal-body a { color: var(--rose-deep); }

/* rules */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.panel {
  background: var(--veil); color: var(--ink); border: 1.5px solid var(--rule-light); border-radius: 1.2rem;
  padding: clamp(1.3rem, 2.6vw, 2rem); box-shadow: var(--shadow-sm);
}
.panel h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: .9rem; }
.panel p + p { margin-top: .7rem; }
.rule.wide { grid-column: 1 / -1; }
.rule p { color: var(--ink); max-width: 72ch; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; line-height: 1.6; }
.ticks .ic { margin-top: .2em; width: 1.35rem; height: 1.35rem; padding: .18rem; border-radius: 50%; }
.ticks .ok { background: #dff0e7; color: var(--ok); }
.ticks .no { background: #f8dde5; color: var(--rose-press); }
.addons { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2rem; }
.addons dt { font-weight: 900; }
.addons dd { margin: .15rem 0 0; color: var(--ink-2); }

/* closer */
.closer { background: linear-gradient(180deg, var(--scene) 0%, var(--dusk) 100%); text-align: left; }
.closer .window { max-width: 46rem; }
.closer-act { max-width: 46rem; margin-top: 1.6rem; }

/* footer */
.foot { background: var(--night); color: var(--mist); padding: 2.2rem var(--gutter); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.foot p { max-width: 62ch; }
.foot-links { display: flex; gap: 1.2rem; }

/* ---------- forms, shared by order form, order page and admin ---------- */
.page { padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) clamp(4rem, 8vw, 6rem); }
.page > * { max-width: 74rem; margin-inline: auto; }
.page-head { margin-bottom: 2rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.page-head p { margin-top: .7rem; max-width: 60ch; }
.field { display: grid; gap: .35rem; align-content: start; } /* a taller neighbour (a hint) never stretches the input */
.field[hidden] { display: none; } /* the pose slots past the picked route (pesan.html data-pose-slot) */
.field > span, .field legend { font-weight: 700; color: var(--ink); }
.field small, .hint { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
input[type=text], input[type=password], input[type=url], textarea, select {
  width: 100%; font: 500 1rem/1.5 var(--font); color: var(--ink); background: #fff;
  border: 1.5px solid var(--rule-light); border-radius: .8rem; padding: .72rem .9rem;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 5.2rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: #76617c; }
input:hover, textarea:hover, select:hover { border-color: #d8a9bc; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 3px rgba(217, 87, 122, .22); }
.panel :focus-visible { outline-color: var(--rose-deep); }
.panel a:hover, .admin a:hover { color: var(--rose-press); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.grid2 .full { grid-column: 1 / -1; }
.group { border: 0; padding: 0; margin: 0 0 2rem; min-width: 0; }
.group > legend { font-size: 1.35rem; font-weight: 900; color: var(--ink); margin-bottom: 1rem; padding: 0; }
/* order form: one hairline between groups, so each part reads as its own step */
[data-pesan] .group + .group, [data-pesan] .hp + .group { border-top: 1px solid var(--rule-light); padding-top: 1.8rem; }
/* a floated legend is laid out like a heading, below the hairline, not drawn on top of it */
[data-pesan] .group > legend { float: left; width: 100%; }
[data-pesan] .group > legend ~ * { clear: both; }
.group > legend + .group-hint, .group-h + .group-hint { margin: -.55rem 0 1.1rem; }
.group-h { font-size: 1.35rem; font-weight: 900; color: var(--ink); margin-bottom: 1rem; }
.group-hint a { color: var(--rose-deep); font-weight: 700; margin-left: .3rem; }

/* order form: starting briefs, a strip of portrait cards (the tier cards' language: white, Blush + Rose Deep when chosen) */
.starters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(5.4rem, 10vw, 9.5rem), 1fr)); gap: clamp(.6rem, 1vw, .9rem); }
.starter {
  position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%; gap: .45rem; padding: .45rem .45rem .6rem; border-radius: 1rem; background: #fff;
  border: 1.5px solid var(--rule-light); color: var(--ink); text-decoration: none;
  transition: border-color .15s, background-color .15s, transform .3s var(--bloom), box-shadow .2s;
}
.starter:hover { border-color: #d8a9bc; transform: translateY(-.2rem); box-shadow: 0 8px 20px -12px rgba(10, 4, 14, .45); }
.starter:focus-visible { outline: 2.5px solid var(--rose-deep); outline-offset: 3px; }
.starter[aria-current="true"] { background: var(--blush); border-color: var(--rose-deep); box-shadow: inset 0 0 0 1px var(--rose-deep); }
.starter-pic { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 4%; border-radius: .7rem; background: var(--paper); display: block; }
.starter-nyusul {
  display: grid; place-content: center; justify-items: center; gap: .35rem; border: 1.5px dashed #d8a9bc;
  color: var(--ink-2); font-size: .78rem; font-weight: 700; text-align: center;
}
.starter-nyusul .ic { width: 1.3rem; height: 1.3rem; color: var(--rose); }
.starter-name { align-self: center; font-size: clamp(.88rem, .8rem + .2vw, 1rem); font-weight: 700; line-height: 1.25; text-align: center; }
@media (max-width: 760px) {  /* a phone: one swipeable row instead of three rows of tall cards */
  .starters { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 6.4rem; overflow-x: auto;
              scroll-snap-type: x mandatory; padding: .3rem .1rem .6rem; margin: -.3rem -.1rem 0; scrollbar-width: thin; }
  .starters li { scroll-snap-align: start; }
}
.starter-tick {
  position: absolute; top: .2rem; right: .2rem; width: 1.5rem; height: 1.5rem; padding: .25rem; border-radius: 50%;
  background: var(--rose-deep); color: var(--veil); box-shadow: 0 0 0 2px var(--blush);
}
.req { color: var(--req); font-weight: 900; }
.opt { margin-left: .4rem; font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.req-key { margin: 0 0 1.6rem; font-size: .9rem; color: var(--ink-2); }
.file-hint { margin-top: .6rem; }
.check a { color: var(--rose-deep); }
.send { margin-top: 1.8rem; }
.err {
  display: flex; gap: .7rem; align-items: flex-start; padding: .9rem 1.1rem; margin-bottom: 1.6rem; border-radius: .9rem;
  background: #fbe3ea; color: #7d1f3d; border: 1.5px solid #eba7bb; font-weight: 700;
}
.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--ink); cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; accent-color: var(--rose-deep); color-scheme: light; } /* the page is dark-scheme: the box drew filled grey on the paper card */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.file { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; position: relative; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file:focus-within .btn { outline: 2.5px solid var(--rose-deep); outline-offset: 3px; }
.file-name { color: var(--ink-2); font-size: .92rem; }

/* tier radio cards in the order form */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.tier { position: relative; cursor: pointer; }
.tier input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tier > span { display: grid; gap: .15rem; padding: .95rem 1rem; border-radius: 1rem; border: 1.5px solid var(--rule-light); background: #fff; transition: border-color .15s, background-color .15s, transform .3s var(--bloom); }
.tier b { font-size: 1.1rem; color: var(--ink); }
.tier i { font-style: normal; color: var(--ink-2); font-size: .9rem; font-variant-numeric: tabular-nums; }
.tier:hover > span { border-color: #d8a9bc; }
.tier input:checked + span { border-color: var(--rose-deep); background: var(--blush); box-shadow: inset 0 0 0 1px var(--rose-deep); transform: scale(1.02); }
.tier input:focus-visible + span { outline: 2.5px solid var(--rose-deep); outline-offset: 3px; }

/* order form layout: Amerta beside the form */
.create { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.create > * { min-width: 0; } /* the swipeable starter strip must scroll, not widen the page */
.guide { position: sticky; top: 1.5rem; display: grid; gap: 1.4rem; }
.guide .puppet { width: 100%; max-width: 22rem; margin-inline: auto; }
.guide-portrait { position: relative; border-radius: 1.2rem; overflow: hidden; background: var(--dusk); border: 1.5px solid var(--rule-dark); padding-top: 1rem; }
.guide .window { min-height: 0; font-size: 1.02rem; }
.guide .window .line { min-height: 0; }

/* order page */
/* one column, read top to bottom: status, the step, the brief, messages, and the proof upload last (owner 2026-11-24) */
.save-main { max-width: 52rem; }
.save-main { display: grid; gap: 1.6rem; min-width: 0; }
.panel-h { color: var(--ink); font-size: 1.3rem; margin-bottom: .9rem; }
.bukti { border-color: var(--rose); box-shadow: inset 0 0 0 3px var(--veil), inset 0 0 0 4.5px var(--rose), var(--shadow); }
.bukti > p { color: var(--ink); margin-bottom: 1rem; }
.code { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.keep { display: grid; gap: .8rem; padding: 1.2rem 1.4rem; border-radius: 1.1rem; background: var(--blush); color: var(--ink); border: 1.5px solid var(--rose); }
.keep strong { font-size: 1.1rem; }
.keep code { font: 700 .9rem/1.5 ui-monospace, Consolas, monospace; word-break: break-all; background: var(--veil); padding: .5rem .7rem; border-radius: .6rem; }
.track { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.track li { display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .8rem; border-radius: 999px; font-size: .88rem; font-weight: 700; border: 1.5px solid var(--rule-dark); color: var(--mist); }
.track .done { color: var(--blush); border-color: transparent; background: rgba(246, 211, 222, .1); }
.track .now { background: var(--veil); color: var(--ink); border-color: var(--veil); }
.track .ic { width: .95em; height: .95em; }
.act h2 { font-size: 1.4rem; color: var(--ink); margin-bottom: .8rem; }
.act > p { color: var(--ink); }
.pay { margin: 1rem 0; display: grid; gap: .4rem; padding: 1rem 1.2rem; border-radius: .9rem; background: var(--paper); }
.pay dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.pay dt { color: var(--ink-2); }
.pay dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.pay img { max-width: 14rem; border-radius: .6rem; margin-top: .6rem; }
.amount { font-size: 1.8rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.picks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin: 1rem 0; }
.picks figure { margin: 0; display: grid; gap: .6rem; }
.key-eye { color: #1d7a4a; }
.key-mouth { color: #b35a12; }
.kotak-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin: 1rem 0 1.4rem; }
.kotak-pose { margin: 0; display: grid; gap: .4rem; }
.kotak-stage { position: relative; aspect-ratio: 1; touch-action: none; user-select: none; border-radius: .8rem; overflow: hidden; border: 1.5px solid var(--rule-light); background: #f3eef0; }
.kotak-zoom { position: absolute; left: 0; top: 0; width: 100%; }
.kotak-zoom img { display: block; width: 100%; height: auto; pointer-events: none; }
.box { position: absolute; padding: 0; margin: 0; background: transparent; cursor: grab; border: 2px solid; border-radius: 3px; }
.box.eye { border-color: #2fbf71; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .35); }
.box.mouth { border-color: #ff9d3d; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(0, 0, 0, .35); }
.box.held { cursor: grabbing; background: rgba(255, 255, 255, .12); }
.box:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.box .grip { position: absolute; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: currentColor; border: 2px solid #fff; cursor: nwse-resize; }
.box .grip.nw { left: -9px; top: -9px; }
.box .grip.ne { right: -9px; top: -9px; cursor: nesw-resize; }
.box .grip.sw { left: -9px; bottom: -9px; cursor: nesw-resize; }
.box .grip.se { right: -9px; bottom: -9px; }
.box:focus, .box.held { z-index: 2; } /* the box in hand sits on top: its corners aren't under the neighbour's */
.box.eye .grip { color: #2fbf71; }
.box.mouth .grip { color: #ff9d3d; }
@media (pointer: coarse) {
  .box .grip { width: 24px; height: 24px; }
  .box .grip.nw, .box .grip.sw { left: -12px; }
  .box .grip.ne, .box .grip.se { right: -12px; }
  .box .grip.nw, .box .grip.ne { top: -12px; }
  .box .grip.sw, .box .grip.se { bottom: -12px; }
}
.picks img { border-radius: .8rem; border: 1.5px solid var(--rule-light); background: #f3eef0; width: 100%; height: auto; }
.thumbs { display: flex; flex-wrap: wrap; gap: .6rem; }
.thumbs img { width: 6rem; height: 6rem; object-fit: cover; border-radius: .6rem; border: 1px solid var(--rule-light); }
.stack { display: grid; gap: 1rem; }
.row { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
.brief { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .8rem 1.4rem; font-size: .95rem; }
.brief div { display: grid; gap: .1rem; align-content: start; }
.brief .wide { grid-column: 1 / -1; }
.brief-refs { color: var(--ink); font-size: 1rem; margin: 1.2rem 0 .6rem; }
.brief dt { color: var(--ink-2); font-size: .85rem; }
.brief dd { margin: 0; color: var(--ink); white-space: pre-wrap; }
.thread { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; max-height: 28rem; overflow: auto; }
.thread li { padding: .6rem .85rem; border-radius: .8rem; background: var(--paper); font-size: .95rem; line-height: 1.55; }
.thread .buyer { background: #fff; border: 1px solid var(--rule-light); }
.thread .owner { background: var(--blush); }
.thread .system { background: transparent; color: var(--ink-2); padding-block: .2rem; font-size: .88rem; }
.thread small { display: block; color: var(--ink-2); font-size: .78rem; margin-bottom: .1rem; }
details summary { cursor: pointer; font-weight: 700; color: var(--rose-deep); }

/* ---------- admin (Operate: same tokens, no ornament) ---------- */
.admin { background: #f6eef2; color: var(--ink); color-scheme: light; }
.admin .topbar { background: var(--scene); }
.admin h1, .admin h2, .admin h3 { color: var(--ink); }
.admin a { color: var(--rose-deep); }
.admin .foot { display: none; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; border-radius: .9rem; overflow: hidden; border: 1px solid var(--rule-light); }
.tbl th, .tbl td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid #f0dde5; vertical-align: top; }
.tbl th { background: var(--paper); font-weight: 700; color: var(--ink-2); font-size: .85rem; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.num { font-variant-numeric: tabular-nums; }
.badge { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--blush); color: var(--ink); font-size: .82rem; font-weight: 700; }
.badge.muda { background: #e9e0f5; }
.adm-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.4rem; align-items: start; }
.admin .panel { box-shadow: none; }
.adm-nav { display: flex; gap: 1.2rem; margin-left: auto; align-items: center; }
.admin .adm-nav a { color: var(--mist); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.admin .adm-nav a:hover, .admin .adm-nav a[aria-current] { color: var(--veil); border-bottom-color: var(--rose); }

/* admin dashboard (admin_dashboard.html): one rose hue, thin bars, a tooltip on each bar, a table under each chart */
.dash { display: grid; gap: 2.6rem; }
.dash-h { font-size: 1.3rem; margin-bottom: .9rem; }
.dash-note { color: var(--ink-2); font-size: .88rem; margin-top: .5rem; }
.rentang { display: inline-flex; border: 1px solid var(--rule-light); border-radius: 999px; background: #fff; padding: .2rem; }
.admin .rentang a { padding: .3rem .9rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: .9rem; font-weight: 700; }
.admin .rentang a[aria-current] { background: var(--ink); color: var(--veil); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: .8rem; }
.tile { background: #fff; border: 1px solid var(--rule-light); border-radius: .9rem; padding: .9rem 1rem; }
.tile-l { display: block; font-size: .82rem; color: var(--ink-2); font-weight: 700; }
.tile-n { display: block; font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; margin-top: .2rem; overflow-wrap: anywhere; }
.tile-uang { font-size: 1.3rem; }
.tile-uang > span { display: block; white-space: nowrap; }
.card .tbl { border: 0; border-radius: .5rem; }
.card .tbl th, .card .tbl td { padding: .45rem .6rem; }
.dash-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1rem; align-items: start; }
.card { background: #fff; border: 1px solid var(--rule-light); border-radius: .9rem; padding: 1rem 1.1rem; min-width: 0; }
.card h3 { font-size: 1rem; margin-bottom: .8rem; }
.kolom { display: flex; align-items: flex-end; gap: 2px; height: 9rem; border-bottom: 1px solid var(--rule-light); }
.kolom-bar { position: relative; flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; outline: none; }
.kolom-bar::before { content: ""; width: 100%; height: max(var(--h), 1px); background: var(--rose); border-radius: 4px 4px 0 0; }
.kolom-bar:hover::before, .kolom-bar:focus-visible::before { background: var(--rose-deep); }
.kolom-bar::after { content: attr(data-tip); position: absolute; bottom: calc(var(--h) + .4rem); left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--veil); font-size: .78rem; padding: .25rem .5rem; border-radius: .4rem; white-space: nowrap;
  pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 2; }
.kolom-bar:hover::after, .kolom-bar:focus-visible::after { opacity: 1; }
.kolom-bar:first-child::after { left: 0; transform: none; }
.kolom-bar:last-child::after { left: auto; right: 0; transform: none; }
.kolom-ax { display: flex; justify-content: space-between; font-size: .78rem; color: var(--ink-2); margin-top: .35rem; font-variant-numeric: tabular-nums; }
.batang { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.batang li { display: grid; grid-template-columns: minmax(6rem, 38%) minmax(0, 1fr) auto; gap: .7rem; align-items: center; font-size: .92rem; }
.batang-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.batang-bar { height: .7rem; background: var(--paper); border-radius: 4px; overflow: hidden; }
.batang-bar i { display: block; height: 100%; width: var(--w); min-width: 2px; background: var(--rose); border-radius: 0 4px 4px 0; }
.batang-n { font-variant-numeric: tabular-nums; font-weight: 700; min-width: 2ch; text-align: right; }
.dash details { margin-top: .8rem; font-size: .9rem; }
.dash summary { cursor: pointer; color: var(--rose-deep); font-weight: 700; }
.dash details .tbl { margin-top: .6rem; }
.giliran { font-size: .78rem; color: var(--ink-2); }
@media (max-width: 34rem) {
  .admin .topbar { flex-wrap: wrap; row-gap: .5rem; }
  .adm-nav { margin-left: 0; order: 3; width: 100%; }
  .tile-n { font-size: 1.4rem; }
  .tile-uang { font-size: 1.1rem; }
}
.empty { color: var(--ink-2); padding: 1rem 0; }

/* error */
.oops { min-height: 70vh; display: grid; place-items: center; padding: 3rem var(--gutter); }
.oops .window { max-width: 40rem; width: 100%; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .cara-body { grid-template-columns: 1fr; }
  .routes { grid-template-columns: 1fr; max-width: 36rem; }
  .create { grid-template-columns: 1fr; }
  .guide { position: static; grid-template-columns: minmax(0, 1fr); }
  .guide-portrait { display: none; }
}
@media (max-width: 760px) {
  .pendamping { right: .6rem; left: .6rem; bottom: .6rem; width: auto; gap: .5rem; }
  .pd-face { width: 6.4rem; }
  .pd-window { min-height: 7.4rem; font-size: .95rem; line-height: 1.5; padding: 1.15rem .95rem .8rem; }
  .pendamping.typing { top: 1.2rem; bottom: auto; }
  .pendamping.typing .pd-face { display: none; }
  .coba { grid-template-columns: minmax(0, 1fr); }
  .coba .frame { top: .5rem; z-index: 2; height: 34svh; padding: 0; }
  .coba .frame .puppet { max-height: none; width: 100%; margin-top: -4%; }
  /* the Pro table (6 mouths) has to fit a 375px phone: smaller labels, the long eye names wrap, cells fill the column */
  .matrix { width: calc(100% + .4rem); margin: 0 -.2rem; border-spacing: .2rem; table-layout: fixed; }
  .matrix th { font-size: .72rem; }
  .matrix thead td { width: 3.7rem; }
  .matrix thead th { font-size: .64rem; padding-inline: 0; }
  /* the mouth names stay readable under the sticky face while the long Pro table scrolls */
  .matrix thead :is(th, td) { position: sticky; top: calc(34svh + .5rem); z-index: 1; background: var(--scene); box-shadow: 0 0 0 .2rem var(--scene); }
  .matrix tbody th { white-space: normal; line-height: 1.15; padding-right: .3rem; }
  .cell { width: 100%; max-width: 3rem; margin-inline: auto; }
  body { font-size: 1rem; }
  .chapters { display: none; }
  .topbar { gap: .8rem; justify-content: space-between; }
  .offer { max-width: none; text-align: center; padding-top: 4.4rem; }
  .offer h1 { font-size: clamp(1.55rem, 6.6vw, 2.1rem); }
  .offer-sub { margin-top: .5rem; font-size: .95rem; text-wrap: balance; }
  .moon { left: auto; right: -6%; top: 1%; width: 26%; translate: 0 0; }
  .offer-act { display: none; }
  .stage { top: auto; right: auto; left: 50%; translate: -50% 0; height: min(70svh, 40rem); bottom: 5rem; }
  .vn { left: .75rem; right: .75rem; bottom: .75rem; gap: .6rem; }
  .choices, .timer { width: 100%; }
  .choice { margin-left: calc(var(--i) * .6rem); width: calc(100% - 1.2rem); rotate: calc((var(--i) - 1) * 1.2deg); padding: .6rem .9rem .6rem .6rem; font-size: .98rem; }
  .window { min-height: 7.4rem; padding: 1.4rem 1.1rem 1.1rem; font-size: 1rem; }
  .album-panel { grid-template-columns: 1fr; }
  .gratis { order: 0; }
  .frame .puppet { max-height: 52vh; }
  .proof-row { grid-template-columns: 1fr; }
  .proof-arrow { rotate: 90deg; margin-inline: auto; }
  .proof-result { max-width: 20rem; margin-inline: auto; }
  .rules, .addons, .grid2, .tiers, .adm-grid { grid-template-columns: 1fr; }
  .picks { grid-template-columns: 1fr 1fr; }
  .facts div { grid-template-columns: 6.4rem 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .timer { display: none; }
}
/* order page: change rute while the DP is unpaid */
.ganti-rute { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--rule-light); }
.ganti-rute form { margin-top: .9rem; }
/* admin: the worker's job on the owner's PC */
.kerja { display: flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; }
.kerja-dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--rose-deep); flex: none; animation: kerja-nadi 1.4s ease-in-out infinite; }
@keyframes kerja-nadi { 50% { opacity: .25; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .kerja-dot { animation: none; } }
.kerja-info { margin-top: .8rem; white-space: pre-line; }
.kerja-log { max-height: 14rem; overflow: auto; margin: .6rem 0 1rem; padding: .8rem 1rem; border-radius: .8rem; background: var(--veil); color: var(--ink); font-size: .8rem; white-space: pre-wrap; word-break: break-word; }
.act .manual { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--rule-light); }
.act .manual > * + * { margin-top: .8rem; }
.act .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr)); gap: .8rem; }
.act .thumbs img { width: 100%; height: auto; object-fit: contain; background: #fff; }
/* order pages: "something changed" when an automatic reload would lose what the viewer is doing */
.segar { position: fixed; left: 50%; bottom: max(1rem, env(safe-area-inset-bottom)); translate: -50% 0; z-index: 50; display: flex; align-items: center; gap: .9rem; width: max-content; max-width: calc(100vw - 2rem); padding: .6rem .7rem .6rem 1.1rem; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: .95rem; }
/* admin thumbnails: the whole picture, and a pose says what it shows */
.thumbs a { display: grid; gap: .3rem; align-content: start; text-decoration: none; }
.thumbs img { object-fit: contain; background: #fff; }
.thumb-cap { color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1.3; max-width: 9rem; }

/* admin: mark what's wrong on each draft, so only those get drawn again */
.drafts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11rem), 1fr)); gap: 1rem; margin-top: .8rem; }
.draft { margin: 0; display: grid; gap: .4rem; align-content: start; }
.draft-img { position: relative; line-height: 0; touch-action: none; user-select: none; cursor: crosshair; border-radius: .6rem; overflow: hidden; border: 1.5px solid var(--rule-light); background: #fff; }
.draft.marked .draft-img { border-color: var(--req); box-shadow: 0 0 0 1px var(--req); }
.draft-img img { display: block; width: 100%; height: auto; pointer-events: none; }
.mark { position: absolute; border: 2px solid #ff3b3b; border-radius: 3px; background: rgba(255, 59, 59, .14); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5); pointer-events: none; }
.mark-x { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: #ff3b3b; color: #fff; font: 700 12px/1 var(--font); cursor: pointer; pointer-events: auto; }
.mark-x:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
@media (pointer: coarse) { .mark-x { width: 28px; height: 28px; } }
.draft figcaption { display: flex; flex-wrap: wrap; gap: .2rem .7rem; align-items: baseline; font-size: .85rem; color: var(--ink); }
.draft figcaption span { font-weight: 700; }
.draft-zoom { padding: 0; border: 0; background: none; color: var(--rose); font: inherit; text-decoration: underline; cursor: pointer; }
.draft-clear { padding: 0; border: 0; background: none; color: var(--req); font: inherit; text-decoration: underline; cursor: pointer; }
.draft-note { width: 100%; font-size: .9rem; }
.tanda-list { margin: .3rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: .9rem; }

/* admin: the eye/mouth box check under the pose drafts */
.kotak-cek { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--rule-light); }
.kotak-cek h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: .4rem; }

/* admin: the worker's job progress */
.progres { margin: .6rem 0 .2rem; display: grid; gap: .4rem; }
.progres-bar { height: .7rem; border-radius: 99px; background: var(--mist); overflow: hidden; }
.progres-bar span { display: block; height: 100%; border-radius: inherit; background: var(--rose); transition: width .6s var(--ease-out); }
.progres-info { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; font-size: .9rem; color: var(--ink-2); }
.progres-info b { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .progres-bar span { transition: none; } }

/* draft gallery (owner 2026-11-24): the draft big over a dark backdrop, < > through the drafts */
.lb { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 3.2rem 4.8rem 1rem; border: 0; background: transparent; color: #fff; }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(12, 6, 16, .9); }
body:has(.lb[open]) { overflow: hidden; }
.lb-body { display: grid; justify-items: center; }
.lb .draft { gap: .6rem; }
.lb .draft-img { width: fit-content; margin-inline: auto; border-color: rgba(255, 255, 255, .25); }
.lb .draft-img img { width: auto; max-width: calc(100vw - 10rem); max-height: calc(100dvh - 10.5rem); }
.lb .draft figcaption { color: #fff; justify-content: center; }
.lb .draft figcaption a { color: #ffc2d6; }
.lb .draft-zoom { display: none; }
.lb-count { position: fixed; top: 1rem; left: 50%; transform: translateX(-50%); margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.lb-x, .lb-nav { position: fixed; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font: 400 2rem/1 var(--font); cursor: pointer; }
.lb-x { top: .6rem; right: .8rem; width: 2.75rem; height: 2.75rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 3.25rem; height: 3.25rem; }
.lb-prev { left: .8rem; }
.lb-next { right: .8rem; }
.lb-x:hover, .lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-x:focus-visible, .lb-nav:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
[data-gal] img { cursor: zoom-in; }
.lb-nav[hidden] { display: none; }
[data-gal] img:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.lb-fig { margin: 0; display: grid; gap: .7rem; justify-items: center; color: #fff; text-align: center; }
.lb-fig .hint { color: #fff; }
.lb-fig img { width: auto; height: auto; max-width: calc(100vw - 10rem); max-height: calc(100dvh - 10.5rem); border-radius: .6rem; background: #fff; cursor: default; }
@media (max-width: 640px) {
  .lb-fig img { max-width: calc(100vw - 1.2rem); max-height: calc(100dvh - 12rem); }
  .lb { padding: 3.4rem .6rem 5.2rem; }
  .lb .draft-img img { max-width: calc(100vw - 1.2rem); max-height: calc(100dvh - 14rem); }
  .lb-nav { top: auto; bottom: .9rem; transform: none; }
}

/* drafts drawn again from last round's marks (owner 2026-11-24) */
.rev-tag { display: inline-block; padding: .15rem .55rem; border-radius: 99px; background: #6b3fa0; color: #fff; font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.draft-img .rev-tag { position: absolute; top: .45rem; left: .45rem; pointer-events: none; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.draft.rev .draft-img { border-color: #6b3fa0; box-shadow: 0 0 0 1px #6b3fa0; }
.draft.rev.marked .draft-img { border-color: var(--req); box-shadow: 0 0 0 1px var(--req); }
.rev-note { margin: 0; font-size: .82rem; color: #6b3fa0; }
.lb .rev-note { color: #d9c2ff; text-align: center; }
.rev-sum { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

/* ---------- ID / EN switch (2026-11-25): a two-way pill in the top bar, the current language filled ---------- */
.lang { display: inline-flex; flex: none; padding: 2px; border: 1px solid var(--rule-dark); border-radius: 999px; }
.lang a { min-width: 2.5rem; padding: .3rem .65rem; border-radius: 999px; color: var(--mist); text-decoration: none;
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-align: center; transition: color .2s var(--ease-out), background-color .2s var(--ease-out); }
.lang a:hover { color: var(--veil); background: rgba(246, 211, 222, .1); }
.lang a[aria-current] { background: var(--blush); color: var(--ink); }
.lang a:focus-visible { outline: 2px solid var(--rose); outline-offset: 2px; }
@media (max-width: 760px) { .lang { margin-left: auto; } }
@media (pointer: coarse) { .lang a { padding: .55rem .7rem; } }
/* the English page's way back to rupiah, under the route cards */
.rute-cur { margin: 1.6rem 0 0; text-align: center; color: var(--mist); font-size: .95rem; }
.rute-cur a { color: var(--blush); text-underline-offset: .2em; }
.rute-cur a:hover { color: var(--veil); }
/* PayPal (US dollar orders): the pay button sits where the bank details would */
.pay .btn { justify-self: start; }
.snap-embed { margin: 1rem 0; min-height: 36rem; border-radius: .9rem; overflow: hidden; background: #fff; scroll-margin-top: 1rem; }
.snap-embed iframe { width: 100% !important; min-width: 0 !important; } /* snap.js sets min-width: 320px inline */
/* phones: edge to edge of the screen (out through the panel's padding and border and the page gutter), since Midtrans'
   form needs ~320px and a 360px phone leaves the panel less */
@media (max-width: 30rem) { .snap-embed { margin-inline: calc(-1 * (clamp(1.3rem, 2.6vw, 2rem) + 1px + var(--gutter))); border-radius: 0; } }
.pay[hidden], .snap-embed[hidden] { display: none; }
.pay .hint b { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* add-ons, on the order page and in the order form (owner 2026-11-25: billed with the final payment; 2026-12-02: they
   can be taken back, and picked before ordering). One row per kind: what it is, its control, what it adds. */
.tambah-intro { margin: -.3rem 0 .4rem; max-width: 62ch; }
.addon {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(6.5rem, auto); align-items: center; gap: .5rem 1.2rem;
  padding: 1rem 0; border-bottom: 1px solid var(--rule-light);
}
.addon-name { display: grid; gap: .2rem; }
.addon-name b { color: var(--ink); font-size: 1.05rem; }
.addon-name small { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.addon-sum { justify-self: end; color: var(--ink); font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.addon-eks { grid-template-columns: minmax(0, 1fr) minmax(6.5rem, auto); }
.addon-eks .addon-sum { align-self: start; padding-top: .1rem; } /* level with its title, above the chips */
.addon-form { grid-template-columns: minmax(0, 1fr) auto; margin-top: 1.1rem; padding-bottom: 0; border-top: 1px dashed var(--rule-light); border-bottom: 0; }

/* the stepper: a white pill holding minus, the count, plus */
.stepper { display: inline-flex; align-items: center; gap: .15rem; padding: .2rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--rule-light); }
.stepper form { display: contents; }
.step {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--rose-deep); cursor: pointer; transition: background-color .15s, color .15s, transform .2s var(--bloom);
}
.step .ic { width: 1.15rem; height: 1.15rem; }
.step:hover:not(:disabled) { background: var(--blush); color: var(--rose-press); }
.step:active:not(:disabled) { transform: scale(.92); }
.step:focus-visible { outline: 2.5px solid var(--rose-deep); outline-offset: 2px; }
.step:disabled { color: #c9b4c0; background: transparent; cursor: default; }
.step-n {
  min-width: 2.4ch; text-align: center; color: var(--ink); font-weight: 900; font-size: 1.15rem; font-variant-numeric: tabular-nums;
}
input.step-n {
  width: 3ch; padding: 0; border: 0; background: transparent; font: 900 1.15rem/1 var(--font); color: var(--ink); appearance: textfield; -moz-appearance: textfield;
}
input.step-n::-webkit-inner-spin-button, input.step-n::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input.step-n:focus { box-shadow: none; border-radius: .4rem; outline: 2px solid var(--rose-deep); outline-offset: 2px; }
.addon > .step-n { justify-self: center; }

/* expression chips, grouped by eyes and mouth: outline = can add (+), Blush = in the pack (tick; on the order page a
   tap takes it back, the x says so) */
.eks-sets { grid-column: 1 / -1; display: grid; gap: .7rem; }
.eks-set { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); align-items: start; gap: .6rem; }
.eks-set[hidden], .addon-total[hidden] { display: none; }
.eks-h { padding-top: .5rem; color: var(--ink-2); font-size: .85rem; font-weight: 700; letter-spacing: .04em; }
.eks-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.eks-chips li[hidden] { display: none; }
.eks-chips form { display: contents; }
.eks-chip {
  position: relative; display: inline-flex; align-items: center; gap: .35rem; min-height: 2.5rem; padding: .4rem .9rem .4rem .7rem;
  border-radius: 999px; border: 1.5px solid var(--rule-light); background: #fff; color: var(--ink); font: 700 .95rem/1.2 var(--font);
  cursor: pointer; transition: border-color .15s, background-color .15s, transform .3s var(--bloom);
}
.eks-chip .ic { width: .95rem; height: .95rem; color: var(--rose-deep); flex: none; }
.eks-chip:hover { border-color: #d8a9bc; }
.eks-chip:active { transform: scale(.96); }
.eks-chip:focus-visible, .eks-chip:has(input:focus-visible) { outline: 2.5px solid var(--rose-deep); outline-offset: 2px; }
.eks-chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.eks-chip.is-on, .eks-chip:has(input:checked) { background: var(--blush); border-color: var(--rose-deep); box-shadow: inset 0 0 0 1px var(--rose-deep); }
.eks-chip .eks-tick, .eks-chip:has(input:checked) .eks-plus { display: none; }
.eks-chip:has(input:checked) .eks-tick { display: block; }
.eks-chip .eks-x { margin-left: .15rem; color: var(--ink-2); }
.eks-chip.is-on:hover .eks-x { color: var(--rose-press); }
.eks-chip.is-locked { cursor: default; }

.addon-tag {
  display: inline-block; margin-left: .35rem; padding: .1rem .55rem; border-radius: 999px; background: var(--blush);
  color: var(--rose-deep); font-size: .75rem; font-weight: 700; letter-spacing: .04em; vertical-align: .1em;
}
.addon-tag[hidden] { display: none; }
.addon-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 1rem 0 0; padding: .85rem 1.1rem;
  border-radius: .9rem; background: var(--paper); color: var(--ink-2); font-weight: 700;
}
.addon-total b { color: var(--ink); font-weight: 900; font-size: 1.1rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
[data-pesan] .addon-total { margin-top: 1.8rem; }
@media (max-width: 30rem) {  /* a phone: name on top, control and sum share the line under it */
  .addon { grid-template-columns: auto minmax(0, 1fr); }
  .addon-name { grid-column: 1 / -1; }
  .addon-eks { grid-template-columns: minmax(0, 1fr) auto; }
  .addon-eks .addon-name { grid-column: 1; }
  .addon-form { grid-template-columns: minmax(0, 1fr); }
  .eks-set { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .eks-h { padding-top: 0; }
}

/* Discord login (owner 2026-11-25): the button in Discord's own colour, the linked note quiet */
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 8px 18px -8px rgba(10, 4, 14, .7); }
.btn-discord:hover { background: #4752c4; }
.dc-sambung { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0 0 1.2rem; padding: .9rem 1.1rem;
  border: 1px dashed color-mix(in srgb, #5865f2 55%, transparent); border-radius: 14px; }
.dc-sambung p { flex: 1 1 16rem; margin: 0; }
.dc-on { display: flex; gap: .5rem; align-items: flex-start; margin: 0 0 1.2rem; }
.dc-on .ic { color: #5865f2; flex: none; margin-top: .2rem; }
.akun-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.akun-list a { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; padding: .8rem 1rem; border-radius: 12px;
  border: 1px solid var(--rule-dark); color: inherit; text-decoration: none; }
.akun-list a:hover { border-color: var(--rose); }
.akun-tgl { margin-left: auto; opacity: .7; font-size: .9rem; }
.akun-aksi { gap: .8rem; flex-wrap: wrap; }
.akun-aksi form { margin: 0; }
.akun-panel * + .akun-aksi { margin-top: 1.6rem; } /* the buttons stand apart from the list or its empty line */
