:root {
  --paper: #f4f1ea;
  --ticket: #fcfbf8;
  --ink: #111114;
  --muted: #6e6a63;
  --line: rgba(17, 17, 20, .12);
  --line-strong: rgba(17, 17, 20, .22);
  --blue: #2f4bff;
  --blue-soft: rgba(47, 75, 255, .08);
  --red: #b23a2b;
  --green: #1f7a4d;
  --radius: 18px;
  --shadow: 0 24px 60px rgba(35, 30, 20, .10), 0 4px 14px rgba(35, 30, 20, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 10% -5%, #ffffff 0%, rgba(255, 255, 255, 0) 58%),
    radial-gradient(900px 700px at 100% 100%, rgba(47, 75, 255, .05) 0%, rgba(47, 75, 255, 0) 62%),
    var(--paper);
  font-family: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 18, 14, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 18, 14, .035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(120% 90% at 50% 35%, #000 25%, transparent 85%);
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

/* ---------- topbar ---------- */
.topbar {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 236, .82);
  backdrop-filter: blur(14px);
}
.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 4px 10px rgba(20, 19, 15, .14));
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.service-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 4px rgba(34, 160, 107, .10);
}
.lang-pill {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--ink);
}

/* ---------- layout ---------- */
.layout {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 64px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 40px;
}
.sidebar { position: sticky; top: 88px; align-self: start; }
.side-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted);
  padding: 0 10px 10px;
}
.side-head--spaced { margin-top: 28px; }
.side-nav { display: grid; gap: 4px; }
.side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  color: var(--ink);
  border: 1px solid transparent;
}
.side-item:hover { text-decoration: none; background: rgba(255, 255, 255, .55); }
.side-item.is-active {
  background: var(--ticket);
  border-color: var(--line);
  box-shadow: 0 2px 8px rgba(35, 30, 20, .04);
}
.side-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}
.side-icon svg { width: 16px; height: 16px; }
.side-copy { display: grid; gap: 1px; }
.side-copy b { font-size: 13px; font-weight: 700; }
.side-copy small { font-size: 11px; color: var(--muted); }
.side-nav--muted .side-icon { color: var(--muted); }
.side-note {
  margin-top: 26px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(252, 251, 248, .7);
}
.side-note b { font-size: 12px; }
.side-note p { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* ---------- hero ---------- */
.main { min-width: 0; }
.hero { padding: 18px 4px 30px; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--muted);
}
.hero h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 800;
}
.hero h1 .accent { color: var(--blue); }
.lead { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}
.trust-row span { display: inline-flex; align-items: center; gap: 5px; }
.trust-row svg { width: 14px; height: 14px; color: var(--blue); }

/* ---------- ticket ---------- */
.ticket {
  position: relative;
  display: flex;
  background: var(--ticket);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ticket-stub {
  flex: 0 0 92px;
  border-right: 1.5px dashed var(--line-strong);
  padding: 22px 0 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stub-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 4px 10px rgba(20, 19, 15, .14));
}
.stub-logo svg { width: 100%; height: 100%; display: block; }
.stub-text {
  margin: auto 0;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 9px;
  letter-spacing: .3em;
  font-weight: 700;
  color: rgba(17, 17, 20, .42);
  white-space: nowrap;
}
.stub-no { font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.hole {
  position: absolute;
  left: 92px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12);
  transform: translateX(-50%);
  z-index: 2;
}
.hole--top { top: -10px; }
.hole--bottom { bottom: -10px; }

