/* Perfume Match pilot — Cabinet design system
 * Direction: Renaissance cabinet de curiosites, chiaroscuro.
 * Dark umber + gold + parchment cream + oxblood.
 * Typography: Instrument Serif italic (display), system sans (UI).
 */

:root {
  /* Surfaces — warm umber */
  --bg:          #1a0e08;
  --bg-elev:     #261810;
  --bg-deep:     #0d0703;
  --surface:     #1f120a;
  --surface-2:   #2a1a0e;
  --surface-3:   #3a2418;

  /* Text — parchment cream */
  --text:        #ede0bd;
  --muted:       #c4b491;
  --muted-2:     #8a785a;
  --muted-3:     #5a4a36;

  /* Lines — gold over umber */
  --border:      rgba(176,132,54,0.28);
  --border-soft: rgba(176,132,54,0.14);
  --border-bright: rgba(176,132,54,0.55);

  /* Accents */
  --gold:        #b08436;
  --gold-2:      #d6a957;
  --gold-deep:   #6c5125;
  --oxblood:     #6e1822;
  --oxblood-2:   #8a2334;
  --sage:        #7a8a5a;

  /* Semantic */
  --accent:      var(--gold);
  --accent-soft: rgba(176,132,54,0.10);
  --danger:      #d68a8a;
  --ok:          var(--sage);
  --warn:        #c8742a;
  --warn-soft:   rgba(200,116,42,0.12);

  /* Shadows */
  --shadow:      0 18px 36px -16px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.4);
  --shadow-sm:   0 1px 0 rgba(0,0,0,0.4);
  --shadow-gold: 0 0 0 1px var(--gold-deep);

  /* Typography */
  --serif:       "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --sans:        -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Cabinet: no rounded corners */
  --radius:      0px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- topbar ---- */
.topbar {
  position: sticky; top: 0;
  background: var(--bg);
  border-bottom: 2px solid var(--gold);
  padding: 0;
  z-index: 10;
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left { display: flex; flex-direction: column; }
.topbar h1 {
  margin: 0; font-size: 18px; font-weight: 400;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 8px;
}
.brand-serif {
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  color: var(--gold-2);
  letter-spacing: -0.01em;
}
.brand-sans {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}
.pilot-tag {
  display: inline-block; margin-left: 2px;
  padding: 2px 8px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 0;
  font-family: var(--sans);
  font-size: 9px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.20em;
  vertical-align: middle;
}
.topbar-fleuron {
  display: flex; align-items: center; gap: 10px;
  color: var(--gold);
  font-family: var(--serif); font-style: italic;
}
.topbar-fleuron::before {
  content: '';
  display: block;
  width: 40px; height: 1px;
  background: var(--border-bright);
}
.who {
  font-size: 12px;
  color: var(--muted-2);
  margin-top: 2px;
  min-height: 1.2em;
  font-family: var(--serif);
  font-style: italic;
}

/* ---- main ---- */
main { max-width: 1100px; margin: 0 auto; padding: 18px 16px 80px; }

/* ---- screens ---- */
.screen { animation: fadein .2s ease-out; }
.hidden { display: none !important; }
@keyframes fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- display typography ---- */
.display-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  margin: 4px 0 6px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text);
}
h3 {
  margin: 0 0 10px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.30em;
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 500;
}
p.muted { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
p.muted.small { font-size: 12px; color: var(--muted-2); }
code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 0;
  font-size: 12px;
  color: var(--gold);
}

/* ---- name screen hero ---- */
.name-hero {
  max-width: 440px;
  margin: 60px auto 0;
  text-align: center;
}
.name-hero h2 { font-size: 36px; margin-bottom: 10px; }
.name-hero p { margin-bottom: 20px; }
.name-hero input { text-align: center; }
.name-fleuron {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  justify-content: center;
}
.name-fleuron::before,
.name-fleuron::after {
  content: '';
  height: 1px; flex: 1; max-width: 60px;
  background: var(--border-bright);
}

/* ---- two-column layout ---- */
.two-col {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.col-search { flex: 1; min-width: 0; }
.col-search h2 { font-size: 22px; }

.col-coll {
  width: 320px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 0;
  padding: 16px;
  position: sticky;
  top: 70px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
}
.col-coll-header {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-bright);
  margin-bottom: 12px;
}

