/* ===== Davetiye görüntüleyici: tüm temalar bu dosyada ===== */
.inv {
  position: relative; height: 100%; width: 100%; overflow: hidden; isolation: isolate;
  container-type: size; container-name: inv;
  background: var(--bg); color: var(--ink); font-family: var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.inv *, .inv *::before, .inv *::after { box-sizing: border-box; }
.inv button, .inv input, .inv textarea { font: inherit; color: inherit; }

/* --- dokular: renk temadan gelir, desen maskeden --- */
.inv::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pat-paper::before { background: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--paper) 90%, transparent), transparent 70%), radial-gradient(80% 60% at 100% 100%, color-mix(in srgb, var(--accent2) 14%, transparent), transparent 70%); }
.pat-linen::before { background: repeating-linear-gradient(0deg, color-mix(in srgb, var(--ink) 3%, transparent) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, color-mix(in srgb, var(--ink) 3%, transparent) 0 1px, transparent 1px 4px); }
.pat-night::before { background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--accent2) 26%, transparent), transparent 70%), radial-gradient(60% 50% at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.pat-velvet::before { background: radial-gradient(70% 50% at 50% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 28px, rgba(255,255,255,.025) 28px 56px); }
.pat-tiles::before, .pat-deco::before, .pat-dots::before, .pat-grid::before, .pat-clouds::before {
  background-color: var(--accent); opacity: .07;
  -webkit-mask-size: 64px; mask-size: 64px;
}
.pat-tiles::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4l7 21 21 7-21 7-7 21-7-21-21-7 21-7z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='64' cy='0' r='6'/%3E%3Ccircle cx='0' cy='64' r='6'/%3E%3Ccircle cx='64' cy='64' r='6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 4l7 21 21 7-21 7-7 21-7-21-21-7 21-7z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='64' cy='0' r='6'/%3E%3Ccircle cx='0' cy='64' r='6'/%3E%3Ccircle cx='64' cy='64' r='6'/%3E%3C/svg%3E"); }
.pat-deco::before { opacity: .1; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M0 64a32 32 0 0 1 64 0M8 64a24 24 0 0 1 48 0M16 64a16 16 0 0 1 32 0M24 64a8 8 0 0 1 16 0M-32 32a32 32 0 0 1 64 0M32 32a32 32 0 0 1 64 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M0 64a32 32 0 0 1 64 0M8 64a24 24 0 0 1 48 0M16 64a16 16 0 0 1 32 0M24 64a8 8 0 0 1 16 0M-32 32a32 32 0 0 1 64 0M32 32a32 32 0 0 1 64 0'/%3E%3C/svg%3E"); }
.pat-dots::before { opacity: .12; -webkit-mask-size: 28px; mask-size: 28px; -webkit-mask-image: radial-gradient(circle, #000 2px, transparent 2.5px); mask-image: radial-gradient(circle, #000 2px, transparent 2.5px); }
.pat-grid::before { opacity: .06; -webkit-mask-size: 32px; mask-size: 32px; -webkit-mask-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px); mask-image: linear-gradient(#000 1px, transparent 1px), linear-gradient(90deg, #000 1px, transparent 1px); }
.pat-clouds::before { opacity: .1; -webkit-mask-size: 120px; mask-size: 120px; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M20 50a10 10 0 0 1 2-20 14 14 0 0 1 26-3 10 10 0 0 1 16 9 8 8 0 0 1-2 14z M70 100a8 8 0 0 1 1-16 11 11 0 0 1 20-3 8 8 0 0 1 13 7 6 6 0 0 1-2 12z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cpath d='M20 50a10 10 0 0 1 2-20 14 14 0 0 1 26-3 10 10 0 0 1 16 9 8 8 0 0 1-2 14z M70 100a8 8 0 0 1 1-16 11 11 0 0 1 20-3 8 8 0 0 1 13 7 6 6 0 0 1-2 12z'/%3E%3C/svg%3E"); }

/* --- iskelet --- */
.inv-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; z-index: 1; scroll-behavior: smooth; scrollbar-width: none; }
.inv-scroll::-webkit-scrollbar { display: none; }
.inv-paper { max-width: 540px; margin: 0 auto; position: relative; }
.inv-foot { text-align: center; padding: 28px 0 40px; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); opacity: .7; }

/* --- süsler --- */
.orn { color: var(--accent); width: min(62%, 230px); margin: 0 auto; }
.orn svg { width: 100%; height: auto; display: block; }
.orn.small { width: 130px; opacity: .8; margin-bottom: 18px; }
.monogram {
  width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--accent); outline: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 5px;
  font-family: var(--f-script); font-size: 36px; color: var(--accent); line-height: 1;
}
.monogram i { font-style: normal; font-size: .55em; margin: 0 .08em; opacity: .8; }
.monogram.small { width: 64px; height: 64px; font-size: 26px; }

/* --- kapak --- */
.hero {
  min-height: 100cqh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 64px 28px 72px; gap: 18px; position: relative;
}
.hero > * { transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.inv:not(.opened) .hero > * { opacity: 0; transform: translateY(26px); }
.inv.opened .hero > *:nth-child(1) { transition-delay: .15s } .inv.opened .hero > *:nth-child(2) { transition-delay: .35s }
.inv.opened .hero > *:nth-child(3) { transition-delay: .55s } .inv.opened .hero > *:nth-child(4) { transition-delay: .75s }
.inv.opened .hero > *:nth-child(5) { transition-delay: .95s } .inv.opened .hero > *:nth-child(6) { transition-delay: 1.15s }
.eyebrow { margin: 0; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .34em; font-size: 12px; color: var(--accent); }
.names { margin: 0; font-family: var(--f-script); font-weight: 400; line-height: .95; font-size: clamp(46px, 16cqi, 84px); color: var(--ink); display: flex; flex-direction: column; align-items: center; }
.names em { font-style: normal; font-size: .55em; color: var(--accent); margin: .1em 0; }
.names.single { font-size: clamp(50px, 18cqi, 92px); }
.hero-photo { width: min(64%, 260px); aspect-ratio: 3 / 4; border-radius: 999px 999px 14px 14px; overflow: hidden; outline: 1px solid var(--accent); outline-offset: 7px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-date { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 6px; }
.hd-dow, .hd-time { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hd-main { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-size: clamp(28px, 9cqi, 40px); padding: 10px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hd-main b { font-weight: 400; }
.hd-main i { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
.families { margin: 0; font-style: italic; color: var(--muted); font-size: 17px; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; width: 1px; height: 40px; background: var(--line); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { to { top: 100%; } }

/* Çerçeveli temalar */
.theme-gala .hero::after, .theme-kina .hero::after, .theme-zumrut .hero::after, .theme-payitaht .hero::after {
  content: ''; position: absolute; inset: 18px; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); outline: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); outline-offset: -8px;
}
.theme-gala .hero::after { border-radius: 0; clip-path: polygon(0 24px, 24px 0, calc(100% - 24px) 0, 100% 24px, 100% calc(100% - 24px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 24px)); }
.theme-kina .hero::after, .theme-zumrut .hero::after, .theme-payitaht .hero::after { border-radius: 999px 999px 18px 18px; }
.theme-minimal .names, .theme-meridyen .names { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; font-size: clamp(38px, 12cqi, 64px); }
.theme-meridyen .names { font-weight: 800; letter-spacing: -.02em; text-transform: none; }
.theme-pamuk .names, .theme-konfeti .names, .theme-sir .names { font-family: var(--f-display); font-weight: 600; font-size: clamp(44px, 14cqi, 74px); }
.theme-konfeti .names span { background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --- bölümler --- */
.sec { padding: 56px 26px; text-align: center; position: relative; }
.sec + .sec::before { content: ''; position: absolute; top: 0; left: 50%; width: 1px; height: 26px; background: var(--line); transform: translateX(-50%); }
.sec-title { margin: 0 0 8px; font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .32em; font-size: 13px; color: var(--accent); display: flex; align-items: center; justify-content: center; gap: 14px; }
.sec-title::before, .sec-title::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.sec-sub { margin: 0 0 26px; color: var(--muted); font-size: 16px; font-style: italic; }
.message p { margin: 0 auto; max-width: 400px; font-size: 20px; line-height: 1.65; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.rv.in { opacity: 1; transform: none; }

.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.cd-cell { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px 4px 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 12px 30px -24px rgba(0,0,0,.5); }
.cd-cell b { font-family: var(--f-display); font-weight: 400; font-size: clamp(24px, 8cqi, 36px); font-variant-numeric: tabular-nums; }
.cd-cell span { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cd-done { grid-column: 1 / -1; font-family: var(--f-script); font-size: 34px; color: var(--accent); margin: 0; }

.ev-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; text-align: left; }
.ev { display: grid; grid-template-columns: 66px 1fr; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 18px 18px 14px; }
.ev-time { font-family: var(--f-display); font-size: 22px; color: var(--accent); text-align: center; padding-top: 2px; border-right: 1px solid var(--line); padding-right: 10px; }
.ev h3 { margin: 0 0 4px; font-family: var(--f-display); font-weight: 500; font-size: 20px; }
.ev p { margin: 0 0 2px; color: var(--muted); font-size: 15px; }
.ev .ev-venue { color: var(--ink); font-weight: 600; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent); background: transparent; color: var(--accent); font-size: 13px !important; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; font-family: var(--f-body); }
.chip:hover { background: var(--accent); color: var(--paper); }
.chip.ghost { border-style: dashed; }
.map { margin-top: 16px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); height: 220px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.dark .map iframe { filter: grayscale(.5) contrast(.95) brightness(.9); }
.map-ph { display: grid; place-content: center; gap: 4px; background: repeating-linear-gradient(45deg, var(--paper) 0 12px, color-mix(in srgb, var(--line) 50%, var(--paper)) 12px 24px); color: var(--muted); }
.map-ph span { font-size: 30px; color: var(--accent); } .map-ph p { margin: 0; color: var(--ink); font-weight: 600; } .map-ph small { font-size: 12px; }

.details { display: grid; gap: 12px; }
.detail { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.detail h4 { margin: 4px 0 6px; font-family: var(--f-display); font-weight: 400; letter-spacing: .24em; text-transform: uppercase; font-size: 12px; color: var(--accent); }
.detail p { margin: 0 0 8px; font-size: 17px; }
.d-ico { color: var(--accent); font-size: 20px; }
.iban { font-family: ui-monospace, monospace; font-size: 14px !important; letter-spacing: .04em; word-break: break-all; }

/* RSVP */
.rsvp-form { display: flex; flex-direction: column; gap: 16px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px 20px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.fld input, .fld textarea, .wish-form input, .wish-form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 2px; font-size: 18px; outline: none; resize: vertical; border-radius: 0;
}
.fld input:focus, .fld textarea:focus, .wish-form input:focus, .wish-form textarea:focus { border-color: var(--accent); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; text-align: center; padding: 13px 8px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; font-size: 16px; transition: all .2s; }
.choice input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--paper); box-shadow: 0 10px 24px -14px var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 20px; cursor: pointer; }
.stepper input { width: 60px; text-align: center; border: 0 !important; font-size: 22px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.btn-main { border: 0; border-radius: 99px; padding: 15px 22px; background: var(--accent); color: var(--paper); font-size: 16px; letter-spacing: .08em; cursor: pointer; transition: transform .15s, box-shadow .2s; box-shadow: 0 14px 30px -18px var(--accent); }
.btn-main:hover { transform: translateY(-1px); } .btn-main:disabled { opacity: .6; }
.rsvp-done { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px 20px; }
.rsvp-done p { font-size: 18px; } .rsvp-closed { color: var(--muted); }
.tick { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--accent); color: var(--paper); display: grid; place-items: center; font-size: 26px; animation: pop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { from { transform: scale(0); } }

/* Anı duvarı */
.wish-form { display: flex; flex-direction: column; gap: 10px; text-align: left; margin-bottom: 24px; }
.wish-wall { columns: 2; column-gap: 12px; text-align: left; }
.wish { break-inside: avoid; margin: 0 0 12px; padding: 16px 14px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; transform: rotate(var(--tilt)); box-shadow: 0 10px 20px -16px rgba(0,0,0,.5); position: relative; }
.wish::before { content: ''; position: absolute; top: -7px; left: 50%; width: 46px; height: 14px; transform: translateX(-50%) rotate(-3deg); background: color-mix(in srgb, var(--accent2) 45%, transparent); }
.wish blockquote { margin: 0 0 8px; font-size: 16px; line-height: 1.45; }
.wish figcaption { font-family: var(--f-script); color: var(--accent); font-size: 20px; }

.share-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* Müzik düğmesi */
.music-btn { position: absolute; top: 14px; right: 14px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 80%, transparent); backdrop-filter: blur(8px); cursor: pointer; display: grid; place-items: center; }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.eq i { width: 3px; height: 4px; background: var(--accent); border-radius: 2px; }
.music-btn.on .eq i { animation: eq .9s ease-in-out infinite; } .music-btn.on .eq i:nth-child(2) { animation-delay: .2s } .music-btn.on .eq i:nth-child(3) { animation-delay: .4s }
@keyframes eq { 50% { height: 14px; } }
.inv-toast { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 9; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 99px; font-size: 14px; white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis; animation: toast 2.6s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 10px); } 10%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* ===== Parçacıklar ===== */
.inv-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.inv-particles span { position: absolute; left: var(--x); top: -6%; animation: fall var(--d) linear var(--delay) infinite; }
@keyframes fall { 0% { transform: translate(0, 0) rotate(0); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { transform: translate(70px, 112cqh) rotate(var(--r)); opacity: 0; } }
.p-petals span { width: calc(14px * var(--s)); height: calc(10px * var(--s)); border-radius: 80% 0 80% 0; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 60%, #fff), var(--accent)); opacity: .6; }
.p-leaves span { width: calc(16px * var(--s)); height: calc(6px * var(--s)); border-radius: 50%; background: var(--accent); opacity: .45; }
.p-hearts span::before { content: '♥'; color: var(--accent); font-size: calc(16px * var(--s)); opacity: .5; }
.p-confetti span { width: calc(7px * var(--s)); height: calc(12px * var(--s)); background: hsl(calc(var(--h) * 60deg + 340deg) 85% 62%); }
.p-stars span, .p-gold span { top: var(--y); width: calc(3px * var(--s)); height: calc(3px * var(--s)); border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: twinkle calc(var(--d) / 3) ease-in-out var(--delay) infinite; }
.p-gold span { animation: drift var(--d) ease-in-out var(--delay) infinite; opacity: .7; }
@keyframes twinkle { 50% { opacity: .15; transform: scale(.5); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); opacity: .1; } 50% { transform: translate(14px, -40px); opacity: .9; } }
.p-bubbles span { top: auto; bottom: -10%; width: calc(28px * var(--s)); height: calc(28px * var(--s)); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), color-mix(in srgb, var(--accent) 12%, transparent)); animation-name: rise; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .8; } 100% { transform: translate(-30px, -115cqh); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .inv-particles { display: none; } .rv { opacity: 1; transform: none; } }

.burst { position: absolute; left: 50%; top: 42%; z-index: 10; pointer-events: none; }
.burst i { position: absolute; width: 8px; height: 13px; background: hsl(calc(var(--h) * 60deg + 340deg) 85% 60%); animation: burst 1.9s cubic-bezier(.15,.6,.3,1) forwards; opacity: 0; }
@keyframes burst { 0% { transform: translate(0,0) rotate(0); opacity: 1; } 45% { transform: translate(calc(var(--tx) * .85), var(--ty)) rotate(calc(var(--rot) / 2)); opacity: 1; } 100% { transform: translate(var(--tx), calc(var(--ty) + 420px)) rotate(var(--rot)); opacity: 0; } }

/* ===== Açılış efektleri ===== */
.intro { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: var(--bg); cursor: pointer; transition: opacity .9s ease, visibility .9s; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.intro.gone { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-to { margin: 0; font-family: var(--f-display); letter-spacing: .3em; text-transform: uppercase; font-size: 12px; color: var(--accent); text-align: center; }
.intro-hint { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: .1em; animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .35; } }
.intro.opening .intro-hint, .intro.opening .intro-to { opacity: 0; transition: opacity .4s; }

/* Kazı-kazan */
.intro-scratch { cursor: default; background: radial-gradient(90% 70% at 50% 40%, var(--paper), var(--bg)); }
.scratch-wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 20px; }
.scratch-card { position: relative; width: min(74cqi, 290px); aspect-ratio: 1.7; border-radius: 22px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(0,0,0,.4); display: grid; place-items: center; touch-action: none; }
.scratch-secret { font-family: var(--f-display); font-weight: 700; font-size: clamp(34px, 12cqi, 56px); background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: center; padding: 0 12px; }
.scratch-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; transition: opacity .6s; }
.scratch-card canvas.cleared { opacity: 0; pointer-events: none; }
.btn-open { border: 0; border-radius: 99px; padding: 13px 26px; background: var(--accent); color: #fff; font: inherit; cursor: pointer; animation: pop .5s cubic-bezier(.3,1.6,.5,1); }
.inv [hidden] { display: none !important; }
.intro-to { max-width: 82%; line-height: 1.9; }
.pat-marble::before { opacity: .9; background-size: 700px 700px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0035 .011' numOctaves='5' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .52 0 0 0 0 .47 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 0 .05 .45 .05 0 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E"); }
.memories-sec { text-align: center; }
.mem-link { display: inline-block; text-decoration: none; margin-top: 4px; }
