/*
 * Twosome — tasarım: sıcak ve romantik
 * Krem zemin, yuvarlak beyaz kartlar, sıcak gölgeler. Başlıklar Fraunces (yumuşak serif), metin Plus Jakarta Sans.
 * Tek vurgu rengi: gül (1.1'de renk temaları kalktı).
 * Kişi renkleri (--u1, --u2) kişinin kendi seçtiği renk. Telefon koyu moddaysa koyu olur.
 */

/* Yazı tipleri uygulamanın içinde (internetsiz açılışta da aynı; Google'a istek gitmez). Lisans: fonts/OFL-*.txt */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/fraunces-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/fraunces-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/jakarta-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/jakarta-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #FBF6F1;
  --card: #FFFFFF;
  --fill: #F5EDE8;
  --ink: #2B1D22;
  /* 1.1: okunurluk (WCAG 4.5:1'e yakın); bkz. denetim bulgu 16 */
  --ink-2: #75626A;
  --ink-3: #857278;
  --sep: #F3EBE6;
  --line: #EFE4DE;
  --field-line: #E2D4CD;

  --accent: #C83C64;
  --accent-text: #B33358;
  --on-accent: #FFFFFF;
  --accent-soft: rgba(200, 60, 100, .11);

  --dark: #2B1D22;
  --on-dark: #FFFFFF;
  --danger: #CF2E3A;

  --u1: #5B67C9;
  --u2: #C9643F;
  --c1: var(--u1);
  --c2: var(--u2);
  --on-who: #FFFFFF;

  /* pembe-şeftali kartlar (birlikte sayacı, yıl özeti) */
  --blush: #FFE5EA;
  --peach: #FFEEDF;
  --blush-ink: #8C2846;

  /* liste simgelerinin renkleri */
  --lt-shop: #2E8A6E;
  --lt-bucket: #C83C64;
  --lt-watch: #4E66D6;
  --lt-recipe: #C25A1F;
  --lt-info: #7D6A70;
  --lt-plan: #7F57C9;
  --lt-album: #B53D8A;

  --shadow: 0 1px 2px rgba(90, 40, 50, .05), 0 10px 28px rgba(120, 60, 70, .08);
  --shadow-sm: 0 1px 2px rgba(90, 40, 50, .06), 0 4px 12px rgba(120, 60, 70, .05);

  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 18px;
  --r-sm: 14px;

  --f-ui: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-display: "Fraunces", ui-serif, "New York", Georgia, serif;
  --gutter: 20px;
  /* yazı ölçeği: telefonun Metin Boyutu ayarı (app.js textScale), varsayılan 1 */
  --o: 1px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151012;
    --card: #211A1D;
    --fill: #2E2529;
    --ink: #F8EEF0;
    --ink-2: #BCA9AF;
    --ink-3: #9C8A90;
    --sep: #2E2529;
    --line: #2E2529;
    --field-line: #43373C;

    --accent: #CF4169;
    --accent-text: #FF8FAB;
    --accent-soft: rgba(207, 65, 105, .22);
    /* koyu modda kişi renkleri açık tonlu: üstündeki harf koyu yazılır */
    --on-who: #1A1215;

    --dark: #F8EEF0;
    --on-dark: #1A1215;
    --danger: #FF6470;

    --u1: #8C96F0;
    --u2: #F0A07A;

    --blush: #3A1F2A;
    --peach: #34241F;
    --blush-ink: #FFB3C4;

    --lt-shop: #5CC4A2;
    --lt-bucket: #FF8FAB;
    --lt-watch: #8EA0FF;
    --lt-recipe: #F59A62;
    --lt-info: #BCA9AF;
    --lt-plan: #B79CFF;
    --lt-album: #F08ACB;

    --shadow: none;
    --shadow-sm: none;
    color-scheme: dark;
  }
}
/* Eski iOS (16.2 öncesi) color-mix bilmez: değişkenler düz renkle başlar, destekleyende karışım */
@supports (color: color-mix(in srgb, red 50%, blue)) {
  :root { --accent-soft: color-mix(in srgb, var(--accent) 11%, transparent); }
  @media (prefers-color-scheme: dark) { :root { --accent-soft: color-mix(in srgb, var(--accent) 22%, transparent); } }
}

/* ------------------------------------------------------------ temel */

*, *::before, *::after { box-sizing: border-box; }
/* Çift dokunuşla ve yazı kutusuna dokununca ekran büyümesin (iPhone uygulamasında büyütme kapalı, bkz. viewport) */
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font: 400 calc(16 * var(--o))/1.45 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.no-scroll { overflow: hidden; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0; }

.ic {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.logo { width: 40px; height: 40px; flex: none; }
.logo-a { fill: #3D66FF; opacity: .92; }
.logo-b { fill: #CE3B66; opacity: .92; mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .logo-b { mix-blend-mode: screen; } }

.av {
  --size: 28px;
  width: var(--size); height: var(--size); flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--who);
  color: var(--on-who);
  font: 700 calc(var(--size) * .4)/1 var(--f-ui);
}
.couple { display: inline-flex; }
.couple .av { box-shadow: 0 0 0 3px var(--bg); }
.couple .av + .av { margin-left: calc(var(--size) * -.3); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--who); flex: none; }

/* ------------------------------------------------------------ düğmeler */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border: 0; border-radius: 999px;
  font-size: calc(15 * var(--o)); font-weight: 700;
}
.btn .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-soft { background: var(--accent-soft); color: var(--accent-text); }
.btn-ghost { background: none; color: var(--ink-2); }
.btn-sm { height: 36px; padding: 0 14px; border-radius: 999px; font-size: calc(14 * var(--o)); }
.btn-lg { height: 56px; border-radius: 999px; font-size: calc(17 * var(--o)); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; }
.btn:active:not(:disabled) { transform: scale(.98); }

.round-btn {
  width: 40px; height: 40px; flex: none; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--card); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.round-btn .ic { width: 20px; height: 20px; }
.icon-btn {
  width: 36px; height: 36px; flex: none; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--fill); color: var(--ink-2);
}
.icon-btn .ic { width: 17px; height: 17px; }
.icon-btn[aria-pressed="true"] { background: var(--dark); color: var(--on-dark); }

/* ------------------------------------------------------------ yerleşim */

.main {
  width: 100%; max-width: 640px; margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top)) var(--gutter) calc(118px + env(safe-area-inset-bottom));
}
.sidebar { display: none; }

.topbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 28px; }
.topbar-text { min-width: 0; }
.today { font-size: calc(13 * var(--o)); font-weight: 600; color: var(--ink-2); }
.hello { margin-top: 4px; font-size: calc(28 * var(--o)); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.couple-btn { padding: 0; border: 0; background: none; border-radius: 999px; }

.page { display: flex; flex-direction: column; gap: 16px; padding-top: 16px; }
.page-ozet { gap: 24px; padding-top: 24px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding-top: 18px; }
.back-link + .page-head { padding-top: 0; }
.page-titles { min-width: 0; }
.page-head h1 { font-size: calc(30 * var(--o)); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.page-sub { margin-top: 4px; font-size: calc(14 * var(--o)); font-weight: 500; color: var(--ink-2); }
.page-nudge { margin-top: 6px; font-size: calc(13 * var(--o)); }
.page-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.add-inline { display: none; }

.back-link {
  display: inline-flex; align-items: center; gap: 2px; align-self: flex-start;
  margin: 8px 0 -8px -6px; padding: 4px 6px;
  font-size: calc(15 * var(--o)); font-weight: 700; color: var(--accent-text);
}
.back-link .ic { width: 18px; height: 18px; stroke-width: 2.4; transform: rotate(90deg); }

/* sekme çubuğu (telefon) */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: start;
  padding: 8px 6px calc(6px + env(safe-area-inset-bottom));
  background: var(--card);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-top: 1px solid var(--line);
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 4px 0;
  font-size: calc(11 * var(--o)); font-weight: 600; color: var(--ink-2);
}
.tab .ic { width: 24px; height: 24px; }
.tab[aria-current="page"] { color: var(--accent-text); font-weight: 700; }
.tab-add-slot { display: flex; justify-content: center; }
.tab-add {
  width: 60px; height: 60px; margin-top: -26px; padding: 0;
  display: grid; place-items: center;
  border: 4px solid var(--bg); border-radius: 50%;
  background: var(--accent);
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 78%, #FF9A76), var(--accent) 70%);
  color: var(--on-accent);
  box-shadow: 0 8px 20px rgba(200, 60, 100, .35);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 38%, transparent);
}
.tab-add .ic { width: 26px; height: 26px; stroke-width: 2.4; }
.tab-add:active { transform: scale(.95); }