@media (max-width: 700px) {
  .two-col { flex-direction: column; }
  .col-coll { width: 100%; position: static; max-height: none; }
}

/* ---- gender filter ---- */
.filter-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.filter-pill {
  padding: 7px 14px !important;
  font-size: 10px !important;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--muted-2);
  border: 1px solid var(--border-bright) !important;
  border-radius: 0;
  cursor: pointer;
  transition: all .15s;
}
.filter-pill:hover { border-color: var(--gold) !important; color: var(--gold); }
.filter-pill.active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold) !important;
}

/* ---- inputs ---- */
input[type="text"],
input[type="search"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; padding: 12px 0; font-size: 14px;
  font-family: var(--sans);
  border: 0;
  border-bottom: 1px solid var(--border-bright);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  outline: none;
  transition: border-color .15s;
}
input::placeholder {
  color: var(--muted-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
}
input:focus { border-bottom-color: var(--gold); }

/* ---- buttons ---- */
button {
  -webkit-appearance: none; appearance: none;
  font-family: var(--sans); border: none; cursor: pointer;
  border-radius: 0; padding: 13px 22px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  transition: transform .08s, background .15s, border-color .15s, opacity .15s;
}
button:active { transform: scale(0.98); }
button:disabled { opacity: 0.35; cursor: not-allowed; }
button.primary {
  width: 100%;
  background: var(--gold);
  color: var(--bg);
  border: 1px solid var(--gold);
  margin-top: 12px;
}
button.primary:hover:not(:disabled) { background: var(--gold-2); border-color: var(--gold-2); }
button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-bright);
  flex: 1;
}
button.secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ---- search results ---- */
.perfume-thumb {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0;
}
/* Bottle placeholder — glass effect */
.perfume-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--gold-2);
  font-weight: 500;
  letter-spacing: 0.08em;
  font-family: var(--serif);
  font-style: italic;
  background:
    radial-gradient(120% 80% at 30% 25%, rgba(255,230,180,0.20) 0%, transparent 55%),
    radial-gradient(140% 100% at 70% 90%, rgba(0,0,0,0.5), transparent 60%),
    linear-gradient(170deg, #3a2418 0%, #1a0e08 100%);
  border: 1px solid var(--gold-deep);
  box-shadow: inset 0 1px 0 rgba(255,240,200,0.08), inset 0 -12px 24px rgba(0,0,0,0.35);
}
/* Bottle cap (added via ::before on placeholders) */
.perfume-thumb-placeholder::before {
  content: '';
  position: absolute;
  top: 4%; left: 50%; transform: translateX(-50%);
  width: 38%; height: 12%;
  background: linear-gradient(180deg, #d6a957 0%, #8a6428 60%, #5a3818 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,240,200,0.30);
}
/* Glass highlight */
.perfume-thumb-placeholder::after {
  content: '';
  position: absolute; left: 14%; top: 14%; bottom: 22%; width: 10%;
  background: linear-gradient(180deg, rgba(255,240,200,0.40), rgba(255,240,200,0));
  pointer-events: none;
}
/* Real images */
.perfume-thumb:not(.perfume-thumb-placeholder) {
  object-fit: contain;
  background: var(--surface);
  border: 1px solid var(--gold-deep);
}

.search-thumb { width: 44px; height: 60px; font-size: 11px; }
.coll-thumb { width: 36px; height: 48px; font-size: 9px; }
.rec-thumb { width: 86px; height: 118px; font-size: 16px; }

#search-results {
  margin-top: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.search-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 12px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  transition: border-color .15s;
}
.search-item:hover { border-color: var(--border-bright); }
.search-item .info { min-width: 0; flex: 1; }
.search-item .brand {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted-2); font-weight: 500;
}
.search-item .name {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; font-size: 15px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text);
}
.search-item .meta { font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.search-item .add-btn {
  padding: 7px 14px !important;
  font-size: 10px !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold) !important;
  font-weight: 500;
  flex-shrink: 0;
  border-radius: 0;
}
.search-item .add-btn:hover:not(:disabled) { background: var(--gold); color: var(--bg); }
.search-item .add-btn.added {
  background: var(--sage); color: var(--bg); border-color: var(--sage) !important;
}
.search-item .add-btn:disabled { cursor: default; }
.search-empty {
  padding: 20px; text-align: center;
  color: var(--muted-2); font-size: 13px;
  font-family: var(--serif); font-style: italic;
}

