/* Conciergia In-App — Editorial / Vogue direction */

:root {
  /* Editorial palette — warm off-white, deep ink, soft accents */
  --bg: #F6F4EF;
  --bg-2: #FBFAF6;
  --bg-elev: #FFFFFF;
  --ink: #0F0F10;
  --ink-2: #2A2A2C;
  --muted: #6A6A6E;
  --muted-2: #9A9A9E;
  --line: #E7E3DA;
  --line-2: #D4CFC2;
  --hairline: rgba(15,15,16,0.06);

  /* Soft editorial accents — pastel washes */
  --sage: #D3DDCC;
  --blush: #E9D2C5;
  --mist: #D5DDE1;
  --cream: #ECE3CE;
  --rose: #E6CDCF;

  --success: #3F6E4A;
  --success-bg: #E9EFE7;
  --warning: #8A5A00;
  --warning-bg: #F3E9D0;

  --radius: 12px;
  --radius-lg: 18px;
  --radius-full: 999px;

  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'Inter', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(15,15,16,0.04), 0 1px 1px rgba(15,15,16,0.03);
  --shadow-md: 0 4px 20px rgba(15,15,16,0.06), 0 1px 3px rgba(15,15,16,0.04);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button, input, select, textarea { font-family: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; padding: 0; }
a { color: inherit; text-decoration: none; cursor: pointer; }

/* ─────────── Top bar ─────────── */
.topbar {
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  height: 68px;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.topbar__left { display: flex; align-items: center; gap: 16px; }
.logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.hamburger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  padding: 0 10px;
  background: transparent;
  border-radius: var(--radius-full);
}
.hamburger:hover { background: var(--bg); }
.hamburger span { display: block; height: 1.5px; background: var(--ink); }
.topbar__right { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border-radius: var(--radius-full);
  position: relative;
}
.icon-btn__dot { position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; border: 2px solid var(--bg-elev); }
.icon-btn:hover { background: var(--bg); }
.avatar {
  width: 38px; height: 38px;
  background: var(--sage);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0;
  cursor: pointer;
  border-radius: 50%;
}

/* ─────────── Side menu ─────────── */
.sidemenu__scrim { position: fixed; inset: 0; background: rgba(15,15,16,0.36); z-index: 90; animation: fadein 0.2s ease; }
.sidemenu {
  position: fixed; top: 0; left: 0; bottom: 0;
  width: 340px; max-width: 88vw;
  background: var(--bg-elev);
  z-index: 100;
  display: flex; flex-direction: column;
  animation: slidein 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  border-radius: 0 24px 24px 0;
  overflow: hidden;
}
@keyframes slidein { from { transform: translateX(-100%); } to { transform: none; } }
.sidemenu__head { padding: 24px 24px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.sidemenu__brand { display: flex; align-items: center; gap: 12px; }
.sidemenu__brand-avatar { width: 42px; height: 42px; background: var(--blush); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; border-radius: 50%; }
.sidemenu__brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1; font-style: italic; }
.sidemenu__brand-sub { font-size: 12px; color: var(--muted); margin-top: 4px; }
.sidemenu__close { width: 36px; height: 36px; background: transparent; font-size: 24px; line-height: 1; color: var(--ink); border-radius: 50%; }
.sidemenu__close:hover { background: var(--bg); }
.sidemenu__nav { display: flex; flex-direction: column; padding: 16px 12px; flex: 1; gap: 2px; }
.sidemenu__item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  text-align: left;
  background: transparent;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}
.sidemenu__item:hover { background: var(--bg); }
.sidemenu__item.active { background: var(--ink); color: var(--bg-elev); }
.sidemenu__item-label { font-size: 15px; font-weight: 500; letter-spacing: -0.005em; }
.sidemenu__item--quiet .sidemenu__item-label { color: var(--muted); font-weight: 400; }
.sidemenu__badge { font-size: 11px; background: var(--ink); color: var(--bg-elev); padding: 2px 8px; border-radius: var(--radius-full); font-weight: 500; }
.sidemenu__item.active .sidemenu__badge { background: var(--bg-elev); color: var(--ink); }
.sidemenu__foot { padding: 12px 12px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }

