:root {
  --paper: #f4efe4;
  --card: #fbf8f1;
  --well: #ebe4d4;
  --ink: #1b1915;
  --muted: #736d60;
  --line: #ddd4c2;
  --pine: #1e3a2c;
  --pine-2: #2c5440;
  --berry: #8e1f2f;
  --gold: #a17f44;
  --gold-soft: #d9b77a;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(1200px 600px at 50% -10%, #fbf7ee 0%, rgba(251, 247, 238, 0) 70%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body.locked { overflow: hidden; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
#snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
#app { position: relative; z-index: 1; min-height: 100vh; display: flex; flex-direction: column; }

/* ───────── top bar ───────── */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px clamp(16px, 4vw, 40px); position: relative; z-index: 30; }
.brand { font-family: var(--serif); font-style: italic; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 8px; }
.brand svg { width: 14px; height: 14px; fill: var(--gold); }
.menu-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; transition: border-color 0.2s, background 0.2s; }
.menu-btn:hover { border-color: var(--ink); }
.menu-pop { position: absolute; right: clamp(16px, 4vw, 40px); top: 58px; width: min(300px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 60px -20px rgba(27, 25, 21, 0.35); padding: 8px; animation: pop 0.18s var(--ease); }
.menu-pop h6 { margin: 10px 12px 4px; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.menu-pop a, .menu-pop button { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 11px 12px; border: 0; background: none; border-radius: 5px; text-decoration: none; font-size: 15px; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--well); }
.menu-pop .primary { font-family: var(--serif); font-size: 18px; }
.menu-pop small { color: var(--muted); font-size: 12px; }
.menu-pop hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } }

/* ───────── type ───────── */
.eyebrow { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.display { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 9.5vw, 112px); line-height: 0.96; letter-spacing: -0.035em; margin: 18px auto 0; max-width: 12ch; text-wrap: balance; font-variation-settings: "opsz" 144; }
.display em { font-style: italic; font-weight: 300; color: var(--pine); }
.display.wide { max-width: 16ch; }
.lede { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2.2vw, 21px); color: #4a463d; max-width: 34em; margin: 22px auto 0; white-space: pre-line; text-wrap: pretty; }
.orn { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 30px auto 0; }
.orn::before, .orn::after { content: ""; height: 1px; width: min(90px, 18vw); background: linear-gradient(90deg, transparent, var(--gold-soft)); }
.orn::after { transform: scaleX(-1); }
.orn svg { width: 13px; height: 13px; fill: currentColor; }

