/* DAMGAHANE — aile sonuç sayfası (telefon öncelikli). Kimlik: koyu zemin, altın, Cinzel / Cormorant Garamond.
   Telefonda gövde yazısı ≥ 17 px, başlıklar ≥ 28 px; hiçbir yazı 14 px'in altında değil. Tablo kullanılmaz. */
.sonuc5 { max-width: 760px; margin: 0 auto; padding: 0 16px 120px; font-size: 18px; }
.sonuc5 .bolum { padding: 56px 0 40px; border-bottom: 1px solid var(--line); text-align: center; }
.sonuc5 .bolum:last-of-type { border-bottom: 0; }
.sonuc5 .eyebrow { font: 400 14px var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.sonuc5 h1 { font: 400 clamp(34px, 9vw, 64px)/1.12 var(--display); letter-spacing: .1em; text-transform: uppercase; margin: 0; color: #f1ebde; }
.sonuc5 h2 { font: 400 clamp(28px, 6.4vw, 40px)/1.2 var(--display); letter-spacing: .06em; margin: 8px 0 14px; color: #f1ebde; }
.sonuc5 h3 { font: 400 20px var(--display); letter-spacing: .08em; color: var(--brass); margin: 28px 0 10px; }
.sonuc5 p { font-size: 18px; line-height: 1.55; }
.sonuc5 .s-kucuk { font-size: 16px; color: var(--muted); }

/* Bölümler kaydırdıkça yumuşakça açılır (hareket azaltılmışsa yok) */
/* Kısa (≤ 300 ms) ve küçük kayma: telefonda hızlı kaydırınca boş ekran görünmesin; hareket azaltılmışsa hiç yok */
@media (prefers-reduced-motion: no-preference) {
  .sonuc5 .bolum { opacity: 0; transform: translateY(12px); transition: opacity .3s ease-out, transform .3s ease-out; }
  .sonuc5 .bolum.gorundu { opacity: 1; transform: none; }
}

/* 1) Açılış */
.s-acilis { min-height: calc(100svh - 90px); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding-top: 32px !important; }
.s-ciz { width: min(62vw, 300px); aspect-ratio: 1; color: #d3b679; margin: 18px auto 6px; }
.s-ciz svg, .s-buyuk svg { width: 100%; height: 100%; overflow: visible; }
/* Köşeler: tek parça yol (sunucuda birleştirilir) + miter; çok dar açıda sivri uç dışarı taşmasın diye kesik (miterlimit 2).
   Uçlar düz (butt): yüzükteki kazımayla aynı, uç uca gelen çizgiler birbirini aşmaz. */
.s-ciz .yol, .s-buyuk .yol { fill: none; stroke: currentColor; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 2; }
.s-ciz .dolu, .s-ciz .harf { fill: currentColor; fill-opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .s-ciz .yol, .s-ciz .harf { stroke-dasharray: 1; stroke-dashoffset: 1; animation: s-ciz 1.5s ease-in-out .2s forwards; }
  .s-ciz .harf { stroke: currentColor; stroke-width: 6; }
  .s-ciz .dolu, .s-ciz .harf { animation: s-ciz 1.5s ease-in-out .2s forwards, s-dol .6s ease 1.5s forwards; }
}
@media (prefers-reduced-motion: reduce) { .s-ciz .dolu, .s-ciz .harf { fill-opacity: 1; } }
@keyframes s-ciz { to { stroke-dashoffset: 0; } }
@keyframes s-dol { to { fill-opacity: 1; } }
.s-hazir { font: italic 400 24px/1.4 var(--serif, "Cormorant Garamond"), serif; color: var(--brass); margin: 0; }
.s-asagi { margin-top: 28px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--brass); border: 1px solid var(--line-2); border-radius: 50%; }
.s-asagi svg { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) { .s-asagi { animation: s-zipla 2.4s ease-in-out infinite; } }
@keyframes s-zipla { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* 2) Anlam */
.s-buyuk .dolu, .s-buyuk .harf { fill: currentColor; }
.s-buyuk { width: 60vw; max-width: 380px; aspect-ratio: 1; margin: 6px auto 18px; color: #d3b679; }
.s-boy { font: 400 17px var(--display); letter-spacing: .12em; color: var(--brass); margin: 0 0 12px; }
.s-metin { max-width: 32em; margin: 0 auto 10px; color: #e9e3d6; }
.s-kaynak { font-style: italic; color: var(--muted); font-size: 16px !important; }
.s-neden { margin: 26px auto 0; max-width: 34em; text-align: left; border-top: 1px solid var(--line); }
.s-neden summary { cursor: pointer; padding: 16px 0; font: 400 17px var(--display); letter-spacing: .1em; color: var(--brass); }
.s-neden .why-item h3 { font-size: 16px; margin: 18px 0 6px; }
.s-neden .why-item p { font-size: 17px; margin: 0 0 8px; color: #d8d1c3; }

/* 3) Harf kartları: sağdan sola, telefonda yatay kaydırma */
.harf-kartlari { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px; margin: 8px -16px 0; padding-inline: 16px; justify-content: safe center; }
.harf-kart { flex: 0 0 auto; scroll-snap-align: center; min-width: 92px; padding: 16px 12px 12px; border: 1px solid var(--line-2); border-radius: 6px; background: #ffffff05; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.harf-kart .g { font: 60px/1.1 "Orhun"; color: #e3c88a; }
.harf-kart .l { font: 400 20px var(--display); letter-spacing: .08em; color: #f1ebde; direction: ltr; }
.harf-kart .y { font-size: 14px; color: var(--muted); font-style: italic; }
.s-not { color: var(--muted); font-style: italic; font-size: 16px !important; margin: 6px 0 18px; }
.s-tam-ad { display: block; font: clamp(40px, 12vw, 76px)/1.2 "Orhun"; color: #d3b679; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: clip; text-shadow: 0 2px 30px #b8975a33; }
.s-okunus { font: 400 18px var(--display); letter-spacing: .16em; color: #f1ebde; margin: 8px 0 0; }

/* 4) Yüzükte */
.s-yuzuk-gorsel { width: min(92vw, 520px); height: auto; display: block; margin: 0 auto; }
.s-ozellik { font: 400 17px var(--display); letter-spacing: .1em; color: #f1ebde; margin: 4px 0 18px; }
.s-olcek { margin: 0 auto 8px; max-width: 360px; color: var(--muted); }
.s-olcek svg { width: 100%; height: auto; }
.s-olcek figcaption { font-size: 16px; font-style: italic; text-align: center; }
.s-duzen .duzen-izgara { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.s-duzen .duzen { padding: 10px 8px 12px; }
.s-duzen .duzen b { font-size: 15px; }
.s-duzen .duzen small { display: none; }
.s-olcu { margin: 30px auto 0; max-width: 520px; text-align: left; padding: 18px; border: 1px solid var(--line-2); border-radius: 6px; background: #ffffff04; }
.s-olcu.eksik { border-color: var(--danger, #e08a7f); }
.olcu5-etiket { display: block; font: 400 18px var(--display); letter-spacing: .06em; color: #f1ebde; margin-bottom: 10px; }
.olcu5-etiket em { color: var(--brass); font-style: normal; }
.olcu5-sec { width: 100%; min-height: 56px; font-size: 18px; padding: 10px 12px; background: #121214; color: #f1ebde; border: 1px solid var(--line-2); border-radius: 4px; }
.olcu5-not { margin: 10px 0 0; color: #e3cf9f; font-style: italic; font-size: 17px !important; }
.olcu5-rehber { margin-top: 14px; }
.olcu5-rehber summary { cursor: pointer; padding: 12px 0; color: var(--brass); font-size: 18px; text-decoration: underline; text-underline-offset: 4px; }
.olcu5-yontem { padding: 14px 0; border-top: 1px solid var(--line); }
.olcu5-yontem h4 { margin: 0 0 6px; font: 400 17px var(--display); letter-spacing: .06em; color: #f1ebde; }
.olcu5-yontem svg { width: 200px; max-width: 100%; color: var(--muted); display: block; margin: 6px 0; }
.olcu5-yontem p { font-size: 17px !important; color: #d8d1c3; margin: 6px 0; }
.olcu5-gir { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 17px; color: #e9e3d6; }
.olcu5-gir span { display: inline-flex; align-items: center; gap: 8px; }
.olcu5-gir input { width: 110px; min-height: 48px; font-size: 18px; padding: 8px 10px; background: #121214; color: #f1ebde; border: 1px solid var(--line-2); border-radius: 4px; }
.olcu5-sonuc { min-height: 1.4em; color: var(--brass); }
.olcu5-sonuc b { font-size: 22px; color: #f1ebde; }

/* 5) Mühür seti */
.s-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-ikili figure { margin: 0; }
.s-ikili img { width: 100%; height: auto; display: block; }
.s-ikili figcaption { font-size: 16px; color: #e9e3d6; margin-top: 6px; }
.s-ikili figcaption small { color: var(--muted); font-style: italic; font-size: 15px; }
@media (max-width: 520px) { .s-ikili { grid-template-columns: 1fr; } .s-ikili img { width: 82%; margin: 0 auto; } }

/* Tablo */
.s-tablo .wall { max-width: 520px; margin: 0 auto; }
/* Tablo önizlemesi: sayfanın .sonuc5 h2/h3/p kuralları kâğıda karışmasın — baskıdaki renk ve oranlar (style.css) geri gelir.
   Bütün ölçüler kâğıt genişliğine (cqi) bağlı; --pk içerik sığmazsa app.js'in küçülttüğü ortak katsayı. 30×40 oranı. */
.s-tablo .frame, .tablo-buyuk .frame { aspect-ratio: 3 / 4; }
.sonuc5 .poster, .tablo-buyuk .poster { --pk: 1; color: #24211d; }
:is(.sonuc5, .tablo-buyuk) .poster :is(h2, h3, p) { line-height: 1.25; text-transform: none; }
:is(.sonuc5, .tablo-buyuk) .poster .p-eyebrow { font: 700 calc(2.1cqi * var(--pk)) var(--display); letter-spacing: .4em; color: #7b6e57; margin: 0; text-transform: uppercase; }
:is(.sonuc5, .tablo-buyuk) .poster .p-title { font: 700 calc(6cqi * var(--pk))/1.15 var(--display); letter-spacing: .12em; margin: .5cqi 0 0; color: #24211d; }
:is(.sonuc5, .tablo-buyuk) .poster .p-orhun { font-size: calc(4.2cqi * var(--pk)); line-height: 1.3; margin: .6cqi 0 1cqi; color: #3b352c; }
:is(.sonuc5, .tablo-buyuk) .poster .p-medal { width: calc(54% * var(--pk)); }
:is(.sonuc5, .tablo-buyuk) .poster .p-h { font: 700 calc(2.4cqi * var(--pk)) var(--display); letter-spacing: .3em; text-transform: uppercase; color: #6e5a32; margin: 0 0 1.4cqi; }
:is(.sonuc5, .tablo-buyuk) .poster .p-grup { font: 400 calc(1.9cqi * var(--pk)) var(--display); letter-spacing: .18em; text-transform: uppercase; color: #7d6a45; margin: 0 0 1cqi; }
:is(.sonuc5, .tablo-buyuk) .poster .p-means b { font: 700 calc(2.4cqi * var(--pk)) var(--display); color: #24211d; }
:is(.sonuc5, .tablo-buyuk) .poster .p-t { font-size: calc(2.3cqi * var(--pk)); line-height: 1.35; color: #3b372f; }
:is(.sonuc5, .tablo-buyuk) .poster .p-story { font: italic calc(2.35cqi * var(--pk))/1.45 var(--serif); color: #2f2b25; margin: 0; }
:is(.sonuc5, .tablo-buyuk) .poster .p-foot { font: 700 calc(1.7cqi * var(--pk)) var(--display); letter-spacing: .24em; color: #7b6e57; margin: auto 0 0; padding-top: 1.6cqi; }
.s-tablo .tablo-buyut { display: inline-block; margin-top: 14px; background: none; border: 0; color: var(--brass); font: 400 17px var(--serif, "Cormorant Garamond"), serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
/* Tam ekran tablo */
.tablo-buyuk { position: fixed; inset: 0; z-index: 900; background: #0b0b0cf2; display: grid; place-items: center; padding: 56px 12px 16px; overflow: auto; }
.tablo-buyuk .frame { width: min(94vw, calc((100svh - 80px) * .75)); max-width: none; }
.tablo-buyuk .kapat { position: fixed; top: 10px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #ffffff33; background: #121214; color: #f1ebde; font-size: 24px; line-height: 1; cursor: pointer; }
.s-tablo .tablo-notu { text-align: left; max-width: 34em; margin: 20px auto 0; }
.s-tablo .tablo-notu h3 { font-size: 16px; }
.s-tablo .tablo-notu li { font-size: 17px; line-height: 1.5; }

/* 6) Sipariş */
.urun-secim { display: grid; gap: 12px; margin: 18px 0; text-align: left; }
.urun-kart { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center; padding: 18px; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; background: #ffffff04; }
.urun-kart input { width: 22px; height: 22px; accent-color: #c6a669; grid-row: 1 / span 2; }
.urun-kart b { font: 400 19px var(--display); letter-spacing: .06em; color: #f1ebde; }
.urun-kart .fiyat { font: 400 20px var(--display); color: #f1ebde; white-space: nowrap; }
.urun-kart .icerik { grid-column: 2 / -1; color: var(--muted); font-size: 16px; line-height: 1.45; }
.urun-ek { display: flex; gap: 12px; align-items: flex-start; margin: -4px 0 18px; padding: 14px 18px; border: 1px dashed var(--line-2); border-radius: 6px; text-align: left; cursor: pointer; }
.urun-ek input { width: 22px; height: 22px; margin: 3px 0 0; flex: none; accent-color: #c6a669; }
.urun-ek b { display: block; font: 400 17px var(--display); letter-spacing: .04em; color: #f1ebde; }
.urun-ek small { display: block; color: var(--muted); font-size: 16px; line-height: 1.45; margin-top: 2px; }
.urun-ek:has(input:checked) { border-style: solid; border-color: var(--brass); background: #b8975a12; }
.urun-ek[hidden], .urun-ek-dahil[hidden] { display: none; }
.urun-ek-dahil { margin: -6px 0 16px; text-align: left; }
.urun-kart:has(input:checked) { border-color: var(--brass); background: #b8975a12; box-shadow: inset 0 0 0 1px var(--brass); }
.s-guvence { list-style: none; padding: 0; margin: 4px 0 16px; text-align: left; }
.s-guvence li { position: relative; padding: 8px 0 8px 28px; font-size: 17px; color: #e9e3d6; }
.s-guvence li::before { content: "◆"; position: absolute; left: 4px; color: var(--brass); font-size: 12px; top: 13px; }
.s-guvence li:empty { display: none; }
.s-siparis .btn.tam { width: 100%; justify-content: center; min-height: 56px; font-size: 16px; }
.s-hata { color: var(--danger, #e08a7f); font-size: 17px !important; }
.s-paylas { margin-top: 34px; }
.s-paylas-dugmeler { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.s-paylas-dugmeler .btn { min-height: 48px; }
.s-siparis .downloads { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.s-siparis .again { margin-top: 26px; }
/* Telefonuna indir (duvar kâğıdı / Instagram) */
.s-duvar { margin: 34px auto 0; max-width: 520px; padding-top: 26px; border-top: 1px solid var(--line); }
.s-duvar h3 { margin-top: 0; }
.duvar-sec { border: 0; margin: 0 0 14px; padding: 0; text-align: left; min-width: 0; }
.duvar-secenek { display: grid; gap: 8px; }
.duvar-sec legend { font: 400 13px var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; padding: 0; }
.duvar-sec label { display: flex; gap: 10px; align-items: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer; font-size: 17px; }
.duvar-sec label:has(input:checked) { border-color: var(--brass); background: #d3b6790d; }
.duvar-sec input { accent-color: #d3b679; width: 18px; height: 18px; flex: none; }
.duvar-sec small { color: var(--muted); font-size: 14px; white-space: nowrap; }
.duvar-tema .duvar-secenek { grid-template-columns: 1fr 1fr; }
.tema-ornek { display: inline-block; width: 18px; height: 18px; border-radius: 50%; margin-right: 8px; vertical-align: -3px; border: 1px solid #d3b679; }
.tema-ornek.gece { background: #121212; } .tema-ornek.krem { background: #f3ecdd; border-color: #3a2a1c; }
.duvar-onizleme { display: grid; place-items: center; margin: 6px 0 14px; min-height: 120px; }
.duvar-cv { width: auto; height: auto; max-width: 46%; max-height: 360px; border-radius: 10px; box-shadow: 0 10px 30px #000a, 0 0 0 1px #ffffff1a; }
.s-duvar .btn { width: min(360px, 100%); min-height: 50px; justify-content: center; }
.s-duvar .duvar-not { margin: 12px auto 0; max-width: 30em; }

/* Ekranın altında sabit sipariş düğmesi */
/* Üstte WhatsApp balonu için ayrılmış satır (balon hiçbir içeriğin üstüne binmez), altta tek satırlık düğme */
.sabit-siparis { position: fixed; left: 0; right: 0; bottom: 0; z-index: 700; padding: 14px 16px calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, #12121400 0, #121214 12px); display: flex; justify-content: center; pointer-events: none; }
.sabit-siparis .btn { pointer-events: auto; box-sizing: border-box; width: min(560px, 100%); min-height: 54px; padding: 0 14px; justify-content: center; white-space: nowrap; overflow: hidden; font-size: 16px; letter-spacing: .12em; box-shadow: 0 10px 30px #000a; }
.sabit-siparis[hidden] { display: none; }
/* Sabit sipariş çubuğu görünürken WhatsApp balonu gizli (çubukla ve içerikle çakışmasın; iletişim footer'da) */
body.sabit-var .wa-dugme { display: none; }
/* İçeriğin sonu sabit çubuğun altında kalmasın: çubuk (≈ 78 px) + pay. ortak.js'in body.wa-var kuralını ezmek için çift sınıf */
body.sabit-var.sabit-var { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
body.sabit-var .sonuc5 { padding-bottom: 32px; }
@media (min-width: 900px) { .sonuc5 { font-size: 19px; } }

.sonuc5 .btn.small, .sonuc5 .olcu5-sonuc .btn { font-size: 15px; min-height: 44px; }
.sonuc5 { overflow-x: clip; }

.s-v6 { margin: 18px 0 8px; }
.s-v6 figure img { width: 100%; height: auto; }
.s-v6 figcaption { font-size: 16px; }

/* Damga Haritası kutusu */
.s-harita .harita-rozet { display: inline-block; margin: 0 0 14px; padding: 8px 16px; border: 1px solid var(--brass); border-radius: 999px; color: #e7cf98; font: italic 500 19px var(--serif, "Cormorant Garamond"), serif; }
.s-harita .harita-rozet span { color: var(--brass); }
.s-harita .harita-kaldir-satir { margin-top: 22px; }
.s-harita .baglanti { background: none; border: 0; padding: 8px 4px; min-height: 44px; color: var(--muted); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
