/* Perso-X kullanım kılavuzu. Kaynak: kilavuz/src (build.py --app ile üretilir; elle düzenlemeyin). */
@font-face { font-family: 'Inter'; src: url('/site/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --f-display: 'Inter', 'Segoe UI', system-ui, sans-serif; --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif; --f-mono: ui-monospace, 'Cascadia Mono', Consolas, monospace; color-scheme: light; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; } img { max-width: 100%; } [hidden] { display: none !important; }
/* Layout: sticky top bar + left table of contents + lessons; each lesson = device demo beside numbered steps.
   Signature: a highlighter-yellow "trainer's marker" that circles the exact spot to click on every screen. */
:root {
  --bg: #f5f5f9;
  --paper: #ffffff;
  --paper2: #eef0f7;
  --fg: #1a1c2c;
  --muted: #595e78;
  --line: #dfe1ec;
  --accent: #4f46e5;
  --accent-ink: #3730a3;
  --accent-soft: #e9e8fd;
  --mark: #ffd23f;
  --mark-ink: #3b2f00;
  --ok: #15803d;
  --ok-soft: #e3f4e9;
  --warn: #b45309;
  --warn-soft: #fcf0de;
  --bad: #c62828;
  --bad-soft: #fbe6e6;
  --shadow: 0 1px 2px rgba(20, 22, 40, 0.05), 0 8px 28px rgba(20, 22, 40, 0.08);
  
  
  
  /* Perso-X ürün ekranı (resim gibidir, iki temada da aynı kalır) */
  --m-bg: #f4f6fb;
  --m-surface: #ffffff;
  --m-surface2: #f8f9fd;
  --m-border: #e6e9f2;
  --m-text: #1f2437;
  --m-text2: #5b6275;
  --m-primary: #4f46e5;
  --m-primary-2: #9333ea;
  --m-sel: #eef0ff;
  --m-sel-text: #4338ca;
  --m-green: #15803d;
  --m-green-bg: #e7f6ec;
  --m-orange: #b45309;
  --m-orange-bg: #fdf1e1;
  --m-red: #dc2626;
  --m-red-bg: #fde9e9;
  --m-blue: #2563eb;
  --m-blue-bg: #e7efff;
  --m-purple: #7e22ce;
  --m-purple-bg: #f3e8ff;
  --m-cyan: #0e7490;
  --m-cyan-bg: #e0f5f9;
  --m-gray: #5b6275;
  --m-gray-bg: #eef0f5;
  --m-dim: rgba(15, 18, 32, 0.42);
  /* mobil uygulama (Perso-X mobil teması, koyu) */
  --a-bg: #07080d;
  --a-surface: #11131b;
  --a-surface2: #181b25;
  --a-border: rgba(255, 255, 255, 0.08);
  --a-text: #f5f6fb;
  --a-text2: #b0b4c6;
  --a-text3: #737891;
  --a-primary: #7c5cff;
  --a-primary-2: #b455f7;
  --a-soft: rgba(124, 92, 255, 0.16);
  --a-green: #3ddc97;
  --a-orange: #ffc247;
  --a-red: #ff6b6b;
  --a-blue: #5ea8ff;
  /* terminal */
  --k-bg1: #1e293b;
  --k-bg2: #0b1120;
  --k-text: #f8fafc;
  --k-muted: #94a3b8;
  /* cihaz çerçeveleri */
  --dev-bezel: #16171f;
  --dev-bezel-2: #2a2c38;
  --dev-stand: #c9ccd8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #11121a;
    --paper: #191a25;
    --paper2: #20222f;
    --fg: #e9eaf3;
    --muted: #a3a7bf;
    --line: #2d3040;
    --accent: #8b85ff;
    --accent-ink: #c4c1ff;
    --accent-soft: #26244a;
    --mark: #ffd23f;
    --mark-ink: #3b2f00;
    --ok: #4ade80;
    --ok-soft: #173024;
    --warn: #fbbf24;
    --warn-soft: #33270f;
    --bad: #f87171;
    --bad-soft: #3a1a1c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
    --dev-stand: #3a3d4c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #11121a;
  --paper: #191a25;
  --paper2: #20222f;
  --fg: #e9eaf3;
  --muted: #a3a7bf;
  --line: #2d3040;
  --accent: #8b85ff;
  --accent-ink: #c4c1ff;
  --accent-soft: #26244a;
  --mark: #ffd23f;
  --mark-ink: #3b2f00;
  --ok: #4ade80;
  --ok-soft: #173024;
  --warn: #fbbf24;
  --warn-soft: #33270f;
  --bad: #f87171;
  --bad-soft: #3a1a1c;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 28px rgba(0, 0, 0, 0.35);
  --dev-stand: #3a3d4c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.15; text-wrap: balance; margin: 0; color: var(--fg); }
p { margin: 0; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
kbd, .code { font-family: var(--f-mono); font-size: 0.9em; background: var(--paper2); border: 1px solid var(--line); border-radius: 6px; padding: 0.05em 0.4em; }
.btnref { display: inline-block; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); border-radius: 6px; padding: 0 0.4em; white-space: nowrap; }
.mk { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--mark) 75%, transparent) 55%); padding: 0 0.1em; }