/* masaüstü */
@media (min-width: 900px) {
  .layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100dvh; }
  .sidebar {
    position: sticky; top: 0; height: 100dvh; overflow-y: auto;
    display: flex; flex-direction: column; gap: 18px;
    padding: 24px 14px;
    background: var(--card); border-right: 1px solid var(--line);
  }
  .main { max-width: 780px; padding: 32px 40px 64px; }
  .tabbar { display: none; }
  .add-inline { display: inline-flex; }
  .back-link { display: none; }
  .back-link + .page-head { padding-top: 18px; }
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px; }
.brand-name { font-size: calc(22 * var(--o)); font-weight: 800; letter-spacing: -.02em; }
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-head { margin: 16px 12px 6px; font-size: calc(12.5 * var(--o)); font-weight: 700; color: var(--ink-2); }
.side-link {
  display: flex; align-items: center; gap: 12px;
  height: 42px; padding: 0 12px; border-radius: 12px;
  font-size: calc(15 * var(--o)); font-weight: 600;
}
.side-link .ic { width: 20px; height: 20px; color: var(--ink-2); }
.side-link:hover { background: var(--bg); }
.side-link[aria-current="page"] { background: var(--accent-soft); color: var(--accent-text); }
.side-link[aria-current="page"] .ic { color: inherit; }
.side-count { margin-left: auto; font-size: calc(12.5 * var(--o)); font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.side-next { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-md); background: var(--bg); }
.side-foot {
  margin-top: auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px; border: 0; border-radius: 14px; background: none; text-align: left;
}
.side-foot:hover { background: var(--bg); }
.sidebar .couple .av { box-shadow: 0 0 0 3px var(--card); }
.side-me { display: flex; flex-direction: column; font-size: calc(14 * var(--o)); font-weight: 700; }
.side-me-sub { font-size: calc(12 * var(--o)); font-weight: 500; color: var(--ink-2); }
.np-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.np-label { font-size: calc(12 * var(--o)); font-weight: 600; color: var(--ink-2); }
.np-title { font-size: calc(14 * var(--o)); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-next .countdown { font-size: calc(12 * var(--o)); }

/* ------------------------------------------------------------ kartlar, bölümler */

.dcard { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); }
.pad { background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.dsec { display: flex; flex-direction: column; gap: 12px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-title { font-size: calc(18 * var(--o)); font-weight: 800; letter-spacing: -.01em; }
.section-link { display: inline-flex; align-items: center; gap: 6px; font-size: calc(14 * var(--o)); font-weight: 700; color: var(--accent-text); }
.section-link .ic { width: 18px; height: 18px; }
.month { margin: 8px 0 -6px 4px; font-size: calc(17 * var(--o)); font-weight: 800; }
.day-head { margin: 4px 0 -6px 4px; font-size: calc(14 * var(--o)); font-weight: 700; color: var(--ink-2); }
.more-btn { align-self: center; }
.empty {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 32px 20px; border-radius: var(--r-lg);
  background: var(--card); color: var(--ink-2); font-size: calc(15 * var(--o)); text-align: center;
}
.gap { display: none; }
.list-hint { padding: 4px 4px 0; font-size: calc(14 * var(--o)); line-height: 1.45; color: var(--ink-2); }
.list-after { display: flex; flex-direction: column; gap: 14px; }
.list-after:empty, .sugg-wrap:empty { display: none; }

/* liste kartları: Bugün'de dört, Listeler'de hepsi */
.lt-icon {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--card);
  color: var(--lt);
  box-shadow: none; box-shadow: 0 2px 6px color-mix(in srgb, var(--lt) 16%, transparent);
}
.lt-icon .ic { width: 20px; height: 20px; }
.lt-text { display: flex; flex-direction: column; min-width: 0; }
.lt-title { font-size: calc(15 * var(--o)); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-sub { margin-top: 1px; font-size: calc(13 * var(--o)); color: var(--ink-2); }
.lt-sub.is-late { color: var(--danger); font-weight: 600; }

.lt-todo { --lt: var(--accent-text); }
.lt-shop { --lt: var(--lt-shop); }
.lt-bucket { --lt: var(--lt-bucket); }
.lt-watch { --lt: var(--lt-watch); }
.lt-recipe { --lt: var(--lt-recipe); }
.lt-info { --lt: var(--lt-info); }
.lt-plan { --lt: var(--lt-plan); }
.lt-album { --lt: var(--lt-album); }

/* bildirim izni */
.nudge {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 12px 10px 12px 16px;
  border-radius: var(--r-lg); background: var(--card);
  font-size: calc(14 * var(--o)); font-weight: 500; line-height: 1.4;
}
.nudge[hidden] { display: none; }
.nudge > span { flex: 1; min-width: 0; }
.nudge-go { flex: none; height: 36px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent); font-size: calc(14 * var(--o)); font-weight: 700; }
.nudge-x { flex: none; width: 32px; height: 32px; padding: 0; display: grid; place-items: center; border: 0; background: none; color: var(--ink-2); }
.nudge-x .ic { width: 16px; height: 16px; }

/* ------------------------------------------------------------ Bugün */

/* birlikte sayacı: pembe-şeftali kart, iki baş harf arasında kalp, büyük gün sayısı */
.together {
  position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 20px 20px 22px; overflow: hidden;
  background: linear-gradient(135deg, var(--blush), var(--peach));
  box-shadow: none;
}
.tg-deco { position: absolute; right: -30px; bottom: -44px; width: 168px; height: 168px; fill: var(--accent); stroke: none; opacity: .08; transform: rotate(-14deg); pointer-events: none; }
.tg-text { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
/* baş harfler sağ üstte; sayının yanında yer kalsın, alttaki satırlar kartın tamamını kullansın */
.tg-kicker, .tg-num { max-width: calc(100% - 104px); }
.tg-kicker { font-size: calc(13 * var(--o)); font-weight: 700; color: var(--blush-ink); }
.tg-num { margin: 2px 0 6px; font-size: calc(44 * var(--o)); line-height: 1.02; color: var(--ink); }
.tg-big { font-size: calc(22 * var(--o)); line-height: 1.2; color: var(--ink); }
.tg-sub { font-size: calc(13.5 * var(--o)); color: var(--ink-2); color: color-mix(in srgb, var(--ink) 74%, var(--blush)); }
.tg-next {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 7px 12px 7px 10px; border-radius: 999px;
  background: var(--card); background: color-mix(in srgb, var(--card) 72%, transparent);
  font-size: calc(12.5 * var(--o)); font-weight: 700; color: var(--blush-ink);
}
.tg-next .ic { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.tg-pair { position: absolute; top: 20px; right: 20px; display: flex; align-items: center; }
.tg-pair .av { box-shadow: 0 0 0 3px var(--card); box-shadow: 0 0 0 3px color-mix(in srgb, var(--card) 80%, transparent); }
.tg-heart { position: relative; z-index: 1; width: 20px; height: 20px; margin: 0 -5px; fill: var(--accent); stroke: var(--card); stroke-width: 1.6; }
.together.is-party { align-items: center; justify-content: flex-start; gap: 14px; padding: 22px 18px; box-shadow: inset 0 0 0 2px var(--accent); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--accent) 30%, transparent); }

.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i {
  position: absolute; top: -10px; left: var(--x); width: 7px; height: 11px; border-radius: 2px;
  background: var(--c); opacity: .85;
  animation: confetti 2.6s ease-in var(--d) infinite;
}
@keyframes confetti { to { transform: translateY(170px) rotate(320deg); opacity: 0; } }

/* anı kartı: fotoğraf varsa kartın tamamı fotoğraf, başlık fotoğrafın üstünde */

.act-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.act-row + .act-row { border-top: 1px solid var(--sep); }
.act-row .couple { width: 32px; }
.act-row .couple .av { box-shadow: 0 0 0 2px var(--card); }
.act-text { flex: 1; min-width: 0; font-size: calc(14 * var(--o)); line-height: 1.4; overflow-wrap: anywhere; }
.act-text b { font-weight: 700; }
.act-time { flex: none; font-size: calc(12 * var(--o)); color: var(--ink-2); white-space: nowrap; }

/* haftalık grafik */
.dash-hero { padding: 18px 18px 14px; }
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.kpi-label { font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.kpi-num { margin-top: 2px; font-size: calc(46 * var(--o)); line-height: 1; }
.kpi-delta { padding-bottom: 4px; font-size: calc(13 * var(--o)); color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 12px; font-size: calc(13.5 * var(--o)); color: var(--ink-2); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.legend-item b { font-weight: 700; color: var(--ink); }
.key { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.wk-cols { display: flex; gap: 4px; margin-top: 14px; }
.wk { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 0; border: 0; background: none; color: inherit; }
.wk-bar {
  height: 136px;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  border-radius: 10px;
  transition: background-color .12s;
}
.wk.is-on .wk-bar { background: var(--accent-soft); }
.wk-seg { width: min(22px, 60%); flex: none; border-radius: 3px; }
.wk-seg + .wk-seg { margin-top: 2px; }
.wk-seg.is-top { border-radius: 6px 6px 3px 3px; }
.wk-val { margin-bottom: 4px; font-size: calc(12 * var(--o)); font-weight: 700; color: var(--ink); }
.wk-x { padding: 6px 0 2px; font-size: calc(11 * var(--o)); color: var(--ink-2); text-align: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wk.is-on .wk-x { color: var(--ink); font-weight: 700; }
.wk:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -2px; border-radius: 10px; }
@media (max-width: 380px) { .wk-x { font-size: calc(10 * var(--o)); letter-spacing: -.02em; } }

/* yıl özeti bandı */
.wrap-banner {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 18px; border: 0; text-align: left;
  background: var(--accent);
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 62%, #F0895E));
  color: var(--on-accent);
}
.wb-year { font-size: calc(30 * var(--o)); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.wb-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wb-title { font-size: calc(16 * var(--o)); font-weight: 800; }
.wb-sub { font-size: calc(13.5 * var(--o)); opacity: .9; }
.wb-go { flex: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .2); font-size: calc(14 * var(--o)); font-weight: 700; }

/* ------------------------------------------------------------ filtreler, katlanır bölüm */

.chips {
  display: flex; gap: 8px;
  margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter);
  overflow-x: auto; scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 15px;
  border: 0; border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: calc(14 * var(--o)); font-weight: 700; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.chip-n { font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] .chip-n { color: inherit; opacity: .75; }
.chip .dot { width: 8px; height: 8px; }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 1.5px var(--on-accent); }
.chip-add { background: none; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--field-line); }
.chip-add .ic { width: 16px; height: 16px; stroke-width: 2.4; }
@media (min-width: 900px) { .chips { margin: 0; padding: 2px 0; flex-wrap: wrap; } }

.fold-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 4px; border: 0; background: none;
  font-size: calc(15 * var(--o)); font-weight: 700; color: var(--ink-2);
}
.fold-n { min-width: 22px; height: 22px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--fill); font-size: calc(12 * var(--o)); font-variant-numeric: tabular-nums; }
.fold-btn .ic { width: 18px; height: 18px; transition: transform .2s; }
.fold.is-open .fold-btn .ic { transform: rotate(180deg); }
.fold-body { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.fold-body > .btn { align-self: flex-start; }
.list-delete { align-self: center; padding: 8px 4px; border: 0; background: none; color: var(--ink-2); font-size: calc(14 * var(--o)); font-weight: 600; }
.list-delete:hover { color: var(--danger); }

/* ------------------------------------------------------------ satırlar */

.row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 6px;
  padding: 8px 14px 8px 6px;
}
.plan-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 14px;
  padding: 12px 14px; cursor: pointer;
}
/* iOS gibi, metnin başından başlayan ince ayırıcı */
.pad .row { background: linear-gradient(var(--sep), var(--sep)) 52px 0 / calc(100% - 52px) 1px no-repeat; }
.pad .plan-row { background: linear-gradient(var(--sep), var(--sep)) 76px 0 / calc(100% - 76px) 1px no-repeat; }
.pad > :first-child, .pad > .list-rows:first-child > :first-child { background: none; }
.pad .info-row, .pad .log-row { background-position: 62px 0; background-size: calc(100% - 62px) 1px; }
.pad > .info-row:first-child, .pad > .log-row:first-child { background: none; }

.row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 9px; cursor: pointer; }
.plan-row .row-main { padding-top: 2px; }
.row-title { font-size: calc(16 * var(--o)); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.row-note { font-size: calc(14 * var(--o)); line-height: 1.4; color: var(--ink-2); }
.row-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  margin-top: 2px; font-size: calc(13 * var(--o)); color: var(--ink-2);
}
.row-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.row-meta .ic { width: 14px; height: 14px; }
.row-meta .is-late { color: var(--danger); font-weight: 600; }
.who-tag { color: var(--ink-2); font-weight: 600; }
.who-tag .dot { width: 7px; height: 7px; }
.qty { margin-left: 6px; font-size: calc(14 * var(--o)); font-weight: 500; color: var(--ink-2); }
.meta-note { color: var(--ink-2); }

