/* muratok.dev
   Layout: SAP GUI çerçevesi — üstte komut alanı, altta durum çubuğu, aradaki sayfa
   tek sütunlu bir "ekran"; hero'da ABAP editörü ve AI incelemesi yan yana. */

:root {
  /* Renk — açık tema */
  --paper:   #EEF1F3;   /* sayfa zemini, mavimsi gri */
  --sheet:   #FFFFFF;   /* panel / kart */
  --ink:     #0F1B2A;   /* metin */
  --ink-2:   #4B5A6B;   /* ikincil metin */
  --rule:    #D2D9E0;   /* çizgi */
  --kw:      #1D55B8;   /* ABAP anahtar kelime mavisi */
  --amber:   #B8720F;   /* komut alanı / vurgu */
  --amber-bg:#FBEFD9;
  --add:     #1D7347;
  --add-bg:  #E2F1E8;
  --del:     #AE342D;
  --del-bg:  #F7E3E1;
  --code-bg: #F6F8FA;
  --shadow:  0 1px 0 rgba(15,27,42,.04), 0 12px 32px -18px rgba(15,27,42,.28);

  /* Tip */
  --f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Ölçek */
  --s-xs: .8125rem;
  --s-sm: .9375rem;
  --s-md: 1.0625rem;
  --s-lg: 1.375rem;
  --s-xl: clamp(1.75rem, 3.2vw, 2.5rem);
  --s-hero: clamp(3rem, 8.4vw, 6.4rem);

  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 40px);
  --status-h: 30px;
  --radius: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:   #0C121A;
    --sheet:   #121B26;
    --ink:     #E5EBF1;
    --ink-2:   #95A3B3;
    --rule:    #24313F;
    --kw:      #86ADF4;
    --amber:   #F0B04A;
    --amber-bg:#33260F;
    --add:     #66C792;
    --add-bg:  #11291C;
    --del:     #F2837A;
    --del-bg:  #351917;
    --code-bg: #0F1720;
    --shadow:  0 1px 0 rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper:   #0C121A;
  --sheet:   #121B26;
  --ink:     #E5EBF1;
  --ink-2:   #95A3B3;
  --rule:    #24313F;
  --kw:      #86ADF4;
  --amber:   #F0B04A;
  --amber-bg:#33260F;
  --add:     #66C792;
  --add-bg:  #11291C;
  --del:     #F2837A;
  --del-bg:  #351917;
  --code-bg: #0F1720;
  --shadow:  0 1px 0 rgba(0,0,0,.3), 0 16px 40px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--s-md);
  line-height: 1.6;
  padding-bottom: calc(var(--status-h) + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); text-wrap: balance; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--paper); padding: 8px 12px; border-radius: 6px;
}
.skip:focus { top: 12px; }

/* ---------- Üst çubuk ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top-in {
  max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.mono-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px;
  background: var(--ink); color: var(--paper);
  font-family: var(--f-display); font-weight: 800; font-size: 14px; letter-spacing: .02em;
  font-variation-settings: "wdth" 80;
}
.brand-text { font-family: var(--f-mono); font-size: var(--s-sm); font-weight: 500; }
.brand-text .dot { color: var(--amber); }

.okcode {
  position: relative; display: flex; align-items: center; gap: 8px;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 6px;
  padding: 4px 10px 4px 6px; min-width: 0; flex: 0 1 260px;
}
.okcode:focus-within { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-bg); }
.okcode-label {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-2); padding: 2px 6px; border-right: 1px solid var(--rule);
}
.okcode-check {
  display: grid; place-items: center; width: 18px; height: 18px; flex: none;
  border-radius: 4px; background: var(--add-bg); color: var(--add); font-size: 11px;
}
.okcode input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink);
  font-family: var(--f-mono); font-size: 14px; padding: 4px 0;
}
.okcode input::placeholder { color: var(--ink-2); opacity: .7; }
.okcode-hint { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); white-space: nowrap; }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: var(--s-sm); padding: 6px 10px; border-radius: 6px;
  color: var(--ink-2); white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--sheet); }
.nav a[aria-current="true"] { color: var(--ink); background: var(--sheet); box-shadow: inset 0 -2px 0 var(--amber); }

/* Menüdeki oyun bağlantısı */
.nav a.nav-game { display: inline-flex; align-items: center; gap: 7px; }
.nav .pad {
  width: 15px; height: 9px; border-radius: 4px; flex: none; position: relative;
  border: 1.5px solid currentColor;
}
.nav .pad::before { content: ""; position: absolute; left: 2px; top: 2px; width: 3px; height: 2px; background: currentColor; box-shadow: 0 0 0 0 currentColor; }
.nav .pad::after { content: ""; position: absolute; right: 2px; top: 1.5px; width: 2px; height: 2px; border-radius: 50%; background: var(--amber); }

