/* HovaAFK — Minecraft esintili, düz (flat) koyu tema.
   Tokenlar en üstte; bileşenler aşağıda. Başlıklar Minecraft yazı tipiyle (Pwnage_Block, CC BY-SA 3.0 —
   /static/fonts/LICENSE.txt). Arka plan düz renk; parlama, degrade ve gölge yok. */
@font-face {
  font-family: 'HovaMC';
  src: url('/static/fonts/hova-minecraft-1.woff') format('woff'), url('/static/fonts/hova-minecraft-1.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #0a0c09;
  --bg-2: #0e110d;
  --panel: #131712;
  --panel-2: #191e17;
  --panel-3: #20261d;
  --line: #232a20;
  --line-2: #313a2c;
  --line-3: #414c3a;
  --text: #eef2e8;
  --muted: #9ba493;
  --dim: #69725f;
  --accent: #62d96d;
  --accent-2: #3fae50;
  --accent-3: #2c8a3b;
  --accent-ink: #061a09;
  --accent-soft: rgba(98, 217, 109, 0.1);
  --gold: #f4c542;
  --diamond: #52dcd2;
  --redstone: #e5484d;
  --lapis: #6c8cff;
  --amethyst: #a883f5;
  --err: #f06a6a;
  --err-soft: rgba(240, 106, 106, 0.1);
  --warn: #f4c542;
  --info: #6fd3f0;
  /* Grafik serileri (koyu yüzeyde doğrulandı: #151914 üzerinde bant, CVD, kontrast) */
  --series-1: #3dae55;
  --series-2: #3987e5;
  --series-3: #d95926;
  --chart-grid: #222a20;
  --chart-base: #3a4435;
  --radius: 6px;
  --radius-sm: 4px;
  --px: 4px; /* piksel köşe boyu */
  --font: 'Rubik', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'HovaMC', 'Rubik', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --bevel: none;
  --bevel-hi: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg);
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
p a, .prose a, .small a { color: var(--accent); }
img, svg { display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 600; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.25; }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
/* Piksel yazı: kalın/italik taklidi yok, harf aralığı sıfır, macOS'ta keskin kenar */
h1, h2, .brand, .eyebrow, .sec-kicker, .hero-proof strong, .steps .num, .faq summary::after, .pcard h3, .pprice .amount,
.sub-h, .ov-tabs button, .mcinv .mc-lbl, .hud-title, .hud-dead, .mc-tip {
  font-synthesis: none; letter-spacing: 0; -webkit-font-smoothing: none; -moz-osx-font-smoothing: auto;
}
h3 { font-size: 15px; letter-spacing: -0.005em; }
p { margin: 0 0 12px; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
code { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 3px; padding: 1px 5px; }
::selection { background: rgba(98, 217, 109, 0.32); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1380px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 20px; }
.xsmall { font-size: 12px; line-height: 18px; }
.ic { width: 18px; height: 18px; flex: none; }
[hidden] { display: none !important; }

/* Basamaklı (piksel) köşe */
.px-corners, .tile, .pcard, .fitem, .preview, .auth-card, .msa, .hero-chip {
  clip-path: polygon(0 var(--px), var(--px) var(--px), var(--px) 0, calc(100% - var(--px)) 0, calc(100% - var(--px)) var(--px), 100% var(--px),
    100% calc(100% - var(--px)), calc(100% - var(--px)) calc(100% - var(--px)), calc(100% - var(--px)) 100%, var(--px) 100%, var(--px) calc(100% - var(--px)), 0 calc(100% - var(--px)));
}

/* ---------- Butonlar (MC tarzı eğimli) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 2px solid #060805; background: #252c22; color: var(--text);
  font: 500 14px/1 var(--font); cursor: pointer; white-space: nowrap; box-shadow: var(--bevel);
  transition: background .12s, border-color .12s, color .12s, transform .06s;
}
.btn .ic { width: 16px; height: 16px; }
.btn:hover { background: #2f382b; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn.is-busy { opacity: .5; pointer-events: none; }
.btn.is-busy { position: relative; color: transparent; }
.btn.is-busy::after { content: ''; position: absolute; width: 10px; height: 10px; background: var(--text); animation: pxspin .7s steps(4) infinite; }
@keyframes pxspin { 0% { transform: translate(-6px, -6px); } 25% { transform: translate(6px, -6px); } 50% { transform: translate(6px, 6px); } 75% { transform: translate(-6px, 6px); } }
.btn-primary { background: #2a8439; color: #fff; font-weight: 600; border-color: #0b2410; }
.btn-primary:hover { background: #31963f; color: #fff; }
.btn-outline { background: #1b2118; border-color: #070906; }
.btn-outline:hover { background: #262e22; }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; box-shadow: none; }
.btn-ghost:hover { background: var(--panel-2); color: var(--text); }
.btn-danger { background: #2a1414; border-color: #140707; color: #ffb4b4; }
.btn-danger:hover { background: #3a1818; color: #ffd0d0; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-xs { height: 26px; padding: 0 9px; font-size: 12px; border-width: 1px; }
.btn-ghost.btn-xs { box-shadow: none; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-block { width: 100%; }
.btn.is-static { pointer-events: none; color: var(--muted); }
.btn.on { border-color: var(--accent-3); color: var(--accent); background: #17301b; }

/* ---------- Marka / nav ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 24px/1 var(--display); }
.logo-mark { width: 28px; height: 28px; image-rendering: pixelated; shape-rendering: crispEdges; }
.mnav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.mnav-in, .anav-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.mnav-links, .anav-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.mnav-links a:hover { color: var(--text); }
.mnav-right, .anav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; font-weight: 600; padding: 6px 8px; border-radius: 4px; }
.lang .ic { width: 15px; height: 15px; }
.lang:hover { background: var(--panel-2); }
.anav { border-bottom: 1px solid var(--line); background: var(--bg-2); position: sticky; top: 0; z-index: 20; }
.anav-links a { padding: 20px 0 18px; position: relative; }
.anav-links a.on { color: var(--text); }
.anav-links a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); }
.anav-links a:hover { color: var(--text); }
.anav-right form { margin: 0; }
.who { color: var(--muted); font-size: 13px; max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 104px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
/* Üst etiket: Minecraft yazı tipinin small caps harfleri (fontun smcp/c2sc özelliği) */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font: 400 16px/1.25 var(--display); font-variant-caps: all-small-caps;
  margin-bottom: 22px; padding: 8px 12px 8px 10px; background: #102112; border: 1px solid #24462a; }
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--accent); flex: none; }
.hero h1 { font-size: 56px; line-height: 1.25; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 17.5px; color: var(--muted); margin: 22px 0 30px; max-width: 46ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--text); }
.hero-proof { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line-2); }
.hero-proof div { display: flex; flex-direction: column; gap: 2px; }
.hero-proof strong { font: 400 24px/1.25 var(--display); color: var(--text); }
.hero-proof span { font-size: 12.5px; color: var(--dim); }