/* ─────────── Page framing ─────────── */
.page { max-width: 1360px; margin: 0 auto; padding: 48px 40px 80px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.page-head__left { max-width: 760px; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 54px;
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  text-wrap: balance;
}
.h-display em { font-style: italic; font-weight: 500; }
.h-display .italic { font-style: italic; }
.h-display.sm { font-size: 40px; }
.h-display.xs { font-size: 28px; }
.h-display.xxs { font-size: 20px; }
.lede { font-size: 16px; color: var(--muted); max-width: 62ch; line-height: 1.55; }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--line-2);
  background: var(--bg-elev);
  color: var(--ink);
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.btn:hover { border-color: var(--ink); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.btn--primary { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }
.btn--primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.btn--ghost { border-color: transparent; background: transparent; }
.btn--ghost:hover { background: var(--bg); border-color: transparent; }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--xl { padding: 14px 28px; font-size: 15px; }
.btn--danger { color: #B0361F; border-color: #B0361F; }
.btn--danger:hover { background: #B0361F; color: var(--bg-elev); }

/* ─────────── Card ─────────── */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ─────────── Pills ─────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  font-size: 12px; font-weight: 500;
  border-radius: var(--radius-full);
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
}
.pill--dot::before { content: ''; width: 6px; height: 6px; background: var(--ink); border-radius: 50%; display: inline-block; }
.pill--success { color: var(--success); background: var(--success-bg); border-color: transparent; }
.pill--success.pill--dot::before { background: var(--success); }
.pill--warning { color: var(--warning); background: var(--warning-bg); border-color: transparent; }
.pill--warning.pill--dot::before { background: var(--warning); }

/* ─────────── Dashboard ─────────── */
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.dstat {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  display: flex; flex-direction: column;
  gap: 28px;
}
.dstat:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.dstat--emph { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }
.dstat--emph .dstat__sub, .dstat--emph .dstat__num-l { color: rgba(255,255,255,0.6); }
.dstat--emph .dstat__num { border-color: rgba(255,255,255,0.14); }
.dstat__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.dstat__title { font-family: var(--font-display); font-size: 26px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; font-style: italic; }
.dstat__sub { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 40ch; }
.dstat__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.dstat__num { border-right: 1px solid var(--line); padding-right: 20px; }
.dstat__num:last-child { border-right: none; }
.dstat__num-v { font-family: var(--font-display); font-size: 44px; font-weight: 500; line-height: 1; letter-spacing: -0.015em; }
.dstat__num-l { font-size: 12px; color: var(--muted); margin-top: 8px; letter-spacing: 0.02em; }

.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }

.notifs { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0; overflow: hidden; }
.notif { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.notif:last-child { border-bottom: none; }
.notif__thumb { width: 44px; height: 44px; background: var(--sage); overflow: hidden; border-radius: 50%; }
.notif__thumb img { width: 100%; height: 100%; object-fit: cover; }
.notif__text { font-size: 14px; line-height: 1.5; }
.notif__time { font-size: 12px; color: var(--muted); margin-top: 6px; }

.suggest-list { display: flex; flex-direction: column; gap: 12px; }
.suggest {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px;
  padding: 14px 16px; background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer; transition: box-shadow 0.15s ease, border-color 0.15s ease;
  align-items: center;
}
.suggest:hover { box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.suggest__portrait { position: relative; width: 56px; height: 56px; background: var(--blush); overflow: hidden; border-radius: 50%; }
.suggest__portrait img { width: 100%; height: 100%; object-fit: cover; }
.suggest__name { font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.1; letter-spacing: -0.005em; }
.suggest__meta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.suggest__socials { font-size: 12px; color: var(--ink); margin-top: 6px; }

.link-arrow { font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

.quickplan { padding: 24px; }

/* ─────────── Toolbar (editorial / vogue filter bar) ─────────── */
.toolbar {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}
.toolbar__field { display: flex; flex-direction: column; gap: 4px; }
.toolbar__label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.toolbar__select,
.toolbar__input {
  width: 100%;
  padding: 8px 0 10px;
  border: none;
  border-bottom: 1px solid var(--line-2);
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236A6A6E' stroke-width='1.8'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 top 12px;
  padding-right: 24px;
}
.toolbar__input { background-image: none; padding-right: 0; }
.toolbar__select:focus,
.toolbar__input:focus { border-bottom-color: var(--ink); }

/* Hybrid old chips-based search still available */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  background: var(--bg-elev);
  font-size: 13px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.12s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); }

/* ─────────── Creator card grid (vogue style) ─────────── */
.creators-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ccard {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
  display: flex; flex-direction: column;
}
.ccard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ccard__head { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; margin-bottom: 20px; }
.ccard__portrait {
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-family: var(--font-display); font-style: italic; font-size: 22px;
}
.ccard__portrait img { width: 100%; height: 100%; object-fit: cover; }
.ccard__name { font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.15; letter-spacing: -0.005em; }
.ccard__meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.ccard__stats { display: grid; grid-template-columns: 68px 1fr; gap: 6px 12px; font-size: 13px; flex: 1; }
.ccard__stat-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; padding-top: 1px; }
.ccard__stat-value { color: var(--ink); }
.ccard__cta {
  margin-top: 22px;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-full);
  background: var(--bg-elev);
  color: var(--ink);
  font-size: 14px; font-weight: 500;
  text-align: center;
  transition: all 0.15s ease;
  width: 100%;
}
.ccard:hover .ccard__cta { border-color: var(--ink); }

