/* Katılımcı ekranı: telefon öncelikli tek sütun; masaüstünde ortada 560px kart */
body { min-height: 100dvh; }
.uygulama { min-height: 100dvh; max-width: 600px; margin: 0 auto; display: flex; flex-direction: column;
  padding: max(12px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
.gizli-metin { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.yukleniyor { margin: auto; display: flex; gap: 8px; }
.yukleniyor .nokta { width: 10px; height: 10px; border-radius: 50%; background: var(--lacivert); opacity: .25; animation: zipla 900ms infinite var(--egri); }
.yukleniyor .nokta:nth-child(2) { animation-delay: 150ms; } .yukleniyor .nokta:nth-child(3) { animation-delay: 300ms; }
@keyframes zipla { 0%, 100% { opacity: .2; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-6px); } }
@media (prefers-color-scheme: dark) { .yukleniyor .nokta { background: #EEF1FA; } }

/* ---------- üst çubuk ---------- */
.ust { display: flex; flex-direction: column; gap: 12px; padding-block: 8px 4px; position: sticky; top: 0; z-index: 2; background: var(--zemin); }
.ust-satir { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; }
.asama-adi { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--asama-renk, var(--metin)); }
.asama-adi i { width: 9px; height: 9px; border-radius: 50%; background: var(--asama-renk, var(--metin)); }
.sayac { font-size: 13px; font-weight: 700; color: var(--soluk); }
.kayit { font-size: 12px; font-weight: 600; color: var(--soluk); display: inline-flex; align-items: center; gap: 6px; }
.kayit::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--iyi); }
.kayit.bekliyor::before { background: var(--soluk); }
.kayit.hata { color: var(--uyari); } .kayit.hata::before { background: var(--uyari); }
.ilerleme { display: flex; gap: 5px; }
.ilerleme .dilim { height: 6px; border-radius: 3px; background: var(--yuzey-2); overflow: hidden; position: relative; }
.ilerleme .dilim b { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--renk); transition: width 400ms var(--egri); }

