:root {
  color-scheme: light dark;
  --metin: #12161c;
  --soluk: #5b6673;
  --arka: #ffffff;
  --cizgi: #e4e8ee;
  --vurgu: #1f6feb;
}

@media (prefers-color-scheme: dark) {
  :root {
    --metin: #e9edf3;
    --soluk: #98a3b2;
    --arka: #10141a;
    --cizgi: #232a34;
    --vurgu: #6ea8ff;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--arka);
  color: var(--metin);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 46rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.ust a {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--vurgu);
}

h1 { font-size: 2rem; line-height: 1.2; margin: 1.5rem 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 0.5rem; }

.tarih { color: var(--soluk); font-size: 0.9rem; margin-top: 0; }

a { color: var(--vurgu); }

ul { padding-left: 1.2rem; }
li { margin: 0.3rem 0; }

code {
  background: var(--cizgi);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.tablo-kaydir { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--cizgi);
  vertical-align: top;
}

th { color: var(--soluk); font-weight: 600; }

footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--cizgi);
  color: var(--soluk);
  font-size: 0.9rem;
}

.kahraman { text-align: center; padding: 2rem 0 1rem; }
.kahraman h1 { font-size: 2.6rem; }
.kahraman p { color: var(--soluk); font-size: 1.1rem; }

.baglantilar { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