/* ─────────── Creator profile ─────────── */
.backlink { font-size: 13px; color: var(--muted); margin-bottom: 24px; display: inline-flex; align-items: center; gap: 6px; }
.backlink:hover { color: var(--ink); }
.cprofile {
  display: grid; grid-template-columns: 420px 1fr; gap: 56px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 32px;
}
.cprofile__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--blush);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cprofile__media img { width: 100%; height: 100%; object-fit: cover; }
.cprofile__initials { font-family: var(--font-display); font-style: italic; font-size: 80px; color: var(--ink-2); }
.cprofile__gift {
  position: absolute; left: 16px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-elev);
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.cprofile__body { padding: 8px 0; }
.cprofile__age { font-size: 14px; color: var(--muted); margin: 12px 0 28px; }
.cprofile__bio { font-family: var(--font-display); font-size: 20px; font-style: italic; max-width: 44ch; margin-bottom: 32px; color: var(--ink); line-height: 1.4; font-weight: 500; }
.cprofile__socials { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 36px; }
.stile { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.stile__icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: var(--bg-elev); border-radius: 50%; }
.stile__count { font-family: var(--font-display); font-size: 20px; line-height: 1; font-weight: 500; }
.stile__label { font-size: 12px; color: var(--muted); margin-top: 4px; }

.cprofile__split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.bar { flex: 1; background: var(--sage); min-height: 6px; border-radius: 4px 4px 0 0; }
.bar-labels { display: flex; gap: 10px; margin-top: 10px; }
.bar-label { flex: 1; text-align: center; font-size: 11px; color: var(--muted); }
.breakdown { display: flex; flex-direction: column; gap: 14px; }
.breakdown__row { display: grid; grid-template-columns: 140px 1fr 40px; gap: 12px; align-items: center; font-size: 13px; }
.breakdown__label { font-size: 12px; color: var(--muted); }
.breakdown__bar { height: 8px; background: var(--bg); position: relative; border-radius: var(--radius-full); overflow: hidden; }
.breakdown__bar span { position: absolute; top: 0; left: 0; bottom: 0; background: var(--ink); border-radius: var(--radius-full); }
.breakdown__val { font-size: 13px; text-align: right; color: var(--ink); }

/* ─────────── Incoming / outgoing request ─────────── */
.inreq, .orow {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.inreq {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 28px;
  align-items: center;
}
.inreq__creator { display: grid; grid-template-columns: 56px 1fr; gap: 14px; cursor: pointer; align-items: center; }
.inreq__portrait { width: 56px; height: 56px; background: var(--blush); overflow: hidden; border-radius: 50%; }
.inreq__portrait img { width: 100%; height: 100%; object-fit: cover; }
.inreq__name { font-weight: 600; font-size: 15px; line-height: 1.15; letter-spacing: -0.005em; }
.inreq__name .italic { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 16px; }
.inreq__sub { font-size: 13px; color: var(--muted); margin-top: 2px; }

.inreq__product { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; padding: 10px 14px; background: var(--bg-2); border-radius: var(--radius); }
.inreq__prod-thumb { width: 48px; height: 48px; background: var(--cream); overflow: hidden; border-radius: var(--radius); }
.inreq__prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.inreq__prod-title { font-family: var(--font-display); font-style: italic; font-size: 16px; font-weight: 500; line-height: 1.1; }
.inreq__prod-variant { font-size: 12px; color: var(--muted); margin-top: 2px; }
.inreq__prod-price { font-size: 13px; color: var(--ink); margin-top: 2px; }

.inreq__note { grid-column: 1 / -1; padding: 14px 18px; background: var(--bg-2); border-radius: var(--radius); font-family: var(--font-display); font-style: italic; font-size: 15px; color: var(--ink-2); }
.inreq__note::before { content: '"'; font-size: 32px; line-height: 0.5; position: relative; top: 10px; margin-right: 6px; color: var(--muted-2); }
.inreq__actions { display: flex; gap: 10px; justify-self: end; flex-wrap: wrap; }

/* ─────────── Tabs ─────────── */
.tabs { display: flex; gap: 8px; margin-bottom: 24px; }
.tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); background: var(--bg-elev); border-color: var(--line-2); }
.tab__c { font-size: 12px; margin-left: 4px; opacity: 0.7; }