/* ---------------------------------------------------------------- üst çubuk */
.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px max(16px, 2vw);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #4f46e5, #9333ea); display: grid; place-items: center; }
.brand-mark svg { width: 20px; height: 20px; }
.brand b { font-family: var(--f-display); font-size: 19px; letter-spacing: -0.01em; }
.brand small { display: block; font-size: 12px; color: var(--muted); line-height: 1.1; }
.search { flex: 1 1 auto; max-width: 460px; margin-left: auto; position: relative; min-width: 0; }
.search input {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 9px 14px 9px 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--fg);
}
.search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); }
.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-height: 60vh;
  overflow: auto;
  padding: 6px;
}
.search-results a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--fg); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--accent-soft); }
.search-results small { display: block; color: var(--muted); font-size: 12.5px; }
.search-results .none { padding: 10px; color: var(--muted); font-size: 14px; }
.menu-btn { display: none; font: inherit; font-weight: 600; border: 1px solid var(--line); background: var(--paper); color: var(--fg); border-radius: 10px; padding: 7px 12px; }

/* ---------------------------------------------------------------- iskelet */
.shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 0; max-width: 1480px; margin: 0 auto; }
.toc {
  position: sticky;
  top: calc(61px + env(safe-area-inset-top, 0px));
  align-self: start;
  height: calc(100vh - 61px);
  overflow: auto;
  padding: 22px 14px 40px 20px;
  border-right: 1px solid var(--line);
  font-size: 14.5px;
}
.toc h4 { font-family: var(--f-body); font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 20px 8px 6px; }
.toc h4:first-child { margin-top: 0; }
.toc a { display: flex; gap: 8px; align-items: baseline; padding: 5px 8px; border-radius: 8px; color: var(--fg); text-decoration: none; line-height: 1.35; }
.toc a:hover { background: var(--paper2); }
.toc a.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.toc a .n { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); min-width: 26px; }
main { min-width: 0; padding: 0 max(16px, 3vw) 120px; }

/* ---------------------------------------------------------------- giriş bölümü */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: 44px 0 30px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); letter-spacing: -0.025em; margin: 10px 0 16px; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 60%, var(--mark) 60%); color: var(--fg); padding: 0 0.08em; }
.lead { font-size: 18.5px; color: var(--muted); max-width: 60ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero-facts i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }

.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; margin: 10px 0 8px; }
.role {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 14px;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--fg);
  transition: border-color 0.15s, transform 0.15s;
}
.role:hover { border-color: var(--accent); transform: translateY(-2px); }
.role b { font-family: var(--f-display); font-size: 17.5px; }
.role span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.role .go { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--accent); }

/* ---------------------------------------------------------------- bölümler */
.part { padding-top: 56px; }
.part-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px; align-items: end; padding-bottom: 18px; border-bottom: 2px solid var(--fg); margin-bottom: 8px; }
.part-no { grid-row: span 2; font-family: var(--f-display); font-size: clamp(54px, 7vw, 86px); line-height: 0.85; color: var(--accent); font-weight: 800; letter-spacing: -0.04em; }
.part-head h2 { font-size: clamp(27px, 3.2vw, 38px); letter-spacing: -0.02em; }
.part-head p { color: var(--muted); max-width: 72ch; }
.who-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; grid-column: 2; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--paper2); color: var(--muted); border: 1px solid var(--line); }
.chip.hl { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

.lesson { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.lesson:last-child { border-bottom: 0; }
.lesson-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 6px; }
.lesson-no { font-family: var(--f-mono); font-size: 13px; color: var(--accent); font-weight: 700; }
.lesson h3 { font-size: clamp(22px, 2.3vw, 27px); letter-spacing: -0.015em; }
.lesson .why { color: var(--muted); max-width: 78ch; margin-bottom: 16px; }
.where { font-size: 14px; color: var(--muted); margin: -8px 0 16px; }
.where b { color: var(--fg); font-weight: 600; }

/* demo: cihaz + adımlar */
.demo { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 34px); align-items: start; }
.demo.is-phone { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.demo-stage { position: relative; min-width: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: s; min-width: 0; }
.steps li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 12px 9px 9px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.steps li:hover { background: var(--paper); border-color: var(--line); }
.steps li .sn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  background: var(--paper2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.steps li .st { font-size: 15.5px; line-height: 1.5; padding-top: 2px; }
.steps li.on { background: var(--paper); border-color: var(--line); box-shadow: var(--shadow); }
.steps li.on .sn { background: var(--mark); color: var(--mark-ink); border-color: transparent; }
.steps li.done .sn { background: var(--accent-soft); color: var(--accent-ink); border-color: transparent; }

.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.cbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--fg);
  cursor: pointer;
}
.cbtn:hover { border-color: var(--accent); }
.cbtn svg { width: 15px; height: 15px; }
.cbtn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.speed { margin-left: auto; font-size: 13px; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; }
.speed button { font: inherit; font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); background: var(--paper); color: var(--muted); border-radius: 8px; padding: 3px 8px; cursor: pointer; }
.speed button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; margin-top: 18px; }
.note { padding: 12px 14px 12px 42px; border-radius: 12px; position: relative; font-size: 15px; line-height: 1.5; }
.note::before { position: absolute; left: 13px; top: 12px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; font-family: var(--f-mono); }
.note.tip { background: var(--ok-soft); }
.note.tip::before { content: 'i'; background: var(--ok); color: var(--paper); }
.note.warn { background: var(--warn-soft); }
.note.warn::before { content: '!'; background: var(--warn); color: var(--paper); }
.note.stop { background: var(--bad-soft); }
.note.stop::before { content: '×'; background: var(--bad); color: var(--paper); }
.note b { font-weight: 700; }