.nav a.nav-ai { display: inline-flex; align-items: center; gap: 7px; }
.nav .eye { width: 14px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; flex: none; }
.nav .eye::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #ff2a1a; box-shadow: 0 0 4px #ff2a1a; }
.toggles { display: flex; gap: 6px; flex: none; }
.tog {
  display: grid; place-items: center; height: 34px; min-width: 34px; padding: 0 8px;
  border: 1px solid var(--rule); border-radius: 6px; background: var(--sheet); color: var(--ink);
  font-family: var(--f-mono); font-size: 12px; cursor: pointer;
}
.tog:hover { border-color: var(--ink-2); }

.help {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 14px;
}
.help-title { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); margin-bottom: 8px; }
.help-list {
  list-style: none; margin: 0; padding: 12px 14px; background: var(--sheet);
  border: 1px solid var(--rule); border-radius: 8px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 18px;
  font-size: var(--s-sm);
}
.help-list code { font-family: var(--f-mono); color: var(--amber); margin-right: 6px; }

@media (max-width: 520px) {
  .nav a { padding: 6px 7px; font-size: .875rem; }
}
@media (max-width: 1020px) {
  .okcode-hint { display: none; }
}
@media (max-width: 860px) {
  .top-in { flex-wrap: wrap; gap: 10px 12px; }
  .okcode { order: 3; flex: 1 1 100%; }
  .nav { order: 4; flex: 1 1 100%; margin: 0 -6px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .toggles { margin-left: auto; }
}

/* ---------- Genel yerleşim ---------- */
main { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--f-mono); font-size: var(--s-xs); letter-spacing: .04em; color: var(--ink-2);
}

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
  padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px);
}
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero-name {
  font-size: var(--s-hero); line-height: .92; letter-spacing: -.035em; font-weight: 750;
  font-variation-settings: "opsz" 96;
}
.hero-name .n1 { display: block; font-weight: 400; font-variation-settings: "opsz" 96, "wdth" 100; color: var(--ink-2); }
.hero-name .n2 { display: inline-block; font-variation-settings: "opsz" 96, "wdth" 78; white-space: nowrap; }
.caret {
  display: inline-block; width: .09em; height: .78em; margin-left: .06em; vertical-align: -.02em;
  background: var(--amber); animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); max-width: 34em; color: var(--ink); }

.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  padding: 10px 16px; border-radius: 8px; border: 1px solid var(--rule);
  background: var(--sheet); font-size: var(--s-sm); font-weight: 700;
  transition: transform .15s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--ink-2); transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { border-color: var(--ink); }

