:root {
  --gold: #f0c14a;
  --gold-press: #c4920c;
  --on-gold: #1a1406;
}
html.dark {
  --page: 7 9 13;
  --surface: 18 22 31;
  --surface2: 26 32 48;
  --fg: 245 247 250;
  --muted: 107 117 137;
  --line: 255 255 255;
  --gold: #f0c14a;
  --mesh-a: rgba(240, 193, 74, 0.12);
  --mesh-b: rgba(91, 163, 245, 0.08);
}
html.light {
  --page: 244 246 250;
  --surface: 255 255 255;
  --surface2: 232 236 244;
  --fg: 17 24 39;
  --muted: 71 85 105;
  --line: 15 23 42;
  --gold: #c4920c;
  --mesh-a: rgba(196, 146, 12, 0.10);
  --mesh-b: rgba(37, 99, 235, 0.06);
}
html { scroll-behavior: smooth; }
body {
  background: rgb(var(--page));
  color: rgb(var(--fg));
}
.brand-mark {
  display: block;
  flex-shrink: 0;
  aspect-ratio: 1;
  border-radius: 999px;
  object-fit: cover;
}
.mesh {
  background:
    rgb(var(--page))
    radial-gradient(ellipse 80% 50% at 50% -20%, var(--mesh-a), transparent),
    radial-gradient(ellipse 50% 40% at 100% 0%, var(--mesh-b), transparent);
}
.card-glow {
  box-shadow: 0 1px 0 0 rgb(var(--line) / 0.06) inset, 0 18px 50px -28px rgb(15 23 42 / 0.45);
}
html.light .card-glow {
  box-shadow: 0 1px 0 0 rgb(15 23 42 / 0.04) inset, 0 10px 30px -18px rgb(15 23 42 / 0.18);
}
.gold-ring { box-shadow: 0 0 0 2px var(--gold); }
.pay-choice { transition: box-shadow .15s ease, border-color .15s ease; }
.pay-choice.gold-ring,
.pay-card.gold-ring { border-color: var(--gold); }
input[type="number"]::-webkit-inner-spin-button { opacity: .4; }
.skeleton {
  background: linear-gradient(90deg, rgb(var(--surface2)) 25%, rgb(var(--surface)) 50%, rgb(var(--surface2)) 75%);
  background-size: 200% 100%;
  animation: sk 1.2s infinite;
}
@keyframes sk { to { background-position: -200% 0; } }
.countdown { font-variant-numeric: tabular-nums; }
.jersey {
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), transparent),
    linear-gradient(135deg, #1e3a5f, #0f172a);
  color: #f5f7fa;
}
.hidden-step { display: none; }
.hidden-step.active { display: block; }