/* ---- collection ---- */
#collection-list {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; flex-direction: column; gap: 8px;
}
.coll-empty {
  text-align: center; color: var(--muted-2); font-size: 13px;
  padding: 24px 10px; line-height: 1.6;
  font-family: var(--serif); font-style: italic;
}

.coll-item {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 12px;
  background: var(--bg-elev);
  transition: border-color .2s;
}
.coll-item.unrated { border-color: var(--oxblood-2); background: rgba(110,24,34,0.08); }

.coll-item-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 6px;
}
.coll-item .info { min-width: 0; flex: 1; }
.coll-item .brand {
  font-size: 8px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted-2); font-weight: 500;
}
.coll-item .name {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; font-size: 14px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  color: var(--text);
}
.coll-item .remove-btn {
  padding: 2px 6px !important; font-size: 16px !important;
  background: transparent; color: var(--oxblood-2);
  border: none !important; font-weight: 300; line-height: 1;
  flex-shrink: 0;
  text-transform: none; letter-spacing: normal;
}

/* ---- rating section ---- */
.rating-section { margin-top: 8px; }
.rating-label {
  font-size: 10px; color: var(--muted-2); font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.rating-stars {
  display: flex; gap: 3px; flex-wrap: wrap;
}
.rating-btn {
  padding: 4px 0 !important; font-size: 11px !important;
  background: var(--surface);
  color: var(--muted-2);
  border: 1px solid var(--border) !important;
  font-weight: 500; min-width: 26px; text-align: center;
  border-radius: 0;
  letter-spacing: normal; text-transform: none;
}
.rating-btn.active {
  background: var(--gold); color: var(--bg); border-color: var(--gold) !important;
}
.rating-error {
  font-size: 11px; color: var(--danger); margin-top: 4px; font-weight: 500;
}

/* ---- rating validation warning ---- */
.rating-warning {
  font-size: 12px; color: var(--warn);
  background: var(--warn-soft);
  border: 1px solid rgba(200,116,42,0.25);
  border-radius: 0;
  padding: 8px 12px; margin-bottom: 8px; font-weight: 500;
}

/* ---- recomendaciones ---- */
#recs-list {
  display: flex; flex-direction: column; gap: 16px; margin-top: 6px;
}
.rec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 18px;
  box-shadow: var(--shadow);
  transition: border-color .2s;
}
.rec-card:hover { border-color: var(--border-bright); }
.rec-card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.rec-title { min-width: 0; flex: 1; }
.cluster-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 0;
  background: var(--accent-soft);
  border: 1px solid var(--border-bright);
  color: var(--gold);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.rec-card .brand {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted-2); margin-bottom: 2px; font-weight: 500;
}
.rec-card .name {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; font-weight: 400;
  letter-spacing: -0.01em; margin-bottom: 8px;
  color: var(--text); line-height: 1.1;
}
.rec-card .affinity {
  display: inline-block; font-size: 11px;
  color: var(--gold);
  background: var(--accent-soft);
  border: 1px solid var(--border-bright);
  padding: 3px 10px; border-radius: 0;
  margin-bottom: 12px;
  font-weight: 500; letter-spacing: 0.04em;
}
.rec-card .block { margin: 10px 0; font-size: 14px; color: var(--muted); }
.rec-card .block-label {
  font-weight: 500; display: block; margin-bottom: 2px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
}