.facts {
  display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 6px 0 0; padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.facts div { display: grid; gap: 2px; }
.facts dt { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.facts dd { margin: 0; font-size: var(--s-sm); font-weight: 700; }

/* Editör */
.editor {
  margin: 0; min-width: 0; background: var(--sheet); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.ed-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-2);
}
.ed-title b { color: var(--ink); font-weight: 500; }
.ed-code { overflow: auto; max-height: min(30rem, 62vh); background: var(--code-bg); counter-reset: ln; }
.ed-code pre { margin: 0; padding: 12px 0; font-family: var(--f-mono); font-size: 12.5px; line-height: 1.65; }
.ed-code code { display: block; min-width: max-content; }
.ln { display: block; padding-right: 18px; white-space: pre; counter-increment: ln; }
.ln::before {
  content: counter(ln); display: inline-block; width: 3.4em; padding-right: 1.1em; text-align: right;
  color: var(--ink-2); opacity: .5; user-select: none;
}
.ln b { font-weight: 500; color: var(--kw); }
.ln .s { color: var(--add); }
.ln .cm, .ln.c { color: var(--ink-2); font-style: italic; }
.ln .cm { color: var(--amber); font-style: normal; }

.ed-title { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.ed-actions { display: flex; gap: 6px; flex: none; }
.ed-btn {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-family: var(--f-mono); font-size: 12px; color: var(--ink);
  background: var(--code-bg); border: 1px solid var(--rule); border-radius: 6px; padding: 5px 9px;
}
.ed-btn:hover { border-color: var(--ink-2); }
.ed-btn kbd { font-family: var(--f-mono); font-size: 10px; color: var(--ink-2); border: 1px solid var(--rule); border-radius: 3px; padding: 0 4px; }
.ed-run { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ed-run kbd { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); }
.ed-run .tri { width: 0; height: 0; border-left: 7px solid var(--add); border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent; }

/* Liste çıktısı — klasik SAP list ekranı */
.ed-out { background: var(--code-bg); min-height: 16rem; max-height: min(30rem, 62vh); overflow: auto; }
.out-title {
  display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 8px 16px;
  font-family: var(--f-mono); font-size: 12px; color: var(--ink);
  background: color-mix(in srgb, var(--kw) 12%, var(--code-bg)); border-bottom: 1px solid var(--rule);
}
.out-title span:first-child { font-weight: 500; }
#ed-list { margin: 0; padding: 14px 16px 18px; font-family: var(--f-mono); font-size: 13px; line-height: 1.7; white-space: pre-wrap; }
#ed-list .o { display: block; animation: typein .25s ease-out both; }
#ed-list .y { color: var(--kw); }
#ed-list .u { color: var(--ink-2); overflow: hidden; white-space: nowrap; }
#ed-list .r { color: var(--amber); }
#ed-list .cur::after { content: ""; display: inline-block; width: .55em; height: 1.05em; vertical-align: -.15em; background: var(--amber); animation: blink 1.1s steps(1) infinite; }
@keyframes typein { from { transform: translateX(-4px); } to { transform: none; } }

.ai-note {
  display: grid; gap: 6px; padding: 14px 16px 16px; font-size: var(--s-sm);
  border-top: 1px solid var(--rule);
}
.ai-tag {
  justify-self: start; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--amber); background: var(--amber-bg);
  padding: 3px 8px; border-radius: 4px;
}
.ai-me { color: var(--ink-2); font-size: var(--s-xs); }

.pill {
  display: inline-block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--rule); color: var(--ink-2);
  white-space: nowrap;
}
.pill-ok { color: var(--add); background: var(--add-bg); border-color: transparent; }
.pill-wip { color: var(--amber); background: var(--amber-bg); border-color: transparent; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Bölümler ---------- */
.sec { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--rule); }
.sec-head { display: grid; gap: 8px; margin-bottom: clamp(24px, 4vw, 40px); max-width: 44rem; }
.tc {
  justify-self: start; font-family: var(--f-mono); font-size: 12px; color: var(--amber);
  letter-spacing: .02em;
}
.sec-head h2 { font-size: var(--s-xl); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.sec-sub { color: var(--ink-2); }
.prose { max-width: 38rem; display: grid; gap: 1em; }

/* Profil */
.profile { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
.principles li { padding: 16px 0; border-top: 1px solid var(--rule); display: grid; gap: 4px; }
.principles li:last-child { border-bottom: 1px solid var(--rule); }
.principles h3 { font-size: var(--s-lg); font-weight: 650; letter-spacing: -.01em; }
.principles p { color: var(--ink-2); font-size: var(--s-sm); }
@media (max-width: 800px) { .profile { grid-template-columns: minmax(0, 1fr); } }

/* Yetkinlik */
.skills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.skill { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 18px 20px; }
.skill h3 { font-size: var(--s-lg); font-weight: 650; margin-bottom: 10px; }
.skill ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--s-sm); }
.skill li { padding-left: 14px; position: relative; }
.skill li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 1px; background: var(--ink-2); }
.skill-ai { border-color: color-mix(in srgb, var(--amber) 45%, var(--rule)); }
.skill-ai h3 { color: var(--amber); }
@media (max-width: 960px) { .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .skills { grid-template-columns: minmax(0, 1fr); } }

