/* =============================================================================
   AFK Hub — afk.lumethis.com (Ağustos 2026 yenilemesi)

   YÖN: "C+B" — ana sayfa VİTRİN (Steam sayfası havası), iç sayfalar PANEL
   (oyunun panel dili + klasik web gezinmesi). Oyunun masaüstü kabuğundan gelen
   imzalar her ikisinde de taşınır: pencere başlık çubuğu, alt durum şeridi,
   masaüstü ikon dili.

   PALET VE TİPOGRAFİ OYUNUN KENDİSİNDEN: değerler GameRepo/css/style.css
   :root bloğundan birebir alındı (--panel, --acrylic, --accent, --gold...).
   Oyun 'Segoe UI'/system-ui kullanır; site de aynı yüzü kullanır — web fontu
   yüklenmez, sayfa oyunla aynı tonda açılır.

   Element ve nadirlik renkleri OYUN VERİSİNDEN gelir (satır içi style ile),
   burada tanımlanmaz — veri değişince site kendiliğinden uyar.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* --- oyunun kendi tokenları --- */
  --tb-h: 58px;
  --acrylic: rgba(28, 30, 40, .88);
  --acrylic-light: rgba(44, 48, 62, .85);
  --panel: rgb(30, 32, 43);
  --border: rgba(255, 255, 255, .09);
  --text: #dfe4ee;
  --muted: #8b93a6;
  --accent: #6aa5f0;
  --gold: #e8c05a;
  --good: #5ae87a;
  --bad: #e87a7a;
  --radius: 10px;

  /* --- siteye özgü türevler --- */
  --ground: #0a0e1a;
  --panel-2: #252b3c;
  --panel-3: #1d2231;
  --bar: linear-gradient(180deg, #333a52, #272d40);
  --line-2: rgba(255, 255, 255, .05);
  --dim: #6e768a;
  --gold-line: rgba(232, 192, 90, .38);
  --accent-soft: rgba(106, 165, 240, .16);
  --accent-line: rgba(106, 165, 240, .45);
  --shadow: 0 26px 64px -34px #000;
  --radius-sm: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --dur: 180ms;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ground);
  /* oyunun masaüstü zemini */
  background-image:
    radial-gradient(1000px 500px at 70% 20%, rgba(83, 122, 255, .14), transparent 60%),
    radial-gradient(800px 600px at 20% 80%, rgba(160, 90, 255, .10), transparent 55%),
    linear-gradient(160deg, #131726 0%, #0e1220 45%, #0a0e1a 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

.wrap { width: min(1240px, 94vw); margin: 0 auto; }
/* vitrin: kenardan kenara sahne; iç bölümler kendi .wrap'ini alır */
.full { width: 100%; }
.full .shell { padding: 0 0 50px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* =============================================================================
   ÜST BAR — oyunun görev çubuğu dili
   ========================================================================== */
header.top {
  position: sticky; top: 0; z-index: 30;
  background: var(--acrylic);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; gap: 7px; min-height: 56px; flex-wrap: wrap; padding: 6px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .01em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .sq {
  width: 30px; height: 30px; border-radius: 7px; flex: none;
  background: linear-gradient(180deg, #6a6ad0, #4646a8);
  display: grid; place-items: center;
  font-size: 10.5px; font-weight: 800; color: #fff; letter-spacing: .03em;
}
.brand b { white-space: nowrap; font-size: 15px; font-weight: 700; }
.nav .grow { flex: 1; }
.nav a.tab {
  color: #b9c2d6; padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; min-height: 38px;
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid transparent;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.nav a.tab:hover { color: var(--text); background: rgba(255, 255, 255, .05); text-decoration: none; }
.nav a.tab.active { background: var(--accent-soft); border-color: var(--accent-line); color: #d7e6fd; }
.nav a.tab.ghost { color: var(--dim); }
.userbox { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.userbox b { color: var(--text); }

/* =============================================================================
   DÜZEN — içerik DOM'da önce, yan menü masaüstünde sola
   ========================================================================== */
.shell { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 20px 0 50px; }

@media (min-width: 940px) {
  .shell.has-side { grid-template-columns: 236px 1fr; }
  .shell.has-side > .content { grid-column: 2; grid-row: 1; }
  .shell.has-side > aside.side { grid-column: 1; grid-row: 1; }
  aside.side { align-self: start; position: sticky; top: 72px; }
}

/* Yan menü = oyunun masaüstü ikon paneli */
aside.side {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 10px 8px; box-shadow: var(--shadow);
}
aside.side h4 {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); opacity: .75; padding: 12px 10px 6px; font-weight: 700;
}
aside.side h4:first-child { padding-top: 4px; }
aside.side a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: var(--radius-sm); font-size: 13.5px; color: #b9c2d6; min-height: 36px;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
aside.side a:hover { background: rgba(255, 255, 255, .05); color: var(--text); text-decoration: none; }
aside.side a.active { background: var(--accent-soft); color: #d7e6fd; box-shadow: inset 2px 0 0 var(--accent); }
aside.side a .gi {
  width: 26px; height: 26px; border-radius: 7px; flex: none; display: grid; place-items: center;
  background: linear-gradient(180deg, #39405a, #242a3c); border: 1px solid var(--border); color: var(--gold);
}
aside.side a.active .gi { color: #cfe0fb; border-color: var(--accent-line); }

/* =============================================================================
   PANEL — içerik bloğu (oyunun pencere başlık çubuğu)
   ========================================================================== */
.win {
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.win-bar {
  display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 14px;
  background: var(--bar); border-bottom: 1px solid rgba(0, 0, 0, .5);
}
.win-ico { width: 15px; height: 15px; flex: none; color: var(--gold); }
.win-t {
  font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win-dots { display: flex; gap: 6px; flex: none; margin-left: auto; }
/* başlık çubuğundaki Steam butonu: çubuğu yükseltmeyecek kadar alçak */
.win-steam { margin-left: auto; min-height: 28px; padding: 4px 11px; font-size: 12.5px; }
.win-steam + .win-dots { margin-left: 10px; }
.win-dots i { width: 26px; height: 19px; border-radius: 5px; background: rgba(255, 255, 255, .07); display: block; }
.win-body { padding: 20px 22px 26px; }

@media (max-width: 620px) { .win-body { padding: 16px 15px 20px; } }

/* =============================================================================
   BAŞLIKLAR / METİN
   ========================================================================== */
.crumb { font-size: 12.5px; color: var(--dim); margin-bottom: 12px; }
.crumb a { color: var(--muted); display: inline-block; padding: 4px 2px; min-height: 24px; }
.crumb a:hover { color: var(--gold); }

h1.title { font-size: clamp(23px, 3.6vw, 30px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--text); }
.lead { color: var(--muted); margin-top: 8px; max-width: 74ch; font-size: 15.5px; }
h2.sec {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin: 30px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); color: var(--gold);
}
h3.sub { font-size: 15.5px; font-weight: 700; margin: 20px 0 8px; color: var(--text); }
p { margin: 9px 0; color: var(--muted); }
p.ink { color: var(--text); }
ul.bul { margin: 9px 0 9px 20px; color: var(--muted); }
ul.bul li { margin: 5px 0; }

/* sekme çipleri (oyunun panel sekmeleri) */
.wtabs { display: flex; gap: 6px; margin: 14px 0 16px; flex-wrap: wrap; }
.wtabs a, .wtabs span {
  font-size: 12.5px; padding: 7px 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); color: var(--muted); background: rgba(0, 0, 0, .2);
}
.wtabs a:hover { color: var(--text); border-color: var(--gold-line); text-decoration: none; }
.wtabs .on, .wtabs a.on { background: var(--accent-soft); border-color: var(--accent-line); color: #cfe0fb; }

/* =============================================================================
   KARTLAR
   ========================================================================== */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 16px 0; }
.grid.wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  position: relative; display: block; overflow: hidden;
  background: linear-gradient(180deg, var(--panel-2), var(--panel-3));
  border: 1px solid var(--border); border-radius: 12px; padding: 14px 15px; color: inherit;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.card:hover {
  border-color: var(--gold-line); transform: translateY(-2px);
  box-shadow: 0 18px 40px -26px #000; text-decoration: none;
}
.card .khead { display: flex; align-items: center; gap: 9px; }
.card h3 { font-size: 15px; font-weight: 700; margin: 0; color: var(--text); }
.card p { margin: 6px 0 0; font-size: 13.5px; }
.card .meta { font-size: 12px; color: var(--dim); margin-top: 8px; }
.card-ico { flex: none; width: 21px; height: 21px; color: var(--gold); }

/* kahraman kartı — vektör portre */
.hcard { display: flex; flex-direction: column; padding: 0; }
.hcard .hport {
  height: 252px; display: grid; place-items: end center; padding-bottom: 6px;
  background: radial-gradient(58% 54% at 50% 82%, rgba(255, 255, 255, .07), transparent 72%);
}
/* Sprite'lar şeffaf zeminde gelir: zemini kart verir, hepsi aynı taban çizgisine
   oturur. image-rendering: pixelated — piksel sanat yumuşamasın. */
.hcard .hport img {
  max-height: 240px; width: auto;
  image-rendering: pixelated; image-rendering: crisp-edges;
  filter: drop-shadow(0 7px 9px rgba(0, 0, 0, .6));
}
.hcard .hbody { padding: 10px 13px 13px; }
.hcard .hname { font-size: 15px; font-weight: 700; color: var(--text); }
.hcard .hrole { font-size: 11.5px; color: var(--muted); margin: 2px 0 8px; }
.hcard .hfoot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hcard .hmeta { font-size: 11px; color: var(--dim); }

/* eşya mini-kartı — vektör ikon */
.itemcard { display: flex; align-items: center; gap: 12px; }
.itemcard .item-ico {
  width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  background: rgba(0, 0, 0, .3); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
}
.itemcard h3 { font-size: 14px; }
.item-art-svg { display: block; }
/* oyunun kendi eşya ikonu (128px kaynak) */
.item-art { display: block; object-fit: contain; }

/* =============================================================================
   ROZET / ETİKET
   ========================================================================== */
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; vertical-align: middle; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(0, 0, 0, .28); color: var(--muted);
}
.badge .dot { width: 8px; height: 8px; }
.tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px;
  background: rgba(232, 192, 90, .14); color: var(--gold); border: 1px solid var(--gold-line);
}
.pillrow { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }

/* =============================================================================
   TABLOLAR
   ========================================================================== */
table.tbl { width: 100%; border-collapse: collapse; margin: 0; font-size: 13.8px; }
table.tbl th, table.tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line-2); }
table.tbl thead th {
  color: var(--gold); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  background: rgba(0, 0, 0, .3); border-bottom: 1px solid var(--border); position: sticky; top: 0;
}
table.tbl tr:hover td { background: rgba(255, 255, 255, .028); }
table.tbl td.num, table.tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: rgba(0, 0, 0, .18);
}

/* =============================================================================
   STAT LİSTESİ / INFOBOX
   ========================================================================== */
.statlist { list-style: none; display: grid; gap: 5px; margin: 12px 0; }
.statlist li {
  display: flex; justify-content: space-between; gap: 14px; padding: 8px 12px;
  background: rgba(0, 0, 0, .24); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); font-size: 13.8px;
}
.statlist li span:last-child { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.statlist li span:first-child { color: var(--muted); }

.info { background: rgba(0, 0, 0, .24); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 15px 17px; margin: 15px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 13.8px; margin: 6px 0; }
.kv dt { color: var(--muted); }
.kv dd { color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }
.note { font-size: 12.5px; color: var(--dim); }
.callout {
  border-left: 3px solid var(--gold); background: rgba(232, 192, 90, .07);
  padding: 12px 15px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 15px 0; font-size: 13.8px; color: var(--muted);
}

/* =============================================================================
   DÜĞMELER / FORMLAR
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 14.5px; border: 1px solid transparent; cursor: pointer;
  font-family: inherit;
  transition: filter var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform 140ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-a { background: linear-gradient(180deg, #efd188, #d5a94a); color: #2a2005; border-color: #b8913c; font-weight: 700; }
.btn-a:hover { filter: brightness(1.06); }
.btn-b { border-color: var(--border); color: var(--text); background: rgba(255, 255, 255, .05); }
.btn-b:hover { border-color: var(--gold-line); color: var(--gold); }
.btn-sm { min-height: 34px; padding: 6px 13px; font-size: 13px; }
.btn-danger { border-color: rgba(232, 122, 122, .4); color: #f0a0a0; background: transparent; }
/* Steam: mağazanın kendi koyu mavi yüzeyi + açık mavi vurgu */
.btn-steam {
  background: linear-gradient(180deg, #2a475e, #1b2838);
  border-color: rgba(102, 192, 244, .45); color: #c7e4f7;
}
.btn-steam:hover { border-color: #66c0f4; color: #e6f4ff; }
/* Sayfa henüz yayında değil: buton bilgilendirici, tıklanabilir değil */
.btn-steam.is-soon { opacity: .78; cursor: default; }
.btn-steam.is-soon:hover { border-color: rgba(102, 192, 244, .45); color: #c7e4f7; }
.btn-wide { width: 100%; }
/* yan menünün başındaki Steam bloğu: menüden ince bir çizgiyle ayrılır */
.side-steam { margin: 2px 6px 4px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.btn-danger:hover { border-color: rgba(232, 122, 122, .75); }

form.stack { display: grid; gap: 14px; max-width: 460px; }
form.stack label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input[type=text], input[type=password], input[type=email], textarea, select {
  width: 100%; background: rgba(0, 0, 0, .34); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  padding: 12px 13px; font-family: inherit; font-size: 16px; min-height: 46px;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(106, 165, 240, .16);
}
textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field-hint { font-size: 12px; color: var(--dim); }
.formrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* =============================================================================
   UYARILAR
   ========================================================================== */
.alert { padding: 12px 15px; border-radius: var(--radius-sm); font-size: 14px; margin: 14px 0; }
.alert-err { background: rgba(232, 122, 122, .12); border: 1px solid rgba(232, 122, 122, .4); color: #f4bcbc; }
.alert-ok { background: rgba(90, 232, 122, .12); border: 1px solid rgba(90, 232, 122, .4); color: #c4ecc4; }

/* =============================================================================
   FORUM
   ========================================================================== */
.topic-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 15px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel-3));
  border: 1px solid var(--border); border-radius: 12px; margin-bottom: 9px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.topic-row:hover { border-color: var(--gold-line); transform: translateX(2px); }
.topic-row .tmain { flex: 1; min-width: 0; }
.topic-row .tmain a { font-size: 15.5px; font-weight: 600; color: var(--text); }
.topic-row .tmain a:hover { color: var(--gold); }
.topic-row .tmeta { font-size: 12px; color: var(--dim); margin-top: 3px; }
.topic-row .tcount { text-align: center; color: var(--muted); font-size: 12px; flex: none; min-width: 56px; }
.topic-row .tcount b { display: block; color: var(--gold); font-size: 17px; font-variant-numeric: tabular-nums; }

.post {
  background: linear-gradient(180deg, var(--panel-2), var(--panel-3));
  border: 1px solid var(--border); border-radius: 12px; padding: 15px 17px; margin: 11px 0;
}
.post .phead { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.post .phead b { color: var(--text); }
.post .pbody { white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; color: var(--text); font-size: 14.8px; line-height: 1.62; }
.avatar {
  width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--panel-2);
  border: 1px solid var(--gold-line); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--gold); flex: none;
}
.op-tag { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--gold); border: 1px solid var(--gold-line); border-radius: 6px; padding: 2px 6px; }

/* =============================================================================
   VİTRİN (ana sayfa) — Steam sayfası havası
   ========================================================================== */
.showcase { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); margin: 0 0 6px; }
.showcase .bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .42; filter: saturate(.92);
}
.showcase::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 26, .28) 0%, rgba(10, 14, 26, .74) 58%, var(--ground) 100%);
}
/* sahne görselinde oyunun ikon sütunu solda kalır; kadrajı manzaraya kaydır */
.showcase .bg { object-position: 62% center; }
.showcase .in { position: relative; z-index: 2; width: min(1240px, 94vw); margin: 0 auto; padding: 60px 0 44px; text-align: center; }
.showcase h1 {
  font-size: clamp(29px, 5vw, 50px); font-weight: 800; letter-spacing: -.015em; line-height: 1.06;
  text-wrap: balance; color: #f2f5fb;
}
.showcase p.lead { color: #c3cbdd; font-size: 16.5px; max-width: 660px; margin: 15px auto 0; }
.cta { display: flex; gap: 10px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.statrow { display: flex; gap: 26px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.statrow div { text-align: center; }
.statrow b { display: block; font-size: 22px; color: var(--gold); font-weight: 800; font-variant-numeric: tabular-nums; }
.statrow span { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* oyun kareleri */
.shots { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 11px; margin: 16px 0; }
.shots a, .shots figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); display: block; }
.shots img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }

/* tam genişlik kare (sistem sayfalarında) */
.shotfull { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin: 16px 0; background: #0b0e17; }
.shotfull img { display: block; width: 100%; }
.shotfull figcaption { font-size: 12px; color: var(--dim); padding: 8px 12px; border-top: 1px solid var(--line-2); }

/* =============================================================================
   DURUM ŞERİDİ — oyunun görev çubuğuna selam (A imzası)
   ========================================================================== */
.statusbar {
  display: flex; align-items: center; gap: 10px;
  margin: 22px auto 0; max-width: 680px; padding: 7px 11px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, var(--acrylic-light), rgba(18, 21, 32, .85));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset;
}
.statusbar .tsq {
  width: 26px; height: 26px; border-radius: 5px; flex: none;
  background: linear-gradient(180deg, #6a6ad0, #4646a8);
  display: grid; place-items: center; font-size: 9.5px; font-weight: 800; color: #f0eefc;
}
.statusbar .tsbar { flex: 1; height: 9px; border-radius: 99px; background: rgba(0, 0, 0, .5); overflow: hidden; }
.statusbar .tsbar i { display: block; width: 62%; height: 100%; background: linear-gradient(90deg, var(--bad), var(--gold)); }
.statusbar .tsnum { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* =============================================================================
   ALT BİLGİ
   ========================================================================== */
footer.foot {
  border-top: 1px solid var(--border); background: rgba(16, 19, 28, .7);
  padding: 22px 0 34px; color: var(--dim); font-size: 13px; margin-top: 30px;
}
footer.foot a { color: var(--muted); display: inline-block; padding: 4px 0; min-height: 26px; }
footer.foot a:hover { color: var(--gold); }
.foot-row { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; }

.empty { text-align: center; padding: 46px 20px; color: var(--dim); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* =============================================================================
   SPRITE (canavar / materyal — oyun bunlarda hâlâ piksel kullanır)
   ========================================================================== */
img.spr { image-rendering: pixelated; image-rendering: crisp-edges; display: block; width: auto; }
.spr-row { height: 32px; }
.spr-cell { display: inline-flex; align-items: center; gap: 9px; }
.spr-cell img.spr { height: 28px; }
.card-spr {
  display: flex; align-items: flex-end; justify-content: center; height: 112px; margin-bottom: 10px;
  border-radius: var(--radius-sm); background: radial-gradient(70% 80% at 50% 85%, rgba(255, 255, 255, .05), transparent 70%);
}
/* canavar sprite'ları ~96 px çizili yükseklikte üretilir: burada küçültülmezler */
.card-spr img.spr { max-height: 104px; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); transition: transform var(--dur) var(--ease); }
a.card:hover .card-spr img.spr { transform: translateY(-3px); }

/* Detay başlığı: portre + künye */
.entity-head { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; margin-bottom: 6px; }
@media (max-width: 640px) { .entity-head { grid-template-columns: 1fr; } }
.portrait {
  position: relative; display: flex; align-items: flex-end; justify-content: center;
  min-height: 320px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--panel-3);
  box-shadow: inset 0 0 40px -12px #000;
}
.portrait::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 25%, var(--glow, rgba(232, 192, 90, .2)), transparent 66%); }
.portrait img { position: relative; z-index: 1; max-width: 92%; max-height: 260px; width: auto;
  image-rendering: pixelated; image-rendering: crisp-edges;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
.portrait img.spr { max-height: 168px; max-width: 88%; margin-bottom: 14px; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .55)); }
.portrait .el-chip { position: absolute; top: 11px; left: 11px; z-index: 2; }
/* eşya ve rün detayında kutu ikona göre daralır (kahraman sprite'ı 320 kalır) */
.portrait.is-item { min-height: 210px; align-items: center; }

/* =============================================================================
   DAR EKRAN
   ========================================================================== */
@media (max-width: 620px) {
  body { font-size: 15px; }
  .nav { gap: 5px; min-height: 52px; }
  .nav a.tab { padding: 8px 12px; }
  .shell { padding: 16px 0 40px; gap: 14px; }
  .grid, .grid.wide { grid-template-columns: 1fr; }
  .showcase .in { padding: 44px 14px 34px; }
  .statrow { gap: 18px; }
  .topic-row { align-items: flex-start; gap: 10px; }
  .info, .card { padding: 13px 14px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { text-align: left; margin-bottom: 8px; }
  .win-bar { min-height: 38px; padding: 0 11px; }
  .win-t { font-size: 11.5px; letter-spacing: .07em; }
  .win-dots { display: none; }
}
