:root {
  --cream: #F6F1EA;
  --cream-2: #EFE8DE;
  --paper: #FFFFFF;
  --ink: #1C1A17;
  --muted: #7A736A;
  --muted-2: #A39A8F;
  --tan: #E3D8C8;
  --green: #1F4A3C;
  --green-2: #2A5E4D;
  --green-soft: #E4EDE8;
  --orange: #E07A2F;
  --orange-2: #C9661F;
  --orange-soft: #FCEBDD;
  --danger: #B4432F;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(60, 44, 24, .04), 0 8px 24px rgba(60, 44, 24, .07);
  --shadow-lg: 0 2px 6px rgba(60, 44, 24, .06), 0 18px 40px rgba(60, 44, 24, .14);
  --serif: "Fraunces", "Playfair Display", Georgia, serif;
  --sans: "Outfit", "DM Sans", system-ui, -apple-system, sans-serif;
  --nav-h: 68px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: #E9E1D5;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 12px; }

.phone {
  position: relative;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  overflow-x: hidden;
}
@media (min-width: 520px) {
  body { padding: 24px 0; }
  .phone { min-height: calc(100vh - 48px); border-radius: 36px; box-shadow: 0 30px 80px rgba(60, 44, 24, .18); }
}

/* Icons */
[data-icon] { display: inline-flex; align-items: center; justify-content: center; }
[data-icon] svg { width: 22px; height: 22px; }
.ico-sm svg { width: 16px; height: 16px; }

/* Type */
.display, .headline, .card-title, .modal-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96;
}
.headline { font-size: 38px; line-height: 1.05; margin: 6px 0 12px; }
.sub { color: var(--muted); margin: 0 0 22px; font-size: 16px; font-weight: 300; max-width: 34ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0; color: var(--orange);
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}

/* Screens */
.screen { padding: 22px 22px calc(var(--nav-h) + 40px); animation: ofade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.topbar { display: flex; align-items: center; justify-content: space-between; min-height: 40px; padding-top: 6px; }

/* Splash */
.splash {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding-bottom: 32px;
}
@media (min-width: 520px) { .splash { min-height: calc(100vh - 48px); } }
.splash-inner { display: flex; flex-direction: column; align-items: center; margin-top: auto; }
.logo-tile {
  width: 92px; height: 92px; border-radius: 26px; background: var(--green);
  color: #fff; box-shadow: 0 14px 30px rgba(31, 74, 60, .28), 0 3px 6px rgba(31, 74, 60, .2);
  margin-bottom: 34px; transform: rotate(-4deg);
}
.logo-tile svg { width: 46px; height: 46px; }
.display { font-size: 40px; line-height: 1.05; margin: 0 0 14px; }
.splash-sub { color: var(--muted); font-size: 18px; font-weight: 300; margin: 0 0 36px; line-height: 1.45; }
.splash-foot { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--muted-2); font-size: 13px; padding-top: 40px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 500; font-size: 15px;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(31, 74, 60, .22); }
.btn-primary:hover { background: var(--green-2); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(224, 122, 47, .28); }
.btn-orange:hover { background: var(--orange-2); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--tan); }
.btn-outline:hover { background: var(--paper); }
.btn-ghost { background: transparent; color: var(--muted); padding: 8px 12px; }
.btn-danger { background: var(--danger); color: #fff; }

.avatar {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--tan); background: var(--paper);
  font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--green);
}