/* ---------- sahne ve geçiş ---------- */
.sahne { flex: 1; display: flex; flex-direction: column; padding-top: 28px; }
.sahne.gir { animation: gir var(--hiz) var(--egri) both; }
.sahne.gir-geri { animation: girGeri var(--hiz) var(--egri) both; }
@keyframes gir { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes girGeri { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.giris-notu { font-size: 14px; font-weight: 600; color: var(--soluk); margin-bottom: 10px; }
.soru { font-size: clamp(21px, 5.4vw, 26px); line-height: 1.28; font-weight: 800; }
.ipucu { margin-top: 8px; font-size: 14px; color: var(--soluk); }
.rozet { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; font-size: 12.5px; font-weight: 800; color: var(--turuncu-koyu);
  background: var(--secili-zemin); border-radius: 999px; padding: 6px 11px; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .rozet { color: #FFB385; } }

.secenekler { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.secenek { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 16px;
  border-radius: 16px; background: var(--yuzey); box-shadow: inset 0 0 0 1.5px var(--cizgi); cursor: pointer;
  font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--metin); transition: box-shadow var(--hiz), background var(--hiz), transform 120ms var(--egri);
  -webkit-tap-highlight-color: transparent; }
.secenek:hover { box-shadow: inset 0 0 0 1.5px var(--soluk); }
.secenek:active { transform: scale(.985); }
.secenek:focus-visible { outline: 3px solid var(--odak); outline-offset: 2px; }
.secenek .isaret { flex: none; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--cizgi); transition: box-shadow var(--hiz); position: relative; }
.secenek .tus { margin-left: auto; flex: none; font-size: 12px; font-weight: 800; color: var(--soluk); border: 1.5px solid var(--cizgi); border-radius: 6px; padding: 1px 6px; }
@media (hover: none) { .secenek .tus { display: none; } }
.secenek[aria-checked="true"] { background: var(--secili-zemin); box-shadow: inset 0 0 0 2px var(--secili-cizgi); font-weight: 750; }
.secenek[aria-checked="true"] .isaret { box-shadow: inset 0 0 0 7px var(--turuncu); }
.secenek.kare .isaret { border-radius: 7px; }
.secenek.kare[aria-checked="true"] .isaret { box-shadow: none; background: var(--turuncu); }
.secenek.kare[aria-checked="true"] .isaret::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #0B2265; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* iki seçimli senaryo kartları */
.kartlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.kart { all: unset; box-sizing: border-box; cursor: pointer; padding: 14px; border-radius: 16px; background: var(--yuzey); box-shadow: inset 0 0 0 1.5px var(--cizgi);
  display: flex; flex-direction: column; gap: 8px; transition: box-shadow var(--hiz), background var(--hiz); }
.kart:focus-visible { outline: 3px solid var(--odak); outline-offset: 2px; }
.kart .harf { display: flex; justify-content: space-between; align-items: center; font-size: 22px; font-weight: 800; }
.kart .harf .isaret { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--cizgi); }
.kart p { font-size: 13.5px; line-height: 1.5; color: var(--metin-2); }
.kart[aria-checked="true"] { background: var(--secili-zemin); box-shadow: inset 0 0 0 2px var(--secili-cizgi); }
.kart[aria-checked="true"] .isaret { background: var(--turuncu); box-shadow: none; }
.secim-sayisi { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--soluk); }

/* zaman dağılımı */
.dagilim-cubugu { display: flex; height: 14px; border-radius: 7px; overflow: hidden; margin-top: 18px; background: var(--yuzey-2); }
.dagilim-cubugu span { transition: flex-grow 300ms var(--egri); }
.zaman-liste { margin-top: 14px; background: var(--yuzey); border-radius: var(--yaricap); padding: 4px 14px; box-shadow: var(--golge); }
.zaman-satir { display: flex; align-items: center; gap: 10px; min-height: 54px; border-bottom: 1px solid var(--cizgi); }
.zaman-satir:last-child { border-bottom: 0; }
.zaman-satir .renk { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.zaman-satir label { flex: 1; font-size: 14.5px; font-weight: 600; }
.adim-dugme { all: unset; width: 40px; height: 40px; border-radius: 12px; background: var(--yuzey-2); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; font-weight: 800; }
.adim-dugme:focus-visible { outline: 3px solid var(--odak); }
.zaman-satir output { width: 40px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.toplam { display: flex; justify-content: space-between; margin-top: 12px; font-weight: 800; font-size: 15px; }
.toplam .tamam { color: var(--iyi); } .toplam .eksik { color: var(--uyari); }

/* ölçek, sayı, metin */
.olcek { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.olcek .secenek { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 12px 4px; font-size: 12px; min-height: 92px; }
.olcek .secenek b { font-size: 20px; }
@media (max-width: 420px) { .olcek { grid-template-columns: 1fr; } .olcek .secenek { flex-direction: row; min-height: 52px; justify-content: flex-start; padding: 12px 16px; font-size: 15px; } .olcek .secenek b { font-size: 16px; width: 20px; } }
.alan { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.alan input, .alan textarea { width: 100%; border: 0; border-radius: 16px; background: var(--yuzey); box-shadow: inset 0 0 0 1.5px var(--cizgi); padding: 16px; font-size: 18px; font-weight: 600; }
.alan textarea { min-height: 150px; resize: vertical; font-size: 16px; font-weight: 500; line-height: 1.55; }
.alan input:focus, .alan textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--secili-cizgi); }
.alan .alt { display: flex; justify-content: space-between; font-size: 13px; color: var(--soluk); }
.bilmiyorum { align-self: flex-start; }
.yuzde-deger { margin-top: 28px; font-size: 56px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.yuzde-deger small { font-size: 24px; color: var(--soluk); }
input[type=range] { width: 100%; accent-color: var(--turuncu); height: 32px; }

/* alt gezinme */
.alt-cubuk { display: flex; gap: 10px; padding-top: 20px; margin-top: auto; position: sticky; bottom: 0; background: linear-gradient(to top, var(--zemin) 70%, transparent); padding-bottom: 4px; }
.alt-cubuk .dugme.ileri { flex: 1; }

/* ---------- karşılama, aşama arası, bitiş ---------- */
.karsilama { flex: 1; display: flex; flex-direction: column; gap: 22px; padding-top: 12px; position: relative; }
.karsilama .logolar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.firma-adi { font-size: 13px; font-weight: 800; color: var(--metin-2); text-align: right; }
.ust-baslik { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--turuncu-koyu); }
@media (prefers-color-scheme: dark) { .ust-baslik { color: #FFB385; } }
.karsilama h1 { font-size: clamp(38px, 11vw, 54px); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
.karsilama .acik { font-size: 16.5px; color: var(--metin-2); max-width: 46ch; }
.bilgiler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bilgi { background: var(--yuzey); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; box-shadow: var(--golge); }
.bilgi b { font-size: 20px; font-weight: 800; } .bilgi span { font-size: 12.5px; color: var(--soluk); }
.guven { background: var(--lacivert); color: #FFFFFF; border-radius: 22px; padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
@media (prefers-color-scheme: dark) { .guven { background: var(--yuzey-2); } }
.guven svg { flex: none; }
.guven b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.guven p { font-size: 14px; line-height: 1.5; color: #D5DBEC; }
.noktali { position: absolute; top: -30px; right: -70px; width: 240px; height: 240px; border-radius: 50%; opacity: .09; pointer-events: none;
  background-image: radial-gradient(var(--metin) 1.3px, transparent 1.4px); background-size: 14px 14px; }

.riza-liste { background: var(--yuzey); border-radius: var(--yaricap); padding: 4px 18px; box-shadow: var(--golge); }
.riza-satir { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--cizgi); }
.riza-satir:last-child { border-bottom: 0; }
.riza-satir .ikon { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--yuzey-2); display: flex; align-items: center; justify-content: center; }
.riza-satir b { display: block; font-size: 14.5px; } .riza-satir span { font-size: 13.5px; color: var(--metin-2); line-height: 1.45; }
.onay { display: flex; gap: 12px; align-items: flex-start; background: var(--yuzey); border-radius: 16px; padding: 14px 16px; font-size: 14.5px; line-height: 1.45; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--cizgi); }
.onay input { width: 22px; height: 22px; accent-color: var(--lacivert); flex: none; margin: 0; }

.ara { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; text-align: left; }
.ara .numara { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #FFFFFF; background: var(--asama-renk); }
.ara h2 { font-size: 30px; font-weight: 800; line-height: 1.12; }
.ara p { font-size: 16px; color: var(--metin-2); }
.ara .kalan { font-size: 14px; font-weight: 700; color: var(--soluk); }

.bitis { flex: 1; display: flex; flex-direction: column; gap: 20px; justify-content: center; position: relative; }
.bitis .onay-ikon { width: 76px; height: 76px; border-radius: 24px; background: var(--turuncu); display: flex; align-items: center; justify-content: center; animation: patla 500ms var(--egri) both; }
@keyframes patla { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.bitis h1 { font-size: clamp(32px, 9vw, 42px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.bitis p { font-size: 16.5px; color: var(--metin-2); }
.adimlar-listesi { background: var(--yuzey); border-radius: var(--yaricap); padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--golge); }
.adimlar-listesi div { display: flex; gap: 12px; font-size: 14.5px; } .adimlar-listesi b { color: var(--turuncu-koyu); }

.mesaj { margin: auto 0; display: flex; flex-direction: column; gap: 14px; }
.mesaj h1 { font-size: 28px; font-weight: 800; }
.mesaj p { color: var(--metin-2); }
.uyari-kutu { background: var(--uyari-zemin); color: var(--uyari); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-weight: 600; }