.fb-section {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--border);
}
.fb-label {
  font-size: 10px; color: var(--muted-2); margin: 6px 0 8px;
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
}
.fb-buttons {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
}
.fb-buttons.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.fb-btn {
  padding: 10px 8px; font-size: 11px;
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--text); font-weight: 500;
  text-align: center;
  border-radius: 0;
  letter-spacing: 0.06em;
  text-transform: none;
  cursor: pointer;
  transition: all .12s;
}
.fb-btn:hover { border-color: var(--gold); color: var(--gold); }
.fb-btn.selected { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.fb-btn.selected.yes { background: var(--sage); border-color: var(--sage); color: var(--bg); }
.fb-btn.selected.no { background: var(--oxblood-2); border-color: var(--oxblood-2); color: var(--text); }
.fb-btn.selected.have { background: var(--gold); border-color: var(--gold); color: var(--bg); }
.fb-btn.selected.unknown { background: var(--muted-2); border-color: var(--muted-2); color: var(--bg); }
.fb-saved { font-size: 11px; color: var(--sage); margin-top: 8px; min-height: 16px; }

.footer-actions { margin-top: 22px; display: flex; gap: 8px; }
.footer-actions button { margin-top: 0; flex: 1; }

/* ---- scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ---- responsive ---- */
@media (min-width: 640px) {
  main { padding: 28px 24px 100px; }
  h2 { font-size: 36px; }
  .col-search h2 { font-size: 24px; }
  .rec-card .name { font-size: 26px; }
  .name-hero { margin-top: 100px; }
  .name-hero h2 { font-size: 44px; }
}

/* =============================================================
   Cabinet extras — ornaments / nav / screens added in this round
   ============================================================= */

/* ---- primary nav (desktop) ---- */
.topbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 18px;
}
.topbar-nav a {
  padding: 7px 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-decoration: none;
  cursor: pointer;
  border: 0;
  background: transparent;
  border-radius: 0;
  position: relative;
}
.topbar-nav a:hover { color: var(--gold); }
.topbar-nav a.active {
  color: var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.topbar-nav a.active::after {
  content: '✦';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 10px;
}
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.topbar-actions .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--oxblood);
  color: var(--text);
  font-family: var(--serif); font-style: italic; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px var(--gold);
  text-decoration: none;
}
.topbar-actions .avatar:hover { background: var(--oxblood-2); }
.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-bright);
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  padding: 0 !important;
  font-size: 16px !important;
  letter-spacing: 0;
  color: var(--gold);
}

@media (max-width: 760px) {
  .topbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 2px solid var(--gold);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 6px 0;
    box-shadow: 0 18px 32px -16px rgba(0,0,0,0.65);
    display: none;
  }
  .topbar-nav.open { display: flex; }
  .topbar-nav a {
    padding: 12px 24px;
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
  }
  .topbar-nav a.active { background: var(--surface); }
  .topbar-nav a.active::after { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* ---- mobile tab bar (bottom) ---- */
.tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg);
  border-top: 1px solid var(--border-bright);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  padding: 8px 8px max(10px, env(safe-area-inset-bottom));
  z-index: 9;
}
.tabbar .tab {
  background: transparent;
  border: 0;
  padding: 6px 8px !important;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: var(--sans);
  font-size: 9px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: var(--muted-2);
  cursor: pointer;
  border-radius: 0;
}
.tabbar .tab svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.tabbar .tab.active { color: var(--gold); }
@media (min-width: 760px) {
  .tabbar { display: none; }
}
@media (max-width: 759px) {
  main { padding-bottom: 96px; }
}

/* ---- Cabinet ornaments ---- */
.cab-grain { position: relative; }
.cab-grain::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.cab-spot { position: relative; }
.cab-spot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,210,140,0.16) 0%, transparent 70%);
  z-index: 0;
}
.cab-spot > * { position: relative; z-index: 1; }

.cab-fleuron {
  display: flex; align-items: center; gap: 12px;
  color: var(--gold);
  font-family: var(--serif); font-style: italic;
  margin: 12px 0;
}
.cab-fleuron::before, .cab-fleuron::after {
  content: ''; height: 1px; flex: 1; min-width: 18px;
  background: var(--border-bright);
}
.cab-fleuron .glyph { font-size: 14px; line-height: 1; }