/* Çim şeridi (bölüm ayırıcı) */
.grass-edge { height: 22px; position: relative; image-rendering: pixelated;
  background:
    repeating-linear-gradient(90deg, #4f9a37 0 8px, transparent 8px 16px, #5fb541 16px 24px, transparent 24px 40px, #468a31 40px 48px, transparent 48px 64px) 0 8px / 100% 4px no-repeat,
    repeating-linear-gradient(90deg, #4f9a37 0 8px, #5fb541 8px 16px, #468a31 16px 24px, #62b845 24px 32px, #55a63b 32px 40px) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, #6b4a2e 0 8px, #5a3d25 8px 16px, #75523a 16px 24px, #5e4029 24px 32px, #684730 32px 40px) 0 8px / 100% 14px no-repeat;
  opacity: .9; }
.grass-edge::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 8px, transparent 8px 24px, rgba(0, 0, 0, .1) 24px 32px); }

/* Hero sahnesi: konsol önizlemesi + yüzen bloklar */
.hero-art { position: relative; }
.hero-art .preview { position: relative; z-index: 2; }
.float-block { position: absolute; z-index: 3; width: var(--s, 72px); height: var(--s, 72px); pointer-events: none; animation: bob 6s ease-in-out infinite; }
.float-block.b1 { --s: 86px; left: -66px; top: -78px; }
.float-block.b2 { --s: 64px; right: -26px; bottom: -40px; animation-delay: -2s; }
.float-block.b3 { --s: 44px; right: 18%; top: -38px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.float-block .blk { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-28deg) rotateY(42deg); }
.float-block .blk i { position: absolute; inset: 0; background-size: 100% 100%; image-rendering: pixelated; background-color: var(--c, #5a3d25); }
.float-block .blk .t { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); background-color: var(--ct, var(--c)); }
.float-block .blk .f { transform: translateZ(calc(var(--s) / 2)); filter: brightness(.82); }
.float-block .blk .l { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.62); }
.hero-chip { position: absolute; z-index: 4; left: -36px; bottom: -22px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #10150f; border: 1px solid var(--line-2); font-size: 13px; }
.hero-chip b { font: 400 16px/1 var(--display); color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .float-block, .eyebrow::before, .dot.s-starting, .dot.s-auth { animation: none; } }

.preview { border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; }
.pv-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 20px; background: var(--panel-2); }
.pv-up { margin-left: auto; }
.pv-body { display: grid; grid-template-columns: 1fr 156px; }
.pv-console { padding: 14px 16px; font-size: 12.5px; line-height: 22px; border-right: 1px solid var(--line); min-height: 272px; background: #0b0d0a; }
.pv-input { margin-top: 10px; border: 1px solid var(--line-2); padding: 6px 10px; font-size: 12px; line-height: 18px; background: #070906; }
.pv-side { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.pv-stat { display: flex; flex-direction: column; gap: 5px; }
.pv-hotbar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin-top: auto; }
.pv-hotbar span { aspect-ratio: 1; border: 2px solid #070906; background: #232a20; }
.pv-hotbar span.sel { border-color: #e8ece4; }
.ln-sys { color: var(--muted); }
.ln-ok { color: var(--accent); }
.ln-macro { color: var(--info); }
.ln-macro::before { content: '▸ '; color: var(--dim); }

/* ---------- Bölümler ---------- */
.section { padding: 96px 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.page-top { padding-top: 64px; padding-bottom: 80px; }
.sec-head { margin-bottom: 44px; max-width: 660px; }
.sec-head h1, .sec-head h2 { font-size: 40px; margin-bottom: 12px; }
.sec-kicker { font: 400 16px/1.25 var(--display); font-variant-caps: all-small-caps; color: var(--accent); margin-bottom: 12px; }
.flist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fitem { display: flex; gap: 16px; padding: 22px; background: var(--panel); border: 1px solid var(--line); transition: background .15s, border-color .15s; }
.fitem:hover { background: var(--panel-2); border-color: var(--line-2); }
.ficon { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; background: #0a0d09; border: 2px solid #050605; }
.ficon .mc-tex { width: 28px; height: 28px; image-rendering: pixelated; }
.ficon .ic { display: none; color: var(--accent); }
.ficon .mc-tex.broken { display: none; }
.ficon .mc-tex.broken + .ic { display: block; }
.fitem h3 { margin-bottom: 6px; font-size: 15.5px; }
.fitem p { color: var(--muted); font-size: 14px; line-height: 22px; margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 22px; border: 1px dashed var(--line-2); background: rgba(19, 23, 18, .6); }
.steps .num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; font: 400 16px/1 var(--display); color: var(--accent-ink); background: var(--accent); }
.steps h3 { font-size: 17px; margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--accent); font: 400 16px/1.25 var(--display); }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--muted); margin: 12px 0 0; }
.cta-band { padding: 72px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px 40px; background: #11230f; border: 1px solid #24462a; clip-path: polygon(0 8px, 8px 8px, 8px 0, calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px)); }
.cta-in h2 { font-size: 32px; max-width: 22ch; }

/* ---------- Fiyatlar ---------- */
.period-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line-2); margin-bottom: 26px; background: var(--bg-2); }
.period-toggle button { border: 0; background: transparent; color: var(--muted); font: 500 13px var(--font); padding: 8px 14px; cursor: pointer; }
.period-toggle button.on { background: #252c22; color: var(--text); box-shadow: var(--bevel); }
.period-toggle .save { color: var(--gold); font-size: 12px; margin-left: 4px; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 14px; }
.pcard { border: 1px solid var(--line); padding: 24px; background: var(--panel); display: flex; flex-direction: column; gap: 18px; position: relative; }
.pcard.is-featured { background: #112112; border-color: #2f5a35; }
.pcard.is-featured::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: repeating-linear-gradient(90deg, #5fb541 0 8px, #4f9a37 8px 16px, #67c24a 16px 24px); }
.pcard.is-current { border-color: var(--line-3); }
.pcard header { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; }
.pcard h3 { font: 400 24px/1.25 var(--display); }
.pprice { display: flex; align-items: baseline; gap: 4px; }
.pprice .amount { font: 400 32px/1.25 var(--display); }
.pprice .per { color: var(--muted); font-size: 14px; }
.pfeat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; line-height: 21px; }
.pfeat li { display: flex; gap: 9px; align-items: flex-start; }
.pfeat .ic { width: 16px; height: 16px; color: var(--accent); margin-top: 2px; }
.pfeat li.off { color: var(--dim); }
.pfeat li.off .ic { color: var(--dim); }

/* ---------- Etiketler, noktalar, uyarılar ---------- */
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--line-2); font-size: 11.5px; color: var(--muted); white-space: nowrap; background: var(--bg-2); }
.tag-accent { color: var(--accent); border-color: rgba(98, 217, 109, .4); background: rgba(98, 217, 109, .1); }
.tag-err { color: var(--err); border-color: rgba(240, 106, 106, .4); }
.count { color: var(--muted); font-size: 12px; font-weight: 500; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 0; background: var(--dim); flex: none; }
.dot-online, .dot.s-online { background: var(--accent); }
.dot.s-starting, .dot.s-auth { background: var(--warn); animation: pulse 1.2s steps(2) infinite; }
.dot.s-reconnecting { background: var(--warn); }
.dot.s-queued { background: var(--info); }
.dot.s-error { background: var(--err); }
@keyframes pulse { 50% { opacity: .35; } }
.alert { border: 1px solid var(--line-2); border-left-width: 4px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px; background: var(--panel); }
.alert-err { border-color: rgba(240, 106, 106, .45); background: var(--err-soft); color: #ffd0d0; }
.alert-warn { border-color: rgba(244, 197, 66, .45); background: rgba(244, 197, 66, .07); color: #fde7a6; margin-top: 10px; }
.alert-ok { border-color: rgba(98, 217, 109, .45); background: var(--accent-soft); color: #c6f6cc; }
.alert-info { border-color: rgba(111, 211, 240, .4); background: rgba(111, 211, 240, .06); color: #cdeef8; margin-top: 10px; }
.lock { font-size: 11px; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; }
.lock::before { content: ''; width: 8px; height: 8px; background: var(--gold); }
.is-locked { opacity: .45; pointer-events: none; }

/* ---------- Footer ---------- */
.foot { padding: 0 0 28px; margin-top: auto; background: #080a07; }
.foot .grass-edge { margin-bottom: 36px; }
.foot-in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-brand { max-width: 380px; }
.foot-brand p { margin-top: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--muted); }
.foot-copy { margin-top: 28px; }

/* ---------- Metin sayfaları ---------- */
.prose h1 { font-size: 40px; margin-bottom: 12px; }
.prose h2 { font-size: 24px; margin: 38px 0 10px; }
.prose h3 { font-size: 16px; margin: 24px 0 8px; }
.prose p, .prose li { color: #cdd3c6; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ---------- Auth ---------- */
.k-auth main { display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth { width: 100%; max-width: 410px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.auth-card { width: 100%; border: 1px solid var(--line-2); background: var(--panel); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h1 { font-size: 24px; margin-bottom: 4px; }
.auth-card p { margin: 0; }
.auth-foot { color: var(--muted); }

/* ---------- Form ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.field > span { font-weight: 500; }
input, select, textarea {
  width: 100%; height: 38px; padding: 0 12px; border-radius: 3px; border: 2px solid #2c3428;
  background: #080a07; color: var(--text); font: 14px var(--font); transition: border-color .12s;
}
textarea { height: auto; padding: 10px 12px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-2); }
input::placeholder { color: var(--dim); }
input:disabled, select:disabled { opacity: .55; }
input[type=checkbox], input[type=radio] { width: auto; height: auto; accent-color: var(--accent-2); box-shadow: none; }
input[type=time] { color-scheme: dark; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.grid-2 .field-sm { max-width: 140px; }
.grid-top { align-items: start; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.form-err { color: var(--err); font-size: 13px; margin: 0; }
.form-actions, .row-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.row-actions { justify-content: flex-start; }
.switch { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; min-height: 38px; }
.switch.small { font-size: 13px; min-height: 30px; }
.switch input { appearance: none; width: 38px; height: 20px; border-radius: 0; background: #0a0c09; position: relative; cursor: pointer; border: 2px solid #2c3428; flex: none; transition: background .12s, border-color .12s; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; background: #8d9687; transition: transform .12s steps(3); }
.switch input:checked { background: #17301b; border-color: var(--accent-3); }
.switch input:checked::after { transform: translateX(18px); background: var(--accent); }
.chk { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; margin-top: 10px; }
fieldset { border: 1px solid var(--line); padding: 16px; margin: 0; background: rgba(10, 12, 9, .35); }
legend { padding: 0 6px; font-size: 13px; color: var(--text); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.seg { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid #060805; padding: 3px; background: #0c0f0b; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 7px 8px; font-size: 13px; color: var(--muted); }
.seg input:checked + span { background: #252c22; color: var(--text); box-shadow: var(--bevel); }

/* ---------- Uygulama ---------- */
.app-main { padding: 30px 0 64px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { display: flex; align-items: center; gap: 12px; }
.page-head p { margin: 4px 0 0; }
.page-actions { display: flex; gap: 8px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.back .ic { width: 14px; height: 14px; }
.sub-h { font: 400 24px/1.25 var(--display); margin: 34px 0 12px; color: var(--text); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 16px; margin-bottom: 14px; }
.panel > h3 { margin-bottom: 12px; }
.panel-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.panel-h h3, .panel > h3, details summary h3 { font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; }
.panel-h h3::before, .panel > h3::before, details summary h3::before { content: ''; width: 6px; height: 6px; background: var(--accent-2); }
.planbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1px solid var(--line); padding: 12px 16px; margin-bottom: 14px; font-size: 14px; background: #102112; border-color: #1f3b23; }

.rows { display: flex; flex-direction: column; }
.panel:has(> .rows) { padding: 0; overflow: hidden; }
.row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 160px auto; align-items: center; gap: 16px; padding: 14px 16px; border-bottom: 1px solid var(--line); transition: background .12s; }
.row:hover { background: rgba(255, 255, 255, .015); }
.row.is-sel { background: rgba(98, 217, 109, .05); }
.row:last-child { border-bottom: 0; }
.row-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.row-main .sel { flex: none; }
.row-main strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-main a { min-width: 0; }
.row-main a:hover strong { color: var(--accent); }
.row-sub { color: var(--muted); font-size: 13px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-status { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.row-actions-r { display: flex; justify-content: flex-end; gap: 6px; }
.row.is-locked-row { opacity: .5; }
.empty { padding: 36px 16px; text-align: center; color: var(--muted); font-size: 14px; }
.row-server { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 90px auto; }

/* Kutucuk göstergeler (stat tile) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); position: relative; }
.tile::after { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent-3); }
.tile-l { font-size: 12.5px; color: var(--muted); }
.tile-v { font: 600 24px/28px var(--font); letter-spacing: -0.01em; color: var(--text); }

/* Toplu işlem çubuğu */
.bulkbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 12px; margin-bottom: 10px; border: 1px dashed var(--line-2); background: rgba(10, 12, 9, .5); font-size: 13px; }
.bulk-actions { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }

/* Dialog */
.dlg { border: 1px solid var(--line-3); border-radius: var(--radius); background: var(--panel); color: var(--text); padding: 0; width: min(470px, calc(100vw - 32px)); }
.dlg-wide { width: min(740px, calc(100vw - 32px)); }
.dlg::backdrop { background: rgba(0, 0, 0, .7); }
.dlg-form { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.dlg-form h2 { font-size: 24px; }
.dlg-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
/* Toplu ekle / toplu yönet */
.dlg-form .field > span .btn { margin-left: 6px; vertical-align: middle; }
.dlg-form textarea.mono { font-size: 13px; line-height: 20px; resize: vertical; min-height: 120px; max-height: 340px; }
.manage { gap: 12px; }
.manage h2 .muted { font-size: 14px; font-weight: 400; margin-left: 8px; }
.manage fieldset { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; }
.mline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mline input, .mline select { flex: 1 1 180px; min-width: 0; }
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.mrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.mrow-btns { display: flex; gap: 4px; flex: none; }
.mcount { color: var(--muted); font-size: 11.5px; font-weight: 400; margin-left: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mcount.is-all { color: var(--accent); }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 500; }
.field-head label { cursor: default; }
.bulk-proxy { border: 1px solid var(--line); padding: 10px 12px; background: rgba(10, 12, 9, .35); }
.bulk-proxy summary { cursor: pointer; font-size: 13px; color: var(--muted); font-weight: 500; }
.bulk-proxy summary b { color: var(--accent); font-weight: 600; }
.bulk-proxy[open] summary { margin-bottom: 8px; }
.bulk-proxy textarea { width: 100%; }
.manage textarea { width: 100%; resize: vertical; }
.dlg-form .manage textarea.mono, .manage textarea.mono { min-height: 72px; }
.bulk-proxy textarea.mono { min-height: 90px; }
.manage fieldset.danger { border-color: rgba(240, 106, 106, .35); }
@media (max-width: 600px) { .mgrid { grid-template-columns: 1fr; } }

/* Sekmeler */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs button, .tabs a { position: relative; background: transparent; border: 0; color: var(--muted); padding: 11px 14px; font: 500 14px var(--font); cursor: pointer; white-space: nowrap; }
.tabs button:hover, .tabs a:hover { color: var(--text); }
.tabs button.on, .tabs a.on { color: var(--text); }
.tabs button.on::after, .tabs a.on::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; background: var(--accent); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.sub-head { margin-bottom: 16px; }
.sub-head h2 { font-size: 24px; }
.narrow-form { max-width: 640px; }
.plan-form h3 { margin-top: 6px; }
.announce { background: #112112; border-bottom: 1px solid #24462a; color: #d6f7d9; text-align: center; font-size: 13.5px; padding: 9px 16px; }
.pane-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pane.loading .chart-host, .pane.loading .tiles { opacity: .55; transition: opacity .2s; }

/* ---------- Bot sayfası ---------- */
.bot-title h1 { font-size: 32px; }
.bot-grid { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 14px; align-items: start; }
.console-panel { padding: 0; display: flex; flex-direction: column; height: calc(100vh - 250px); min-height: 480px; overflow: hidden; }
.console-tools { display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.console { flex: 1; overflow-y: auto; padding: 12px 14px; font-size: 12.5px; line-height: 1.65; background: #070906; word-break: break-word; }
.console .l { white-space: pre-wrap; }
.console .ts { color: var(--dim); margin-right: 8px; user-select: none; }
.console .l-info { color: var(--muted); }
.console .l-ok { color: var(--accent); }
.console .l-warn { color: var(--warn); }
.console .l-error { color: var(--err); }
.console .l-self { color: var(--info); }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--panel-2); }
.chat-form input { font-family: var(--mono); font-size: 13px; }
.side { display: flex; flex-direction: column; }
.side .panel { margin-bottom: 12px; }
.vitals { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.vitals > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; }
.vitals .bar { grid-column: 1 / -1; }
/* Bölütlü piksel çubuk */
.bar { height: 10px; background: #070906; border: 2px solid #050605; overflow: hidden; position: relative; }
.bar::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(0, 0, 0, .55) calc(10% - 2px) 10%); pointer-events: none; }
.bar i { display: block; height: 100%; width: 0; background: var(--redstone); transition: width .4s steps(10); }
.bar-food i { background: #d9922e; }
.bar-xp i { background: #7cf05a; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; }
.kv dt { font-size: 12px; color: var(--muted); }
.kv dd { margin: 2px 0 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kv-wide { grid-template-columns: 1fr; }
.controls { display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: start; }
.controls button, .look-grid button { height: 34px; min-width: 34px; border-radius: 3px; border: 2px solid #060805; background: #252c22; color: var(--text); font: 600 12px var(--font); cursor: pointer; user-select: none; touch-action: none; box-shadow: var(--bevel); }
.controls button:hover { background: #2f382b; }
.controls button.on, .controls button:active { border-color: var(--accent-3); color: var(--accent); background: #17301b; }
.dpad { display: grid; grid-template-columns: repeat(3, 34px); gap: 4px; }
.ctl-col { display: flex; flex-direction: column; gap: 4px; }
.ctl-col button { padding: 0 10px; }
.look { display: flex; flex-direction: column; align-items: center; gap: 4px; justify-self: end; }
.look-grid { display: grid; grid-template-columns: repeat(3, 30px); gap: 3px; align-items: center; justify-items: center; }
.look-grid button { height: 28px; min-width: 30px; }
.clicks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.clicks .btn.on { border-color: var(--accent-3); color: var(--accent); background: #17301b; }

/* Git / takip et */
.nav-status { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin-bottom: 10px; background: #080a07; border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.nav-dot { width: 8px; height: 8px; background: var(--dim); flex: none; }
.nav-status.on { color: var(--text); border-color: #2f5a35; }
.nav-status.on .nav-dot { background: var(--accent); animation: pulse 1s steps(2) infinite; }
.goto-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px; margin-bottom: 6px; }
.goto-row input { height: 32px; font: 13px var(--mono); padding: 0 8px; }
.goto-follow { grid-template-columns: minmax(0, 1fr) auto; }
.goto-follow select { height: 32px; font-size: 13px; }
.nav-panel .clicks { margin-top: 6px; }
.nav-panel p { margin: 8px 0 0; }

/* Slotlar (MC envanter hücresi) */
.slots, .inv { display: grid; grid-template-columns: repeat(9, 1fr); gap: 3px; }
.slot { position: relative; aspect-ratio: 1; border: 2px solid #050605; border-radius: 0; background: #2a3126; font: 500 8.5px/1.05 var(--font); color: #d7dccf; padding: 2px; overflow: hidden; cursor: pointer; text-align: left;
}
.slot:hover { background: #3a4335; }
.slot.sel { border-color: #e8ece4; }
.slot .qty { position: absolute; right: 2px; bottom: 1px; font: 600 10px var(--mono); color: #fff; }
.slot .sn { position: absolute; left: 2px; bottom: 1px; font: 9px var(--mono); color: #7a8472; }
.slot.empty { cursor: default; }
.inv-sep { grid-column: 1 / -1; height: 4px; }
.slots + p, .inv + p { margin: 10px 0 0; }
.faq-gap { margin-top: 56px; }
.players { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; color: var(--muted); max-height: 180px; overflow: auto; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
.msa { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border: 1px solid rgba(244, 197, 66, .4); background: rgba(244, 197, 66, .06); padding: 16px 18px; margin-bottom: 14px; }
.msa h3 { margin-bottom: 4px; }
.msa p { margin: 0; }
.msa-code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.msa-code a { color: var(--accent); font-weight: 500; }
.msa-code code { font-size: 20px; letter-spacing: .12em; padding: 6px 12px; background: var(--bg); }
.settings { display: flex; flex-direction: column; gap: 16px; }
.danger { border-color: rgba(240, 106, 106, .25); }
.danger h3 { color: var(--err); margin-bottom: 12px; }
.danger h3::before { background: var(--err) !important; }
.danger-row { display: flex; gap: 8px; flex-wrap: wrap; }
.actions { display: flex; flex-direction: column; gap: 6px; }
.action { display: grid; grid-template-columns: 24px 170px 1fr auto; gap: 8px; align-items: center; border: 1px solid var(--line); padding: 6px 8px; background: var(--bg-2); }
.action .n { color: var(--dim); font: 12px var(--mono); text-align: center; }
.action .t { font-size: 13px; }
.action .params { display: flex; gap: 6px; }
.action input, .action select { height: 30px; font-size: 13px; }
.action .mv { display: flex; gap: 2px; }
.action .mv button { height: 26px; width: 24px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.action .mv button:hover { background: var(--panel-2); color: var(--text); }
.add-action { display: flex; gap: 8px; }
.add-action select { max-width: 260px; }
.macro-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; }

/* Zamanlayıcı */
.sch-list { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 12px; }
.sch-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); background: var(--bg-2); }
.sch-row.off { opacity: .55; }
.sch-row .switch { min-height: 0; }
.sch-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.sch-main strong { font-size: 13.5px; }
.sch-add { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.sch-add .field-sm { width: 130px; }
.day-chips { display: flex; gap: 3px; flex-wrap: wrap; }
.day { cursor: pointer; }
.day input { position: absolute; opacity: 0; pointer-events: none; }
.day span { display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: #0c0f0b; border: 2px solid #060805; }
.day input:checked + span { color: #fff; background: #2a8439; border-color: #0b2410; box-shadow: var(--bevel-hi); }
.day input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }

/* İstatistik: grafikler + olay geçmişi */
.chart-host { min-height: 200px; }
.chart { position: relative; }
.chart-box { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.c-grid line { stroke: var(--chart-grid); stroke-width: 1; shape-rendering: crispEdges; }
.c-base { stroke: var(--chart-base); stroke-width: 1; shape-rendering: crispEdges; }
.c-tick { fill: var(--dim); font: 11px var(--mono); font-variant-numeric: tabular-nums; }
.c-val { fill: var(--muted); font: 600 11.5px var(--font); }
.c-bar { transition: filter .12s; }
.c-bar.on { filter: brightness(1.3); }
.c-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.c-area { opacity: .1; }
.c-dot { stroke: var(--panel); stroke-width: 2; }
.c-cross { stroke: var(--line-3); stroke-width: 1; shape-rendering: crispEdges; }
.c-hit { fill: transparent; cursor: crosshair; outline: none; }
.c-hit:focus-visible { stroke: var(--accent); stroke-width: 1; }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 110px; padding: 7px 10px; background: #0b0d0a; border: 1px solid var(--line-3); font-size: 12px; white-space: nowrap; }
.ct-row { display: flex; align-items: center; gap: 7px; }
.ct-row strong { font-weight: 600; color: var(--text); }
.ct-row span { color: var(--muted); }
.ct-key { width: 12px; height: 2px; flex: none; }
.ct-head { color: var(--dim); margin-top: 3px; font-size: 11.5px; }
.chart-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-line { width: 14px; height: 2px; }
.chart-table { margin-top: 6px; font-size: 12.5px; }
.chart-table summary { color: var(--dim); display: inline-block; }
.chart-table summary:hover { color: var(--text); }
.chart-table .table-wrap { max-height: 220px; overflow: auto; margin-top: 6px; }
.chart-table td, .chart-table th { font-variant-numeric: tabular-nums; }
.events { display: flex; flex-direction: column; max-height: 320px; overflow: auto; }
.ev { display: grid; grid-template-columns: 10px 128px 130px minmax(0, 1fr); gap: 8px; align-items: center; padding: 7px 2px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ev:last-child { border-bottom: 0; }
.ev-dot { width: 8px; height: 8px; background: var(--dim); }
.ev-ok .ev-dot { background: var(--accent); }
.ev-err .ev-dot { background: var(--err); }
.ev-warn .ev-dot { background: var(--warn); }
.ev-play .ev-dot { background: var(--info); }
.ev-t { color: var(--dim); font-size: 12px; }
.ev-d { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Canlı görüntü ---------- */
.stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100vh - 290px); min-height: 360px; background: #000; border: 1px solid var(--line-2); overflow: hidden; user-select: none; }
.stage:fullscreen { max-height: none; border: 0; border-radius: 0; aspect-ratio: auto; }
.stage-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; background: #0a0b0d; }
.stage-hud { position: absolute; inset: 0; cursor: pointer; font-family: var(--mono); }
.stage.locked .stage-hud { cursor: none; }
.stage-msg { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(0, 0, 0, .7); border: 2px solid rgba(255, 255, 255, .15); color: #fff; padding: 10px 18px; font: 500 14px var(--font); text-align: center; max-width: 80%; }
.stage.locked .stage-msg { display: none; }
.hud-cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); opacity: .85; }
.hud-cross::before, .hud-cross::after { content: ''; position: absolute; background: #fff; mix-blend-mode: difference; }
.hud-cross::before { left: 8px; top: 0; width: 2px; height: 18px; }
.hud-cross::after { top: 8px; left: 0; height: 2px; width: 18px; }
.hud-chat { position: absolute; left: 10px; bottom: 160px; width: min(560px, 60%); display: flex; flex-direction: column; gap: 1px; font-size: 13px; line-height: 1.35; pointer-events: none; }
.hud-chat div { background: rgba(0, 0, 0, .45); padding: 1px 6px; color: #fff; text-shadow: 1px 1px 0 #222; white-space: pre-wrap; word-break: break-word; animation: hudfade 12s forwards; }
.stage.chatting .hud-chat div { animation: none; opacity: 1; }
@keyframes hudfade { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.hud-bottom { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); width: min(440px, 92%); display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.hud-bars { display: flex; justify-content: space-between; }
.hud-hearts, .hud-food { display: flex; gap: 1px; }
.hud-food { flex-direction: row-reverse; }
.hud-icon { width: 15px; height: 15px; position: relative; }
.hud-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hud-icon .bg { color: rgba(0, 0, 0, .55); }
.hud-icon .fg { color: #e5484d; }
.hud-food .hud-icon .fg { color: #d9922e; }
.hud-icon.half .fg { clip-path: inset(0 50% 0 0); }
.hud-food .hud-icon.half .fg { clip-path: inset(0 0 0 50%); }
.hud-icon.none .fg { display: none; }
.hud-xp { position: relative; height: 5px; background: rgba(0, 0, 0, .6); }
.hud-xp i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #7cf05a; }
.hud-xp span { position: absolute; left: 50%; top: -15px; transform: translateX(-50%); color: #7cf05a; font-weight: 700; font-size: 13px; text-shadow: 1px 1px 0 #000; }
.hud-hotbar { display: grid; grid-template-columns: repeat(9, 1fr); gap: 2px; padding: 2px; background: rgba(0, 0, 0, .5); border: 2px solid rgba(0, 0, 0, .7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hud-hotbar .hslot { position: relative; aspect-ratio: 1; border: 1px solid rgba(255, 255, 255, .12); color: #eee; font: 8px/1.1 var(--font); padding: 2px; overflow: hidden; container-type: inline-size; }
.hud-hotbar .hslot.sel { border: 2px solid #fff; }
.hud-input { position: absolute; left: 10px; right: 10px; bottom: 90px; }
.hud-input input { background: rgba(0, 0, 0, .7); border-color: rgba(255, 255, 255, .25); font-family: var(--mono); }
.stage-tools { position: absolute; right: 8px; top: 8px; display: flex; gap: 4px; z-index: 6; flex-wrap: wrap; justify-content: flex-end; max-width: 70%; }
.stage-tools .btn { background: rgba(0, 0, 0, .6); color: #ddd; border-color: rgba(0, 0, 0, .8); }
.stage.locked .stage-tools { opacity: 0; }
.stage-hint { margin-top: 8px; }

/* Eşya menüsü, taşıma, oyun içi envanter */
.item-menu { position: fixed; z-index: 60; min-width: 160px; background: #100010; border: 2px solid #22003c; box-shadow: inset 0 0 0 1px #3c1a82; padding: 4px; display: flex; flex-direction: column; font-family: var(--font); }
.item-menu .im-title { font-size: 12px; color: #d9d0ff; padding: 6px 8px 4px; border-bottom: 1px solid #2a1650; margin-bottom: 2px; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-menu button { text-align: left; background: transparent; border: 0; color: #eee; font: 13px var(--font); padding: 7px 8px; cursor: pointer; }
.item-menu button:hover { background: #2a1650; color: #fff; }
.slot.moving { border-color: var(--warn); box-shadow: inset 0 0 0 1px var(--warn); }
.inv-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .58); display: flex; align-items: center; justify-content: center; z-index: 5; }
.inv-panel { width: min(470px, 92%); background: #c6c6c6; color: #3f3f3f; border: 2px solid #000; padding: 14px; box-shadow: inset 3px 3px 0 #fff, inset -3px -3px 0 #555; max-height: 94%; overflow: auto; }
.inv-panel .panel-h { margin-bottom: 10px; }
.inv-panel .slot { font-size: 9px; background: #8b8b8b; border: 0; color: #fff; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff; }
.inv-panel .slot:hover { background: #a6a6a6; }
.inv-panel .slot .sn { color: #5a5a5a; }
.inv-panel .slot.sel { box-shadow: inset 0 0 0 2px #fff, inset 3px 3px 0 #373737; }
.inv-panel .muted, .inv-panel .xsmall { color: #555; }
.inv-panel .btn-ghost { color: #3f3f3f; }
.inv-panel .btn-ghost:hover { background: rgba(0, 0, 0, .08); color: #000; }
.inv-panel .btn-outline { background: #d6d6d6; color: #333; border-color: #000; box-shadow: inset 2px 2px 0 #fff, inset -2px -2px 0 #555; }
.inv-panel input { background: #000; border-color: #a0a0a0; color: #fff; }
.inv-panel .craft-item { background: #8b8b8b; border: 0; color: #fff; box-shadow: inset 2px 2px 0 #373737, inset -2px -2px 0 #fff; }
.inv-panel .craft-item:hover { background: #a6a6a6; }
.inv-panel .craft-item .slot.mini { box-shadow: none; background: transparent; }
.stage.ov-open .stage-hud { cursor: default; }
.stage.ov-open .stage-msg { display: none; }
.stage-tools .btn.on { color: var(--accent); background: rgba(0, 0, 0, .75); box-shadow: inset 0 0 0 1px var(--accent); }

/* Eşya ikonları */
.slot { container-type: inline-size; }
.slot .ico { position: absolute; left: 12%; top: 12%; width: 76%; height: 76%; object-fit: cover; object-position: top; image-rendering: pixelated; pointer-events: none; }
.hslot .ico { position: absolute; left: 14%; top: 14%; width: 72%; height: 72%; object-fit: cover; object-position: top; image-rendering: pixelated; }
.cube { position: absolute; left: 24cqw; top: 22cqw; width: 52cqw; height: 52cqw; transform-style: preserve-3d; transform: rotateX(-30deg) rotateY(45deg); pointer-events: none; }
.cube i { position: absolute; inset: 0; background-size: 100% auto; background-position: top; background-repeat: no-repeat; image-rendering: pixelated; }
.cube .t { transform: rotateX(90deg) translateZ(26cqw); }
.cube .f { transform: translateZ(26cqw); filter: brightness(.8); }
.cube .l { transform: rotateY(-90deg) translateZ(26cqw); filter: brightness(.62); }
.tint { filter: sepia(1) saturate(3.5) hue-rotate(48deg) brightness(.85); }
.cube .f.tint { filter: sepia(1) saturate(3.5) hue-rotate(48deg) brightness(.68); }
.cube .l.tint { filter: sepia(1) saturate(3.5) hue-rotate(48deg) brightness(.52); }
.cube.skin i { background-size: 800% auto; background-repeat: no-repeat; }
.ico-txt { font: 500 8.5px/1.05 var(--font); color: #d7dccf; word-break: break-word; }
.slot .qty, .hslot .qty { position: absolute; right: 2px; bottom: 0; font: 700 10.5px var(--mono); color: #fff; text-shadow: 1px 1px 0 #3f3f3f; z-index: 2; }
.slot .dur, .hslot .dur { position: absolute; left: 14%; right: 14%; bottom: 3px; height: 2px; background: #000; z-index: 2; }
.slot .dur i, .hslot .dur i { display: block; height: 100%; }
.slot.ench::after, .hslot.ench::after { content: ''; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; background: linear-gradient(115deg, transparent 35%, rgba(180, 110, 255, .55) 48%, transparent 62%); background-size: 260% 100%; animation: glint 2.6s linear infinite; }
@keyframes glint { from { background-position: 130% 0; } to { background-position: -130% 0; } }
.slot.mini { display: inline-block; width: 30px; height: 30px; vertical-align: middle; flex: none; cursor: default; }
.slot.has-ico .sn, .slot.has-item .sn { opacity: .55; }
.im-title { display: flex; align-items: center; gap: 8px; }
.wingrid .win-inv { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line-2); }
.inv-panel .wingrid .win-inv { border-top-color: #8b8b8b; }
.cursor-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ov-tabs { display: flex; gap: 4px; }
.ov-tabs button { background: transparent; border: 0; color: #555; font: 400 16px/1.25 var(--display); padding: 4px 8px; cursor: pointer; }
.ov-tabs button.on { color: #1d1d1d; background: rgba(0, 0, 0, .1); }
.craft-tools { display: flex; gap: 6px; margin: 8px 0; }
.craft-tools input { height: 30px; font-size: 13px; }
.craft-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; max-height: 280px; overflow: auto; }
.craft-item { display: flex; align-items: center; gap: 8px; text-align: left; background: var(--bg-2); border: 1px solid var(--line); padding: 4px 6px; color: var(--text); cursor: pointer; font: 12px var(--font); }
.craft-item:hover { border-color: var(--accent); }
.craft-item .cn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* MC tarzı eşya ipucu */
.mc-tip { position: fixed; z-index: 80; pointer-events: none; max-width: 440px; padding: 6px 8px; background: rgba(16, 0, 16, .94); border: 2px solid #100010; box-shadow: inset 0 0 0 1px #5000a0, inset 0 0 0 2px #28007f; font: 400 16px/1.25 var(--display); color: #fff; text-shadow: 1px 1px 0 #3f3f3f; }
.mc-tip .n { color: #fff; }
.mc-tip .n.ench { color: #55ffff; }
.mc-tip .d { color: #aaa; }
.mc-tip .id { color: #6b6b6b; white-space: nowrap; }

/* Oyun içi HUD ekleri */
.hud-bars + .hud-bars { margin-top: -2px; }
.hud-armor, .hud-air { display: flex; gap: 1px; min-height: 15px; }
.hud-air { flex-direction: row-reverse; }
.hud-armor .hud-icon .fg { color: #d9dde3; }
.hud-air .hud-icon .fg { color: #7dd3fc; }
.hud-actionbar, .hud-itemname { text-align: center; color: #fff; text-shadow: 1px 1px 0 #222; font-size: 13px; min-height: 0; opacity: 0; transition: opacity .3s; }
.hud-actionbar.show, .hud-itemname.show { opacity: 1; }
.hud-title { position: absolute; left: 0; right: 0; top: 30%; text-align: center; pointer-events: none; text-shadow: 2px 2px 0 #222; }
.hud-title .t { font: 400 48px/1.25 var(--display); color: #fff; }
.hud-title .s { font: 400 24px/1.25 var(--display); color: #fff; margin-top: 6px; }
.hud-boss { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: min(420px, 70%); display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.hud-boss .bt { text-align: center; color: #fff; font-size: 12.5px; text-shadow: 1px 1px 0 #222; }
.hud-boss .bbar { height: 5px; background: rgba(0, 0, 0, .6); overflow: hidden; }
.hud-boss .bbar i { display: block; height: 100%; }
.hud-score { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-width: 150px; max-width: 34%; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12.5px; padding: 4px 6px; pointer-events: none; }
.hud-score .st { text-align: center; padding-bottom: 3px; }
.hud-score .sr { display: flex; justify-content: space-between; gap: 12px; white-space: nowrap; }
.hud-score .sr b { color: #ff5555; font-weight: 400; }
.hud-debug { position: absolute; left: 8px; top: 8px; font-size: 12.5px; line-height: 1.5; color: #fff; pointer-events: none; }
.hud-debug div { background: rgba(0, 0, 0, .45); display: table; padding: 0 4px; margin-bottom: 1px; }
.hud-tab { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: auto; min-width: 260px; max-width: min(900px, 94%); background: rgba(0, 0, 0, .6); color: #fff; font-size: 12.5px; padding: 6px; pointer-events: none; z-index: 3; }
.hud-tab .th, .hud-tab .tf { text-align: center; padding: 4px; }
.hud-tab .tc { text-align: center; font-size: 11px; color: #b8bcc6; padding: 1px 0 5px; }
.hud-tab .tp { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(190px, 1fr)); gap: 1px; }
.hud-tab .tp div { display: flex; justify-content: flex-start; align-items: center; background: rgba(255, 255, 255, .08); padding: 1px 5px; gap: 6px; }
.hud-tab .tp span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-tab .head { width: 16px; height: 16px; flex: none; image-rendering: pixelated; }
.ping { width: 12px; height: 9px; flex: none; background: linear-gradient(to right, currentColor 0 2px, transparent 2px 3px, currentColor 3px 5px, transparent 5px 6px, currentColor 6px 8px, transparent 8px 9px, currentColor 9px 12px); color: #4ade80; }
.ping.p3 { color: #facc15; } .ping.p2, .ping.p1 { color: #f87171; }
.hud-dead { position: absolute; inset: 0; background: rgba(120, 0, 0, .45); color: #fff; display: flex; align-items: center; justify-content: center; font: 400 40px/1.25 var(--display); text-shadow: 3px 3px 0 #300; pointer-events: none; }

/* Minecraft tarzı oyuncu envanteri (overlay) */
#ov-grid.mcinv { display: block; }
.mcinv .mc-top { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 3px; margin-bottom: 10px; }
.mcinv .mc-armor, .mcinv .mc-off, .mcinv .mc-g2, .mcinv .mc-res, .mcinv .mc-craft-row { display: contents; }
.mcinv .mc-armor .slot { grid-column: 1; }
.mcinv .mc-armor .slot:nth-child(1) { grid-row: 1; }
.mcinv .mc-armor .slot:nth-child(2) { grid-row: 2; }
.mcinv .mc-armor .slot:nth-child(3) { grid-row: 3; }
.mcinv .mc-armor .slot:nth-child(4) { grid-row: 4; }
.mcinv .mc-off .slot { grid-column: 5; grid-row: 4; }
.mcinv .mc-doll { grid-column: 2 / span 3; grid-row: 1 / span 4; position: relative; overflow: hidden; background: #000; border: 2px solid #000; box-shadow: inset 0 0 0 1px #373737; }
.mcinv .mc-doll img { position: absolute; left: 50%; top: 6%; height: 80%; transform: translateX(-50%); image-rendering: pixelated; user-select: none; }
.mcinv .mc-doll.noskin::before { content: ''; position: absolute; left: 50%; top: 10%; height: 72%; aspect-ratio: 1 / 2; transform: translateX(-50%); background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 32'%3E%3Cg fill='%23353a45'%3E%3Crect x='4' y='0' width='8' height='8'/%3E%3Crect x='4' y='8' width='8' height='12'/%3E%3Crect x='0' y='8' width='4' height='12'/%3E%3Crect x='12' y='8' width='4' height='12'/%3E%3Crect x='4' y='20' width='4' height='12'/%3E%3Crect x='8' y='20' width='4' height='12'/%3E%3C/g%3E%3C/svg%3E"); }
.mcinv .doll-name { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font: 10px var(--mono); color: #9a9a9a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.mcinv .mc-craft { grid-column: 6 / span 4; grid-row: 1 / span 4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; align-content: center; }
.mcinv .mc-lbl { grid-column: 1 / -1; grid-row: 1; font: 400 16px/1.25 var(--display); color: #404040; }
.mcinv .mc-g2 .slot:nth-child(1) { grid-column: 1; grid-row: 2; }
.mcinv .mc-g2 .slot:nth-child(2) { grid-column: 2; grid-row: 2; }
.mcinv .mc-g2 .slot:nth-child(3) { grid-column: 1; grid-row: 3; }
.mcinv .mc-g2 .slot:nth-child(4) { grid-column: 2; grid-row: 3; }
.mcinv .mc-arrow { grid-column: 3; grid-row: 2 / span 2; align-self: center; justify-self: center; width: 70%; aspect-ratio: 22 / 15; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 15'%3E%3Cpath fill='%238b8b8b' d='M0 5h13V0l9 7.5-9 7.5v-5H0z'/%3E%3C/svg%3E"); }
.mcinv .mc-res .slot { grid-column: 4; grid-row: 2 / span 2; align-self: center; }
.mcinv .mc-main, .mcinv .mc-hot { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 3px; }
.mcinv .mc-hot { margin-top: 8px; }
.ov-float { position: absolute; left: 0; top: 0; width: 34px; height: 34px; pointer-events: none; z-index: 10; border: 0; background: transparent !important; box-shadow: none !important; will-change: transform; }

/* ---------- Admin ---------- */
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 14px; }
.stat { border: 1px solid var(--line); padding: 14px 16px; background: var(--panel); display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 20px; letter-spacing: -0.01em; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255, 255, 255, .015); }
.table form { margin: 0; }
.is-banned td { opacity: .6; }
.inline-search input { height: 32px; width: 240px; }

/* ---------- Ödeme ---------- */
.paylist { display: flex; flex-direction: column; gap: 8px; }
.payopt { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 12px; text-align: left; padding: 14px 16px; border: 2px solid #060805; background: #1b2118; color: var(--text); cursor: pointer; font: 14px var(--font); box-shadow: var(--bevel); }
.payopt:hover { background: #242c20; border-color: var(--accent-3); }
.payopt .mono { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 15px; }

/* ---------- Minecraft renk kodları ---------- */
.mc-0 { color: #4a4a4a; } .mc-1 { color: #4b5bdc; } .mc-2 { color: #2fb12f; } .mc-3 { color: #28b8b8; }
.mc-4 { color: #cf3a3a; } .mc-5 { color: #b44cb4; } .mc-6 { color: #f2ab11; } .mc-7 { color: #aaaaaa; }
.mc-8 { color: #6f6f6f; } .mc-9 { color: #7282ff; } .mc-a { color: #55ff55; } .mc-b { color: #55ffff; }
.mc-c { color: #ff5f5f; } .mc-d { color: #ff66ff; } .mc-e { color: #ffff55; } .mc-f { color: #ffffff; }
.mc-l { font-weight: 700; } .mc-o { font-style: italic; } .mc-n { text-decoration: underline; } .mc-m { text-decoration: line-through; }
.mc-k { filter: blur(3px); }

/* ---------- Toast (MC başarım bildirimi gibi) ---------- */
.toast { position: fixed; top: 76px; right: 18px; display: flex; align-items: center; gap: 12px; min-width: 240px; max-width: min(380px, calc(100vw - 36px)); background: #1a1f18; color: var(--text); border: 1px solid var(--line-3); padding: 12px 16px 12px 12px; font-size: 14px; z-index: 100; animation: toastin .22s steps(4); }
.toast::before { content: ''; width: 22px; height: 22px; flex: none; background: var(--accent-2); }
.toast.err::before { background: var(--redstone); }
.toast.err { color: #ffd0d0; }
@keyframes toastin { from { transform: translateX(40px); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .bot-grid { grid-template-columns: 1fr; }
  .console-panel { height: 60vh; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .float-block.b1 { left: -20px; top: -70px; }
}
@media (max-width: 860px) {
  .hero { padding: 60px 0 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { font-size: 48px; }
  .flist { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .mnav-links { display: none; }
  .row { grid-template-columns: minmax(0, 1fr) auto; }
  .row .row-sub-col, .row .row-status { display: none; }
  .row .row-main .row-sub { display: block; }
  .anav-in { gap: 16px; }
  .who { display: none; }
  .ev { grid-template-columns: 10px 110px minmax(0, 1fr); }
  .ev-d { grid-column: 2 / -1; }
  .hero-chip { left: 8px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .hero h1 { font-size: 40px; }
  .flist, .pgrid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .sec-head h1, .sec-head h2 { font-size: 32px; }
  .pv-body { grid-template-columns: 1fr; }
  .pv-side { display: none; }
  .pv-console { border-right: 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2 .field-sm { max-width: none; }
  .anav-links { gap: 14px; font-size: 13px; overflow-x: auto; }
  .anav-in { height: auto; flex-wrap: wrap; padding-top: 10px; gap: 6px 16px; }
  .anav-links a { padding: 10px 0; }
  .anav-right { margin-left: 0; order: -1; margin-left: auto; }
  .page-actions { width: 100%; flex-wrap: wrap; }
  .page-actions .btn { flex: 1 1 140px; }
  .manage h2 .muted { display: block; margin: 4px 0 0; }
  .controls { grid-template-columns: auto 1fr; }
  .look { grid-column: 1 / -1; justify-self: start; }
  .action { grid-template-columns: 20px 1fr auto; }
  .action .params { grid-column: 1 / -1; }
  .stats { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile-v { font-size: 20px; }
  .mnav-right .btn-ghost { display: none; }
  .brand { font-size: 16px; gap: 8px; }
  .float-block.b1 { --s: 54px; left: auto; right: 6px; top: -46px; }
  .float-block.b2 { --s: 48px; right: -4px; }
  .float-block.b3 { display: none; }
  .hero-chip { display: none; }
  .cta-in { padding: 26px 22px; }
  .bulk-actions { margin-left: 0; width: 100%; }
  .bulk-actions .btn { flex: 1; }
  .goto-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goto-row .btn { grid-column: 1 / -1; }
  .goto-follow { grid-template-columns: minmax(0, 1fr) auto; }
  .goto-follow .btn { grid-column: auto; }
}
