:root {
  --bg: #17100d;
  --bg2: #1e1511;
  --card: #231915;
  --card2: #2c201b;
  --line: rgba(255, 236, 220, 0.07);
  --line2: rgba(255, 236, 220, 0.12);
  --text: #f4ece6;
  --muted: #9a8a80;
  --muted2: #6f625b;
  --accent: #d56a2f;
  --accent2: #e88a45;
  --accent-soft: rgba(213, 106, 47, 0.18);
  --gold: #e9a63e;
  --green: #4fd38a;
  --green-bg: rgba(79, 211, 138, 0.1);
  --red: #f0445e;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --nav-h: 92px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text); }
body {
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.35;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(60% 40% at 15% 8%, rgba(213, 106, 47, 0.16), transparent 70%),
    radial-gradient(50% 35% at 90% 55%, rgba(150, 40, 60, 0.12), transparent 70%),
    radial-gradient(70% 40% at 50% 100%, rgba(213, 106, 47, 0.08), transparent 70%);
  pointer-events: none; z-index: 0;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: var(--text); }
img { display: block; }
svg.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- leaves ---------- */
#leaves { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.leaf { position: absolute; top: -20px; width: 14px; height: 14px; opacity: .55; animation: fall linear infinite; }
@keyframes fall {
  0% { transform: translate(0, -20px) rotate(0); }
  50% { transform: translate(30px, 50vh) rotate(180deg); }
  100% { transform: translate(-10px, 105vh) rotate(360deg); }
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: rgba(28, 20, 16, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { font-size: 25px; font-weight: 600; letter-spacing: -.3px; position: relative; }
.logo .hrt { color: var(--accent2); font-size: 11px; position: relative; top: -12px; margin-left: -3px; }
.idot { position: relative; }
.idot i { position: absolute; left: 50%; top: -3px; transform: translateX(-50%); font-size: 11px; font-style: normal; color: var(--accent2); }
.top-right { display: flex; align-items: center; gap: 10px; }
.duo { display: flex; align-items: center; }
.ava {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--accent); background: var(--card2) center/cover no-repeat;
  display: grid; place-items: center; font-weight: 700; color: var(--accent2);
  position: relative; flex: none;
}
.duo .ava + .ava { margin-left: -12px; border-color: var(--gold); }
.ava .dot { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border-radius: 50%; background: var(--green); border: 2px solid var(--bg); }
.icon-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); display: grid; place-items: center; color: var(--accent2);
}
.icon-btn.sm { width: 38px; height: 38px; }

/* ---------- layout ---------- */
#view { position: relative; z-index: 2; padding: 18px 18px calc(var(--nav-h) + var(--safe-b) + 30px); max-width: 640px; margin: 0 auto; }
.page-head { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 18px; }
.page-head h1 { font-size: 26px; font-weight: 600; margin: 0; letter-spacing: -.3px; }
.fab {
  width: 54px; height: 54px; border-radius: 18px;
  background: linear-gradient(160deg, var(--accent2), var(--accent));
  box-shadow: 0 8px 28px rgba(213, 106, 47, 0.45);
  display: grid; place-items: center; color: #fff;
}
.fab svg.i { width: 26px; height: 26px; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); margin: 0 0 16px -2px; font-size: 16px; }

/* segmented tabs */
.seg {
  display: flex; gap: 4px; padding: 6px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
  border-radius: 20px; margin-bottom: 18px;
}
.seg button {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 6px; border-radius: 15px; color: var(--muted); font-weight: 600; font-size: 15.5px; white-space: nowrap;
}
.seg button.on { background: rgba(255, 255, 255, 0.07); color: var(--accent2); }
.seg button svg.i { width: 18px; height: 18px; }