/* ───────── buttons / inputs ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--pine); background: var(--pine); color: #f6f1e4; padding: 16px 26px; border-radius: 3px; font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; transition: background 0.2s, transform 0.2s var(--ease), box-shadow 0.2s; white-space: nowrap; }
.btn:hover { background: var(--pine-2); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(30, 58, 44, 0.7); }
.btn:active { transform: none; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); box-shadow: none; }
.btn.berry { background: var(--berry); border-color: var(--berry); }
.btn.berry:hover { background: #a52739; box-shadow: 0 10px 24px -12px rgba(142, 31, 47, 0.8); }
.btn.small { padding: 11px 16px; font-size: 11px; }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 13.5px; }
.link:hover { color: var(--ink); }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.field input, .field textarea, .field select, .inp { width: 100%; border: 0; border-bottom: 1px solid #bfb6a2; background: transparent; padding: 8px 0 9px; font-size: 16px; border-radius: 0; outline: none; transition: border-color 0.2s; }
.field textarea { resize: vertical; min-height: 64px; line-height: 1.45; }
.field input:focus, .field textarea:focus, .inp:focus { border-color: var(--pine); box-shadow: 0 1px 0 var(--pine); }
.field input::placeholder, .field textarea::placeholder, .inp::placeholder { color: #a79f8e; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }

/* ───────── list hero ───────── */
.hero { text-align: center; padding: clamp(28px, 6vw, 64px) 20px clamp(26px, 4vw, 44px); }
.stats { margin-top: 20px; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.stats b { color: var(--ink); font-weight: 500; }
.banner { margin: 0 auto 6px; max-width: 720px; background: var(--pine); color: #efe8d6; border-radius: 6px; padding: 12px 18px; font-size: 14px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banner a { color: var(--gold-soft); white-space: nowrap; }
.banner-wrap { padding: 0 16px; }

/* ───────── toolbar ───────── */
.toolbar { position: sticky; top: 0; z-index: 20; background: rgba(244, 239, 228, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar-in { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 14px; padding: 10px clamp(12px, 4vw, 40px); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 2px 0; -webkit-overflow-scrolling: touch; mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 8px 15px; font-size: 13.5px; white-space: nowrap; transition: all 0.2s; }
.chip sup { font-size: 10px; color: var(--muted); margin-left: 5px; vertical-align: 0.35em; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--pine); border-color: var(--pine); color: #f6f1e4; }
.chip.on sup { color: var(--gold-soft); }
.chip-sep { flex: none; width: 1px; background: var(--line); margin: 6px 4px; }
.tools { display: flex; align-items: center; gap: 14px; flex: none; }
.sel { border: 0; background: transparent; font-size: 13.5px; padding: 8px 2px; outline: none; max-width: 150px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; white-space: nowrap; user-select: none; }
.toggle input { appearance: none; width: 30px; height: 18px; border-radius: 999px; background: #cfc6b3; position: relative; margin: 0; transition: background 0.2s; cursor: pointer; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform 0.2s var(--ease); }
.toggle input:checked { background: var(--pine); }
.toggle input:checked::after { transform: translateX(12px); }

/* ───────── grid + tiles ───────── */
.wrap { max-width: 1320px; margin: 0 auto; padding: clamp(22px, 4vw, 44px) clamp(12px, 4vw, 40px) 80px; width: 100%; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 44px 26px; align-items: start; }
.tile { position: relative; cursor: pointer; text-align: left; background: none; border: 0; padding: 0; display: block; width: 100%; animation: rise 0.7s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.tile-img { position: relative; aspect-ratio: 4 / 5; background: var(--well); border-radius: 4px; overflow: hidden; display: block; }
.tile-img::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(27, 25, 21, 0.05); border-radius: inherit; pointer-events: none; }
.tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; transition: transform 0.8s var(--ease), filter 0.4s, opacity 0.4s; }
.tile:hover .tile-img img { transform: scale(1.045); }
.ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(64px, 12vw, 120px); color: rgba(30, 58, 44, 0.22); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(161, 127, 68, 0.07) 14px 15px); }
.tag { position: absolute; left: 10px; top: 10px; background: rgba(251, 248, 241, 0.94); color: var(--gold); border-radius: 999px; padding: 5px 11px 5px 9px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; z-index: 2; }
.tag svg { width: 9px; height: 9px; fill: currentColor; }
.gifted { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; padding: 10px; }
.gifted span { background: rgba(27, 25, 21, 0.88); color: #f1eadb; padding: 9px 16px; border-radius: 999px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile.claimed .tile-img img, .tile.claimed .ph { filter: grayscale(1); opacity: 0.38; }
.tile.claimed .tile-body { opacity: 0.5; }
.tile.claimed .t-price { text-decoration: line-through; text-decoration-color: rgba(27, 25, 21, 0.4); }
.tile-body { display: block; padding: 14px 2px 0; }
.t-store { display: block; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.t-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.22; letter-spacing: -0.01em; margin: 5px 0 0; }
.t-specs { display: block; font-size: 13px; color: var(--muted); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.t-price { display: block; font-size: 14.5px; font-weight: 500; margin-top: 7px; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); font-family: var(--serif); font-style: italic; font-size: 20px; grid-column: 1 / -1; }
.empty .link { display: block; margin: 14px auto 0; font-family: var(--sans); font-style: normal; }
.skel .tile-img { background: linear-gradient(100deg, var(--well) 30%, #f6f1e6 50%, var(--well) 70%); background-size: 300% 100%; animation: shimmer 1.4s linear infinite; }
.skel .t-title { color: var(--muted); font-style: italic; }
@keyframes shimmer { to { background-position: -150% 0; } }
.foot { margin-top: auto; text-align: center; padding: 44px 20px 54px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot a { color: var(--ink); text-underline-offset: 3px; }
.foot .brand { font-size: 22px; margin-bottom: 8px; }

/* ───────── overlay / sheet ───────── */
#overlay { position: fixed; inset: 0; z-index: 50; display: none; }
#overlay.open { display: block; }
.scrim { position: absolute; inset: 0; background: rgba(27, 25, 21, 0.5); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: fade 0.25s both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(980px, calc(100vw - 40px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); background: var(--card); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.55); animation: sheet-in 0.4s var(--ease) both; }
@keyframes sheet-in { from { opacity: 0; transform: translate(-50%, -47%) scale(0.98); } }
.sheet-img { position: relative; background: var(--well); min-height: 420px; }
.sheet-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; }
.sheet-img.claimed img { filter: grayscale(1); opacity: 0.5; }
.sheet-body { padding: clamp(24px, 4vw, 44px); overflow-y: auto; max-height: calc(100dvh - 40px); display: flex; flex-direction: column; }
.sheet-body h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 0; text-wrap: balance; }
.s-price { font-size: 19px; margin-top: 12px; }
.specs { margin: 22px 0 0; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.specs dd { margin: 0; text-align: right; font-weight: 500; }
.quote { margin: 22px 0 0; padding: 2px 0 2px 16px; border-left: 2px solid var(--gold-soft); font-family: var(--serif); font-style: italic; font-size: 17px; color: #45413a; white-space: pre-line; }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.actions { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.fine { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; margin: 4px 0 0; }
.fine svg { flex: none; width: 13px; height: 13px; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.claimbox { border: 1px solid var(--line); border-radius: 6px; padding: 18px; background: #f7f2e7; animation: pop 0.25s var(--ease); }
.claimbox h4 { font-family: var(--serif); font-weight: 400; font-size: 20px; margin: 0 0 12px; }
.claimbox .rowbtn { display: flex; gap: 10px; margin: 14px 0 12px; }
.claimbox .rowbtn .btn { flex: 1; }
.status { border-radius: 6px; padding: 16px 18px; background: var(--well); font-size: 15px; }
.status b { font-family: var(--serif); font-weight: 400; font-size: 20px; display: block; margin-bottom: 2px; }
.status.mine { background: var(--pine); color: #efe8d6; }
.status.mine .link { color: var(--gold-soft); }
.x { position: absolute; right: 12px; top: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(251, 248, 241, 0.9); font-size: 22px; line-height: 1; display: grid; place-items: center; transition: background 0.2s, transform 0.2s; }
.x:hover { background: #fff; transform: rotate(90deg); }

/* drawer (editor) */
.drawer { position: absolute; right: 0; top: 0; bottom: 0; width: min(470px, 100vw); background: var(--card); box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; animation: drawer-in 0.4s var(--ease) both; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; gap: 16px; align-items: center; padding: 22px 64px 18px 24px; border-bottom: 1px solid var(--line); }
.drawer-head .thumb { cursor: pointer;  width: 64px; height: 80px; flex: none; position: relative; background: var(--well); border-radius: 3px; overflow: hidden; }
.drawer-head .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.drawer-head .thumb .ph { font-size: 34px; }
.drawer-head h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-body { padding: 24px; overflow-y: auto; flex: 1; }
.drawer-foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: flex; gap: 10px; }
.drawer-foot .btn { flex: 1; }
.star-toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 22px; cursor: pointer; }
.star-toggle b { font-weight: 500; display: block; }
.star-toggle small { color: var(--muted); }
.minor { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.minor .danger { color: var(--berry); }
.note-claimed { background: var(--well); border-radius: 6px; padding: 14px 16px; font-size: 14px; margin-bottom: 22px; }
details.more { margin-bottom: 18px; }
details.more summary { cursor: pointer; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }

/* ───────── editor ───────── */
.ed-hero { text-align: center; padding: clamp(18px, 4vw, 40px) 20px 8px; }
.title-inp { display: block; width: 100%; max-width: 900px; margin: 12px auto 0; text-align: center; border: 0; border-bottom: 1px dashed transparent; background: transparent; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 6.5vw, 72px); letter-spacing: -0.03em; line-height: 1.05; outline: none; padding: 4px 0; font-variation-settings: "opsz" 144; text-overflow: ellipsis; }
.title-inp:hover, .title-inp:focus { border-bottom-color: var(--gold-soft); }
.note-inp { display: block; width: 100%; max-width: 620px; margin: 10px auto 0; text-align: center; border: 0; border-bottom: 1px dashed transparent; background: transparent; font-family: var(--serif); font-style: italic; font-size: 18px; color: #4a463d; outline: none; resize: none; padding: 6px 0; line-height: 1.45; }
.note-inp:hover, .note-inp:focus { border-bottom-color: var(--gold-soft); }
.saved { font-size: 12px; color: var(--muted); height: 18px; margin-top: 6px; transition: opacity 0.3s; }
.panel { max-width: 860px; margin: 22px auto 0; padding: 0 16px; display: grid; gap: 16px; }
.cardx { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: clamp(18px, 3vw, 26px); }
.cardx h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; margin: 0 0 4px; letter-spacing: -0.01em; }
.cardx p { margin: 0; color: var(--muted); font-size: 14px; }
.addrow { display: flex; gap: 12px; margin-top: 16px; align-items: flex-end; }
.addrow textarea { flex: 1; border: 0; border-bottom: 1px solid #bfb6a2; background: transparent; font-size: 17px; padding: 10px 0; outline: none; resize: none; height: 46px; line-height: 1.5; border-radius: 0; white-space: pre; overflow-x: hidden; }
.addrow textarea:focus { border-color: var(--pine); box-shadow: 0 1px 0 var(--pine); }
.addrow textarea::placeholder { color: #a79f8e; }
.sub { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--muted); }
.sharerow { display: flex; gap: 10px; margin-top: 14px; align-items: center; flex-wrap: wrap; }
.shareurl { flex: 1; min-width: 200px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; background: var(--well); border-radius: 4px; padding: 13px 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 0; outline: none; }
.keep { background: #f1ead9; border: 1px dashed var(--gold-soft); color: #5c5343; border-radius: 8px; padding: 12px 16px; font-size: 13.5px; }
.sect { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sect h2 { font-family: var(--serif); font-weight: 300; font-size: 30px; margin: 0; letter-spacing: -0.02em; }
.sect span { color: var(--muted); font-size: 13.5px; }
.edit-pill { position: absolute; right: 10px; bottom: 10px; z-index: 3; background: rgba(251, 248, 241, 0.94); border-radius: 999px; padding: 6px 12px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0; transform: translateY(4px); transition: all 0.25s var(--ease); }
.tile:hover .edit-pill, .tile:focus-visible .edit-pill { opacity: 1; transform: none; }
.needs { color: var(--berry); }

/* ───────── home ───────── */
.home { text-align: center; padding: clamp(30px, 7vw, 90px) 20px 40px; }
.home .display { max-width: 11ch; }
.startcard { max-width: 460px; margin: 40px auto 0; text-align: left; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; max-width: 980px; margin: clamp(50px, 8vw, 90px) auto 0; text-align: left; padding: 0 6px; }
.steps div { border-top: 1px solid var(--ink); padding-top: 16px; }
.steps i { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.steps h4 { font-family: var(--serif); font-weight: 400; font-size: 23px; margin: 6px 0 6px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.mine { max-width: 460px; margin: 26px auto 0; text-align: left; }
.mine a { display: flex; justify-content: space-between; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 19px; }
.mine a span { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); align-self: center; }

/* ───────── toasts ───────── */
#toasts { position: fixed; left: 0; right: 0; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 90; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast { background: var(--ink); color: #f1eadb; padding: 13px 20px; border-radius: 999px; font-size: 14px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.6); animation: toast-in 0.35s var(--ease) both; max-width: 100%; text-align: center; }
.toast.out { animation: toast-out 0.3s both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ───────── small screens ───────── */
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .t-title { font-size: 16px; }
  .t-specs { font-size: 12.5px; }
  .toolbar-in { flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; padding-bottom: 6px; }
  .chips { flex-basis: 100%; }
  .tools { width: 100%; justify-content: space-between; }
  .sheet { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 94dvh; grid-template-columns: 1fr; border-radius: 16px 16px 0 0; overflow-y: auto; animation-name: sheet-up; }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
  .sheet-img { min-height: 0; aspect-ratio: 5 / 4; }
  .sheet-body { max-height: none; overflow: visible; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .addrow { flex-direction: column; align-items: stretch; }
  .edit-pill { opacity: 1; transform: none; }
  .x { position: fixed; }
  .drawer .x { position: absolute; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.photo-drop { display: block; border: 1px dashed var(--gold); background: #f6f0e2; border-radius: 6px; padding: 16px 18px; margin-bottom: 22px; cursor: pointer; transition: background 0.2s; }
.photo-drop:hover { background: #f1e9d6; }
.photo-drop b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.photo-drop span { font-size: 13.5px; color: var(--muted); }