.btn-gold {
  background: var(--gold);
  color: var(--on-gold);
}
.btn-gold:hover { filter: brightness(1.05); }
.btn-gold:disabled,
.btn-gold.is-busy {
  filter: none;
  opacity: 0.92;
  cursor: wait;
}
form.is-busy {
  position: relative;
  cursor: wait;
}
form.is-busy > * {
  pointer-events: none;
}
form.is-busy::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 40;
  pointer-events: auto;
  cursor: wait;
  background: rgb(var(--fg) / 0.06);
  border-radius: inherit;
}
.field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgb(var(--line) / 0.14);
  background: rgb(var(--page));
  color: rgb(var(--fg));
  padding: 0.6rem 0.85rem;
}
.field:focus { outline: none; border-color: var(--gold); }
.field.is-invalid { border-color: #e11d48; }
.field-msg { display: none; margin-top: 0.35rem; font-size: 0.8rem; color: #e11d48; }
.field-msg.show { display: block; }
html.light .field-msg { color: #be123c; }

.badge { display: inline-flex; align-items: center; gap: 0.25rem; border-radius: 999px; padding: 0.2rem 0.7rem; font-size: 0.75rem; font-weight: 600; }
.badge-pending { background: rgb(245 158 11 / 0.16); color: #b45309; }
html.dark .badge-pending { color: #fcd34d; }
.badge-ok { background: rgb(16 185 129 / 0.16); color: #047857; }
html.dark .badge-ok { color: #6ee7b7; }
.badge-bad { background: rgb(244 63 94 / 0.14); color: #be123c; }
html.dark .badge-bad { color: #fda4af; }
.badge-info { background: rgb(14 165 233 / 0.16); color: #0369a1; }
html.dark .badge-info { color: #7dd3fc; }
.badge-warn { background: rgb(139 92 246 / 0.16); color: #6d28d9; }
html.dark .badge-warn { color: #ddd6fe; }
.badge-muted { background: rgb(var(--line) / 0.08); color: rgb(var(--muted)); }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgb(var(--muted));
  font-weight: 550;
}
.nav-link:hover, .nav-link.is-active { color: rgb(var(--fg)); }
.nav-link.is-active { color: var(--gold); }

.site-header { background: rgb(var(--page) / 0.86); backdrop-filter: blur(16px); border-bottom: 1px solid rgb(var(--line) / 0.08); }
.icon-btn {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 999px;
  color: rgb(var(--fg));
  background: rgb(var(--surface2));
}
.copy-mini {
  display: grid;
  place-items: center;
  height: 1.5rem;
  width: 1.5rem;
  flex-shrink: 0;
  border-radius: 999px;
  color: rgb(var(--muted));
  background: rgb(var(--surface2));
}
.mobile-panel { display: none; }
.mobile-panel.open { display: block; }
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 0.4rem 0.3rem calc(0.4rem + env(safe-area-inset-bottom));
  background: rgb(var(--surface) / 0.96);
  border-top: 1px solid rgb(var(--line) / 0.1);
  backdrop-filter: blur(12px);
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.65rem;
  color: rgb(var(--muted));
}
.bottom-nav a.is-active { color: var(--gold); }
@media (min-width: 1280px) { .bottom-nav { display: none; } }

.dev-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border: 1px solid rgb(var(--line) / 0.16);
  background: rgb(var(--surface));
  color: rgb(var(--fg));
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.04);
}
.dev-credit:hover {
  border-color: rgb(34 158 217 / 0.65);
  background: rgb(34 158 217 / 0.08);
}
.dev-credit-icon {
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: #229ed9;
  color: #fff;
  flex-shrink: 0;
}
.dev-credit-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.dropzone {
  position: relative;
  min-height: 220px;
  border: 2px dashed rgb(var(--line) / 0.22);
  border-radius: 1rem;
  background: rgb(var(--page));
  cursor: pointer;
  overflow: hidden;
}
.dropzone.is-drag { border-color: var(--gold); background: rgb(240 193 74 / 0.08); }
.dropzone.has-file { border-style: solid; min-height: 0; }
.dropzone-empty {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  color: rgb(var(--muted));
}
.dropzone.has-file .dropzone-empty { display: none; }
.dropzone-preview { display: none; position: relative; }
.dropzone.has-file .dropzone-preview { display: block; }
.dropzone-preview img { width: 100%; max-height: 360px; object-fit: contain; background: #0b0e14; }
.dropzone-actions {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgb(7 9 13 / 0.62);
}
.dropzone.show-actions .dropzone-actions { display: flex; }

.toast-float {
  position: fixed;
  z-index: 80;
  right: 1rem;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}
.toast-float .toast {
  pointer-events: auto;
  min-width: 220px;
  max-width: 20rem;
  border-radius: 0.9rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
  box-shadow: 0 12px 40px -16px rgb(0 0 0 / 0.45);
  animation: toast-in 0.22s ease;
}
.toast-copy {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 5.5rem;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--on-gold);
  box-shadow: 0 8px 24px -8px rgb(196 146 12 / 0.7);
  animation: toast-in 0.18s ease;
}
.toast-ok { background: #065f46; color: #ecfdf5; }
.toast-err { background: #9f1239; color: #fff1f2; }
html.light .toast-ok { background: #047857; }
html.light .toast-err { background: #be123c; }
.toast-inline {
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}
.toast-inline.ok { background: rgb(16 185 129 / 0.14); color: #047857; }
.toast-inline.err { background: rgb(244 63 94 / 0.12); color: #be123c; }
html.dark .toast-inline.ok { color: #6ee7b7; }
html.dark .toast-inline.err { color: #fda4af; }
.toast-modal-back {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgb(7 9 13 / 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.toast-modal {
  width: 100%;
  max-width: 22rem;
  border-radius: 1.1rem;
  background: rgb(var(--surface));
  color: rgb(var(--fg));
  padding: 1.25rem;
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.5);
}
@keyframes toast-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.step-rail { display: grid; gap: 1rem; }
.step-item { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.step-num {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--on-gold);
  font-weight: 700;
}

.phone-et {
  display: flex;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgb(var(--line) / 0.14);
  background: rgb(var(--page));
}
.phone-et.is-invalid { border-color: #e11d48; }
.phone-prefix {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.75rem;
  background: rgb(var(--surface2));
  font-weight: 650;
  white-space: nowrap;
}
.phone-et input {
  flex: 1;
  border: 0;
  background: transparent;
  color: rgb(var(--fg));
  padding: 0.65rem 0.75rem;
  outline: none;
}

html.dark .text-gold-500, html.dark .text-gold-300 { color: #f0c14a; }
html.light .text-gold-500, html.light .text-gold-300 { color: #92650a; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

.coin-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgb(var(--line) / 0.1);
  background: rgb(var(--surface));
}
.coin-row:hover { border-color: rgb(240 193 74 / 0.45); }
.japan-coin-row { align-items: stretch; }
.japan-sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  min-width: 16rem;
}
.japan-side {
  border: 1px solid rgb(var(--line) / 0.1);
  border-radius: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: rgb(var(--page));
}
@media (max-width: 640px) {
  .coin-row { grid-template-columns: auto 1fr; }
  .coin-row .coin-cta { grid-column: 1 / -1; }
  .japan-sides { min-width: 0; }
}

.price-block { min-width: 0; }
.price-block .price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
}
.price-now {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.price-now.is-plain { color: rgb(var(--fg)); }
del.price-was {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgb(var(--muted));
  color: rgb(var(--muted));
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  opacity: 0.95;
}
.price-off {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 750;
  background: rgb(244 63 94 / 0.16);
  color: #fb7185;
}
html.light .price-off { color: #be123c; background: rgb(244 63 94 / 0.12); }
.price-block.is-compact .price-now { font-size: 1.05rem; }
.price-block.is-compact .price-was { font-size: 0.82rem; }
.price-block.is-detail .price-tag {
  display: inline-flex;
  margin-bottom: 0.4rem;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgb(244 63 94 / 0.16);
  color: #fb7185;
}
html.light .price-block.is-detail .price-tag { color: #be123c; }
.price-block.is-detail .price-now {
  font-family: Outfit, sans-serif;
  font-size: 2.15rem;
  line-height: 1.05;
}
.price-block.is-detail .price-was { font-size: 1.15rem; }
.price-save {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: #34d399;
}
html.light .price-save { color: #047857; }
.price-ends {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}
.price-ends .countdown {
  margin-left: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgb(240 193 74 / 0.14);
}

.item-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  min-height: 18rem;
}
.item-hero-photo { width: 100%; max-height: 28rem; object-fit: cover; display: block; }
.item-hero-body {
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 1.6rem 1.7rem;
}
.item-hero-amount {
  font-family: Outfit, sans-serif;
  font-size: clamp(2.8rem, 8vw, 4.4rem);
  font-weight: 700;
  line-height: 0.95;
  color: #f8d56b;
  letter-spacing: -0.03em;
}
.item-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 650;
  background: rgb(255 255 255 / 0.1);
  color: rgb(255 255 255 / 0.85);
}
.item-buy {
  border-radius: 1.4rem;
  border: 1px solid rgb(var(--line) / 0.1);
  background: rgb(var(--surface));
  padding: 1.25rem 1.3rem 1.35rem;
}
@media (min-width: 1024px) {
  .item-buy { position: sticky; top: 5.5rem; }
}
.item-facts {
  display: grid;
  gap: 0.65rem;
}
.item-fact {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.88rem;
}
.item-fact i {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.7rem;
  background: rgb(240 193 74 / 0.12);
  color: var(--gold);
  font-style: normal;
}
.item-steps {
  display: grid;
  gap: 0.65rem;
}
@media (min-width: 640px) {
  .item-steps { grid-template-columns: repeat(3, 1fr); }
}
.item-step {
  border-radius: 1rem;
  border: 1px solid rgb(var(--line) / 0.1);
  background: rgb(var(--surface));
  padding: 0.9rem 1rem;
}
.item-step .n {
  font-family: Outfit, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
}
.item-pays {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}
.item-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(3.55rem + env(safe-area-inset-bottom));
  z-index: 38;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: rgb(var(--page) / 0.94);
  border-top: 1px solid rgb(240 193 74 / 0.45);
  box-shadow: 0 -16px 36px rgb(0 0 0 / 0.35);
  backdrop-filter: blur(16px);
}
.item-buybar-price { min-width: 0; flex: 0 1 auto; }
.item-buybar-price .price-block.is-bar .price-now {
  font-size: 1.12rem;
  line-height: 1.1;
}
.item-buybar-price .price-block.is-bar .price-was { font-size: 0.78rem; }
.item-buybar-cta {
  flex: 1 1 9rem;
  min-width: 8.5rem;
  text-align: center;
  padding: 0.88rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  border-radius: 0.95rem;
  box-shadow: 0 10px 22px -10px rgb(240 193 74 / 0.85);
}
.item-page { padding-bottom: 5.25rem; }
@media (min-width: 1280px) {
  .item-buybar { display: none; }
  .item-page { padding-bottom: 0; }
}

.btn-quiet {
  border-radius: 999px;
  background: rgb(var(--surface2));
  color: rgb(var(--fg));
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
.btn-danger {
  border-radius: 999px;
  background: rgb(244 63 94 / 0.14);
  color: #be123c;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}
html.dark .btn-danger { color: #fda4af; }

.admin-side {
  width: 15.75rem;
  background: rgb(var(--surface));
  border-right: 1px solid rgb(var(--line) / 0.1);
}
.admin-nav-group {
  padding: 0.9rem 0.85rem 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(var(--muted));
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0.45rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.75rem;
  color: rgb(var(--muted));
  font-size: 0.9rem;
  font-weight: 550;
}
.admin-nav a:hover { color: rgb(var(--fg)); background: rgb(var(--line) / 0.05); }
.admin-nav a.is-active {
  background: rgb(240 193 74 / 0.16);
  color: var(--gold);
}
.admin-count {
  margin-left: auto;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgb(245 158 11 / 0.22);
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
html.dark .admin-count { color: #fcd34d; }
.admin-count.is-empty { display: none; }

.admin-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
}
.admin-drawer.open { display: block; }
@media (min-width: 1280px) {
  .admin-drawer { display: none !important; }
}
.admin-drawer-back {
  position: absolute;
  inset: 0;
  background: rgb(7 9 13 / 0.55);
}
.admin-drawer-panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(17rem, 88vw);
  background: rgb(var(--page));
  overflow-y: auto;
}

.admin-card {
  border-radius: 1.1rem;
  border: 1px solid rgb(var(--line) / 0.1);
  background: rgb(var(--surface));
}
.admin-form {
  scroll-margin-top: 5.5rem;
}
.admin-form.is-editing {
  overflow: hidden;
  border-color: rgb(240 193 74 / 0.55);
  box-shadow:
    0 0 0 1px rgb(240 193 74 / 0.35),
    0 22px 50px -28px rgb(240 193 74 / 0.55);
  background:
    linear-gradient(180deg, rgb(240 193 74 / 0.12) 0, rgb(240 193 74 / 0.04) 6.5rem, rgb(var(--surface)) 11rem);
  animation: admin-edit-pulse 0.85s ease-out;
}
@keyframes admin-edit-pulse {
  0% { box-shadow: 0 0 0 0 rgb(240 193 74 / 0.45), 0 22px 50px -28px rgb(240 193 74 / 0.55); }
  100% { box-shadow: 0 0 0 1px rgb(240 193 74 / 0.35), 0 22px 50px -28px rgb(240 193 74 / 0.55); }
}
html.light .admin-form.is-editing {
  border-color: rgb(196 146 12 / 0.45);
  box-shadow:
    0 0 0 1px rgb(196 146 12 / 0.22),
    0 22px 50px -28px rgb(196 146 12 / 0.28);
  background:
    linear-gradient(180deg, rgb(196 146 12 / 0.12) 0, rgb(196 146 12 / 0.04) 6.5rem, rgb(var(--surface)) 11rem);
}
.admin-form-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: -1.25rem -1.25rem 1.2rem;
  padding: 0.95rem 1.15rem 1rem;
  background: rgb(240 193 74 / 0.18);
  border-bottom: 1px solid rgb(240 193 74 / 0.38);
}
html.light .admin-form-banner {
  background: rgb(196 146 12 / 0.12);
  border-bottom-color: rgb(196 146 12 / 0.28);
}
.admin-form-banner .k {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.admin-form-banner .t {
  margin-top: 0.2rem;
  font-family: Outfit, sans-serif;
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.25;
  word-break: break-word;
}
.admin-table {
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
  border-collapse: collapse;
}
.admin-table thead th {
  padding: 0.75rem 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgb(var(--muted));
  background: rgb(var(--surface2) / 0.7);
  white-space: nowrap;
}
.admin-table tbody td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
  border-top: 1px solid rgb(var(--line) / 0.08);
}
.admin-table tbody tr:hover td {
  background: rgb(var(--line) / 0.035);
}
.admin-table tbody tr.is-editing td {
  background: rgb(240 193 74 / 0.12);
}
.admin-table tbody tr.is-editing td:first-child {
  box-shadow: inset 3px 0 0 var(--gold);
}
.admin-table tbody tr.is-editing:hover td {
  background: rgb(240 193 74 / 0.16);
}
.admin-thumb {
  flex-shrink: 0;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgb(var(--surface2));
  display: grid;
  place-items: center;
  font-family: Outfit, sans-serif;
  font-weight: 650;
  color: rgb(var(--muted));
  font-size: 0.95rem;
}
.admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.18rem 0.58rem;
  font-size: 0.7rem;
  font-weight: 650;
  white-space: nowrap;
}
.admin-pill-ok { background: rgb(16 185 129 / 0.16); color: #34d399; }
.admin-pill-warn { background: rgb(245 158 11 / 0.16); color: #fbbf24; }
.admin-pill-off { background: rgb(var(--line) / 0.08); color: rgb(var(--muted)); }
.admin-pill-bad { background: rgb(244 63 94 / 0.15); color: #fb7185; }
.admin-pill-info { background: rgb(56 189 248 / 0.14); color: #7dd3fc; }
.admin-pill-gold { background: rgb(240 193 74 / 0.16); color: var(--gold); }
.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 0.9rem;
  background: rgb(var(--surface2));
}
.admin-tabs a {
  border-radius: 0.7rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(var(--muted));
}
.admin-tabs a.is-on {
  background: rgb(var(--surface));
  color: rgb(var(--fg));
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgb(var(--line) / 0.12);
  color: rgb(var(--fg));
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
html.light .admin-pill-ok { color: #047857; }
html.light .admin-pill-warn { color: #b45309; }
html.light .admin-pill-bad { color: #be123c; }
html.light .admin-pill-info { color: #0369a1; }
.admin-acts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  white-space: nowrap;
}
.admin-acts a,
.admin-acts button {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  font-size: 0.75rem;
  font-weight: 650;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.admin-acts .edit {
  background: rgb(240 193 74 / 0.14);
  color: var(--gold);
}
.admin-acts .edit:hover { background: rgb(240 193 74 / 0.26); }
.admin-acts .del { color: #fb7185; }
.admin-acts .del:hover { background: rgb(244 63 94 / 0.12); }
.admin-acts .quiet { color: rgb(var(--muted)); }
.admin-acts .quiet:hover { background: rgb(var(--line) / 0.08); color: rgb(var(--fg)); }
.admin-stat {
  display: block;
  padding: 1.1rem 1.15rem;
}
.admin-stat .k { font-size: 0.8rem; color: rgb(var(--muted)); }
.admin-stat .v { margin-top: 0.35rem; font-family: Outfit, sans-serif; font-size: 1.7rem; font-weight: 650; }
.admin-row { cursor: pointer; }
.admin-row:hover { background: rgb(var(--line) / 0.04); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(var(--muted));
  background: rgb(var(--surface));
  border: 1px solid rgb(var(--line) / 0.12);
  cursor: pointer;
}
.admin-chip.is-on {
  background: var(--gold);
  color: var(--on-gold);
  border-color: transparent;
}

.admin-action {
  width: 100%;
  text-align: left;
  border-radius: 0.95rem;
  padding: 0.9rem 1rem;
  border: 0;
  color: #fff;
  box-shadow: 0 8px 20px -12px rgb(0 0 0 / 0.45);
}
.admin-action:hover { filter: brightness(1.07); }
.admin-action.is-busy,
.admin-action:disabled {
  filter: none;
  cursor: wait;
  pointer-events: none;
}
.admin-action.is-busy {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.admin-action strong { display: block; font-size: 1rem; }
.admin-action em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.88);
}
.admin-action-ok { background: #059669; }
.admin-action-bad { background: #e11d48; }
.admin-action-info { background: #0284c7; }
.admin-action-gold { background: #c4920c; color: #1a1406; }
.admin-action-gold em { color: rgb(26 20 6 / 0.75); }
.admin-action-warn { background: #7c3aed; }
.admin-action-pending { background: #d97706; }
.admin-action-muted { background: #475569; }
html.light .admin-action-ok { background: #047857; }
html.light .admin-action-bad { background: #be123c; }
html.light .admin-action-info { background: #0369a1; }
html.light .admin-action-gold { background: #c4920c; }
html.light .admin-action-warn { background: #6d28d9; }
html.light .admin-action-pending { background: #b45309; }
html.light .admin-action-muted { background: #334155; }

.listing-photo {
  width: 100%;
  height: 11rem;
  object-fit: cover;
  background: rgb(var(--surface2));
}

.guide-box { padding: 1rem 1.1rem; }
.guide-box ol { margin-top: 0.6rem; display: grid; gap: 0.45rem; }
.guide-box li { padding-left: 0.15rem; color: rgb(var(--muted)); font-size: 0.9rem; }

.logo-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.logo-pick label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.3rem;
  border-radius: 0.8rem;
  border: 1px solid rgb(var(--line) / 0.12);
  cursor: pointer;
  font-size: 0.7rem;
  text-align: center;
  color: rgb(var(--muted));
}
.logo-pick label:has(input:checked),
.logo-pick label.is-on {
  border-color: var(--gold);
  color: rgb(var(--fg));
  background: rgb(240 193 74 / 0.08);
}
.logo-pick input { position: absolute; opacity: 0; pointer-events: none; }

.cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgb(var(--line) / 0.08);
}
.cred-row:last-child { border-bottom: 0; }

.sales-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.28rem;
  height: 8.5rem;
}
.sales-bar {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}
.sales-bar i {
  display: block;
  width: 100%;
  border-radius: 0.35rem 0.35rem 0 0;
  background: var(--gold);
  min-height: 2px;
}
.sales-bar small {
  margin-top: 0.3rem;
  font-size: 0.62rem;
  color: rgb(var(--muted));
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.auth-more summary {
  list-style: none;
}
.auth-more summary::-webkit-details-marker {
  display: none;
}
.auth-more summary::marker {
  content: "";
}

.order-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}
.order-rail li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border-radius: 1rem;
  border: 1px solid rgb(var(--line) / 0.12);
  background: rgb(var(--surface));
  padding: 0.7rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgb(var(--muted));
}
.order-rail .n {
  display: grid;
  place-items: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgb(var(--surface2));
  font-size: 0.7rem;
}
.order-rail li.is-done,
.order-rail li.is-here {
  border-color: rgb(224 168 46 / 0.45);
  background: rgb(224 168 46 / 0.08);
  color: rgb(var(--fg));
}
.order-rail li.is-done .n,
.order-rail li.is-here .n {
  background: var(--gold);
  color: #1a1406;
}
.order-summary {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  border-radius: 1.35rem;
  border: 1px solid rgb(var(--line) / 0.12);
  background: rgb(var(--surface));
  padding: 1rem;
}
@media (min-width: 640px) {
  .order-summary { grid-template-columns: 8.5rem 1fr; align-items: start; padding: 1.15rem; }
}
.order-summary-art {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 1rem;
  min-height: 8.5rem;
  background: rgb(var(--surface2));
}
.order-summary-art img {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
}
.order-summary-art img.is-coin {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 999px;
}
.order-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 999px;
  padding: 0.18rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 650;
  background: rgb(var(--surface2));
  color: rgb(var(--fg));
}
.order-facts {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.875rem;
}
.order-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  border-top: 1px solid rgb(var(--line) / 0.1);
  padding-top: 0.45rem;
}
.order-facts > div:first-child {
  border-top: 0;
  padding-top: 0;
}
.order-facts dt { color: rgb(var(--muted)); }
.order-proof {
  margin-top: 1.75rem;
  border-radius: 1.35rem;
  border: 1px solid rgb(224 168 46 / 0.35);
  background:
    radial-gradient(120% 80% at 0% 0%, rgb(224 168 46 / 0.12), transparent 55%),
    rgb(var(--surface));
  padding: 1.15rem;
}
.order-proof-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgb(224 168 46 / 0.16);
  color: var(--gold);
  padding: 0.2rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.order-proof-frame {
  display: block;
  margin-top: 0.9rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgb(var(--line) / 0.12);
  background: #0b0e14;
}
.order-proof-frame img {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: contain;
}
html.light .order-proof-frame { background: #f3f1ea; }

.pts-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pts-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  background: rgb(224 168 46 / 0.16);
  color: #A67A0A;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
}
html.dark .pts-chip { color: #F8D56B; }
.pts-chip-spend { background: rgb(14 165 233 / 0.14); color: #0369a1; }
html.dark .pts-chip-spend { color: #7dd3fc; }
.pts-balance-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  background: rgb(224 168 46 / 0.16);
  color: var(--gold);
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  white-space: nowrap;
}

.btn-spinner {
  width: 1.05rem;
  height: 1.05rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
  flex-shrink: 0;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
button.is-busy,
input.is-busy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: none;
  cursor: wait;
}
button[aria-busy="true"],
input[aria-busy="true"] {
  pointer-events: none;
  cursor: wait;
}

.pts-burst {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  background: rgb(0 0 0 / 0.28);
  transition: opacity 0.28s ease;
}
.pts-burst.is-on { opacity: 1; }
.pts-burst.is-off { opacity: 0; }
.pts-burst-card {
  position: relative;
  z-index: 1;
  min-width: 12.5rem;
  max-width: 18rem;
  text-align: center;
  padding: 1.55rem 1.7rem 1.4rem;
  border-radius: 1.5rem;
  background: rgb(var(--surface));
  border: 1px solid rgb(240 193 74 / 0.38);
  box-shadow: 0 22px 55px rgb(0 0 0 / 0.38);
  transform: scale(0.84);
  transition: transform 0.45s cubic-bezier(0.2, 1.4, 0.3, 1);
}
.pts-burst.is-on .pts-burst-card { transform: scale(1); }
.pts-burst-ring {
  position: absolute;
  inset: -10px;
  border-radius: 1.75rem;
  border: 2px solid rgb(240 193 74 / 0.4);
  animation: pts-ring 1.35s ease-out infinite;
}
.pts-burst-icon {
  width: 3.15rem;
  height: 3.15rem;
  margin: 0 auto 0.7rem;
  display: grid;
  place-items: center;
}
.pts-burst-icon img {
  width: 2.85rem;
  height: 2.85rem;
  object-fit: contain;
}
.pts-icon-wrap .pts-icon,
img.pts-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
.pts-burst-title {
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.15;
}
.pts-burst-sub {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: rgb(var(--muted));
}
.pts-burst-dots {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.pts-burst-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 999px;
  background: var(--gold);
  opacity: 0;
}
.pts-burst.is-on .pts-burst-dot {
  animation: pts-dot 0.95s ease-out forwards;
  animation-delay: calc(var(--i) * 38ms);
}
@keyframes pts-dot {
  0% { opacity: 1; transform: rotate(calc(var(--i) * 25.7deg)) translateY(0) scale(1); }
  100% { opacity: 0; transform: rotate(calc(var(--i) * 25.7deg)) translateY(-118px) scale(0.25); }
}
@keyframes pts-ring {
  0% { transform: scale(0.96); opacity: 0.75; }
  100% { transform: scale(1.1); opacity: 0; }
}
.pts-pop { animation: pts-pop 0.75s ease; }
@keyframes pts-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.16); }
  100% { transform: scale(1); }
}
.pts-awarded-live {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  animation: pts-pop 0.85s ease;
}
html.light .pts-burst { background: rgb(15 23 42 / 0.22); }
@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation-duration: 0.9s; }
  .pts-burst-dot,
  .pts-burst-ring,
  .pts-pop,
  .pts-awarded-live { animation: none; }
  .pts-burst-card { transform: none; }
}