/* Çalışmalar — öne çıkan projeler */
.feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proj {
  position: relative; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); display: grid; gap: 12px; align-content: start; min-width: 0;
}
.proj h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.proj p { font-size: var(--s-sm); color: var(--ink-2); max-width: 40rem; }
.proj-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  font-family: var(--f-mono); font-size: 12px; color: var(--kw); font-variant-numeric: tabular-nums;
}
.proj-meta span + span:not(.pill)::before { content: "/"; margin-right: 12px; color: var(--rule); }
.proj-meta .pill + span::before { content: none; }
.proj-wide {
  grid-column: 1 / -1; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px); align-items: center;
  background:
    linear-gradient(var(--sheet), var(--sheet)) padding-box,
    linear-gradient(120deg, color-mix(in srgb, var(--amber) 60%, var(--rule)), var(--rule) 45%) border-box;
  border-color: transparent;
}
.proj-text { display: grid; gap: 12px; min-width: 0; }
.proj-wide h3 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-variation-settings: "wdth" 85; }
.chips.chips-left { justify-content: flex-start; max-width: none; }

.split { width: 100%; height: auto; max-width: 420px; justify-self: center; overflow: visible; }
.sp-box { fill: var(--code-bg); stroke: var(--rule); stroke-width: 1.5; }
.sp-src { fill: var(--ink); stroke: var(--ink); }
.split .sp-src + .sp-lbl, .split .sp-src ~ .sp-sub { fill: var(--paper); }
.sp-lbl { font-family: var(--f-mono); font-size: 14px; fill: var(--ink); }
.sp-sub { font-family: var(--f-mono); font-size: 11px; fill: var(--paper); opacity: .75; }
.sp-line { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; animation: flow 1.4s linear infinite; }
.sp-dst .sp-box { stroke: color-mix(in srgb, var(--amber) 55%, var(--rule)); }
@keyframes flow { to { stroke-dashoffset: -18; } }

.route {
  list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
}
.route::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--rule); }
.route li { position: relative; display: grid; gap: 2px; padding-top: 22px; min-width: 0; }
.route li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sheet); border: 2px solid var(--kw);
}
.route li:last-child::before { background: var(--kw); }
.route b { font-family: var(--f-mono); font-weight: 500; font-size: 15px; }
.route span { font-size: var(--s-xs); color: var(--ink-2); line-height: 1.35; padding-right: 8px; }

@media (max-width: 820px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .proj-wide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .route::before { display: none; }
}

/* Proje haritası */
.land-wrap { margin-top: clamp(40px, 6vw, 64px); }
.land-head { display: grid; gap: 14px; margin-bottom: 18px; }
.land-head h3 { font-size: var(--s-lg); font-weight: 700; }
.land-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.lf {
  font-family: var(--f-mono); font-size: 12px; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-2); border: 1px solid var(--rule);
}
.lf:hover { color: var(--ink); border-color: var(--ink-2); }
.lf.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.land { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); overflow: hidden; }
.land-row {
  display: grid; grid-template-columns: minmax(130px, .8fr) repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule); transition: opacity .2s ease;
}
.land-row:first-child { border-top: 0; }
.land-row > * { padding: 14px 16px; min-width: 0; }
.land-row > * + * { border-left: 1px dashed var(--rule); }
.land-cols { background: var(--code-bg); }
.era { display: grid; gap: 2px; }
.era b { font-family: var(--f-mono); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.era i { font-style: normal; font-size: var(--s-xs); color: var(--ink-2); line-height: 1.35; }
.land-row h4 { margin: 0; font-family: var(--f-display); font-size: var(--s-sm); font-weight: 700; }
.land-row ul { list-style: none; margin: 0; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 6px; }
.land-row ul:empty::after { content: "·"; color: var(--rule); }
.land-row li {
  font-size: 13px; line-height: 1.3; padding: 4px 8px; border-radius: 5px;
  background: var(--code-bg); border: 1px solid var(--rule);
}
.land-row li.live { border-color: color-mix(in srgb, var(--amber) 50%, var(--rule)); }
.land-row li.live::before, .dot-live {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--amber); margin-right: 6px; vertical-align: 1px;
}
.land-row.dim { opacity: .22; }
.land[data-focus]:not([data-focus="all"]) .land-row:not(.dim):not(.land-cols) li { background: var(--amber-bg); }
.land-note { margin-top: 10px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); }

