/* idose Adora — ekran prototipi (800x480). Harici kaynak yok. */
@font-face { font-family: "InterY"; src: url("../fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "InterY"; src: url("../fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; }
@font-face { font-family: "InterY"; src: url("../fonts/Inter-Bold.ttf") format("truetype"); font-weight: 700 800; }

/* ---------- Temalar (idose ailesi paletlerinden) ---------- */
:root, [data-tema="vitrin"] {
  --bg: #050505; --bg2: #121110; --card: #1A1816; --card2: #24211E; --text: #F2E8D8; --muted: #9A9286; --line: #34302A;
  --accent: #D6A85C; --on-accent: #1A1206; --ok: #6FBF73; --warn: #E0A040; --stop: #D83A2E;
  --c-basinc: #6FBF73; --c-akis: #5AA9E6; --c-sicak: #E5705B; --c-agirlik: #D6A85C; --c-hedef: #F2E8D8; --grid: rgba(255,255,255,.07);
  --logo: url("../img/logo-beyaz.png"); --radius: 16px;
}
[data-tema="modern"] {
  --bg: #F2F2F7; --bg2: #E5E5EA; --card: #FFFFFF; --card2: #ECECF1; --text: #1D1D1F; --muted: #6E6E73; --line: #D1D1D6;
  --accent: #007AFF; --on-accent: #FFFFFF; --ok: #2E9E4F; --warn: #E08A00; --stop: #E5352B;
  --c-basinc: #2E9E4F; --c-akis: #007AFF; --c-sicak: #E5352B; --c-agirlik: #B7791F; --c-hedef: #1D1D1F; --grid: rgba(0,0,0,.07);
  --logo: url("../img/logo-siyah.png"); --radius: 18px;
}
[data-tema="espresso"] {
  --bg: #0E0A09; --bg2: #1A120E; --card: #2A2019; --card2: #34281F; --text: #F2E3D0; --muted: #A89582; --line: #4A3A2E;
  --accent: #D68E48; --on-accent: #1E1208; --ok: #5DBB6A; --warn: #F0A040; --stop: #E5574B;
  --c-basinc: #7CC47F; --c-akis: #6BB3E0; --c-sicak: #F07A5A; --c-agirlik: #E8A766; --c-hedef: #F2E3D0; --grid: rgba(242,227,208,.08);
  --logo: url("../img/logo-beyaz.png"); --radius: 16px;
}
[data-tema="nordik"] {
  --bg: #EFE6DA; --bg2: #E4D5C3; --card: #F9F4EC; --card2: #EDE2D3; --text: #4A3B32; --muted: #8C7868; --line: #DCCBB6;
  --accent: #B85C38; --on-accent: #FFFFFF; --ok: #5E8F4E; --warn: #C98A3A; --stop: #A8402E;
  --c-basinc: #5E8F4E; --c-akis: #3D7BA8; --c-sicak: #B85C38; --c-agirlik: #A87A2A; --c-hedef: #4A3B32; --grid: rgba(74,59,50,.09);
  --logo: url("../img/logo-siyah.png"); --radius: 22px;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body { font-family: "InterY", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #2b2b2e; color: #ddd;
  display: flex; align-items: flex-start; justify-content: center; gap: 24px; padding: 24px; user-select: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Cihaz çerçevesi ---------- */
.cerceve { padding: 22px; background: #0a0a0a; border-radius: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 0 0 2px #222; }
#ekran { width: 800px; height: 480px; position: relative; overflow: hidden; background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.25; border-radius: 4px; }
body.tam { padding: 0; background: #000; display: block; overflow: hidden; }
body.tam .cerceve { padding: 0; border-radius: 0; box-shadow: none; background: none; width: 800px; height: 480px; transform-origin: 0 0; }
body.tam .yan { display: none; }
body.tam #ekran { border-radius: 0; }

/* yan gezinti (yalnız inceleme için, cihazda yok) */
.yan { width: 230px; font-size: 13px; color: #bbb; }
.yan h3 { margin: 0 0 6px; font-size: 14px; color: #fff; }
.yan button { display: block; width: 100%; text-align: left; padding: 6px 8px; border-radius: 6px; color: #ccc; }
.yan button:hover { background: #3a3a3e; color: #fff; }
.yan .not { margin-top: 12px; line-height: 1.4; color: #888; }
.yan select { width: 100%; padding: 6px; margin: 6px 0 10px; background: #1d1d20; color: #eee; border: 1px solid #444; border-radius: 6px; }

/* ---------- Ekran iskeleti ---------- */
.sayfa { position: absolute; inset: 0; display: flex; flex-direction: column; animation: gir .18s ease-out; }
@keyframes gir { from { opacity: .3; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.ust { height: 56px; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 6px; }
.ust h1 { font-size: 21px; font-weight: 700; margin: 0 0 0 4px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.01em; }
.ust .logo { width: 92px; height: 29px; background: var(--logo) left center / contain no-repeat; margin-left: 10px; }
.ust .ad { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 8px; }
.ust .bos { flex: 1; }
.durum { display: flex; align-items: center; gap: 4px; }
.ikb { min-width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; color: var(--text); }
.ikb:active { background: var(--card2); }
.ikb svg { width: 26px; height: 26px; }
.ikb.geri { background: var(--card); }
.ikb .k { font-size: 14px; font-weight: 600; }
.saat { font-size: 17px; font-weight: 700; padding: 0 6px; font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot.on { background: var(--ok); } .dot.uy { background: var(--warn); }
.icerik { flex: 1; min-height: 0; padding: 0 14px 14px; display: flex; gap: 12px; }
.kart { background: var(--card); border-radius: var(--radius); padding: 14px; }
.soluk { color: var(--muted); }
.kucuk { font-size: 13px; }
svg.i { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dugme { min-height: 52px; border-radius: 14px; padding: 0 18px; background: var(--card2); font-weight: 700; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.dugme.ana { background: var(--accent); color: var(--on-accent); }
.dugme.dur { background: var(--stop); color: #fff; }
.dugme.ok { background: var(--ok); color: #fff; }
.dugme.tam { width: 100%; }
.dugme:active { filter: brightness(.9); transform: scale(.99); }
.dugme[disabled] { opacity: .45; }

.seg { display: flex; background: var(--card2); border-radius: 14px; padding: 3px; gap: 3px; }
.seg button { flex: 1; min-height: 44px; border-radius: 11px; font-weight: 600; font-size: 15px; color: var(--muted); padding: 0 10px; white-space: nowrap; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.18); }

.adim { display: flex; align-items: center; gap: 4px; }
.adim button { width: 48px; height: 48px; border-radius: 13px; background: var(--card2); font-size: 24px; font-weight: 600; }
.adim .d { min-width: 82px; text-align: center; font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.adim .d small { font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 2px; }

.anahtar { width: 60px; height: 34px; border-radius: 17px; background: var(--card2); position: relative; flex: none; transition: .2s; border: 1px solid var(--line); }
.anahtar::after { 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,.3); transition: .2s; }
.anahtar.on { background: var(--ok); border-color: var(--ok); } .anahtar.on::after { left: 29px; }
.anahtarb { min-height: 48px; display: inline-flex; align-items: center; }

/* ---------- 1 Isınma ---------- */
.isinma { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding-bottom: 10px; }
.halkalar { display: flex; gap: 46px; align-items: center; }
.halka { position: relative; width: 190px; height: 190px; }
.halka svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.halka .ic { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.halka .ic b { font-size: 40px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.halka .ic b small { font-size: 18px; font-weight: 700; }
.halka .ic span { font-size: 15px; color: var(--muted); font-weight: 600; }
.halka .ic i { font-style: normal; font-size: 13px; color: var(--muted); }
.yuzde { text-align: center; }
.yuzde b { font-size: 30px; font-weight: 800; }
.yuzde div { color: var(--muted); font-size: 15px; margin-top: 2px; }
.cubuk { width: 360px; height: 8px; border-radius: 4px; background: var(--card2); overflow: hidden; }
.cubuk i { display: block; height: 100%; background: var(--accent); border-radius: 4px; transition: width .4s; }

/* ---------- 2 Ana ---------- */
.ana-sol { width: 438px; display: flex; flex-direction: column; gap: 10px; }
.tarifkart { flex: 1; display: flex; flex-direction: column; gap: 8px; position: relative; text-align: left; }
.tarifkart .bas { display: flex; align-items: center; gap: 8px; }
.tarifkart .bas h2 { margin: 0; font-size: 24px; font-weight: 800; flex: 1; letter-spacing: -.01em; }
.tarifkart .bas .degis { font-size: 14px; font-weight: 600; color: var(--accent); min-height: 44px; display: inline-flex; align-items: center; gap: 4px; padding: 0 6px; }
.degerler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.degerler div { background: var(--card2); border-radius: 12px; padding: 7px 8px; }
.degerler span { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.degerler b { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.degerler b small { font-size: 12px; font-weight: 700; color: var(--muted); }
.tarifkart canvas { width: 100%; flex: 1; min-height: 0; }
.ana-sag { flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.demlebtn { flex: 1; border-radius: var(--radius); background: var(--accent); color: var(--on-accent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.demlebtn b { font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
.demlebtn span { font-size: 14px; font-weight: 600; opacity: .8; }
.demlebtn svg { width: 46px; height: 46px; }
.demlebtn:active { filter: brightness(.92); }
.minibilgi { display: flex; gap: 8px; }
.minibilgi > button, .minibilgi > div { flex: 1; min-height: 64px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; text-align: left; border-radius: 14px; background: var(--card); }
.minibilgi .t { font-size: 12px; color: var(--muted); font-weight: 600; }
.minibilgi .v { font-size: 16px; font-weight: 700; white-space: nowrap; }
.dara { margin-left: auto; min-height: 44px; min-width: 56px; border-radius: 12px; background: var(--card2); font-weight: 700; font-size: 14px; }
.hizli { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; height: 70px; flex: none; }
.hizli button { border-radius: 14px; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 13px; font-weight: 600; }
.hizli button svg { width: 26px; height: 26px; }

/* ---------- 3 Demleme ---------- */
.dem-ust { display: flex; gap: 8px; padding: 0 14px 8px; height: 76px; flex: none; }
.dem-ust .kutu { background: var(--card); border-radius: 14px; padding: 8px 12px; display: flex; flex-direction: column; justify-content: center; }
.dem-ust .kutu span { font-size: 12px; color: var(--muted); font-weight: 600; }
.dem-ust .kutu b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1.05; }
.dem-ust .kutu b small { font-size: 16px; color: var(--muted); font-weight: 700; }
.dem-ust .asama { flex: 1; }
.dem-ust .asama b { font-size: 24px; }
.asamalar { display: flex; gap: 4px; margin-top: 5px; }
.asamalar i { flex: 1; height: 5px; border-radius: 3px; background: var(--card2); }
.asamalar i.bitti { background: var(--accent); opacity: .55; } .asamalar i.simdi { background: var(--accent); }
.dem-alt { flex: 1; display: flex; gap: 10px; padding: 0 14px 14px; min-height: 0; }
.grafikkutu { flex: 1; background: var(--card); border-radius: var(--radius); padding: 6px 8px 4px; position: relative; min-width: 0; display: flex; flex-direction: column; }
.grafikkutu canvas { flex: 1; width: 100%; min-height: 0; }
.lejant { display: flex; gap: 12px; font-size: 12px; font-weight: 600; color: var(--muted); padding: 2px 4px; flex-wrap: wrap; }
.lejant i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.lejant .kes { background: none; border-top: 2px dashed var(--c-hedef); height: 0; }
.dem-sag { width: 170px; display: flex; flex-direction: column; gap: 6px; }
.olcum { background: var(--card); border-radius: 12px; padding: 6px 10px; display: flex; align-items: baseline; justify-content: space-between; border-left: 4px solid var(--c); }
.olcum span { font-size: 12px; color: var(--muted); font-weight: 600; }
.olcum b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.olcum b small { font-size: 12px; color: var(--muted); }
.dem-sag .dugme { flex: 1; font-size: 20px; }
.bildirim { position: absolute; left: 42%; top: 150px; transform: translateX(-50%); background: var(--ok); color: #fff; padding: 12px 22px; border-radius: 16px;
  font-weight: 700; font-size: 18px; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.35); z-index: 30; animation: dus .25s ease-out; white-space: nowrap; }
@keyframes dus { from { transform: translate(-50%, -16px); opacity: 0; } }
.ed-asama { min-height: 44px; flex: none; }

/* ---------- 4 Sonuç ---------- */
.ozet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ozet div { background: var(--card); border-radius: 12px; padding: 6px 10px; }
.ozet span { font-size: 12px; color: var(--muted); font-weight: 600; display: block; }
.ozet b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ozet b small { font-size: 12px; color: var(--muted); }
.tat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tat button { min-height: 54px; border-radius: 14px; background: var(--card); font-weight: 700; font-size: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid transparent; }
.tat button small { font-size: 11px; color: var(--muted); font-weight: 600; }
.tat button.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 16%, var(--card)); }
.oneri { background: color-mix(in srgb, var(--accent) 13%, var(--card)); border-radius: 14px; padding: 10px 12px; font-size: 14px; line-height: 1.35; min-height: 58px; }
.oneri b { display: block; font-size: 13px; color: var(--accent); margin-bottom: 2px; }

/* ---------- Listeler ve ızgaralar ---------- */
.izgara { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 176px; gap: 10px; overflow-y: auto; flex: 1; padding-bottom: 4px; scrollbar-width: none; }
.izgara::-webkit-scrollbar, .kaydir::-webkit-scrollbar { display: none; }
.tkart { background: var(--card); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; text-align: left; gap: 4px; position: relative; border: 2px solid transparent; min-width: 0; }
.tkart.secili { border-color: var(--accent); }
.tkart h3 { margin: 0; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 30px; }
.tkart .alt { font-size: 12px; color: var(--muted); font-weight: 600; }
.tkart canvas { width: 100%; height: 74px; }
.tkart .duz { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); }
.tkart .duz svg { width: 20px; height: 20px; }
.tkart .rozet { font-size: 11px; font-weight: 700; color: var(--accent); }
.tkart.ekle { align-items: center; justify-content: center; border: 2px dashed var(--line); background: transparent; color: var(--accent); font-weight: 700; font-size: 16px; }
.tkart.ekle svg { width: 34px; height: 34px; }
.kaydir { overflow-y: auto; scrollbar-width: none; }

.satir { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 12px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; }
.satir:last-child { border-bottom: 0; }
.satir .ad { flex: 1; min-width: 0; }
.satir .ad b { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.satir .ad span { font-size: 12px; color: var(--muted); }
.satir .deg { color: var(--muted); font-size: 15px; font-weight: 600; white-space: nowrap; }
.satir.on { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.satir .ok::after { content: "›"; font-size: 24px; color: var(--muted); }
.liste { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.bolumbas { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 12px 4px 6px; }
.bolumbas:first-child { margin-top: 2px; }
.puan { color: var(--accent); letter-spacing: 1px; font-size: 14px; }
.sec-kutu { width: 28px; height: 28px; border-radius: 8px; border: 2px solid var(--line); display: grid; place-items: center; flex: none; font-weight: 800; font-size: 14px; }
.sec-kutu.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ---------- 6 Düzenleyici ---------- */
.ed-sol { width: 300px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.ed-asama { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 4px 10px; border-radius: 12px; background: var(--card); width: 100%; text-align: left; border: 2px solid transparent; }
.ed-asama.on { border-color: var(--accent); }
.ed-asama .no { width: 26px; height: 26px; border-radius: 50%; background: var(--card2); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.ed-asama .ad { flex: 1; min-width: 0; }
.ed-asama .ad b { font-size: 15px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-asama .ad span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.ed-sag { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ed-grafik { flex: 1; background: var(--card); border-radius: var(--radius); position: relative; min-height: 0; padding: 4px; }
.ed-grafik canvas { width: 100%; height: 100%; touch-action: none; display: block; }
.ed-grafik .ipucu { position: absolute; right: 12px; top: 8px; font-size: 12px; color: var(--muted); font-weight: 600; pointer-events: none; }
.ed-ayar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ed-ayar .et { font-size: 12px; color: var(--muted); font-weight: 600; display: block; margin: 0 0 2px 2px; }
.mini-adim .adim button { width: 44px; height: 44px; font-size: 22px; }
.mini-adim .adim .d { min-width: 64px; font-size: 16px; }

/* ---------- 7 Geçmiş ---------- */
.gc-sol { width: 330px; display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.gc-sag { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kars-tablo { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2px 10px; font-size: 14px; background: var(--card); border-radius: 14px; padding: 8px 12px; }
.kars-tablo b { font-variant-numeric: tabular-nums; }
.kars-tablo .h { font-size: 12px; color: var(--muted); font-weight: 700; }

/* ---------- 8 Buhar ---------- */
.buhar { flex: 1; display: flex; gap: 14px; }
.buhar .sol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.buhar .sag { width: 300px; display: flex; flex-direction: column; gap: 10px; }
.sayac { font-size: 56px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: center; letter-spacing: -.02em; }
.hazir-rozet { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 20px; background: color-mix(in srgb, var(--ok) 18%, var(--card)); color: var(--ok); font-weight: 700; }
.hazir-rozet.bekle { background: color-mix(in srgb, var(--warn) 18%, var(--card)); color: var(--warn); }

/* ---------- 9 Terazi ---------- */
.agirlik-buyuk { font-size: 64px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.agirlik-buyuk small { font-size: 24px; color: var(--muted); }
.sinyal { display: inline-flex; gap: 2px; align-items: flex-end; height: 18px; }
.sinyal i { width: 4px; border-radius: 1px; background: var(--muted); opacity: .35; }
.sinyal i.on { opacity: 1; background: var(--text); }
.donen { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--card2); border-top-color: var(--accent); animation: don 0.9s linear infinite; display: inline-block; }
@keyframes don { to { transform: rotate(360deg); } }

/* ---------- 10 Ayarlar ---------- */
.ay-sol { width: 220px; display: flex; flex-direction: column; gap: 0; overflow-y: auto; scrollbar-width: none; }
.ay-sol::-webkit-scrollbar { display: none; }
.ay-sol button { min-height: 44px; border-radius: 12px; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-weight: 600; font-size: 15px; color: var(--muted); text-align: left; flex: none; }
.ay-sol button svg { width: 22px; height: 22px; flex: none; }
.ay-sol button.on { background: var(--card); color: var(--text); }
.ay-sag { flex: 1; overflow-y: auto; min-width: 0; scrollbar-width: none; }
.ay-sag::-webkit-scrollbar { display: none; }
.ay-sag .satir { min-height: 60px; }
.temalar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 10px; }
.temalar button { border-radius: 14px; padding: 6px; border: 2px solid transparent; font-size: 13px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; align-items: center; min-height: 88px; }
.temalar button.on { border-color: var(--accent); }
.temalar .orn { width: 100%; height: 50px; border-radius: 10px; display: flex; align-items: flex-end; padding: 6px; gap: 4px; border: 1px solid rgba(128,128,128,.3); }
.temalar .orn i { height: 10px; flex: 1; border-radius: 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 200px; height: 44px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 4px; background: var(--card2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); margin-top: -11px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.qr { width: 132px; height: 132px; background: #fff; border-radius: 12px; padding: 6px; flex: none; }
.qr img { width: 100%; height: 100%; image-rendering: pixelated; display: block; }
.bilgi-tablo { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; }
.bilgi-tablo span { color: var(--muted); }

/* ---------- 11 Bakım ---------- */
.sihirbaz { flex: 1; display: flex; gap: 14px; }
.adimlar { width: 230px; display: flex; flex-direction: column; gap: 6px; }
.adimlar div { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 15px; }
.adimlar div i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 13px; flex: none; }
.adimlar div.simdi { background: var(--card); color: var(--text); }
.adimlar div.simdi i { border-color: var(--accent); color: var(--accent); }
.adimlar div.bitti i { background: var(--ok); border-color: var(--ok); color: #fff; }
.sihir-ic { flex: 1; background: var(--card); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.sihir-ic h2 { margin: 0; font-size: 24px; font-weight: 800; }
.sihir-ic p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--muted); }
.dongu { display: flex; gap: 10px; justify-content: center; margin: 6px 0; }
.dongu i { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--line); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 18px; }
.dongu i.bitti { background: var(--ok); border-color: var(--ok); color: #fff; }
.dongu i.simdi { border-color: var(--accent); color: var(--accent); animation: nabiz 1s infinite; }
@keyframes nabiz { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); } }

/* ---------- 12 Pop-up ---------- */
.ortu { position: absolute; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; z-index: 50; animation: sol .15s; }
@keyframes sol { from { opacity: 0; } }
.pencere { background: var(--card); border-radius: 22px; width: 470px; padding: 22px 24px 18px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.45); animation: buyu .18s ease-out; }
@keyframes buyu { from { transform: scale(.94); } }
.pencere .simge { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--warn) 20%, var(--card)); color: var(--warn); }
.pencere .simge.mavi { background: color-mix(in srgb, var(--c-akis) 20%, var(--card)); color: var(--c-akis); }
.pencere .simge svg { width: 34px; height: 34px; }
.pencere h2 { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.pencere p { margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.4; }
.pencere .sira { display: flex; gap: 10px; }
.pencere .sira .dugme { flex: 1; }

/* klavye */
.klavye-kutu { position: absolute; inset: 0; background: var(--bg); z-index: 60; display: flex; flex-direction: column; padding: 10px 10px 8px; gap: 8px; }
.klavye-kutu .giris { display: flex; gap: 8px; align-items: center; }
.klavye-kutu .alan { flex: 1; min-height: 52px; border-radius: 14px; background: var(--card); padding: 10px 14px; font-size: 18px; overflow: hidden; white-space: nowrap; }
.klavye-kutu .alan::after { content: "|"; color: var(--accent); animation: yan 1s steps(1) infinite; margin-left: 1px; }
@keyframes yan { 50% { opacity: 0; } }
.hizli-not { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.hizli-not button { min-height: 44px; padding: 0 12px; border-radius: 22px; background: var(--card); font-size: 14px; font-weight: 600; white-space: nowrap; }
.klavye { flex: 1; display: grid; grid-template-rows: repeat(4, 1fr); gap: 6px; }
.klavye .kr { display: flex; gap: 5px; justify-content: center; }
.klavye button { flex: 1; max-width: 60px; border-radius: 10px; background: var(--card); font-size: 20px; font-weight: 600; min-height: 44px; }
.klavye button.gen { max-width: 360px; flex: 6; font-size: 15px; }
.klavye button.ozel { max-width: 92px; flex: 1.5; font-size: 15px; background: var(--card2); }

/* ---------- 13 Bekleme ---------- */
.uyku { position: absolute; inset: 0; background: #000; color: #E8E2D8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; cursor: pointer; z-index: 5; }
.uyku .s { font-size: 128px; font-weight: 700; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.uyku .t { font-size: 20px; color: #8C8478; font-weight: 600; }
.uyku .m { margin-top: 26px; display: flex; gap: 18px; font-size: 15px; color: #8C8478; font-weight: 600; align-items: center; }
.uyku .logo { width: 110px; height: 34px; background: url("../img/logo-beyaz.png") center / contain no-repeat; opacity: .45; position: absolute; bottom: 22px; }
.uyku .ip { position: absolute; top: 20px; font-size: 13px; color: #5c574f; }

/* ---------- 14 Kapat ---------- */
.kapat { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.tut { position: relative; width: 170px; height: 170px; border-radius: 50%; touch-action: none; }
.tut svg.h { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.tut .ic { position: absolute; inset: 16px; border-radius: 50%; background: var(--card); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--stop); font-weight: 700; }
.tut .ic svg { width: 46px; height: 46px; }
.tut.basili .ic { background: color-mix(in srgb, var(--stop) 18%, var(--card)); }
.kapali { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.kapali .logo-b { width: 210px; height: 66px; background: var(--logo) center / contain no-repeat; }
.acbtn { width: 120px; height: 120px; border-radius: 50%; background: var(--card); color: var(--ok); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-weight: 700; }
.acbtn svg { width: 44px; height: 44px; }

.tost { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: rgba(20,20,20,.92); color: #fff; padding: 12px 20px; border-radius: 14px; font-weight: 600; z-index: 70; animation: sol .2s; white-space: nowrap; }
