:root {
  --ink: #14151f;
  --muted: #5b5f70;
  --paper: #f8f7f2;
  --card: #ffffff;
  --line: #e2e0d6;
  --accent: #d4f23f;
  --accent-ink: #20260a;
  --violet: #5b3df5;
  --no: #e0482f;
  --yes: #178a56;
  --shadow: 0 24px 60px rgba(20, 21, 31, .16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-bottom: env(safe-area-inset-bottom);
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
}

.wrap { width: min(1120px, 100%); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); }

.topbar { display: flex; align-items: center; gap: 28px; padding-top: 20px; padding-bottom: 20px; }
.logo { margin-right: auto; font-size: 22px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.logo span { background: var(--accent); padding: 0 4px; border-radius: 5px; }
.nav { display: flex; gap: 22px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 14px 24px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.btn-small { padding: 9px 15px; font-size: 15px; }
.btn-wide { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; padding-top: 34px; padding-bottom: 28px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--muted); font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yes); }
h1 { margin: 0 0 20px; font-size: clamp(46px, 7vw, 80px); line-height: 1; letter-spacing: -.045em; }
h1 em { display: block; color: var(--violet); font-style: normal; }
.lead { max-width: 34em; margin: 0 0 26px; font-size: 20px; color: #30323f; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.demo-note { margin-top: 0; margin-bottom: 0; color: var(--muted); font-size: 14px; text-align: right; }

.phone-stage { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.phone-stage::before {
  content: "";
  position: absolute;
  top: 6%;
  width: min(440px, 95%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
}
.phone {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 318px;
  height: 640px;
  padding: 14px 12px 16px;
  overflow: hidden;
  background: #fff;
  border: 9px solid var(--ink);
  border-radius: 46px;
  box-shadow: var(--shadow);
}
.phone-notch { position: absolute; top: 8px; left: 50%; z-index: 4; width: 86px; height: 22px; transform: translateX(-50%); border-radius: 12px; background: var(--ink); }
.phone-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 6px 10px; font-size: 15px; }
.phone-logo { font-weight: 800; letter-spacing: -.02em; }
.phone-logo b { color: var(--violet); }
.gem-count { display: flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; background: #f1f0ea; font-size: 14px; font-weight: 800; }
.gem { display: inline-block; flex: none; width: 14px; height: 14px; transform: rotate(45deg); border-radius: 3px; background: linear-gradient(135deg, #8d7bff, var(--violet)); }
.gem-big { width: 24px; height: 24px; border-radius: 5px; margin: 6px; }

.deck { position: relative; flex: 1; min-height: 0; }
.card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 8px 22px rgba(20, 21, 31, .12);
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
  transition: transform .28s ease, opacity .28s ease;
}
.card:not(:last-child) { transform: translateY(9px) scale(.96); }
.card.dragging { transition: none; cursor: grabbing; }
.stamp { position: absolute; top: 22px; z-index: 3; padding: 2px 10px; border: 4px solid; border-radius: 9px; background: rgba(255,255,255,.85); font-size: 24px; font-weight: 900; opacity: 0; }
.stamp-yes { left: 16px; color: var(--yes); transform: rotate(-12deg); }
.stamp-no { right: 16px; color: var(--no); transform: rotate(12deg); }
.shot { position: relative; flex: 1; min-height: 0; padding: 14px 0 0; display: flex; justify-content: center; overflow: hidden; }
.mini { display: flex; flex-direction: column; gap: 7px; width: 62%; padding: 12px; border-radius: 16px 16px 0 0; background: rgba(255,255,255,.94); box-shadow: 0 8px 24px rgba(20,21,31,.2); }
.mini-title { font-size: 12px; font-weight: 800; }
.mini-row { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.mini-chip { flex: none; width: 22px; height: 22px; border-radius: 7px; }
.mini-bar { height: 7px; border-radius: 9px; background: #e8e7e0; }
.mini-bar i { display: block; height: 100%; border-radius: 9px; }
.card-info { padding: 12px 14px 14px; }
.card-head { display: flex; align-items: center; gap: 11px; }
.card-icon { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 15px; color: #fff; font-size: 27px; font-weight: 900; }
.card h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.card-meta { margin: 1px 0 0; color: var(--muted); font-size: 12.5px; }
.card-about { margin: 9px 0 8px; font-size: 13.5px; line-height: 1.4; }
.card-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); }
.tag .gem { width: 9px; height: 9px; border-radius: 2px; }
.deck-done { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 26px; border: 2px dashed var(--line); border-radius: 22px; text-align: center; font-weight: 700; }
.deck-done a { margin-top: 12px; color: var(--violet); }
.deck-actions { display: flex; justify-content: center; gap: 22px; padding-top: 14px; }
.round { display: grid; place-items: center; width: 58px; height: 58px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(20,21,31,.12); cursor: pointer; transition: transform .15s ease; }
.round:hover:not(:disabled) { transform: scale(1.08); }
.round svg { width: 28px; height: 28px; fill: none; stroke: var(--no); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.round-yes { background: var(--accent); }
.round-yes svg { stroke: var(--accent-ink); }
.round:disabled { opacity: .35; cursor: default; }
.toast { position: absolute; top: 42px; left: 12px; right: 12px; z-index: 5; padding: 9px 12px; border-radius: 13px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(-14px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 15px; background: #fff; box-shadow: 0 12px 28px rgba(20,21,31,.16); font-size: 13px; line-height: 1.3; animation: bob 5s ease-in-out infinite; }
.float b, .float span { display: block; }
.float div span { color: var(--muted); font-size: 12px; }
.float-a { top: 20%; left: -8px; }
.float-b { bottom: 18%; right: -18px; animation-delay: -2.4s; }
.bell { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--no); box-shadow: 0 0 0 5px rgba(224,72,47,.18); }
@keyframes bob { 50% { transform: translateY(-9px); } }

.section { padding-top: 54px; padding-bottom: 54px; }
h2 { margin: 0 0 18px; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.03em; }

.problem-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
.pain { margin: 0; padding: 0; list-style: none; }
.pain li { padding: 15px 0; border-top: 1px solid var(--line); }
.pain strong, .pain span { display: block; }
.pain strong { font-size: 19px; }
.pain span { color: var(--muted); }
.fix { margin: 30px 0 0; padding: 22px 26px; border-radius: 16px; background: var(--ink); color: #fff; font-size: clamp(21px, 3vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.fix b { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.steps strong, .steps span { display: block; }
.steps li > span:last-child { color: var(--muted); font-size: 15.5px; }
.steps strong { margin-bottom: 4px; font-size: 18px; }
.step-n { display: grid !important; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-weight: 900; }

.loop-section { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.loop { width: 100%; height: auto; }
.loop-ring { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 3 9; stroke-linecap: round; }
.loop-arrow { fill: var(--violet); }
.loop-node rect { fill: var(--ink); }
.loop-node text { fill: #fff; font-size: 15px; font-weight: 700; text-anchor: middle; }
.loop-accent rect { fill: var(--accent); }
.loop-accent text { fill: var(--accent-ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { padding: 32px; border-radius: 22px; }
.panel h2 { font-size: clamp(25px, 3vw, 34px); }
.panel p { margin: 0; }
.panel-dark { background: var(--violet); color: #fff; }
.panel-accent { background: var(--accent); color: var(--accent-ink); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.grid li { padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.grid strong, .grid span { display: block; }
.grid span { color: var(--muted); font-size: 15.5px; }

.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
.pack { position: relative; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.pack h3 { margin: 12px 0 0; font-size: 20px; }
.pack p { margin: 0; color: var(--muted); font-size: 15.5px; }
.pack .amount { margin: 2px 0 8px; color: var(--ink); font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.pack-best { background: var(--ink); color: #fff; border-color: var(--ink); }
.pack-best p, .pack-best .amount { color: #fff; }
.ribbon { position: absolute; top: 14px; right: 14px; padding: 2px 9px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 800; }

.join { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.join-card, .form-card { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 14px 40px rgba(20,21,31,.08); }
label { display: block; margin: 16px 0 6px; font-weight: 600; }
form > label:first-child { margin-top: 0; }
.optional { color: var(--muted); font-weight: 400; }
input[type="email"], input[type="url"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #a9a79f;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-weight: 400; font-size: 15px; }
.check input { flex: none; width: 20px; height: 20px; margin: 3px 0 0; }
.trap { position: absolute; left: -9999px; }
.form-message { min-height: 1.6em; margin: 12px 0 8px; color: var(--no); font-weight: 600; }
.success { margin: 0; padding: 18px; background: var(--accent); color: var(--accent-ink); border-radius: 12px; font-weight: 700; }

.faq { max-width: 780px; margin: 0; }
.faq dt { margin-top: 22px; font-size: 18px; font-weight: 700; }
.faq dd { margin: 4px 0 0; color: var(--muted); }

.footer { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 30px; padding-bottom: 40px; color: var(--muted); font-size: 15px; }

.legal { max-width: 720px; padding-bottom: 60px; }
.legal h1 { font-size: 48px; }
.legal h2 { margin: 28px 0 6px; font-size: 22px; letter-spacing: -.01em; }

.auth { display: grid; place-items: center; padding-top: 40px; padding-bottom: 80px; }
.auth .form-card { width: min(440px, 100%); }
.auth h1 { margin-bottom: 8px; font-size: 40px; }
.btn-provider { margin-top: 14px; }
.member { margin: 0 auto 0 0; }
.topbar .logo:has(+ .member) { margin-right: 0; }
.member-page { padding-bottom: 70px; }
.member-page h1 { font-size: clamp(38px, 6vw, 56px); }
.input-row { display: flex; gap: 10px; }
.input-row input { min-width: 0; flex: 1; }
.input-row .btn { flex: none; }
.app-list { display: grid; gap: 12px; margin-top: 22px; }
.app-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.app-head { display: flex; align-items: center; gap: 14px; min-width: 0; margin-bottom: 12px; }
.app-row .app-head { margin-bottom: 0; }
.app-icon { flex: none; width: 64px; height: 64px; border-radius: 15px; background: #eeede6; object-fit: cover; }
.app-text { min-width: 0; }
.app-text strong, .app-text span { display: block; }
.app-text .note { margin: 0; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

#member-header { flex-wrap: wrap; gap: 12px 18px; }
.member-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-right: auto; font-size: 15px; font-weight: 700; }
#member-header .logo { margin-right: 6px; }
.member-nav a { color: var(--muted); text-decoration: none; }
.member-nav a.active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.member-nav a[hidden], .badge[hidden] { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 5px; padding: 0 5px; border-radius: 99px; background: var(--no); color: #fff; font-size: 12px; }
.sub { margin-top: 34px; font-size: 26px; }
.center { text-align: center; }
.swipe-page { display: flex; flex-direction: column; align-items: center; padding-bottom: 50px; }
.store-switch { display: flex; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 12px; background: #eceae1; }
.store-switch button { padding: 7px 16px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.store-switch button.active { background: #fff; color: var(--ink); }
.live-deck { flex: none; width: min(360px, 100%); height: min(560px, calc(100vh - 230px)); min-height: 400px; }
.real-shot { padding: 0; background: #eceae1; }
.real-shot img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
img.card-icon { object-fit: cover; background: #eceae1; }
.clamp { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.test-row { display: grid; gap: 10px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.test-row label { margin: 8px 0 -4px; }
.test-row > .btn-ghost { justify-self: start; }
.test-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.test-top .app-head { margin-bottom: 0; }
.status { padding: 2px 9px; border-radius: 99px; background: #eceae1; color: var(--muted); font-size: 13px; font-weight: 700; }
.tag { font-size: 13px; font-weight: 700; }
.step-box { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.step-box > .btn-small { justify-self: start; }
.step-box label { margin: 6px 0 -4px; }
.task-list { margin: 0; padding: 12px 14px; border-radius: 12px; background: #f1f0ea; }
.rating { display: flex; gap: 4px; }
.star { padding: 0 3px; border: 0; background: transparent; color: #c9c7bd; font-size: 32px; line-height: 1.1; cursor: pointer; }
.star.on { color: #e8a200; }
.stars { margin: 0; color: #c98d00; font-size: 20px; letter-spacing: 2px; }
.feedback-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.proof-image { display: block; max-width: 220px; max-height: 340px; border: 1px solid var(--line); border-radius: 12px; }
.notice { display: grid; gap: 2px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.notice .note { margin: 0; font-size: 13px; }
.notice.unread { border-left: 5px solid var(--violet); font-weight: 700; }

.chat-page { max-width: 720px; }
.chat-title { font-size: clamp(26px, 5vw, 36px); }
.thread { display: flex; flex-direction: column; gap: 8px; height: min(420px, 55vh); margin: 14px 0; padding: 14px; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.bubble { align-self: flex-start; max-width: 80%; margin: 0; padding: 8px 12px; border-radius: 14px; background: #f1f0ea; overflow-wrap: anywhere; }
.bubble.mine { align-self: flex-end; background: var(--ink); color: #fff; }
.chat-actions { margin-top: 12px; }
.chat-link { justify-self: start; font-size: 15px; font-weight: 700; }
.test-row label.trap { position: absolute; }

.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-input:focus-visible + .file-button { outline: 3px solid var(--violet); outline-offset: 2px; }
.step-box label.file-button { margin: 0; text-align: center; }
.step-box .form-message { min-height: 0; margin: 0; }
.step-box .proof-image, .proof .proof-image { width: 100%; max-width: 260px; height: auto; }
.proof-image[hidden] { display: none; }
.notice .proof-image { margin-top: 8px; max-width: 200px; }
button, .btn, input, select, textarea { touch-action: manipulation; }
input, select, textarea { font-size: 16px; }

.copy-comment { justify-self: start; }

.app-list, .test-row, .step-box { grid-template-columns: minmax(0, 1fr); }
.app-text, .notice, .chat-title, .card h3, .card-meta { overflow-wrap: anywhere; }
.card-head > div:last-child { min-width: 0; }
.test-row { scroll-margin-top: 12px; }
.proof-image { object-fit: contain; }
.card img { pointer-events: none; }
.input-row[hidden] { display: none; }

@media (hover: none) {
  .btn:hover { transform: none; }
  .round:hover:not(:disabled) { transform: none; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .hero, .problem-grid, .loop-section, .join { grid-template-columns: 1fr; }
  .steps, .grid, .packs { grid-template-columns: 1fr 1fr; }
  .demo-note { text-align: center; }
  .float-a { left: 0; }
  .float-b { right: 0; }
  .logo, .member-nav a, .footer a, .test-row > a:not(.btn), .deck-done a, .check + .note a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .member-nav a, .footer a { justify-content: center; min-width: 44px; }
  .deck-done a { justify-content: center; }
  .btn-small { min-height: 44px; padding-top: 10px; padding-bottom: 10px; }
  .store-switch button { min-height: 44px; }
  .star { min-width: 44px; min-height: 44px; }
  .badge, .ribbon { font-size: 13px; }
  .card-meta, .card-foot { font-size: 13px; }
  input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #a9a79f;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  #member-header { padding-top: 12px; padding-bottom: 12px; }
  #member-header .logo { order: 1; margin-right: auto; }
  #member-header .gem-count { order: 2; }
  #member-header > .btn { order: 3; }
  #member-header { gap: 4px 10px; }
  .form-message:empty { min-height: 0; margin: 0; }
  .swipe-page .form-message:empty { min-height: 1.6em; margin: 12px 0 8px; }
  .member-nav { order: 4; width: 100%; margin: 0; justify-content: space-between; gap: 0; }
  .store-switch { margin-bottom: 8px; }
  .deck-actions { padding-top: 12px; }
  .member-page h1 { margin-top: 4px; font-size: 34px; }
  .input-row { flex-direction: column; }
  .test-row, .form-card, .join-card { padding: 16px; }
  .app-icon { width: 54px; height: 54px; }
  .step-box .btn-small { display: block; text-align: center; justify-self: stretch; padding: 12px; }
  .round { width: 66px; height: 66px; }
  .live-deck { height: calc(100vh - 290px); height: calc(100svh - 290px); min-height: 300px; }
  .swipe-page > .note { font-size: 14px; }
  #composer { flex-direction: row; }
  .thread { height: min(420px, 45vh); height: min(420px, 45svh); overscroll-behavior: contain; }
  .chat-page .chat-title { margin-bottom: 8px; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; }
  .notice .note { font-size: 14px; }
  #mine .proof { min-height: 220px; }
  #mine .proof .proof-image { width: auto; max-width: 100%; max-height: 220px; }
  .legal h1 { font-size: 38px; }
  .panel { padding: 22px; }
  .topbar { gap: 10px; }
  .steps, .grid, .split, .packs { grid-template-columns: 1fr; }
  .lead { font-size: 18px; }
  .cta-row .btn { flex: 1 1 100%; text-align: center; }
  .phone { width: min(318px, 100%); }
  .float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .toast, .btn, .round { transition: none; }
  .float { animation: none; }
}

.review-box { display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--line); border-radius: 14px; background: #fbfaf6; }
.review-box .note { margin: 0; }
.review-box .proof-image { width: 100%; max-width: 260px; height: auto; }

.zoomable { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(20, 21, 31, .85); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.flag-form { display: grid; gap: 8px; }
.flag-form textarea { min-height: 80px; }
.test-tabs { margin-top: 12px; }
.comment-clock { margin: 0; font-weight: 700; }
.gem-warning { margin-bottom: 16px; padding: 12px 14px; border: 1px solid var(--no); border-radius: 12px; color: var(--ink, inherit); font-weight: 600; }
a.gem-count { color: inherit; text-decoration: none; }
.gem-action { margin-top: 12px; }
.card-owner { margin: 8px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.boosted-label { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 3px 10px; border-radius: 99px; background: var(--violet); color: #fff; font-size: 13px; font-weight: 800; }
.packs-three { grid-template-columns: repeat(3, 1fr); }
.pack .btn { margin-top: 14px; }
.level-list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.level-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.level-row .note { margin: 0; }
.level-row.earned { border-color: var(--yes); }
@media (max-width: 760px) { .packs-three { grid-template-columns: 1fr; } }
.pack-best .btn { background: var(--accent); color: var(--accent-ink); }