/* Filters */
.filters { display: grid; gap: 14px; margin-bottom: 18px; }
.filter-label { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--tan); background: var(--paper);
  font-size: 14px; font-weight: 500; color: var(--ink); transition: background .15s, color .15s, border-color .15s;
}
.chip svg { width: 16px; height: 16px; }
.chip:hover { border-color: #CDBFAA; }
.chip[aria-checked="true"] { background: var(--green); border-color: var(--green); color: #fff; }

/* Who's going? — separate from the activity chips */
.who-row { margin: 0 0 18px; padding-top: 14px; border-top: 1px dashed var(--tan); }
.with-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  padding: 10px 12px 10px 10px; border-radius: 18px; border: 1.5px solid var(--tan); background: var(--paper);
  font: inherit; color: var(--ink); transition: background .15s, border-color .15s;
}
.with-toggle:hover { border-color: #CDBFAA; }
.with-ico {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--cream); color: var(--muted); transition: background .15s, color .15s;
}
.with-ico svg { width: 20px; height: 20px; }
.with-text { flex: 1; display: grid; gap: 1px; min-width: 0; }
.with-title { font-size: 15px; font-weight: 600; }
.with-sub { font-size: 13px; color: var(--muted); font-weight: 300; }
.with-switch { position: relative; flex: none; width: 42px; height: 26px; border-radius: 999px; background: var(--tan); transition: background .2s; }
.with-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.with-toggle[aria-checked="true"] { background: var(--green-soft); border-color: var(--green); }
.with-toggle[aria-checked="true"] .with-ico { background: var(--green); color: #fff; }
.with-toggle[aria-checked="true"] .with-switch { background: var(--green); }
.with-toggle[aria-checked="true"] .with-switch::after { transform: translateX(16px); }
.pill-together { background: var(--green-soft); color: var(--green); }
.notice #with-off-btn { display: block; margin: 6px auto 0; }

/* Stage */
.stage { min-height: 200px; scroll-margin-top: 16px; }
.ready { text-align: center; padding: 18px 10px 8px; }
.ready-art { width: 128px; height: 128px; margin: 0 auto 10px; }
.ready h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 6px 0 4px; letter-spacing: -0.01em; }
.ready p { color: var(--muted); margin: 0; font-weight: 300; }

.cta-dock {
  position: fixed; z-index: 15; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + 26px); width: min(calc(100% - 44px), 386px);
}
.cta-dock::before {
  content: ""; position: absolute; left: -22px; right: -22px; bottom: calc(-1 * (var(--nav-h) + 40px)); top: -26px; z-index: -1;
  background: linear-gradient(to bottom, rgba(246,241,234,0), rgba(246,241,234,.96) 32%); pointer-events: none;
}
@media (min-width: 520px) { .cta-dock { bottom: calc(var(--nav-h) + 50px); } }
#screen-discover { padding-bottom: calc(var(--nav-h) + 130px); }