.cab-roman {
  font-family: var(--serif); font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.cab-rule { height: 1px; background: var(--border-bright); width: 100%; }
.cab-rule.thick { height: 2px; background: var(--gold); }

.cab-frame {
  position: relative;
  background:
    linear-gradient(135deg, #d6a957 0%, #b08436 25%, #8a6428 50%, #c89548 75%, #b08436 100%);
  padding: 10px;
  box-shadow:
    0 20px 40px -16px rgba(0,0,0,0.65),
    0 0 0 1px #6c5125,
    inset 0 0 0 1px rgba(255,240,200,0.4);
}
.cab-frame.thin { padding: 6px; }
.cab-frame > .inner {
  position: relative;
  background: #0a0503;
  box-shadow: inset 0 0 0 1px #6c5125, inset 0 2px 6px rgba(0,0,0,0.4);
  overflow: hidden;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
}
.cab-frame > .inner.aspect-34 { aspect-ratio: 3 / 4; }
.cab-frame .vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 80% at 40% 35%, transparent 30%, rgba(0,0,0,0.55) 100%);
  mix-blend-mode: multiply;
}
.cab-frame .inner img,
.cab-frame .inner .perfume-thumb {
  width: 70%;
  height: auto;
  max-height: 90%;
  object-fit: contain;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.cab-frame .inner .perfume-thumb-placeholder {
  width: 70%; aspect-ratio: 3/4;
}

.cab-plaque {
  padding: 12px 20px;
  background: linear-gradient(180deg, #c89548 0%, #b08436 60%, #8a6428 100%);
  color: var(--bg);
  box-shadow:
    0 8px 16px -6px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,240,200,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.2);
  text-align: center;
  border-radius: 0;
}
.cab-plaque .fig {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.30em; text-transform: uppercase;
  opacity: 0.75;
}
.cab-plaque .title {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; margin-top: 4px; line-height: 1.25;
}
.cab-plaque .attr {
  font-family: var(--sans); font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-top: 4px; opacity: 0.7;
}

.cab-dropcap::first-letter {
  font-family: var(--serif); font-style: italic;
  font-size: 4.4em; line-height: 0.82;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--gold);
}

/* ---- chips / pills ---- */
.pm-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--sans);
  font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--border-bright);
  background: transparent;
  color: var(--muted);
  white-space: nowrap;
  border-radius: 0;
}
.pm-chip.solid { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.pm-chip.accent { background: rgba(110,24,34,0.20); border-color: rgba(110,24,34,0.55); color: #d68a8a; }
.pm-chip.italic {
  font-family: var(--serif); font-style: italic;
  text-transform: none; letter-spacing: 0.02em;
  font-size: 12px; padding: 4px 10px;
}

/* ---- match circle ---- */
.pm-match {
  width: 44px; height: 44px; border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(176,132,54,0.2) 0);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: 11px;
  color: var(--text);
  flex-shrink: 0;
}
.pm-match.lg { width: 60px; height: 60px; }
.pm-match .inner {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 13px;
}
.pm-match.lg .inner { width: 50px; height: 50px; font-size: 17px; }

/* ---- sponsored badge ---- */
.pm-sponsored {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--sans);
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.20em; text-transform: uppercase;
  padding: 3px 7px 3px 6px;
  background: var(--accent-soft);
  color: var(--gold);
  border: 1px solid var(--border-bright);
  border-radius: 0;
}
.pm-sponsored::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  display: inline-block;
}

/* ---- shadowed primary CTA ---- */
button.primary.shadowed {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  box-shadow: 4px 4px 0 0 var(--gold-deep);
}
button.primary.shadowed:hover:not(:disabled) {
  background: var(--text);
  border-color: var(--text);
  box-shadow: 3px 3px 0 0 var(--gold-deep);
  transform: translate(1px, 1px);
}

