/* Gizlilik / çerez gibi metin sayfalarının ortak stili (ana sitedeki renklerle aynı) */
:root {
  --bg: #0f1624; --panel: #172136; --line: #2b3a5c;
  --text: #e8eefc; --muted: #93a3c4; --accent: #f5b83d; --accent2: #4aa3ff;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.brand { color: var(--text); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand span { color: var(--accent); }
.lang { color: var(--accent2); font-size: 14px; }
h1 { font-size: 28px; line-height: 1.25; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 28px 0 8px; }
.date { color: var(--muted); font-size: 14px; margin: 0 0 20px; }
a { color: var(--accent2); }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 10px 0; }
th, td { text-align: left; vertical-align: top; border: 1px solid var(--line); padding: 8px 10px; }
th { background: var(--panel); }
.table-scroll { overflow-x: auto; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--muted); }
footer { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* ---- Rehber ve deste sayfaları (tools/build.js) ---- */
h3 { font-size: 16px; margin: 20px 0 8px; color: var(--muted); }
.topnav { font-size: 14px; }
.topnav a { text-decoration: none; font-weight: 600; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.muted { color: var(--muted); font-size: 14px; }
.deckgrid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin: 8px 0 14px; }
@media (max-width: 640px) { .deckgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.dcard { text-align: center; font-size: 11.5px; color: var(--muted); }
.dcard > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.dimg { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; aspect-ratio: 5 / 6; }
.dimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.delx, .elx-inline { background: #d14cd8; color: #fff; font-weight: 800; border-radius: 999px; font-size: 12px; }
.delx { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
.elx-inline { padding: 1px 7px; font-size: 11px; vertical-align: 1px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.btn { display: inline-block; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; font-weight: 600; font-size: 14px; text-decoration: none; }
.btn:hover { border-color: var(--accent2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #1b1300; }
ul.roles { list-style: none; padding: 0; }
ul.roles li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
ul.roles img { flex: none; width: 40px; height: 48px; object-fit: contain; }
ul.links { padding-left: 18px; }
ul.links li { margin: 6px 0; }
.hubgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.hubcard { display: flex; gap: 10px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; text-decoration: none; color: var(--text); }
.hubcard:hover { border-color: var(--accent2); }
.hubcard img { width: 40px; height: 48px; object-fit: contain; flex: none; }