/* ─────────── Outgoing row ─────────── */
.orow {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 140px auto;
  gap: 20px;
  align-items: center;
}
.orow__creator { display: grid; grid-template-columns: 52px 1fr; gap: 14px; cursor: pointer; align-items: center; }
.orow__creator .crow__portrait { width: 52px; height: 52px; border-radius: 50%; background: var(--sage); overflow: hidden; }
.orow__creator .crow__portrait img { width: 100%; height: 100%; object-fit: cover; }
.orow__creator .crow__name { font-weight: 600; font-size: 15px; letter-spacing: -0.005em; }
.orow__creator .crow__meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.orow__product { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; }
.prod-thumb { width: 42px; height: 42px; background: var(--cream); overflow: hidden; border-radius: var(--radius); flex-shrink: 0; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.orow__product-title { font-family: var(--font-display); font-size: 16px; font-weight: 500; font-style: italic; line-height: 1.1; }
.orow__product-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.orow__actions { justify-self: end; }

/* ─────────── Products grid ─────────── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prodcard {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.15s ease;
}
.prodcard:hover { box-shadow: var(--shadow-md); }
.prodcard--paused { opacity: 0.7; }
.prodcard__media { aspect-ratio: 1 / 1; background: var(--cream); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.prodcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prodcard__media-label { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--muted); text-align: center; padding: 20px; }
.prodcard__badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; background: var(--ink); color: var(--bg-elev); font-size: 11px; border-radius: var(--radius-full); }
.prodcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; }
.prodcard__title { font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.25; letter-spacing: -0.005em; }
.prodcard__variant { font-size: 13px; color: var(--muted); margin-top: 4px; }
.prodcard__row { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.prodcard__price { font-family: var(--font-display); font-style: italic; font-size: 20px; font-weight: 500; }

/* ─────────── Plan ─────────── */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.plan--emph { background: var(--ink); color: var(--bg-elev); border-color: var(--ink); transform: scale(1.02); }
.plan--emph .plan__tagline, .plan--emph .plan__per { color: rgba(255,255,255,0.6); }
.plan__ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--bg-elev); color: var(--ink);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
}
.plan__name { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.plan--emph .plan__name { color: rgba(255,255,255,0.7); }
.plan__price { font-family: var(--font-display); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.plan__per { font-family: var(--font-body); font-size: 15px; color: var(--muted); font-weight: 400; }
.plan__tagline { font-size: 14px; color: var(--muted); }
.plan__features { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 10px; }
.plan__features li { font-size: 14px; padding-left: 24px; position: relative; line-height: 1.4; }
.plan__features li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 500; }
.plan .btn { margin-top: auto; }
.plan--emph .btn { background: var(--bg-elev); color: var(--ink); border-color: var(--bg-elev); }

/* ─────────── Table ─────────── */
.tbl { width: 100%; border-collapse: collapse; margin-top: 12px; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; padding: 12px 14px; border-bottom: 1px solid var(--line); font-weight: 500; }
.tbl td { padding: 16px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; }
.tbl tr:last-child td { border-bottom: none; }

/* ─────────── Account ─────────── */
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; font-weight: 500; }
.field__input { padding: 10px 14px; border: 1px solid var(--line-2); background: var(--bg-elev); font-size: 14px; outline: none; border-radius: var(--radius); }
.field__input:focus { border-color: var(--ink); }

.integration { display: flex; flex-direction: column; }
.integration__row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); gap: 20px; }
.integration__row:first-child { border-top: none; }