/* ---- generic display sizes for new screens ---- */
.display-xl {
  font-family: var(--serif); font-style: italic;
  font-size: 56px; line-height: 0.95; letter-spacing: -0.022em;
  font-weight: 400; margin: 0;
}
.display-lg {
  font-family: var(--serif); font-style: italic;
  font-size: 36px; line-height: 1.0; letter-spacing: -0.02em;
  font-weight: 400; margin: 0;
}
.display-md {
  font-family: var(--serif); font-style: italic;
  font-size: 24px; line-height: 1.1; letter-spacing: -0.016em;
  font-weight: 400; margin: 0;
}
.display-sm {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.15; letter-spacing: -0.01em;
  font-weight: 400; margin: 0;
}
@media (min-width: 720px) {
  .display-xl { font-size: 84px; }
  .display-lg { font-size: 54px; }
  .display-md { font-size: 32px; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow.muted { color: var(--muted-2); }

.gold { color: var(--gold); }
.oxblood-text { color: #d68a8a; }

/* ---- home / landing ---- */
.home-page main { padding-top: 0; }
.home-hero {
  position: relative;
  padding: 32px 16px 48px;
  background:
    radial-gradient(120% 80% at 50% 0%, #3a2418 0%, #1a0e08 60%, #0d0703 100%);
  border-bottom: 1px solid var(--border-bright);
  overflow: hidden;
}
.home-hero .masthead {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans);
  font-size: 9px; letter-spacing: 0.30em; text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 12px;
  border-top: 1px solid var(--border-bright);
  padding-top: 12px;
}
.home-hero .masthead .center {
  font-family: var(--serif); font-style: italic;
  letter-spacing: 0; text-transform: none;
  font-size: 18px; color: var(--text);
}
.home-hero .masthead .end { color: var(--gold); }

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}
.home-hero-art {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}
.home-hero-copy h1 {
  font-family: var(--serif); font-style: italic;
  font-size: 48px; line-height: 0.92;
  margin: 14px 0 0;
  font-weight: 400; letter-spacing: -0.02em;
  color: var(--text);
}
.home-hero-copy h1 .accent { color: var(--gold-2); }
.home-hero-copy h1 .roman-fade { font-style: normal; opacity: 0.85; }
.home-hero-copy .lead {
  font-family: var(--serif);
  font-size: 16px; line-height: 1.55;
  color: var(--muted);
  margin: 18px 0 22px;
}
.home-hero-actions {
  display: flex; flex-direction: column; gap: 10px;
}
.home-hero-actions .secondary { flex: none; }
.home-hero-quote {
  display: flex; gap: 14px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--border-bright);
}
.home-hero-quote .glyph { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1; }
.home-hero-quote .latin {
  font-family: var(--serif); font-style: italic; font-size: 17px;
  color: var(--text); letter-spacing: 0.02em; line-height: 1.3;
}
.home-hero-quote .gloss {
  font-family: var(--sans);
  font-size: 11px; color: var(--muted-2);
  margin-top: 4px; letter-spacing: 0.04em;
}

@media (min-width: 920px) {
  .home-hero { padding: 56px 60px 80px; min-height: 720px; }
  .home-hero-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 56px;
    margin-top: 40px;
  }
  .home-hero-copy { text-align: right; }
  .home-hero-copy.right { text-align: left; }
  .home-hero-art { max-width: 360px; }
  .home-hero-copy h1 { font-size: 72px; }
  .home-hero-actions { flex-direction: row; flex-wrap: wrap; }
}

/* home sections */
.home-section { padding: 56px 16px; }
.home-section + .home-section { border-top: 1px solid var(--border); }
.home-section.elev {
  background: var(--bg-elev);
  border-top: 1px solid var(--border-bright);
  border-bottom: 1px solid var(--border-bright);
}
.home-section.cta {
  background: linear-gradient(135deg, #2a1810 0%, #1a0e08 100%);
  border-top: 2px solid var(--gold);
}
.home-section .inner { max-width: 980px; margin: 0 auto; }
.home-section h2 { font-size: 36px; }
.home-section h2 .accent { color: var(--gold); }

@media (min-width: 720px) {
  .home-section { padding: 90px 40px; }
  .home-section h2 { font-size: 54px; }
}

.method-grid { display: grid; gap: 0; margin-top: 26px; }
.method-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.method-row:last-child { border-bottom: 0; }
.method-row .num {
  font-family: var(--serif); font-style: italic;
  font-size: 44px; line-height: 0.9;
  color: var(--gold);
}
.method-row .title {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--text);
}
.method-row .desc {
  font-family: var(--sans); font-size: 14px; line-height: 1.6;
  color: var(--muted);
  margin-top: 8px;
}
@media (min-width: 720px) {
  .method-row { grid-template-columns: 110px 1fr; gap: 28px; padding: 28px 0; }
  .method-row .num { font-size: 64px; }
  .method-row .title { font-size: 28px; }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.trust-cell .roman {
  font-family: var(--serif); font-style: italic;
  font-size: 30px; color: var(--gold); line-height: 1;
}
.trust-cell .label {
  font-size: 10px; color: var(--muted-2);
  margin-top: 8px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.trust-cell .plain {
  font-size: 11px; color: var(--muted-3); margin-top: 2px;
}
@media (min-width: 720px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.home-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-bright);
  padding: 36px 16px 24px;
}
.home-footer .inner {
  max-width: 980px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 18px;
}
.home-footer h3 {
  color: var(--text);
  font-family: var(--serif); font-style: italic;
  font-size: 22px; text-transform: none; letter-spacing: 0;
}
.home-footer .links {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--muted);
}
.home-footer .links a:hover { color: var(--gold); }
.home-footer .closing {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--sans);
  font-size: 9px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--muted-3);
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.home-footer .closing .glyph { color: var(--gold); font-size: 14px; letter-spacing: 0; text-transform: none; }

