/* Sunum katmanı — üç sütun: dizin · sahne · açıklama */
html, body { margin: 0; height: 100%; }
body.deck { font: 400 13.5px/1.45 var(--f-ui); color: var(--text); background: #E9E8E4; -webkit-font-smoothing: antialiased; overflow: hidden; }
body.deck * { box-sizing: border-box; }
.dk { display: grid; grid-template-columns: 296px minmax(0, 1fr) 380px; height: 100vh; transition: grid-template-columns .2s var(--ease); }
.dk.nor { grid-template-columns: 296px minmax(0, 1fr) 0; }
.dk.nol { grid-template-columns: 0 minmax(0, 1fr) 380px; }
.dk.nol.nor { grid-template-columns: 0 minmax(0, 1fr) 0; }
.dk button { font: inherit; color: inherit; }
.dk :focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* sol dizin */
.dl { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.dl-h { padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.dl-h img { height: 30px; display: block; }
.dl-h .t { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.dl-h .t b { font: 600 16px var(--f-display); letter-spacing: -.2px; }
.dl-h .t span { font-size: 12px; color: var(--text-3); }
.dl-h .lbl { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 11.5px; color: var(--text-3); background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; padding: 3px 9px; }
.dl-h .lbl svg { width: 12px; height: 12px; }
.dl-f { padding: 10px 14px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.dl-f .srch { position: relative; }
.dl-f .srch svg { position: absolute; left: 10px; top: 9px; width: 15px; height: 15px; color: var(--text-4); }
.dl-f .srch input { width: 100%; height: 34px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); padding: 0 10px 0 32px; font: inherit; font-size: 13px; color: var(--text); outline: none; }
.dl-f .srch input:focus { border-color: var(--ink); background: #fff; }
.seg { display: inline-flex; background: var(--bg); border-radius: 9px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: none; padding: 4px 11px; border-radius: 7px; cursor: pointer; font-size: 12.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.seg button.on { background: #fff; color: var(--text); box-shadow: var(--sh-1); font-weight: 600; }
.dl-n { flex: 1; overflow-y: auto; padding: 8px 8px 24px; scrollbar-width: thin; }
.ds-st { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: 0; background: none; cursor: pointer; border-radius: 8px; text-align: left; font-weight: 600; font-size: 13px; }
.ds-st:hover { background: var(--surface-2); }
.ds-st .no { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--bg-2); font-size: 11px; font-weight: 700; color: var(--text-2); flex: none; }
.ds-st.on .no { background: var(--ink); color: var(--y); }
.ds-st .ch { margin-left: auto; color: var(--text-4); transition: transform .15s; width: 15px; height: 15px; }
.ds-st.open .ch { transform: rotate(90deg); }
.ds-sub { padding: 2px 0 6px 18px; }
.ds-gh { font-size: 11px; font-weight: 600; color: var(--text-3); padding: 9px 10px 3px 12px; letter-spacing: .02em; }
.ds-it { display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px 8px 5px 10px; border: 0; background: none; cursor: pointer; border-radius: 7px; text-align: left; font-size: 12.5px; color: var(--text-2); border-left: 2px solid transparent; }
.ds-it:hover { background: var(--surface-2); color: var(--text); }
.ds-it.on { background: var(--y-50); color: var(--text); border-left-color: var(--y); font-weight: 600; }
.ds-it .cd { font: 600 10.5px var(--f-mono); color: var(--text-4); width: 34px; flex: none; }
.ds-it.on .cd { color: var(--text-2); }
.ds-it .nm { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-it .pl { width: 13px; height: 13px; color: var(--text-4); flex: none; }
.ds-it .yn { font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: var(--y-100); color: #6B5200; flex: none; }
.ds-it .yn.d { background: var(--info-bg); color: var(--info); }
.ds-it .dic { width: 14px; height: 14px; color: var(--text-3); flex: none; }

/* orta sahne */
.dc { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.dc-t { height: 52px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #fff; border-bottom: 1px solid var(--line); }
.dc-t .ib { width: 32px; height: 32px; border: 0; background: none; border-radius: 8px; display: grid; place-items: center; cursor: pointer; color: var(--text-2); }
.dc-t .ib:hover { background: var(--bg); color: var(--text); }
.dc-t .ib svg { width: 17px; height: 17px; }
.dc-t .ttl { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; font-size: 13.5px; }
.dc-t .ttl .cd { font: 700 10.5px var(--f-mono); background: var(--ink); color: var(--y); padding: 3px 6px; border-radius: 5px; }
.dc-t .ttl .sb { color: var(--text-3); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-t .sp { flex: 1; }
.dc-t select { height: 30px; border: 1px solid var(--line); border-radius: 8px; padding: 0 26px 0 9px; font: inherit; font-size: 12.5px; background: #fff; color: var(--text); cursor: pointer; }
.dc-t .lb { font-size: 11.5px; color: var(--text-3); }
.dc-s { flex: 1; min-height: 0; overflow: auto; display: flex; align-items: flex-start; justify-content: center; padding: 26px 26px 50px; position: relative; }
.dc-s.ctr { align-items: center; }
.dc-hint { position: absolute; left: 16px; bottom: 12px; font-size: 11.5px; color: var(--text-3); background: rgba(255,255,255,.85); border: 1px solid var(--line); padding: 4px 10px; border-radius: 99px; display: flex; align-items: center; gap: 6px; }
.dc-hint svg { width: 13px; height: 13px; }

/* tarayıcı çerçevesi */
.brw { background: #fff; border-radius: 12px; box-shadow: var(--sh-4); overflow: hidden; flex: none; transform-origin: top left; }
.brw-b { height: 34px; background: #F1F1EF; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 12px; }
.brw-b i { width: 10px; height: 10px; border-radius: 50%; background: #DAD9D5; display: block; }
.brw-b .u { margin: 0 auto; background: #fff; border-radius: 7px; height: 22px; width: 42%; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; color: var(--text-3); }
.brw-b .u svg { width: 11px; height: 11px; }
.brw-c { position: relative; overflow: hidden; }

/* telefon çerçevesi */
.phn { width: 393px; height: 852px; border-radius: 56px; background: #0B0B0C; padding: 11px; box-shadow: var(--sh-4), inset 0 0 0 2px #2A2A2D; flex: none; position: relative; transform-origin: top left; }
.phn.and { border-radius: 40px; width: 384px; height: 832px; }
.phn-s { width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: #fff; position: relative; display: flex; flex-direction: column; }
.phn.and .phn-s { border-radius: 30px; }
.phn-i { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 122px; height: 35px; background: #000; border-radius: 20px; z-index: 50; }
.phn.and .phn-i { width: 14px; height: 14px; top: 13px; border-radius: 50%; }
.phn-hb { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: rgba(0,0,0,.85); z-index: 50; }

/* sağ panel */
.dr { background: #fff; border-left: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.dr-h { padding: 16px 20px 12px; border-bottom: 1px solid var(--line); position: relative; }
.dr-h .k { font-size: 11.5px; color: var(--text-3); }
.dr-h h2 { margin: 3px 0 0; font: 600 19px/1.25 var(--f-display); letter-spacing: -.3px; padding-right: 30px; }
.dr-h .x { position: absolute; right: 12px; top: 14px; width: 28px; height: 28px; border: 0; background: none; border-radius: 7px; cursor: pointer; display: grid; place-items: center; color: var(--text-3); }
.dr-h .x:hover { background: var(--bg); }
.dr-h .x svg { width: 16px; height: 16px; }
.dr-b { flex: 1; overflow-y: auto; padding: 14px 20px 40px; scrollbar-width: thin; }
.dr-kv { display: grid; grid-template-columns: 92px 1fr; gap: 8px 10px; font-size: 12.5px; align-items: start; margin-bottom: 6px; }
.dr-kv > span { color: var(--text-3); padding-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; background: #fff; color: var(--text-2); white-space: nowrap; }
.chip svg { width: 12px; height: 12px; }
.chip.src-m { background: var(--gry-bg); border-color: var(--gry-line); color: var(--gry); }
.chip.src-t { background: var(--y-50); border-color: var(--y-200); color: #6B5200; }
.chip.src-o { background: var(--info-bg); border-color: var(--info-line); color: var(--info); }
.chip.src-e { background: var(--vio-bg); border-color: var(--vio-line); color: var(--vio); }
.dr-sec { margin-top: 18px; }
.dr-sec h4 { margin: 0 0 7px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.dr-sec p { margin: 0; font-size: 13px; color: var(--text-2); }
.dr-sec ul { margin: 0; padding: 0; list-style: none; }
.dr-sec li { position: relative; padding-left: 14px; font-size: 12.8px; color: var(--text-2); margin-bottom: 5px; }
.dr-sec li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 1px #E0B400; }
.dr-sec li b { color: var(--text); font-weight: 600; }
.dr-sec .q { font-size: 11px; color: var(--text-3); font-style: italic; display: block; margin-top: 2px; }
.cmp { display: grid; gap: 8px; }
.cmp > div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.cmp > div b { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); margin-bottom: 3px; }
.cmp > div.n { border-color: var(--ink); background: var(--surface-2); }
.cmp > div.n b { color: var(--ink); }
.cmp > div p { font-size: 12.8px; }
.try { display: flex; flex-direction: column; gap: 6px; }
.try button { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 10px; cursor: pointer; font-size: 12.5px; }
.try button:hover { border-color: var(--ink); }
.try button svg { width: 15px; height: 15px; color: var(--text-3); flex: none; }
.pair { display: flex; align-items: center; gap: 8px; border: 1px dashed var(--line-2); border-radius: 10px; padding: 9px 11px; cursor: pointer; background: var(--surface-2); width: 100%; text-align: left; font-size: 12.5px; }
.pair:hover { border-color: var(--ink); background: #fff; }
.pair svg { width: 16px; height: 16px; flex: none; }
.sc-steps { counter-reset: s; display: flex; flex-direction: column; gap: 6px; }
.sc-step { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; background: #fff; text-align: left; width: 100%; font-size: 12.5px; }
.sc-step:hover { border-color: var(--line-2); }
.sc-step.on { border-color: var(--ink); background: var(--y-50); }
.sc-step .n { width: 22px; height: 22px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.sc-step.on .n { background: var(--ink); color: var(--y); }
.sc-step.dn .n { background: var(--ok); color: #fff; }
.sc-step small { display: block; color: var(--text-3); font-size: 11.5px; margin-top: 1px; }
.sc-nav { display: flex; gap: 8px; margin-top: 10px; }

/* anlatı sayfaları */
.doc { width: min(1100px, 100%); background: #fff; border-radius: 16px; box-shadow: var(--sh-2); padding: 40px 48px 54px; }
.doc.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.doc .ey { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.doc.hero .ey { color: var(--y); }
.doc h1 { font: 600 40px/1.12 var(--f-display); letter-spacing: -1px; margin: 10px 0 14px; }
.doc h2 { font: 600 22px/1.25 var(--f-display); letter-spacing: -.3px; margin: 30px 0 10px; }
.doc h3 { font: 600 15px var(--f-display); margin: 18px 0 6px; }
.doc p { font-size: 14.5px; line-height: 1.6; color: var(--text-2); margin: 0 0 10px; max-width: 760px; }
.doc.hero p { color: #C9C9CC; font-size: 16px; }
.doc .lead { font-size: 17px; color: var(--text); }
.doc ul.l { margin: 0 0 12px; padding-left: 18px; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.doc .grid { display: grid; gap: 14px; }
.doc .g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.doc .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.doc .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.doc .card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #fff; }
.doc .card h4 { margin: 0 0 6px; font: 600 14.5px var(--f-display); display: flex; align-items: center; gap: 8px; }
.doc .card h4 svg { width: 18px; height: 18px; }
.doc .card p { font-size: 13px; margin: 0; }
.doc .card ul { margin: 6px 0 0; padding-left: 16px; font-size: 13px; color: var(--text-2); line-height: 1.55; }
.doc .card.pain { border-left: 3px solid var(--bad); }
.doc .card.win { border-left: 3px solid var(--ok); }
.doc .card.ylw { border-left: 3px solid var(--y); }
.doc .quote { border-left: 3px solid var(--y); padding: 6px 0 6px 14px; margin: 10px 0; font-size: 14px; color: var(--text); font-style: italic; }
.doc .quote small { display: block; font-style: normal; color: var(--text-3); font-size: 11.5px; margin-top: 3px; }
.doc table.t { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0 16px; }
.doc table.t th { text-align: left; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--text-3); font-weight: 700; padding: 8px 10px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.doc table.t td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.doc table.t td b { color: var(--text); }
.doc table.t td a, .doc a.lnk { color: var(--info); text-decoration: none; cursor: pointer; font-weight: 500; }
.doc .stat { display: flex; flex-direction: column; gap: 2px; }
.doc .stat b { font: 600 30px var(--f-display); letter-spacing: -.6px; }
.doc .stat span { font-size: 12.5px; color: var(--text-3); }
.doc.hero .stat span { color: #9C9CA1; }
.doc .hero-mark { position: absolute; right: -40px; bottom: -40px; width: 360px; opacity: .1; }
.doc .flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 16px; }
.doc .flow .fs { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; font-size: 13px; background: #fff; font-weight: 500; }
.doc .flow .fs.y { background: var(--y); border-color: var(--y); }
.doc .flow .fs.k { background: var(--ink); border-color: var(--ink); color: #fff; }
.doc .flow svg { width: 16px; height: 16px; color: var(--text-4); }
.doc .sw { display: flex; flex-wrap: wrap; gap: 10px; }
.doc .sw .s { width: 120px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 11.5px; }
.doc .sw .s i { display: block; height: 54px; }
.doc .sw .s div { padding: 6px 8px; }
.doc .sw .s code { font: 500 10.5px var(--f-mono); color: var(--text-3); }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.dc-t .ttl { min-width: 0; flex: 0 1 auto; }
.dc-t .ttl > span:not(.cd) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#ys-plaka::placeholder, #ys-sasi::placeholder { text-transform: none; font-family: var(--f-ui); }