.ticket-body { flex: 1; min-width: 0; padding: 28px 34px 32px 38px; }
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.panel-head h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  white-space: nowrap;
}
.pill--pending { background: rgba(17, 17, 20, .04); }
.pill--warn { color: #8a5a00; background: #fff8e6; border-color: #eed9a8; }
.pill--ok { color: var(--green); background: #edf8f1; border-color: #c9e8d4; }
.pill--error { color: var(--red); background: #fdf0ee; border-color: #efcbc4; }

/* ---------- stepper ---------- */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 22px 0 6px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.step {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  color: var(--muted);
  position: relative;
}
.step + .step::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  width: 1px;
  height: 22px;
  transform: translateY(-50%);
  background: var(--line);
}
.step-dot {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}
.step-copy { display: grid; gap: 1px; min-width: 0; }
.step-copy b { font-size: 12px; font-weight: 700; color: var(--ink); }
.step-copy small { font-size: 10px; color: var(--muted); }
.step.is-active .step-dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 10px rgba(47, 75, 255, .22); }
.step.is-active .step-copy b { color: var(--blue); }
.step.is-done .step-dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.step.is-done .step-copy b { color: var(--ink); }

/* ---------- sections ---------- */
.section { padding: 22px 0 4px; }
.section + .section { border-top: 1px dashed var(--line-strong); margin-top: 18px; }
.section-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.section-num {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-top: 1px;
}
.section-head h3 { margin: 0; font-size: 15px; letter-spacing: -.01em; }
.section-head p { margin: 4px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.muted { margin: 0 0 12px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.muted code { background: rgba(17, 17, 20, .05); border-radius: 4px; padding: 1px 4px; }

.input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 6px;
  transition: border-color .15s, box-shadow .15s;
}
.input-row:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.input-icon {
  display: grid;
  place-items: center;
  width: 34px;
  color: var(--muted);
}
.input-icon svg { width: 17px; height: 17px; }
.input-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 10px 4px;
  font-size: 14px;
  letter-spacing: .02em;
}
.input-row input::placeholder { color: #a7a39c; }
.btn {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .1s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 4px 12px rgba(47, 75, 255, .20); }
.btn--primary:hover:not(:disabled) { background: #243ee8; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover:not(:disabled) { background: #f7f5f0; }

.hint { min-height: 18px; margin: 8px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.hint.ok { color: var(--green); }
.hint.error { color: var(--red); }
.inline-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.inline-note a { font-size: 11px; }

textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  outline: 0;
}
textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.order-cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 12px;
  min-width: 0;
}
.order-cell span { display: block; font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.order-cell b { display: block; margin-top: 4px; font-size: 13px; word-break: break-all; }
.order-note {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .6);
}
.order-note span { flex: 0 0 auto; font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 700; padding-top: 2px; }
.order-note p { margin: 0; font-size: 12px; line-height: 1.6; }

/* ---------- redemption progress ---------- */
.progress-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
  transition: border-color .2s ease, background .2s ease;
}
.progress-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.progress-status { display: flex; align-items: center; gap: 11px; min-width: 0; }
.progress-status-icon {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-soft);
}
.progress-status-icon svg { width: 19px; height: 19px; }
.progress-status-copy { min-width: 0; }
.progress-eyebrow { display: block; font-size: 10px; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.progress-status-text {
  display: block;
  margin-top: 3px;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--ink);
}
.progress-order { min-width: 0; text-align: right; }
.progress-order span { display: block; font-size: 10px; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.progress-order b {
  display: block; margin-top: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; font-weight: 600; color: var(--ink);
  word-break: break-all;
}

.progress-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 12px;
}
.progress-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.progress-node::before {
  content: "";
  position: absolute;
  top: 7px; left: -50%;
  width: 100%; height: 1px;
  background: var(--line);
}
.progress-node:first-child::before { display: none; }
.progress-node i {
  position: relative; z-index: 1;
  width: 15px; height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.progress-node.is-done i { background: var(--ink); border-color: var(--ink); }
.progress-node.is-done::before { background: var(--ink); }
.progress-node.is-active i { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.progress-node.is-active span { color: var(--blue); }
.progress-node.is-error i { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 4px rgba(178, 58, 43, .12); }
.progress-node.is-error::before { background: var(--red); }
.progress-node.is-error span { color: var(--red); }

.progress-bar { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress-bar i { display: block; width: 22%; height: 100%; border-radius: inherit; background: var(--blue); transition: width .5s ease, background .2s ease; }

.progress-message { margin-top: 14px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(17, 17, 20, .025); }
.progress-message-copy span { display: block; font-size: 10px; letter-spacing: .13em; font-weight: 700; color: var(--muted); }
.progress-message-copy p { margin: 5px 0 0; font-size: 12px; line-height: 1.65; color: var(--ink); overflow-wrap: anywhere; }

.progress-card[data-state="processing"] { border-color: rgba(47, 75, 255, .26); }
.progress-card[data-state="processing"] .progress-message { border-color: rgba(47, 75, 255, .16); background: var(--blue-soft); }
.progress-card[data-state="processing"] .progress-message-copy span { color: var(--blue); }

.progress-card[data-state="done"] { border-color: rgba(31, 122, 77, .28); }
.progress-card[data-state="done"] .progress-status-icon { color: var(--green); background: rgba(31, 122, 77, .10); }
.progress-card[data-state="done"] .progress-status-text { color: var(--green); }
.progress-card[data-state="done"] .progress-bar i { width: 100%; background: var(--green); }
.progress-card[data-state="done"] .progress-message { border-color: rgba(31, 122, 77, .18); background: rgba(31, 122, 77, .06); }
.progress-card[data-state="done"] .progress-message-copy span { color: var(--green); }

.progress-card[data-state="failed"] { border-color: rgba(178, 58, 43, .34); background: #fffafa; }
.progress-card[data-state="failed"] .progress-status-icon { color: var(--red); background: rgba(178, 58, 43, .10); }
.progress-card[data-state="failed"] .progress-status-text { color: var(--red); }
.progress-card[data-state="failed"] .progress-bar i { width: 100%; background: var(--red); }
.progress-card[data-state="failed"] .progress-message { border-color: rgba(178, 58, 43, .22); background: rgba(178, 58, 43, .055); }
.progress-card[data-state="failed"] .progress-message-copy span { color: var(--red); }
.progress-card[data-state="failed"] .progress-message-copy p { color: var(--red); font-weight: 500; }

.progress-status-icon .spinner {
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(47, 75, 255, .22);
  border-top-color: var(--blue);
  animation: redeem-spin .85s linear infinite;
}
@keyframes redeem-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .progress-status-icon .spinner { animation-duration: 2.2s; }
  .progress-bar i { transition: none; }
}

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 30px; }
.faq-head h2 { margin: 0; font-size: 28px; letter-spacing: -.03em; }
.faq-head > p:last-child { margin: 8px 0 18px; color: var(--muted); font-size: 13px; }
details {
  border-top: 1px solid var(--line);
  padding: 14px 2px;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 18px; font-weight: 400; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; font-size: 12px; line-height: 1.75; color: var(--muted); }
.safety {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: 10px;
  background: rgba(252, 251, 248, .8);
  padding: 14px 16px;
}
.safety b { font-size: 12px; }
.safety p { margin: 6px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer p { margin: 3px 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; gap: 24px; padding-top: 22px; }
  .sidebar { position: static; }
  .side-head, .side-note, .side-nav--muted { display: none; }
  .side-nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .side-item { padding: 7px 10px; border-color: var(--line); background: rgba(252, 251, 248, .7); }
  .side-copy small { display: none; }
  .ticket-stub, .hole { display: none; }
  .ticket-body { padding: 22px 18px 24px; }
  .hero { padding-top: 4px; }
}
@media (max-width: 560px) {
  .topbar-inner { padding: 12px 16px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 30px; height: 30px; font-size: 18px; }
  .layout { padding: 18px 14px 44px; }
  .hero h1 { font-size: 34px; }
  .stepper { gap: 4px; }
  .step-copy small { display: none; }
  .step + .step::before { display: none; }
  .input-row { flex-wrap: wrap; }
  .input-row input { flex-basis: calc(100% - 42px); }
  .input-row .btn { width: 100%; }
  .order-grid { grid-template-columns: 1fr; }
  .progress-head { flex-direction: column; gap: 12px; }
  .progress-order { text-align: left; }
  .progress-status-text { font-size: 20px; }
  .progress-node span { font-size: 9px; letter-spacing: .02em; }
  .inline-note { align-items: flex-start; flex-direction: column; gap: 4px; }
  .panel-head { align-items: center; }
  .panel-head h2 { font-size: 21px; }
}

/* ---------- 顶部工具切换 / 卡密查询 ---------- */
.top-tabs {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
}
.top-tab {
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.top-tab:hover { color: var(--ink); }
.top-tab.is-active { background: var(--blue); color: #fff; box-shadow: 0 3px 10px rgba(47, 75, 255, .22); }

.lookup-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0 20px;
}
.lookup-tab {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.lookup-tab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.lookup-input {
  width: 100%;
  min-height: 58px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  line-height: 1.6;
  resize: vertical;
}
.lookup-input:focus { outline: 2px solid var(--blue-soft); border-color: var(--blue); }

.lookup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.lookup-head h3 { margin: 0; font-size: 15px; }
.lookup-head span { font-size: 11px; color: var(--muted); font-family: ui-monospace, monospace; }

.lookup-list { display: flex; flex-direction: column; gap: 8px; }
.lookup-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.lookup-row__icon {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(17, 17, 20, .04);
  color: var(--muted);
}
.lookup-row__icon svg { width: 15px; height: 15px; }
.lookup-row__icon.is-ok { background: #edf8f1; color: var(--green); }
.lookup-row__icon.is-warn { background: #fff8e6; color: #8a5a00; }
.lookup-row__icon.is-error { background: #fdf0ee; color: var(--red); }
.lookup-row__main { min-width: 0; flex: 1; }
.lookup-row__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lookup-row__product { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.lookup-row__card { margin-top: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--muted); word-break: break-all; }
.lookup-row__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.lookup-chip {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(17, 17, 20, .025);
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.5;
}
.lookup-note { font-size: 11px; color: var(--muted); }
.lookup-row__status {
  flex: none;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.lookup-row__status.is-ok { color: var(--green); background: #edf8f1; border-color: #c9e8d4; }
.lookup-row__status.is-warn { color: #8a5a00; background: #fff8e6; border-color: #eed9a8; }
.lookup-row__status.is-error { color: var(--red); background: #fdf0ee; border-color: #efcbc4; }
.lookup-row__status.is-muted { color: var(--muted); background: rgba(17, 17, 20, .04); }

@media (max-width: 720px) {
  .topbar-inner { flex-wrap: wrap; }
  .top-tabs { order: 3; width: 100%; justify-content: center; }
  .top-tab { flex: 1; text-align: center; }
  .lookup-row { align-items: flex-start; flex-direction: column; gap: 8px; }
}