/* ---- profile / dashboard / account shared ---- */
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 14px;
  margin: 22px 0 14px;
}
.section-head .left { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.section-head .roman { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--gold); }
.section-head .eyebrow { display: block; margin-bottom: 2px; }
.section-head .title {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--text);
}

.note-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--text);
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--border-bright);
}
.note-pill .swatch { width: 7px; height: 7px; border-radius: 50%; background: var(--note-color, var(--gold)); }
.note-cloud { display: flex; flex-wrap: wrap; gap: 6px; }

.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-row { }
.bar-row .head { display: flex; justify-content: space-between; margin-bottom: 4px; }
.bar-row .label { font-size: 13px; color: var(--text); font-weight: 500; }
.bar-row .val { font-size: 12px; color: var(--muted); }
.bar-row .track { height: 6px; background: var(--border-soft); border-radius: 0; overflow: hidden; }
.bar-row .fill  { height: 100%; background: var(--gold); }

.stat-cells {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 14px;
}
.stat-cells .cell {
  text-align: center; padding: 14px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.stat-cells .cell .roman {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--gold); line-height: 1;
}
.stat-cells .cell .label {
  font-size: 9px; letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--muted-2); margin-top: 6px;
}

.profile-grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .profile-grid { grid-template-columns: 1.2fr 1fr; gap: 24px; }
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
}
.profile-card.featured {
  background: var(--surface-2);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--border-soft), 0 24px 48px -20px rgba(0,0,0,0.6);
}

.dash-grid { display: grid; gap: 16px; }
@media (min-width: 760px) {
  .dash-grid { grid-template-columns: 1.4fr 1fr; }
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 600px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .tile-grid { grid-template-columns: repeat(4, 1fr); }
}

.tile {
  display: flex; flex-direction: column; gap: 8px;
  cursor: pointer;
}
.tile .img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--gold-deep);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.tile .img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.tile .img-wrap .badge {
  position: absolute; top: 6px; right: 6px;
  background: var(--surface);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px; letter-spacing: 0.10em; font-weight: 600;
  padding: 2px 5px;
  border: 1px solid var(--gold-deep);
}
.tile .brand {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--muted-2);
}
.tile .name {
  font-family: var(--serif); font-style: italic;
  font-size: 15px; color: var(--text); line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tile .meta { font-size: 11px; color: var(--muted-2); }

/* ---- detail screen ---- */
.detail-page main { padding-top: 14px; }
.detail-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--serif); font-style: italic; font-size: 14px;
  color: var(--muted);
  background: transparent; border: 0; padding: 0 !important;
  text-transform: none; letter-spacing: 0;
  cursor: pointer;
  margin-bottom: 12px;
}
.detail-back:hover { color: var(--gold); }

.detail-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: flex-start;
}
@media (min-width: 920px) {
  .detail-grid { grid-template-columns: 360px 1fr 320px; gap: 36px; }
}
@media (min-width: 720px) and (max-width: 919px) {
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid > .buy-col { grid-column: span 2; }
}

.detail-art { display: flex; flex-direction: column; gap: 14px; }
.detail-art .cab-plaque .title { font-size: 18px; }
.detail-main h1 {
  font-family: var(--serif); font-style: italic;
  font-size: 44px; line-height: 0.95;
  letter-spacing: -0.022em; margin: 6px 0 0;
  color: var(--text);
}
@media (min-width: 720px) { .detail-main h1 { font-size: 56px; } }
.detail-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }

.why-card {
  background: var(--surface-2);
  border: 1px solid var(--gold);
  padding: 18px;
  margin-top: 20px;
}
.why-card .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.why-card .body {
  font-family: var(--serif); font-size: 16px; line-height: 1.6;
  color: var(--text);
}
.why-card .divider { height: 1px; background: var(--border); margin: 14px 0; }
.why-card .extra { font-size: 13px; color: var(--muted); line-height: 1.6; }
.why-card .extra strong { color: var(--gold); font-weight: 500; }