.toggle-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 14px; cursor: pointer; border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: none; }
.toggle { width: 42px; height: 24px; background: var(--line-2); position: relative; transition: background 0.15s ease; border-radius: var(--radius-full); flex-shrink: 0; }
.toggle.on { background: var(--ink); }
.toggle__nub { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--bg-elev); transition: transform 0.15s ease; border-radius: 50%; }
.toggle.on .toggle__nub { transform: translateX(18px); }

/* ─────────── Modal ─────────── */
.modal { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; }
.modal__scrim { position: absolute; inset: 0; background: rgba(15,15,16,0.4); }
.modal__card { position: relative; background: var(--bg-elev); border-radius: var(--radius-lg); max-width: 92vw; max-height: 88vh; overflow: auto; animation: fadein 0.2s ease; box-shadow: var(--shadow-md); }
.modal__head { padding: 24px 28px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.modal__title { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.modal__title em { font-style: italic; }
.modal__sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
.modal__body { padding: 24px 28px; }
.modal__foot { padding: 18px 28px; border-top: 1px solid var(--line); display: flex; gap: 12px; justify-content: flex-end; }

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-opt { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: var(--bg-2); transition: all 0.12s ease; }
.check-opt:hover { border-color: var(--line-2); }
.check-opt.on { background: var(--bg-elev); border-color: var(--ink); }
.check-opt__box { width: 20px; height: 20px; border: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; background: var(--bg-elev); border-radius: 6px; font-size: 12px; margin-top: 1px; }
.check-opt.on .check-opt__box { background: var(--ink); color: var(--bg-elev); }
.check-opt__title { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.check-opt__desc { font-size: 13px; color: var(--muted); }

.note-box { width: 100%; border: 1px solid var(--line); background: var(--bg-2); padding: 14px; font-family: var(--font-body); font-size: 14px; line-height: 1.5; resize: none; outline: none; min-height: 80px; border-radius: var(--radius); }

.check-success { width: 64px; height: 64px; margin: 0 auto; background: var(--success-bg); color: var(--success); display: flex; align-items: center; justify-content: center; font-size: 28px; border-radius: 50%; }

.gift-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gift-opt { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color 0.12s ease; background: var(--bg-elev); }
.gift-opt:hover { border-color: var(--ink); }
.gift-opt__thumb { width: 64px; height: 64px; background: var(--cream); overflow: hidden; border-radius: var(--radius); }
.gift-opt__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gift-opt__title { font-family: var(--font-display); font-style: italic; font-size: 16px; font-weight: 500; line-height: 1.1; }
.gift-opt__variant { font-size: 12px; color: var(--muted); margin-top: 4px; }
.gift-opt__price { font-size: 13px; margin-top: 4px; }

/* ─────────── Onboarding ─────────── */
.onb { max-width: 720px; margin: 0 auto; padding: 60px 40px 100px; }
.onb__head { margin-bottom: 48px; text-align: center; }
.onb__eyebrow { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-bottom: 16px; }
.onb__bar { display: flex; justify-content: center; gap: 6px; }
.onb__step-dot { width: 8px; height: 8px; background: var(--line-2); border-radius: 50%; }
.onb__step-dot.done, .onb__step-dot.current { background: var(--ink); }
.onb__card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 56px; }
.onb__upload { margin: 32px 0; display: flex; justify-content: center; }
.onb__upload-box { width: 140px; height: 140px; border: 1.5px dashed var(--line-2); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.15s ease; color: var(--muted); background: var(--bg-2); }
.onb__upload-box:hover { border-color: var(--ink); color: var(--ink); }

/* Filled (already-uploaded) state: shown in the NORR demo */
.onb__upload-box--filled {
  width: auto; min-width: 320px; max-width: 420px; height: auto;
  border-radius: 14px; border: 1px solid var(--line-1, rgba(26,26,26,0.12));
  background: #fffdf9;
  flex-direction: row; align-items: center; justify-content: flex-start;
  padding: 14px 16px; gap: 14px; cursor: default;
  box-shadow: 0 2px 6px rgba(26,26,26,0.04);
}
.onb__upload-box--filled:hover { border-color: var(--line-1, rgba(26,26,26,0.12)); }
.onb__logo-preview {
  width: 56px; height: 56px; border-radius: 12px;
  background: #1a1a1a; color: #f6f4ef;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.onb__logo-mark {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 17px; letter-spacing: 0.26em; font-weight: 500; padding-left: 3px;
}
.onb__upload-meta { flex: 1; min-width: 0; }
.onb__upload-filename {
  font-family: 'Inter', sans-serif; font-size: 13.5px; color: #1a1a1a; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.onb__upload-hint {
  margin-top: 3px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted, #6f6a62); font-weight: 500;
}
.onb__upload-replace {
  background: transparent; border: 1px solid rgba(26,26,26,0.2); border-radius: 999px;
  padding: 6px 14px; font-family: 'Inter', sans-serif; font-size: 12px;
  color: #1a1a1a; cursor: pointer; transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.onb__upload-replace:hover { background: rgba(26,26,26,0.06); border-color: rgba(26,26,26,0.4); }
.onb__form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-top: 24px; }
.line-field { position: relative; }
.line-field__label { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; display: block; }
.line-field__input { width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid var(--line-2); background: transparent; font-size: 16px; outline: none; font-family: var(--font-body); }
.line-field__input:focus { border-bottom-color: var(--ink); }
.onb__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.onb__actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; }
.onb__shopify { display: grid; grid-template-columns: 48px 1fr auto; gap: 18px; align-items: center; padding: 20px; background: var(--bg-2); border-radius: var(--radius); margin-top: 28px; }
.onb__shopify-logo { width: 48px; height: 48px; background: var(--sage); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 22px; border-radius: 50%; }

/* ─────────── Empty / placeholders ─────────── */
.empty { padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); background: var(--bg-elev); font-size: 14px; font-style: italic; font-family: var(--font-display); }
.muted { color: var(--muted); }