/* Cards */
.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.adventure { position: relative; padding: 24px 22px 20px; animation: deal .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes deal { from { opacity: 0; transform: translateY(14px) rotate(-1.5deg) scale(.98); } to { opacity: 1; transform: none; } }
.adv-head { display: flex; justify-content: space-between; align-items: flex-start; }
.adv-emoji { font-size: 52px; line-height: 1; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
}
.badge svg { width: 14px; height: 14px; }
.cat-Solo     { background: #E2EEF8; color: #2D5F86; }
.cat-Social   { background: #FBE4E6; color: #9C3B4A; }
.cat-Outdoor  { background: #E1F0E2; color: #2F6B3A; }
.cat-Creative { background: #EEE5F7; color: #6A4592; }
.cat-Food     { background: #FCEBD7; color: #9A5A16; }
.cat-Explore  { background: #DEF1EE; color: #22685F; }
.card-title { font-size: 26px; line-height: 1.12; margin: 16px 0 10px; }
.adv-text { color: var(--muted); margin: 0 0 16px; font-weight: 300; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
  background: var(--cream); color: var(--muted); font-size: 13px; font-weight: 500;
}
.pill svg { width: 14px; height: 14px; }
.adv-actions { display: grid; gap: 10px; }
.notice { text-align: center; padding: 26px 22px; }
.notice h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 4px 0 6px; }
.notice p { color: var(--muted); margin: 0 0 16px; font-weight: 300; }
.notice .emoji { font-size: 40px; }

/* Tab bar */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 20;
  width: min(calc(100% - 40px), 300px); height: var(--nav-h);
  display: flex; gap: 6px; padding: 8px; border-radius: 999px;
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(227, 216, 200, .7);
}
@media (min-width: 520px) { .tabbar { bottom: 40px; } }
.tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; background: transparent; border-radius: 999px; color: var(--muted-2); font-weight: 500; font-size: 14px;
  transition: background .2s, color .2s;
}
.tab[aria-current="page"] { background: var(--green); color: #fff; }

/* Memories */
.stats { display: grid; grid-template-columns: 1fr 1.35fr; gap: 12px; margin: 22px 0 24px; }
.stat { padding: 18px; }
.stat-label { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat-num { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--green); margin-top: 12px; font-weight: 500; }
.donut-wrap { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.donut { width: 74px; height: 74px; flex: none; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 12px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.mem-list { display: grid; gap: 16px; }
.memory { padding: 0; overflow: hidden; cursor: pointer; transition: transform .15s; animation: fade .3s ease both; }
.memory:hover { transform: translateY(-1px); }
.memory-photo { display: block; width: calc(100% - 20px); margin: 10px 10px 0; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--cream-2); }
.memory-body { padding: 16px 18px 14px; }
.mem-title-row { display: flex; gap: 10px; align-items: flex-start; }
.mem-emoji { font-size: 26px; line-height: 1.1; }
.mem-title { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
.mem-date { color: var(--muted-2); font-size: 13px; margin: 2px 0 0; }
.mem-mood { margin-left: auto; font-size: 24px; line-height: 1; }
.mem-story { font-family: var(--serif); font-style: italic; color: #4F4942; margin: 12px 0; font-weight: 400; line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: 12px; font-weight: 500; display: inline-flex; gap: 4px; align-items: center; }
.tag svg { width: 12px; height: 12px; }
.mem-actions { display: flex; justify-content: flex-end; gap: 2px; border-top: 1px solid var(--cream-2); margin-top: 14px; padding-top: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.fav[aria-pressed="true"] { color: var(--orange); }
.icon-btn.fav[aria-pressed="true"] svg path { fill: currentColor; }

.empty { text-align: center; padding: 34px 24px; margin-top: 24px; }
.empty .emoji { font-size: 44px; }
.empty h2 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 8px 0 6px; }
.empty p { color: var(--muted); font-weight: 300; margin: 0 auto 20px; max-width: 30ch; }

.seg { display: inline-flex; background: var(--cream-2); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }

/* Modal */
.overlay {
  position: fixed; inset: 0; z-index: 50; background: rgba(28, 26, 23, .42);
  display: flex; align-items: flex-end; justify-content: center; animation: ofade .2s ease both;
}
@keyframes ofade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 520px) { .overlay { align-items: center; } }
.sheet {
  width: 100%; max-width: 430px; max-height: 92vh; overflow-y: auto;
  background: var(--cream); border-radius: 28px 28px 0 0; padding: 26px 22px max(24px, env(safe-area-inset-bottom));
  animation: up .3s cubic-bezier(.2,.8,.2,1) both;
}
@media (min-width: 520px) { .sheet { border-radius: 28px; max-width: 400px; } }
@keyframes up { from { transform: translateY(30px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet.small { max-width: 360px; }
.modal-title { font-size: 28px; margin: 0 0 4px; line-height: 1.1; }
.modal-sub { color: var(--muted); margin: 0 0 18px; font-weight: 300; }
.excerpt { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); border-radius: 18px; padding: 14px; margin-bottom: 18px; box-shadow: var(--shadow); }
.excerpt .emoji { font-size: 28px; line-height: 1; }
.excerpt strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 17px; line-height: 1.2; }
.excerpt span { color: var(--muted); font-size: 13px; }
.field { margin-bottom: 16px; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field-label em { font-style: normal; color: var(--muted-2); font-weight: 400; }
.input, .textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--tan); border-radius: 16px; background: var(--paper); font-size: 15px;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31, 74, 60, .12); }
.textarea { resize: vertical; min-height: 100px; line-height: 1.45; }
::placeholder { color: var(--muted-2); }
.upload {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; min-height: 128px; border: 2px dashed var(--tan); border-radius: 18px; background: rgba(255,255,255,.6);
  color: var(--muted); font-size: 14px; cursor: pointer; position: relative; overflow: hidden;
}
.upload:hover, .upload:focus-within { border-color: var(--orange); }
.upload svg { width: 26px; height: 26px; color: var(--orange); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-hint { font-size: 12px; color: var(--muted-2); font-style: normal; }
.upload-preview { position: relative; }
.upload-preview img, .upload-preview video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; display: block; background: #1C1A17; }
.upload-preview .icon-btn { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.92); z-index: 1; }
.media-wrap { position: relative; }
.media-wrap .memory-photo, .media-wrap .detail-photo { margin: 0; width: 100%; }
.memory-photo, .media-wrap .memory-photo { display: block; width: calc(100% - 20px); margin: 10px 10px 0; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: var(--cream-2); }
.media-wrap:has(.memory-photo) { width: calc(100% - 20px); margin: 10px 10px 0; }
.media-wrap:has(.memory-photo) .memory-photo { width: 100%; margin: 0; }
.play-badge {
  position: absolute; left: 12px; bottom: 12px; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(28,26,23,.78); color: #fff;
  display: grid; place-items: center; pointer-events: none;
}
.play-badge svg { width: 16px; height: 16px; }
.share-list { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 6px; }
.share-row {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 14px 16px; border: 1.5px solid var(--tan); border-radius: 18px;
  background: var(--paper); font: inherit; color: inherit;
}
.share-row:hover { border-color: var(--green); }
.share-row .share-ico {
  width: 44px; height: 44px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: var(--cream-2); color: var(--green);
}
.share-row .share-ico svg { width: 22px; height: 22px; }
.share-copy { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.share-copy strong { font-size: 16px; font-weight: 600; }
.share-copy small { font-size: 13px; color: var(--muted); font-weight: 400; }
.share-row-ig { background: var(--green); color: #fff; border-color: var(--green); }
.share-row-ig:hover { background: var(--green-2); border-color: var(--green-2); }
.share-row-ig .share-ico { background: #fff; color: var(--green); }
.share-row-ig .share-copy small { color: rgba(255,255,255,.8); }
.share-row:disabled { opacity: .65; }
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mood {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px;
  border-radius: 18px; border: 1.5px solid var(--tan); background: var(--paper); font-size: 13px; font-weight: 500;
  transition: background .15s, border-color .15s;
}
.mood .face { font-size: 30px; line-height: 1; }
.mood[aria-checked="true"] { background: var(--orange-soft); border-color: var(--orange); color: var(--orange-2); }
.modal-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 8px; }

.detail-photo { width: 100%; border-radius: 20px; display: block; margin-bottom: 16px; max-height: 60vh; object-fit: contain; background: var(--cream-2); }
.media-wrap:has(.detail-photo) { margin-bottom: 16px; }
.media-wrap .detail-photo { margin-bottom: 0; }
.sheet-top { display: flex; justify-content: flex-end; margin: -10px -8px 0 0; }

.switch-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--cream-2); }
.switch-row:last-child { border-bottom: 0; }
.switch-row span.lbl { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.switch-row svg { width: 16px; height: 16px; color: var(--muted); }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; background: var(--tan); border-radius: 999px; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + .track { background: var(--green); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 3px solid var(--orange); outline-offset: 2px; }
.group { background: var(--paper); border-radius: 18px; padding: 4px 16px; box-shadow: var(--shadow); margin-bottom: 16px; }
.group-title { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.hint { color: var(--muted-2); font-size: 12px; margin: -6px 0 12px; }

.toast {
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 34px); transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; white-space: normal; max-width: min(92vw, 360px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 360px) { .headline { font-size: 33px; } .stats { grid-template-columns: 1fr; } }

/* Inline icon sizing inside controls */
svg { flex: none; }
.btn svg { width: 18px; height: 18px; }
.btn-lg svg { width: 19px; height: 19px; }
.eyebrow svg { width: 14px; height: 14px; }
.tab svg { width: 20px; height: 20px; }
.mood:hover, .chip:hover { box-shadow: 0 2px 8px rgba(60,44,24,.06); }

/* Saved for later */
.saved-bar { display: flex; justify-content: flex-start; margin: -4px 0 16px; }
.saved-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 10px 8px 14px; border-radius: 999px; border: 1.5px solid var(--tan); background: var(--paper);
  font-size: 14px; font-weight: 500; color: var(--green); transition: border-color .15s, background .15s;
}
.saved-btn:hover { border-color: #CDBFAA; }
.saved-btn svg { width: 16px; height: 16px; }
.saved-count {
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--green-soft); color: var(--green);
  font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
}
.saved-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.saved-item { background: var(--paper); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.saved-main { display: flex; gap: 12px; align-items: flex-start; }
.saved-emoji { font-size: 30px; line-height: 1; }
.saved-title { font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
.saved-actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; border-top: 1px solid var(--cream-2); margin-top: 12px; padding-top: 10px; }
.saved-actions .btn { padding: 9px 16px; font-size: 14px; }
.saved-empty { text-align: center; padding: 18px 8px 4px; }
.saved-empty .emoji { font-size: 40px; }
.saved-empty h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 6px 0 6px; }
.saved-empty p { color: var(--muted); font-weight: 300; margin: 0 auto; max-width: 30ch; }
