:root {
  /* Düzen: görev seçerek başlanır; çalışma alanında sayfalar ortada, işlemler altta başparmak bölgesindeki cam çubukta.
     Ayrıntılar (indir, ekle, metin, imza) alttan açılan panellerde; tarama ve düzenleme tam ekran, koyu sahnede. */
  --paper: #ECEFF1;
  --sheet: #FFFFFF;
  --ink: #16202A;
  --ink-2: #3D4853;
  --muted: #5A6672;
  --line: #D8DEE3;
  --well: #E1E6E9;
  --well-2: #F2F4F6;
  --accent: #D0202A;
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(208, 32, 42, .10);
  --accent-shadow: rgba(208, 32, 42, .28);
  --ok-bg: #E3F1EA; --ok-ink: #1D5B3F;
  --switch-off: #C3CBD2;
  --glass: rgba(255, 255, 255, .58);
  --glass-edge: rgba(255, 255, 255, .85);
  --glass-hi: rgba(255, 255, 255, .95);
  --stage: #0F1418;
  --scrim: rgba(14, 20, 26, .5);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101417; --sheet: #192026; --ink: #E5E9ED; --ink-2: #C3CBD2; --muted: #98A4AF; --line: #2A333B; --well: #12181C; --well-2: #222A31;
    --accent: #FF5252; --accent-ink: #1F0506; --accent-soft: rgba(255, 82, 82, .15); --accent-shadow: rgba(0, 0, 0, .35);
    --ok-bg: #173527; --ok-ink: #9FD9BC; --switch-off: #3A444D;
    --glass: rgba(28, 35, 42, .62); --glass-edge: rgba(255, 255, 255, .09); --glass-hi: rgba(255, 255, 255, .06);
    --stage: #0A0E11; --scrim: rgba(0, 0, 0, .62);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101417; --sheet: #192026; --ink: #E5E9ED; --ink-2: #C3CBD2; --muted: #98A4AF; --line: #2A333B; --well: #12181C; --well-2: #222A31;
  --accent: #FF5252; --accent-ink: #1F0506; --accent-soft: rgba(255, 82, 82, .15); --accent-shadow: rgba(0, 0, 0, .35);
  --ok-bg: #173527; --ok-ink: #9FD9BC; --switch-off: #3A444D;
  --glass: rgba(28, 35, 42, .62); --glass-edge: rgba(255, 255, 255, .09); --glass-hi: rgba(255, 255, 255, .06);
  --stage: #0A0E11; --scrim: rgba(0, 0, 0, .62);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 15px/1.5 var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; color: inherit; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.mono { font: 500 13px var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }

/* Cam malzeme: arkasındaki içeriği bulanık gösterir; desteklenmiyorsa ya da saydamlık azaltılmışsa düz yüzey */
.glass { background: var(--glass); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); border: 1px solid var(--glass-edge); box-shadow: 0 14px 34px rgba(16, 24, 32, .20), inset 0 1px 0 var(--glass-hi); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: var(--sheet); } }
@media (prefers-reduced-transparency: reduce) { .glass { background: var(--sheet); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* Düğmeler: basınca hafifçe içe göçer, yaylı geri gelir */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--sheet); color: var(--ink); font-weight: 500; cursor: pointer; white-space: nowrap; transition: transform .35s var(--spring), border-color .15s, background .15s; }
.btn:hover { border-color: var(--muted); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 600; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.outline { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.btn.dark { background: var(--ink); color: var(--sheet); border-color: transparent; font-weight: 600; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { border-color: var(--line); }
.btn.danger { color: var(--accent); }
.btn.sm { min-height: 40px; padding: 6px 12px; font-size: 14px; border-radius: 12px; }
.btn.block { width: 100%; min-height: 56px; border-radius: 20px; font: 700 18px var(--font-display); gap: 10px; box-shadow: 0 10px 22px var(--accent-shadow); }
.btn.sq { width: 44px; padding: 0; font-size: 20px; flex: none; }
.btn:active, .task:active, .dockbtn:active, .dockmain:active, .sug:active, .tool:active, .addopt:active, .iconbtn:active { transform: scale(.96); }
.linkbtn { border: 0; background: none; padding: 10px 4px; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }

.trust { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.trust svg.i { width: 15px; height: 15px; stroke-width: 2; }

/* 1 · Başlangıç */
.start .wrap { max-width: 780px; min-height: 100vh; padding-top: 18px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 18px; }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.brandmark { display: flex; align-items: center; gap: 10px; font: 700 20px var(--font-display); letter-spacing: -.01em; }
.logo { width: 36px; height: 36px; border-radius: 11px; background: var(--ink); color: var(--sheet); display: grid; place-items: center; }
.start h1 { margin: 6px 0 0; font: 700 clamp(32px, 8.5vw, 46px)/1.02 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.lede { margin: -8px 0 0; color: var(--muted); }
.tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .tasks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.task { min-height: 172px; padding: 18px; border-radius: 28px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 12px; text-align: left; cursor: pointer; transition: transform .35s var(--spring), box-shadow .2s; }
.task:hover { box-shadow: 0 8px 22px rgba(16, 24, 32, .08); }
.task .ic { width: 48px; height: 48px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.task .ic svg.i { width: 26px; height: 26px; }
.task .tx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; max-width: 100%; min-width: 0; }
.task b { font: 700 24px/1 var(--font-display); }
.task small { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.task.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; border-radius: 28px 28px 28px 10px; box-shadow: 0 10px 24px var(--accent-shadow); }
.task.primary .ic { background: rgba(255, 255, 255, .18); color: inherit; }
.task.primary small { color: inherit; }
.task.last { border-radius: 28px 28px 10px 28px; }
.task.wide { grid-column: 1 / -1; min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 14px 16px; border-radius: 24px 24px 10px 24px; }
.task.wide b { font-size: 21px; }
.stamphead { display: flex; gap: 14px; align-items: center; }
#stPrev { width: 104px; height: 104px; flex: none; border-radius: 50%; background: var(--well-2); }
.sttx { display: grid; gap: 6px; min-width: 0; }
.st2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 10px; }
.stlog summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: 6px; list-style: none; }
.stlog summary::-webkit-details-marker { display: none; }
.stlog summary::after { content: ''; width: 8px; height: 8px; margin-inline-start: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.stlog[open] summary::after { transform: rotate(-135deg); }
.stlog ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 6px; }
.stlog li { display: flex; gap: 10px; align-items: baseline; padding: 8px 10px; border-radius: 12px; background: var(--well-2); font-size: 14px; }
.stlog li b { font: 600 12.5px var(--font-mono); color: var(--accent); flex: none; }
.stlog li small { display: block; color: var(--muted); font-size: 12px; }
.ov-wm { position: absolute; inset: 0; pointer-events: none; }
.ov-wm canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 400px) { .st2 { grid-template-columns: 1fr; } }
.continue { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 22px; background: var(--ok-bg); color: var(--ok-ink); }
.continue .tx { flex: 1; min-width: 0; display: grid; }
.continue b { font-weight: 600; }
.continue small { font: 500 12.5px var(--font-mono); }
.dropcard { display: flex; align-items: center; gap: 14px; padding: 16px 16px 16px 18px; border: 1.5px dashed var(--line); border-radius: 24px; background: var(--glass); }
.dropcard .ic { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--sheet); border: 1px solid var(--line); display: grid; place-items: center; }
.dropcard .tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dropcard b { font-weight: 600; }
.dropcard small { font-size: 13px; color: var(--muted); }
.trustline { margin: auto 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.trustline svg.i { width: 16px; height: 16px; margin-top: 2px; stroke-width: 2; }

/* 2 · Çalışma alanı */
.work { min-height: 100vh; }
.wtop { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.wtop .wrap { display: flex; align-items: center; gap: 10px; padding-top: 12px; padding-bottom: 8px; }
.iconbtn { width: 44px; height: 44px; flex: none; border-radius: 15px; background: var(--sheet); border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; transition: transform .35s var(--spring); }
.wtitle { flex: 1; min-width: 0; display: grid; gap: 1px; }
.dname { font: 700 19px/1.15 var(--font-display); overflow-wrap: anywhere; }
.dname .ext { font: 500 13px var(--font-mono); color: var(--muted); }
.wtitle .meta { font: 500 12px var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.banner { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 14px; padding: 10px 14px; margin: 6px 0; }
.sugwrap { display: grid; gap: 8px; padding-top: 4px; padding-bottom: 12px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sugs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 2px; margin: 0 -16px; }
.sugs::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .sugs { flex-wrap: wrap; overflow: visible; } }
.sug { flex: none; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); white-space: nowrap; font-size: 14px; cursor: pointer; transition: transform .35s var(--spring), border-color .15s; animation: popIn .45s var(--spring) both; }
.sug:hover { border-color: var(--accent); }
.sug .si { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.sug .si svg.i { width: 17px; height: 17px; stroke-width: 2; }
.sug b { color: var(--accent); font-weight: 600; }
@keyframes popIn { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.main { padding: 2px 0 132px; }
.note { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.empty { border: 1.5px dashed var(--line); border-radius: 22px; padding: 28px 20px; color: var(--muted); display: grid; gap: 12px; justify-items: start; }
.empty p { margin: 0; }

.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.card { background: var(--sheet); border: 1px solid var(--line); border-radius: 22px; padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; border-radius: 15px; background: var(--well); padding: 0; cursor: pointer; overflow: hidden; }
.thumb canvas, .thumb .ph { position: absolute; inset: 12px 12px 32px; margin: auto; max-width: calc(100% - 24px); max-height: calc(100% - 44px); width: auto; height: auto; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.16), 0 6px 16px rgba(0,0,0,.07); }
.thumb .ph { width: 60%; height: 70%; animation: pulse 1.2s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .45; } to { opacity: .9; } }
.pno { position: absolute; top: 8px; left: 8px; z-index: 1; font: 500 12px/1 var(--font-mono); background: var(--sheet); color: var(--ink); padding: 4px 7px; border-radius: 7px; font-variant-numeric: tabular-nums; }
.tags { position: absolute; top: 8px; right: 8px; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: calc(100% - 52px); }
.tag { font: 600 11px/1 var(--font-body); padding: 4px 7px; border-radius: 7px; background: var(--ink); color: var(--sheet); }
.tag.acc { background: var(--accent); color: var(--accent-ink); }
.editpill { position: absolute; left: 50%; bottom: 7px; transform: translateX(-50%); z-index: 1; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--ink); background: var(--sheet); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.editpill svg.i { width: 13px; height: 13px; }
.thumb:hover .editpill { border-color: var(--accent); color: var(--accent); }
.meta { display: grid; gap: 1px; padding: 0 4px; }
.meta .src { font-size: 13px; font-weight: 500; overflow-wrap: anywhere; line-height: 1.35; }
.meta .dim { font: 500 11.5px/1.4 var(--font-mono); color: var(--muted); }
.acts { display: flex; gap: 4px; }
.acts button { flex: 1; min-width: 0; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--ink); cursor: pointer; transition: transform .3s var(--spring); }
.acts button:hover { border-color: var(--muted); }
.acts button:active { transform: scale(.92); }
.acts button:disabled { opacity: .35; cursor: default; }
.acts button.del:hover { color: var(--accent); border-color: var(--accent); }
.acts svg.i { width: 18px; height: 18px; }
.card.sample .thumb { background: repeating-linear-gradient(-45deg, var(--well) 0 10px, transparent 10px 20px), var(--well); }
.thumb { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.card.dragging { opacity: .3; }
.card.dragging .thumb { outline: 2px dashed var(--accent); outline-offset: -2px; }
.dragghost { position: fixed; z-index: 85; pointer-events: none; transform: translate(-50%, -50%) rotate(2deg) scale(1.04); background: var(--sheet); border: 1px solid var(--accent); border-radius: 12px; padding: 6px; box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.dragghost canvas { display: block; max-width: 100%; height: auto; background: #fff; }

/* Alttaki cam çubuk: başparmağın rahat eriştiği yerde */
.dock { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 30; width: min(560px, calc(100% - 28px)); height: 78px; padding: 8px; border-radius: 30px; display: flex; align-items: center; gap: 2px; }
.dockbtn { width: 68px; height: 62px; flex: none; border: 0; background: transparent; color: var(--ink); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11.5px; font-weight: 500; cursor: pointer; transition: transform .35s var(--spring), background .15s; }
.dockbtn:hover { background: rgba(127, 127, 127, .12); }
.dockbtn:disabled { opacity: .4; cursor: default; }
.dockbtn svg.i { width: 22px; height: 22px; stroke-width: 2; }
.dockmain { flex: 1; min-width: 0; height: 62px; border: 0; border-radius: 22px; background: var(--accent); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; box-shadow: 0 8px 18px var(--accent-shadow); transition: transform .35s var(--spring), filter .15s; }
.dockmain:hover { filter: brightness(1.06); }
.dockmain:disabled { opacity: .5; cursor: default; }
.dockmain svg.i { width: 22px; height: 22px; stroke-width: 2; }
.dockmain .dm { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.dockmain b { font: 700 18px var(--font-display); }
.dockmain small { font: 500 11px var(--font-mono); }

body.dragging::after { content: "Dosyaları bırak: PDF'ler eklenir, fotoğraflar taranır"; position: fixed; inset: 10px; z-index: 100; display: grid; place-items: center; border: 2px dashed var(--accent); border-radius: 22px; background: var(--scrim); color: #fff; font: 600 20px var(--font-display); pointer-events: none; }

/* Tam ekran: tarama ve sayfa düzenleme koyu sahnede, araçlar alttan açılan panelde */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; grid-template-rows: auto 1fr auto; background: var(--stage); }
.mhead { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 10px 12px; background: var(--stage); color: #E5E9ED; }
.mhead h2 { margin: 0; font: 600 17px/1.2 var(--font-display); text-align: center; }
.mhead .end { justify-self: end; display: flex; align-items: center; gap: 8px; }
.mhead .start { justify-self: start; }
.mhead .btn.ghost { color: #E5E9ED; }
.mhead .btn.ghost:hover { border-color: rgba(255, 255, 255, .25); }
.mhead .mono { color: #98A4AF; }
.stage { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 0; }
.mfoot { background: var(--sheet); color: var(--ink); border-radius: 28px 28px 0 0; box-shadow: 0 -10px 30px rgba(0, 0, 0, .28); padding: 16px 16px 16px; display: grid; gap: 12px; }
.mfoot .hint { margin: 0; color: var(--muted); font-size: 14px; }
.mfoot .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mfoot .row .grow { flex: 1; }
.mfoot .row .hint { flex: 1 1 180px; min-width: 0; }

.sbox { position: relative; touch-action: none; }
.sbox canvas, .ebox canvas.base { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sbox svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sbox .shade { fill: rgba(5, 8, 10, .55); fill-rule: evenodd; }
.sbox .edge { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.hd { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: rgba(208, 32, 42, .35); box-shadow: 0 1px 6px rgba(0,0,0,.5); cursor: grab; touch-action: none; transition: transform .3s var(--spring); }
.hd::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; }
.hd.drag { cursor: grabbing; background: rgba(208, 32, 42, .6); transform: scale(1.15); }
.sbox.result .hd, .sbox.result svg { display: none; }
.sbox.result canvas { box-shadow: 0 2px 18px rgba(0,0,0,.45); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 500; transition: transform .3s var(--spring); }
.chip[aria-checked="true"] { background: var(--ink); color: var(--sheet); border-color: var(--ink); }
.chip:active { transform: scale(.95); }

.ebox { position: relative; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #fff; }
.layer { position: absolute; inset: 0; touch-action: none; }
.layer.locked { pointer-events: none; }
.layer.locked .rh { display: none; }
.layer.locked .ov.sel { outline: none; }
.ov { position: absolute; touch-action: none; cursor: move; }
.ov canvas { display: block; width: 100%; height: 100%; pointer-events: none; }
.ov-white { background: #fff; outline: 1px dashed rgba(0,0,0,.35); }
.ov-black { background: #000; }
.ov.sel { outline: 2px dashed var(--accent); outline-offset: 2px; }
.rh { position: absolute; right: -14px; bottom: -14px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.4); cursor: nwse-resize; touch-action: none; }
.gridov { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(to right, rgba(208, 32, 42, .45) 1px, transparent 1px), linear-gradient(to bottom, rgba(208, 32, 42, .45) 1px, transparent 1px); background-size: 26px 26px; background-position: center center; }
.loupe { position: absolute; z-index: 6; width: 128px; height: 128px; border-radius: 50%; border: 3px solid #fff; background: #111; box-shadow: 0 4px 18px rgba(0,0,0,.6); pointer-events: none; }

/* Düzenleyici araç rayı */
.rail { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.tool { min-width: 0; height: 62px; border: 0; border-radius: 18px; background: var(--well-2); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 2px; font-size: 11.5px; font-weight: 500; line-height: 1.1; text-align: center; cursor: pointer; transition: transform .35s var(--spring), background .15s, border-radius .35s var(--spring); }
.tool:hover { background: var(--accent-soft); }
.tool[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 600; border-radius: 22px 22px 22px 8px; }
.tool svg.i { width: 21px; height: 21px; }
.ctx { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.readrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.readout { display: grid; gap: 2px; min-width: 0; }
.readout .big { font: 700 38px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.anglerow { display: flex; align-items: center; gap: 8px; }
.anglerow input[type="range"] { flex: 1; min-width: 0; height: 36px; accent-color: var(--accent); }
.aval { min-width: 60px; text-align: right; font: 500 14px var(--font-mono); font-variant-numeric: tabular-nums; }

/* Alttan açılan paneller (masaüstünde ortada) */
.dlgwrap { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: var(--scrim); padding: 16px; }
.dlg { width: min(560px, 100%); max-height: calc(100% - 8px); overflow: auto; background: var(--sheet); color: var(--ink); border-radius: 28px; padding: 20px; display: grid; gap: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.35); animation: sheetIn .42s var(--spring) both; }
@media (max-width: 640px) {
  .dlgwrap { place-items: end stretch; padding: 0; }
  .dlg { width: 100%; max-height: 92%; border-radius: 28px 28px 0 0; padding: 20px 18px 22px; }
}
@keyframes sheetIn { from { transform: translateY(28px); opacity: .7; } to { transform: none; opacity: 1; } }
.dlg h3 { margin: 0; font: 700 24px/1.15 var(--font-display); }
.dlghead { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dlg textarea { width: 100%; min-height: 96px; resize: vertical; border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--well-2); font-size: 16px; }
.dlg textarea:focus { outline: none; border-color: var(--accent); }
.dlg .hint { margin: 0; color: var(--muted); font-size: 14px; }
.dlg .row { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.dlg .row .grow { flex: 1; }
.field { display: grid; gap: 6px; }
.field > span, .flabel { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg label span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: 14px; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--sheet); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; border: 1.5px solid rgba(255,255,255,.7); }
.padwrap { position: relative; }
#pad { display: block; width: 100%; height: 190px; border-radius: 16px; border: 1px solid var(--line); background: #fff; touch-action: none; cursor: crosshair; }
.padline { position: absolute; left: 22px; right: 22px; bottom: 46px; border-top: 1.5px dashed #b9c1c8; pointer-events: none; }
.padhint { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 13px; color: #8a949d; pointer-events: none; }
#ocrText { min-height: 220px; font-size: 15px; line-height: 1.5; }
.xbtn { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--well-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }

/* İndir paneli */
.namefield { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; background: var(--well-2); border: 1px solid var(--line); }
.namefield:focus-within { border-color: var(--accent); }
.namefield input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; font-size: 16px; outline: none; }
.namefield span { font: 500 13px var(--font-mono); color: var(--muted); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-height: 84px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--sheet); cursor: pointer; }
.opt input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt:has(input[type="radio"]:checked) { border: 2px solid var(--accent); padding: 11px 13px; background: var(--accent-soft); }
.opt:has(input[type="radio"]:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt .top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.opt b { font-weight: 600; font-size: 15px; }
.opt .est { font: 500 12.5px var(--font-mono); color: var(--muted); white-space: nowrap; }
.opt:has(input[type="radio"]:checked) .est { color: var(--accent); }
.opt small { font-size: 12.5px; color: var(--muted); }
.opt .tgt { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; font: 500 13px var(--font-mono); color: var(--muted); }
.opt .tgt input { width: 70px; min-height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--sheet); padding: 4px 8px; font: 500 16px var(--font-mono); color: var(--ink); text-align: right; }
.switches { display: grid; }
.switchrow { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; border-top: 1px solid var(--line); cursor: pointer; }
.switchrow .tx { display: grid; gap: 1px; }
.switchrow b { font-weight: 500; font-size: 15px; }
.switchrow small { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
input[role="switch"] { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 52px; height: 32px; margin: 0; border-radius: 999px; background: var(--switch-off); cursor: pointer; transition: background .2s; }
input[role="switch"]::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: transform .32s var(--spring); }
input[role="switch"]:checked { background: var(--accent); }
input[role="switch"]:checked::after { transform: translateX(20px); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--well-2); font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.notice svg.i { margin-top: 1px; }
.addlist { display: grid; gap: 8px; }
.addopt { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--sheet); color: var(--ink); text-align: left; cursor: pointer; transition: transform .35s var(--spring), border-color .15s; }
.addopt:hover { border-color: var(--accent); }
.addopt .ic { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.addopt .tx { display: grid; gap: 1px; }
.addopt b { font-weight: 600; }
.addopt small { font-size: 13px; color: var(--muted); }

#busy { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--scrim); }
#busy .box { background: var(--sheet); color: var(--ink); border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; font-weight: 500; box-shadow: 0 10px 40px rgba(0,0,0,.35); font-variant-numeric: tabular-nums; max-width: calc(100% - 32px); }
.spin { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#toast { position: fixed; left: 50%; bottom: 112px; z-index: 95; transform: translateX(-50%) translateY(8px); opacity: 0; transition: opacity .2s, transform .3s var(--spring); display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px); background: var(--ink); color: var(--sheet); padding: 12px 16px; border-radius: 16px; box-shadow: 0 6px 24px rgba(0,0,0,.25); font-size: 14px; }
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
body.modal-open #toast { bottom: auto; top: 66px; }
body.on-start #toast { bottom: 24px; }
#toast button { border: 0; background: transparent; color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 4px 2px; white-space: nowrap; }

@media (max-width: 380px) {
  .task { min-height: 156px; padding: 16px; }
  .task b { font-size: 21px; }
  .dockbtn { width: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Diller: yazı tipi yedekleri, sağdan sola düzen ---------- */
:root {
  --font-display: "Bricolage Grotesque", "IBM Plex Sans", "IBM Plex Sans Arabic", "IBM Plex Sans Devanagari", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "IBM Plex Sans Arabic", "IBM Plex Sans Devanagari", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Arapça ve Devanagari'de harf aralığı bitişik yazıyı bozar; Çincede gereksiz */
:lang(ar) *, :lang(hi) *, :lang(zh) * { letter-spacing: 0 !important; }
:lang(ar) body, :lang(hi) body { line-height: 1.6; }
:lang(ar) .field > span, :lang(ar) .flabel, :lang(ar) .eyebrow { text-transform: none; }
[dir="rtl"] .pno { left: auto; right: 8px; }
[dir="rtl"] .tags { right: auto; left: 8px; }
[dir="rtl"] .flipx, [dir="rtl"] #bHome svg.i, [dir="rtl"] [data-act="left"] svg.i, [dir="rtl"] [data-act="right"] svg.i { transform: scaleX(-1); }
[dir="rtl"] input[role="switch"]::after { left: auto; right: 3px; }
[dir="rtl"] input[role="switch"]:checked::after { transform: translateX(-20px); }
[dir="rtl"] .task.primary { border-radius: 28px 28px 10px 28px; }
[dir="rtl"] .task.last { border-radius: 28px 28px 28px 10px; }
[dir="rtl"] .task.wide { border-radius: 24px 24px 24px 10px; }
[dir="rtl"] .continue { padding: 12px 16px 12px 12px; }
[dir="rtl"] .dropcard { padding: 16px 18px 16px 16px; }
.task, .dockmain .dm, .addopt { text-align: start; }
.aval { text-align: end; }
body.dragging::after { content: attr(data-drop); }

/* ---------- Başlangıç: dil, hesap, son belgeler ---------- */
.tlend { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.pill svg.i { width: 17px; height: 17px; }
.avatar { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--sheet); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.avatar .avi { font: 700 16px/1 var(--font-display); color: var(--accent-ink); }
.avatar.member { background: var(--ink); border-color: transparent; }
.avatar.member .avi { color: var(--sheet); }
.avatar.member svg.i, .avatar.has-avi svg.i { display: none; }
.avatar.plus { background: var(--accent); box-shadow: 0 0 0 3px var(--sheet), 0 0 0 5px var(--accent); }
.avatar.plus .avi { color: var(--accent-ink); }
.avatar.lg { width: 52px; height: 52px; background: var(--ink); border: 0; }
.avatar.lg .avi { font-size: 22px; color: var(--sheet); }
.avatar.lg.plus .avi { color: var(--accent-ink); }
.recent { display: grid; gap: 10px; }
.sechead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sechead h2 { margin: 0; display: flex; align-items: center; gap: 8px; font: 700 18px var(--font-display); }
.sechead h2 svg.i { width: 18px; height: 18px; color: var(--muted); }
.sechead .linkbtn { padding: 6px 2px; }
.reclist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rec { display: grid; grid-template-rows: auto auto; gap: 8px; width: 100%; padding: 8px 8px 10px; border: 1px solid var(--line); border-radius: 20px; background: var(--sheet); color: var(--ink); cursor: pointer; text-align: start; transition: transform .35s var(--spring), border-color .15s; }
.rec:hover { border-color: var(--accent); }
.rec:active { transform: scale(.97); }
.rec .rth { aspect-ratio: 3 / 4; border-radius: 12px; background: var(--well-2) center / cover no-repeat; border: 1px solid var(--line); }
.rec .rtx { display: grid; gap: 1px; min-width: 0; }
.rec b { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec small { font: 500 11.5px var(--font-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec .cloud { color: var(--accent); }
.installcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 22px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); text-align: start; cursor: pointer; }
.installcard .ic { width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--well-2); display: grid; place-items: center; }
.installcard .tx { display: grid; gap: 2px; }
.installcard b { font-weight: 600; }
.installcard small { font-size: 13px; color: var(--muted); }
.trustline[role="button"] { cursor: pointer; }
.legalfoot { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); }
.legalfoot a { color: inherit; text-underline-offset: 3px; }
.legalfoot .sister { flex-basis: 100%; }
.legalfoot .sister a { color: var(--accent); font-weight: 600; }
@media (max-width: 400px) { .brandmark { font-size: 18px; gap: 8px; } .logo { width: 32px; height: 32px; } }

/* ---------- Paneller: üyelik, hesap, Plus, geçmiş ---------- */
.lead2 { margin: -4px 0 0; color: var(--ink-2); font-size: 15px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.perks li { position: relative; padding-inline-start: 28px; font-size: 14.5px; line-height: 1.45; }
.perks li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D0202A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.gbtn { min-height: 52px; border-radius: 16px; font-weight: 600; font-size: 16px; }
.gbtn svg.i { width: 20px; height: 20px; stroke-width: 1.6; }
.gsibox { display: flex; justify-content: center; min-height: 44px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.otpform { display: grid; gap: 10px; }
.tfield { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; background: var(--well-2); font-size: 16px; }
.tfield:focus { outline: none; border-color: var(--accent); }
.tsbox:empty { display: none; }
.okmsg { color: var(--ok-ink) !important; background: var(--ok-bg); padding: 10px 12px; border-radius: 12px; }
.errmsg { color: var(--accent) !important; }
.fine { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.fine a { color: inherit; }
.acccard { display: flex; align-items: center; gap: 12px; }
.acccard .tx { flex: 1; min-width: 0; display: grid; }
.acccard b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acccard small { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.planbadge { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--well-2); color: var(--ink-2); }
.planbadge.plus { background: var(--accent); color: var(--accent-ink); }
.planbadge.free { background: var(--ok-bg); color: var(--ok-ink); }
.plustag { display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; vertical-align: 1px; }
.meter { display: grid; gap: 6px; }
.meter .bar { height: 8px; border-radius: 99px; background: var(--well-2); overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .4s var(--spring); }
.meter small { color: var(--muted); font-size: 13px; }
.pluscta { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: var(--accent-soft); }
.pluscta.on { background: var(--ok-bg); color: var(--ok-ink); }
.pluscta .tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pluscta b { font: 700 17px var(--font-display); }
.pluscta small { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.pluscta.on small { color: inherit; }
.backuprow { align-items: center; }
.linkrows { display: grid; border-top: 1px solid var(--line); }
.linkrow { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; text-align: start; font-size: 15px; }
.linkrow .grow { flex: 1; }
a.linkrow { text-decoration: none; }
.linkrow .val { color: var(--muted); font-size: 14px; }
.linkrow svg.i:first-child { color: var(--muted); }
.langlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: min(58vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: 2px; margin: -2px; }
.langopt[hidden] { display: none; }
.langfind { margin-bottom: 2px; }
html.i18n-wait body { visibility: hidden; }
.langopt { min-height: 60px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--sheet); color: var(--ink); display: grid; gap: 2px; text-align: start; cursor: pointer; }
.langopt b { font-weight: 600; font-size: 16px; }
.langopt small { font: 500 11.5px var(--font-mono); color: var(--muted); }
.langopt[aria-current="true"] { border: 2px solid var(--accent); padding: 9px 13px; background: var(--accent-soft); }
.plans .opt { min-height: 84px; }
.plans .opt .top { flex-direction: column; align-items: flex-start; gap: 2px; }
.plans .opt .est { font: 700 17px var(--font-display); color: var(--ink); white-space: normal; }
.plans .opt:has(input[type="radio"]:checked) .est { color: var(--accent); }
.usage { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--well-2); font-size: 13.5px; color: var(--ink-2); }
.usage .linkbtn { padding: 2px 0; font-size: 13.5px; }
.usage.low { background: var(--accent-soft); }
.selrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.selrow select { min-height: 40px; max-width: 60%; border: 1px solid var(--line); border-radius: 12px; padding: 4px 10px; background: var(--sheet); color: var(--ink); font: inherit; }
#ocrDlg .selrow { border-top: 0; min-height: 44px; }
.histlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hitem { display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; }
.hitem .hth { width: 46px; height: 60px; flex: none; border-radius: 9px; background: var(--well-2) center / cover no-repeat; border: 1px solid var(--line); }
.hitem .tx { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hitem b { font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hitem small { font: 500 11.5px var(--font-mono); color: var(--muted); }
.hitem .acts { display: flex; gap: 4px; }
.hitem .acts button { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--well-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.hitem .acts button.del { color: var(--accent); }
.steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 8px; }
.checkrow { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.checkrow input { width: 18px; height: 18px; accent-color: var(--accent); }
.savedsig { display: grid; gap: 6px; }
.sigchip { height: 64px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.sigchip img { height: 100%; width: auto; display: block; }

/* ---------- Canlı kamera ---------- */
.cam { background: #000; }
.cam .mhead { background: #000; }
.camstage { background: #000; }
.camstage video, .camstage svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
#camQuad { fill: rgba(208, 32, 42, .18); stroke: #FF5252; stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: opacity .2s; }
#camQuad.lock { fill: rgba(64, 190, 120, .22); stroke: #4CD08A; }
.camhint { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap; max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis; }
.camflash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.camflash.on { animation: camflash .35s ease-out; }
@keyframes camflash { from { opacity: .85; } to { opacity: 0; } }
.camfoot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 16px 18px calc(18px + env(safe-area-inset-bottom)); background: #000; color: #fff; }
.autotog { display: flex; align-items: center; gap: 10px; font-size: 13.5px; justify-self: start; cursor: pointer; }
.shutter { width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff; background: transparent; padding: 5px; cursor: pointer; transition: transform .3s var(--spring); }
.shutter span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; }
.shutter:active { transform: scale(.92); }
.camdone { justify-self: end; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 14px 6px 6px; border-radius: 16px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-weight: 600; cursor: pointer; }
.camdone:disabled { opacity: .4; cursor: default; }
.camthumb { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .2) center / cover no-repeat; }

/* ---------- Açılış sayfaları (yalnızca kendi sitesinde): araç üstte, açıklama altta ---------- */
.cta { margin: 2px 0 4px; }
.langsuggest { position: fixed; z-index: 40; inset-inline: 0; bottom: calc(16px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 24px); margin: 0 auto; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; box-shadow: 0 6px 24px rgba(0, 0, 0, .14); animation: lsIn .35s var(--spring) both; }
.langsuggest a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: 14px; text-decoration: none; }
.langsuggest .x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.langsuggest svg.i { width: 16px; height: 16px; }
body:not(.on-start) .langsuggest { display: none; }
@keyframes lsIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .langsuggest { animation: none; } }
.seo { display: grid; gap: 10px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.seo h2 { margin: 16px 0 2px; font: 700 23px/1.2 var(--font-display); letter-spacing: -.01em; }
.seo h2:first-child { margin-top: 0; }
.seo p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.seo .steps3 { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; }
.seo .steps3 li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; padding: 14px; border-radius: 18px; background: var(--sheet); border: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.seo .steps3 li::before { content: counter(s); grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.seo .steps3 b, .seo .why b { color: var(--ink); font-weight: 600; }
.seo .why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.seo .why li { padding: 14px; border-radius: 18px; background: var(--sheet); border: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; line-height: 1.5; }
.seo .why b { display: block; margin-bottom: 2px; }
.seo details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.seo summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style-position: outside; }
.seo details p { margin-top: 8px; font-size: 15px; }
.seo .tools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seo .tools a { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--sheet); color: var(--ink); text-decoration: none; font-weight: 500; }
.seo .tools a:hover { border-color: var(--accent); }
.langlinks { font-family: system-ui, sans-serif; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.langlinks a { color: inherit; }