.pyramid-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
@media (min-width: 600px) { .pyramid-grid { grid-template-columns: 1fr 1fr 1fr; } }
.pyramid-cell {
  background: var(--surface); border: 1px solid var(--border);
  padding: 14px;
}
.pyramid-cell .label {
  font-size: 9px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 8px;
}
.pyramid-cell ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.pyramid-cell li {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--text);
}
.pyramid-cell li .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.buy-col .pm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 18px;
}
.store-row {
  display: flex; gap: 10px; align-items: center;
  padding: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  margin-bottom: 8px;
}
.store-row.featured { background: var(--surface-2); border-color: var(--gold); }
.store-row .badge {
  width: 38px; height: 38px;
  background: var(--surface-2);
  border: 1px solid var(--border-bright);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 13px;
  color: var(--gold);
  flex-shrink: 0;
}
.store-row .info { flex: 1; min-width: 0; }
.store-row .info .name {
  font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--text);
}
.store-row .info .trust {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2);
  margin-top: 2px;
}
.store-row .go {
  padding: 7px 12px !important;
  font-size: 9px !important;
  letter-spacing: 0.18em;
}

/* ---- public pages (about / faq / how) ---- */
.public-page main { max-width: 880px; margin: 0 auto; padding: 36px 20px 100px; }
.public-page h1 {
  font-family: var(--serif); font-style: italic;
  font-size: 44px; line-height: 0.95;
  margin: 6px 0 14px; color: var(--text); letter-spacing: -0.02em;
}
.public-page .lead {
  font-family: var(--serif); font-size: 16px; color: var(--muted);
  line-height: 1.65; margin-bottom: 28px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.faq-item .q {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; color: var(--text);
}
.faq-item .a {
  font-family: var(--sans); font-size: 14px;
  color: var(--muted); line-height: 1.65;
  margin-top: 8px;
}

.contact-grid {
  display: grid; gap: 12px; margin-top: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .contact-grid { grid-template-columns: 1fr 1fr 1fr; } }
.contact-cell {
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.contact-cell .ch {
  font-size: 9px; letter-spacing: 0.20em; text-transform: uppercase; color: var(--gold);
}
.contact-cell .val {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; color: var(--text); margin-top: 8px;
}

/* ---- screen wrapper / breadcrumb ---- */
.crumbs {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--muted-2);
  margin: 6px 0 18px;
}
.crumbs a { color: inherit; cursor: pointer; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: var(--gold); margin: 0 6px; }

/* ---- account ---- */
.account-hero {
  display: flex; gap: 16px; align-items: center;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--gold);
  margin: 8px 0 22px;
}
.account-hero .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--oxblood);
  color: var(--text);
  font-family: var(--serif); font-style: italic; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px var(--gold);
  flex-shrink: 0;
}
.account-hero .info { flex: 1; min-width: 0; }
.account-hero .name {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--text);
}
.account-hero .meta {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2); margin-top: 4px;
}

.pref-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  gap: 12px;
}
.pref-row .l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pref-row .label {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2);
}
.pref-row .value {
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--text);
}
.pref-row .chev { color: var(--gold); font-size: 14px; }

/* ---- dashboard pick ---- */
.pick-card {
  display: grid; grid-template-columns: 90px 1fr;
  gap: 16px; align-items: center;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--gold);
}
.pick-card .art {
  width: 90px; height: 120px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--gold-deep);
}
.pick-card .art img { width: 100%; height: 100%; object-fit: contain; }
.pick-card .art .perfume-thumb-placeholder { width: 100%; height: 100%; }
.pick-card .body { min-width: 0; }
.pick-card .brand {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.pick-card .name {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; color: var(--text); margin-top: 4px; line-height: 1.1;
}
.pick-card .blurb {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.45;
}

.empty-state {
  text-align: center;
  padding: 36px 18px;
  font-family: var(--serif); font-style: italic;
  color: var(--muted-2);
  border: 1px dashed var(--border-bright);
}
.empty-state .glyph { font-size: 20px; color: var(--gold); display: block; margin-bottom: 8px; }

/* ---- helpers ---- */
.row-sb { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.row-c  { display: flex; align-items: center; gap: 10px; }
.row-end { display: flex; justify-content: flex-end; gap: 8px; }
.stack  { display: flex; flex-direction: column; gap: 10px; }
.stack.lg { gap: 22px; }
.center { text-align: center; }
.hide-mobile { display: none; }
@media (min-width: 760px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }
