/* Lovd — warm, minimal, personal. */

:root {
  --paper: #FBF6F0;
  --paper-deep: #F4ECE2;
  --card: #FFFDF9;
  --ink: #2E2622;
  --ink-soft: #5E534C;
  --muted: #9A8D83;
  --line: #EADFD3;
  --line-strong: #DCCDBE;
  --accent: #B8664B;
  --accent-deep: #9A4F37;
  --accent-wash: #F6E4DA;
  --danger: #A8453A;

  --kids: #E9C46A;     --kids-wash: #FAF0D4;
  --home: #8FA47F;     --home-wash: #E7EDE0;
  --wellness: #B892B0; --wellness-wash: #F1E6EE;
  --books: #7E97AD;    --books-wash: #E3EAF0;
  --fashion: #D08C7E;  --fashion-wash: #F7E3DE;
  --food: #D9965B;     --food-wash: #F8E6D4;

  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(74, 52, 38, 0.04), 0 8px 24px -12px rgba(74, 52, 38, 0.18);
  --shadow-lift: 0 2px 4px rgba(74, 52, 38, 0.05), 0 18px 40px -16px rgba(74, 52, 38, 0.28);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* On the iPhone home screen, Lovd runs full screen: keep clear of the
     notch, the rounded corners and the home indicator. 0 in a browser. */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  /* A whisper of paper grain. */
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 600px at 10% -10%, #FFF9F2 0%, transparent 60%),
              radial-gradient(900px 500px at 110% 10%, #F8EDE4 0%, transparent 55%);
  z-index: -1;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 max(24px, var(--safe-right) + 8px) 0 max(24px, var(--safe-left) + 8px); }
@media (max-width: 600px) { .wrap { padding: 0 max(16px, var(--safe-right) + 8px) 0 max(16px, var(--safe-left) + 8px); } }

.topbar {
  position: sticky; top: 0; z-index: 20; padding-top: var(--safe-top);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }

.logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 28px;
  letter-spacing: -0.02em; text-decoration: none; color: var(--ink);
}
.logo svg { width: 18px; height: 18px; color: var(--accent); transform: translateY(1px); }

.nav { display: flex; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink-soft); padding: 6px 12px; border-radius: 999px;
  font-size: 14px; transition: background .15s, color .15s;
}
.nav a:hover { color: var(--ink); background: var(--paper-deep); }
.nav a[aria-current='page'] { color: var(--ink); background: var(--paper-deep); }
.topbar .spacer { flex: 1; }
.who { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.account { position: relative; }
.account > button.avatar { border: none; padding: 0; transition: box-shadow .15s; }
.account > button.avatar:hover, .account > button.avatar[aria-expanded='true'] { box-shadow: 0 0 0 3px var(--line); }
.menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 220px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
  padding: 6px; display: grid; animation: pop .18s var(--ease) both;
}
.menu .who-email { padding: 8px 10px 10px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu button { text-align: left; background: none; border: none; padding: 9px 10px; border-radius: 8px; font-size: 14px; }
.menu button:hover { background: var(--paper-deep); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-wash); color: var(--accent-deep); font-family: var(--serif); font-size: 15px;
}
@media (max-width: 600px) {
  .topbar .wrap { gap: 10px; }
  .nav a { padding: 6px 9px; }
  .who .name { display: none; }
  .logo { font-size: 24px; }
}

main { padding-bottom: calc(96px + var(--safe-bottom)); }

/* ---------- Buttons & fields ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 999px; padding: 10px 18px;
  font-size: 14px; font-weight: 500; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s var(--ease), box-shadow .15s;
}
.btn svg { width: 16px; height: 16px; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #45392F; }
.btn-accent { background: var(--accent); color: #FFF9F4; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--ink-soft); }
.btn-ghost:hover { background: var(--paper-deep); color: var(--ink); }
.btn-outline { background: var(--card); border-color: var(--line-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink-soft); }
.btn-danger { background: transparent; color: var(--danger); }
.btn-danger:hover { background: #F7E4E1; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: none; background: transparent; color: var(--ink-soft);
}
.icon-btn:hover { background: var(--paper-deep); color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }

.field { display: grid; gap: 6px; }
.field > span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.input, .textarea, .select {
  width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .textarea:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.textarea { resize: vertical; min-height: 88px; line-height: 1.5; }
.textarea.note { font-family: var(--serif); font-style: italic; font-size: 16px; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }
.form-error { color: var(--danger); font-size: 14px; margin: 0; }
.form-error:empty { display: none; }

/* ---------- Capture bar ---------- */

.hero { padding: 48px 0 28px; }
.hero h1 {
  font-family: var(--serif); font-weight: 350; font-size: clamp(30px, 4.6vw, 48px);
  letter-spacing: -0.025em; line-height: 1.08; margin: 0 0 22px;
}
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 350; }
.capture {
  display: flex; align-items: center; gap: 8px; max-width: 720px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 6px 6px 20px; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .2s;
}
.capture:focus-within { border-color: var(--line-strong); box-shadow: var(--shadow-lift); }
.capture svg.lead { width: 18px; height: 18px; color: var(--muted); flex: none; }
.capture input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; padding: 10px 4px; font-size: 16px; }
.capture input::placeholder { color: var(--muted); }
.hint { margin: 12px 4px 0; color: var(--muted); font-size: 13px; }
.hint kbd {
  font-family: var(--sans); font-size: 12px; background: var(--paper-deep); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 6px;
}

/* ---------- Chips & filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line);
  background: transparent; border-radius: 999px; padding: 6px 13px; font-size: 13.5px; color: var(--ink-soft);
  transition: background .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--line-strong); color: var(--ink); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .count { font-size: 12px; opacity: .6; font-variant-numeric: tabular-nums; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); flex: none; }

.cat { --c: var(--muted); --w: var(--paper-deep); }
.cat-Kids { --c: var(--kids); --w: var(--kids-wash); }
.cat-Home { --c: var(--home); --w: var(--home-wash); }
.cat-Wellness { --c: var(--wellness); --w: var(--wellness-wash); }
.cat-Books { --c: var(--books); --w: var(--books-wash); }
.cat-Fashion { --c: var(--fashion); --w: var(--fashion-wash); }
.cat-Food { --c: var(--food); --w: var(--food-wash); }

.tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-soft);
}

.choice-group { display: flex; flex-wrap: wrap; gap: 6px; }
.choice {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; padding: 6px 12px;
  font-size: 13.5px; border: 1px solid var(--line); background: var(--card); color: var(--ink-soft);
}
.choice:hover { border-color: var(--line-strong); color: var(--ink); }
.choice[aria-pressed='true'] { background: var(--w, var(--accent-wash)); border-color: var(--c, var(--accent)); color: var(--ink); }
.choice svg { width: 14px; height: 14px; }

/* ---------- Section headings ---------- */

.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 8px 0 16px; }
.section-head h2 { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; margin: 0; }
.section-head a, .section-head button.link {
  background: none; border: none; padding: 0; color: var(--ink-soft); font-size: 14px; text-decoration: none;
}
.section-head a:hover, .section-head button.link:hover { color: var(--accent); }

/* ---------- Search your finds ---------- */

.finds-head { flex-wrap: wrap; align-items: center; scroll-margin-top: 84px; }
.finds-head h2 { margin-right: auto; }
.find-search {
  position: relative; display: flex; align-items: center; gap: 6px;
  flex: 0 1 340px; min-width: 0; height: 42px; padding: 0 6px 0 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  transition: border-color .15s, box-shadow .2s;
}
.find-search:focus-within { border-color: var(--line-strong); box-shadow: var(--shadow); }
.find-search svg.lead { width: 17px; height: 17px; color: var(--muted); flex: none; }
.find-search input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  padding: 8px 2px; font-size: 16px; /* 16px keeps iPhone from zooming in */
  -webkit-appearance: none; appearance: none;
}
.find-search input::placeholder { color: var(--muted); }
.find-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.find-search .clear {
  width: 30px; height: 30px; flex: none; border: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper-deep); color: var(--ink-soft);
}
.find-search .clear:hover { color: var(--ink); background: var(--line); }
.find-search .clear svg { width: 14px; height: 14px; }
.find-search .clear[hidden] { display: none; }
.slash-hint {
  flex: none; margin-right: 6px; font-family: var(--sans); font-size: 12px; line-height: 1; color: var(--muted);
  background: var(--paper-deep); border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px;
}
.find-search:focus-within .slash-hint, .find-search:has(.clear:not([hidden])) .slash-hint { display: none; }
@media (hover: none) { .slash-hint { display: none; } }
@media (max-width: 600px) {
  .finds-head .find-search { flex-basis: 100%; }
}
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.finds-body.searching { min-height: 100vh; }
.grid[hidden], .grid > [hidden] { display: none; }
.grid.settled > .card { animation: none; }