.check {
  width: 40px; height: 40px; padding: 0;
  display: grid; place-items: center;
  border: 0; background: none;
}
.check-ring {
  width: 24px; height: 24px;
  display: grid; place-items: center;
  border: 2px solid var(--field-line); border-radius: 50%;
  color: transparent;
  transition: background-color .18s, border-color .18s;
}
.check-ring .ic { width: 14px; height: 14px; stroke-width: 3; }
.is-done .check-ring { background: var(--who); border-color: var(--who); color: var(--on-who); }
.is-pending { opacity: .6; }

/* tamamlanınca üstü çiziliyor; rengi tamamlayan kişinin rengi */
.strike {
  background-image: linear-gradient(var(--who), var(--who));
  background-repeat: no-repeat;
  background-position: 0 55%;
  background-size: 0 1.5px;
}
.is-done .strike { background-size: 100% 1.5px; }
.is-done .row-title { color: var(--ink-3); }
.just-done { animation: leave .3s ease .9s forwards; }
.just-done .check-ring { animation: pop .3s ease-out; }
.just-done .strike { animation: strike .4s cubic-bezier(.65, 0, .35, 1) .05s both; }
.just-done .row-title { animation: fade-ink .35s ease .3s both; }
@keyframes pop { from { transform: scale(.7); } }
@keyframes strike { from { background-size: 0 1.5px; } to { background-size: 100% 1.5px; } }
@keyframes fade-ink { from { color: var(--ink); } to { color: var(--ink-3); } }
@keyframes leave { to { opacity: 0; } }

.hearts { display: inline-flex; margin: 2px 0 0 -5px; }
.heart { padding: 5px; border: 0; background: none; color: var(--ink-3); }
.heart .ic { width: 18px; height: 18px; }
.heart.is-on { color: var(--u2); }
.heart.is-on .ic { fill: currentColor; }

/* dürt */
.nudge-chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 28px; padding: 0 10px;
  border: 0; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: calc(12.5 * var(--o)); font-weight: 700;
}
.nudge-chip .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.nudge-chip.is-compact { width: 32px; height: 32px; padding: 0; justify-content: center; }
.nudge-chip:disabled { opacity: .5; }
.head-nudge { height: 40px; padding: 0 14px; background: var(--card); color: var(--ink); font-size: calc(14 * var(--o)); box-shadow: var(--shadow-sm); }
.head-nudge .ic { width: 17px; height: 17px; }
.nudged { display: inline-flex; align-items: center; gap: 5px; color: var(--accent-text); font-weight: 600; }
.nudged .ic { width: 14px; height: 14px; }

/* hızlı ekleme: listenin ilk satırı */
.quick-row { align-items: center; padding-top: 6px; padding-bottom: 6px; }
.quick-plus { width: 40px; height: 40px; display: grid; place-items: center; color: var(--accent-text); }
.quick-plus .ic { stroke-width: 2.4; }
.quick-row input {
  width: 100%; min-width: 0; height: 40px; padding: 0;
  border: 0; outline: none; background: none;
  font-size: calc(16 * var(--o)); font-weight: 500; color: var(--ink);
}
.quick-row input::placeholder { color: var(--ink-3); }
.quick-go { height: 32px; padding: 0 12px; border: 0; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: calc(14 * var(--o)); font-weight: 700; }
.quick-row input:placeholder-shown + .quick-go { visibility: hidden; }

/* ------------------------------------------------------------ alışveriş */

.sugg { display: flex; flex-direction: column; gap: 8px; }
.sugg-label { padding-left: 4px; font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.sugg-row {
  display: flex; gap: 8px;
  margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter);
  overflow-x: auto; scrollbar-width: none;
}
.sugg-row::-webkit-scrollbar { display: none; }
.sugg-btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  border: 0; border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: calc(14 * var(--o)); font-weight: 600; white-space: nowrap;
}
.sugg-btn .ic { width: 15px; height: 15px; stroke-width: 2.6; color: var(--accent-text); }
.sugg-hint { padding: 0 4px; font-size: calc(13.5 * var(--o)); line-height: 1.45; color: var(--ink-2); }
@media (min-width: 900px) { .sugg-row { margin: 0; padding: 2px 0; flex-wrap: wrap; } }

/* ------------------------------------------------------------ birlikte */

.btn-did {
  flex: none; height: 32px; padding: 0 12px;
  border: 0; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent-text);
  font-size: calc(13 * var(--o)); font-weight: 700;
}

.photo-count {
  position: absolute; top: 8px; right: 8px;
  padding: 2px 9px; border-radius: 999px;
  background: rgba(18, 19, 26, .55); color: #fff;
  font-size: calc(12 * var(--o)); font-weight: 700;
}
@keyframes pin { from { opacity: 0; transform: translateY(-10px); } }

/* ------------------------------------------------------------ tarif defteri */

.recipes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .recipes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.recipe-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--card); cursor: pointer; }
.recipe-pic {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3;
  background: var(--fill); background: color-mix(in srgb, var(--lt-recipe) 10%, transparent); font-size: calc(44 * var(--o));
}
.recipe-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.recipe-body { display: flex; flex-direction: column; gap: 2px; flex: 1; padding: 12px; }
.recipe-title { font-size: calc(15 * var(--o)); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.recipe-meta { font-size: calc(12.5 * var(--o)); color: var(--ink-2); }
.recipe-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; }

/* ------------------------------------------------------------ bilgi kutusu, arama satırları */

.log-row, .info-row { align-items: center; }
.log-lead {
  width: 40px; height: 40px; flex: none; margin: 0 4px 0 2px;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 12px; background: var(--fill); color: var(--ink-2);
}
.log-lead .ic { width: 20px; height: 20px; }

.info-row .row-main, .log-row .row-main { padding-top: 0; }
.info-label { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: calc(13 * var(--o)); font-weight: 600; color: var(--ink-2); }
.info-label .who-tag { display: inline-flex; align-items: center; gap: 4px; font-size: calc(12.5 * var(--o)); }
.info-value { font-size: calc(16 * var(--o)); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; white-space: pre-wrap; user-select: all; }
.info-mask { letter-spacing: 2px; color: var(--ink-2); user-select: none; }
.info-empty { color: var(--ink-3); font-weight: 500; }
.info-actions { display: flex; gap: 6px; }
.info-hint { padding: 4px 0 6px; }
.info-ideas-title { margin-top: 8px; }

.ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.idea {
  height: 36px; padding: 0 14px;
  border: 0; border-radius: 999px;
  background: var(--card); color: var(--ink);
  font-size: calc(14 * var(--o)); font-weight: 600;
}
.sheet .idea { background: var(--fill); }

/* ------------------------------------------------------------ anılar */

.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 640px) { .album-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } }
.album-cell { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: var(--fill); cursor: pointer; }
.album-cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.album-cell:hover img { transform: scale(1.04); }

/* ------------------------------------------------------------ takvim */

/* Takvim simgesi gibi: küçük renkli gün adı, büyük sayı */
.leaf {
  width: 48px; flex: none;
  display: flex; flex-direction: column; align-items: center;
  padding: 7px 0 8px; border-radius: 12px;
  background: var(--accent-soft); line-height: 1;
}
.leaf-top { font-size: calc(11 * var(--o)); font-weight: 700; color: var(--accent-text); }
.leaf-day { margin-top: 4px; font-size: calc(20 * var(--o)); font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.leaf-sm { width: 42px; padding: 6px 0 7px; }
.leaf-sm .leaf-top { font-size: calc(10 * var(--o)); }
.leaf-sm .leaf-day { font-size: calc(17 * var(--o)); margin-top: 3px; }
.is-past .leaf { background: var(--fill); }
.is-past .leaf-top { color: var(--ink-2); }
.is-past .row-title { color: var(--ink-2); }
.countdown { font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink); white-space: nowrap; }
.countdown.is-soon { color: var(--accent-text); }
.countdown.is-far { color: var(--ink-2); font-weight: 600; }

/* ------------------------------------------------------------ alt panel */

/* --kb: klavyenin kapattığı yükseklik (iPhone'da ekran zaten küçülürse 0); panel klavyenin üstünde durur */
.sheet-wrap { position: fixed; inset: 0; bottom: var(--kb, 0px); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(18, 19, 26, .4); opacity: 0; transition: opacity .25s; }
.sheet {
  position: relative;
  width: 100%; max-width: 560px; max-height: calc(92dvh - var(--kb, 0px)); overflow-y: auto;
  padding: 0 0 calc(16px + env(safe-area-inset-bottom));
  background: var(--card);
  border-radius: 24px 24px 0 0;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.sheet-wrap.is-open .sheet-backdrop { opacity: 1; }
.sheet-wrap.is-open .sheet { transform: none; }
@media (min-width: 700px) {
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { border-radius: 24px; padding-bottom: 18px; opacity: 0; transform: translateY(10px); transition: transform .2s ease, opacity .2s ease; }
  .sheet-wrap.is-open .sheet { opacity: 1; }
  .sheet-handle { display: none; }
}
.sheet-handle { position: absolute; top: 8px; left: 50%; z-index: 4; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: var(--field-line); }
.sheet-bar {
  position: sticky; top: 0; z-index: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  padding: 24px 20px 12px;
  background: var(--card);
}
.sheet-bar h2 { max-width: 56vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: calc(17 * var(--o)); font-weight: 800; text-align: center; }
.bar-btn { padding: 6px 0; border: 0; background: none; font-size: calc(16 * var(--o)); font-weight: 600; color: var(--ink-2); }
.bar-left { justify-self: start; }
.bar-right { justify-self: end; color: var(--accent-text); font-weight: 700; }
.bar-strong { font-weight: 800; }
.bar-btn:disabled { opacity: .4; }
.sheet-body { display: flex; flex-direction: column; padding: 0 20px 8px; }

.title-input {
  width: 100%; padding: 12px 0 14px;
  border: 0; border-bottom: 1px solid var(--sep); border-radius: 0;
  background: transparent; outline: none;
  font-size: calc(22 * var(--o)); font-weight: 700; line-height: 1.25; letter-spacing: -.01em;
}
.title-input:focus { border-bottom-color: var(--accent-text); }
.title-input::placeholder { color: var(--ink-3); }

.frow {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 56px; padding: 8px 0;
  border-bottom: 1px solid var(--sep);
}
.frow-label { flex: none; font-size: calc(15 * var(--o)); font-weight: 600; }
.frow-hint { margin-left: 8px; font-size: calc(13 * var(--o)); font-weight: 500; color: var(--ink-2); }
.frow-ctl { display: flex; justify-content: flex-end; min-width: 0; }
.frow.stack { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 0; }
.frow.stack .frow-ctl { justify-content: flex-start; }
.frow.stack .opts { justify-content: flex-start; }
label.frow.stack { border-bottom: 0; }
.frow.wrap { flex-wrap: wrap; }
.frow.wrap .frow-ctl { flex: 1; }
.fsection { margin: 24px 0 2px; font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.field-hint { display: block; padding-top: 8px; font-size: calc(13 * var(--o)); line-height: 1.45; color: var(--ink-2); }

.opts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.opt { position: relative; }
.opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 13px; border-radius: 999px;
  background: var(--fill); color: var(--ink-2);
  font-size: calc(14.5 * var(--o)); font-weight: 600;
  transition: background-color .15s, color .15s;
}
.opt input:checked + span { background: var(--accent); color: var(--on-accent); }
.opt input:checked + .opt-who { background: var(--who); color: var(--on-who); }
.opt input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 1px; }