@media (max-width: 860px) {
  .land-cols { display: none; }
  .land-row { grid-template-columns: minmax(0, 1fr); }
  .land-row > * + * { border-left: 0; padding-top: 0; }
  .land-row h4 { padding-bottom: 10px; }
  .land-row ul::before {
    content: attr(data-era); flex-basis: 100%; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2);
  }
  .land-row ul:empty { display: none; }
}

/* Profil — yol */
.path {
  list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative;
}
.path::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 2px; background: linear-gradient(90deg, var(--rule), var(--ink-2)); }
.path li { position: relative; padding-top: 22px; padding-right: 10px; display: grid; gap: 2px; min-width: 0; }
.path li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink-2);
}
.path li.now::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 5px var(--amber-bg); }
.path b { font-family: var(--f-mono); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.path li.now b { color: var(--amber); }
.path span { font-size: var(--s-xs); color: var(--ink-2); line-height: 1.35; }
@media (max-width: 900px) {
  .path { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-left: 26px; }
  .path::before { left: 5px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; background: var(--rule); }
  .path li { padding-top: 0; grid-template-columns: 4.5em minmax(0, 1fr); align-items: baseline; }
  .path li::before { left: -26px; top: 4px; }
}

/* Lab */
.lab { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.lab-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px 24px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.lab-main { display: grid; gap: 4px; min-width: 0; }
.lab-main h3 { font-size: var(--s-lg); font-weight: 650; }
.lab-main h3 a { text-decoration: none; }
.lab-main h3 a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.lab-main p { color: var(--ink-2); font-size: var(--s-sm); max-width: 42rem; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 280px; }
.chips li { font-family: var(--f-mono); font-size: 11px; padding: 3px 8px; border-radius: 4px; background: var(--sheet); border: 1px solid var(--rule); }
.lab-row > .pill { justify-self: end; min-width: 7.5em; text-align: center; }
@media (max-width: 760px) {
  .lab-row { grid-template-columns: minmax(0, 1fr) auto; }
  .lab-main { grid-column: 1 / -1; }
  .chips { justify-content: flex-start; max-width: none; }
}

.repos { margin-top: 40px; }
.repos-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.repos-head h3 { font-size: var(--s-md); font-family: var(--f-mono); font-weight: 500; }
.repos-head a { font-size: var(--s-sm); color: var(--ink-2); }
.repo-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.repo-list a {
  display: grid; gap: 6px; height: 100%; padding: 14px 16px; text-decoration: none;
  background: var(--sheet); border: 1px solid var(--rule); border-radius: 8px;
}
.repo-list a:hover { border-color: var(--ink-2); }
.repo-name { font-family: var(--f-mono); font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.repo-desc { font-size: var(--s-xs); color: var(--ink-2); }
.repo-meta { font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.repo-empty { grid-column: 1 / -1; font-size: var(--s-sm); color: var(--ink-2); padding: 14px 16px; border: 1px dashed var(--rule); border-radius: 8px; }
@media (max-width: 860px) { .repo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .repo-list { grid-template-columns: minmax(0, 1fr); } }

/* İletişim */
.contact-body { display: grid; gap: 22px; }
.contact-extra { display: contents; }

/* Alt bilgi */
.foot {
  max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 36px;
  border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: var(--s-xs); color: var(--ink-2);
}

/* ---------- Durum çubuğu ---------- */
.status {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  min-height: var(--status-h);
  padding: 0 var(--gutter) env(safe-area-inset-bottom, 0px);
  background: var(--sheet); border-top: 1px solid var(--rule);
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-2);
}
.st-icon { width: 10px; height: 10px; border-radius: 2px; background: var(--add); flex: none; }
.status[data-kind="warn"] .st-icon { background: var(--amber); }
.status[data-kind="err"] .st-icon { background: var(--del); }
.st-msg { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.st-meta { display: flex; gap: 0; flex: none; font-variant-numeric: tabular-nums; }
.st-meta span { padding: 0 10px; border-left: 1px solid var(--rule); }
@media (max-width: 560px) { .st-meta span:not(:last-child) { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
  #ed-list .o { animation: none; }
  .sp-line { animation: none; }
  .land-row { transition: none; }
  .btn { transition: none; }
}
