:root {
  --navy-950: #030d1e;
  --navy-900: #071a35;
  --navy-800: #0b2850;
  --navy-700: #123e72;
  --gold: #e5aa18;
  --gold-light: #f7cf58;
  --cream: #fffaf0;
  --paper: #f6f4ee;
  --white: #ffffff;
  --ink: #101828;
  --muted: #667085;
  --line: #e5e7eb;
  --success: #13795b;
  --danger: #b42318;
  --shadow: 0 18px 55px rgba(7, 26, 53, .11);
  --radius: 18px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.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; }

.site-header {
  height: 82px;
  padding: 0 clamp(20px, 4vw, 68px);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(7,26,53,.08);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}
.brand { width: 205px; height: 58px; display: flex; align-items: center; gap: 10px; }
.brand > img { width: 44px; height: 44px; }
.brand-wordmark { display: grid; line-height: .95; font-family: "Space Grotesk", sans-serif; }
.brand-wordmark strong { color: var(--navy-900); font-size: 1.25rem; letter-spacing: -.045em; }
.brand-wordmark b { color: var(--gold); font-size: .82rem; letter-spacing: .04em; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: .9rem; font-weight: 700; color: #536071; }
.nav-links a { padding: 28px 0 25px; border-bottom: 3px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--navy-900); border-color: var(--gold); }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.inline-form, .card-actions form, .detail-actions form { display: contents; }
.button {
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: .88rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--gold); color: var(--navy-950); box-shadow: 0 8px 20px rgba(229,170,24,.24); }
.button-primary:hover { background: var(--gold-light); }
.button-dark { background: var(--navy-900); color: white; }
.button-liked { background: #ffe8ec; border-color: #f4a8b5; color: #a51d37; }
.button-saved { background: #fff5d7; border-color: #e3c157; color: #725400; }
.button-ghost { border-color: var(--line); background: white; color: var(--navy-900); }
.button-manage { margin-left: auto; background: #fff7df; border-color: #e7c45f; color: #725400; }
.button-danger { background: var(--danger); color: white; }
.button-danger:hover { background: #8f1d15; }
.button-wide { width: 100%; }
.avatar-button, .mini-avatar, .profile-avatar {
  border: 0;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-light);
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}
.avatar-button { width: 42px; height: 42px; cursor: pointer; }
.mini-avatar { width: 30px; height: 30px; flex: 0 0 auto; font-size: .76rem; }

main { min-height: calc(100vh - 250px); }
.feed-intro {
  background:
    radial-gradient(circle at 82% 12%, rgba(229,170,24,.16), transparent 23%),
    linear-gradient(132deg, var(--navy-950), var(--navy-800));
  color: white;
  min-height: 305px;
  padding: 58px max(6vw, 24px) 50px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.feed-intro::after { content: ""; position: absolute; width: 280px; height: 390px; border: 1px solid rgba(255,255,255,.11); border-radius: 25px; right: 15%; top: -130px; transform: rotate(18deg); box-shadow: 35px 25px 0 rgba(255,255,255,.025), 70px 50px 0 rgba(255,255,255,.018); }
.eyebrow { margin: 0 0 9px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 800; }
h1, h2 { font-family: "Space Grotesk", "Manrope", sans-serif; line-height: 1.05; }
.feed-intro h1 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.1rem); letter-spacing: -.055em; max-width: 780px; }
.feed-intro h1 span { color: var(--gold-light); }
.intro-copy { margin: 18px 0 0; color: #c8d3e3; font-size: 1.05rem; }
.intro-stat { z-index: 1; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); padding: 13px 17px; border-radius: 15px; backdrop-filter: blur(8px); }
.intro-stat strong, .intro-stat small { display: block; }
.intro-stat strong { font-size: .9rem; }
.intro-stat small { color: #aebed0; font-size: .72rem; }
.live-dot { width: 9px; height: 9px; background: #45d39e; border-radius: 50%; box-shadow: 0 0 0 5px rgba(69,211,158,.12); }

.discovery-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 38px auto 80px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.filter-bar {
  width: 100%;
  margin: 0;
  background: white;
  padding: 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  position: sticky;
  top: 102px;
  z-index: 2;
}
.filter-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.filter-heading strong, .filter-heading small { display: block; }
.filter-heading strong { color: var(--navy-900); font-size: 1rem; }
.filter-heading small { margin-top: 2px; color: var(--muted); font-size: .65rem; }
.filter-heading a { color: var(--navy-700); font-size: .7rem; font-weight: 800; }
.discovery-results { min-width: 0; }
.search-field { display: flex; align-items: center; gap: 10px; background: #f8f9fb; border: 1px solid var(--line); padding: 0 14px; border-radius: 10px; }
.search-field span { font-size: 1.5rem; color: var(--muted); transform: rotate(-15deg); }
.search-field input { border: 0; background: transparent; padding: 10px 0; min-width: 0; width: 100%; outline: none; }
select, input, textarea { color: var(--ink); }
.filter-bar select { width: 100%; height: 46px; padding: 0 36px 0 13px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.check-pill {
  --pill-accent: var(--navy-700);
  --pill-soft: #f4f7fb;
  --pill-ring: rgba(18,62,114,.16);
  min-height: 58px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid #dfe4eb;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 7px rgba(7,26,53,.035);
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.check-pill:hover { border-color: var(--pill-accent); background: var(--pill-soft); transform: translateY(-1px); box-shadow: 0 7px 17px var(--pill-ring); }
.check-pill input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.check-pill span { width: 100%; display: grid; grid-template-columns: 25px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.check-pill span::before {
  content: "";
  grid-column: 1;
  grid-row: 1 / 3;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid #c5ccd6;
  border-radius: 7px;
  background: #fff;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.check-pill b { grid-column: 2; color: var(--navy-900); font-size: .84rem; line-height: 1.25; }
.check-pill small { grid-column: 2; color: var(--muted); font-size: .66rem; font-weight: 600; line-height: 1.25; }
.check-pill input:focus-visible + span::before { outline: 3px solid var(--pill-ring); outline-offset: 2px; }
.check-pill input:checked + span::before { content: "✓"; border-color: var(--pill-accent); background: var(--pill-accent); box-shadow: 0 0 0 4px var(--pill-ring); }
.check-pill:has(input:checked) { border-color: var(--pill-accent); background: var(--pill-soft); box-shadow: 0 7px 18px var(--pill-ring); }
.check-pill-sale { --pill-accent: #b77900; --pill-soft: #fff8e1; --pill-ring: rgba(183,121,0,.15); }
.check-pill-trade { --pill-accent: #08775c; --pill-soft: #eaf9f4; --pill-ring: rgba(8,119,92,.14); }
.check-pill-wanted { --pill-accent: #6246b5; --pill-soft: #f3efff; --pill-ring: rgba(98,70,181,.15); }

.pull-grid { width: 100%; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.pull-card { background: white; border: 1px solid rgba(7,26,53,.08); border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 28px rgba(7,26,53,.06); transition: transform .2s ease, box-shadow .2s ease; }
.pull-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.image-button { border: 0; padding: 0; background: #e9edf2; width: 100%; display: block; cursor: zoom-in; position: relative; overflow: hidden; }
.pull-card .image-button { aspect-ratio: 4 / 4.2; }
.image-button img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.image-button:hover img { transform: scale(1.025); }
.zoom-hint { position: absolute; right: 12px; bottom: 12px; background: rgba(3,13,30,.82); color: white; border-radius: 8px; padding: 6px 9px; font-size: .7rem; font-weight: 700; opacity: 0; transform: translateY(5px); transition: .2s ease; }
.image-button:hover .zoom-hint, .image-button:focus-visible .zoom-hint { opacity: 1; transform: translateY(0); }
.sale-chip { position: absolute; left: 12px; top: 12px; background: var(--gold); color: var(--navy-950); padding: 7px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.collection-chip { position: absolute; right: 12px; top: 12px; padding: 7px 10px; border-radius: 999px; background: var(--navy-900); color: white; font-size: .68rem; font-weight: 800; }
.detail-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin-top: 10px; }
.detail-thumbnails button { padding: 0; aspect-ratio: 1; overflow: hidden; border: 2px solid transparent; border-radius: 9px; background: #eef1f5; cursor: pointer; }
.detail-thumbnails button.active { border-color: var(--gold); }
.detail-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.edit-gallery-manager { display: grid; grid-template-columns: repeat(auto-fill, minmax(95px, 1fr)); gap: 10px; margin-bottom: 16px; }
.edit-gallery-manager article { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; }
.edit-gallery-manager img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.edit-gallery-manager form { padding: 6px 8px; text-align: center; }
.gallery-management { margin-bottom: 18px; padding: 20px; }
.sold-chip { background: var(--navy-900); color: white; }
.trade-chip { background: #dff7ef; color: #075d47; }
.wanted-chip { background: #ece8ff; color: #4e3d9a; }
.featured-chip { position: absolute; right: 12px; top: 12px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.94); color: #725400; box-shadow: 0 4px 14px rgba(0,0,0,.12); font-size: .68rem; font-weight: 900; }
.card-body { padding: 18px 18px 13px; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 800; color: var(--navy-700); }
.card-kicker time { color: #98a2b3; font-weight: 600; letter-spacing: 0; text-transform: none; }
.card-body h2 { margin: 8px 0 5px; font-size: 1.36rem; letter-spacing: -.025em; }
.card-body h2 a:hover { color: var(--navy-700); }
.rarity { margin: 0; color: var(--muted); font-size: .82rem; }
.grade-row { border-top: 1px solid #edf0f3; margin-top: 17px; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grade-badge { min-width: 62px; height: 42px; border: 1px solid #d6af43; border-radius: 7px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: #fffaf0; color: var(--navy-900); }
.grade-badge small { font-size: .58rem; font-weight: 900; padding-left: 7px; }
.grade-badge strong { height: 100%; min-width: 28px; display: grid; place-items: center; background: var(--gold); font-size: .9rem; }
.collector { display: flex; align-items: center; gap: 7px; font-size: .75rem; color: var(--muted); font-weight: 700; }
.card-actions { margin: 15px -18px -13px; padding: 11px 16px; background: #fafbfc; display: flex; gap: 6px; border-top: 1px solid #edf0f3; }
.card-actions button, .card-actions a { border: 0; background: transparent; min-height: 34px; padding: 5px 8px; cursor: pointer; color: #536071; font-weight: 800; font-size: .8rem; display: inline-flex; align-items: center; gap: 4px; }
.card-actions button:hover, .card-actions a:hover { color: var(--navy-900); background: #eef1f5; border-radius: 7px; }
.card-actions .active-action { color: #a51d37; background: #fff0f2; border-radius: 7px; }
.push-right { margin-left: auto; }
.pagination { width: 100%; margin: 30px auto 0; display: flex; justify-content: center; align-items: center; gap: 18px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.pagination a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--navy-700); }

.account-menu { position: relative; }
.account-menu summary { list-style: none; cursor: pointer; position: relative; }
.account-menu summary::-webkit-details-marker { display: none; }
.notification-dot { position: absolute; right: -5px; top: -6px; min-width: 19px; height: 19px; padding: 0 4px; display: grid; place-items: center; border: 2px solid white; border-radius: 999px; background: var(--danger); color: white; font-size: .58rem; line-height: 1; }
.account-popover { position: absolute; z-index: 30; right: 0; top: 53px; width: 255px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
.account-popover::before { content: ""; position: absolute; right: 15px; top: -6px; width: 11px; height: 11px; transform: rotate(45deg); background: white; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.account-identity { padding: 11px 11px 13px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.account-identity strong, .account-identity span { display: block; overflow: hidden; text-overflow: ellipsis; }
.account-identity strong { color: var(--navy-900); }
.account-identity span { color: var(--muted); font-size: .7rem; }
.account-popover > a, .account-popover form button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 9px 11px; border: 0; border-radius: 8px; background: transparent; color: #344054; font-size: .8rem; font-weight: 700; text-align: left; cursor: pointer; }
.account-popover > a:hover, .account-popover form button:hover { background: #f3f5f7; color: var(--navy-900); }
.account-popover a b { padding: 2px 6px; border-radius: 20px; background: #fff0ee; color: var(--danger); font-size: .6rem; }
.account-popover form { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 5px; }

.flash { width: min(760px, calc(100% - 40px)); position: fixed; z-index: 50; left: 50%; transform: translateX(-50%); top: 94px; border-radius: 11px; padding: 12px 16px; box-shadow: var(--shadow); text-align: center; font-weight: 700; font-size: .88rem; animation: flash-in .25s ease; }
.flash-success { background: #e7f8f1; color: #08634a; border: 1px solid #a9e3cf; }
.flash-error { background: #fff0ee; color: #912018; border: 1px solid #f4b6b1; }
.flash-info { background: #eef4ff; color: #194f94; border: 1px solid #bfd3f5; }
.flash-dismissed { opacity: 0; transform: translate(-50%,-8px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
@keyframes flash-in { from { opacity: 0; transform: translate(-50%,-8px); } }

.auth-layout { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 1fr 1fr; background: white; }
.auth-copy { background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); color: white; padding: clamp(60px, 10vw, 150px) clamp(32px, 8vw, 120px); position: relative; overflow: hidden; }
.auth-copy::after { content: ""; position: absolute; width: 260px; height: 370px; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; right: -90px; bottom: -100px; transform: rotate(20deg); }
.auth-copy h1, .page-heading h1, .profile-header h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); margin: 0 0 18px; letter-spacing: -.055em; }
.auth-copy > p:not(.eyebrow) { color: #c0ccda; max-width: 510px; font-size: 1.05rem; }
.quote-card { margin-top: 70px; padding: 20px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); border-radius: 14px; max-width: 430px; color: var(--gold-light); font-weight: 700; }
.auth-form { align-self: center; width: min(460px, calc(100% - 48px)); margin: 50px auto; }
.panel { background: white; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-form h2 { margin: 0 0 26px; font-size: 1.8rem; }
.auth-form label, .pull-form label { display: grid; gap: 7px; margin-bottom: 18px; font-size: .83rem; font-weight: 800; color: #344054; }
.auth-form input, .pull-form input, .pull-form select, .pull-form textarea { width: 100%; border: 1px solid #d0d5dd; border-radius: 10px; padding: 11px 13px; outline: none; background: white; }
.auth-form input:focus, .pull-form input:focus, .pull-form select:focus, .pull-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(229,170,24,.13); }
.form-switch { text-align: center; font-size: .83rem; color: var(--muted); }
.form-switch a { color: var(--navy-700); font-weight: 800; }
.demo-note { padding: 10px; border-radius: 8px; background: #f3f5f7; text-align: center; font-size: .74rem; color: var(--muted); }

.form-page { padding: 65px 20px 90px; }
.page-heading { width: min(900px, 100%); margin: 0 auto 32px; }
.page-heading h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); margin-bottom: 10px; color: var(--navy-900); }
.page-heading > p:last-child { color: var(--muted); }
.pull-form { width: min(900px, 100%); margin: auto; }
.upload-type-picker { margin: 0 0 24px; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.upload-type-picker legend { grid-column: 1 / -1; margin-bottom: 10px; color: var(--navy-900); font-size: .82rem; font-weight: 900; }
.pull-form .upload-type-picker label { margin: 0; padding: 16px; display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; border: 1px solid #d0d5dd; border-radius: 12px; background: #fff; cursor: pointer; }
.pull-form .upload-type-picker label:has(input:checked) { border-color: var(--gold); background: #fff9e7; box-shadow: 0 0 0 3px rgba(229,170,24,.12); }
.pull-form .upload-type-picker input { width: 18px; height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--gold); }
.upload-type-picker strong, .upload-type-picker small { display: block; }
.upload-type-picker strong { color: var(--navy-900); font-size: .82rem; }
.upload-type-picker small { margin-top: 3px; color: var(--muted); font-size: .68rem; font-weight: 500; line-height: 1.4; }
.upload-zone { min-height: 250px; border: 2px dashed #cbd2da !important; border-radius: 14px; background: #f8fafc; place-items: center; align-content: center; position: relative; overflow: hidden; cursor: pointer; margin-bottom: 28px !important; }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.upload-zone strong, .upload-zone small, .upload-icon { position: relative; z-index: 1; }
.upload-zone small { color: var(--muted); font-weight: 500; }
.upload-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: white; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 4px; }
.upload-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.upload-preview.visible { opacity: 1; }
.current-image { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 14px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f8fafc; }
.current-image img { width: 120px; height: 100px; object-fit: contain; border-radius: 9px; background: #e9edf2; }
.current-image strong, .current-image span { display: block; }
.current-image span { color: var(--muted); font-size: .8rem; margin-top: 4px; }
.replacement-upload { padding: 14px; border: 1px dashed #bfc7d1; border-radius: 11px; background: #fbfcfd; }
.danger-zone { width: min(900px, 100%); margin: 24px auto 0; padding: 22px 25px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #efb1ac; border-radius: 15px; background: #fff8f7; }
.danger-zone h2 { margin: 0 0 4px; font-size: 1.1rem; color: #7a1c16; }
.danger-zone p { margin: 0; color: #92534f; font-size: .82rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.pull-form label span { color: var(--muted); font-weight: 500; }
.full-field { grid-column: 1 / -1; }
.pull-form textarea { resize: vertical; min-height: 120px; }
.form-footer { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.form-footer > a { color: var(--muted); font-weight: 700; font-size: .86rem; }

.detail-layout { width: min(1180px, calc(100% - 40px)); margin: 50px auto 90px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: clamp(35px, 6vw, 85px); align-items: start; }
.detail-media { position: sticky; top: 110px; }
.detail-media .image-button { border-radius: 22px; max-height: calc(100vh - 150px); box-shadow: var(--shadow); }
.detail-media img { max-height: calc(100vh - 150px); object-fit: contain; background: #e9edf2; }
.back-link { display: inline-block; margin: 0 0 38px; color: var(--muted); font-weight: 700; font-size: .84rem; }
.moderation-notice { margin: -20px 0 25px; padding: 12px 14px; border: 1px solid #efb1ac; border-radius: 10px; background: #fff8f7; color: #7a1c16; }
.moderation-notice strong, .moderation-notice span { display: block; }
.moderation-notice strong { font-size: .78rem; }
.moderation-notice span { font-size: .68rem; color: #92534f; }
.detail-content h1 { margin: 0 0 10px; font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -.05em; color: var(--navy-900); }
.detail-grade { margin: 28px 0; padding: 18px 0; border-block: 1px solid var(--line); display: flex; align-items: center; gap: 22px; }
.grade-badge.large { width: 84px; height: 54px; }
.grade-badge.large strong { font-size: 1.1rem; }
.detail-grade div small, .detail-grade div a { display: block; }
.detail-grade div small { color: var(--muted); font-size: .72rem; }
.detail-grade div a { font-weight: 800; color: var(--navy-700); }
.detail-reach { margin-left: auto; text-align: right; }
.detail-reach strong { font-size: .84rem; color: #344054; }
blockquote { margin: 25px 0; border-left: 3px solid var(--gold); padding: 2px 0 2px 18px; color: #344054; font-size: 1.02rem; }
.ebay-panel { padding: 16px 18px; background: var(--navy-900); color: white; border-radius: 13px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ebay-panel small, .ebay-panel strong { display: block; }
.ebay-panel small { color: #aebed0; font-size: .7rem; }
.ebay-panel strong { color: var(--gold-light); font-size: 1.15rem; }
.ebay-panel b { font-size: .8rem; }
.ebay-panel.sold-listing { background: #475467; }
.ebay-panel.sold-listing strong { color: white; }
.detail-actions { display: flex; gap: 10px; margin: 22px 0 35px; }
.button-quiet { border: 0; background: transparent; color: var(--muted); }
.comments { border-top: 1px solid var(--line); padding-top: 28px; }
.comments h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 8px; }
.comments h2 span { font-family: "Manrope"; color: var(--muted); font-size: .8rem; background: #edf0f3; padding: 2px 7px; border-radius: 20px; }
.comment-form { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: start; margin: 20px 0 28px; }
.comment-form textarea { resize: vertical; min-height: 70px; border: 1px solid #d0d5dd; border-radius: 10px; padding: 10px 12px; }
.comment { display: grid; grid-template-columns: 32px 1fr; gap: 11px; padding: 16px 0; border-top: 1px solid #edf0f3; }
.comment strong { font-size: .82rem; }
.comment time { margin-left: 9px; color: #98a2b3; font-size: .7rem; }
.comment p { margin: 4px 0 0; font-size: .88rem; color: #475467; }
.comment-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.comment-controls { display: flex; gap: 8px; }
.comment-controls form { display: contents; }
.comment-controls button { border: 0; padding: 2px; background: transparent; color: var(--muted); font-size: .68rem; cursor: pointer; }
.comment-controls button:hover { color: var(--danger); }
.sign-in-callout { background: #fff7df; border: 1px solid #efd88f; border-radius: 10px; padding: 13px; color: #735707; font-size: .85rem; }
.sign-in-callout a { font-weight: 900; text-decoration: underline; }

.profile-header { width: min(1180px, calc(100% - 40px)); margin: 60px auto 38px; background: linear-gradient(125deg, var(--navy-950), var(--navy-800)); color: white; border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; box-shadow: var(--shadow); }
.profile-header h1 { font-size: clamp(2.2rem, 4vw, 3.8rem); margin-bottom: 7px; }
.profile-header p:not(.eyebrow) { margin: 0; color: #b8c5d6; max-width: 650px; }
.profile-actions { display: flex; gap: 10px; margin-top: 16px; }
.profile-actions a { padding: 6px 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; color: white; font-size: .7rem; font-weight: 800; }
.profile-social-counts { display: flex; gap: 16px; margin-top: 12px; color: #dbe3ee; font-size: .72rem; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.profile-badges span { padding: 5px 8px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff4c8; font-size: .62rem; font-weight: 800; }
.profile-avatar { width: 86px; height: 86px; background: var(--gold); color: var(--navy-950); font-size: 2rem; border: 5px solid rgba(255,255,255,.15); }
.profile-count { text-align: center; min-width: 90px; padding-left: 25px; border-left: 1px solid rgba(255,255,255,.15); }
.profile-count strong, .profile-count span { display: block; }
.profile-count strong { color: var(--gold-light); font-size: 2rem; }
.profile-count span { color: #aebed0; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.compact-grid { margin-bottom: 90px; }
.owner-card-actions { margin: 16px -18px -13px; padding: 11px 18px; border-top: 1px solid #edf0f3; background: #fafbfc; display: flex; justify-content: space-between; gap: 12px; }
.owner-card-actions a { color: var(--navy-700); font-size: .78rem; font-weight: 800; }
.owner-card-actions a:last-child { color: #755700; }

.empty-state { grid-column: 1 / -1; text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 65px 25px; }
.empty-state > span { display: block; font-size: 2.5rem; color: var(--gold); font-weight: 800; }
.empty-state h2 { margin: 10px 0 6px; }
.empty-state p { color: var(--muted); margin: 0 0 20px; }
.not-found { width: min(700px, calc(100% - 40px)); margin: 80px auto; }
.not-found h1 { font-size: 2.4rem; margin: 10px 0; }

.workspace-shell { width: min(1400px, 100%); min-height: calc(100vh - 82px); margin: auto; display: grid; grid-template-columns: 245px 1fr; }
.workspace-sidebar { padding: 34px 20px; border-right: 1px solid var(--line); background: white; }
.workspace-user { display: flex; align-items: center; gap: 11px; padding: 0 7px 25px; border-bottom: 1px solid var(--line); }
.profile-avatar.small { width: 45px; height: 45px; border-width: 3px; font-size: 1rem; }
.workspace-user strong, .workspace-user small { display: block; }
.workspace-user strong { font-size: .85rem; color: var(--navy-900); }
.workspace-user small { font-size: .66rem; color: var(--muted); }
.workspace-sidebar nav { display: grid; gap: 5px; padding-top: 20px; }
.workspace-sidebar nav a { padding: 10px 12px; border-radius: 9px; color: #536071; font-size: .82rem; font-weight: 700; }
.workspace-sidebar nav a:hover, .workspace-sidebar nav a.active { background: #fff6d9; color: #6c5004; }
.workspace-sidebar nav a b { float: right; min-width: 22px; padding: 2px 6px; border-radius: 999px; background: #eef1f5; color: #667085; font-size: .62rem; text-align: center; }
.workspace-main { min-width: 0; padding: 48px clamp(24px, 4vw, 65px) 80px; }
.workspace-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.workspace-heading h1 { margin: 0 0 8px; color: var(--navy-900); font-size: clamp(2.25rem, 4vw, 4rem); letter-spacing: -.05em; }
.workspace-heading p:not(.eyebrow) { margin: 0; color: var(--muted); }
.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px,1fr)); gap: 16px; margin-bottom: 24px; }
.metric-grid article { min-height: 145px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 6px 20px rgba(7,26,53,.04); }
.metric-grid article > span, .metric-grid article > strong, .metric-grid article > small { display: block; }
.metric-grid article > span { color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.metric-grid article > strong { margin: 9px 0 4px; color: var(--navy-900); font-family: "Space Grotesk"; font-size: 2.15rem; }
.metric-grid article > small { color: #98a2b3; font-size: .7rem; }
.account-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 24px; }
.account-shortcuts a { min-height: 132px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(145deg, white, #f8fafc); box-shadow: 0 6px 20px rgba(7,26,53,.035); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.account-shortcuts a:hover { transform: translateY(-2px); border-color: #d1b85c; box-shadow: 0 10px 28px rgba(7,26,53,.08); }
.account-shortcuts span, .account-shortcuts strong, .account-shortcuts small { display: block; }
.account-shortcuts span { margin-bottom: 12px; color: #8a6800; font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.account-shortcuts strong { color: var(--navy-900); font-size: .88rem; }
.account-shortcuts small { margin-top: 5px; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.dashboard-columns { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 20px; }
.dashboard-panel { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 6px 20px rgba(7,26,53,.04); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.panel-heading h2 { margin: 0 0 4px; color: var(--navy-900); font-size: 1.16rem; }
.panel-heading p { margin: 0; color: var(--muted); font-size: .74rem; }
.panel-heading > a, .text-action { border: 0; background: transparent; color: var(--navy-700); font-size: .72rem; font-weight: 800; cursor: pointer; }
.management-list { display: grid; }
.management-list article { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0f3; }
.management-list img { width: 55px; height: 62px; object-fit: cover; border-radius: 8px; background: #eef1f5; }
.management-list strong, .management-list span, .management-list small { display: block; }
.management-list strong { font-size: .82rem; }
.management-list span { color: var(--muted); font-size: .7rem; }
.management-list small { color: #98a2b3; font-size: .64rem; }
.button-small { min-height: 34px; padding: 6px 10px; font-size: .7rem; }
.notification-list { display: grid; }
.notification-item { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 16px 12px 8px; border-top: 1px solid #edf0f3; border-radius: 8px; }
.notification-item:hover { background: #f8fafc; }
.notification-item.unread { background: #fff9e9; }
.notification-item.unread::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); position: absolute; right: 6px; top: 17px; }
.notification-item p { margin: 0; color: #475467; font-size: .76rem; }
.notification-item time { color: #98a2b3; font-size: .64rem; }
.account-management-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; margin-top: 20px; }
.account-item-list, .account-comment-list { display: grid; }
.account-item-list article { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 11px 0; border-top: 1px solid #edf0f3; }
.account-item-list img { width: 44px; height: 52px; border-radius: 7px; object-fit: cover; background: #eef1f5; }
.account-item-list strong, .account-item-list span { display: block; }
.account-item-list strong { color: var(--navy-900); font-size: .78rem; }
.account-item-list span { margin-top: 2px; color: var(--muted); font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.account-comment-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid #edf0f3; }
.account-comment-list p { margin: 0 0 4px; color: #344054; font-size: .78rem; line-height: 1.45; }
.account-comment-list span { color: var(--muted); font-size: .65rem; }
.account-comment-list span a { color: var(--navy-700); font-weight: 800; }
.danger-text { color: var(--danger); }
.account-control-strip { margin-top: 20px; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #d9dde3; border-radius: 15px; background: #f8fafc; }
.account-control-strip strong, .account-control-strip span { display: block; }
.account-control-strip strong { color: var(--navy-900); font-size: .86rem; }
.account-control-strip span { margin-top: 3px; color: var(--muted); font-size: .72rem; }
.account-warning-list { margin-top: 20px; padding: 20px 22px; border: 1px solid #efb1ac; border-radius: 15px; background: #fff8f7; }
.account-warning-list h2 { margin: 0 0 10px; color: #8e281f; font-size: 1rem; }
.account-warning-list article { padding: 10px 0; border-top: 1px solid #f3d4d1; }
.account-warning-list p { margin: 0 0 3px; color: #6f2923; font-size: .78rem; }
.account-warning-list small { color: var(--muted); font-size: .64rem; }
.account-section-panel { min-height: 430px; }
.management-list-full article { grid-template-columns: 68px minmax(0,1fr) auto; padding: 16px 0; }
.management-list-full img { width: 68px; height: 78px; }
.account-row-actions { display: flex; align-items: center; gap: 12px; }
.account-row-actions > a:first-child { color: var(--navy-700); font-size: .72rem; font-weight: 800; }
.account-item-list-full article { grid-template-columns: 62px minmax(0,1fr) auto; padding: 15px 0; }
.account-item-list-full img { width: 62px; height: 72px; }
.account-item-list-full strong { font-size: .86rem; }
.offer-list { display: grid; }
.offer-list article { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.offer-list img { width: 58px; height: 68px; border-radius: 8px; object-fit: cover; }
.offer-heading { display: flex; align-items: center; gap: 9px; }
.offer-list p { margin: 6px 0; color: #475467; font-size: .78rem; }
.offer-list small { color: var(--muted); font-size: .66rem; }
.offer-actions { display: flex; gap: 7px; }
.certificate-panel, .value-summary { margin: 14px 0; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; }
.certificate-panel span > *, .value-summary > * { display: block; }
.certificate-panel small, .value-summary span, .value-summary small { color: var(--muted); font-size: .68rem; }
.certificate-panel strong, .value-summary strong { color: var(--navy-900); }
.offer-panel { margin: 15px 0; padding: 16px; border: 1px solid #e1c45c; border-radius: 12px; background: #fffaf0; }
.offer-panel summary { cursor: pointer; color: var(--navy-900); font-weight: 800; }
.offer-panel form { display: grid; gap: 12px; margin-top: 15px; }
.offer-panel label { display: grid; gap: 5px; color: #344054; font-size: .72rem; font-weight: 800; }
.offer-panel input, .offer-panel textarea { width: 100%; padding: 10px; border: 1px solid #d0d5dd; border-radius: 9px; }
.collection-checklist { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.checklist-list article { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.checklist-list strong, .checklist-list small { display: block; }
.checklist-list small { color: var(--muted); font-size: .64rem; }
.checklist-form { display: grid; grid-template-columns: 1.3fr .6fr .7fr auto auto; gap: 8px; align-items: end; margin-top: 15px; }
.checklist-form input, .checklist-form select { min-width: 0; padding: 9px; border: 1px solid #d0d5dd; border-radius: 8px; }
.checklist-form label { display: flex; align-items: center; gap: 5px; font-size: .7rem; }
.panel-empty { padding: 35px 15px; text-align: center; color: var(--muted); font-size: .8rem; }
.panel-empty.large { padding: 80px 20px; border: 1px dashed #ccd3dc; border-radius: 15px; background: white; }
.panel-empty a { color: var(--navy-700); font-weight: 800; }

.settings-page { width: min(1100px, calc(100% - 40px)); margin: 55px auto 90px; }
.workspace-main .account-security-page { width: 100%; margin: 0; }
.settings-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; }
.settings-stack { display: grid; gap: 22px; }
.settings-card label { display: grid; gap: 7px; margin-bottom: 18px; color: #344054; font-size: .8rem; font-weight: 800; }
.settings-card input, .settings-card textarea { width: 100%; border: 1px solid #d0d5dd; border-radius: 10px; padding: 11px 13px; resize: vertical; }
.settings-card label small { color: var(--muted); font-weight: 500; }
.account-summary h2 { margin-top: 0; font-size: 1.1rem; }
.account-summary dl { margin: 0; }
.account-summary dl div { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid var(--line); font-size: .78rem; }
.account-summary dt { color: var(--muted); }
.account-summary dd { margin: 0; color: var(--navy-900); font-weight: 800; }
.privacy-panel { margin-top: 22px; padding: 22px 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.privacy-panel h2 { margin: 0 0 4px; font-size: 1.05rem; }
.privacy-panel p { margin: 0; color: var(--muted); font-size: .8rem; }
.account-danger { width: 100%; }
.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; margin-top: 22px; }
.inline-security-form { display: flex; gap: 9px; margin-top: 12px; }
.inline-security-form input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid #d0d5dd; border-radius: 9px; }
.recovery-code, .authenticator-secret { margin: 12px 0; padding: 14px; border: 1px dashed #d4ad36; border-radius: 10px; background: #fff9e7; }
.recovery-code small, .recovery-code strong, .authenticator-secret small, .authenticator-secret strong { display: block; }
.recovery-code strong, .authenticator-secret strong { margin-top: 5px; color: var(--navy-900); font-family: monospace; font-size: 1rem; letter-spacing: .08em; overflow-wrap: anywhere; }
.authenticator-secret p { margin: 7px 0 0; color: var(--muted); font-size: .68rem; }
.login-history { margin-top: 22px; }
.login-history-list article { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid var(--line); }
.login-history-list strong, .login-history-list span { display: block; }
.login-history-list span, .login-history-list time { color: var(--muted); font-size: .66rem; }

.admin-shell { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 255px 1fr; background: #f3f5f7; }
.admin-sidebar { min-height: calc(100vh - 82px); padding: 35px 20px 25px; background: var(--navy-950); color: white; display: flex; flex-direction: column; position: sticky; top: 82px; height: calc(100vh - 82px); }
.admin-sidebar h2 { margin: 0 0 4px; font-size: 1.25rem; }
.admin-sidebar > div > span { color: #8fa1b8; font-size: .68rem; }
.admin-sidebar nav { display: grid; gap: 4px; margin-top: 30px; }
.admin-sidebar nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 9px; color: #aebed0; font-size: .8rem; font-weight: 700; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(255,255,255,.09); color: white; }
.admin-sidebar nav b { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 20px; background: var(--danger); color: white; font-size: .62rem; }
.back-site { margin-top: auto; padding: 10px 12px; color: #8fa1b8; font-size: .76rem; }
.admin-main { min-width: 0; padding: 48px clamp(22px, 4vw, 60px) 80px; }
.admin-metrics article { position: relative; }
.admin-metrics article a { color: var(--navy-700); font-size: .7rem; font-weight: 800; }
.admin-metrics article.attention { border-color: #efb1ac; background: #fff8f7; }
.audit-list { display: grid; }
.audit-list article { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); font-size: .76rem; }
.audit-list span { text-transform: capitalize; color: #344054; }
.audit-list strong { color: var(--navy-700); }
.audit-list small { color: var(--muted); }
.admin-card-list { display: grid; gap: 16px; }
.admin-card-list.compact { grid-template-columns: repeat(2, minmax(0,1fr)); }
.admin-card { padding: 22px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 5px 18px rgba(7,26,53,.04); }
.admin-card-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.admin-card-title h2 { margin: 7px 0 0; font-size: 1.08rem; }
.admin-card-title > small, .reporter-line { color: var(--muted); font-size: .68rem; }
.status-pill { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: #eef1f5; color: #536071; font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.status-open, .status-hidden, .status-suspended, .status-banned { background: #ffebe9; color: #a3261e; }
.status-reviewing { background: #fff5d7; color: #725400; }
.status-resolved, .status-active, .status-visible { background: #e7f8f1; color: #08634a; }
.status-pending, .status-missing { background: #fff5d7; color: #725400; }
.status-accepted, .status-owned { background: #e7f8f1; color: #08634a; }
.status-declined { background: #ffebe9; color: #a3261e; }
.status-withdrawn { background: #eef1f5; color: #536071; }
.status-wanted { background: #ece8ff; color: #4e3d9a; }
.offer-sent-panel { margin-top: 18px; }
.reported-content { padding: 12px; border-radius: 9px; background: #f6f7f9; color: #344054; font-size: .82rem; }
.admin-inline-form, .table-form { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.admin-inline-form select, .admin-inline-form input, .table-form select { min-height: 36px; padding: 6px 9px; border: 1px solid #d0d5dd; border-radius: 8px; background: white; font-size: .72rem; }
.admin-inline-form input { flex: 1; min-width: 180px; }
.admin-inline-form > a { color: var(--navy-700); font-size: .7rem; font-weight: 800; margin-left: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 5px 18px rgba(7,26,53,.04); }
table { width: 100%; border-collapse: collapse; font-size: .76rem; }
th { padding: 13px 16px; text-align: left; background: #f8fafc; color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .07em; }
td { padding: 14px 16px; border-top: 1px solid var(--line); color: #475467; vertical-align: middle; }
td > strong, td > small { display: block; }
td > strong { color: var(--navy-900); }
td > small { color: var(--muted); font-size: .66rem; }
.table-pull { display: flex; align-items: center; gap: 10px; min-width: 190px; }
.table-pull img { width: 42px; height: 50px; object-fit: cover; border-radius: 6px; background: #eef1f5; }
.table-pull strong, .table-pull small { display: block; }
.table-pull small { color: var(--muted); font-size: .65rem; }
.inline-check { display: inline-flex; align-items: center; gap: 5px; font-size: .7rem; white-space: nowrap; }
.inline-check input { accent-color: var(--gold); }
.admin-add-form { margin-bottom: 20px; padding: 18px; display: grid; grid-template-columns: .8fr 1.3fr .5fr auto; gap: 12px; align-items: end; border: 1px solid var(--line); border-radius: 14px; background: white; }
.admin-add-form label { display: grid; gap: 5px; color: #475467; font-size: .7rem; font-weight: 800; }
.admin-add-form input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid #d0d5dd; border-radius: 9px; }
.collection-language-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.collection-language-tabs a { min-height: 58px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--line); border-radius: 13px; background: white; color: var(--navy-700); font-size: .82rem; font-weight: 850; box-shadow: 0 4px 14px rgba(7,26,53,.04); }
.collection-language-tabs a:hover { border-color: #91a4bc; transform: translateY(-1px); }
.collection-language-tabs a.active { border-color: var(--navy-900); background: var(--navy-900); color: white; }
.collection-language-tabs b { min-width: 34px; padding: 5px 8px; border-radius: 20px; background: #eef3f8; color: var(--navy-900); text-align: center; font-size: .68rem; }
.collection-language-tabs a.active b { background: rgba(255,255,255,.16); color: white; }
.collection-add-form { grid-template-columns: .7fr 1.25fr .55fr .55fr auto; }
.catalog-summary { margin: 0 0 12px; padding: 11px 15px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-radius: 12px; background: #f2f6fa; color: #526278; }
.catalog-summary div { display: flex; align-items: baseline; gap: 7px; }
.catalog-summary strong { color: var(--navy-900); font-size: 1.15rem; }
.catalog-summary span { font-size: .72rem; font-weight: 800; }
.catalog-summary p { margin: 0; font-size: .7rem; }
.set-code { display: inline-flex; padding: 4px 8px; border-radius: 6px; background: #f0f4f8; color: var(--navy-700); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .7rem; font-weight: 800; }
.table-wrap td small.english-translation { margin-top: 4px; color: #344f70; font-weight: 750; }
.warning-form { display: flex; gap: 7px; margin-top: 8px; }
.warning-form input { min-width: 190px; padding: 7px 9px; border: 1px solid #d0d5dd; border-radius: 8px; font-size: .7rem; }
.admin-user-workspace { display: grid; gap: 18px; margin-bottom: 26px; }
.admin-user-summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.admin-user-summary h2 { margin: 2px 0 7px; }
.admin-user-summary > a { margin-left: auto; color: var(--navy-700); font-size: .72rem; font-weight: 800; }
.admin-user-summary .status-pill { margin-right: 5px; }
.admin-user-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.admin-user-stats article { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.admin-user-stats strong, .admin-user-stats span { display: block; }
.admin-user-stats strong { color: var(--navy-900); font-size: 1.15rem; }
.admin-user-stats span { margin-top: 3px; color: var(--muted); font-size: .66rem; }
.admin-user-form { padding: 0; overflow: hidden; }
.admin-user-form > section { padding: 22px; border-bottom: 1px solid var(--line); }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.admin-form-grid > label:not(.admin-check-card) { display: grid; gap: 6px; color: #344054; font-size: .72rem; font-weight: 800; }
.admin-form-grid label > span { color: var(--muted); font-weight: 500; }
.admin-form-grid input:not([type="checkbox"]), .admin-form-grid select, .admin-form-grid textarea { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #d0d5dd; border-radius: 9px; background: white; resize: vertical; }
.admin-check-card { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; cursor: pointer; }
.admin-check-card input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gold); }
.admin-check-card strong, .admin-check-card small { display: block; }
.admin-check-card strong { color: var(--navy-900); font-size: .73rem; }
.admin-check-card small { margin-top: 3px; color: var(--muted); font-size: .62rem; }
.admin-user-form-footer { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: #f8fafc; }
.admin-user-form-footer a { color: var(--muted); font-size: .72rem; font-weight: 700; }
.admin-session-control { background: #fffdf6; }
.admin-account-danger { width: 100%; align-items: flex-start; }
.admin-delete-user-form { display: grid; grid-template-columns: minmax(140px,1fr) minmax(170px,1fr) auto; gap: 9px; align-items: center; }
.admin-delete-user-form input { min-height: 40px; padding: 8px 10px; border: 1px solid #efb1ac; border-radius: 8px; }
.admin-user-secondary { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.warning-form.expanded { display: grid; }
.warning-form.expanded textarea { width: 100%; padding: 10px; border: 1px solid #d0d5dd; border-radius: 9px; resize: vertical; }
.admin-history-list { display: grid; margin-top: 14px; }
.admin-history-list article { padding: 11px 0; border-top: 1px solid var(--line); }
.admin-history-list p { margin: 3px 0; color: #475467; font-size: .7rem; overflow-wrap: anywhere; }
.admin-history-list small { color: var(--muted); font-size: .62rem; }
.admin-self-card { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.admin-self-card h2, .admin-self-card p { margin: 0; }
.admin-self-card p { margin-top: 5px; color: var(--muted); font-size: .75rem; }
.admin-user-table { margin-top: 22px; }
.admin-user-table td > .status-pill { margin-bottom: 5px; }
.admin-insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.admin-insight-grid article { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.admin-insight-grid strong, .admin-insight-grid span { display: block; }
.admin-insight-grid strong { color: var(--navy-900); font-size: 1.8rem; }
.admin-insight-grid span { color: var(--muted); font-size: .72rem; }
.moderated-card { opacity: .78; }
.moderation-chip { position: absolute; left: 12px; top: 12px; padding: 6px 9px; border-radius: 999px; background: var(--danger); color: white; font-size: .68rem; font-weight: 800; }

.report-dialog { text-align: left; }
.report-dialog > h2, .report-dialog > p { text-align: center; }
.report-form label { display: grid; gap: 6px; margin-bottom: 15px; color: #344054; font-size: .76rem; font-weight: 800; }
.report-form label span { color: var(--muted); font-weight: 500; }
.report-form select, .report-form textarea { width: 100%; padding: 10px 11px; border: 1px solid #d0d5dd; border-radius: 9px; resize: vertical; }

footer { min-height: 150px; background: var(--navy-950); color: #aebed0; padding: 38px max(6vw, 24px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; font-size: .8rem; }
.footer-brand { font-family: "Space Grotesk"; font-weight: 800; font-size: 1.25rem; color: white; }
.footer-brand span { color: var(--gold); }
footer p { text-align: center; }
footer small { text-align: right; }

.lightbox { width: min(92vw, 1100px); height: min(92vh, 900px); padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #10151d; box-shadow: 0 35px 90px rgba(0,0,0,.5); }
.lightbox::backdrop { background: rgba(1,5,12,.84); backdrop-filter: blur(6px); }
.lightbox img { width: 100%; height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; z-index: 2; right: 14px; top: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0,0,0,.7); color: white; font-size: 1.5rem; cursor: pointer; }
.confirm-dialog { width: min(460px, calc(100% - 28px)); border: 0; border-radius: 18px; padding: 32px; text-align: center; box-shadow: 0 35px 90px rgba(0,0,0,.3); }
.confirm-dialog::backdrop { background: rgba(3,13,30,.72); backdrop-filter: blur(4px); }
.confirm-dialog h2 { margin: 12px 0 7px; color: var(--navy-900); }
.confirm-dialog p { margin: 0 0 24px; color: var(--muted); }
.dialog-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.warning-icon { width: 46px; height: 46px; margin: auto; display: grid; place-items: center; border-radius: 50%; background: #ffebe9; color: var(--danger); font-weight: 900; font-size: 1.3rem; }
.dialog-actions { display: flex; justify-content: center; gap: 10px; }

@media (max-width: 950px) {
  .site-header { grid-template-columns: 1fr auto; gap: 12px; }
  .nav-links { display: none; }
  .pull-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .discovery-layout { grid-template-columns: 1fr; }
  .filter-bar { position: static; grid-template-columns: 1fr 1fr; }
  .filter-heading { grid-column: 1 / -1; }
  .search-field { grid-column: 1 / -1; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-copy { padding: 60px 30px; }
  .quote-card { margin-top: 35px; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-media { position: static; }
  .workspace-shell, .admin-shell { grid-template-columns: 1fr; }
  .workspace-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; }
  .workspace-user { padding-bottom: 15px; }
  .workspace-sidebar nav { display: flex; overflow-x: auto; padding-top: 13px; }
  .workspace-sidebar nav a { white-space: nowrap; }
  .dashboard-columns, .settings-grid, .security-grid, .account-management-grid { grid-template-columns: 1fr; }
  .account-shortcuts { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-sidebar { min-height: auto; height: auto; position: static; padding: 22px 20px; }
  .admin-sidebar nav { display: flex; overflow-x: auto; margin-top: 18px; }
  .admin-sidebar nav a { flex: 0 0 auto; gap: 8px; }
  .back-site { margin-top: 10px; }
  .admin-card-list.compact { grid-template-columns: 1fr; }
  .admin-user-secondary { grid-template-columns: 1fr; }
  .admin-account-danger { align-items: stretch; }
  .admin-delete-user-form { grid-template-columns: 1fr; width: 100%; }
  .admin-add-form { grid-template-columns: 1fr 1fr; }
  .collection-add-form { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer small, footer p { text-align: center; }
}

@media (max-width: 620px) {
  .site-header { height: 70px; padding: 0 14px; }
  .brand { width: 148px; height: 50px; gap: 7px; }
  .brand > img { width: 36px; height: 36px; }
  .brand-wordmark strong { font-size: 1rem; }
  .brand-wordmark b { font-size: .69rem; }
  .nav-actions .button-ghost { display: none; }
  .nav-actions .button-primary { padding: 9px 11px; font-size: .76rem; }
  .feed-intro { min-height: 275px; padding-top: 45px; align-items: flex-start; }
  .feed-intro h1 { font-size: 3rem; }
  .intro-stat { display: none; }
  .discovery-layout { width: calc(100% - 24px); margin-top: 24px; }
  .filter-bar { width: 100%; grid-template-columns: 1fr; margin-bottom: 0; }
  .filter-heading { grid-column: auto; }
  .search-field { grid-column: auto; }
  .pull-grid { width: 100%; grid-template-columns: 1fr; gap: 18px; }
  .pull-card .image-button { aspect-ratio: 4 / 3.8; }
  .auth-copy { padding: 48px 22px; }
  .auth-form { width: calc(100% - 24px); padding: 23px; }
  .form-page { padding-top: 40px; }
  .pull-form { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .upload-type-picker { grid-template-columns: 1fr; }
  .full-field { grid-column: auto; }
  .detail-layout { width: calc(100% - 24px); margin-top: 24px; }
  .back-link { margin-bottom: 25px; }
  .detail-actions { flex-wrap: wrap; }
  .button-manage { margin-left: 0; }
  .comment-form { grid-template-columns: 32px 1fr; }
  .comment-form button { grid-column: 2; }
  .profile-header { width: calc(100% - 24px); margin-top: 25px; grid-template-columns: auto 1fr; }
  .profile-avatar { width: 60px; height: 60px; }
  .profile-count { grid-column: 1 / -1; padding: 15px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: center; gap: 7px; align-items: baseline; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .admin-user-stats, .admin-form-grid { grid-template-columns: 1fr; }
  .workspace-main, .admin-main { padding: 34px 14px 65px; }
  .workspace-heading { flex-direction: column; gap: 16px; }
  .management-list article { grid-template-columns: 48px 1fr; }
  .management-list article > a { grid-column: 2; justify-self: start; }
  .management-list-full article, .account-item-list-full article { grid-template-columns: 54px minmax(0,1fr); }
  .management-list-full img, .account-item-list-full img { width: 54px; height: 64px; }
  .account-row-actions, .account-item-list-full form { grid-column: 2; justify-self: start; }
  .offer-list article { grid-template-columns: 50px 1fr; }
  .offer-actions { grid-column: 2; }
  .checklist-form { grid-template-columns: 1fr; }
  .settings-page { width: calc(100% - 24px); margin-top: 30px; }
  .account-shortcuts { grid-template-columns: 1fr; }
  .account-shortcuts a { min-height: auto; }
  .account-control-strip { align-items: stretch; flex-direction: column; }
  .privacy-panel { align-items: stretch; flex-direction: column; }
  .admin-add-form { grid-template-columns: 1fr; }
  .collection-language-tabs { grid-template-columns: 1fr; }
  .catalog-summary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .admin-insight-grid { grid-template-columns: 1fr; }
  .audit-list article { grid-template-columns: 1fr; gap: 3px; }
  .detail-reach { display: none; }
  .current-image { grid-template-columns: 80px 1fr; }
  .current-image img { width: 80px; height: 80px; }
  .danger-zone { align-items: stretch; flex-direction: column; }
  .dialog-actions { flex-direction: column-reverse; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