/* ---------- Cards grid (masonry via columns) ---------- */

.grid { columns: 4 250px; column-gap: 22px; }
.grid > * { break-inside: avoid; margin-bottom: 22px; }

.card {
  position: relative; display: block; width: 100%; text-align: left; padding: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); cursor: pointer; text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .2s;
  animation: rise .5s var(--ease) both;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.card .media { position: relative; background: var(--w); overflow: hidden; }
.card .media img { width: 100%; height: auto; max-height: 460px; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .media img { transform: scale(1.025); }
.card .media.placeholder {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--w), color-mix(in srgb, var(--w) 70%, var(--c)));
}
.card .media.placeholder span {
  font-family: var(--serif); font-style: italic; font-size: 44px; color: color-mix(in srgb, var(--c) 70%, var(--ink));
  opacity: .75;
}
.card .body { padding: 14px 16px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.card .meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card .site { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card h3 {
  font-family: var(--serif); font-weight: 400; font-size: 17px; line-height: 1.3; letter-spacing: -0.005em;
  margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.price { font-variant-numeric: tabular-nums; font-size: 14px; color: var(--ink-soft); }
.note {
  font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.45; color: var(--ink-soft);
  border-left: 2px solid var(--c, var(--accent)); padding: 2px 0 2px 12px; margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.badge {
  position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(6px); border-radius: 999px;
  padding: 4px 9px; font-size: 11.5px; color: var(--ink-soft); box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.badge svg { width: 12px; height: 12px; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Collections ---------- */

.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: 200px; gap: 16px; overflow-x: auto; padding: 4px 2px 18px; margin: 0 -2px 20px; scrollbar-width: thin; }
.collections-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.collection-tile { display: grid; gap: 10px; text-decoration: none; color: inherit; }
.collection-tile .mosaic {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--paper-deep);
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px;
  border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.collection-tile:hover .mosaic { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.collection-tile .mosaic img { width: 100%; height: 100%; object-fit: cover; }
.collection-tile .mosaic.n1 img { grid-column: 1 / -1; grid-row: 1 / -1; }
.collection-tile .mosaic.n2 img { grid-row: 1 / -1; }
.collection-tile .mosaic.n3 img:first-child { grid-row: 1 / -1; }
.collection-tile .mosaic.empty { display: grid; place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; }
.collection-tile .mosaic.empty svg { width: 28px; height: 28px; color: var(--line-strong); }
.collection-tile h3 { font-family: var(--serif); font-weight: 400; font-size: 17px; margin: 0; line-height: 1.25; }
.collection-tile p { margin: 0; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.collection-tile p svg { width: 12px; height: 12px; }
.collection-tile.new .mosaic {
  background: transparent; border: 1.5px dashed var(--line-strong); box-shadow: none;
  display: grid; place-items: center; grid-template-columns: 1fr; grid-template-rows: 1fr; color: var(--muted);
}
.collection-tile.new:hover .mosaic { border-color: var(--accent); color: var(--accent); box-shadow: none; }
.collection-tile.new .mosaic svg { width: 26px; height: 26px; }

.page-head { padding: 44px 0 24px; display: grid; gap: 10px; }
.eyebrow { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.page-head h1 {
  font-family: var(--serif); font-weight: 350; font-size: clamp(32px, 5vw, 52px); letter-spacing: -0.025em;
  line-height: 1.05; margin: 0;
}
.page-head .lede { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft); margin: 0; max-width: 640px; }
.page-head .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.editable { border-radius: 8px; outline: none; padding: 0 4px; margin: 0 -4px; transition: background .15s; }
.editable:hover { background: var(--paper-deep); }
.editable:focus { background: var(--card); box-shadow: 0 0 0 1px var(--line-strong); }
.editable:empty::before { content: attr(data-placeholder); color: var(--muted); }

/* ---------- Share controls ---------- */

.share-box {
  display: grid; gap: 10px; background: var(--paper-deep); border-radius: var(--radius-sm); padding: 14px;
}
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .track {
  width: 38px; height: 22px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none;
  transition: background .2s;
}
.switch .track::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.15); transition: transform .2s var(--ease);
}
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(16px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch .label { display: grid; font-size: 14px; }
.switch .label small { color: var(--muted); font-size: 12.5px; }
/* ---------- Gift guide (its editor only, plus the credit everyone sees) ---------- */

.credit { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.credit .nowrap { white-space: nowrap; }
.credit .lovd-word { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.12em; }
.detail .credit { font-size: 15px; margin-top: -4px; }
.guide-box {
  display: grid; gap: 14px; border: 1px solid var(--accent-wash); background: color-mix(in srgb, var(--accent-wash) 45%, var(--card));
  border-radius: var(--radius-sm); padding: 14px;
}
.guide-box > .label, .guide-head .label { display: grid; font-size: 14px; }
.guide-head .label small { color: var(--muted); font-size: 12.5px; }
.guide-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.guide-fields { display: grid; gap: 14px; }
.guide-fields .field { gap: 8px; }
.guide-friends { display: grid; gap: 10px; justify-items: start; }
.guide-friends > * { max-width: 100%; }
.guide-new { display: flex; align-items: flex-end; gap: 6px; width: 100%; }
.guide-new .row { flex: 1; min-width: 0; }
.guide-new .remove-friend { flex: none; margin-bottom: 4px; }
.credit-hint { color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.guide-fields .select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239A8D83' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.guide-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.guide-section { margin-bottom: 36px; }
.guide-section .section-head .count { color: var(--muted); font-size: 13.5px; flex: none; }
.friends { margin: 20px 0 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.friends-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.friend {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
}
.friend .who { display: grid; min-width: 0; }
.friend .who strong { font-weight: 500; overflow-wrap: anywhere; }
.friend .who span, .friend .phone.none { color: var(--muted); font-size: 13px; }
.friend .phone { font-variant-numeric: tabular-nums; font-size: 14px; white-space: nowrap; }
.friend-actions { display: flex; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.friend-edit { grid-column: 1 / -1; display: grid; gap: 10px; }
@media (max-width: 600px) {
  .friend { grid-template-columns: minmax(0, 1fr) auto; }
  .friend-actions { grid-column: 1 / -1; justify-content: flex-start; margin-left: -12px; }
  .guide-new .row { flex-direction: column; gap: 10px; }
  .guide-new { align-items: flex-start; padding: 12px 0 0; border-top: 1px solid var(--line); }
  .guide-new .remove-friend { margin: 22px 0 0; }
}

/* Importing picks from a sheet */
.sheet-import { display: grid; gap: 14px; }
.sheet-import h2 { margin: 0; }
.sheet-columns { margin: 0; line-height: 1.6; }
.sheet-columns strong { color: var(--ink-soft); font-weight: 500; }
.sheet-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sheet-tools label.btn { cursor: pointer; }
.sheet-paste { min-height: 110px; max-height: 30vh; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; white-space: pre; overflow-x: auto; }
.sheet-summary { display: grid; gap: 4px; }
.sheet-summary:empty { display: none; }
.sheet-summary p { margin: 0; }
.sheet-summary .count { font-weight: 500; }
.sheet-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sheet-rows:empty { display: none; }
.sheet-row {
  display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; gap: 10px; align-items: baseline;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; font-size: 14px;
}
.sheet-row .line { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.sheet-row .what { display: grid; min-width: 0; }
.sheet-row .what strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-row .what span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.sheet-row .what .problem, .sheet-row.bad .status { color: var(--danger); }
.sheet-row .status { font-size: 13px; color: var(--muted); text-align: right; max-width: 14em; }
.sheet-row.done .status { color: var(--home); font-weight: 500; }
.sheet-row.done .status::before { content: '✓ '; }
.sheet-row.bad { border-color: color-mix(in srgb, var(--danger) 30%, var(--line)); }
.sheet-row.busy { border-color: var(--accent); }
@media (max-width: 600px) {
  .sheet-row { grid-template-columns: 1.8em minmax(0, 1fr); }
  .sheet-row .status { grid-column: 2; text-align: left; max-width: none; }
  .sheet-row .status:empty { display: none; }
}

.copy-row { display: flex; gap: 8px; }
.copy-row .input { font-size: 13px; padding: 8px 12px; color: var(--ink-soft); }

/* ---------- Modal ---------- */

.scrim {
  position: fixed; inset: 0; z-index: 50; background: rgba(46, 38, 34, .32);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: grid; place-items: center; overflow-y: auto;
  padding: max(24px, var(--safe-top)) max(24px, var(--safe-right) + 8px) max(24px, var(--safe-bottom)) max(24px, var(--safe-left) + 8px);
  animation: fade .2s ease both;
}
.modal {
  position: relative; width: 100%; max-width: 880px; background: var(--paper); border-radius: 24px;
  box-shadow: 0 30px 80px -20px rgba(46, 38, 34, .45); overflow: hidden;
  animation: pop .3s var(--ease) both;
}
.modal.narrow { max-width: 460px; }
.modal .close { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(251, 246, 240, .85); }
.modal-pad { padding: 28px; display: grid; gap: 18px; }
.modal h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0; letter-spacing: -0.01em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.split > .left { background: var(--paper-deep); padding: 28px; display: grid; align-content: start; gap: 16px; }
.split > .right { padding: 28px; display: grid; gap: 18px; align-content: start; }
.split .left .card { animation: none; cursor: default; }
.split .left .card:hover { transform: none; box-shadow: var(--shadow); }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.modal-actions .spacer { flex: 1; }
.warning {
  background: var(--kids-wash); color: #6E5519; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13.5px;
}
@media (max-width: 760px) {
  .scrim { padding: 0; align-items: end; }
  .modal {
    border-radius: 24px 24px 0 0; max-height: min(94vh, calc(100vh - var(--safe-top) - 12px)); overflow-y: auto;
    padding: 0 var(--safe-right) var(--safe-bottom) var(--safe-left);
  }
  .split { grid-template-columns: minmax(0, 1fr); }
  .detail-media { height: auto; min-height: 0; }
  .detail-media img { max-height: 46vh; }
  .split > .left, .split > .right, .modal-pad { padding: 20px 16px; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Detail view */
.split.detail > .left { padding: 0; display: block; }
.detail-media { background: var(--w); display: grid; place-items: center; height: 100%; min-height: 360px; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media .media { width: 100%; height: 100%; }
.detail-media .media.placeholder {
  display: grid; place-items: center; min-height: 360px;
  background: linear-gradient(160deg, var(--w), color-mix(in srgb, var(--w) 70%, var(--c)));
}
.detail-media .media.placeholder span {
  font-family: var(--serif); font-style: italic; font-size: 88px; color: color-mix(in srgb, var(--c) 70%, var(--ink));
  opacity: .75;
}
@media (max-width: 760px) {
  .detail-media .media.placeholder { min-height: 200px; }
  .detail-media .media.placeholder span { font-size: 64px; }
}
.detail h2 { font-size: 28px; line-height: 1.15; }
.detail .desc { color: var(--ink-soft); font-size: 14px; margin: 0; }
.detail .price { font-size: 17px; color: var(--ink); }
.visit { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 14px; text-decoration: none; }
.visit:hover { text-decoration: underline; text-underline-offset: 3px; }
.visit svg { width: 14px; height: 14px; }

/* Skeleton */
.skeleton { background: linear-gradient(90deg, var(--paper-deep) 0%, #FBF3EA 50%, var(--paper-deep) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.loading-card { display: grid; gap: 12px; }
.loading-card .img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.loading-card .line { height: 14px; }
.loading-text { font-family: var(--serif); font-style: italic; color: var(--ink-soft); text-align: center; margin: 4px 0 0; }

/* ---------- Empty states ---------- */

.empty {
  text-align: center; padding: 72px 24px; display: grid; justify-items: center; gap: 12px;
  border: 1.5px dashed var(--line-strong); border-radius: 24px; color: var(--ink-soft);
}
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.empty p { margin: 0; max-width: 420px; }
.empty svg { width: 34px; height: 34px; color: var(--accent); }

/* ---------- Auth / landing ---------- */

.landing { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.landing .story { padding: 48px 56px; display: flex; flex-direction: column; gap: 40px; position: relative; overflow: hidden; }
.landing .story h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02;
  letter-spacing: -0.035em; margin: 0; max-width: 560px;
}
.landing .story h1 em, .auth h2 em { font-style: italic; color: var(--accent); }
.landing .story h1 .nowrap { white-space: nowrap; }
.landing .story h1, .landing .story p { text-wrap: pretty; }
.landing .story p { font-size: 17px; color: var(--ink-soft); max-width: 460px; margin: 16px 0 0; }
.floaters { position: relative; flex: 1; min-height: 330px; max-width: 660px; }
.floater {
  position: absolute; width: 33%; max-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lift); overflow: hidden; animation: drift 9s ease-in-out infinite alternate;
}
.floater .photo { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; background: var(--w); }
.floater .t { padding: 10px 12px 12px; font-family: var(--serif); font-size: 14px; line-height: 1.3; }
.floater .t small { display: flex; align-items: center; gap: 6px; font-family: var(--sans); color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.floater:nth-child(1) { left: 0; top: 10px; transform: rotate(-4deg); }
.floater:nth-child(2) { left: 33.5%; top: 70px; transform: rotate(3deg); animation-delay: -3s; }
.floater:nth-child(3) { left: 67%; top: 0; transform: rotate(-2deg); animation-delay: -6s; }
@keyframes drift { to { translate: 0 -10px; } }
.landing .panel { display: grid; place-items: center; padding: 48px 32px; background: var(--card); border-left: 1px solid var(--line); }
.auth { width: 100%; max-width: 360px; display: grid; gap: 18px; }
.auth h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 0; letter-spacing: -0.015em; }
.auth .switcher { font-size: 14px; color: var(--ink-soft); }
.auth .switcher button { background: none; border: none; padding: 0; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .landing { grid-template-columns: 1fr; }
  .landing .story {
    padding: max(32px, var(--safe-top) + 12px) max(20px, var(--safe-right) + 8px) 8px max(20px, var(--safe-left) + 8px); gap: 24px;
  }
  .landing .panel {
    border-left: none; border-top: 1px solid var(--line); place-items: start center;
    padding: 32px max(16px, var(--safe-right) + 8px) calc(56px + var(--safe-bottom)) max(16px, var(--safe-left) + 8px);
  }
}

/* ---------- Public pages ---------- */

.public-head { padding: 64px 0 32px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.public-head h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.03em; line-height: 1.02; margin: 0; max-width: 820px; }
.public-head .lede { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink-soft); margin: 0; max-width: 600px; }
.by { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: 14px; }
.public .filters { justify-content: center; }
.single { max-width: 520px; margin: 48px auto 0; }
.single .card { cursor: default; }
.single .card:hover { transform: none; }
.single .card h3 { font-size: 26px; -webkit-line-clamp: unset; }
.single .note { -webkit-line-clamp: unset; font-size: 17px; }
.single .card .media img { max-height: 640px; }
/* The public gift guide (/gifts/…) */
.guide-page .public-head h1 { max-width: 900px; }
.guide-over { margin: 4px 0 0; padding: 8px 16px; border-radius: 999px; background: var(--accent-wash); color: var(--accent-deep); font-size: 14px; }
.guide-jump { margin-bottom: 8px; }
.guide-page .guide-section { margin: 36px 0 0; scroll-margin-top: calc(84px + var(--safe-top)); }
.guide-page .guide-section .section-head h2 { font-size: clamp(24px, 3vw, 30px); }
a.guide-pick { display: block; color: inherit; text-decoration: none; border-radius: var(--radius); }
a.guide-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.guide-ask {
  margin: 64px auto 0; max-width: 560px; padding: 36px 24px; text-align: center; display: grid; gap: 12px; justify-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.guide-ask h2 { font-family: var(--serif); font-weight: 350; font-size: clamp(26px, 4vw, 32px); line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.guide-ask .nowrap { white-space: nowrap; }
.guide-ask p { margin: 0; color: var(--ink-soft); max-width: 420px; line-height: 1.55; }
.guide-inbox { color: var(--accent-deep); font-weight: 500; text-underline-offset: 3px; white-space: nowrap; }
.guide-inbox:hover { color: var(--accent); }
@media (max-width: 600px) {
  .guide-page .public-head { padding: 36px 0 20px; }
  .guide-page .public-head .lede { font-size: 17px; }
  /* One row that scrolls sideways, so the first picks show sooner. */
  .guide-page .guide-jump {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin: 0 -16px 8px; padding: 2px 16px;
  }
  .guide-page .guide-jump::-webkit-scrollbar { display: none; }
  .guide-page .guide-jump .chip { flex: none; }
  .guide-page .guide-section { margin-top: 28px; }
}
.footer-cta { text-align: center; margin: 72px 0 0; color: var(--muted); font-size: 14px; display: grid; gap: 14px; justify-items: center; }
.footer-cta .logo { font-size: 22px; }

/* ---------- Privacy & terms ---------- */

.legal { max-width: 680px; margin: 0 auto; padding: 48px 0 24px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.65; }
.legal h1 {
  font-family: var(--serif); font-weight: 300; font-size: clamp(36px, 5vw, 56px); line-height: 1.05;
  letter-spacing: -0.03em; color: var(--ink); margin: 10px 0 18px; text-wrap: balance;
}
.legal h2 { font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: -0.01em; color: var(--ink); margin: 44px 0 10px; }
.legal p { margin: 0 0 14px; text-wrap: pretty; }
.legal ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-deep); text-underline-offset: 3px; }
.legal .legal-lede { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--ink); }
.legal .legal-date { font-size: 13px; color: var(--muted); }
.legal .legal-more { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); }
.site-legal { display: flex; justify-content: center; gap: 10px; padding: 48px 16px 32px; color: var(--muted); font-size: 13px; }
.site-legal a, .landing-legal a, .auth-legal a { color: inherit; text-underline-offset: 3px; }
.site-legal a:hover, .landing-legal a:hover, .auth-legal a:hover { color: var(--ink-soft); }
.landing-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.landing .story .landing-legal { margin: 0; display: flex; gap: 8px; font-size: 11.5px; color: var(--muted); }
.auth-legal { margin: 4px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
@media (max-width: 600px) {
  .legal { padding-top: 28px; font-size: 16px; }
  .legal .legal-lede { font-size: 18px; }
  .legal h2 { font-size: 22px; margin-top: 36px; }
}

.notfound { text-align: center; padding: 120px 24px; display: grid; gap: 14px; justify-items: center; }
.notfound h1 { font-family: var(--serif); font-weight: 350; font-size: 40px; margin: 0; }

/* ---------- Toast ---------- */

#toast {
  position: fixed; left: 50%; bottom: calc(28px + var(--safe-bottom)); z-index: 100; transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper); padding: 11px 18px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Picker list ---------- */

.picker { display: grid; gap: 8px; max-height: 52vh; overflow-y: auto; padding-right: 4px; }
.pick {
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 8px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); text-align: left;
}
.pick:hover { border-color: var(--line-strong); }
.pick[aria-pressed='true'] { border-color: var(--accent); background: var(--accent-wash); }
.pick .thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--w); }
.pick .ttl { font-family: var(--serif); font-size: 15px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pick .check { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; }
.pick[aria-pressed='true'] .check { background: var(--accent); border-color: var(--accent); color: #fff; }
.pick .check svg { width: 13px; height: 13px; }
.modal:focus { outline: none; }
.modal .editable, .page-head .editable { margin-left: -4px; margin-right: -4px; }
@media (hover: none) { .paste-tip { display: none; } }
.inline-icon { width: 13px; height: 13px; vertical-align: -2px; margin-right: 5px; }
.tags { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.new-mark {
  font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep);
  background: var(--accent-wash); border-radius: 999px; padding: 1px 6px; margin-left: 2px;
}
.card .meta { align-items: flex-start; }
.card .meta .site { flex: none; max-width: 45%; }

/* ---------- Google sign-in & profile links ---------- */

.btn-google {
  width: 100%; padding: 13px 18px; font-size: 15px; gap: 12px;
  background: #fff; color: #1F1F1F; border-color: #DADCE0;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .08);
}
.btn-google:hover { background: #F8F9FA; border-color: #C6C9CE; box-shadow: 0 1px 3px rgba(60, 64, 67, .16); }
.btn-google svg { width: 18px; height: 18px; }
.auth-lede { margin: -8px 0 4px; color: var(--ink-soft); }
.dev-link {
  background: none; border: none; padding: 0; font-size: 13px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
}
.dev-link:hover { color: var(--ink-soft); }
.auth.test-account { gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }

.profile-line { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.profile-line a { color: var(--ink-soft); text-underline-offset: 3px; }
.profile-line a:hover { color: var(--accent); }
.profile-line.centered { justify-items: center; text-align: center; }
.customize-link {
  background: none; border: none; padding: 0; font-size: 13px; color: var(--muted); text-align: left;
}
.customize-link span { color: var(--accent); }
.customize-link:hover span { text-decoration: underline; text-underline-offset: 3px; }

.handle-field {
  display: flex; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
.handle-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-wash); }
.handle-prefix { padding-left: 14px; color: var(--muted); white-space: nowrap; }
.handle-field .input { border: none; box-shadow: none; padding-left: 1px; background: transparent; }
.handle-field .input:focus { box-shadow: none; }
.settings-row { display: grid; gap: 6px; }
.download-row { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; }
.download-alt { font-size: 13.5px; color: var(--ink-soft); }
.download-alt a, .modal .hint a { color: var(--accent-deep); text-underline-offset: 3px; }
.lede-sm { margin: 0; color: var(--ink-soft); }
.btn-delete { background: var(--danger); color: #fff; }
.btn-delete:hover { filter: brightness(.92); }
.notfound-text { color: var(--ink-soft); margin: 0; max-width: 34em; text-wrap: pretty; }
.notfound .logo { font-size: 26px; margin-bottom: 8px; }
.avatar-lg { width: 64px; height: 64px; font-size: 28px; }
.landing .story p.promise { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink); margin-top: 14px; }
.floater .t small .dot { width: 6px; height: 6px; }
.floater-note {
  display: block; margin-top: 6px; padding-left: 8px; border-left: 2px solid var(--c);
  font-style: italic; font-size: 12.5px; color: var(--ink-soft); line-height: 1.35;
}
.landing .story .photo-credits { margin: 0; max-width: none; font-size: 11.5px; color: var(--muted); }
.photo-credits a { color: inherit; text-underline-offset: 2px; }
.photo-credits a:hover { color: var(--ink-soft); }
.floater.village .t small { color: var(--accent-deep); }
.floater.village .t small svg { width: 11px; height: 11px; color: var(--accent); }
.floater .friends { display: flex; align-items: center; gap: 7px; white-space: nowrap; margin-top: 8px; font-family: var(--sans); font-size: 11.5px; line-height: 1.3; color: var(--ink-soft); }
.floater .faces { display: flex; flex: none; }
.floater .faces .avatar { width: 22px; height: 22px; font-size: 11px; border: 2px solid var(--card); }
.floater .faces .avatar + .avatar { margin-left: -7px; }
.floater .faces .avatar:nth-child(2) { background: var(--home-wash); color: #56684A; }
.floater .faces .avatar:nth-child(3) { background: var(--books-wash); color: #4D6479; }
.floater .faces .avatar:nth-child(4) { background: var(--paper-deep); color: var(--ink-soft); font-family: var(--sans); font-size: 9.5px; }

/* Large screens: give the story column the room, and scale type and cards up
   so the page doesn't feel empty. The sign-in panel stays a comfortable width. */
@media (min-width: 1400px) {
  .landing { grid-template-columns: minmax(0, 1fr) minmax(440px, 34%); }
  .landing .story { padding: 56px clamp(56px, 5vw, 104px); gap: 48px; }
  .landing .story h1 { max-width: none; font-size: clamp(72px, 5.2vw, 104px); }
  .landing .story p { max-width: 36em; font-size: 19px; }
  .landing .story p.promise { font-size: 21px; }
  .floaters { max-width: 1000px; min-height: 460px; }
  .floater { max-width: 300px; }
  .floater .t { font-size: 16px; padding: 12px 14px 14px; }
  .floater-note, .floater .friends { font-size: 13.5px; }
  .auth { max-width: 380px; }
  .auth h2 { font-size: 34px; }
}

/* Phones and small tablets: the same three cards, smaller, fanned like a
   hand of cards between the copy and the sign-in. The village card sits on top. */
@media (max-width: 900px) {
  .landing { grid-template-rows: auto 1fr; }
  .floaters { flex: none; width: 100%; max-width: 380px; min-height: 0; height: 196px; margin: 0 auto; }
  .floater { width: 40%; max-width: 170px; border-radius: 12px; animation: none; }
  .floater:nth-child(1) { left: 0; top: 22px; transform: rotate(-7deg); }
  .floater:nth-child(2) { left: 30%; top: 0; transform: rotate(0deg); z-index: 1; }
  .floater:nth-child(3) { left: 60%; top: 22px; transform: rotate(7deg); }
  .floater .t { padding: 8px 10px 10px; font-size: 12.5px; }
  .floater .t small { font-size: 9.5px; margin-bottom: 2px; }
  .floater-note { display: none; }
  .floater .friends { margin-top: 6px; font-size: 10.5px; gap: 5px; }
  .floater .faces .avatar { width: 18px; height: 18px; font-size: 9px; }
  .floater .faces .avatar:nth-child(4) { font-size: 8px; }
  .floater .faces .avatar + .avatar { margin-left: -6px; }
  .landing .story .photo-credits { font-size: 10.5px; text-align: center; margin-bottom: 8px; }
  .landing-foot { justify-content: center; }
  /* The sign-in panel has these links, just below the button. */
  .landing .story .landing-legal { display: none; }
}