/* ─────────── Tweaks panel ─────────── */
.tweaks-panel { position: fixed; right: 24px; bottom: 24px; width: 300px; background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius-lg); z-index: 200; box-shadow: var(--shadow-md); overflow: hidden; }
.tweaks-panel__head { padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--ink); color: var(--bg-elev); }
.tweaks-panel__title { font-family: var(--font-display); font-style: italic; font-size: 18px; font-weight: 500; }
.tweaks-panel__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.tweaks-panel__row { display: flex; flex-direction: column; gap: 6px; }
.tweaks-panel__label { font-size: 11px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; font-weight: 500; }
.tweaks-panel__seg { display: flex; border: 1px solid var(--line-2); border-radius: var(--radius-full); overflow: hidden; }
.tweaks-panel__seg button { flex: 1; padding: 8px; font-size: 12px; background: transparent; }
.tweaks-panel__seg button.active { background: var(--ink); color: var(--bg-elev); }

/* ─────────── Mobile simulator frame ─────────── */
.mobile-sim {
  min-height: 100vh;
  background: #2B2A28;
  padding: 40px 20px;
  display: flex; justify-content: center; align-items: flex-start;
}
.mobile-sim__frame {
  width: 390px;
  max-width: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  min-height: calc(100vh - 80px);
  border: 10px solid #111;
}
.mobile-sim__frame .topbar { padding: 0 16px; height: 60px; }
.mobile-sim__frame .logo { font-size: 19px; }
.mobile-sim__frame .page { padding: 24px 20px 100px; }
.mobile-sim__frame .page-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.mobile-sim__frame .page-head__left { max-width: 100%; }
.mobile-sim__frame .h-display { font-size: 34px; }
.mobile-sim__frame .h-display.sm { font-size: 30px; }
.mobile-sim__frame .dash-stats { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
.mobile-sim__frame .dstat { padding: 24px; gap: 22px; }
.mobile-sim__frame .dstat__title { font-size: 22px; }
.mobile-sim__frame .dstat__num-v { font-size: 34px; }
.mobile-sim__frame .dash-grid { grid-template-columns: 1fr; gap: 24px; }
.mobile-sim__frame .dash-cta { display: none; }
.mobile-sim__frame .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
.mobile-sim__frame .toolbar { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
.mobile-sim__frame .creators-grid { grid-template-columns: 1fr; gap: 14px; }
.mobile-sim__frame .ccard { padding: 18px; }
.mobile-sim__frame .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
.mobile-sim__frame .prodcard__body { padding: 14px 16px 16px; }
.mobile-sim__frame .prodcard__title { font-size: 14px; }
.mobile-sim__frame .cprofile { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
.mobile-sim__frame .cprofile__media { max-width: 280px; margin: 0 auto; }
.mobile-sim__frame .cprofile__split { grid-template-columns: 1fr; }
.mobile-sim__frame .inreq { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
.mobile-sim__frame .inreq__actions { justify-self: stretch; }
.mobile-sim__frame .inreq__actions .btn { flex: 1; }
.mobile-sim__frame .orow { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
.mobile-sim__frame .orow__actions { justify-self: stretch; }
.mobile-sim__frame .plan-grid { grid-template-columns: 1fr; gap: 16px; }
.mobile-sim__frame .plan--emph { transform: none; }
.mobile-sim__frame .acct-grid { grid-template-columns: 1fr; gap: 16px; }
.mobile-sim__frame .card { padding: 22px; }
.mobile-sim__frame .tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
.mobile-sim__frame .tab { white-space: nowrap; }
.mobile-sim__frame .onb { padding: 32px 20px 80px; }
.mobile-sim__frame .onb__card { padding: 28px 24px; }
.mobile-sim__frame .onb__form { grid-template-columns: 1fr; }
.mobile-sim__frame .sidemenu { position: absolute; }

/* scroll */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 10px; }

@keyframes fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.screen { animation: fadein 0.3s ease; }

.dash-cta { display: flex; gap: 10px; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .creators-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .toolbar { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .cprofile { grid-template-columns: 340px 1fr; gap: 36px; padding: 36px; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
  body { font-size: 14px; }

  .topbar { padding: 0 16px; height: 60px; }
  .logo { font-size: 19px; }
  .page { padding: 24px 20px 100px; }
  .page-head { margin-bottom: 28px; flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-head__left { max-width: 100%; }
  .h-display { font-size: 34px; }
  .h-display.sm { font-size: 30px; }
  .h-display.xs { font-size: 22px; }
  .lede { font-size: 14px; }

  /* Dashboard */
  .dash-stats { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .dstat { padding: 24px; gap: 22px; border-radius: var(--radius); }
  .dstat__title { font-size: 22px; }
  .dstat__num-v { font-size: 34px; }
  .dash-grid { gap: 24px; }
  .dash-cta { display: none; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Toolbar: stack into single column (like vogue mobile filter card) */
  .toolbar {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius-lg);
  }

  /* Creators → 1 col with richer cards */
  .creators-grid { grid-template-columns: 1fr; gap: 14px; }
  .ccard { padding: 18px; border-radius: var(--radius); }
  .ccard__head { grid-template-columns: 56px 1fr; gap: 14px; margin-bottom: 14px; }
  .ccard__portrait { width: 56px; height: 56px; }
  .ccard__stats { grid-template-columns: 60px 1fr; gap: 4px 12px; font-size: 13px; }

  /* Products → 2 col */
  .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .prodcard__body { padding: 14px 16px 16px; }
  .prodcard__title { font-size: 14px; }

  /* Creator profile stacks */
  .cprofile { grid-template-columns: 1fr; gap: 24px; padding: 24px; border-radius: var(--radius); }
  .cprofile__media { max-width: 280px; margin: 0 auto; }
  .cprofile__bio { font-size: 18px; }
  .cprofile__split { grid-template-columns: 1fr; }
  .cprofile__body { padding: 0; }

  /* Incoming requests: stack */
  .inreq { grid-template-columns: 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); }
  .inreq__note { grid-column: 1; padding: 12px 14px; }
  .inreq__actions { justify-self: stretch; }
  .inreq__actions .btn { flex: 1; }

  /* Outgoing: stack */
  .orow { grid-template-columns: 1fr; gap: 14px; padding: 18px; border-radius: var(--radius); }
  .orow__actions { justify-self: stretch; }
  .orow__actions .btn { width: 100%; }

  /* Plans */
  .plan-grid { grid-template-columns: 1fr; gap: 16px; }
  .plan { padding: 28px 24px; border-radius: var(--radius); }
  .plan--emph { transform: none; }
  .plan__price { font-size: 44px; }

  /* Account */
  .acct-grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 22px; border-radius: var(--radius); }

  /* Notifs */
  .notifs { border-radius: var(--radius); }
  .notif { padding: 16px 18px; }

  /* Modals */
  .modal__card { width: 94vw !important; max-height: 92vh; border-radius: var(--radius); }
  .modal__head, .modal__body, .modal__foot { padding-left: 20px; padding-right: 20px; }
  .modal__title { font-size: 22px; }
  .modal__foot { flex-direction: column-reverse; }
  .modal__foot .btn { width: 100%; }
  .gift-grid { grid-template-columns: 1fr; }

  /* Onboarding */
  .onb { padding: 32px 20px 80px; }
  .onb__card { padding: 28px 24px; border-radius: var(--radius); }
  .onb__form { grid-template-columns: 1fr; }
  .onb__actions .btn { flex: 1; }

  /* Tables scroll */
  .bill-hist { overflow-x: auto; }
  .tbl { min-width: 560px; }

  /* Tweaks panel hides on mobile */
  .tweaks-panel { display: none; }

  /* Tabs: horizontal scroll */
  .tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .tab { white-space: nowrap; }

  /* Side menu full width feel */
  .sidemenu { width: 320px; border-radius: 0 20px 20px 0; }
}

@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   Guided tour
   ═══════════════════════════════════════════════════════════════ */

.tour-halo {
  position: absolute;
  border-radius: 18px;
  border: 2px solid var(--accent, #b78a60);
  box-shadow: 0 0 0 6px rgba(183, 138, 96, 0.18), 0 0 0 2px rgba(255,255,255,0.6) inset;
  pointer-events: none;
  z-index: 180;
  animation: tourPulse 2.2s ease-in-out infinite;
}
@keyframes tourPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(183, 138, 96, 0.18), 0 0 0 2px rgba(255,255,255,0.6) inset; }
  50%      { box-shadow: 0 0 0 14px rgba(183, 138, 96, 0.05), 0 0 0 2px rgba(255,255,255,0.6) inset; }
}

.tour-bubble {
  position: fixed;
  width: 360px;
  max-width: calc(100vw - 32px);
  background: #1a1a1a;
  color: #f6f4ef;
  border: 1px solid rgba(246,244,239,0.08);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0,0,0,0.38), 0 2px 6px rgba(0,0,0,0.12);
  z-index: 220;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  animation: tourFade 0.35s ease-out;
}
@keyframes tourFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tour-bubble--center {
  right: 24px;
  bottom: 24px;
}

.tour-bubble__progress {
  height: 3px;
  background: rgba(246,244,239,0.1);
}
.tour-bubble__progress-bar {
  height: 100%;
  background: #f6f4ef;
  transition: width 0.4s ease;
}

.tour-bubble__body { padding: 18px 20px 16px; }

.tour-bubble__eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246,244,239,0.6);
  font-weight: 600;
  margin-bottom: 10px;
}

.tour-bubble__title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.2;
  color: #f6f4ef;
  margin-bottom: 10px;
}

.tour-bubble__copy {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(246,244,239,0.82);
  margin-bottom: 16px;
}

.tour-bubble__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.tour-bubble__skip {
  background: transparent;
  border: 0;
  color: rgba(246,244,239,0.55);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 6px 4px;
}
.tour-bubble__skip:hover { color: #f6f4ef; }

/* Inverted action buttons inside the dark tour bubble */
.tour-bubble .btn.btn--primary {
  background: #f6f4ef;
  color: #1a1a1a;
  border-color: #f6f4ef;
}
.tour-bubble .btn.btn--primary:hover {
  background: #fff;
  border-color: #fff;
}
.tour-bubble .btn.btn--ghost {
  color: rgba(246,244,239,0.75);
  border-color: rgba(246,244,239,0.25);
  background: transparent;
}
.tour-bubble .btn.btn--ghost:hover {
  color: #f6f4ef;
  border-color: rgba(246,244,239,0.55);
  background: rgba(246,244,239,0.06);
}

.tour-reopen {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  background: #1a1a1a;
  color: #f6f4ef;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(26,26,26,0.2);
}
.tour-reopen:hover { background: #2a2a2a; }

/* ═══════════════════════════════════════════════════════════════
   Locked social tile
   ═══════════════════════════════════════════════════════════════ */

.stile--locked {
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, border-color 0.2s;
}
.stile--locked:hover {
  transform: translateY(-1px);
  border-color: rgba(26,26,26,0.35);
}
.stile__locked-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 2px 8px;
  background: rgba(26,26,26,0.06);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1a1a;
  vertical-align: middle;
}

.unlock-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26,26,26,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  margin: 0 auto;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .tour-bubble--center,
  .tour-bubble--side {
    left: 12px !important;
    right: 12px;
    bottom: 12px;
    top: auto !important;
    width: auto;
  }
  .tour-halo { display: none; }
}