.pick-wrap { display: inline-flex; align-items: center; gap: 8px; }
.pick {
  position: relative; display: inline-flex; align-items: center;
  min-height: 36px; padding: 0 12px; border-radius: 10px;
  background: var(--fill); font-size: calc(15 * var(--o)); font-weight: 600;
}
.pick-text.is-empty { color: var(--ink-2); font-weight: 500; }
.pick-input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer;
  -webkit-appearance: none; appearance: none; font-size: calc(16 * var(--o));
}
.pick-clear { width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--fill); color: var(--ink-2); }
.pick-clear .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.pick-clear[hidden] { display: none; }

.inline-input {
  width: 160px; max-width: 100%; height: 36px;
  border: 0; background: transparent; outline: none;
  text-align: right; font-size: calc(16 * var(--o)); font-weight: 600;
}
.inline-input::placeholder { color: var(--ink-3); font-weight: 500; }

textarea.lined {
  width: 100%; min-height: 92px; padding: 12px 14px;
  border: 0; border-radius: 14px; outline: none; resize: vertical;
  background: var(--fill);
  font: inherit; font-size: calc(16 * var(--o)); line-height: 1.5;
}
textarea.lined:focus { box-shadow: inset 0 0 0 2px var(--accent-text); }
textarea.lined::placeholder { color: var(--ink-3); }

.switch {
  -webkit-appearance: none; appearance: none;
  position: relative; flex: none;
  width: 52px; height: 32px; margin: 0;
  border-radius: 999px; background: var(--field-line);
  transition: background-color .2s; cursor: pointer;
}
.switch::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.switch:checked { background: var(--accent); }
.switch:checked::before { transform: translateX(20px); }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.field input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1.5px solid var(--field-line); border-radius: 14px;
  background: var(--card); font-size: calc(16 * var(--o)); font-weight: 500;
}
.field input:focus { outline: none; border-color: var(--accent-text); }

.link-row, .danger-row {
  display: flex; align-items: center; width: 100%; min-height: 52px; padding: 0;
  border: 0; border-bottom: 1px solid var(--sep); background: none;
  font-size: calc(16 * var(--o)); font-weight: 600; text-align: left; color: var(--accent-text);
}
.danger-row { justify-content: center; margin-top: 24px; border: 0; border-radius: 14px; background: var(--fill); background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); font-weight: 700; }

/* fotoğraflar (paneldeki) */
.photo-row { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-thumb, .photo-add { position: relative; flex: none; width: 76px; height: 76px; border-radius: 14px; overflow: hidden; }
.photo-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-thumb.is-loading { background: var(--fill); animation: pulse .9s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .4; } }
.photo-x {
  position: absolute; top: 4px; right: 4px;
  width: 30px; height: 30px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(18, 19, 26, .6); color: #fff;
}
.photo-x .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.photo-add {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 2px dashed var(--field-line); color: var(--ink-2); font-size: calc(12 * var(--o)); font-weight: 700; cursor: pointer;
}
.photo-add .ic { width: 24px; height: 24px; }

.did-title { padding: 14px 0 6px; font-size: calc(18 * var(--o)); font-weight: 800; line-height: 1.3; }
.confirm-text { padding: 12px 0 4px; font-size: calc(17 * var(--o)); line-height: 1.45; }

