/* Shared components for the dashboard and the marketplace (loaded after site.css). */
:root {
  --lime-soft: rgba(214, 255, 60, 0.12);
  --lime-line: rgba(214, 255, 60, 0.4);
  --surface: #14171e;
  --surface-2: #1a1e27;
  --radius: 16px;
}

.ic { width: 16px; height: 16px; flex: none; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.04); }
.btn-ghost.sm, .btn-lime.sm, .btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-ghost.danger { color: #fecdd3; border-color: rgba(251, 113, 133, 0.3); }
.btn-ghost.block { width: 100%; }
.btn-lime { animation: none; }
.btn-lime:hover { box-shadow: 0 0 24px rgba(214, 255, 60, 0.3); }
.linklike { background: none; border: 0; padding: 0; color: var(--lime); font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.linklike:hover { text-decoration: underline; }

/* Forms */
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.field-hint { color: var(--faint); font-weight: 400; }
.field > span { color: var(--muted); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--lime-line); outline-offset: 0; border-color: var(--lime-line); }
input[type="checkbox"] { width: auto; accent-color: var(--lime); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.form-card { display: grid; gap: 14px; align-content: start; }
.form-card h2, .form-card legend { margin: 0; font-size: 17px; }
fieldset.form-card { border: 1px solid var(--line); min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check-pill { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px; background: var(--inset); color: var(--text); font-size: 13px; cursor: pointer; }
.check-pill:has(input:checked) { border-color: var(--lime-line); background: var(--lime-soft); }
.notice { color: var(--amber); background: rgba(245, 193, 108, 0.08); border: 1px solid rgba(245, 193, 108, 0.28); border-radius: 10px; padding: 10px 12px; margin: 0; }
.prose { color: #d4d4d8; line-height: 1.65; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.reject { color: #fecdd3; }

/* Page chrome */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 4px 0 18px; }
.page-head h1 { margin: 0 0 6px; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -0.04em; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.page-head p { margin: 0; max-width: 70ch; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; margin-bottom: 16px; align-content: start; }
.panel h2 { margin: 0; font-size: 17px; }
.work .card, .market-wrap .card { border-radius: var(--radius); }
.discord-gate { border-color: rgba(214, 255, 60, 0.45); }
.discord-gate h2 { margin-top: 0; }
.cards .card { position: relative; overflow: hidden; }
.cards .card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: linear-gradient(90deg, var(--lime), transparent); opacity: 0.55; }
.cards .kicker { font-size: 11px; color: var(--faint); }

/* Chips and badges */
.chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); white-space: nowrap; text-transform: capitalize; }
.chip .ic { width: 12px; height: 12px; }
.chip-ok { color: var(--lime); background: var(--lime-soft); border-color: rgba(214, 255, 60, 0.28); }
.chip-hot { color: #1a1300; background: var(--amber); border-color: transparent; }
button.chip-button { cursor: pointer; text-transform: none; }
button.chip-button:hover { border-color: var(--lime-line); color: var(--text); }
.chip-active, .chip-completed, .chip-delivered, .chip-held { color: var(--lime); background: var(--lime-soft); border-color: rgba(214, 255, 60, 0.28); }
.chip-pending, .chip-pending_payment, .chip-paused { color: var(--amber); background: rgba(245, 193, 108, 0.1); border-color: rgba(245, 193, 108, 0.3); }
.chip-disputed, .chip-rejected, .chip-removed, .chip-cancelled, .chip-refund_marked { color: #fecdd3; background: rgba(251, 113, 133, 0.1); border-color: rgba(251, 113, 133, 0.3); }
.chip-sold { color: #c4b5fd; background: rgba(167, 139, 250, 0.12); border-color: rgba(167, 139, 250, 0.3); }
.rarity-legendary { color: #1a1300; background: linear-gradient(90deg, #f5c16c, #ffe29a); border-color: transparent; }
.rarity-epic { color: #f0d9ff; background: rgba(192, 132, 252, 0.2); border-color: rgba(192, 132, 252, 0.45); }
.rarity-rare { color: #bfe3ff; background: rgba(96, 165, 250, 0.18); border-color: rgba(96, 165, 250, 0.4); }
.rarity-uncommon { color: #c9ffd3; background: rgba(74, 222, 128, 0.14); border-color: rgba(74, 222, 128, 0.35); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips:empty::before { content: "Checks you run show up here."; color: var(--faint); font-size: 14px; }

/* Avatars and stars */
.avatar { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; font-weight: 800; color: var(--ink); background: var(--lime); }
.avatar.sm { width: 26px; height: 26px; font-size: 12px; }
.avatar.lg { width: 52px; height: 52px; font-size: 20px; }
.avatar.xl { width: 104px; height: 104px; font-size: 40px; border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hue-0 { background: #d6ff3c; } .hue-1 { background: #7dd3fc; } .hue-2 { background: #f5c16c; } .hue-3 { background: #fda4af; }
.hue-4 { background: #c4b5fd; } .hue-5 { background: #86efac; } .hue-6 { background: #fdba74; } .hue-7 { background: #5eead4; }
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.stars-row { display: inline-flex; gap: 1px; }
.stars-row .ic { width: 13px; height: 13px; }
.stars .ic.on { color: var(--amber); }
.stars .ic.off { color: #3f3f46; }
.stars-count, .stars-none { color: var(--faint); }

/* Skeletons */
.skel { border-radius: 8px; background: linear-gradient(90deg, #171a21 25%, #232733 50%, #171a21 75%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skel-media { aspect-ratio: 4 / 3; border-radius: 0; }
.skel-line { height: 12px; margin-bottom: 10px; }
.skel-title { height: 30px; width: 220px; margin-bottom: 12px; }
.skel-card { height: 160px; border-radius: var(--radius); }
.skel-stack { display: grid; gap: 10px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w80 { width: 80%; }

/* Toasts */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: grid; gap: 8px; }
.toast { background: #1d212b; border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); max-width: 340px; font-size: 14px; }
.toast-ok { border-left-color: var(--lime); }
.toast-error { border-left-color: var(--rose); }

/* Lists */
.list-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: inherit; margin-bottom: 8px; transition: border-color 0.15s ease, transform 0.15s ease; }
a.list-row:hover { border-color: var(--lime-line); transform: translateY(-1px); }
.list-row.unread { border-color: var(--lime-line); background: linear-gradient(90deg, var(--lime-soft), var(--surface) 40%); }
.list-main { display: grid; gap: 3px; flex: 1; min-width: 0; }
.list-main .note.clamp, .clamp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-thumb { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; flex: none; background: var(--surface-2); display: grid; place-items: center; }
.list-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; font-weight: 800; color: var(--ink); }
.list-thumb .thumb-ph { background: var(--lime); }
.list { display: grid; gap: 8px; }
.empty-state { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 44px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(18, 20, 26, 0.45); }
.empty-state .ic { width: 34px; height: 34px; color: var(--faint); }
.empty-state h3 { margin: 0; font-size: 18px; }
.empty-state p { margin: 0 0 6px; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0 16px; overflow-x: auto; }
.tab { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 10px 14px; font-weight: 700; white-space: nowrap; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.on { color: var(--lime); border-bottom-color: var(--lime); }

/* Dashboard bits */
.toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 200px auto; gap: 10px; align-items: center; margin-bottom: 14px; }
.check-form { display: flex; gap: 10px; }
.check-form input { flex: 1; }
.check-form button { flex: none; }
.big-input { height: 56px; font-size: 22px; font-family: var(--mono); letter-spacing: 0.02em; }
.result-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--inset); }
.result-card.result-available { border-color: var(--lime-line); background: linear-gradient(90deg, var(--lime-soft), var(--inset)); }
.result-card.result-taken { border-color: rgba(255, 255, 255, 0.12); }
.result-card.result-invalid, .result-card.result-error { border-color: rgba(251, 113, 133, 0.35); }
.result-name { font-size: 28px; letter-spacing: -0.03em; font-family: var(--mono); }
.result-card p { margin: 4px 0 0; }
.watch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.watch-card { display: grid; gap: 10px; justify-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.watch-name { font-size: 20px; font-family: var(--mono); letter-spacing: -0.02em; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--inset); color: var(--text); font-size: 15px; cursor: pointer; }
.switch-row > span:first-child { display: grid; gap: 2px; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 44px; height: 24px; border-radius: 99px; background: #3f3f46; position: relative; flex: none; transition: background 0.15s ease; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.15s ease; }
.switch-row input:checked ~ .switch { background: var(--lime); }
.switch-row input:checked ~ .switch::after { transform: translateX(20px); background: var(--ink); }
.switch-row input:focus-visible ~ .switch { outline: 2px solid var(--lime); outline-offset: 2px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 16px; }
.mini-card { display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.15s ease; }
.mini-card:hover { border-color: var(--lime-line); transform: translateY(-2px); }
.mini-media { aspect-ratio: 16 / 9; display: grid; place-items: center; background: var(--surface-2); overflow: hidden; }
.mini-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-media .thumb-ph { background: linear-gradient(135deg, #20260f, #12141a); color: var(--lime); font-size: 28px; letter-spacing: -0.04em; }
.mini-body { display: grid; gap: 4px; padding: 12px; }
.price-tag { color: var(--lime); font-weight: 800; }
.row { transition: border-color 0.15s ease; }
.row:hover { border-color: rgba(255, 255, 255, 0.16); }
.table-wrap table th { color: var(--faint); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(255, 255, 255, 0.02); }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap tr:hover td { background: rgba(255, 255, 255, 0.02); }
.side .brand { font-size: 17px; }

/* Stepper and chat (order pages) */
ol.stepper { list-style: none; display: flex; gap: 8px; padding: 0; margin: 14px 0; flex-wrap: wrap; counter-reset: step; }
ol.stepper li { counter-increment: step; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 99px; background: #1d2028; color: var(--muted); font-size: 13px; font-weight: 600; }
ol.stepper li::before { content: counter(step); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #2c303b; font-size: 11px; }
ol.stepper li.on { background: var(--lime-soft); color: var(--lime); }
ol.stepper li.on::before { content: "✓"; background: var(--lime); color: var(--ink); }
.order-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.order-summary strong { font-size: 28px; margin: 0; }
.order-summary .note { display: block; }
.chat-card { margin-top: 16px; display: grid; gap: 10px; }
.chat-card h2 { margin: 0; font-size: 17px; }
.bubble { max-width: 78%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #1d2028; border: 1px solid var(--line); }
.bubble.mine { justify-self: end; background: var(--lime-soft); border-color: rgba(214, 255, 60, 0.25); border-radius: 16px 16px 4px 16px; }
.bubble p { margin: 2px 0; overflow-wrap: anywhere; }
.bubble small { color: var(--faint); text-transform: capitalize; }

/* Uploader */
.uploader { display: grid; gap: 12px; }
.drop-zone { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 16px; border: 2px dashed rgba(255, 255, 255, 0.16); border-radius: var(--radius); background: var(--inset); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
.drop-zone .ic { width: 28px; height: 28px; color: var(--lime); }
.drop-zone:hover, .drop-zone.is-over { border-color: var(--lime); background: var(--lime-soft); }
.drop-zone.is-full { opacity: 0.5; }
.drop-text strong { color: var(--text); }
.upload-problems { color: #fecdd3; font-size: 13px; }
.upload-problems:empty { display: none; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.thumb { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); background: var(--surface-2); cursor: grab; }
.thumb.is-cover { border-color: var(--lime); }
.thumb.dragging { opacity: 0.4; }
.thumb.drop-target { border-color: var(--amber); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb-tag { position: absolute; top: 6px; left: 6px; padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; background: var(--lime); color: var(--ink); }
.thumb-tag.thumb-new { background: var(--amber); }
.thumb-tools { position: absolute; inset: auto 0 0 0; display: flex; justify-content: space-between; gap: 4px; padding: 6px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); }
.thumb-btn { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; padding: 0; }
.thumb-btn:hover:not(:disabled) { background: var(--lime); color: var(--ink); }
.thumb-del:hover:not(:disabled) { background: var(--rose); color: #fff; }
.single { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.single-banner { flex-direction: column; align-items: stretch; }
.single-preview { display: grid; place-items: center; overflow: hidden; background: var(--surface-2); color: var(--ink); font-weight: 800; font-size: 32px; flex: none; }
.single-preview.round { width: 96px; height: 96px; border-radius: 50%; }
.single-preview.wide { width: 100%; aspect-ratio: 4 / 1; border-radius: 14px; color: var(--faint); }
.single-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-meta { display: grid; gap: 6px; }
.single-meta p { margin: 0; }

/* Lightbox */
.no-scroll { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(5, 6, 8, 0.94); padding: 56px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; box-shadow: var(--shadow); }
.lightbox-btn { position: absolute; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.08); color: #fff; padding: 0; }
.lightbox-btn:hover { background: var(--lime); color: var(--ink); }
.lightbox-btn .ic { width: 22px; height: 22px; }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 14px; font-family: var(--mono); }

/* Username mode picker */
.mode-studio { display: grid; gap: 14px; }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.mode-card {
  text-align: left;
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface-2, #1a1e27);
  color: inherit;
  min-height: 124px;
}
.mode-card strong { font-size: 15px; letter-spacing: -0.03em; }
.mode-card .note { font-size: 13px; font-weight: 500; }
.mode-card.on { border-color: var(--lime-line); background: var(--lime-soft); box-shadow: inset 0 0 0 1px var(--lime-line); }
.mode-card:hover { border-color: var(--lime-line); }
.mode-card.locked { cursor: not-allowed; border-style: dashed; }
.mode-card.locked:hover { border-color: var(--line); }
.mode-card.locked > :not(.mode-upgrade) { opacity: 0.45; filter: grayscale(1); }
.mode-card.locked .mode-upgrade { justify-self: start; opacity: 1; }
.plan-modes .checks { margin: 8px 0; }
.mode-examples, .mode-live-examples { font-family: var(--mono); font-size: 12px; color: var(--lime); letter-spacing: 0.01em; min-height: 1em; }
.mode-estimate { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--inset); border: 1px solid var(--line); line-height: 1.5; }
.mode-options { display: grid; gap: 12px; }
.mode-actions { flex-wrap: wrap; }
.mode-studio textarea { min-height: 140px; width: 100%; }

@media (max-width: 760px) {
  .grid-2, .grid-3, .two-col, .toolbar { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .check-form { flex-direction: column; }
  .lightbox { padding: 56px 12px; }
  .list-row { flex-wrap: wrap; }
  .bubble { max-width: 92%; }
}

/* Unified checker */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.checker-page { display: grid; gap: 14px; }
.checker-quota { margin: 0; }
.seg { display: flex; gap: 4px; padding: 4px; width: fit-content; max-width: 100%; overflow: auto; background: var(--inset); border: 1px solid var(--line); border-radius: 14px; }
.seg-btn { border: 0; background: transparent; color: var(--muted); border-radius: 10px; padding: 8px 14px; font-weight: 700; white-space: nowrap; }
.seg-btn:hover { color: var(--text); }
.seg-btn[aria-selected="true"], .seg-btn[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.seg-mini { width: auto; }
.checker-layout { display: grid; grid-template-columns: minmax(280px, 440px) minmax(0, 1fr); gap: 16px; align-items: start; }
.checker-controls textarea { width: 100%; min-height: 140px; }
.checker-results { position: sticky; top: 78px; }
.checker-status { margin: 0; color: var(--text); font-weight: 600; }
.checker-progress { width: 100%; height: 8px; }
.checker-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.checker-stat { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); }
.checker-stat span { color: var(--faint); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.checker-stat strong { font-size: 16px; letter-spacing: -0.03em; }
.checker-transport, .checker-tools, .checker-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.checker-list { display: grid; gap: 8px; }
.result-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); border-left-width: 4px; background: var(--surface); animation: result-in 0.22s ease; }
.result-main { display: grid; gap: 4px; flex: 1; min-width: 0; }
.result-main strong { font-family: var(--mono); font-size: 16px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.result-main p { margin: 0; }
.result-row.status-available { border-left-color: var(--lime); background: linear-gradient(90deg, var(--lime-soft), var(--surface) 55%); }
.result-row.status-taken { border-left-color: #a1a1aa; }
.result-row.status-invalid { border-left-color: #f5c16c; }
.result-row.status-error { border-left-color: #fb7185; }
.result-row.status-waiting { border-left-color: #7dd3fc; }
.badge-now { justify-self: start; background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 99px; padding: 3px 8px; }
.file-btn { cursor: pointer; }
.side button.has-alert::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(214, 255, 60, 0.16); }
@keyframes result-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .checker-layout { grid-template-columns: 1fr; }
  .checker-results { position: static; }
  .checker-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .seg { width: 100%; }
  .seg-btn { flex: 1; text-align: center; }
  .checker-actions .btn-lime, .checker-actions .btn-ghost, .checker-actions .file-btn { width: 100%; justify-content: center; }
}
/* Admin: dispute cards and order filters */
.adm-dispute { display: grid; gap: 10px; margin-bottom: 16px; }
.adm-dispute h3 { font-size: 15px; margin: 6px 0 0; }
.adm-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.adm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.adm-fact { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); }
.adm-fact small { color: var(--faint); text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; font-weight: 700; }
.adm-steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); font-size: 14px; }
.adm-steps .adm-step-alert { color: #fecdd3; }
.adm-steps .adm-step-done { color: var(--text); }
.adm-chat { display: grid; gap: 6px; max-height: 320px; overflow: auto; padding: 8px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line); }
.adm-msg { padding: 8px 12px; border-radius: 10px; background: #1d2028; }
.adm-msg p { margin: 2px 0 0; overflow-wrap: anywhere; }
.adm-msg small { color: var(--faint); }
.adm-system { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.adm-admin { border: 1px solid rgba(251, 113, 133, 0.4); }
.adm-seller { border-left: 3px solid var(--amber); }
.adm-buyer { border-left: 3px solid var(--lime); }
.inline .btn-ghost.on { background: var(--lime-soft); border-color: var(--lime-line); color: var(--lime); }
@media (prefers-reduced-motion: reduce) {
  .skel, .result-row { animation: none; }
}