/* ---------------------------------------------------------------- tablolar, sözlük, SSS */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); margin-top: 14px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.t th { text-align: left; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--paper2); }
table.t td { padding: 9px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.c { text-align: center; }
.yes { color: var(--ok); font-weight: 800; }
.no { color: var(--muted); }

.faq { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+'; font-family: var(--f-mono); color: var(--accent); font-weight: 800; }
.faq details[open] summary::before { content: '−'; }
.faq .who { font-weight: 600; font-size: 12.5px; color: var(--muted); margin-left: auto; white-space: nowrap; }
.faq .ans { padding: 0 0 16px 22px; color: var(--fg); }
.faq .ans ol, .faq .ans ul { margin: 6px 0 0; padding-left: 20px; }
.faq .ans li { margin: 3px 0; }

.tagx { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; padding: 2px 9px; border-radius: 6px; white-space: nowrap; }
.tagx.g { background: var(--m-green-bg); color: var(--m-green); }
.tagx.o { background: var(--m-orange-bg); color: var(--m-orange); }
.tagx.r { background: var(--m-red-bg); color: var(--m-red); }
.tagx.b { background: var(--m-blue-bg); color: var(--m-blue); }
.tagx.p { background: var(--m-purple-bg); color: var(--m-purple); }
.tagx.c { background: var(--m-cyan-bg); color: var(--m-cyan); }
.tagx.n { background: var(--m-gray-bg); color: var(--m-gray); }

.checklist { counter-reset: c; list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.checklist li { counter-increment: c; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 12px 50px; position: relative; font-size: 15px; }
.checklist li::before { content: counter(c); position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--fg); color: var(--bg); display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; font-size: 13px; }
.checklist li a { font-weight: 700; text-decoration: none; }
.checklist li small { display: block; color: var(--muted); font-size: 13.5px; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 4px; font-size: 14.5px; }
.flow span { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 6px 11px; font-weight: 600; }
.flow i { color: var(--muted); font-style: normal; }

footer.foot { margin-top: 70px; padding: 26px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px 26px; }

/* ---------------------------------------------------------------- cihaz çerçeveleri */
.device { position: relative; margin: 0 auto; }
.device .vp { position: relative; overflow: hidden; }
.device .screen { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; transition: transform .8s cubic-bezier(.4,.1,.2,1); }
@media (prefers-reduced-motion: reduce) { .device .screen { transition: none; } }
.zoomt { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.zoomt input { accent-color: var(--accent); width: 16px; height: 16px; }
.dev-monitor { max-width: 100%; }
.dev-monitor .bezel { background: var(--dev-bezel); border-radius: 16px; padding: 12px 12px 12px; box-shadow: var(--shadow); border: 1px solid var(--dev-bezel-2); }
.dev-monitor .vp { border-radius: 6px; aspect-ratio: 1280 / 780; }
.dev-monitor .chin { height: 18px; display: grid; place-items: center; }
.dev-monitor .chin i { width: 6px; height: 6px; border-radius: 50%; background: #3b3e4d; }
.dev-monitor .neck { width: 16%; height: 30px; margin: 0 auto; background: linear-gradient(var(--dev-stand), color-mix(in srgb, var(--dev-stand) 70%, #000)); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.dev-monitor .foot { width: 34%; height: 9px; margin: 0 auto; border-radius: 6px 6px 3px 3px; background: var(--dev-stand); }
.dev-phone { width: min(100%, 330px); }
.dev-phone .bezel { background: var(--dev-bezel); border-radius: 44px; padding: 11px; box-shadow: var(--shadow); border: 1px solid var(--dev-bezel-2); }
.dev-phone .vp { border-radius: 34px; aspect-ratio: 390 / 800; }
.dev-tablet .bezel { background: var(--dev-bezel); border-radius: 26px; padding: 18px; box-shadow: var(--shadow); border: 1px solid var(--dev-bezel-2); }
.dev-tablet .vp { border-radius: 8px; aspect-ratio: 1180 / 720; }

.dev-label { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* imleç, parmak, işaret kalemi */
.cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; z-index: 900; pointer-events: none; transition: transform 0.7s cubic-bezier(.45,.05,.25,1); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.finger { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.85); z-index: 900; pointer-events: none; transition: transform 0.6s cubic-bezier(.45,.05,.25,1), opacity .3s; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.ring { position: absolute; z-index: 850; pointer-events: none; border: 4px solid var(--mark); border-radius: 12px; box-shadow: 0 0 0 4px color-mix(in srgb, var(--mark) 35%, transparent); animation: ringIn .35s ease-out both; }
.ring b { position: absolute; top: -17px; left: -17px; width: 30px; height: 30px; border-radius: 50%; background: var(--mark); color: var(--mark-ink); font: 800 15px/30px var(--f-mono); text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
@keyframes ringIn { from { opacity: 0; transform: scale(1.25); } to { opacity: 1; transform: scale(1); } }
.ripple { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--mark); z-index: 880; pointer-events: none; animation: rip .6s ease-out forwards; }
@keyframes rip { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(3.4); } }
.pressed { filter: brightness(.9); transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  .cursor, .finger { transition: none; }
  .ring { animation: none; }
}

/* ---------------------------------------------------------------- dar ekran */
@media (max-width: 1080px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .toc { position: fixed; top: calc(61px + env(safe-area-inset-top, 0px)); left: 0; bottom: 0; width: min(320px, 86vw); height: auto; background: var(--paper); z-index: 60; box-shadow: var(--shadow); transform: translateX(-105%); transition: transform .25s; }
  .toc.open { transform: none; }
  .menu-btn { display: inline-block; }
  .hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .demo, .demo.is-phone { grid-template-columns: minmax(0, 1fr); }
  .brand small { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand b { display: none; }
  .part-head { grid-template-columns: minmax(0, 1fr); }
  .part-no { grid-row: auto; font-size: 48px; }
  .who-row { grid-column: 1; }
  .speed { margin-left: 0; }
}

.howto { padding: 22px 22px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.howto h3 { font-size: 20px; margin-bottom: 10px; }
.howto .steps li { cursor: default; }
.howto .steps li:hover { background: none; border-color: transparent; }
.howto .sn.mk1 { background: var(--mark); color: var(--mark-ink); border-color: transparent; }
.roles-h { font-size: clamp(22px, 2.4vw, 27px); margin: 18px 0 4px; }
.roles-p { color: var(--muted); margin-bottom: 12px; }

[hidden] { display: none !important; }
/* ================================================================ Perso-X web paneli (sanal 1280 × 780) */
.pn { width: 1280px; height: 780px; display: grid; grid-template-columns: 232px 1fr; background: var(--m-bg); color: var(--m-text); font: 14px/1.45 'Inter', 'Segoe UI', system-ui, sans-serif; position: relative; }
.pn * { box-sizing: border-box; }
.pn-side { background: var(--m-surface); border-right: 1px solid var(--m-border); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.pn-logo { display: flex; align-items: center; gap: 10px; padding: 2px 8px 16px; font-weight: 700; font-size: 17px; }
.pn-logo i { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--m-primary), var(--m-primary-2)); display: grid; place-items: center; }
.pn-logo i::before { content: ''; width: 14px; height: 14px; background: linear-gradient(45deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%), linear-gradient(-45deg, transparent 42%, #fff 42%, #fff 58%, transparent 58%); }
.pn-logo small { display: block; font-size: 11px; font-weight: 500; color: var(--m-text2); }
.pn-mi { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; color: var(--m-text); font-size: 13.5px; white-space: nowrap; }
.pn-mi .ic { width: 16px; height: 16px; border-radius: 4px; border: 1.8px solid currentColor; opacity: .55; flex-shrink: 0; }
.pn-mi.grp::after { content: '›'; margin-left: auto; opacity: .5; }
.pn-mi.grp.open::after { transform: rotate(90deg); }
.pn-mi.sub { padding-left: 36px; font-size: 13px; }
.pn-mi.on { background: var(--m-sel); color: var(--m-sel-text); font-weight: 600; }
.pn-mi.on .ic { opacity: 1; }
.pn-main { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.pn-head { height: 56px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 0 22px; border-bottom: 1px solid var(--m-border); background: rgba(244,246,251,.9); flex-shrink: 0; }
.pn-iconbtn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--m-border); background: var(--m-surface); display: grid; place-items: center; position: relative; color: var(--m-text2); font-size: 15px; }
.pn-iconbtn .bdg { position: absolute; top: -5px; right: -6px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--m-red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; }
.pn-user { display: flex; align-items: center; gap: 9px; padding: 4px 10px 4px 4px; border-radius: 10px; border: 1px solid var(--m-border); background: var(--m-surface); font-size: 13px; }
.pn-av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #a5b4fc, #c084fc); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.pn-body { flex: 1; padding: 20px 26px; overflow: hidden; position: relative; }
.pn-scroll { transition: transform .6s ease; }
.pn-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pn-title h1 { font-size: 23px; font-weight: 700; margin: 0; letter-spacing: -0.01em; font-family: inherit; color: var(--m-text); }
.pn-title p { color: var(--m-text2); font-size: 13.5px; margin: 2px 0 0; }
.pn-actions { display: flex; gap: 8px; flex-shrink: 0; }
.pn-card { background: var(--m-surface); border: 1px solid var(--m-border); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.05); }
.pn-card-h { padding: 14px 18px; border-bottom: 1px solid var(--m-border); font-weight: 650; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pn-card-b { padding: 16px 18px; }
.pn-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pn-grid { display: grid; gap: 12px; }
.pn-muted { color: var(--m-text2); }
.pn-small { font-size: 12.5px; }

.b { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--m-border); background: var(--m-surface); color: var(--m-text); font-size: 13.5px; font-weight: 550; white-space: nowrap; transition: filter .15s, transform .15s; }
.b.pri { background: var(--m-primary); border-color: var(--m-primary); color: #fff; }
.b.dan { background: var(--m-surface); border-color: #f3b4b4; color: var(--m-red); }
.b.dan.full { background: var(--m-red); border-color: var(--m-red); color: #fff; }
.b.link { border: 0; background: none; color: var(--m-primary); padding: 0 4px; }
.b.sm { height: 28px; font-size: 12.5px; padding: 0 10px; border-radius: 7px; }
.b.lg { height: 42px; font-size: 15px; padding: 0 20px; }
.b.block { width: 100%; }

.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld > label { font-size: 13px; font-weight: 550; color: var(--m-text); }
.fld .hint { font-size: 12px; color: var(--m-text2); line-height: 1.35; }
.in { height: 36px; border: 1px solid #d5d9e6; border-radius: 8px; background: var(--m-surface); display: flex; align-items: center; padding: 0 11px; font-size: 13.5px; color: var(--m-text); position: relative; overflow: hidden; white-space: nowrap; transition: border-color .2s, box-shadow .2s; }
.in.focus { border-color: var(--m-primary); box-shadow: 0 0 0 3px rgba(79,70,229,.14); }
.in .v:empty::before { content: attr(data-ph); color: #9aa0b2; }
.in.sel::after { content: '⌄'; position: absolute; right: 11px; top: 6px; color: var(--m-text2); }
.in.pw .v { letter-spacing: 2px; }
.in.area { height: 64px; align-items: flex-start; padding-top: 8px; white-space: normal; }
.caret { display: none; width: 1.5px; height: 17px; background: var(--m-primary); margin-left: 1px; animation: blink 1s steps(1) infinite; }
.in.focus .caret { display: inline-block; }
@keyframes blink { 50% { opacity: 0; } }
.sw { width: 36px; height: 20px; border-radius: 10px; background: #cfd3df; position: relative; flex-shrink: 0; transition: background .2s; }
.sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sw.on { background: var(--m-primary); }
.sw.on::after { transform: translateX(16px); }
.chk { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #c3c8d6; display: inline-grid; place-items: center; flex-shrink: 0; }
.chk.on { background: var(--m-primary); border-color: var(--m-primary); }
.chk.on::after { content: '✓'; color: #fff; font-size: 11px; font-weight: 800; }
.seg { display: inline-flex; border: 1px solid var(--m-border); border-radius: 9px; background: var(--m-surface2); padding: 3px; gap: 2px; }
.seg span { padding: 4px 11px; border-radius: 7px; font-size: 12.5px; color: var(--m-text2); white-space: nowrap; }
.seg span.on { background: var(--m-surface); color: var(--m-text); font-weight: 600; box-shadow: 0 1px 3px rgba(16,24,40,.12); }

.tg { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 6px; border: 1px solid transparent; white-space: nowrap; line-height: 20px; }
.tg.g { background: var(--m-green-bg); color: var(--m-green); border-color: #bfe5cb; }
.tg.o { background: var(--m-orange-bg); color: var(--m-orange); border-color: #f5d3a6; }
.tg.r { background: var(--m-red-bg); color: var(--m-red); border-color: #f6c0c0; }
.tg.b { background: var(--m-blue-bg); color: var(--m-blue); border-color: #c3d6fb; }
.tg.p { background: var(--m-purple-bg); color: var(--m-purple); border-color: #e0c7fb; }
.tg.c { background: var(--m-cyan-bg); color: var(--m-cyan); border-color: #b5e3ec; }
.tg.n { background: var(--m-gray-bg); color: var(--m-gray); border-color: #dde0e8; }

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--m-border); margin-bottom: 14px; }
.tabs span { padding: 8px 2px 10px; font-size: 13.5px; color: var(--m-text2); position: relative; white-space: nowrap; }
.tabs span.on { color: var(--m-primary); font-weight: 600; }
.tabs span.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--m-primary); border-radius: 2px; }

table.mt { width: 100%; border-collapse: collapse; font-size: 13px; }
table.mt th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--m-text2); background: var(--m-surface2); padding: 9px 12px; border-bottom: 1px solid var(--m-border); white-space: nowrap; }
table.mt td { padding: 9px 12px; border-bottom: 1px solid var(--m-border); white-space: nowrap; }
table.mt tr.hl td { background: #fffbe6; }
.person { display: flex; align-items: center; gap: 9px; }
.person .pn-av { width: 26px; height: 26px; font-size: 11px; }
.person small { display: block; color: var(--m-text2); font-size: 11.5px; line-height: 1.2; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { background: var(--m-surface); border: 1px solid var(--m-border); border-radius: 14px; padding: 14px 16px; position: relative; overflow: hidden; }
.tile::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tc, var(--m-primary)); }
.tile .tl { font-size: 12.5px; color: var(--m-text2); }
.tile .tv { font-size: 28px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.tile .ts { font-size: 11.5px; color: var(--m-text2); }

/* katmanlar: pencere, çekmece, bildirim, açılır menü */
.layer { position: absolute; inset: 0; z-index: 400; }
.layer.dim { background: var(--m-dim); animation: fadeIn .25s ease both; }
.modal { position: absolute; left: 50%; top: 54px; width: 560px; margin-left: -280px; background: var(--m-surface); border-radius: 14px; box-shadow: 0 18px 50px rgba(15,18,32,.3); animation: pop .28s cubic-bezier(.2,.9,.3,1.2) both; overflow: hidden; }
.modal.w7 { width: 700px; margin-left: -350px; }
.modal.w4 { width: 440px; margin-left: -220px; }
.modal-h { padding: 16px 20px 6px; font-size: 16.5px; font-weight: 700; display: flex; justify-content: space-between; }
.modal-h::after { content: '✕'; color: var(--m-text2); font-weight: 400; font-size: 14px; }
.modal-b { padding: 10px 20px 8px; display: flex; flex-direction: column; gap: 12px; }
.modal-f { padding: 12px 20px 16px; display: flex; justify-content: flex-end; gap: 8px; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 520px; background: var(--m-surface); box-shadow: -18px 0 50px rgba(15,18,32,.22); animation: slideL .32s cubic-bezier(.2,.8,.3,1) both; display: flex; flex-direction: column; }
.drawer-h { padding: 16px 20px; border-bottom: 1px solid var(--m-border); font-weight: 700; font-size: 16px; }
.drawer-h small { display: block; font-weight: 500; color: var(--m-text2); font-size: 12.5px; }
.drawer-b { padding: 14px 20px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.toast { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 700; background: var(--m-surface); border-radius: 10px; padding: 10px 16px; box-shadow: 0 8px 28px rgba(15,18,32,.22); font-size: 13.5px; display: flex; gap: 8px; align-items: center; animation: drop .3s ease both; white-space: nowrap; }
.toast::before { content: '✓'; width: 18px; height: 18px; border-radius: 50%; background: var(--m-green); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.toast.err::before { content: '!'; background: var(--m-red); }
.menu { position: absolute; z-index: 500; background: var(--m-surface); border-radius: 10px; box-shadow: 0 10px 34px rgba(15,18,32,.22); padding: 5px; min-width: 210px; animation: pop .2s ease both; }
.menu div { padding: 7px 11px; border-radius: 7px; font-size: 13px; white-space: nowrap; }
.menu div.dng { color: var(--m-red); }
.menu hr { border: 0; border-top: 1px solid var(--m-border); margin: 4px 0; }
.alert { border-radius: 10px; padding: 10px 13px; font-size: 13px; line-height: 1.45; border: 1px solid; }
.alert.w { background: #fff8eb; border-color: #f8dcae; color: #7a4a06; }
.alert.i { background: #eef4ff; border-color: #cbdcfc; color: #1e3a8a; }
.alert.e { background: #fff0f0; border-color: #f6c7c7; color: #8f1d1d; }
.alert.s { background: #edf9f1; border-color: #bfe5cb; color: #14532d; }
.codebox { font: 700 30px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 4px; text-align: center; padding: 18px; border-radius: 12px; background: var(--m-surface2); border: 1px dashed #c3c8d6; color: var(--m-text); }
.qr { width: 150px; height: 150px; background-color: #fff; background-image: var(--qr); background-size: cover; image-rendering: pixelated; border-radius: 6px; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.menu { animation-name: popm; }
@keyframes popm { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes slideL { from { transform: translateX(100%); } to { transform: none; } }
@keyframes drop { from { opacity: 0; transform: translate(-50%, -12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.appear { animation: fadeIn .35s ease both; }

/* vardiya ızgarası */
.grid-sh { display: grid; grid-template-columns: 170px repeat(7, 1fr) 70px; font-size: 12.5px; border: 1px solid var(--m-border); border-radius: 12px; overflow: hidden; background: var(--m-surface); }
.grid-sh > div { padding: 7px 8px; border-bottom: 1px solid var(--m-border); border-right: 1px solid var(--m-border); min-height: 38px; display: flex; align-items: center; }
.grid-sh .gh { background: var(--m-surface2); font-weight: 600; color: var(--m-text2); flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.2; font-size: 12px; }
.grid-sh .gh small { font-weight: 500; font-size: 10.5px; }
.cell { justify-content: center; }
.cell i { font-style: normal; font-weight: 700; font-size: 12px; padding: 3px 0; border-radius: 6px; width: 100%; text-align: center; display: block; }
.cell i.S { background: #e0e7ff; color: #3730a3; }
.cell i.A { background: #fae8ff; color: #86198f; }
.cell i.O { background: #dcfce7; color: #166534; }
.cell i.OFF { background: #f1f5f9; color: #64748b; }
.cell i.IZN { background: #f3e8ff; color: #6b21a8; }
.cell.red { box-shadow: inset 0 0 0 2px var(--m-red); }
.cell.yel { box-shadow: inset 0 0 0 2px #eab308; }
.chipx { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--m-border); border-radius: 8px; font-size: 12.5px; font-weight: 600; background: var(--m-surface); }
.chipx.on { border-color: var(--m-primary); box-shadow: 0 0 0 2px rgba(79,70,229,.2); }
.chipx i { font-style: normal; width: 22px; text-align: center; border-radius: 5px; font-size: 11px; padding: 1px 0; }

/* sihirbaz adımları */
.wz { display: flex; gap: 8px; margin-bottom: 14px; }
.wz span { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--m-text2); }
.wz span b { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #cdd2df; display: grid; place-items: center; font-size: 12px; flex-shrink: 0; }
.wz span.on { color: var(--m-text); font-weight: 600; }
.wz span.on b { background: var(--m-primary); border-color: var(--m-primary); color: #fff; }
.wz span.ok b { background: var(--m-green-bg); border-color: #9fd6b3; color: var(--m-green); }
.drop { border: 2px dashed #c8cde0; border-radius: 12px; padding: 28px; text-align: center; color: var(--m-text2); background: var(--m-surface2); }

/* ================================================================ mobil uygulama (sanal 390 × 800) */
.ph { width: 390px; height: 800px; background: radial-gradient(420px 300px at 50% -60px, rgba(124,92,255,.28), transparent 70%), var(--a-bg); color: var(--a-text); font: 14px/1.45 'Inter', system-ui, sans-serif; position: relative; overflow: hidden; }
.ph * { box-sizing: border-box; }
.ph-status { height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px 0 30px; font-size: 13px; font-weight: 600; }
.ph-status i { font-style: normal; letter-spacing: 1px; font-size: 11px; }
.ph-body { padding: 6px 18px 110px; display: flex; flex-direction: column; gap: 12px; }
.ph-top small { display: block; font-size: 12px; color: var(--a-text3); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.ph-top h2 { font-size: 25px; margin: 2px 0 0; font-family: inherit; color: var(--a-text); letter-spacing: -0.01em; font-weight: 750; }
.ph-top p { color: var(--a-text2); font-size: 13.5px; margin-top: 2px; }
.ph-back { font-size: 13px; color: var(--a-text2); }
.ac { background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 18px; padding: 14px 16px; }
.ac.herocard { background: linear-gradient(160deg, #1b1633, #11131b); }
.ac h4 { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--a-text3); font-family: inherit; }
.ab { height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; background: linear-gradient(135deg, var(--a-primary), var(--a-primary-2)); color: #fff; transition: filter .15s, transform .15s; }
.ab.ghost { background: var(--a-surface2); color: var(--a-text); border: 1px solid var(--a-border); }
.af { display: flex; flex-direction: column; gap: 6px; }
.af > label { font-size: 12.5px; color: var(--a-text2); font-weight: 600; }
.ain { height: 48px; border-radius: 13px; background: var(--a-surface2); border: 1px solid var(--a-border); display: flex; align-items: center; padding: 0 14px; font-size: 15px; color: var(--a-text); position: relative; overflow: hidden; white-space: nowrap; transition: border-color .2s; }
.ain.focus { border-color: var(--a-primary); }
.ain .v:empty::before { content: attr(data-ph); color: var(--a-text3); }
.ain .caret { background: var(--a-primary); height: 19px; }
.ain.focus .caret { display: inline-block; }
.ain.area { height: 70px; align-items: flex-start; padding-top: 12px; white-space: normal; }
.achips { display: flex; gap: 7px; flex-wrap: wrap; }
.achips span { padding: 7px 12px; border-radius: 999px; background: var(--a-surface2); border: 1px solid var(--a-border); font-size: 13px; color: var(--a-text2); font-weight: 600; transition: all .2s; }
.achips span.on { background: var(--a-soft); border-color: var(--a-primary); color: #d9d0ff; }
.apill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.apill.g { background: rgba(61,220,151,.14); color: var(--a-green); }
.apill.o { background: rgba(255,194,71,.14); color: var(--a-orange); }
.apill.r { background: rgba(255,107,107,.14); color: var(--a-red); }
.apill.b { background: rgba(94,168,255,.14); color: var(--a-blue); }
.apill.n { background: rgba(255,255,255,.08); color: var(--a-text2); }
.arow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--a-border); font-size: 13.5px; }
.arow:last-child { border-bottom: 0; }
.arow small { color: var(--a-text3); display: block; font-size: 12px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick span { background: var(--a-surface); border: 1px solid var(--a-border); border-radius: 14px; padding: 10px 4px 8px; text-align: center; font-size: 11.5px; color: var(--a-text2); font-weight: 600; transition: all .2s; }
.quick span::before { content: ''; display: block; width: 26px; height: 26px; margin: 0 auto 5px; border-radius: 8px; background: var(--a-soft); border: 1px solid rgba(124,92,255,.4); }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 82px; background: rgba(12,13,20,.95); border-top: 1px solid var(--a-border); display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; padding-top: 10px; font-size: 11px; color: var(--a-text3); text-align: center; z-index: 50; }
.tabbar span::before { content: ''; display: block; width: 20px; height: 20px; margin: 0 auto 3px; border-radius: 6px; border: 2px solid currentColor; opacity: .7; }
.tabbar span.on { color: var(--a-text); }
.tabbar .mid { position: relative; top: -24px; color: var(--a-text); font-weight: 700; }
.tabbar .mid::before { width: 58px; height: 58px; border-radius: 20px; border: 0; opacity: 1; background: linear-gradient(135deg, var(--a-primary), var(--a-primary-2)); box-shadow: 0 8px 24px rgba(124,92,255,.5); margin-bottom: 5px; }
.asheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--a-surface); border-radius: 24px 24px 0 0; padding: 12px 18px 30px; animation: up .3s cubic-bezier(.2,.8,.3,1) both; border-top: 1px solid var(--a-border); }
.asheet::before { content: ''; display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--a-text3); margin: 0 auto 12px; opacity: .6; }
.adim { position: absolute; inset: 0; background: rgba(0,0,0,.6); z-index: 290; animation: fadeIn .25s both; }
@keyframes up { from { transform: translateY(100%); } to { transform: none; } }
.adone { position: absolute; inset: 0; z-index: 320; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: radial-gradient(circle at 50% 40%, rgba(61,220,151,.28), var(--a-bg) 70%); animation: fadeIn .3s both; text-align: center; padding: 30px; }
.adone .big { width: 110px; height: 110px; border-radius: 50%; background: var(--a-green); display: grid; place-items: center; color: #06240f; font-size: 60px; font-weight: 900; box-shadow: 0 0 0 14px rgba(61,220,151,.18); }
.adone h3 { font-size: 26px; margin: 0; font-family: inherit; color: var(--a-text); }
.adone p { color: var(--a-text2); }
.ph-qr { background: #fff; border-radius: 24px; padding: 18px; width: 270px; margin: 0 auto; position: relative; }
.ph-qr .qr { width: 234px; height: 234px; }
.ring-count { width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--a-primary); border-right-color: rgba(124,92,255,.2); display: grid; place-items: center; font-weight: 800; font-size: 14px; margin: 0 auto; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 12.5px; }
.cal b { font-size: 10.5px; color: var(--a-text3); font-weight: 700; }
.cal span { padding: 7px 0; border-radius: 10px; color: var(--a-text); transition: background .2s; }
.cal span.dim { color: var(--a-text3); }
.cal span.on { background: var(--a-primary); color: #fff; font-weight: 800; }
.cal span.rng { background: var(--a-soft); }
.receipt { height: 170px; border-radius: 16px; border: 2px dashed rgba(124,92,255,.5); background: var(--a-surface2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 14px; color: var(--a-text2); font-size: 13px; }
.receipt b { color: var(--a-text); font-size: 15px; }
.receipt.shot { border-style: solid; border-color: var(--a-green); background: repeating-linear-gradient(0deg, #f7f4ea 0 14px, #efe9d8 14px 15px); color: #2b2a26; }
.receipt.shot b { color: #2b2a26; }
.flash { position: absolute; inset: 0; background: #fff; z-index: 800; animation: flash .45s ease-out forwards; pointer-events: none; }
@keyframes flash { from { opacity: .95; } to { opacity: 0; } }
.atl { display: flex; flex-direction: column; gap: 0; }
.atl div { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 13px; padding-bottom: 12px; position: relative; }
.atl div::before { content: ''; width: 12px; height: 12px; border-radius: 50%; margin-top: 4px; background: var(--c, var(--a-text3)); box-shadow: 0 0 0 4px rgba(255,255,255,.05); }
.atl div::after { content: ''; position: absolute; left: 5px; top: 18px; bottom: 0; width: 2px; background: var(--a-border); }
.atl div:last-child::after { display: none; }
.atl small { color: var(--a-text3); display: block; }

/* ================================================================ terminal (sanal 1180 × 720) */
.ks { width: 1180px; height: 720px; background: radial-gradient(circle at 20% 0%, var(--k-bg1) 0%, var(--k-bg2) 60%, #060a14 100%); color: var(--k-text); font: 16px/1.4 'Inter', system-ui, sans-serif; display: flex; flex-direction: column; padding: 20px 28px; position: relative; overflow: hidden; }
.ks * { box-sizing: border-box; }
.ks-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ks-loc { font-size: 24px; font-weight: 600; }
.ks-muted { color: var(--k-muted); font-size: 15px; }
.ks-status { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; font-size: 14px; background: rgba(148,163,184,.15); }
.ks-status::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; }
.ks-status.off::before { background: #ef4444; }
.ks-main { flex: 1; display: flex; align-items: center; justify-content: center; gap: 70px; }
.ks-text { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.ks-clock { font-size: 128px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; line-height: 1; }
.ks-prompt { font-size: 28px; color: #cbd5e1; max-width: 560px; }
.ks-cam { width: 330px; height: 330px; border-radius: 26px; background: #020617; border: 2px solid rgba(148,163,184,.3); position: relative; display: grid; place-items: center; color: var(--k-muted); font-size: 14px; overflow: hidden; }
.ks-cam::before { content: ''; position: absolute; inset: 60px; border: 3px solid rgba(255,255,255,.6); border-radius: 18px; }
.ks-cam::after { content: 'QR kodunuzu çerçeveye tutun'; position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 14px; color: #cbd5e1; }
.ks-result { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 46px; border-radius: 24px; max-width: 820px; text-align: center; animation: pop2 .35s cubic-bezier(.2,.9,.3,1.2) both; }
.ks-result.ok { background: rgba(34,197,94,.16); color: #bbf7d0; }
.ks-result.info { background: rgba(59,130,246,.16); color: #bfdbfe; }
.ks-result.err { background: rgba(239,68,68,.16); color: #fecaca; }
.ks-result .ic { font-size: 84px; line-height: 1; font-weight: 800; }
.ks-result .nm { font-size: 44px; font-weight: 700; color: var(--k-text); }
.ks-result .ms { font-size: 28px; }
@keyframes pop2 { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.ks-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kb { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(148,163,184,.35); background: rgba(15,23,42,.6); color: var(--k-text); display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 600; transition: filter .15s, transform .15s; }
.ks-phone { position: absolute; width: 190px; height: 360px; border-radius: 30px; background: #111; border: 6px solid #2a2c38; right: -240px; top: 190px; z-index: 60; transition: transform 1.1s cubic-bezier(.3,.8,.3,1); padding: 30px 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.ks-phone .qr { width: 150px; height: 150px; border-radius: 10px; }
.ks-phone small { color: #cbd5e1; font-size: 11px; text-align: center; }
.ks-pair { margin: auto; width: 540px; background: #fff; color: #1f2437; border-radius: 18px; padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.ks-pair h3 { margin: 0; font-size: 24px; font-family: inherit; color: #1f2437; }
.ks-pair p { color: #5b6275; font-size: 14.5px; }
.pinpad { position: absolute; inset: 0; background: rgba(2,6,23,.72); z-index: 70; display: grid; place-items: center; animation: fadeIn .25s both; }
.pinpad-box { width: 420px; background: #0f172a; border: 1px solid rgba(148,163,184,.3); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.pinpad-box h3 { margin: 0; font-family: inherit; color: var(--k-text); font-size: 22px; }
.pinpad-box .disp { height: 58px; border-radius: 14px; background: #020617; border: 1px solid rgba(148,163,184,.35); display: flex; align-items: center; justify-content: center; font: 700 30px/1 'JetBrains Mono', monospace; letter-spacing: 8px; color: var(--k-text); }
.keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.keys span { height: 56px; border-radius: 14px; background: rgba(148,163,184,.12); display: grid; place-items: center; font-size: 22px; font-weight: 700; color: var(--k-text); transition: background .15s; }
.keys span.pr { background: rgba(124,92,255,.5); }