/* anı ve tarif görünümü */
.gallery { display: flex; gap: 8px; margin: 4px -20px 0; padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery img { flex: none; width: 100%; max-height: 62vh; object-fit: cover; border-radius: 18px; background: var(--fill); scroll-snap-align: center; }
.gallery-hint { margin-top: 8px; font-size: calc(13 * var(--o)); color: var(--ink-2); text-align: center; }

.memory-date { margin-top: 16px; font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.memory-note { margin-top: 6px; font-size: calc(17 * var(--o)); line-height: 1.5; }
.memory-view .link-row { margin-top: 16px; border-top: 1px solid var(--sep); }
.recipe-note { margin-top: 2px; font-size: calc(15 * var(--o)); line-height: 1.45; color: var(--ink-2); }
.recipe-cooked { margin-top: 6px; font-size: calc(14 * var(--o)); font-weight: 600; color: var(--ink-2); }
.cook-btn { margin: 16px 0 4px; }
.ing-list { margin: 6px 0 0; padding: 0; list-style: none; }
.ing-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--sep); font-size: calc(16 * var(--o)); }
.ing-tag, .cook-text em { flex: none; font-size: calc(12.5 * var(--o)); font-style: normal; font-weight: 700; color: var(--lt-shop); }
.recipe-steps { margin-top: 8px; white-space: pre-wrap; font-size: calc(16 * var(--o)); line-height: 1.6; }
.cook-hint { padding: 4px 0 10px; font-size: calc(14.5 * var(--o)); line-height: 1.45; color: var(--ink-2); }
.cook-list { display: flex; flex-direction: column; }
.cook-opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 6px 0; border-bottom: 1px solid var(--sep); cursor: pointer; }
.cook-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cook-box { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border: 2px solid var(--field-line); border-radius: 50%; color: transparent; }
.cook-box .ic { width: 14px; height: 14px; stroke-width: 3; }
.cook-opt input:checked + .cook-box { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cook-opt input:focus-visible + .cook-box { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.cook-text { display: flex; flex: 1; align-items: baseline; justify-content: space-between; gap: 10px; font-size: calc(16 * var(--o)); }
.cook-opt.is-have { opacity: .55; cursor: default; }

/* "+" menüsü */
.add-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 8px 0; }
.add-opt {
  display: flex; align-items: center; gap: 10px; min-height: 60px;
  padding: 10px 12px; border: 0; border-radius: var(--r-md);
  background: var(--bg); color: var(--ink);
  font-size: calc(15 * var(--o)); font-weight: 700; text-align: left;
}
.add-opt:active { transform: scale(.98); }

/* hesap */
.account { display: flex; align-items: center; gap: 14px; padding: 12px 0 4px; }
.account .couple .av { box-shadow: 0 0 0 3px var(--card); }
.push-box { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0 14px; font-size: calc(15 * var(--o)); line-height: 1.45; color: var(--ink-2); }
.push-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* arama */
.search-box {
  display: flex; align-items: center; gap: 10px;
  height: 48px; margin-top: 4px; padding: 0 14px;
  border-radius: 14px; background: var(--fill); color: var(--ink-2);
}
.search-box .ic { width: 18px; height: 18px; }
.search-input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font-size: calc(16 * var(--o)); font-weight: 500; color: var(--ink); }
.search-input::placeholder { color: var(--ink-3); }
.search-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-results { min-height: 42dvh; padding-bottom: 8px; }
.search-hint { padding: 18px 2px; font-size: calc(15 * var(--o)); line-height: 1.45; color: var(--ink-2); }
.search-group { display: flex; align-items: baseline; gap: 6px; margin: 20px 2px 8px; font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.search-group span { font-weight: 500; font-variant-numeric: tabular-nums; }
.search-results .pad { background: var(--bg); }
.search-snip { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-row > .btn-did { margin-top: 4px; }

/* ------------------------------------------------------------ giriş */

.login { min-height: 100dvh; display: flex; flex-direction: column; background: var(--card); }
.login-body {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  width: 100%; max-width: 480px; margin: 0 auto;
  padding: 32px 24px calc(28px + env(safe-area-inset-bottom));
}
.login-title { font-size: calc(42 * var(--o)); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.login-sub { margin-top: 10px; font-size: calc(17 * var(--o)); line-height: 1.5; color: var(--ink-2); }
.login-actions { display: flex; flex-direction: column; gap: 12px; }
.login-q { font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.login-people { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.person {
  display: flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 14px;
  border: 1.5px solid var(--field-line); border-radius: 16px;
  background: var(--card); font-size: calc(16 * var(--o)); font-weight: 700;
}
.person.is-picked { border-color: var(--who); box-shadow: inset 0 0 0 1px var(--who); }
.login-form { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.login-err { min-height: 1.2em; font-size: calc(14 * var(--o)); font-weight: 600; color: var(--danger); text-align: center; }
.login-err:empty { display: none; }
.login-msg { align-items: center; justify-content: center; gap: 16px; padding: 24px; background: var(--bg); text-align: center; }
.login-msg .logo { width: 56px; height: 56px; }

/* ------------------------------------------------------------ bildirim */

.toast {
  position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px;
  max-width: calc(100% - 32px); padding: 12px 14px 12px 18px;
  border-radius: 16px; background: var(--dark); color: var(--on-dark);
  font-size: calc(14.5 * var(--o)); font-weight: 600;
  box-shadow: 0 10px 30px rgba(18, 19, 26, .25);
  opacity: 0; pointer-events: none; transform: translate(-50%, 10px);
  transition: opacity .2s, transform .2s;
}
/* Mesaj altındaki düğmelere dokunmayı engellemez; yalnız kendi düğmesi (Geri al) tıklanır */
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Görünmez "Geri al" dokunulamaz (1.0'da mesaj kaybolunca düğme görünmez hâlde dokunulabilir kalıyordu) */
.toast:not(.is-on) .toast-btn { pointer-events: none; visibility: hidden; }
.toast-btn { pointer-events: auto; flex: none; padding: 6px 4px; border: 0; background: none; color: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .toast { bottom: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------ yıl özeti: hikâye ekranı */

.story {
  --p1: #8C96F0; --p2: #F0A07A;
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column;
  padding: calc(14px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom));
  background: var(--bg); color: #fff;
}
.story-bars { position: relative; z-index: 3; display: flex; gap: 4px; }
.story-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); }
.story-bars i.is-done, .story-bars i.is-now { background: #fff; }
.story-x {
  position: absolute; z-index: 4; top: calc(26px + env(safe-area-inset-top)); right: 14px;
  width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
}
.story-x .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.story-zone { position: absolute; z-index: 1; top: 0; bottom: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.story-zone:focus-visible { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: -6px; }
.story-prev { left: 0; width: 32%; }
.story-next { right: 0; width: 68%; }
.story-slide {
  position: relative; z-index: 2; pointer-events: none;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  width: 100%; max-width: 520px; margin: 0 auto;
}
.story-slide button { pointer-events: auto; }
.story-slide > * { animation: st-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.story-slide > :nth-child(2) { animation-delay: .06s; }
.story-slide > :nth-child(3) { animation-delay: .12s; }
.story-slide > :nth-child(n+4) { animation-delay: .2s; }
@keyframes st-in { from { opacity: 0; transform: translateY(14px); } }
.st-kicker { font-size: calc(20 * var(--o)); font-weight: 700; line-height: 1.2; color: var(--hi); }
.st-year { margin: 8px 0 14px; font: 800 clamp(96px, 30vw, 170px)/.9 var(--f-ui); letter-spacing: -.05em; color: var(--hi); }
.st-big { margin-top: 6px; font: 800 clamp(88px, 28vw, 150px)/.95 var(--f-ui); letter-spacing: -.05em; }

.st-title { margin-top: 6px; font-size: calc(32 * var(--o)); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.st-title.st-xl { font-size: clamp(48px, 14vw, 72px); color: var(--hi); }
.st-text { margin-top: 8px; font-size: calc(21 * var(--o)); font-weight: 700; line-height: 1.3; }
.st-note { margin-top: 16px; font-size: calc(17 * var(--o)); line-height: 1.45; opacity: .9; }
.st-note b { color: var(--hi); }
.st-hearts { color: var(--p2); letter-spacing: 2px; }
.st-hint { margin-top: 28px; font-size: calc(14 * var(--o)); opacity: .6; }
.st-couple { margin-top: 26px; }
.st-bars { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.st-bar { display: grid; grid-template-columns: 84px 1fr 44px; align-items: center; gap: 10px; font-size: calc(16 * var(--o)); font-weight: 700; }
.st-bar b { text-align: right; font-variant-numeric: tabular-nums; }
.st-track { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.st-track i { display: block; height: 100%; border-radius: 6px; }
.st-list { margin: 16px 0 0; padding: 0; list-style: none; }
.st-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: calc(19 * var(--o)); font-weight: 700; }
.st-list b { color: var(--hi); font-weight: 800; white-space: nowrap; }
.st-actions { display: flex; gap: 10px; margin-top: 32px; }
.st-btn { flex: 1; height: 52px; border: 0; border-radius: 16px; background: rgba(255, 255, 255, .16); color: #fff; font-size: calc(16 * var(--o)); font-weight: 800; }
.st-btn.st-main { background: var(--hi); color: #141414; }
.story .st-couple .couple .av { background: var(--who); color: #fff; box-shadow: 0 0 0 3px var(--bg); }

/* ------------------------------------------------------------ tam ekran fotoğraf */

.viewer { position: fixed; inset: 0; z-index: 56; background: #000; color: #fff; }
.viewer-strip {
  display: flex; height: 100%;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior: contain;
}
.viewer-strip::-webkit-scrollbar { display: none; }
.viewer-slide { flex: none; width: 100%; height: 100%; display: grid; place-items: center; scroll-snap-align: center; scroll-snap-stop: always; }
.viewer-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.viewer-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; flex-direction: column; gap: 2px;
  padding: 60px 20px calc(20px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  pointer-events: none;
}
.vc-title { font-size: calc(18 * var(--o)); font-weight: 800; }
.vc-meta { font-size: calc(13.5 * var(--o)); opacity: .75; }
.vc-note { margin-top: 4px; font-size: calc(16 * var(--o)); line-height: 1.4; }
.vc-link { align-self: flex-start; margin-top: 10px; padding: 8px 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .18); color: #fff; font-size: calc(14 * var(--o)); font-weight: 700; pointer-events: auto; }
.viewer-btn {
  position: absolute; width: 42px; height: 42px; padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff;
}
.viewer-btn .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.viewer-x { top: calc(14px + env(safe-area-inset-top)); right: 14px; }
.viewer-prev, .viewer-next { top: 50%; margin-top: -21px; }
.viewer-prev { left: 14px; }
.viewer-next { right: 14px; }
.viewer-prev .ic { transform: rotate(90deg); }
.viewer-next .ic { transform: rotate(-90deg); }
@media (hover: none) { .viewer-prev, .viewer-next { display: none; } }

/* ------------------------------------------------------------ ilk açılış */

.onb { min-height: 100dvh; background: var(--card); }
.onb-page {
  display: flex; flex-direction: column;
  width: 100%; max-width: 480px; min-height: 100dvh; margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top)) 24px calc(24px + env(safe-area-inset-bottom));
}
.onb-top { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 8px; }
.onb-back { margin-left: -6px; box-shadow: none; background: none; }
.onb-back .ic { transform: rotate(90deg); stroke-width: 2.4; }
.onb-progress { flex: 1; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.onb-progress i { height: 4px; border-radius: 2px; background: var(--fill); }
.onb-progress i.is-on { background: var(--accent); }
.onb-count { min-width: 30px; text-align: right; font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.onb-title { margin-top: 26px; font-size: calc(30 * var(--o)); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.onb-sub { margin-top: 10px; font-size: calc(16 * var(--o)); line-height: 1.5; color: var(--ink-2); }
.onb-body { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.onb-err { font-size: calc(14 * var(--o)); font-weight: 600; color: var(--danger); }
.onb-err:empty { display: none; }
.onb-hint { font-size: calc(14 * var(--o)); line-height: 1.5; color: var(--ink-2); }
.onb-foot { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 28px; }
.onb-avatar { margin-top: 28px; font-size: calc(34 * var(--o)); font-weight: 800; }
.onb-avatar + .onb-title { margin-top: 18px; }
.code-input { font-size: calc(26 * var(--o)) !important; font-weight: 800 !important; letter-spacing: .35em; text-align: center; }
.invite-input { text-transform: uppercase; letter-spacing: .2em; }
.onb-resend { align-self: flex-start; }
.link-btn { padding: 0; border: 0; background: none; color: var(--accent-text); font-weight: 700; font-size: inherit; }
.btn-outline { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--field-line); }
.login-alt { font-size: calc(15 * var(--o)); color: var(--ink-2); text-align: center; }
.btn-apple span { font-size: calc(20 * var(--o)); line-height: 1; margin-top: -2px; }
.wide-input { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; background: var(--fill); text-align: left; }

/* Plus paketleri */
.plans { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.plan-opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 16px; border: 1.5px solid var(--field-line); border-radius: 18px;
  background: var(--card); color: var(--ink); text-align: left;
}
.plan-opt.is-best { border: 2px solid var(--accent); background: var(--accent-soft); }
.plan-name { display: flex; align-items: center; gap: 8px; font-size: calc(16 * var(--o)); font-weight: 800; }
.plan-badge { padding: 2px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: calc(11 * var(--o)); font-weight: 800; }
.plan-price { font-size: calc(14 * var(--o)); color: var(--ink-2); font-weight: 600; }
.plan-opt:disabled { opacity: .6; }
.plus-legal { margin-top: 12px; font-size: calc(12 * var(--o)); line-height: 1.5; color: var(--ink-2); }
.plus-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: calc(13 * var(--o)); font-weight: 700; }
.plus-links a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.login-actions > .btn .ic { width: 20px; height: 20px; stroke-width: 2; }

/* renk seçici */
.color-pick { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; }
.color-pick legend { padding: 0; margin-bottom: 12px; }
.color-row { display: flex; flex-wrap: wrap; gap: 12px; }
.color-opt { position: relative; width: 44px; height: 44px; cursor: pointer; }
.color-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.color-opt > span[aria-hidden] { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--c); transition: box-shadow .15s; }
.color-opt input:checked + span { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--c); }
.color-opt input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 6px; }
.color-opt.is-taken { cursor: not-allowed; }
.color-opt.is-taken > span[aria-hidden] { opacity: .25; }
.sheet-colors { padding: 16px 0; border-bottom: 1px solid var(--sep); }

/* davet */
.onb-pair { display: flex; align-items: center; margin-top: 28px; }
.onb-pair > i { width: 44px; border-top: 2px dashed var(--field-line); }
.onb-pair-empty { width: 64px; height: 64px; display: grid; place-items: center; border: 2px dashed var(--field-line); border-radius: 50%; color: var(--ink-2); }
.onb-pair .av { font-size: calc(26 * var(--o)); }
.onb-pair + .onb-title { margin-top: 20px; }
.invite-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-radius: var(--r-lg); background: var(--bg);
}
.invite-card .round-btn { width: 48px; height: 48px; }
.invite-label { font-size: calc(12 * var(--o)); font-weight: 700; color: var(--ink-2); }
.invite-code { margin-top: 4px; font-size: calc(30 * var(--o)); font-weight: 800; letter-spacing: .1em; }
.invite-exp { margin-top: 2px; font-size: calc(12 * var(--o)); color: var(--ink-2); }
.invite-card-sm { margin-top: 6px; }
.invite-card-sm .invite-code { font-size: calc(24 * var(--o)); }
.onb-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--r-lg); background: var(--bg); }
.onb-card-row { display: flex; align-items: center; gap: 12px; }
.onb-card-row .av { font-size: calc(19 * var(--o)); }
.onb-card-row b { display: block; font-size: calc(16 * var(--o)); font-weight: 800; }
.onb-card-sub { display: block; margin-top: 2px; font-size: calc(13 * var(--o)); color: var(--ink-2); }
.onb-card-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--card); font-size: calc(13 * var(--o)); font-weight: 600; }
.onb-card-note .ic { width: 16px; height: 16px; color: var(--accent-text); }

/* tarihler */
.onb-group { padding: 0 16px; border-radius: var(--r-lg); background: var(--bg); }
.onb-group .frow:last-child { border-bottom: 0; }
.onb-group .pick { background: var(--card); }
.onb-preview { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); background: var(--accent-soft); }
.onb-preview .logo { width: 44px; height: 44px; }
.onb-preview b { display: block; font-size: calc(17 * var(--o)); font-weight: 800; }
.onb-preview-sub { display: block; margin-top: 2px; font-size: calc(13 * var(--o)); font-weight: 600; color: var(--accent-text); }
.onb-preview-text { font-size: calc(14 * var(--o)); color: var(--ink-2); }

/* örnek bildirimler */
.notif-samples { display: flex; flex-direction: column; gap: 10px; }
.notif-sample { display: flex; gap: 12px; padding: 12px 14px; border-radius: 22px; background: var(--card); box-shadow: 0 1px 2px rgba(18, 19, 26, .06), 0 8px 24px rgba(18, 19, 26, .08); }
.notif-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--bg); }
.notif-icon .logo { width: 28px; height: 28px; }
.notif-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.notif-meta { display: flex; justify-content: space-between; font-size: calc(12 * var(--o)); color: var(--ink-2); }
.notif-title { margin-top: 2px; font-size: calc(15 * var(--o)); font-weight: 700; }
.notif-body { font-size: calc(14 * var(--o)); color: var(--ink-2); }
.onb:has(.notif-samples) { background: var(--bg); }

/* ------------------------------------------------------------ hesap, Plus, sınırlar */

.account-btn { width: 100%; padding: 12px 0 8px; border: 0; background: none; text-align: left; }
.account-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.account-text strong { font-size: calc(17 * var(--o)); font-weight: 800; }
.account-text span { font-size: calc(13 * var(--o)); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.account-edit { font-size: calc(15 * var(--o)); font-weight: 700; color: var(--accent-text); }
.account-btn .av { font-size: calc(19 * var(--o)); }
.plus-box { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 6px; padding: 14px 16px; border-radius: var(--r-md); background: var(--bg); }
.plus-title { display: flex; align-items: center; gap: 8px; font-size: calc(16 * var(--o)); font-weight: 800; }
.plus-title .ic { width: 18px; height: 18px; color: var(--accent-text); }
.plus-badge { padding: 2px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: calc(12 * var(--o)); font-weight: 800; }
.plus-sub { font-size: calc(14 * var(--o)); line-height: 1.45; color: var(--ink-2); }
.partner-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.partner-row b { display: block; font-size: calc(16 * var(--o)); }
.partner-sub { display: block; font-size: calc(13 * var(--o)); color: var(--ink-2); }
.link-danger { color: var(--danger); }
.frow-value { font-size: calc(15 * var(--o)); color: var(--ink-2); }
.swatch { display: grid; place-items: center; color: #fff; }
.swatch .ic { width: 16px; height: 16px; stroke-width: 2.4; }

.limit-body { align-items: flex-start; gap: 10px; padding-bottom: 12px; }
.limit-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); }
.limit-icon .ic { width: 26px; height: 26px; }
.limit-title { margin: 6px 0 0; font-size: calc(22 * var(--o)); font-weight: 800; letter-spacing: -.01em; }
.limit-text { margin-bottom: 10px; font-size: calc(15 * var(--o)); line-height: 1.5; color: var(--ink-2); }

.plus-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: var(--r-md); background: var(--bg); font-size: calc(14 * var(--o)); font-weight: 600; }
.plus-note .ic { width: 18px; height: 18px; color: var(--accent-text); }

/* Bugün: partner daveti ve ilk adımlar */
.partner-card { display: flex; align-items: center; gap: 14px; padding: 16px; }
.partner-empty { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 2px dashed var(--field-line); border-radius: 50%; color: var(--ink-2); }
.partner-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.partner-text b { font-size: calc(16 * var(--o)); font-weight: 800; }
.partner-text span { margin-top: 2px; font-size: calc(13 * var(--o)); color: var(--ink-2); }
.first-steps { padding: 16px 16px 10px; }
.fs-count { font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.fs-bar { display: block; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.fs-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.fs-list { margin: 8px 0 0; padding: 0; list-style: none; }
.fs-list li + li { border-top: 1px solid var(--sep); }
.fs-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 0; border: 0; background: none; text-align: left; font-size: calc(15 * var(--o)); font-weight: 600; color: var(--ink); }
.fs-row.is-done { color: var(--ink-2); }
.fs-row.is-done > span:last-child { text-decoration: line-through; }
.fs-check { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border: 2px solid var(--field-line); border-radius: 50%; color: transparent; }
.is-done .fs-check { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.fs-check .ic { width: 14px; height: 14px; stroke-width: 3; }
.fs-row > span:nth-child(2) { flex: 1; }
.fs-go { width: 18px; height: 18px; color: var(--ink-3); transform: rotate(-90deg); }
.fs-hide { display: block; margin: 6px auto 4px; font-size: calc(13 * var(--o)); color: var(--ink-2); }

/* Klavye açıkken alt menü klavyenin üstünde durmasın */
.kb-open .tabbar { display: none; }

/* ------------------------------------------------------------ başlık yazısı: Fraunces (yumuşak serif) */

.hello, .page-head h1, .section-title, .month, .brand-name, .tg-num, .tg-big, .mem-title, .kpi-num, .wb-year,
.sheet-bar h2, .login-title, .onb-title, .limit-title, .did-title, .vc-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-variation-settings: "SOFT" 100;
  letter-spacing: -.01em;
}
.hello { font-size: calc(30 * var(--o)); line-height: 1.12; }
.page-head h1 { font-size: calc(32 * var(--o)); }
.section-title { font-size: calc(21 * var(--o)); }
.sheet-bar h2 { font-size: calc(19 * var(--o)); }

/* ------------------------------------------------------------ 1.1 düzeltmeleri */

/* Dokunma alanları en az 44 nokta (Apple): görünüş aynı kalır, görünmez dolgu büyür (denetim bulgu 15) */
.bar-btn, .check, .nudge-chip, .photo-x, .pick-clear, .heart, .quick-go, .btn-did, .btn-sm, .icon-btn, .sugg-btn, .idea,
.chip, .round-btn, .link-btn, .back-link, .fold-btn, .nudge-x, .section-link, .nudge-go, .account-edit, .vc-link { position: relative; }
.bar-btn::after, .check::after, .nudge-chip::after, .photo-x::after, .pick-clear::after, .heart::after, .quick-go::after, .btn-did::after,
.btn-sm::after, .icon-btn::after, .sugg-btn::after, .idea::after, .chip::after, .round-btn::after, .link-btn::after, .back-link::after,
.fold-btn::after, .nudge-x::after, .section-link::after, .nudge-go::after, .vc-link::after { content: ""; position: absolute; }
.bar-btn::after { inset: -8px -10px; }
.check::after { inset: -2px; }
.nudge-chip::after { inset: -8px -3px; }
.nudge-chip.is-compact::after, .nudge-x::after, .quick-go::after, .btn-did::after { inset: -6px -3px; }
.photo-x::after { inset: -7px; }
.pick-clear::after { inset: -8px; }
.heart::after { inset: -8px 0; }
.btn-sm::after, .icon-btn::after, .nudge-go::after { inset: -4px -2px; }
.sugg-btn::after, .idea::after, .chip::after { inset: -4px 0; }
.round-btn::after { inset: -2px; }
.link-btn::after, .section-link::after, .vc-link::after { inset: -12px -6px; }
.back-link::after, .fold-btn::after { inset: -8px -4px; }
.opt span { min-height: 34px; }
.opt::after { content: ""; position: absolute; inset: -5px 0; pointer-events: none; }
.opt input { inset: -5px 0; height: auto; }

/* VoiceOver: satırın tamamı yerine başlık düğme; düğmenin görünmez alanı satırı kaplar, satırdaki diğer düğmeler üstte kalır (bulgu 18) */
.stretch { all: unset; display: block; cursor: pointer; text-align: start; }
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 2px solid var(--accent-text); outline-offset: -2px; }
.has-stretch { position: relative; }
.has-stretch button:not(.stretch), .has-stretch a { position: relative; z-index: 2; }

/* Çevrimdışı şeridi: son kaydedilen listeler gösteriliyor (Ö1) */
.offline-bar {
  position: sticky; top: calc(4px + env(safe-area-inset-top)); z-index: 25; margin: 0 auto 10px; width: max-content; max-width: 100%;
  display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: var(--dark); color: var(--on-dark); font-size: calc(13 * var(--o)); font-weight: 700;
}
.offline-bar i { width: 8px; height: 8px; border-radius: 50%; background: #F5A524; flex: none; }
.is-queued { opacity: .75; }

/* Açılış: oturum gelene kadar iskelet (bulgu 3) */
.boot { min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--ink-2); }
.boot .logo { width: 56px; height: 56px; animation: pulse .9s ease-in-out infinite alternate; }
.boot-msg { max-width: 30ch; font-size: calc(16 * var(--o)); color: var(--ink); }

/* Güncelleme gerekli ekranı (Ö11) */
.update { min-height: 100dvh; display: grid; place-items: center; align-content: center; gap: 16px; padding: 32px 28px; text-align: center; }
.update h1 { font: 600 calc(28 * var(--o))/1.15 var(--f-display); margin: 0; }
.update p { margin: 0; color: var(--ink-2); max-width: 32ch; }

/* Anılar: fotoğrafsız anı da ızgarada (bulgu 8) */
.album-cell.album-emoji { display: grid; place-items: center; align-content: center; gap: 4px; padding: 8px; background: var(--accent-soft); color: var(--ink); }

.album-emoji .ae-title { font-size: calc(11.5 * var(--o)); font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Küçük ekran (iPhone SE): sayaç tek satır, bildirim adımında örnekler kısalır (bulgu 28) */
.tg-num { white-space: nowrap; }
@media (max-height: 700px) {
  .notif-sample:nth-child(n+3) { display: none; }
}
.plan-sub { display: block; margin-top: 2px; font-size: calc(13 * var(--o)); font-weight: 600; color: var(--ink-2); }
.story:focus { outline: none; }

/* ------------------------------------------------------------ 1.1 tasarım (onaylanan seçenekler: Bugün B, Listeler B, Karşılama D, boş ekranlar C) */

/* Bugün: üstte son anının fotoğrafı (yoksa gül-şeftali zemin), üstünde tarih, selam, gün sayacı */
.main-home { padding-top: 0; }
.topbar.home-hero {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; align-items: stretch; gap: 18px;
  min-height: calc(min(300px, 40dvh) + env(safe-area-inset-top));
  margin: 0 calc(-1 * var(--gutter));
  padding: calc(8px + env(safe-area-inset-top)) var(--gutter) 22px;
  border-radius: 0 0 30px 30px; overflow: hidden;
  background: linear-gradient(135deg, var(--blush), var(--peach));
  color: var(--ink);
}
.home-hero.has-pic { background: #3A2A2E; color: #FFFFFF; }
.hh-pic { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.home-hero.has-pic::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 8, 12, .42) 0%, rgba(20, 8, 12, 0) 26%, rgba(20, 8, 12, 0) 42%, rgba(20, 8, 12, .74) 100%);
}
.hh-open { position: absolute; inset: 0; z-index: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.hh-open:focus-visible { outline: 3px solid #FFFFFF; outline-offset: -6px; border-radius: inherit; }
.hh-top, .hh-foot { position: relative; z-index: 1; pointer-events: none; }
.hh-top button, .hh-foot button { pointer-events: auto; }
.hh-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.hh-acts { display: flex; gap: 8px; margin-left: auto; }
.hh-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.home-hero .today { color: var(--blush-ink); }
.home-hero.has-pic .today { color: rgba(255, 255, 255, .9); }
.home-hero .hello { margin-top: 2px; font-size: calc(32 * var(--o)); line-height: 1.06; overflow-wrap: anywhere; }
.home-hero.has-pic .hello { color: #FFFFFF; text-shadow: 0 1px 14px rgba(0, 0, 0, .28); }
.hh-days, .hh-kicker {
  display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%;
  height: 32px; padding: 0 12px; border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, .62); color: var(--blush-ink);
  font-size: calc(13 * var(--o)); font-weight: 700; white-space: nowrap;
}
.hh-days { margin-top: 10px; }
.hh-days span, .hh-kicker span { overflow: hidden; text-overflow: ellipsis; }
.hh-days .ic { width: 15px; height: 15px; flex: none; fill: currentColor; stroke: none; }
.hh-kicker .ic { width: 15px; height: 15px; flex: none; }
.has-pic .hh-days, .has-pic .hh-kicker, .has-pic .hh-search {
  background: rgba(255, 255, 255, .2); color: #FFFFFF; box-shadow: none;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hh-search { background: rgba(255, 255, 255, .62); box-shadow: none; color: var(--blush-ink); }
.home-hero .couple .av { box-shadow: 0 0 0 2.5px rgba(255, 255, 255, .75); }
@media (prefers-color-scheme: dark) {
  .hh-days, .hh-kicker, .hh-search { background: rgba(255, 255, 255, .1); }
}
.page-ozet { padding-top: 18px; }
.main-home .offline-bar { margin-top: 12px; }

/* Fotoğrafın altındaki üç kutu: bugünün işleri, alışveriş, sıradaki plan */
.home-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hs-box {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0;
  padding: 13px 12px 12px; border: 0; border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--shadow-sm); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer;
}
.hs-box:active { transform: scale(.97); }
.hs-box .ic { width: 21px; height: 21px; margin-bottom: 4px; color: var(--accent-text); }
.hs-big { font: 600 calc(26 * var(--o))/1.05 var(--f-display); font-variation-settings: "SOFT" 100; overflow-wrap: anywhere; }
.is-plan .hs-big { font-size: calc(20 * var(--o)); line-height: 1.15; }
.hs-label { max-width: 100%; font-size: calc(12.5 * var(--o)); line-height: 1.3; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.is-plan .hs-label { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Gün sayacı ayrıntısı (sayaca dokununca) */
.together-sheet .together { margin-top: 4px; }

/* Listeler: fotoğraf kapaklı ızgara (iki sütun, farklı boylar), altta Bilgi kutusu satırı */
.lgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.lg-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lcover {
  position: relative; isolation: isolate; display: block; height: 150px; overflow: hidden;
  border-radius: var(--r-lg); background: var(--fill); color: #FFFFFF;
}
.lcover.is-tall { height: 270px; }
.lcover.is-short { height: 110px; }
.lcover:active { transform: scale(.98); }
.lcover img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.lcover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 8, 12, 0) 30%, rgba(20, 8, 12, .74)); }
.lc-text { position: absolute; left: 12px; right: 12px; bottom: 11px; display: flex; flex-direction: column; min-width: 0; }
.lc-title { font-size: calc(16 * var(--o)); font-weight: 800; line-height: 1.25; }
.lc-sub { font-size: calc(12.5 * var(--o)); line-height: 1.35; color: rgba(255, 255, 255, .92); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-todo { padding: 14px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.lc-todo::after { display: none; }
.lc-todo > .ic { width: 24px; height: 24px; color: var(--accent-text); }
.lc-todo .lc-text { left: 14px; right: 14px; bottom: 12px; }
.lc-todo .lc-sub { color: var(--ink-2); }
.lc-num { font: 600 calc(30 * var(--o))/1.05 var(--f-display); font-variation-settings: "SOFT" 100; }
.lc-todo .is-late { color: var(--danger); font-weight: 700; }
.info-link {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px 13px 16px; border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--shadow-sm);
}
.info-link:active { transform: scale(.99); }
.il-icon { width: 22px; height: 22px; flex: none; color: var(--ink-2); }
.il-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.il-title { font-size: calc(15 * var(--o)); font-weight: 700; }
.il-sub { font-size: calc(13 * var(--o)); color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.il-n { font-size: calc(13 * var(--o)); font-weight: 700; color: var(--ink-2); }
.il-go { width: 16px; height: 16px; flex: none; color: var(--ink-3); stroke-width: 2.2; }

/* Karşılama: tam ekran fotoğraf, altta koyu geçiş üstünde beyaz yazı ve düğmeler (gündüz ve gece aynı) */
.login.welcome {
  position: relative; isolation: isolate; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: #2A1A1F; color: #FFFFFF;
}
.wl-pic { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.wl-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 8, 12, .4) 0%, rgba(20, 8, 12, 0) 15%, rgba(20, 8, 12, 0) 32%, rgba(20, 8, 12, .55) 52%, rgba(20, 8, 12, .9) 76%);
}
.wl-body {
  display: flex; flex-direction: column; gap: 22px;
  width: 100%; max-width: 480px; margin: 0 auto;
  padding: 24px 24px calc(18px + env(safe-area-inset-bottom));
}
.wl-title { font: 600 calc(46 * var(--o))/1 var(--f-display); font-variation-settings: "SOFT" 100; letter-spacing: -.01em; color: #FFFFFF; }
.wl-sub { max-width: 34ch; margin-top: 10px; font-size: calc(17 * var(--o)); line-height: 1.45; color: rgba(255, 255, 255, .9); }
.wl-actions { display: flex; flex-direction: column; gap: 10px; }
.wl-actions .btn .ic { width: 20px; height: 20px; stroke-width: 2; }
.wl-light { background: #FFFFFF; color: #17110F; }
.wl-glass {
  background: rgba(255, 255, 255, .18); color: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.wl-invite { height: 48px; background: none; color: #FFFFFF; font-size: calc(16 * var(--o)); }
.wl-alt { padding-top: 2px; font-size: calc(15 * var(--o)); color: rgba(255, 255, 255, .82); text-align: center; }
.wl-alt .link-btn { color: #FFFFFF; }
.welcome .btn-apple span { color: inherit; }
/* Geniş ekranda (web, iPad) telefon genişliğinde bir sütun; fotoğraf bozulmadan kalır */
@media (min-width: 700px) {
  .login.welcome { max-width: 520px; margin: 0 auto; }
}
/* iPhone SE gibi kısa ekranlar: her şey kaydırmadan görünsün (bulgu 28) */
@media (max-height: 700px) {
  .wl-body { gap: 16px; }
  .wl-title { font-size: calc(40 * var(--o)); }
  .wl-sub { margin-top: 6px; font-size: calc(16 * var(--o)); }
  .wl-actions { gap: 8px; }
  .wl-actions .btn-lg { height: 50px; }
  .wl-invite { height: 42px; }
}

/* Boş liste: tek büyük fotoğraflı kart, içinde yazı kutusu; altında tek dokunuşla eklenen öneriler */
.seed { display: flex; flex-direction: column; gap: 14px; }
.seed-card {
  position: relative; isolation: isolate; height: min(360px, 50dvh); overflow: hidden;
  border-radius: var(--r-xl); background: var(--fill); color: #FFFFFF;
}
.seed-pic { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.seed-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 8, 12, 0) 30%, rgba(20, 8, 12, .74)); }
.seed-form { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.seed-title { font: 600 calc(26 * var(--o))/1.12 var(--f-display); font-variation-settings: "SOFT" 100; color: #FFFFFF; text-shadow: 0 1px 12px rgba(0, 0, 0, .2); }
.seed-field { display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 6px 0 16px; border-radius: 16px; background: rgba(255, 255, 255, .96); }
.seed-field input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; outline: none;
  color: #2B1D22; font: 500 max(16px, calc(16 * var(--o))) var(--f-ui);
}
.seed-field input::placeholder { color: #8A777D; }
.seed-go { width: 40px; height: 40px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.seed-go .ic { width: 20px; height: 20px; stroke-width: 2.4; }
.seed-field:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .45); }
.seed-ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.seed-idea {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  min-height: 38px; padding: 0 14px 0 11px; border: 0; border-radius: 999px;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm);
  font-size: calc(14 * var(--o)); font-weight: 600; text-align: left;
}
.seed-idea::after { content: ""; position: absolute; inset: -3px 0; }
.seed-idea .ic { width: 15px; height: 15px; flex: none; stroke-width: 2.4; color: var(--accent-text); }
.seed-idea:active { transform: scale(.97); }
@media (prefers-color-scheme: dark) { .seed-idea { background: var(--fill); } }

/* Dürt: satırlardan kalktı, maddeyi açınca formda (bulgu 13) */
.sheet-nudge { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0 4px; }
.nudge-chip.is-wide { height: 40px; padding: 0 16px; font-size: calc(14 * var(--o)); }
.nudge-chip.is-wide .ic { width: 16px; height: 16px; }

/* Masaüstü: fotoğraf bir kart olarak sütunun başında */
@media (min-width: 900px) {
  .main-home { padding-top: 32px; }
  .topbar.home-hero { min-height: 300px; margin: 0; padding: 18px 24px 24px; border-radius: var(--r-xl); }
}

/* Emoji yok (1.1): oyuncak gibi duruyordu. Yerine uygulamanın ince çizgili simgeleri ve pembe-şeftali zemin (bulgu 12) */
.recipe-pic:not(.has-img), .album-cell.album-emoji { background: linear-gradient(135deg, var(--blush), var(--peach)); color: var(--blush-ink); }
.blank-ic { width: 40px; height: 40px; stroke-width: 1.4; opacity: .75; }
.album-cell.album-emoji { gap: 8px; padding: 10px; }
.album-emoji .ae-ic { width: 22px; height: 22px; opacity: .7; }
.album-emoji .ae-title { font-family: var(--f-display); font-weight: 600; font-size: calc(13 * var(--o)); color: var(--blush-ink); }
.tg-badge { position: relative; flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--card); color: var(--accent-text); }
.tg-badge .ic { width: 28px; height: 28px; }
.st-emoji { margin: 12px 0 8px; color: var(--hi); }
.st-emoji .ic { width: 88px; height: 88px; stroke-width: 1.3; }
.recipe-card.is-plain .recipe-body { padding: 14px; gap: 3px; }
.recipe-ic { margin-bottom: 10px; color: var(--lt-recipe); background: var(--fill); background: color-mix(in srgb, var(--lt-recipe) 12%, transparent); }

/* Denetim düzeltmeleri (2026-11-14) */
/* Web sayfası izi: yazı kutusunun köşesindeki boyut tutamacı */
textarea { resize: none; }
/* Birlikte kartı: dar ekranda İngilizce "We did it!" kartın dışına taşmasın */
.btn-did { white-space: nowrap; }
/* "+" paneli: gökkuşağı yerine tek renk simgeler, koyu modda parıltı yok */
.add-grid .add-opt { --lt: var(--accent-text); }
.add-grid .lt-icon { box-shadow: none; }
/* Hesap: yalnız ayrılma ve silme kırmızı, diğerleri normal yazı */
.link-row[data-action="password"], .link-row[data-action="logout"], .link-row[data-action="logoutAll"] { color: var(--ink); }
/* Boş liste kartı: koyu modda yazı kutusu da koyu */
@media (prefers-color-scheme: dark) {
  .seed-field { background: rgba(33, 26, 29, .92); }
  .seed-field input { color: #F8EEF0; }
  .seed-field input::placeholder { color: #BCA9AF; }
}
/* Bildirim örneğinde uygulamanın gerçek ikonu */
.notif-icon { overflow: hidden; background: none; }
.notif-icon img { width: 38px; height: 38px; display: block; border-radius: 10px; }
/* Listeler: Yapılacak kartında sıradaki işler */
.lcover.lc-todo { display: flex; flex-direction: column; gap: 8px; }
.lc-head { display: flex; align-items: baseline; gap: 8px; }
.lc-todo .lc-title { font-size: calc(15 * var(--o)); }
.lc-tasks { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.lc-task { position: relative; padding-left: 14px; font-size: calc(13 * var(--o)); line-height: 1.3; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-task::before { content: ""; position: absolute; left: 0; top: .45em; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.lc-todo .lc-sub { margin-top: auto; color: var(--ink-2); font-size: calc(12.5 * var(--o)); }
.lc-todo .lc-sub.is-late { color: var(--danger); font-weight: 700; }
/* İlk açılış da uygulamanın krem zemininde; içindeki kutular beyaz */
.onb { background: var(--bg); }
.onb .onb-card, .onb .onb-group, .onb .invite-card { background: var(--card); }
.onb .onb-group .pick { background: var(--fill); }

/* ------------------------------------------------------------ 1.1 tasarım 2. tur (2026-11-14): Plus D, Birlikte D, Anılar A, Takvim A, Yıl özeti B */

/* Plus: tam ekran fotoğraf, beyaz yazı; plan kartı seçer, tek düğme satın alır */
.plus-full {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: #1A0E12; color: #fff; outline: none;
}
.plus-bg { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.plus-full::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 6, 10, .32) 0%, rgba(18, 6, 10, .28) 24%, rgba(18, 6, 10, .86) 52%, rgba(18, 6, 10, .95) 100%);
}
.plus-x {
  position: fixed; z-index: 3; top: calc(10px + env(safe-area-inset-top)); right: max(14px, env(safe-area-inset-right));
  width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.plus-x .ic { width: 20px; height: 20px; stroke-width: 2.2; }
.plus-in {
  position: relative; z-index: 2; width: 100%; max-width: 520px; margin: 0 auto;
  padding: 38vh 22px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 16px;
}
.plus-k { font-size: calc(12 * var(--o)); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .82; }
.plus-h { margin-top: -8px; font: 600 calc(34 * var(--o))/1.05 var(--f-display); letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.plus-bens { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: calc(15 * var(--o)); font-weight: 600; }
.plus-bens li { display: flex; align-items: center; gap: 10px; }
.plus-bens .ic { flex: none; width: 20px; height: 20px; stroke-width: 2.4; color: #FFB3C4; }
#plus-buy { display: flex; flex-direction: column; gap: 14px; }
.plus-full .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 6px 0 0; }
.plus-full .plan-opt, .plus-full .plan-opt.is-best {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 14px 13px 12px; border: 0; border-radius: 18px; text-align: left; color: #fff;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.plus-full .plan-opt.is-on { background: #fff; color: #2B1D22; box-shadow: none; }
.plus-full .plan-badge { position: absolute; top: -10px; right: 10px; background: #C83C64; color: #fff; }
.plus-full .plan-name { font-size: calc(16 * var(--o)); font-weight: 800; }
.plus-full .plan-price { font-size: calc(13.5 * var(--o)); font-weight: 600; line-height: 1.3; color: inherit; }
.plus-full .plan-sub { margin: 0; font-size: calc(12 * var(--o)); color: inherit; opacity: .66; }
.plus-cta {
  width: 100%; height: 54px; border: 0; border-radius: 999px;
  background: #fff; color: #2B1D22; font-size: calc(16.5 * var(--o)); font-weight: 800;
}
.plus-cta:disabled { opacity: .6; }
.plus-full .plus-legal { margin: 0; font-size: calc(11.5 * var(--o)); line-height: 1.45; text-align: center; color: rgba(255, 255, 255, .66); }
.plus-full .plus-links { justify-content: center; margin: -6px 0 0; }
.plus-full .plus-links a, .plus-full .plus-links .link-btn { color: rgba(255, 255, 255, .85); font-size: calc(12.5 * var(--o)); }
.plus-full .plus-note, .plus-state {
  display: flex; align-items: center; gap: 8px; margin: 0; padding: 13px 15px; border-radius: 16px;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: calc(14.5 * var(--o)); font-weight: 600; line-height: 1.4;
}
.plus-full .plus-note .ic, .plus-state .ic { flex: none; width: 18px; height: 18px; color: #FFB3C4; }

/* Birlikte: üstte son anının fotoğrafı, altında "Sırada" listesi */
.bucket-hero {
  position: relative; display: block; width: 100%; height: 190px; padding: 0; border: 0;
  border-radius: var(--r-lg); overflow: hidden; background: var(--fill); text-align: left;
}
.bucket-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bh-cap {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 2px;
  padding: 48px 16px 14px; background: linear-gradient(rgba(20, 8, 12, 0), rgba(20, 8, 12, .72)); color: #fff;
}
.bh-k { font-size: calc(12 * var(--o)); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }
.bh-t { font: 600 calc(21 * var(--o))/1.15 var(--f-display); }
.list-head .section-link .ic { width: 16px; height: 16px; transform: rotate(-90deg); }

/* Anılar: 6 anıya kadar tam genişlikte kartlar */
.mem-cards { display: grid; gap: 22px; }
@media (min-width: 900px) { .mem-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mem-card { display: grid; gap: 8px; align-content: start; }
.mc-pic { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--fill); }
.mc-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mc-text { display: flex; flex-direction: column; gap: 2px; padding: 0 2px; border: 0; background: none; color: inherit; text-align: left; }
.mc-text:first-child { padding: 14px 16px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.mc-title { font: 600 calc(20 * var(--o))/1.2 var(--f-display); }
.mc-meta { font-size: calc(13.5 * var(--o)); line-height: 1.4; color: var(--ink-2); }

/* Takvim: Pazartesi–Pazar hafta şeridi */
.week { padding: 10px 8px 6px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow); }
.week-head { display: flex; align-items: center; gap: 8px; padding: 0 4px 6px 8px; }
.week-head b { flex: 1; min-width: 0; font-size: calc(15 * var(--o)); font-weight: 800; }
.week-nav { display: flex; gap: 2px; }
.week-nav .ic { transform: rotate(-90deg); }
.week-nav .week-prev .ic { transform: rotate(90deg); }
.week-today { padding: 5px 11px; border: 0; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: calc(12.5 * var(--o)); font-weight: 700; }
.week-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.wd { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px 0 6px; border: 0; border-radius: 14px; background: none; color: var(--ink); }
.wd-n { font-size: calc(11.5 * var(--o)); font-weight: 700; color: var(--ink-2); }
.wd-d { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; font-size: calc(16 * var(--o)); font-weight: 700; font-variant-numeric: tabular-nums; }
.wd.is-today .wd-d { background: var(--accent); color: var(--on-accent); }
.wd.is-past { opacity: .45; }
.wd-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.wd-dot.is-empty { background: transparent; }
.plan-row.is-flash { animation: plan-flash 1.4s ease-out; }
@keyframes plan-flash { 0%, 45% { background: var(--accent-soft); } 100% { background: transparent; } }

/* Yıl özeti: kapak kolaj, iç sayfalar şarap, sayılar serif, altta fotoğraf şeridi */
.story { background: linear-gradient(180deg, #8C2846 0%, #5B1A30 100%); }
.st-collage { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 3px; background: #2B1D22; }
.st-collage.st-c6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.st-collage.st-c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.st-collage.st-c3 { grid-template-columns: minmax(0, 1fr); }
.st-collage img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.st-collage::after { content: ""; position: absolute; inset: 0; background: rgba(43, 12, 24, .3); }
.st-cover { align-self: center; padding: 24px 32px 22px; border-radius: 26px; background: #FBF1EA; color: #5B1A30; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.st-cover-k { font-size: calc(12 * var(--o)); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.st-cover-y { margin-top: 2px; font: 600 calc(80 * var(--o))/1 var(--f-display); letter-spacing: -.02em; }
.st-cover-t { margin-top: 4px; font-size: calc(14 * var(--o)); font-weight: 600; }
.st-hint-c { align-self: center; opacity: .9; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.st-big { font-family: var(--f-display); font-weight: 600; letter-spacing: -.02em; }
.st-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.st-strip img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }

/* Reklam (1.1): banner menünün üstünde; içerik ve kısa mesajlar onun altında kalmasın */
html.reklamli .main { padding-bottom: calc(118px + var(--reklam, 64px) + env(safe-area-inset-bottom)); }
html.reklamli .toast { bottom: calc(100px + var(--reklam, 64px) + env(safe-area-inset-bottom)); }

/* Liste sayfaları (tasarım D): fotoğraflı başlık, kenardan kenara; başlık, sayı, Dürt ve Listeler bağlantısı fotoğrafın üstünde */
.main-band { padding-top: 0; }
.list-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  min-height: calc(200px + env(safe-area-inset-top));
  margin: 0 calc(-1 * var(--gutter)) 4px;
  padding: calc(10px + env(safe-area-inset-top)) var(--gutter) 18px;
  border-radius: 0 0 28px 28px; background: #3A2A2E; color: #FFFFFF;
}
.lb-pic { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.list-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(20, 8, 12, .55) 0%, rgba(20, 8, 12, .05) 34%, rgba(20, 8, 12, .2) 50%, rgba(20, 8, 12, .86) 100%);
}
.list-band .back-link { align-self: flex-start; color: #FFFFFF; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.list-band .page-head { margin-top: auto; padding-top: 0; }
.list-band .page-head h1 { color: #FFFFFF; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); }
.list-band .page-sub { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.list-band .page-nudge { color: #FFFFFF; }
.list-band .head-nudge { background: rgba(255, 255, 255, .2); color: #FFFFFF; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }
.recent { display: grid; gap: 10px; }
.recent > .btn { justify-self: start; }
@media (min-width: 900px) {
  .main-band { padding-top: 32px; }
  .list-band { min-height: 220px; margin: 0 0 8px; padding: 18px 24px 22px; border-radius: var(--r-xl); }
}