/* pill subtabs */
.pills { display: flex; gap: 8px; margin: -2px 0 16px; overflow-x: auto; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill {
  padding: 10px 18px; border-radius: 999px; color: var(--muted); font-weight: 600; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.pill.on { background: var(--accent-soft); color: var(--accent2); }
.pill .mini { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 12px; color: var(--accent2); }

.section-label { font-size: 12.5px; font-weight: 600; letter-spacing: .8px; color: var(--muted2); text-transform: uppercase; margin: 18px 0 10px; }
.divider { height: 1px; background: var(--line); margin: 22px 0 6px; }

/* cards */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px; margin-bottom: 12px; position: relative;
}
.empty { text-align: center; color: var(--muted); padding: 34px 10px; }
.empty .big { font-size: 38px; margin-bottom: 8px; }

/* task row */
.row { display: flex; gap: 14px; align-items: flex-start; }
.chk {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid #8a4a2a; flex: none;
  display: grid; place-items: center; color: #fff; margin-top: 1px; transition: .15s;
}
.chk.on { background: var(--accent); border-color: var(--accent); }
.chk.sq { border-radius: 9px; }
.chk svg.i { width: 16px; height: 16px; stroke-width: 3; }
.grow { flex: 1; min-width: 0; }
.t-title { font-size: 17px; font-weight: 600; word-break: break-word; }
.t-title.done { text-decoration: line-through; color: var(--muted); }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line2); color: var(--muted); font-size: 13px; background: rgba(255,255,255,.03);
}
.tag svg.i { width: 14px; height: 14px; }
.tag.accent { color: var(--accent2); border-color: rgba(213,106,47,.4); }
.tag.green { color: var(--green); background: var(--green-bg); border-color: transparent; font-weight: 600; }
.tag.warn { color: #ff8a6a; border-color: rgba(255,120,90,.35); }
.who { display: flex; gap: 4px; align-items: center; }
.letter {
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent2);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; background: rgba(213,106,47,.08);
}
.dots { color: var(--muted); padding: 4px 2px 4px 8px; }
.react { color: var(--muted2); margin-top: 10px; display: inline-flex; gap: 6px; align-items: center; }
.react .em { font-size: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 20px; border-radius: 18px; font-weight: 600; font-size: 16px;
  background: linear-gradient(160deg, var(--accent2), var(--accent)); color: #fff; width: 100%;
}
.btn.ghost { background: rgba(255,255,255,.06); color: var(--text); }
.btn.small { padding: 9px 14px; font-size: 14px; border-radius: 13px; width: auto; }
.btn.danger { background: rgba(240, 68, 94, .14); color: #ff7088; }
.link { color: var(--accent2); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* inputs */
.input, .textarea {
  width: 100%; padding: 16px 18px; border-radius: 20px; background: rgba(255,255,255,.04);
  border: 1.5px solid var(--line2); outline: none; font-size: 16px;
}
.input:focus, .textarea:focus { border-color: var(--accent); }
.textarea { min-height: 90px; resize: vertical; }
.search { display: flex; gap: 10px; margin: 14px 0; }
.search .box { flex: 1; position: relative; }
.search .box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search .input { padding-left: 46px; }
.search .icon-btn { border-radius: 18px; width: 54px; height: 54px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); color: var(--text); }
.search .icon-btn.on { color: var(--accent2); border-color: var(--accent); }
input[type="date"], input[type="datetime-local"], input[type="time"] { color-scheme: dark; }

.quick { display: flex; gap: 10px; margin-bottom: 14px; }
.quick .input { flex: 1; }
.quick .fab { width: 54px; height: 54px; flex: none; border-radius: 18px; }

/* random recipe */
.random {
  background: linear-gradient(150deg, #5a2c17, #3d2015);
  border-radius: var(--r-lg); padding: 22px; margin-bottom: 4px; width: 100%; text-align: left;
  border: 1px solid rgba(255,255,255,.04);
}
.random .ic { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; margin-bottom: 18px; }
.random b { font-size: 20px; display: block; margin-bottom: 4px; }
.random span { color: #cfb8a8; }

/* recipe card */
.rc { display: flex; gap: 16px; }
.rc-img { width: 128px; height: 128px; border-radius: 22px; flex: none; background: #3a2618 center/cover; display: grid; place-items: center; color: #8a5a3a; }
.rc-img svg.i { width: 40px; height: 40px; }
.rc-title { font-size: 18px; font-weight: 600; line-height: 1.25; }
.stars { display: inline-flex; gap: 2px; color: #f6b928; }
.stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.stars .off { color: #4a3a30; }
.stars.big svg { width: 30px; height: 30px; }
.rc-lbl { font-size: 12.5px; letter-spacing: .8px; font-weight: 700; color: var(--muted2); margin: 10px 0 2px; }
.clamp { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.open { -webkit-line-clamp: unset; }
.fav { color: var(--muted2); }
.fav.on { color: var(--red); }
.fav.on svg { fill: currentColor; }

/* grid (wishlist) */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wc { background: var(--card); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; position: relative; text-align: left; }
.wc-img { aspect-ratio: 1/1; background: #fff center/contain no-repeat; display: grid; place-items: center; color: #b7a69a; }
.wc-img.ph { background: linear-gradient(150deg, #3b2619, #2a1b14); color: #8a5a3a; }
.wc-img.ph svg.i { width: 44px; height: 44px; }
.wc-body { padding: 14px 14px 16px; }
.wc-title { font-weight: 600; font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wc-price { color: var(--accent2); font-weight: 700; margin-top: 6px; font-size: 16px; }
.wc-badge { position: absolute; top: 10px; left: 10px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(23,16,13,.85); color: var(--gold); }
.wc.done { opacity: .55; }
.note-bar {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line); color: var(--muted); font-size: 14px; margin-bottom: 16px;
}
.note-bar .grow { line-height: 1.3; }

/* us */
.couple { text-align: center; padding: 30px 20px 26px; overflow: hidden; }
.garland { position: absolute; top: 0; left: 0; right: 0; height: 90px; pointer-events: none; }
.couple .pair { display: flex; justify-content: center; align-items: center; position: relative; margin-top: 14px; }
.couple .pair .ava { width: 108px; height: 108px; border-width: 3px; }
.couple .pair .ava + .ava { margin-left: -14px; border-color: var(--gold); }
.couple .pair .hb { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: #2a1d17; display: grid; place-items: center; color: var(--gold); z-index: 2; }
.couple .pair .hb svg { fill: currentColor; }
.couple h2 { margin: 16px 0 2px; font-size: 30px; }
.couple .names { color: var(--muted); }
.since { display: inline-block; margin-top: 14px; padding: 9px 18px; border-radius: 999px; background: rgba(233,166,62,.13); color: #f3c47a; font-weight: 600; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.stat { background: rgba(255,255,255,.05); border-radius: 20px; padding: 16px 6px 12px; position: relative; text-align: center; }
.stat b { display: block; font-size: 34px; font-weight: 700; letter-spacing: 1px; }
.stat span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.stat .ic { position: absolute; top: 9px; right: 10px; color: var(--muted); }
.stat .ic svg { width: 15px; height: 15px; }
.stat.hl { border: 2px solid var(--accent); background: transparent; }
.stat.hl b, .stat.hl span { color: var(--accent2); }
.corner { position: absolute; top: 14px; right: 14px; z-index: 3; }

.pet-head { display: flex; align-items: center; gap: 10px; }
.pet-head h3 { margin: 0; font-size: 21px; }
.streak { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--accent2); font-weight: 600; font-size: 14px; }
.pet-sub { color: var(--muted); margin: 4px 0 14px; }
.scene { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16/9; background: #e8cfa8; user-select: none; }
.scene svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .cat { position: absolute; left: 50%; bottom: 17%; width: 38%; transform: translateX(-50%); transform-origin: 50% 100%; cursor: pointer; }
.scene .cat.bounce { animation: bounce .45s ease; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) scale(1,1); } 30% { transform: translateX(-50%) scale(1.1,.9); } 60% { transform: translateX(-50%) scale(.95,1.07); } }
.scene .hungry { position: absolute; top: 12px; left: 12px; padding: 7px 13px; border-radius: 999px; background: rgba(240,170,120,.85); color: #a2491a; font-weight: 700; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; }
.scene .tap { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: rgba(30,20,16,.75); color: #fff; font-weight: 700; letter-spacing: .5px; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; pointer-events: none; }
.scene .skin { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; background: rgba(60,35,30,.75); color: #f2d4c0; display: grid; place-items: center; }
.plus1 { position: absolute; font-weight: 800; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.4); animation: up .9s ease forwards; pointer-events: none; }
@keyframes up { to { transform: translateY(-50px); opacity: 0; } }
.xpbar, .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; }
.xpbar i, .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); border-radius: 99px; transition: width .4s; }
.pet-actions { display: flex; gap: 10px; margin-top: 14px; }

/* menu list (Ещё) */
.menu-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; width: 100%; text-align: left; }
.menu-item .mi { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent2); display: grid; place-items: center; flex: none; }
.menu-item .sub { color: var(--muted); font-size: 13.5px; }

/* check-in */
.ci-hero { overflow: hidden; background: linear-gradient(130deg, #3a281f, #2a1d17 60%, #4a3524); }
.ci-hero .row { align-items: center; }
.ci-dates { color: var(--accent2); font-weight: 700; letter-spacing: .5px; font-size: 14px; }
.ci-hero h2 { margin: 2px 0 0; font-size: 28px; }
.ci-pair { display: flex; }
.ci-pair .ava { width: 66px; height: 66px; border: 3px solid #f3e8e0; }
.ci-pair .ava + .ava { margin-left: -14px; border-color: #f3e8e0; }
.ci-desc { color: var(--muted); margin: 14px 0; }
.q-card .q { display: flex; gap: 12px; font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.q-card .q .chk { width: 28px; height: 28px; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.scale button { height: 56px; border-radius: 16px; background: #3a2419; font-size: 18px; font-weight: 700; }
.scale button.on { background: linear-gradient(160deg, #f0903f, #d86a2c); }
.scale button.p { box-shadow: inset 0 0 0 2px var(--gold); }
.scale-l { display: flex; justify-content: space-between; color: var(--muted2); font-size: 13.5px; margin-top: 8px; }

/* bottom nav */
.nav {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); z-index: 30;
  max-width: 616px; margin: 0 auto;
  height: 82px; border-radius: 26px; background: rgba(35, 26, 22, 0.94); backdrop-filter: blur(16px);
  border: 1px solid var(--line2); display: flex; align-items: center; justify-content: space-around; padding: 0 4px;
}
.nav button { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; width: 20%; }
.nav button .nb { width: 60px; height: 40px; border-radius: 14px; display: grid; place-items: center; }
.nav button.on { color: var(--accent2); font-weight: 600; }
.nav button.on .nb { background: rgba(213,106,47,.2); }
.nav button svg.i { width: 24px; height: 24px; }
.nav .center { position: relative; }
.nav .center .heart {
  position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
  width: 66px; height: 66px; border-radius: 50%; background: linear-gradient(160deg, #e57c3d, #c95a22);
  display: grid; place-items: center; color: #fff; border: 5px solid var(--bg); box-sizing: content-box;
}
.nav .center .heart svg.i { width: 30px; height: 30px; }
.nav .center span.lbl { margin-top: 42px; }

/* sheet */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 50; opacity: 0; transition: opacity .2s; }
.overlay.show { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 51; max-width: 640px; margin: 0 auto;
  background: #1f1612; border-radius: 30px 30px 0 0; border-top: 1px solid var(--line2);
  max-height: 92vh; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.sheet.show { transform: none; }
.sheet .grab { width: 44px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.18); margin: 10px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px 8px; }
.sheet-head h2 { margin: 0; font-size: 26px; }
.sheet-body { overflow-y: auto; padding: 6px 22px 16px; -webkit-overflow-scrolling: touch; }
.sheet-foot { padding: 10px 22px calc(16px + var(--safe-b)); }
.close { width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,.07); display: grid; place-items: center; }

.f-label { font-size: 13px; font-weight: 700; letter-spacing: .8px; color: var(--muted); text-transform: uppercase; margin: 20px 0 10px; }
.f-label .req { color: var(--red); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  padding: 11px 18px; border-radius: 16px; border: 1.5px solid var(--line2); background: rgba(255,255,255,.04);
  font-weight: 500; white-space: nowrap; font-size: 15px;
}
.chip.sm { padding: 8px 14px; border-radius: 999px; font-size: 14px; }
.chip.on { border-color: var(--accent); color: var(--accent2); background: rgba(213,106,47,.12); }
.chips + .input { margin-top: 10px; }
.segf { display: flex; background: rgba(255,255,255,.04); border-radius: 18px; padding: 6px; }
.segf button { flex: 1; padding: 12px 4px; border-radius: 13px; color: var(--muted); font-weight: 500; }
.segf button.on { background: rgba(255,255,255,.09); color: var(--accent2); font-weight: 600; }
.collapse-btn { width: 100%; display: flex; align-items: center; gap: 10px; padding: 18px; border-radius: 18px; border: 1px solid var(--line2); color: var(--accent2); font-weight: 600; font-size: 16px; margin-top: 22px; }
.collapse-btn svg { transition: transform .2s; }
.collapse-btn.open svg { transform: rotate(90deg); }
.photo-in { display: flex; gap: 12px; align-items: center; }
.photo-prev { width: 84px; height: 84px; border-radius: 18px; background: #2e2019 center/cover; display: grid; place-items: center; color: var(--muted); border: 1.5px dashed var(--line2); flex: none; }
.f-hint { color: var(--muted2); font-size: 13px; margin-top: 6px; }

/* action sheet */
.acts .menu-item { border-radius: 16px; background: rgba(255,255,255,.04); margin-bottom: 8px; }
.acts .menu-item.red { color: #ff7088; }

/* wheel */
.wheel-wrap { text-align: center; }
.wheel-title { color: var(--accent2); font-weight: 700; letter-spacing: 1px; margin: 4px 0 16px; text-transform: uppercase; }
.wheel { position: relative; width: min(82vw, 340px); aspect-ratio: 1; margin: 0 auto; }
.wheel svg.w { width: 100%; height: 100%; transition: transform 4.2s cubic-bezier(.12,.7,.08,1); }
.wheel .ptr { position: absolute; top: -4px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 13px solid transparent; border-right: 13px solid transparent; border-top: 22px solid var(--gold); z-index: 2; filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); }
.wheel .hub { position: absolute; left: 50%; top: 50%; width: 19%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: #2a1a14; display: grid; place-items: center; color: #fff; z-index: 2; }

/* detail */
.hero-img { width: 100%; aspect-ratio: 16/10; border-radius: 22px; background: #3a2618 center/cover; margin-bottom: 14px; }
.ing { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.steps { white-space: pre-wrap; color: #ddd0c6; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(110px + var(--safe-b)); transform: translateX(-50%) translateY(20px); background: #3a2a22; color: #fff; padding: 12px 18px; border-radius: 14px; z-index: 80; opacity: 0; transition: .25s; font-weight: 500; max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%); }

.locked { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 30px; position: relative; z-index: 2; }
.locked .big { font-size: 56px; }
.muted { color: var(--muted); }
.mt { margin-top: 12px; }
.flex { display: flex; gap: 10px; align-items: center; }
.between { justify-content: space-between; }
.place-img { width: 100%; height: 150px; border-radius: 18px; background: #3a2618 center/cover; margin-bottom: 12px; }
.hist { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.spin { animation: rot 1s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
@media (max-width: 420px) {
  .rc-img { width: 96px; height: 96px; border-radius: 18px; }
  .rc { gap: 12px; }
  .rc-title { font-size: 16.5px; }
  .seg button { font-size: 14.5px; gap: 5px; }
  .couple .pair .ava { width: 92px; height: 92px; }
}
