/* HookLab Malaysia — app
   Same system as landing/styles.css: neo-brutalist (Slab), flat colour, square corners.
   - 3px solid navy borders, hard navy shadows with no blur
   - buttons press into their own shadow on click
   - no gradients, no rounded corners, no emoji icons

   Brand
   --ink    #01124E  Ink Navy        text, borders, shadows, WTF tier
   --cyan   #00DBF9  Electric Cyan   primary buttons, active state, Normal tier
   --paper  #FFFFFF  Pure White
   --yellow #FFD93D  support flat, Killer tier only
*/

:root {
  --ink: #01124E;
  --cyan: #00DBF9;
  --yellow: #FFD93D;
  --coral: #FF6B5B;
  --paper: #FFFFFF;
  --mist: #F2F6FC;
  --body: #2A3C5E;
  --muted: #5A6F92;
  --on-ink: #C6D4EC;
  --cyan-tint: #E0FAFE;
  --yellow-tint: #FFF8DB;
  --coral-tint: #FFE4E0;
  --border: 3px solid var(--ink);
  --border-thin: 2px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  font-family: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-tap-highlight-color: transparent;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; background: var(--mist); }
button { font: inherit; color: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
/* Cyan text on white is 1.7:1. Cyan becomes the block, navy stays the text. */
.accent { background: var(--cyan); padding: 0 6px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* Shared press: border + hard shadow, pressed into the shadow on click. */
.btn-primary, .btn-ghost, .btn-danger, .mini-btn, .credit-pill, .lang-chip, .history-item, .icon-btn {
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .08s, box-shadow .08s;
}
:is(.btn-primary, .btn-ghost, .btn-danger, .mini-btn, .credit-pill, .lang-chip, .history-item, .icon-btn):active:not(:disabled) {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--ink);
}

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: var(--paper);
  border-bottom: var(--border);
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand-word { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.brand-word span { background: var(--cyan); padding: 0 4px; margin-left: 1px; }
.brand-my { font-size: 11px; font-weight: 900; letter-spacing: .08em; color: var(--paper); background: var(--ink); padding: 2px 6px; vertical-align: 3px; margin-left: 4px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.credit-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--paper); padding: 6px 12px; font-size: 14px; font-weight: 900;
}
.credit-pill svg { flex: none; }
.credit-pill.empty { background: var(--coral-tint); }
.mode-badge { font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border: var(--border-thin); background: var(--paper); color: var(--muted); }
.mode-badge.ai { background: var(--ink); color: var(--cyan); }

main { max-width: 780px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 24px) 80px; }
.view { animation: fade .2s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view, .hook-item { animation: none !important; } }

/* 5 langkah */
.stepper { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0 0 8px; padding: 0; }
.stepper li { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; padding: 7px 8px; border: var(--border); background: var(--paper); color: var(--muted); white-space: nowrap; overflow: hidden; }
.stepper li span { display: inline-grid; place-items: center; width: 20px; height: 20px; flex: none; border: var(--border-thin); font-size: 11px; color: var(--ink); background: var(--paper); }
.stepper li.done { color: var(--ink); }
.stepper li.done span { background: var(--ink); color: var(--paper); }
.stepper li.active { background: var(--cyan); color: var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 560px) {
  .stepper { gap: 5px; }
  .stepper li { justify-content: center; padding: 6px 2px; font-size: 0; }
  .stepper li span { font-size: 11px; }
}

/* Input */
h1 { font-size: clamp(34px, 6.4vw, 56px); line-height: 1.02; font-weight: 900; margin: 28px 0 14px; letter-spacing: -0.03em; }
.sub { color: var(--body); font-size: 17px; line-height: 1.55; margin: 0 0 24px; max-width: 34em; }
.gen-form { background: var(--paper); border: var(--border); box-shadow: var(--shadow); padding: 16px; }
textarea {
  width: 100%; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink);
  font: inherit; font-size: 18px; font-weight: 600; line-height: 1.5; min-height: 84px;
}
textarea::placeholder { color: var(--muted); font-weight: 400; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }

/* Pemilih (bahasa, platform, CTA, durasi) */
.lang-picker { border: 0; margin: 0 0 12px; padding: 0 0 14px; border-bottom: var(--border-thin); }
.lang-picker legend { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 0; margin-bottom: 10px; }
.lang-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lang-chip {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  background: var(--paper); padding: 9px 10px;
  border-width: 2px; box-shadow: 3px 3px 0 var(--ink);
}
.lang-chip:hover { background: var(--cyan-tint); }
.lang-chip.active { background: var(--cyan); border-width: 3px; }
.lang-name { font-weight: 900; font-size: 14px; }
.lang-desc { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.lang-chip.active .lang-desc { color: var(--ink); }
@media (max-width: 560px) { .lang-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Tombol */
.btn-primary {
  background: var(--cyan); color: var(--ink);
  padding: 12px 20px; font-weight: 900; font-size: 15px;
}
.btn-primary:disabled { background: var(--mist); color: var(--muted); border-color: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: var(--paper); padding: 11px 16px; font-weight: 900; }
.btn-ghost:hover { background: var(--cyan-tint); }
.btn-sm { padding: 6px 12px; font-size: 14px; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--ink); font-weight: 900; font-size: 14px; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.link-btn:hover:not(:disabled) { text-decoration-color: var(--ink); }
.link-btn:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.link-btn.danger { color: var(--ink); text-decoration-color: var(--coral); }
.btn-danger { background: var(--coral); color: var(--ink); padding: 13px 18px; font-weight: 900; }
.btn-danger:disabled { opacity: .45; cursor: not-allowed; }
.icon-btn { background: var(--paper); width: 34px; height: 34px; font-weight: 900; box-shadow: 3px 3px 0 var(--ink); }

.tips-strip { margin-top: 18px; font-size: 14px; line-height: 1.5; padding: 12px 14px; background: var(--yellow-tint); border: var(--border); }

/* Sejarah */
.history { margin-top: 36px; }
.history h2, .entry-scripts h3 { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; }
.history-list { display: grid; gap: 12px; }
.history-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left;
  background: var(--paper); padding: 12px 14px;
}
.history-item:hover { background: var(--cyan-tint); }
.history-item .h-topic { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-item .h-meta { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* Loading: kotak bersegi yang berputar, tanpa bulatan */
.loading { display: flex; flex-direction: column; align-items: center; padding-top: 16vh; gap: 32px; }
.spinner { width: 46px; height: 46px; border: var(--border); background: var(--cyan); box-shadow: var(--shadow-sm); animation: spin 1.1s steps(4) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.loading-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; text-align: center; font-weight: 900; font-size: 17px; }
.loading-steps li { opacity: .2; transition: opacity .3s, transform .3s; transform: translateY(4px); }
.loading-steps li.on { opacity: 1; transform: none; }

/* Hasil */
.result-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 20px 0 18px; }
.result-head h2 { margin: 2px 0; font-size: 30px; font-weight: 900; letter-spacing: -0.02em; text-transform: capitalize; }
.result-head p { margin: 0; }
.result-actions { display: flex; gap: 10px; }
.step-hint { margin: 0 0 12px; font-size: 15px; color: var(--body); }
.step-hint strong { color: var(--ink); background: var(--yellow); padding: 0 4px; }

.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.tab { border: var(--border); background: var(--paper); padding: 10px 8px; font-weight: 900; font-size: 16px; color: var(--ink); }
.tab:hover { background: var(--mist); }
.tab.active { box-shadow: var(--shadow-sm); }
.tab.active[data-level="normal"], .tab.active[data-level="selamat"], .tab.active[data-level="gain"] { background: var(--cyan); }
.tab.active[data-level="killer"], .tab.active[data-level="pedas"], .tab.active[data-level="pain"] { background: var(--yellow); }
.tab.active[data-level="wtf"], .tab.active[data-level="curiosity"] { background: var(--ink); color: var(--paper); }
.tab-sub { font-weight: 600; font-size: 12px; opacity: .75; }
.count { font-size: 12px; font-weight: 900; border: var(--border-thin); border-color: currentColor; padding: 0 6px; margin-left: 4px; }
@media (max-width: 560px) {
  .tabs[style*="repeat(3"] .tab-sub { display: none; }
  .tabs[style*="repeat(3"] .tab { padding: 10px 4px; font-size: 15px; white-space: nowrap; }
}

.hook-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hook-item {
  background: var(--paper); border: var(--border); box-shadow: var(--shadow-sm); padding: 14px 16px;
  display: grid; grid-template-columns: 30px 1fr; gap: 4px 12px;
  animation: fade .25s ease-out both;
}
.hook-rank { display: grid; place-items: center; width: 28px; height: 28px; border: var(--border-thin); font-weight: 900; font-size: 14px; }
.hook-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.pattern { font-size: 11.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; border: var(--border-thin); padding: 2px 7px; }
.hook-text { font-size: 18px; font-weight: 900; line-height: 1.35; margin: 0; letter-spacing: -0.01em; }
.hook-logic { font-size: 13.5px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.hook-logic s { text-decoration-color: var(--coral); text-decoration-thickness: 3px; }
.hook-why { font-size: 13.5px; color: var(--body); line-height: 1.5; margin: 8px 0 0; }
.hook-tip { font-size: 13.5px; color: var(--body); line-height: 1.5; margin: 8px 0 0; padding: 6px 10px; border-left: 4px solid var(--cyan); background: var(--mist); }
.hook-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mini-btn { font-size: 13px; font-weight: 900; background: var(--paper); border-width: 2px; box-shadow: 3px 3px 0 var(--ink); padding: 6px 11px; }
.mini-btn:hover { background: var(--mist); }
.mini-btn.done { background: var(--ink); color: var(--paper); }
.mini-btn.pick-btn { background: var(--cyan); }
.mini-btn.pick-btn:hover { background: var(--cyan); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Hook berkunci (tetamu): teks dari server sudah rawak, kabur hanya untuk rupa */
.hook-item.locked { cursor: pointer; background: var(--mist); }
.hook-item.locked .hook-text { filter: blur(6px); user-select: none; opacity: .7; }
.hook-item.locked:hover { background: var(--cyan-tint); }
.lock-note { margin: 8px 0 0; font-size: 13px; font-weight: 900; }

.unlock-card {
  position: sticky; bottom: 16px; z-index: 5; margin-top: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  background: var(--yellow); border: var(--border); box-shadow: var(--shadow); padding: 14px 16px;
}
.unlock-card strong { font-size: 17px; font-weight: 900; }
.unlock-card p { margin: 2px 0 0; color: var(--ink); }
@media (max-width: 560px) { .unlock-card .btn-primary { width: 100%; } }

.entry-scripts { margin-top: 28px; }

/* Langkah 3-4: pembina skrip */
.back-link { margin: 18px 0 12px; }
.picked-hook { background: var(--paper); border: var(--border); box-shadow: 6px 6px 0 var(--cyan); padding: 14px 16px; margin-bottom: 20px; }
.tier { font-size: 11.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border: var(--border-thin); }
.tier-normal, .tier-selamat, .tier-gain { background: var(--cyan); }
.tier-killer, .tier-pedas, .tier-pain { background: var(--yellow); }
.tier-wtf, .tier-curiosity { background: var(--ink); color: var(--paper); }
.builder .lang-picker:last-of-type { border-bottom: 0; }
.platform-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.durasi-options { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 300px; }
.cta-groups { display: grid; gap: 14px; }
.cta-group-label { margin: 0 0 8px; font-size: 13px; font-weight: 900; }
.cta-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .platform-options, .cta-options { grid-template-columns: 1fr 1fr; } }
.produk-box { display: grid; gap: 8px; padding: 4px 0 14px; border-bottom: var(--border-thin); margin-bottom: 4px; }
.produk-box > label:first-child { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.produk-box textarea { min-height: 0; background: var(--paper); border: var(--border); padding: 10px; font-size: 16px; }
.produk-box textarea:focus { box-shadow: 4px 4px 0 var(--cyan); }
.produk-box p { margin: 0; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }

/* Langkah 5: skrip */
.warn { background: var(--coral-tint); color: var(--ink); border: var(--border); padding: 10px 12px; font-size: 14px; font-weight: 600; margin: 0 0 14px; }
#skripWarn p { margin: 0; }
#skripWarn p + p { margin-top: 6px; }
.isi-box { background: var(--yellow-tint); border: var(--border); padding: 12px 14px; margin-bottom: 14px; font-size: 14px; }
.isi-box ul { margin: 6px 0 0; padding-left: 18px; }
.skrip-parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.sk-part { background: var(--paper); border: var(--border); box-shadow: var(--shadow-sm); padding: 14px 16px; }
.sk-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.sk-babak { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; background: var(--ink); color: var(--cyan); padding: 3px 8px; }
.sk-cakap { font-size: 17px; font-weight: 900; line-height: 1.4; margin: 0; }
.sk-teks { margin: 6px 0 0; line-height: 1.55; color: var(--body); }
.threads-teks { white-space: pre-line; font-size: 16px; margin: 0; color: var(--ink); }
.sk-field { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.sk-label { display: inline-block; min-width: 56px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 6px; }
.over { color: var(--ink); background: var(--coral-tint); font-weight: 900; padding: 0 4px; }
.caption-box { margin-top: 16px; background: var(--paper); border: var(--border); box-shadow: var(--shadow-sm); padding: 14px 16px; font-size: 14px; }
.caption-box p { margin: 0 0 8px; }
.caption-box p:last-child { margin-bottom: 0; }
.caption-text { white-space: pre-line; }
.hashtags { font-weight: 900; }
.skrip-foot { margin-top: 20px; }

/* Modal */
.modal { border: var(--border); box-shadow: 8px 8px 0 var(--ink); background: var(--paper); color: var(--ink); padding: 22px; width: min(460px, calc(100vw - 32px)); max-height: 88dvh; }
.modal::backdrop { background: rgba(1, 18, 78, 0.55); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.modal-head h3 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.modal-head p { margin: 4px 0 0; }
.ok-note { background: var(--cyan-tint); color: var(--ink); border: var(--border); padding: 10px 12px; font-size: 14px; font-weight: 600; margin: 0 0 14px; }

/* Pakej */
.package-list { display: grid; gap: 16px; margin-bottom: 14px; }
.package { position: relative; border: var(--border); box-shadow: var(--shadow-sm); padding: 14px; background: var(--paper); }
.package.best { background: var(--cyan); box-shadow: var(--shadow); }
.package .ribbon { position: absolute; top: -13px; right: 14px; background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 900; padding: 3px 10px; letter-spacing: .08em; }
.package-top { display: flex; justify-content: space-between; gap: 10px; }
.package h4 { margin: 0; font-size: 17px; font-weight: 900; }
.package ul { margin: 6px 0 0; padding-left: 18px; color: var(--body); font-size: 13px; line-height: 1.5; }
.package.best ul { color: var(--ink); }
.price { text-align: right; white-space: nowrap; }
.price b { font-size: 22px; font-weight: 900; display: block; }
.price .per { color: var(--muted); font-size: 12px; font-weight: 700; }
.package.best .per { color: var(--ink); }
.package .btn-primary { width: 100%; margin-top: 12px; padding: 10px; }
.package:not(.best) .btn-primary { background: var(--paper); }
.package.best .btn-primary { background: var(--ink); color: var(--paper); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); font-weight: 900; font-size: 14px;
  padding: 11px 16px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--cyan); z-index: 50;
  max-width: calc(100vw - 32px);
}
.toast.error { background: var(--coral); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }

@media (max-width: 560px) {
  .result-actions { width: 100%; }
  .result-actions button { flex: 1; }
  .hook-text { font-size: 16.5px; }
  .brand-word { font-size: 19px; }
  .brand img { width: 28px; height: 28px; }
}

/* Akaun & cubaan percuma */
.free-pill { font-size: 13px; font-weight: 900; background: var(--yellow); border: var(--border-thin); padding: 5px 10px; }
@media (max-width: 560px) { .free-pill { display: none; } }

/* Modal log masuk */
.auth-form { display: grid; gap: 12px; }
.auth-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.auth-form input {
  width: 100%; background: var(--paper); border: var(--border); padding: 12px 14px;
  color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; outline: 0; text-transform: none; letter-spacing: 0;
}
.auth-form input:focus { box-shadow: 4px 4px 0 var(--cyan); }
.auth-form .center { margin: 0; }
.auth-error { margin: 12px 0 0; }
.google-box { display: grid; gap: 14px; margin-bottom: 14px; }
.google-btn { display: flex; justify-content: center; min-height: 44px; }
.or-line { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 2px; background: var(--ink); }
.in-app-note { background: var(--mist); border: var(--border-thin); padding: 10px 12px; font-size: 13.5px; line-height: 1.45; margin: 0 0 14px; }
.code-sent { margin: 0; font-size: 14px; color: var(--body); line-height: 1.45; }
.code-sent strong { color: var(--ink); word-break: break-all; }
.auth-form .code-input { font-size: 26px; font-weight: 900; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; padding: 10px; }
.code-actions { display: flex; justify-content: space-between; gap: 12px; }

/* Halaman akaun */
.acc-info { margin: 0 0 16px; display: grid; gap: 10px; }
.acc-info div { display: grid; gap: 2px; background: var(--mist); border: var(--border-thin); padding: 10px 12px; }
.acc-info dt { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.acc-info dd { margin: 0; font-weight: 700; word-break: break-all; }
.acc-actions { display: grid; gap: 12px; }
.acc-danger-row { display: flex; justify-content: center; margin-top: 16px; }
.danger-box { margin: 0; line-height: 1.5; }
.danger-box ul { margin: 6px 0; padding-left: 20px; }

/* Mobile: top bar and list items must fit 375px */
.history-item { min-width: 0; }
.history-item .h-topic { min-width: 0; max-width: 100%; flex: 1 1 auto; }
.history-item .h-meta { flex: none; }
@media (max-width: 560px) {
  .topbar { padding: 10px 14px; }
  .topbar-right { gap: 8px; }
  .mode-badge, .brand-my { display: none; }
  .credit-pill { padding: 5px 8px; font-size: 13px; }
  .topbar .btn-sm { padding: 5px 9px; font-size: 13px; }
  .history-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .history-item .h-topic { width: 100%; }
  .history-item .h-meta { white-space: normal; }
}

/* Timer promo dalam dialog pakej */
.offer-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ink); color: var(--paper); border: var(--border); padding: 10px 14px; margin: 0 0 14px; font-size: 14px; font-weight: 700; }
.offer-clock { font-size: 22px; font-weight: 900; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--cyan); }
.offer-banner.expired { background: #B42318; }
.price .was { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }

/* Notifikasi pembelian */
.proof-toast { position: fixed; left: 16px; bottom: 16px; z-index: 40; max-width: min(320px, calc(100vw - 32px)); display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: var(--border); box-shadow: var(--shadow-sm); padding: 10px 14px; font-size: 14px; line-height: 1.35; animation: proof-in .3s ease-out; }
.proof-toast[hidden] { display: none; }
.proof-toast.out { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.proof-toast small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.proof-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; background: var(--cyan); border: 2px solid var(--ink); border-radius: 50%; }
@keyframes proof-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .proof-toast { animation: none; } }
