:root {
  --rose-50: #fff8fb;
  --rose-100: #ffeef5;
  --rose-200: #ffdbe8;
  --rose-300: #ffbcd3;
  --rose-400: #f897ba;
  --rose-500: #ec6f9e;
  --rose-600: #d4558a;
  --ink: #4b2d40;
  --ink-2: #6f4d61;
  --muted: #a3849a;
  --line: rgba(220, 110, 160, 0.18);
  --line-2: rgba(220, 110, 160, 0.28);
  --glass: rgba(255, 250, 252, 0.66);
  --glass-strong: rgba(255, 251, 253, 0.9);
  --blur: blur(22px) saturate(1.6);
  --shadow-s: 0 2px 10px rgba(140, 50, 95, 0.08);
  --shadow: 0 10px 34px rgba(140, 50, 95, 0.14), 0 1px 3px rgba(140, 50, 95, 0.06);
  --grad: linear-gradient(135deg, #fbaac8 0%, #ef77a6 100%);
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.3, 1.35, .5, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #ffe3ee; font-family: 'Quicksand', system-ui, sans-serif; font-weight: 500; color: var(--ink); overscroll-behavior: none; -webkit-font-smoothing: antialiased; }
body { position: fixed; inset: 0; -webkit-user-select: none; user-select: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; padding: 0; }
input, textarea, select { font: inherit; color: var(--ink); -webkit-user-select: text; user-select: text; }
.hidden { display: none !important; }
.script { font-family: 'Dancing Script', cursive; font-weight: 600; letter-spacing: .01em; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; outline: none; }
#vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 62%, rgba(110, 30, 70, 0.14) 100%); }

/* ---------- ekranlar ---------- */
.screen { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
#loader { background: radial-gradient(circle at 50% 38%, #fff7fa 0%, #ffe1ec 55%, #ffcadd 100%); transition: opacity .9s ease, visibility .9s; }
#loader.done { opacity: 0; visibility: hidden; }
#loader h1 { margin: 20px 0 2px; font-size: 46px; color: var(--rose-600); font-weight: 600; }
#loader p { margin: 0 0 18px; color: var(--muted); font-weight: 600; font-size: 14px; }
.bar { width: 160px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .8); overflow: hidden; }
.bar i { display: block; height: 100%; width: 8%; border-radius: 99px; background: var(--grad); transition: width .4s ease; }
.loader-art { position: relative; width: 110px; height: 120px; }
.pot { position: absolute; bottom: 0; left: 50%; width: 64px; height: 46px; transform: translateX(-50%); background: linear-gradient(#ffc1d7, #f591b6); border-radius: 6px 6px 20px 20px; }
.pot::before { content: ''; position: absolute; top: -8px; left: -5px; right: -5px; height: 12px; border-radius: 6px; background: #ffd0e0; }
.sprout { position: absolute; bottom: 46px; left: 50%; width: 4px; height: 0; background: #79c27a; transform: translateX(-50%); border-radius: 3px; animation: grow 2.4s var(--ease) infinite; }
.sprout .leaf { position: absolute; top: 6px; width: 22px; height: 11px; background: #8fd38f; border-radius: 0 100% 0 100%; opacity: 0; animation: leaf 2.4s ease-out infinite; }
.sprout .leaf.l { right: 3px; transform: scaleX(-1); }
.sprout .leaf.r { left: 3px; }
.sprout .bud { position: absolute; top: -10px; left: 50%; width: 14px; height: 14px; margin-left: -7px; background: var(--rose-400); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 190, 215, .7); transform: scale(0); animation: bud 2.4s ease-out infinite; }
@keyframes grow { 0% { height: 0 } 50%, 100% { height: 50px } }
@keyframes leaf { 0%, 35% { opacity: 0 } 55%, 100% { opacity: 1 } }
@keyframes bud { 0%, 55% { transform: scale(0) } 75% { transform: scale(1.2) } 90%, 100% { transform: scale(1) } }

#gate { background: linear-gradient(165deg, rgba(255, 238, 245, .9), rgba(255, 208, 226, .9)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow-y: auto; justify-content: safe center; }
.gate-card { width: min(400px, 100%); background: var(--glass-strong); border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; padding: 26px 22px 22px; box-shadow: var(--shadow); position: relative; z-index: 2; animation: rise .6s var(--ease); }
.gate-card h2 { margin: 6px 0 4px; font-size: 34px; color: var(--rose-600); }
.gate-card p { margin: 0 0 18px; color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.gate-card .emoji-big { font-size: 40px; line-height: 1; animation: bob 3s ease-in-out infinite; }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.who-btn { padding: 18px 10px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); font-weight: 600; font-size: 16px; transition: transform .2s var(--spring), border-color .2s; }
.who-btn:active { transform: scale(.96); border-color: var(--rose-400); }
.who-btn .e { display: block; font-size: 28px; margin-bottom: 6px; }
.floating-hearts { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.floating-hearts span { position: absolute; bottom: -40px; opacity: .5; animation: floatUp linear infinite; }
@keyframes floatUp { to { transform: translateY(-110vh) rotate(25deg); opacity: 0; } }
@keyframes rise { from { transform: translateY(14px) scale(.98); opacity: 0 } }
@keyframes pop { from { transform: scale(.92); opacity: 0 } }
@keyframes bob { 50% { transform: translateY(-5px) } }

/* ---------- form ---------- */
.field { display: block; text-align: left; margin: 0 0 12px; }
.field > span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 5px 4px; letter-spacing: .02em; }
.input { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .85); outline: none; font-size: 16px; font-weight: 500; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; min-height: 46px; }
.input:focus { border-color: var(--rose-400); box-shadow: 0 0 0 4px rgba(236, 111, 158, .12); }
.input::placeholder { color: #c9aebd; }
textarea.input { resize: none; min-height: 78px; line-height: 1.45; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; min-width: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 18px; min-height: 46px; border-radius: 14px; font-weight: 600; font-size: 15px; letter-spacing: .01em; transition: transform .18s var(--spring), box-shadow .2s, opacity .2s, background .2s; }
.btn:active { transform: scale(.97); }
.btn svg.i { width: 18px; height: 18px; stroke-width: 1.8; }
.btn.primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(236, 111, 158, .32), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary:disabled { opacity: .5; }
.btn.ghost { background: rgba(255, 255, 255, .75); color: var(--rose-600); border: 1px solid var(--line-2); }
.btn.soft { background: var(--rose-100); color: var(--rose-600); }
.btn.danger { background: transparent; color: #c84a76; border: 1px solid rgba(200, 74, 118, .25); }
.btn.block { width: 100%; }
.btn.sm { min-height: 36px; padding: 8px 12px; font-size: 13.5px; border-radius: 12px; }
.linkbtn { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; }
.chip { padding: 7px 12px; border-radius: 99px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line-2); font-weight: 600; font-size: 13px; color: var(--ink-2); transition: all .18s; }
.chip.on { background: var(--rose-500); border-color: var(--rose-500); color: #fff; }

/* ---------- HUD ---------- */
#hud { position: fixed; z-index: 10; top: calc(var(--safe-t) + 10px); left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; pointer-events: none; }
.pill { pointer-events: auto; background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: 18px; padding: 7px 13px 8px; box-shadow: var(--shadow-s); border: 1px solid rgba(255, 255, 255, .75); display: flex; flex-direction: column; align-items: flex-start; animation: slideDown .7s var(--ease); }
.pill .sub { white-space: nowrap; font-size: 11.5px; font-weight: 600; color: var(--ink-2); opacity: .85; }
.title-pill { max-width: 58%; }
.title-pill .script { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; font-size: 23px; color: var(--rose-600); line-height: 1.15; }
.wx-pill { align-items: flex-end; max-width: 46%; }
.wx-top { display: flex; align-items: center; gap: 5px; }
.wx-pill #wx-emoji { font-size: 18px; }
.wx-pill #wx-temp { font-weight: 600; font-size: 16px; }
@keyframes slideDown { from { transform: translateY(-16px); opacity: 0 } }

/* ---------- bugünün özel günü ---------- */
#today-card { position: fixed; z-index: 12; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 92px); width: min(calc(100vw - 24px), 420px); padding: 12px; border-radius: 22px; background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); animation: cardIn .7s var(--spring); }
@keyframes cardIn { from { transform: translate(-50%, 24px); opacity: 0 } }
.tc-top { display: flex; align-items: center; gap: 11px; text-align: left; width: 100%; }
.tc-ico { position: relative; width: 48px; height: 48px; flex: none; border-radius: 16px; background: linear-gradient(145deg, #fff, var(--rose-100)); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; }
.tc-ico img { width: 46px; height: 46px; object-fit: contain; }
.tc-ico .em { position: absolute; right: -2px; bottom: -3px; font-size: 15px; }
.tc-txt { min-width: 0; flex: 1; }
.tc-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-500); }
.tc-t { font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-s { font-size: 12.5px; color: var(--ink-2); margin-top: 1px; }
.tc-bottom { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.duo { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.av { position: relative; display: flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 99px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; min-width: 0; transition: all .3s; }
.av b { width: 22px; height: 22px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rose-100); color: var(--rose-500); font-size: 11px; font-weight: 700; }
.av span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av.ok { border-color: rgba(236, 111, 158, .5); background: #fff; }
.av.ok b { background: var(--rose-500); color: #fff; }
.av.ok b svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
.av.wait b { animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.82); opacity: .6 } }
.tc-btn { flex: none; }
.tc-btn.ready { background: #fff; color: var(--rose-600); border: 1px solid var(--line-2); box-shadow: none; }
.tc-more { display: block; width: 100%; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--rose-600); }

/* ---------- geri sayım ---------- */
#countdown { position: fixed; inset: 0; z-index: 35; display: flex; align-items: center; justify-content: center; pointer-events: none; background: radial-gradient(circle, rgba(255, 220, 235, .35), rgba(120, 30, 80, .18)); animation: fade .4s; }
.cd-inner { text-align: center; color: #fff; text-shadow: 0 2px 4px rgba(150, 30, 90, .55), 0 4px 26px rgba(170, 40, 100, .7); }
.cd-title { font-family: 'Dancing Script', cursive; font-size: 34px; font-weight: 600; }
.cd-num { font-family: 'Dancing Script', cursive; font-size: 120px; line-height: 1.05; font-weight: 700; animation: beat 1s var(--ease) infinite; }
.cd-sub { font-size: 14px; font-weight: 600; letter-spacing: .04em; }
@keyframes beat { 0% { transform: scale(1.5); opacity: 0 } 25% { transform: scale(1); opacity: 1 } 85% { opacity: 1 } 100% { transform: scale(.8); opacity: 0 } }

/* ---------- dock ---------- */
#dock { position: fixed; z-index: 10; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 12px); display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-radius: 26px; background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .8); animation: slideUp .8s var(--ease); }
@keyframes slideUp { from { transform: translate(-50%, 30px); opacity: 0 } }
.dock-btn { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; width: min(60px, 16vw); padding: 7px 0 5px; border-radius: 18px; font-size: 10.5px; font-weight: 600; color: var(--ink-2); transition: color .2s, background .2s; }
.dock-btn svg.i { transition: transform .35s var(--spring); }
.dock-btn:active svg.i { transform: scale(1.18); }
.dock-btn.active { color: var(--rose-600); }
.dock-btn.main { width: min(68px, 18vw); color: var(--rose-600); }
.main-ring { width: 44px; height: 44px; margin-top: -20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--grad); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .85), 0 8px 18px rgba(236, 111, 158, .4); transition: transform .35s var(--spring); }
.dock-btn.main:active .main-ring { transform: scale(.92); }
.dock-btn.main svg.i { width: 22px; height: 22px; stroke-width: 1.7; }
.dot { position: absolute; top: -18px; right: 12px; width: 10px; height: 10px; border-radius: 50%; background: #ff4f8b; box-shadow: 0 0 0 2px #fff; animation: breathe 1.4s ease-in-out infinite; }

/* ---------- alt sayfa ---------- */
#sheet-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(80, 20, 55, .14); animation: fade .3s; }
#sheet { position: fixed; z-index: 21; left: 0; right: 0; bottom: 0; max-height: 86vh; margin: 0 auto; width: min(100%, 540px); background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: 26px 26px 0 0; border: 1px solid rgba(255, 255, 255, .9); border-bottom: 0; box-shadow: 0 -10px 40px rgba(140, 50, 95, .16); padding: 6px 18px calc(var(--safe-b) + 18px); overflow-y: auto; -webkit-overflow-scrolling: touch; animation: sheetUp .5s var(--ease); }
#sheet.closing { animation: sheetDown .28s ease-in forwards; }
@keyframes sheetUp { from { transform: translateY(100%) } }
@keyframes sheetDown { to { transform: translateY(100%) } }
@keyframes fade { from { opacity: 0 } }
.grip { width: 38px; height: 4px; border-radius: 9px; background: var(--rose-200); margin: 6px auto 10px; }
.sheet-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.sheet-title h3 { margin: 0; font-family: 'Dancing Script', cursive; font-size: 30px; font-weight: 600; color: var(--rose-600); line-height: 1.1; }
.sheet-title .back { display: flex; align-items: center; gap: 2px; color: var(--muted); font-size: 13px; font-weight: 600; margin-left: -6px; }
.close-x { width: 34px; height: 34px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); color: var(--ink-2); }
.close-x svg.i { width: 18px; height: 18px; }
.section-label { font-size: 11px; font-weight: 700; color: var(--muted); margin: 18px 4px 8px; text-transform: uppercase; letter-spacing: .1em; }
.lead { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: -4px 2px 12px; }

/* liste satırı */
.list { display: flex; flex-direction: column; gap: 6px; }
.item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 9px 10px; border-radius: 18px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); animation: rise .45s var(--ease) backwards; transition: transform .18s var(--spring), border-color .2s; }
.item:active { transform: scale(.985); }
.item .ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 21px; background: linear-gradient(145deg, #fff, var(--rose-100)); border: 1px solid var(--line); overflow: hidden; }
.item .ico img { width: 44px; height: 44px; object-fit: contain; }
.item .tx { flex: 1; min-width: 0; }
.item .t { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .d { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: 1px; }
.item .end { flex: none; display: flex; align-items: center; gap: 6px; color: var(--muted); }
.item .end img { width: 34px; height: 34px; object-fit: contain; }
.item .end svg.i { width: 16px; height: 16px; }
.item.today { border-color: rgba(236, 111, 158, .55); background: #fff; box-shadow: 0 6px 18px rgba(236, 111, 158, .16); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 99px; background: var(--rose-100); color: var(--rose-600); font-size: 11px; font-weight: 700; white-space: nowrap; }
.badge.blue { background: #e6f2ff; color: #4a86c7; }
.badge.solid { background: var(--rose-500); color: #fff; }
.item.add { justify-content: center; color: var(--rose-600); font-weight: 600; border-style: dashed; border-color: var(--line-2); background: transparent; min-height: 50px; }
.item.add svg.i { width: 18px; height: 18px; }
.item.sugg .ico { filter: saturate(.7); opacity: .9; }

/* çiçek seçici */
.flower-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.flower-opt { position: relative; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: 18px; padding: 6px 4px 9px; text-align: center; transition: transform .2s var(--spring), border-color .2s, box-shadow .2s; animation: pop .4s var(--ease) backwards; }
.flower-opt img, .flower-opt .ph { width: 62px; height: 62px; display: block; margin: 0 auto 2px; object-fit: contain; }
.flower-opt .ph { border-radius: 50%; transform: scale(.6); }
.flower-opt b { display: block; font-size: 12.5px; font-weight: 700; }
.flower-opt small { display: block; font-size: 10.5px; color: var(--muted); font-weight: 600; line-height: 1.25; }
.flower-opt.on { border-color: var(--rose-500); background: #fff; box-shadow: 0 0 0 3px rgba(236, 111, 158, .18); }

/* anılar */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 4px; }
.stat { background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: 18px; padding: 11px 6px 10px; text-align: center; }
.stat b { display: block; font-size: 22px; color: var(--rose-500); font-weight: 700; line-height: 1.15; }
.stat span { font-size: 11px; font-weight: 600; color: var(--muted); }
.note-card { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, rgba(255, 238, 245, .95), rgba(255, 226, 238, .95)); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; margin: 8px 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; text-align: left; }
.note-card .big { font-size: 24px; flex: none; }
.note-card .tiny { font-weight: 500; }
.empty { text-align: center; color: var(--muted); font-weight: 600; font-size: 13.5px; padding: 22px 10px; line-height: 1.5; }

/* plaklar */
.deck { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, .72); border: 1px solid var(--line); border-radius: 22px; padding: 14px; margin-bottom: 4px; }
.turntable { position: relative; width: 112px; height: 112px; flex: none; border-radius: 18px; background: linear-gradient(145deg, #fbd5e2, #efb3c9); }
.vinyl { position: absolute; left: 9px; top: 9px; width: 94px; height: 94px; border-radius: 50%; background: repeating-radial-gradient(circle, #211e26 0 2px, #2d2a35 2px 4px); box-shadow: 0 3px 8px rgba(0, 0, 0, .25); }
.vinyl::after { content: ''; position: absolute; inset: 32px; border-radius: 50%; background: var(--label, #ff7eb3); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.vinyl::before { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: #fff; z-index: 2; }
.vinyl .shine { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 20%, rgba(255, 255, 255, .16) 25%, transparent 30% 70%, rgba(255, 255, 255, .1) 75%, transparent 80%); }
.turntable.on .vinyl { animation: spin 1.8s linear infinite; }
.arm { position: absolute; right: 8px; top: 8px; width: 5px; height: 66px; border-radius: 3px; background: linear-gradient(#fff, #e3d9dd); transform-origin: 2.5px 3px; transform: rotate(-8deg); transition: transform .8s var(--spring); box-shadow: 0 2px 4px rgba(0, 0, 0, .15); }
.arm::after { content: ''; position: absolute; bottom: -4px; left: -4px; width: 13px; height: 10px; border-radius: 3px; background: #4d4450; }
.turntable.on .arm { transform: rotate(22deg); }
@keyframes spin { to { transform: rotate(360deg) } }
.now { min-width: 0; }
.now .k { font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: .1em; }
.now .n { font-size: 19px; font-weight: 700; color: var(--rose-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.now .a { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.now .ctl { display: flex; gap: 8px; margin-top: 10px; }
.crate { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.crate::-webkit-scrollbar { display: none; }
.rec { flex: none; width: 102px; scroll-snap-align: start; text-align: center; }
.rec .sleeve { position: relative; width: 102px; height: 102px; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-s); transition: transform .3s var(--spring); }
.rec .sleeve .disc { position: absolute; right: -28px; top: 8px; width: 86px; height: 86px; border-radius: 50%; background: repeating-radial-gradient(circle, #211e26 0 2px, #2d2a35 2px 4px); transition: right .4s var(--spring); }
.rec .sleeve .disc::after { content: ''; position: absolute; inset: 29px; border-radius: 50%; background: var(--label); }
.rec .sleeve .cover { position: absolute; inset: 0; right: 28px; border-radius: 14px 0 0 14px; display: flex; align-items: flex-end; padding: 8px; font-weight: 700; font-size: 12.5px; color: #fff; text-align: left; line-height: 1.15; text-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.rec.on .sleeve .disc { right: -46px; }
.rec.on .sleeve { transform: translateY(-3px) rotate(-2deg); }
.rec small { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.range { width: 100%; accent-color: var(--rose-500); }

/* modal kart */
#modal { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(80, 20, 55, .2); animation: fade .25s; }
.modal-card { width: min(370px, 100%); max-height: 86vh; overflow-y: auto; background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .9); border-radius: 28px; padding: 22px 20px 18px; box-shadow: var(--shadow); text-align: center; position: relative; animation: rise .5s var(--spring); }
.modal-card .close-x { position: absolute; top: 12px; right: 12px; }
.modal-card .thumb { width: 116px; height: 116px; margin: -4px auto 2px; display: block; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(200, 60, 120, .2)); animation: bob 3.2s ease-in-out infinite; }
.modal-card .hero { font-size: 52px; line-height: 1.1; animation: bob 3s ease-in-out infinite; }
.modal-card h3 { margin: 4px 0 2px; font-family: 'Dancing Script', cursive; font-size: 30px; font-weight: 600; color: var(--rose-600); line-height: 1.15; }
.modal-card .meaning { font-size: 13px; font-weight: 600; color: var(--muted); }
.memo { background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 18px; padding: 13px 14px; margin: 14px 0 10px; text-align: left; }
.memo .t { font-weight: 700; font-size: 16px; }
.memo .d { font-size: 12.5px; color: var(--muted); font-weight: 600; margin: 2px 0 0; }
.memo .n { white-space: pre-wrap; line-height: 1.5; font-size: 14px; margin-top: 8px; }
.notes { display: flex; flex-direction: column; gap: 8px; margin: 0 0 10px; text-align: left; }
.notes .nt { padding: 11px 13px; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.45; white-space: pre-wrap; }
.notes .nt.b { border-radius: 16px 16px 4px 16px; background: var(--rose-100); align-self: flex-end; }
.notes .nt i { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--rose-500); margin-bottom: 2px; letter-spacing: .04em; }
.by { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; background: var(--rose-100); font-weight: 600; font-size: 12.5px; color: var(--rose-600); }

/* tören sayfası */
.cer-hero { text-align: center; padding: 4px 0 6px; }
.cer-hero img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(200, 60, 120, .2)); animation: bob 3.2s ease-in-out infinite; }
.cer-hero .em { font-size: 64px; line-height: 1.2; display: block; animation: bob 3s ease-in-out infinite; }
.cer-hero .fn { font-weight: 700; font-size: 15px; }
.cer-hero .fm { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cer-status { display: flex; gap: 8px; justify-content: center; margin: 10px 0 14px; }
.flower-strip { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: none; }
.flower-strip::-webkit-scrollbar { display: none; }
.flower-strip .flower-opt { flex: none; width: 84px; }

/* toast */
#toasts { position: fixed; z-index: 40; top: calc(var(--safe-t) + 70px); left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; max-width: 90vw; padding: 10px 16px; border-radius: 16px; background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid rgba(255, 255, 255, .9); box-shadow: var(--shadow); font-weight: 600; font-size: 14px; animation: toastIn .5s var(--spring); }
.toast.out { animation: toastOut .3s ease-in forwards; }
@keyframes toastIn { from { transform: translateY(-14px) scale(.96); opacity: 0 } }
@keyframes toastOut { to { transform: translateY(-10px); opacity: 0 } }

.tiny { font-size: 12px; color: var(--muted); font-weight: 500; line-height: 1.45; }
.copybox { display: flex; gap: 8px; }
.copybox .input { font-size: 12px; min-height: 42px; }
.ph { background: var(--rose-100); }
@media (min-width: 700px) { .dock-btn { width: 66px; } }
.badge svg.i { width: 12px; height: 12px; stroke-width: 2.4; }
