/* =========================================================
   ASTRALIS — arayüz (v0.3)
   Sıcak kömür zemin · altın vurgu · serif başlıklar · hap formlar
   ========================================================= */
:root {
  --bg: #171514;
  --s0: #141312;
  --s1: #171514;
  --s2: #1c1a19;
  --s3: #211f1d;
  --s4: #2d2926;
  --line: #26221f;
  --line2: #2f2a25;
  --line3: #413826;
  --text: #e6dfd7;
  --title: #f6ecd2;
  --muted: #a0968f;
  --dim: #847b75;

  --gold: #e7c26a;
  --gold2: #c9a24e;
  --gold3: #6d5e3b;
  --good: #9bd68f;
  --bad: #ee9a86;
  --warn: #e7b25c;
  --danger: #e2705f;
  --ice: #8fc7ef;
  --violet: #b394f0;

  --acc: #e2b04f;      /* fraksiyon rengi — JS ayarlar */
  --accent: var(--gold);

  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --dock-h: 56px;
  --hud-h: 50px;

  --fs: 'Alegreya SC', 'Alegreya', Georgia, serif;
  --fb: 'Alegreya', Georgia, serif;
  --fn: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
  --fu: var(--fb);
  --spring: cubic-bezier(.3, 1.35, .45, 1);
  --ease: cubic-bezier(.2, .9, .25, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body {
  height: 100%; overflow: hidden; color: var(--text);
  background: linear-gradient(180deg, #25211e 0%, #171514 32%, #171514 70%, #1b1816 100%) fixed var(--bg);
  font: 400 11.5px/1.35 var(--fb); overscroll-behavior: none; touch-action: manipulation;
  -webkit-user-select: none; user-select: none; -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
input { font: inherit; color: inherit; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-family: var(--fn); font-variant-numeric: tabular-nums; font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 700 9.5px/1 var(--fs); letter-spacing: .2em; text-transform: uppercase; color: var(--gold2); }
.pin { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 7px var(--gold); flex: none; }
.coin { display: inline-block; width: 1.05em; height: 1.05em; border-radius: 50%; flex: none; background: radial-gradient(circle at 34% 30%, #fff7dc 0 12%, #f0d58c 30%, #c99a3e 68%, #7a5a22 100%); box-shadow: inset 0 -1px 1px rgba(0, 0, 0, .35), 0 0 5px rgba(230, 195, 108, .25); }

/* Çerçeveli panel */
.fr { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--rad, 17px); border: 1px solid var(--bd, #29241d); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 236, 210, .05); background: var(--fill, linear-gradient(180deg, var(--s2), var(--s1))); }

/* ---------- Arka plan ---------- */
#stars { position: fixed; inset: 0; z-index: 0; opacity: .35; }
.bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bgfx::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 236, 200, .022) 0 1px, transparent 1px 10px); }
.bgfx::before { /* ince kafes deseni */
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 0L56 28L28 56L0 28Z' fill='none' stroke='%23f5e6c4' stroke-opacity='.035' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); mask-image: linear-gradient(180deg, #000, transparent 55%);
}
.haze { position: absolute; border-radius: 50%; filter: blur(43px); }
.vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55)); }

/* ---------- Uygulama ---------- */
.app {
  position: fixed; inset: 0; margin: 0 auto; max-width: 447px; z-index: 1;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: calc(var(--safe-t) + 7px) 12px 0;
}

/* ---------- Dinamik ada ---------- */
.hud { position: relative; z-index: 75; height: var(--hud-h); }
.island {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: var(--iw, 241px); height: var(--ih, 42px); border-radius: var(--ir, 21px);
  background: linear-gradient(180deg, #1c1a19, #141312); overflow: hidden;
  box-shadow: 0 0 0 1.5px #413826, inset 0 1px 0 rgba(255, 240, 210, .06), 0 8.5px 22.5px -7px rgba(0, 0, 0, .85);
  transition: width .55s var(--spring), height .55s var(--spring), border-radius .55s var(--spring), box-shadow .5s;
  animation: islIn .9s var(--spring) both .1s;
}
.island.big { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ntc, var(--gold)) 55%, #413826), 0 0 31px -8.5px var(--ntc, var(--gold)), 0 14px 31px -8.5px rgba(0, 0, 0, .9); }
.island::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(255, 236, 200, .08) 50%, transparent 70%); transform: translateX(-120%); }
.island.flash::after { animation: islSheen 1s ease-out; }
.isl-compact {
  position: absolute; left: 0; top: 0; height: 42px; display: flex; align-items: center; gap: 0; padding: 0 14px 0 5px; white-space: nowrap;
  transition: opacity .25s, filter .3s, transform .45s var(--spring);
}
.island.open .isl-compact { opacity: 0; filter: blur(5px); transform: scale(.9); pointer-events: none; }
.isl-pilot { position: relative; width: 31px; height: 31px; display: grid; place-items: center; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #24211e, #141312); }
.xp-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.xr-bg { fill: none; stroke: #413826; stroke-width: 2.2; }
.xr-fg { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 113.1; stroke-dashoffset: 113.1; transition: stroke-dashoffset .7s var(--ease); }
.isl-pilot .emb { font-size: 13px; color: var(--acc); }
.lvl { position: absolute; right: -3.5px; bottom: -2.5px; min-width: 14.5px; height: 14px; padding: 0 3.5px; border-radius: 7px; display: grid; place-items: center; font-size: 7px; color: #241a08; background: linear-gradient(180deg, #f3d68e, #c9a24e); box-shadow: 0 0 0 2px #141312; }
.lvl.up { animation: lvlUp .9s var(--spring); }
.isl-name { font: 700 12.5px/1 var(--fs); letter-spacing: .06em; color: #e6d3a4; margin: 0 3.5px 0 9.5px; max-width: 94.5px; overflow: hidden; text-overflow: ellipsis; }
.isl-div { width: 1px; height: 15.5px; background: #413826; margin: 0 9.5px; flex: none; }
.cur { display: inline-flex; align-items: center; gap: 6px; height: 42px; font-size: 12.5px; }
.cur .coin { font-size: 11.5px; }
.cur.fp .ic { font-size: 12.5px; color: var(--acc); }
.cur em { font: 600 7.5px var(--fn); font-style: normal; color: var(--dim); letter-spacing: .06em; margin-left: -2.5px; }
.cur .num { display: inline-block; font-weight: 700; }
.cur.bump .num { animation: bump .45s var(--spring); }

.isl-expand { position: absolute; inset: 0; display: flex; align-items: center; gap: 10.5px; padding: 0 14px 0 7.5px; opacity: 0; filter: blur(7px); transform: scale(1.06); transition: opacity .3s .12s, filter .35s .12s, transform .5s var(--spring) .05s; pointer-events: none; }
.island.open .isl-expand { opacity: 1; filter: none; transform: none; pointer-events: auto; }
.island:not(.open) .isl-expand { transition-delay: 0s; }
.nt-ic { position: relative; width: 26px; height: 26px; flex: none; display: grid; place-items: center; font-size: 12.5px; color: var(--ntc); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ntc) 26%, transparent), transparent 72%); }
.island.big .nt-ic { width: 48px; height: 48px; font-size: 20px; border-radius: 14px; background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--ntc) 30%, #141312), #141312 78%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ntc) 50%, transparent); }
.island.big .nt-ic::before { content: ''; position: absolute; inset: -4.5px; border-radius: 17px; border: 1.5px solid var(--ntc); opacity: 0; animation: ringOut 1.4s ease-out .35s 2; }
.nt-ic .ic { filter: drop-shadow(0 0 5px var(--ntc)); }
.nt-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2.5px; }
.nt-tx small { font: 600 7.5px/1 var(--fu); letter-spacing: .12em; color: var(--ntc); text-transform: uppercase; }
.nt-tx b { font: 600 10.5px/1.15 var(--fu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.island.big .nt-tx b { font: 700 16px/1.05 var(--fs); letter-spacing: .03em; color: var(--text); }
.nt-tx span { font: 400 9.5px var(--fb); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.island:not(.big) .nt-tx small, .island:not(.big) .nt-tx span { display: none; }
.nt-val { font: 700 9.5px var(--fn); color: var(--ntc); flex: none; }
.island.big .nt-val { font-size: 10.5px; padding: 5px 8.5px; border-radius: 859px; background: color-mix(in srgb, var(--ntc) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ntc) 35%, transparent); }

/* ---------- Sahne ---------- */
.stage { position: relative; min-height: 0; }
.home { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10.5px; padding: 2px 0 10.5px; transition: opacity .45s, transform .6s var(--ease), filter .45s; }
.in-station .home { opacity: 0; transform: scale(1.06); filter: blur(8.5px); pointer-events: none; }

.sec-head { display: flex; align-items: center; gap: 10.5px; animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
.sec-head::before { content: ''; width: 9px; height: 9px; transform: rotate(45deg); background: linear-gradient(135deg, #f3d68e, #c9a24e); flex: none; margin-right: -2px; }
.sec-head > span { font: 700 12.5px/1 var(--fs); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.sec-head i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold3), transparent); }
.sec-head small { font: 500 9px var(--fu); color: var(--muted); }

.chip { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10.5px; border-radius: 859px; font: 600 9.5px var(--fu); color: var(--text); background: rgba(10, 8, 6, .45); box-shadow: inset 0 0 0 1px #413826; white-space: nowrap; }
.chip .ic { font-size: 9.5px; }
.meta { display: inline-flex; align-items: center; gap: 4.5px; font: 500 9px var(--fu); color: var(--muted); white-space: nowrap; }
.meta .ic { font-size: 9.5px; }
.meta b { color: var(--text); font-weight: 600; }
.meta.safe { color: var(--good); }
.online { position: absolute; z-index: 3; left: 10.5px; top: 10.5px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 9.5px; border-radius: 859px; background: rgba(8, 7, 5, .78); box-shadow: inset 0 0 0 1px rgba(255, 240, 210, .06); font: 500 9.5px var(--fu); color: var(--text); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.online i { width: 6px; height: 6px; border-radius: 50%; background: #5fd36f; box-shadow: 0 0 7px #5fd36f; animation: pulse 2s infinite; }
.online b { font-weight: 600; }
.tier { position: absolute; z-index: 3; top: -1px; right: -1px; min-width: 31px; height: 26px; padding: 0 8.5px; display: grid; place-items: center; font: 700 12.5px/1 var(--fb); color: var(--text); background: #141312; border: 1px solid var(--bd, #29241d); border-radius: 0 var(--rad, 17px) 0 11px; }

/* ---------- İstasyon kartı ---------- */
.st-card {
  --rad: 22.5px; --bd: #564a33; --fill: linear-gradient(180deg, #262321, #171514);
  flex: 0 0 auto; height: clamp(158px, 24dvh, 198px); display: block;
  box-shadow: 0 0 0 1.5px #0b0a0a, 0 12px 28px -16px rgba(0, 0, 0, .9);
  animation: cardIn .8s var(--ease) both .1s;
}
.st-scene { position: absolute; inset: 0; z-index: 0; }
.st-scene > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.st-scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 18, 14, 0) 30%, rgba(21, 18, 14, .75) 58%, #171514 82%); }
.st-body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 14px 12px; display: flex; flex-direction: column; }
.st-name { font: 700 clamp(21px, 7.4vw, 25.5px)/1 var(--fs); letter-spacing: .02em; color: var(--gold); margin-top: 5px; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.st-desc { font: 400 11px/1.35 var(--fb); color: #cfc8c2; margin-top: 3.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-foot { display: flex; align-items: center; gap: 6px; margin-top: 9.5px; min-width: 0; }
.st-foot .chip { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.enter-btn { margin-left: auto; }

/* İstasyon SVG */
.station-svg .lit { fill: var(--acc); }
.station-svg .glow { filter: drop-shadow(0 0 2.5px var(--acc)); }
.station-svg .lit-w { fill: #f6e7c4; opacity: .9; }
.station-svg .rim { fill: none; stroke: color-mix(in srgb, var(--acc) 55%, #fff3d6); stroke-opacity: .5; stroke-width: .8; }
.station-svg .edge { fill: none; stroke: rgba(255, 240, 210, .18); stroke-width: .7; }
.station-svg .blink { animation: blink 2s ease-in-out infinite; }
.station-svg .blink.d2 { animation-delay: 1s; }
.station-svg .run { stroke: var(--acc); stroke-width: 2.2; fill: none; stroke-dasharray: 1.5 7; stroke-linecap: round; animation: run 7s linear infinite; }
.station-svg .run.rev { animation-direction: reverse; }
.station-svg .bob { animation: bob 7s ease-in-out infinite; }
.station-svg .pulse { animation: pulseOp 3s ease-in-out infinite; }

/* ---------- Kuşak kartları ---------- */
.belts { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10.5px; }
.belt {
  --rad: 19px; --bd: #29241d; --fill: linear-gradient(180deg, #262321, #1c1a19);
  display: flex; flex-direction: column; min-height: 0; text-align: left;
  animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 260ms);
  transition: transform .3s var(--spring), border-color .3s;
}
.belt:active { transform: scale(.97); }
.belt-art { position: relative; flex: 1; min-height: 0; display: block; }
.belt-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.belt-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23, 20, 17, .7)); pointer-events: none; }
.belt .tier { font-size: 10.5px; min-width: 27.5px; height: 22.5px; }
.pill-ov { position: absolute; z-index: 2; left: 8.5px; bottom: 7.5px; display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10.5px 0 8.5px; border-radius: 859px; background: rgba(8, 7, 5, .8); font: 500 9.5px var(--fu); color: var(--text); backdrop-filter: blur(3.5px); -webkit-backdrop-filter: blur(3.5px); }
.pill-ov .ic { font-size: 9.5px; }
.pill-ov .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 7px var(--gold); animation: pulse 1.2s infinite; }
.belt-info { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 7.5px 11px 9.5px; background: transparent; border-top: 1px solid #262321; }
.belt-cat { font: 500 9.5px var(--fu); }
.belt-cat.safe { color: var(--good); } .belt-cat.low { color: var(--warn); } .belt-cat.pvp { color: var(--danger); }
.belt-name { font: 700 13.5px/1.05 var(--fs); letter-spacing: .02em; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.belt-meta { display: flex; align-items: center; gap: 6px; margin-top: 3.5px; height: 14px; font: 500 9px var(--fu); color: var(--muted); white-space: nowrap; overflow: hidden; }
.belt-meta .ore { display: inline-flex; align-items: center; gap: 3.5px; color: var(--oc); font-weight: 600; }
.belt-meta .ore .ic { font-size: 9px; }
.belt-meta .lv { color: var(--oc); font-weight: 600; }
.cargo { flex: 1; height: 4.5px; border-radius: 2.5px; background: #24211e; overflow: hidden; }
.cargo i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold2), var(--gold)); box-shadow: 0 0 7px rgba(230, 195, 108, .6); }
.cargo.full i { animation: pulseOp 1s infinite; }
.belt-meta .cg { font: 600 9px var(--fn); color: var(--text); flex: none; }
.belt.mining { --bd: #6d5e3b; }
.belt.locked .belt-art canvas { filter: grayscale(.6) brightness(.55); }
.belt.locked .belt-name { color: var(--muted); }

/* ---------- Butonlar ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 17px; border-radius: 859px;
  font: 700 11.5px/1 var(--fn); letter-spacing: .01em;
  background: var(--s3); color: var(--text); box-shadow: inset 0 0 0 1px #413826;
  transition: transform .25s var(--spring), opacity .25s, filter .25s;
}
.btn .ic { font-size: 11.5px; stroke-width: 2.4; }
.btn:active { transform: scale(.96); }
.btn.primary {
  color: #1a1410; background: linear-gradient(180deg, #f0d07c, #e7c26a 55%, #d6af57);
  box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .55), 0 5px 14px -6px rgba(231, 194, 106, .45);
}
.btn.primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-130%); animation: btnSheen 6s ease-in-out infinite 1.5s; }
.btn.ghost { background: rgba(10, 8, 6, .4); }
.btn.danger { background: rgba(226, 112, 95, .08); color: var(--danger); box-shadow: inset 0 0 0 1px rgba(226, 112, 95, .4); }
.btn:disabled, .btn.off { opacity: .38; filter: grayscale(.7); pointer-events: none; }
.btn.wide { width: 100%; }
.enter-btn { height: 36px; padding: 0 12px 0 15.5px; font-size: 11.5px; white-space: nowrap; flex: none; }
.icon-btn { width: 38px; height: 38px; flex: none; display: grid; place-items: center; font-size: 14.5px; border-radius: 50%; background: #100e0d; color: #e7dccf; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2a2622; transition: transform .25s var(--spring); position: relative; overflow: hidden; }
.icon-btn .ic { stroke-width: 2; }
.icon-btn:active { transform: scale(.9); }

.ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: 5; background: radial-gradient(circle, rgba(255, 240, 210, .16), rgba(255, 240, 210, 0) 70%); transform: translate(-50%, -50%) scale(0); animation: ripple .6s ease-out forwards; }

/* ---------- İstasyon içi ---------- */
.station-view {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10.5px; padding: 2px 0 10.5px;
  opacity: 0; transform: scale(.94); pointer-events: none; visibility: hidden;
  transition: opacity .45s .08s, transform .6s .08s var(--ease), visibility 0s .7s;
}
.in-station .station-view { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .45s .08s, transform .6s .08s var(--ease), visibility 0s; }
.sv-top { display: flex; align-items: center; gap: 10.5px; }
.sv-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3.5px; }
.sv-title b { font: 700 20px/1 var(--fs); letter-spacing: .02em; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-emb { width: 38px; height: 38px; display: grid; place-items: center; font-size: 16.5px; color: var(--acc); border-radius: 50%; background: #141312; box-shadow: inset 0 0 0 1px var(--line2); }
.sv-strip { display: flex; gap: 7px; }
.sv-strip .chip .ic { color: var(--muted); }

/* ---------- İstasyon bölgeleri ---------- */
.svc-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 9px; }
.svc {
  --rad: 19px; --bd: #29241d; --fill: linear-gradient(180deg, #262321, #1c1a19);
  display: flex; flex-direction: column; min-height: 0;
  animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i) * 60ms + 180ms);
  transition: transform .3s var(--spring);
}
.svc:active { transform: scale(.96); }
.svc-art { position: relative; flex: 1; min-height: 0; display: block; }
.svc-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.svc-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(23, 20, 17, .7)); pointer-events: none; }
.svc .tier { font-size: 10.5px; min-width: 28px; height: 22px; }
.svc .pill-ov { left: 8px; bottom: 7px; height: 23px; padding: 0 9px 0 8px; font-size: 9.5px; gap: 5px; }
.svc .pill-ov:empty { display: none; }
.pill-ov .dot.idle { background: var(--good); box-shadow: 0 0 6px var(--good); animation: none; }
.svc-info { flex: none; display: flex; flex-direction: column; gap: 1px; padding: 7px 11px 9px; background: transparent; border-top: 1px solid #262321; }
.svc-cat { font: 500 9.5px var(--fu); color: var(--nc); }
.svc-name { font: 700 13px/1.05 var(--fs); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc-meta { font: 500 9px var(--fu); color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; height: 13px; }
.svc .pbar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .05); opacity: 0; transition: opacity .3s; }
.svc.busy { --bd: #6d5e3b; }
.svc.busy .pbar { opacity: 1; }
.svc .pbar i { display: block; height: 100%; width: 0; background: var(--nc); box-shadow: 0 0 8px var(--nc); }
.svc.locked { --bd: var(--line2); }
.svc.locked .svc-art > svg { filter: grayscale(.85) brightness(.45); }
.svc.locked .svc-cat { color: var(--dim); }
.svc.locked .svc-name { color: var(--muted); }
.svc.flash { animation: doneFlash .7s ease-out; }
.district-banner { height: 96px; }
.district-svg .d-pulse { animation: pulseOp 2.4s ease-in-out infinite; }
.district-svg .d-blink { animation: blink 1.5s ease-in-out infinite; }
.district-svg .d-spark { animation: spark 1.2s ease-in-out infinite; }
.district-svg .d-smoke { animation: smoke 3.6s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.district-svg .d-spin { animation: spin 16s linear infinite; }
.district-svg .d-spin.rev { animation-duration: 24s; animation-direction: reverse; }
.district-svg .d-arm { transform-origin: 149px 74px; animation: arm 4s ease-in-out infinite; }
.district-svg .d-arm2 { transform-origin: 149px 40px; animation: arm2 4s ease-in-out infinite; }
.district-svg .d-slide { animation: slide 6s ease-in-out infinite; }
@keyframes spark { 0%, 100% { opacity: .2; } 45% { opacity: 1; } }
@keyframes smoke { 0% { opacity: 0; transform: translateY(0) scale(.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px) scale(2.2); } }
@keyframes arm { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(8deg); } }
@keyframes arm2 { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-12deg); } }
@keyframes slide { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(44px); } }

/* ---------- Dok ---------- */
.dock {
  position: relative; z-index: 50; height: calc(var(--dock-h) + var(--safe-b)); padding: 0 8.5px var(--safe-b); margin: 0 -12px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: linear-gradient(180deg, #1c1a19, #171514); border-top: 1px solid #413826;
  animation: dockIn .8s var(--ease) both .25s;
}
.dock::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(230, 195, 108, .55), transparent); }
.dock-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 5px 0 2px; color: var(--muted); font: 600 9px var(--fu); transition: color .3s, transform .3s var(--spring); }
.dock-tab .ic { font-size: 16px; stroke-width: 1.8; }
.dock-tab.on { color: var(--gold); }
.dock-tab:active { transform: scale(.92); }
.menu-btn {
  position: relative; width: 48px; height: 48px; margin-top: -18px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #2d2926, #141312 72%);
  box-shadow: 0 0 0 4px #171514, 0 0 0 5.5px #413826, 0 8.5px 20.5px -5px rgba(0, 0, 0, .9);
  transition: transform .4s var(--spring);
}
.menu-btn:active { transform: scale(.9); }
.mb-ring { position: absolute; inset: 2.5px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--gold), 0 0 14px -3.5px rgba(230, 195, 108, .6); transition: box-shadow .4s; }
.menu-btn.open .mb-ring { box-shadow: inset 0 0 0 2px var(--gold), 0 0 24px -2px rgba(230, 195, 108, .8); }
.mb-lines { position: relative; width: 17px; height: 12px; transition: transform .5s var(--spring); }
.mb-lines i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--gold); transition: transform .45s var(--spring), opacity .25s, top .3s var(--ease), bottom .3s var(--ease); }
.mb-lines i:nth-child(1) { top: 0; }
.mb-lines i:nth-child(2) { top: 5px; }
.mb-lines i:nth-child(3) { bottom: 0; }
.menu-btn.open .mb-lines { transform: rotate(90deg); }
.menu-btn.open .mb-lines i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-btn.open .mb-lines i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.open .mb-lines i:nth-child(3) { bottom: 5px; transform: rotate(-45deg); }

/* ---------- Ana menü (tam pencere) ---------- */
.menu-layer { position: absolute; inset: 0; z-index: 70; pointer-events: none; }
.menu-layer.on { pointer-events: auto; }
.menu-bg { position: absolute; inset: 0; background: rgba(6, 5, 4, .6); opacity: 0; transition: opacity .35s; }
.menu-layer.on .menu-bg { opacity: 1; }
.menu-win {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 50px;
  background: repeating-linear-gradient(135deg, rgba(255, 236, 200, .022) 0 1px, transparent 1px 10px), linear-gradient(180deg, #25211e 0%, #171514 30%, #171514 75%, #1b1816 100%);
  transform: translateX(-104%); transition: transform .5s var(--ease);
  box-shadow: 18px 0 40px -10px rgba(0, 0, 0, .85);
}
.menu-layer.on .menu-win { transform: none; }
.mw-main { min-width: 0; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 11px; padding: calc(var(--safe-t) + 16px) 12px calc(var(--safe-b) + 14px) 14px; }
.mw-main > * { opacity: 0; transform: translateX(-14px); transition: opacity .35s, transform .5s var(--ease); }
.menu-layer.on .mw-main > * { opacity: 1; transform: none; }
.menu-layer.on .mw-main > :nth-child(2) { transition-delay: .06s; } .menu-layer.on .mw-main > :nth-child(3) { transition-delay: .1s; }
.menu-layer.on .mw-main > :nth-child(4) { transition-delay: .14s; } .menu-layer.on .mw-main > :nth-child(5) { transition-delay: .2s; }
.mw-title { display: flex; align-items: center; gap: 14px; }
.mw-title h2 { font: 700 24.5px/1 var(--fs); letter-spacing: .02em; color: #f6ecd2; }
.mw-title i { flex: 1; height: 1px; background: linear-gradient(90deg, #6d5e3b, transparent); }
.mw-quick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
.mq { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 400 10px/1 var(--fb); color: #cfc8c2; white-space: nowrap; transition: transform .3s var(--spring); }
.mq:active, .mtile:active, .mt:active { transform: scale(.92); }
.qi { position: relative; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #e7c26a; background: linear-gradient(180deg, #24211e, #1e1b19); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #453b28, 0 4px 10px -4px #000; }
.soon .qi, .mt.soon .icw > .ic { color: var(--dim); }
.lk { position: absolute; right: -4px; bottom: -4px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; color: #241a08; background: #c9a24e; box-shadow: 0 0 0 2px #1a1817; }
.lk .ic { stroke-width: 2.6; }
.mw-sep { display: flex; align-items: center; gap: 8px; padding: 0 6px; }
.mw-sep i { flex: 1; height: 1px; background: #685938; }
.mw-sep b { width: 8px; height: 8px; transform: rotate(45deg); box-shadow: inset 0 0 0 1px var(--gold2); }
.mw-prof { position: relative; flex: none; overflow: hidden; border-radius: 20px; background: linear-gradient(180deg, #383126 0%, #2f2a22 45%, #27221d 100%); box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #564a33, 0 10px 24px -12px #000; }
.mwp-top { position: relative; display: flex; align-items: center; gap: 14px; padding: 15px 14px 13px; }
.mwp-deco { position: absolute; right: -46px; top: -36px; width: 200px; height: 200px; fill: none; stroke: rgba(201, 162, 78, .14); stroke-width: 1; animation: spin 90s linear infinite; pointer-events: none; }
.mwp-av { position: relative; width: 70px; height: 70px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 26.5px; color: var(--acc); background: radial-gradient(circle at 50% 35%, #2e2a27, #1b1917 75%); box-shadow: 0 0 0 4px #1f1b17, 0 0 0 6.5px #c9a24e, 0 0 0 8px #0b0a0a; }
.mwp-av .lvl { right: 0; bottom: 0; min-width: 20px; height: 19px; font-size: 9px; }
.mwp-tx { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.mwp-fac { font: 700 9.5px/1 var(--fs); letter-spacing: .22em; text-transform: uppercase; color: #cbab5f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mwp-name { font: 700 20px/1 var(--fs); letter-spacing: .02em; color: #f6ecd2; margin-bottom: 2px; }
.mwp-row { display: flex; flex-wrap: wrap; gap: 5px; }
.mwp-pill { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 999px; font: 400 11.5px var(--fb); color: #a0968f; background: #1d1916; box-shadow: inset 0 0 0 1px #413826; white-space: nowrap; }
.mwp-pill .ic { font-size: 10.5px; color: var(--muted); }
.mwp-pill b { font-weight: 700; color: var(--text); }
.mwp-pill.gold { color: #f3d68e; background: #352c1c; box-shadow: inset 0 0 0 1px #867140; }
.mwp-pill.gold .ic, .mwp-pill.gold b { color: var(--gold); }
.mwp-tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #2c261d; background: #141211; }
.mt { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 2px 9px; font: 400 11px/1 var(--fb); color: #cfc8c2; transition: transform .3s var(--spring); }
.mt + .mt::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: #413724; }
.mt .icw { position: relative; display: grid; place-items: center; }
.mt .icw > .ic { font-size: 16.5px; color: var(--gold); }
.mt .lk { right: -9px; bottom: -5px; width: 15px; height: 15px; font-size: 7px; }
.mt.soon { color: #847b75; }
.mw-sections { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.ms { display: flex; flex-direction: column; gap: 8px; }
.ms-head { display: flex; align-items: center; gap: 10px; }
.ms-head b { width: 9px; height: 9px; transform: rotate(45deg); background: #e5c881; flex: none; }
.ms-head span { font: 700 12.5px/1 var(--fs); letter-spacing: .26em; text-transform: uppercase; color: #e2be68; }
.ms-head i { flex: 1; height: 1px; background: linear-gradient(90deg, #6d5e3b, transparent); }
.ms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ms-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mtile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; height: clamp(66px, 9.6dvh, 82px); border-radius: 16px; font: 400 12.5px/1 var(--fb); color: #e6dfd7; background: linear-gradient(180deg, #262321, #1c1a19); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 #312d29, 0 6px 14px -8px #000; transition: transform .3s var(--spring); }
.mtile .qi { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.mtile.soon { color: var(--muted); }
.mw-rail { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: calc(var(--safe-t) + 14px) 0 calc(var(--safe-b) + 18px); border-left: 1px solid #29241d; background: linear-gradient(180deg, #191716, #141312); }
.mw-close { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--gold); background: #2d2926; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 2px #695a3a, 0 6px 14px -6px #000; transition: transform .35s var(--spring); }
.mw-close .ic { stroke-width: 2.2; }
.menu-layer.on .mw-close { animation: closeIn .6s var(--spring) .15s both; }
.mw-close:active { transform: scale(.88); }
.mw-rl { width: 22px; height: 1px; background: var(--gold3); }
.mw-ico { font-size: 18.5px; color: #b8ada4; transition: color .2s, transform .3s var(--spring); }
.mw-ico:active { transform: scale(.88); color: var(--gold); }
.mw-brand { margin-top: auto; writing-mode: vertical-rl; transform: rotate(180deg); font: 700 11.5px/1 var(--fs); letter-spacing: .5em; color: #423824; }
.menu-open .hud:not(:has(.island.open)) { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.hud { transition: opacity .3s, transform .4s var(--ease); }
@keyframes closeIn { from { opacity: 0; transform: rotate(-120deg) scale(.6); } to { opacity: 1; transform: none; } }

/* ---------- Pencere ---------- */
.sheet-layer { position: absolute; inset: 0; z-index: 60; pointer-events: none; }
.sheet-layer.on { pointer-events: auto; }
.sheet-bg { position: absolute; inset: -17px; background: rgba(6, 5, 4, .74); backdrop-filter: blur(4.5px); -webkit-backdrop-filter: blur(4.5px); opacity: 0; transition: opacity .35s; }
.sheet-layer.on .sheet-bg { opacity: 1; }
.sheet {
  position: absolute; left: 10px; right: 10px; top: calc(var(--safe-t) + var(--hud-h) + 10px); bottom: calc(var(--dock-h) + var(--safe-b) + 10px);
  display: flex; flex-direction: column; justify-content: center; pointer-events: none;
  opacity: 0; transform: translateY(calc(var(--drag, 0px) + 16px)) scale(.94); transition: opacity .25s, transform .45s var(--spring);
}
.sheet-layer.on .sheet { opacity: 1; transform: translateY(var(--drag, 0px)); }
.sheet.dragging { transition: none; }
.sheet-in { --rad: 24px; --bd: transparent; --fill: linear-gradient(180deg, #333330 0%, #2b2a27 64px, #1c1a19 150px, #1a1817 100%); display: flex; flex-direction: column; min-height: 0; max-height: 100%; pointer-events: none; box-shadow: 0 0 0 2px #0b0a0a, 0 24px 60px -18px rgba(0, 0, 0, .9); }
/* Kapalı pencere görünmez kalırken dokunuşları yakalamasın */
.sheet-layer.on .sheet-in { pointer-events: auto; }
.sheet-layer:not(.on) .sheet { visibility: hidden; transition: opacity .25s, transform .45s var(--spring), visibility 0s .45s; }
.sheet-in::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 103px; z-index: -1; opacity: .7; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 0L56 28L28 56L0 28Z' fill='none' stroke='%23f5e6c4' stroke-opacity='.04' stroke-width='1'/%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.sh-head { flex: none; position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 12px 12px 14px; touch-action: none; }
.sh-ic { position: relative; width: 48px; height: 48px; flex: none; display: grid; place-items: center; font-size: 20px; color: var(--accent); overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #24211e, #1a1817); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #453b28; }
.sh-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3.5px; }
.sh-t b { font: 700 22px/1 var(--fb); color: #fff3d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-t small { font: 400 10.5px/1.2 var(--fb); color: #b8afa9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-t small em { font-style: normal; color: #9fdf8e; }
.sh-body { position: relative; padding: 0 12px 14px; overflow-y: auto; min-height: 0; scrollbar-width: none; display: flex; flex-direction: column; gap: 8.5px; }
.sh-body::-webkit-scrollbar { display: none; }
.sh-body > * { animation: rise .45s var(--ease) both; }
.sh-body > *:nth-child(2) { animation-delay: .05s; } .sh-body > *:nth-child(3) { animation-delay: .1s; }
.sh-body > *:nth-child(4) { animation-delay: .15s; } .sh-body > *:nth-child(5) { animation-delay: .2s; } .sh-body > *:nth-child(6) { animation-delay: .25s; }

.box { position: relative; padding: 10.5px 12px; border-radius: 15.5px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; }
.kv small { display: block; font: 500 9px/1 var(--fu); color: #8a807b; }
.kv b { display: flex; align-items: center; gap: 5px; font: 700 12.5px var(--fn); margin-top: 7px; white-space: nowrap; }
.kv b .ic { font-size: 11.5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 7.5px; }
.note { font: 400 9.5px/1.45 var(--fb); color: var(--dim); text-align: center; }
.bubble { position: relative; padding: 9.5px 12px; font: 400 11.5px/1.45 var(--fb); color: #cfc8c2; background: #151312; border-radius: 15.5px 15.5px 15.5px 5px; box-shadow: 0 0 0 1.5px #0b0a0a; min-height: 38px; }
.bubble .tw::after { content: '▍'; color: var(--gold); margin-left: 1px; animation: caret .9s steps(1) infinite; }

.seg { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3.5px; border-radius: 859px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; flex: 1; }
.seg button { position: relative; z-index: 1; height: 29px; font: 600 12.5px var(--fu); color: #d8cfc8; transition: color .3s; text-align: center; white-space: nowrap; }
.seg button.on { color: #f3d68e; }
.seg-ind { position: absolute; top: 3.5px; bottom: 3.5px; left: 3.5px; width: calc((100% - 7px) / var(--n)); border-radius: 859px; background: linear-gradient(180deg, #28241f, #3b3221); box-shadow: inset 0 0 0 1px #665738; transform: translateX(calc(var(--idx) * 100%)); transition: transform .45s var(--spring); }

.jb-top { display: flex; justify-content: space-between; align-items: center; gap: 8.5px; }
.jb-name { font: 700 13px var(--fs); letter-spacing: .02em; display: flex; align-items: center; gap: 7px; }
.jb-name .sd { width: 6px; height: 6px; border-radius: 50%; background: var(--dim); }
.job.running .jb-name .sd { background: var(--gold); box-shadow: 0 0 7px var(--gold); animation: pulse 1s infinite; }
.jb-time { font: 700 9.5px var(--fn); color: var(--gold); }
.bar { position: relative; height: 6px; border-radius: 3.5px; background: #24211e; overflow: hidden; margin: 8.5px 0 9.5px; }
.bar i { position: relative; display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold2), var(--gold)); box-shadow: 0 0 8.5px rgba(230, 195, 108, .5); overflow: hidden; }
.bar i::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .18) 0 3.5px, transparent 3.5px 7px); background-size: 9.5px 100%; animation: stripes .6s linear infinite; }
.switch { display: flex; align-items: center; gap: 9.5px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.sw { position: relative; width: 36px; height: 20.5px; border-radius: 10.5px; background: #24211e; box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s; flex: none; }
.sw::after { content: ''; position: absolute; top: 3.5px; left: 3.5px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform .35s var(--spring), background .3s; }
.switch input:checked + .sw { background: rgba(230, 195, 108, .16); box-shadow: inset 0 0 0 1px var(--gold2); }
.switch input:checked + .sw::after { transform: translateX(15.5px); background: var(--gold); }
.sw-l { flex: 1; min-width: 0; }
.sw-l b { display: block; font: 600 10.5px var(--fu); }
.sw-l small { display: block; font: 400 9.5px var(--fb); color: var(--dim); margin-top: 1px; }

.recipes { display: flex; flex-direction: column; gap: 7px; }
.recipe { display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; align-items: center; gap: 10.5px; padding: 8.5px; border-radius: 15.5px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; transition: box-shadow .3s; }
.recipe.active { box-shadow: inset 0 0 0 1px var(--gold2); }
.recipe.flash { animation: rowFlash .6s ease-out; }
.tile { position: relative; width: 43px; height: 43px; display: grid; place-items: center; font-size: 18px; color: var(--rc); border-radius: 8.5px; background: #1a1715; box-shadow: inset 0 0 0 1px #3d3935; flex: none; }
.tile .ic { filter: drop-shadow(0 0 4.5px color-mix(in srgb, var(--rc) 60%, transparent)); }
.tile b { position: absolute; top: -4.5px; right: -4.5px; min-width: 15.5px; height: 15.5px; padding: 0 3.5px; display: grid; place-items: center; font: 700 8.5px var(--fb); border-radius: 4.5px; background: #100e0d; color: #f2ead8; box-shadow: inset 0 0 0 1px #3d3935; }
.rc-mid b { display: block; font: 700 13.5px/1.1 var(--fb); }
.rc-in { display: flex; flex-wrap: wrap; gap: 4.5px; margin-top: 5px; }
.chip-in { display: inline-flex; align-items: center; gap: 3.5px; height: 19px; padding: 0 7px; border-radius: 859px; font: 600 9px var(--fu); background: #141312; box-shadow: inset 0 0 0 1px var(--line2); transition: color .3s, box-shadow .3s; }
.chip-in .ic { color: var(--rc); font-size: 9px; }
.chip-in .have { color: var(--muted); }
.chip-in.lack { color: var(--bad); box-shadow: inset 0 0 0 1px rgba(238, 154, 134, .45); }
.chip-in.lack .have { color: var(--bad); }
.chip-in.xp { color: var(--muted); }
.rc-go { flex-direction: column; gap: 2.5px; height: 43px; min-width: 72px; padding: 0 12px; border-radius: 14px; font-size: 10.5px; }
.rc-go small { display: flex; align-items: center; gap: 2.5px; font: 600 8px var(--fn); opacity: .72; }

/* Pazar (tablo) */
.mkt-top { display: flex; gap: 7px; align-items: stretch; }
.wallet { display: flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 859px; background: #0c0a0a; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2a2622; font: 700 11.5px var(--fn); color: #f3d68e; }
.mkt-table { border-radius: 17px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; overflow: hidden; }
.mkt-hd, .mkt-row { display: grid; grid-template-columns: minmax(0, 1fr) 65.5px 65.5px; align-items: center; gap: 5px; }
.mkt-hd { padding: 10.5px 12px 8.5px 14px; font: 400 10.5px var(--fb); color: #897f7a; background: #1c1a19; border-bottom: 1px solid #0b0a0a; }
.mkt-hd span:not(:first-child) { text-align: center; }
.mkt-list { display: flex; flex-direction: column; }
.mkt-row { padding: 7px 8.5px 7px 12px; }
.mkt-row + .mkt-row { border-top: 1px solid #1c1a19; }
.mk-item { display: flex; align-items: center; gap: 10.5px; min-width: 0; }
.mk-item .tile { width: 38px; height: 38px; font-size: 16px; }
.mk-info { min-width: 0; }
.mk-info b { display: block; font: 500 13px/1.15 var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-info small { display: block; font: 400 10.5px/1.2 var(--fb); color: #7a716b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-chg { font: 600 9px var(--fu); }
.up-c { color: var(--good); } .down-c { color: var(--bad); }
.pc { display: flex; align-items: center; justify-content: center; gap: 4.5px; height: 34.5px; border-radius: 10.5px; font: 700 11.5px var(--fn); transition: background .25s, transform .25s var(--spring); position: relative; overflow: hidden; }
.pc .coin { font-size: 10.5px; }
.pc:active { transform: scale(.92); }
.pc.sell { color: #ffc2a8; }
.pc.buy { color: #c4ecb8; }
.pc.sell:active { background: rgba(238, 154, 134, .1); }
.pc.buy:active { background: rgba(155, 214, 143, .1); }
.pc.off { opacity: .35; }
.pc.f-up { animation: cellUp .9s; } .pc.f-down { animation: cellDown .9s; }
.mkt-ft { display: flex; justify-content: space-between; gap: 8.5px; padding: 9.5px 14px; font: 400 9.5px var(--fb); color: #6f6660; border-top: 1px solid #0b0a0a; }

/* Banka */
.vault { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 17px; background: radial-gradient(ellipse at 15% 50%, rgba(230, 195, 108, .12), transparent 60%), #171514; box-shadow: inset 0 0 0 1px #413826; }
.vault-ring { width: 67px; height: 67px; flex: none; }
.vault-ring .r1 { transform-origin: 43px 43px; animation: spin 18s linear infinite; }
.vault-ring .r2 { transform-origin: 43px 43px; animation: spin 11s linear infinite reverse; }
.vault-val small { display: block; font: 500 9px var(--fu); color: var(--muted); }
.vault-val b { display: flex; align-items: center; gap: 7px; font: 700 clamp(18px, 6.6vw, 23px)/1.1 var(--fn); color: var(--gold); margin: 4.5px 0 3.5px; }
.vault-val b .coin { font-size: .75em; }
.vault-val span { font: 400 10.5px var(--fb); color: var(--good); }
.cap-top { display: flex; justify-content: space-between; font: 400 10.5px var(--fb); color: #8a807b; }
.cap-top b { font: 600 9.5px var(--fn); color: var(--text); }
.cap-bar { height: 5px; border-radius: 2.5px; background: #24211e; overflow: hidden; margin-top: 7.5px; }
.cap-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold2), var(--gold)); transition: width .5s var(--ease); }

/* Kuşak penceresi */
.belt-banner { --rad: 17px; --bd: var(--line2); --fill: #141312; height: 101.5px; flex: none; }
.belt-banner > canvas, .belt-banner > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.belt-banner .bb-tag { position: absolute; z-index: 2; left: 8.5px; top: 8.5px; }
.cargo-box .bar { margin: 8.5px 0 7px; }
.cg-foot { display: flex; justify-content: space-between; font: 400 10.5px var(--fb); color: var(--muted); }
.cg-foot b { font: 600 9.5px var(--fn); color: var(--text); }

/* Envanter */
.inv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.inv-cell { display: flex; align-items: center; gap: 8.5px; padding: 6px 8.5px 6px 7px; border-radius: 12px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; min-width: 0; }
.inv-cell .tile { width: 31px; height: 31px; font-size: 13px; border-radius: 7.5px; }
.inv-cell b { display: block; font: 700 10.5px var(--fn); }
.inv-cell small { display: block; font: 400 9.5px var(--fb); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inv-cell > span:last-child { min-width: 0; }
.inv-h { font: 700 9px var(--fs); letter-spacing: .2em; color: var(--gold2); text-transform: uppercase; margin-top: 2px; }
.inv-cell.rare { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rc) 40%, transparent); }

/* Profil */
.prof { display: flex; align-items: center; gap: 12px; }
.p-emb { width: 51.5px; height: 51.5px; display: grid; place-items: center; font-size: 24px; color: var(--acc); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--acc) 20%, #141312), #141312 75%); box-shadow: inset 0 0 0 1px var(--gold2); flex: none; }
.prof-tx b { display: block; font: 700 18px/1 var(--fs); color: var(--gold); }
.prof-tx small { display: block; font: 400 10.5px var(--fb); color: var(--muted); margin-top: 3.5px; }
.prof-tx .bar { width: 146px; margin: 7.5px 0 3.5px; height: 4.5px; }
.prof-tx .bar i::after { display: none; }
.gain-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.gain { display: flex; align-items: center; gap: 8.5px; padding: 7px; border-radius: 12px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; animation: popIn .5s var(--spring) both; animation-delay: calc(var(--i) * 70ms + 250ms); }
.gain .tile { width: 32.5px; height: 32.5px; font-size: 13.5px; }
.gain b { display: block; font: 700 11.5px var(--fn); color: var(--good); }
.gain small { font: 400 9.5px var(--fb); color: var(--muted); }
.set-row { padding: 11px 12px; border-radius: 15.5px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; }

/* ---------- Fraksiyon seçimi ---------- */
.fs {
  position: absolute; inset: 0; z-index: 90; display: flex; flex-direction: column; gap: 10.5px;
  padding: calc(var(--safe-t) + 17px) 14px calc(var(--safe-b) + 14px);
  background: radial-gradient(ellipse 120% 50% at 50% 0%, color-mix(in srgb, var(--acc) 12%, transparent), transparent 70%), #171514;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s;
}
.fs.on { opacity: 1; visibility: visible; transition: opacity .5s, visibility 0s; }
.fs::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 0L56 28L28 56L0 28Z' fill='none' stroke='%23f5e6c4' stroke-opacity='.04' stroke-width='1'/%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(180deg, #000, transparent 40%); mask-image: linear-gradient(180deg, #000, transparent 40%); }
.fs-head { position: relative; text-align: center; animation: rise .7s var(--ease) both .1s; }
.fs-head h1 { font: 700 clamp(23px, 8.4vw, 28.5px)/1 var(--fs); letter-spacing: .03em; color: var(--gold); margin-top: 8.5px; }
.fs-head p { font: 400 11.5px/1.4 var(--fb); color: var(--muted); margin: 7px auto 0; max-width: 275px; }
.fs-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7.5px; animation: rise .7s var(--ease) both .2s; }
.fs-tab { --rad: 15.5px; --bd: #29241d; --fill: #171514; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10.5px 3.5px 9.5px; transition: transform .3s var(--spring); }
.fs-tab:active { transform: scale(.95); }
.fs-tab .ic { font-size: 20px; color: var(--muted); transition: color .4s, transform .5s var(--spring); }
.fs-tab span { font: 700 11.5px var(--fs); letter-spacing: .06em; color: var(--muted); transition: color .4s; }
.fs-tab.on { --bd: var(--tc); --fill: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--tc) 16%, #171514), #171514 75%); }
.fs-tab.on .ic { color: var(--tc); transform: scale(1.12); }
.fs-tab.on span { color: var(--text); }
.fs-card { --rad: 22.5px; --bd: #564a33; --fill: #171514; flex: 1; min-height: 0; display: flex; flex-direction: column; animation: rise .7s var(--ease) both .3s; }
.fs-art { position: relative; flex: 1; min-height: 60px; overflow: hidden; }
.fs-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, #171514 96%); }
.fs-info { position: relative; padding: 0 14px 14px; display: flex; flex-direction: column; gap: 6px; margin-top: -27.5px; }
.fs-info h2 { font: 700 22px/1 var(--fs); color: var(--gold); }
.fs-motto { font: italic 400 11.5px var(--fb); color: #cfc8c2; }
.fs-desc { font: 400 11px/1.4 var(--fb); color: var(--muted); }
.fs-bonus { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; height: 27.5px; padding: 0 12px; border-radius: 859px; background: color-mix(in srgb, var(--acc) 10%, #141312); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 40%, transparent); font: 500 9.5px var(--fu); }
.fs-bonus .ic { font-size: 10.5px; color: var(--acc); }
.fs-bonus b { color: var(--acc); font-weight: 700; }
.fs-swap { animation: swapIn .45s var(--ease) both; }
.fs-name { position: relative; display: flex; align-items: center; gap: 8.5px; padding: 0 15.5px; height: 43px; border-radius: 859px; background: #141312; box-shadow: inset 0 0 0 1px var(--line2); animation: rise .7s var(--ease) both .4s; flex: none; }
.fs-name .eyebrow { flex: none; }
.fs-name input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font: 700 14.5px var(--fs); letter-spacing: .04em; color: var(--gold); text-align: right; -webkit-user-select: text; user-select: text; }
.fs-name:focus-within { box-shadow: inset 0 0 0 1px var(--gold2); }
.fs .btn.wide { position: relative; height: 44.5px; font-size: 12.5px; flex: none; animation: rise .7s var(--ease) both .5s; }
.fs-close { position: absolute; top: calc(var(--safe-t) + 12px); right: 12px; z-index: 2; }

.float { position: absolute; z-index: 95; pointer-events: none; font: 700 10.5px var(--fu); white-space: nowrap; text-shadow: 0 0 8.5px currentColor, 0 2px 3.5px #000; transform: translate(-50%, -50%); animation: floatUp 1.2s var(--ease) forwards; }
.burst { position: absolute; z-index: 94; pointer-events: none; width: 4.5px; height: 4.5px; transform: translate(-50%, -50%) rotate(45deg); animation: burst .9s ease-out forwards; }
.rotate-hint { display: none; }

/* ---------- Kısa ekranlar ---------- */
@media (max-height: 740px) {
  .st-card { height: 168.5px; }
  .st-desc { display: none; }
  .belt-name { font-size: 12.5px; }
  .belt-info { padding: 7px 10.5px 7.5px; }
}
@media (max-height: 680px) {
  :root { --dock-h: 54px; --hud-h: 48px; }
  .st-card { height: 148px; }
  .st-name { font-size: 20px; }
  .st-foot { margin-top: 7px; }
  .chip { height: 23px; padding: 0 9.5px; font-size: 9px; }
  .enter-btn { height: 32.5px; font-size: 11px; }
  .online { top: 7.5px; height: 23px; }
  .home { gap: 7.5px; }
  .belts { gap: 7.5px; }
  .belt-cat { display: none; }
  .menu-btn { width: 50px; height: 50px; }
  .dock-tab .ic { font-size: 16px; }
  .dock-tab { font-size: 9px; gap: 2.5px; }
  .belt-banner { height: 79px; }
  .fs-desc { display: none; }
  .fs-head p { display: none; }
  .mkt-row { padding-top: 5px; padding-bottom: 5px; }
  .mkt-hd { padding-top: 7.5px; padding-bottom: 7px; }
  .sh-t b { font-size: 18px; }
  .sh-ic { width: 43px; height: 43px; }
}
@media (max-height: 600px) {
  .st-foot .chip { display: none; }
  .sv-strip { display: none; }
  .belt-meta { display: none; }
}
@media (max-width: 350px) {
  .isl-name { display: none; }
  .mkt-hd, .mkt-row { grid-template-columns: minmax(0, 1fr) 57px 57px; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .rotate-hint { position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: #171514; font: 400 12.5px var(--fb); color: var(--muted); }
  .rotate-hint .ic { font-size: 33.5px; color: var(--gold); animation: rotHint 2s var(--ease) infinite; }
}
.reduce-fx *, .reduce-fx *::before, .reduce-fx *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }

/* ---------- Animasyonlar ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.5px); } }
@keyframes run { to { stroke-dashoffset: -85; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.75); } }
@keyframes pulseOp { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); color: var(--gold); } 100% { transform: scale(1); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(15.5px); } to { opacity: 1; transform: none; } }
@keyframes dockIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes islIn { from { opacity: 0; transform: translateX(-50%) translateY(-17px) scale(.6); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes islSheen { to { transform: translateX(120%); } }
@keyframes ringOut { 0% { opacity: .9; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes popIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10.5px); } to { opacity: 1; transform: none; } }
@keyframes swapIn { from { opacity: 0; transform: translateX(12px); filter: blur(3.5px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes ripple { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes btnSheen { 0%, 75% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes floatUp { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.8); } 15% { opacity: 1; transform: translate(-50%, -60%) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -240%); } }
@keyframes burst { 0% { opacity: 1; transform: translate(-50%, -50%) rotate(45deg) scale(1); } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) rotate(45deg) scale(.3); } }
@keyframes stripes { to { background-position: 9.5px 0; } }
@keyframes doneFlash { 0% { filter: brightness(1.6); } 100% { filter: none; } }
@keyframes rowFlash { 0% { background: rgba(230, 195, 108, .16); } 100% { background: #171514; } }
@keyframes cellUp { 0%, 50% { background: rgba(155, 214, 143, .16); } }
@keyframes cellDown { 0%, 50% { background: rgba(238, 154, 134, .16); } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes visor { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.012); } }
@keyframes lvlUp { 0% { transform: scale(1); } 40% { transform: scale(1.7); } 100% { transform: scale(1); } }
@keyframes rotHint { 0%, 30% { transform: rotate(90deg); } 70%, 100% { transform: rotate(0); } }
@media (max-width: 400px) {
  .st-foot .chip { padding: 0 8.5px; font-size: 9px; }
  .enter-btn { padding: 0 10.5px 0 14px; font-size: 11px; }
}
@media (max-width: 340px) {
  .st-foot .chip:first-child { display: none; }
}

@media (max-height: 700px) {
  .mw-main { gap: 9px; padding-top: calc(var(--safe-t) + 12px); }
  .mw-title h2 { font-size: 22px; }
  .qi { width: 36px; height: 36px; font-size: 14px; }
  .mwp-top { padding: 12px 12px 11px; }
  .mwp-av { width: 58px; height: 58px; font-size: 22px; }
  .mwp-name { font-size: 17.5px; }
  .mt { padding: 8px 2px 7px; }
  .mtile { height: 58px; gap: 5px; font-size: 11.5px; }
  .mtile .qi { width: 28px; height: 28px; font-size: 12.5px; }
}
@media (max-height: 600px) { .ms-wide { display: none; } }

/* Pencere alt sekme çubuğu */
.sh-tabs { flex: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 7px 8px 8px; background: linear-gradient(180deg, #241f1c, #1e1b18); border-top: 2px solid #b8913e; }
.sh-tabs button { height: 36px; border-radius: 12px; font: 400 13.5px var(--fb); color: #a0968f; text-align: center; transition: background .3s, color .3s; }
.sh-tabs button.on { background: #362f2d; color: #f3d68e; box-shadow: inset 0 1px 0 rgba(255, 236, 210, .06); }
.sh-tabs button:active { transform: scale(.95); }
.mkt-pills { display: flex; gap: 7px; }
.sel-pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 4px 0 12px; border-radius: 999px; background: #0c0a0a; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2a2622; font: 400 12px var(--fb); color: #b7aea8; white-space: nowrap; min-width: 0; }
.sel-pill b { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: #e7c26a; color: #1a1410; font: 600 13px var(--fb); overflow: hidden; text-overflow: ellipsis; }
.sel-pill.val { padding: 0 12px; gap: 7px; }
.sel-pill.val b { background: none; padding: 0; height: auto; color: #f3d68e; font: 700 13.5px var(--fn); }

/* =========================================================
   v0.4 — meslekler, kalite, hangar, envanter
   ========================================================= */
.qd { display: inline-block; width: 8px; height: 8px; transform: rotate(45deg); background: var(--qc); box-shadow: 0 0 6px color-mix(in srgb, var(--qc) 60%, transparent); flex: none; border-radius: 1px; }
.isl-pilot.swap .emb { animation: profSwap .6s var(--spring); }
@keyframes profSwap { 0% { transform: scale(.3) rotate(-90deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.belt-cat { display: inline-flex; align-items: center; gap: 5px; }
.belt-cat .ic { font-size: 11px; }
.belt-cat.safe { color: #cbab5f; }
.belt-meta .rate { color: var(--muted); }

/* Kalite seçici (nadirlik) */
.qsel { display: inline-flex; gap: 5px; flex: none; }
.qsel button { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #1a1817; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2a2622; transition: box-shadow .25s, transform .25s var(--spring); }
.qsel button .qd { width: 10px; height: 10px; opacity: .55; }
.qsel button.on { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px var(--qc); background: color-mix(in srgb, var(--qc) 10%, #1a1817); }
.qsel button.on .qd { opacity: 1; }
.qsel button:active { transform: scale(.9); }
.row-lbl { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 400 12.5px var(--fb); color: #8a807b; }
.mkt-top .seg { min-width: 0; }

/* Kaliteli kutucuk */
.tile .qd { position: absolute; left: 4px; top: 4px; width: 6px; height: 6px; }
.tile.q { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--qc) 55%, #3d3935); }

/* Hangar: gemi kartları */
.hg-body, .inv-body { display: flex; flex-direction: column; gap: 9px; }
.ship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shipc { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 6px 10px 9px; border-radius: 16px; text-align: left; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #24201d; transition: box-shadow .3s, transform .3s var(--spring); }
.shipc:active { transform: scale(.96); }
.shipc.on { background: linear-gradient(180deg, #28241f, #1c1915); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #665738; }
.shipc .ship-svg { width: 100%; height: 50px; }
.shipc.locked .ship-svg { filter: grayscale(1) brightness(.45); }
.sc-tx b { display: block; font: 700 14px/1.1 var(--fs); color: #f2ead8; letter-spacing: .02em; }
.sc-tx small { display: block; font: 400 11px var(--fb); color: #7a716b; }
.sc-st { position: absolute; top: 7px; right: 9px; display: inline-flex; align-items: center; gap: 4px; font: 400 10.5px var(--fb); color: #a0968f; }
.sc-st .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--good); box-shadow: 0 0 6px var(--good); }
.sc-st .ic { font-size: 10px; }
.shipc.on .sc-st { color: #f3d68e; }
.ship-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.ship-stats > span { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 2px 6px; border-radius: 11px; background: #1a1817; box-shadow: inset 0 0 0 1px #24201d; }
.ship-stats .ic { font-size: 14px; color: #e7c26a; }
.ship-stats b { font-size: 13px; color: #f2ead8; }
.ship-stats small { font: 400 10px var(--fb); color: #7a716b; }
.ship-pass { display: flex; align-items: center; gap: 6px; margin-top: 9px; font: 400 12.5px var(--fb); color: #cfc8c2; }
.ship-pass .ic { color: #e7c26a; font-size: 13px; }

/* Hangar: donanım */
.fit-head { display: flex; align-items: center; gap: 10px; padding: 4px 12px 6px 4px; border-radius: 16px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; }
.fit-head .ship-svg { width: 92px; height: 44px; flex: none; }
.fit-head > span:not(.en) { flex: 1; min-width: 0; }
.fit-head b { display: block; font: 700 15px var(--fs); color: #f2ead8; }
.fit-head small { display: block; font: 400 11px var(--fb); color: #7a716b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fit-head .en { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: none; }
.fit-head .en b { font: 700 13px var(--fn); color: #f3d68e; }
.fit-head .en b.bad { color: var(--bad); }
.en-bar { display: block; width: 70px; height: 4px; border-radius: 2px; background: #2a241c; overflow: hidden; }
.en-bar i { display: block; height: 100%; background: linear-gradient(90deg, #c9a24e, #e7c26a); }
.fixed-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 5px; }
.fx { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 5px; border-radius: 10px; background: #1a1817; box-shadow: inset 0 0 0 1px #24201d; color: #a0968f; }
.fx .ic { font-size: 15px; color: #c9a24e; }
.fx small { font: 400 9.5px var(--fb); white-space: nowrap; }
.slot-lbl { display: flex; align-items: center; gap: 8px; font: 700 11px var(--fs); letter-spacing: .18em; text-transform: uppercase; color: #cbab5f; }
.slot-lbl i { flex: 1; height: 1px; background: linear-gradient(90deg, #6d5e3b, transparent); }
.slot-lbl small { font: 400 11px var(--fb); letter-spacing: 0; text-transform: none; color: #7a716b; }
.slot-row { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 56px; padding: 0 4px; border-radius: 12px; background: #121010; box-shadow: inset 0 0 0 1px #2a2622; color: #6f6660; border: 1px dashed #2e2925; transition: transform .25s var(--spring); }
.slot .ic { font-size: 16px; }
.slot small { font: 400 10.5px/1.1 var(--fb); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.slot.full { border: 0; background: linear-gradient(180deg, #28241f, #1c1915); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #665738; color: #f2ead8; }
.slot.full .ic { color: #e7c26a; }
.slot em { position: absolute; top: 4px; right: 6px; display: inline-flex; align-items: center; gap: 1px; font: 600 9px var(--fn); font-style: normal; color: #a0968f; }
.slot em .ic { font-size: 8px; }
.slot:active { transform: scale(.93); }
.stock { display: grid; grid-template-columns: 1fr; gap: 5px; }
.stk { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; text-align: left; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; transition: transform .25s var(--spring); }
.stk > .ic { font-size: 17px; color: #e7c26a; }
.stk span { flex: 1; min-width: 0; }
.stk b { display: block; font: 500 13.5px var(--fb); color: #f2ead8; }
.stk small { display: block; font: 400 11px var(--fb); color: #7a716b; }
.stk em { font-style: normal; font-size: 12px; color: #f3d68e; }
.stk:active { transform: scale(.97); }

/* Envanter: gemiye göre şekillenen kargo bölmesi */
.hold { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 5px; padding: 8px; border-radius: 18px; background: repeating-linear-gradient(135deg, rgba(255, 236, 200, .02) 0 1px, transparent 1px 8px), #121010; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2a2622; }
.hold-nakliye { border-radius: 10px 10px 18px 18px; }
.hold-savas { margin: 0 12%; }
.hold-kesif { margin: 0 6%; border-radius: 22px 22px 12px 12px; }
.slotc { position: relative; aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; background: #1a1817; box-shadow: inset 0 0 0 1px #24201d; color: #8a807b; }
.slotc.filled { background: linear-gradient(180deg, #24211e, #1a1817); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--qc) 50%, #2a2622); }
.slotc .ic { font-size: 17px; color: #e7c26a; }
.slotc .qd { position: absolute; left: 4px; top: 4px; width: 6px; height: 6px; }
.slotc b { position: absolute; right: 4px; bottom: 3px; font-size: 10px; color: #f2ead8; }
.slotc.more { font: 700 12px var(--fn); color: #f3d68e; }
.depot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.dcell { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.dcell .slotc { width: 100%; }
.dcell small { font: 400 10.5px/1.15 var(--fb); color: #a0968f; text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Meslek listesi */
.plist { display: flex; flex-direction: column; gap: 6px; }
.prow { display: flex; align-items: center; gap: 11px; padding: 8px 12px 8px 9px; border-radius: 14px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; }
.prow.on { background: linear-gradient(180deg, #28241f, #1c1915); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #665738; }
.prow .qi { width: 36px; height: 36px; font-size: 16px; }
.prow-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.prow-tx b { display: flex; align-items: center; gap: 7px; font: 700 14px var(--fs); color: #f2ead8; letter-spacing: .02em; }
.prow-tx b em { font: 400 10.5px var(--fb); font-style: normal; color: #f3d68e; padding: 1px 7px; border-radius: 999px; background: #352c1c; box-shadow: inset 0 0 0 1px #867140; letter-spacing: 0; }
.prow-tx small { font: 400 11.5px/1.3 var(--fb); color: #7a716b; }
.prow-tx .bar { margin: 4px 0 0; height: 4px; }
.prow-tx .bar i::after { display: none; }
.prow-lv { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex: none; }
.prow-lv b { font-size: 18px; color: #f3d68e; }
.prow-lv small { font-size: 9.5px; color: #6f6660; }
.ship-detail .jb-time { color: #a0968f; font: 400 12px var(--fb); }

@media (max-height: 700px) {
  .district-banner { display: none; }
  .shipc .ship-svg { height: 40px; }
  .slot { height: 50px; }
  .prow { padding: 6px 10px 6px 8px; }
  .prow-tx small { display: none; }
}
@media (max-height: 700px) {
  .slotc { aspect-ratio: 1.3; }
  .hold { gap: 4px; padding: 6px; }
  .fx small { display: none; }
  .fx { padding: 7px 0; }
  .slot { height: 44px; }
  .slot small { font-size: 9.5px; }
  .stk { padding: 5px 9px; }
  .stk small { display: none; }
  .recipes { gap: 5px; }
  .recipe { padding: 6px 8px; gap: 9px; grid-template-columns: 40px minmax(0, 1fr) auto; }
  .recipe .tile { width: 40px; height: 40px; font-size: 19px; }
  .rc-in { margin-top: 4px; }
  .rc-go { height: 40px; min-width: 72px; }
  .job .bar { margin: 6px 0 7px; }
  .job .sw-l small { display: none; }
  .box.job { padding: 9px 12px; }
}

/* =========================================================
   Envanter (referans düzen)
   ========================================================= */
.sheet-in.tall { height: 100%; }
.sheet-in.tall .sh-body { flex: 1; gap: 8px; padding-bottom: 12px; }
.inv-top { display: flex; gap: 7px; flex: none; }
.inv-tab { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; font: 700 12.5px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #cfc8c2; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2e2925; transition: transform .25s var(--spring); }
.inv-tab .num { font: 500 11.5px var(--fn); letter-spacing: 0; color: #8a807b; }
.inv-tab.on { color: #1a1410; background: linear-gradient(180deg, #f0d07c, #e7c26a 55%, #d6af57); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .5); }
.inv-tab.on .num { color: #4a3a18; }
.inv-tab:active { transform: scale(.95); }
.inv-mid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 8px; flex: none; }
.doll { position: relative; aspect-ratio: 1 / 1.08; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at 50% 50%, #1f1c19, #121010 70%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #24201d; }
.dlines { position: absolute; inset: 0; width: 100%; height: 100%; }
.dlines path { stroke: rgba(201, 162, 78, .32); stroke-width: .5; stroke-dasharray: 1.4 1.6; fill: none; vector-effect: non-scaling-stroke; }
.dship { position: absolute; left: 22%; right: 22%; top: 30%; bottom: 30%; display: grid; place-items: center; }
.dship .ship-svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .7)); }
.dslot { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; transition: transform .25s var(--spring); }
.dslot:active { transform: translate(-50%, -50%) scale(.9); }
.ds-box { position: relative; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; color: #6f6660; background: #171514; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2e2925; }
.dslot.on .ds-box { color: #e7c26a; background: linear-gradient(180deg, #27231e, #1a1715); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #4a4030; }
.dslot small { font: 400 9px/1 var(--fb); color: #8a807b; white-space: nowrap; text-shadow: 0 1px 2px #000; }
.dslot.on small { color: #b7aea8; }
.tb { position: absolute; top: -4px; right: -4px; min-width: 13px; height: 13px; padding: 0 2px; display: grid; place-items: center; border-radius: 3px; font: 700 8.5px/1 var(--fb); font-style: normal; color: #f2ead8; background: #100e0d; box-shadow: inset 0 0 0 1px #3d3935; }
.inv-side { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.pw-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 8px 8px; border-radius: 14px; background: linear-gradient(180deg, #26221d, #141210); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #3a3026; }
.pw-card small { font: 700 10.5px/1 var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #cfc8c2; }
.pw-card b { font: 700 28px/1 var(--fs); color: #f3d68e; text-shadow: 0 0 14px rgba(231, 194, 106, .3); }
.pw-tier { display: inline-flex; align-items: center; gap: 4px; height: 19px; padding: 0 9px; border-radius: 999px; font: 400 10.5px var(--fb); color: #f3d68e; background: #1d1916; box-shadow: inset 0 0 0 1px #413826; }
.pw-tier .ic { font-size: 10px; }
.st-rows { display: flex; flex-direction: column; gap: 6px; padding: 8px 9px; border-radius: 14px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; flex: 1; justify-content: center; }
.st-r { display: flex; align-items: center; gap: 7px; min-width: 0; }
.st-ic { width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 11px; }
.st-ic.atk { color: #ee8a75; box-shadow: inset 0 0 0 1.2px #a85646; background: rgba(226, 112, 95, .08); }
.st-ic.def { color: #7fb2ea; box-shadow: inset 0 0 0 1.2px #3f6c9e; background: rgba(74, 149, 230, .08); }
.st-ic.hp { color: #ee8a75; box-shadow: inset 0 0 0 1.2px #a85646; background: rgba(226, 112, 95, .08); }
.st-n { flex: 1; min-width: 0; font: 400 12px var(--fb); color: #cfc8c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-r b { font-size: 14px; color: #f2ead8; }
.st-r em { font: 600 10px var(--fn); font-style: normal; color: #ee8a75; width: 16px; }
.st-r em.d { color: #7fb2ea; }
.st-bar { display: flex; gap: 2px; height: 4px; border-radius: 2px; overflow: hidden; background: #2a2622; }
.st-bar i:first-child { background: #e2705f; } .st-bar i:last-child { background: #4a95e6; }
.inv-link { display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 12px; text-align: left; font: 400 12px/1.15 var(--fb); color: #e6dfd7; background: #171514; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2e2925; transition: transform .25s var(--spring); }
.inv-link .qi { width: 28px; height: 28px; font-size: 13px; border-radius: 50%; }
.inv-link span:nth-child(2) { flex: 1; }
.inv-link > .ic { font-size: 12px; color: #8a807b; }
.inv-link:active { transform: scale(.96); }
.inv-filters { display: flex; gap: 6px; flex: none; }
.fchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font: 400 13px var(--fb); color: #e6dfd7; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2e2925; transition: transform .25s var(--spring); }
.fchip .num { font: 500 11px var(--fn); color: #8a807b; }
.fchip.on { color: #1a1410; background: linear-gradient(180deg, #f0d07c, #e7c26a 55%, #d6af57); box-shadow: 0 0 0 1.5px #0b0a0a; }
.fchip.on .num { color: #4a3a18; }
.fchip.ico { margin-left: auto; width: 38px; padding: 0; justify-content: center; color: #e7c26a; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #665738; }
.fchip:active { transform: scale(.94); }
.inv-grid8 { flex: 1; min-height: 72px; overflow-y: auto; scrollbar-width: none; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); align-content: start; gap: 4px; padding: 6px; border-radius: 14px; background: #121010; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #24201d; }
.inv-grid8::-webkit-scrollbar { display: none; }
.ic-cell { position: relative; aspect-ratio: 1; border-radius: 6px; display: grid; place-items: center; background: #171514; box-shadow: inset 0 0 0 1px #24201d; color: var(--rc, #e7c26a); }
.ic-cell.full { background: radial-gradient(circle at 50% 45%, #26221e, #171514 75%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--qc) 55%, #3d3935); transition: transform .2s var(--spring); }
.ic-cell.full:active { transform: scale(.9); }
.ic-cell .ic { font-size: 16px; filter: drop-shadow(0 1px 2px #000); }
.ic-cell .tb { top: 2px; right: 2px; min-width: 11px; height: 11px; font-size: 7.5px; }
.ic-cell b { position: absolute; right: 3px; bottom: 2px; font-size: 9px; color: #f2ead8; text-shadow: 0 1px 2px #000; }
.ic-cell .qedge { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -10px 12px -8px color-mix(in srgb, var(--qc) 55%, transparent); pointer-events: none; }
.inv-cur { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; flex: none; }
.cur-card { display: flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 14px; background: repeating-linear-gradient(135deg, rgba(255, 236, 200, .02) 0 1px, transparent 1px 6px), #171514; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2e2925; min-width: 0; }
.cur-card .coin { font-size: 22px; }
.cur-card > span:last-child { min-width: 0; }
.cur-card small { display: block; font: 400 12px var(--fb); color: #cfc8c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cur-card b { display: block; font-size: 14px; color: #f2ead8; }
.cur-card.fpc { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--acc) 40%, #2e2925); background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 8%, #171514), #171514); }
.cur-card.fpc small { color: color-mix(in srgb, var(--acc) 55%, #e6dfd7); }
.fp-emb { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--acc); background: #100e0d; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 45%, #2e2925); }
.inv-load { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 9px; row-gap: 6px; padding: 8px 12px 9px 8px; border-radius: 14px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; flex: none; }
.ld-ic { grid-row: 1 / 3; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #e7c26a; background: #1a1715; box-shadow: inset 0 0 0 1px #3a3127; }
.ld-tx { display: flex; align-items: baseline; gap: 6px; }
.ld-tx b { font: 700 13px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: #cfc8c2; }
.ld-tx .num { font: 500 19px var(--fb); color: #f2ead8; }
.ld-tx small { font: 400 12.5px var(--fb); color: #8a807b; }
.ld-ext { font: 400 11.5px var(--fb); color: #cfc8c2; white-space: nowrap; }
.ld-ext em { font-style: normal; color: #9fdf8e; font-family: var(--fn); font-weight: 600; font-size: 11px; }
.ld-bar { grid-column: 2 / 4; position: relative; height: 7px; border-radius: 4px; background: #0e0c0b; box-shadow: inset 0 0 0 1px #24201d; overflow: hidden; }
.ld-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c9a24e, #e7c26a); box-shadow: 0 0 8px rgba(231, 194, 106, .4); transition: width .4s var(--ease); }
.ld-bar u { position: absolute; top: 0; bottom: 0; width: 2px; background: #a05a30; }
@media (max-height: 700px) {
  .inv-cur { display: none; }
  .doll { aspect-ratio: 1 / .92; }
  .pw-card { padding: 6px 8px; }
  .pw-card b { font-size: 23px; }
  .st-rows { gap: 4px; padding: 6px 8px; }
}
@media (max-width: 370px) {
  .ds-box { width: 28px; height: 28px; font-size: 13px; }
  .dslot small { font-size: 8.5px; }
  .fchip { padding: 0 10px; font-size: 12px; }
}
@media (max-height: 700px) { .sheet-in.tall .sh-body { padding-bottom: 9px; gap: 7px; } .inv-grid8 { min-height: 64px; } }

/* =========================================================
   Kuşak sayfası (12 node alanı) ve node penceresi
   ========================================================= */
.in-belt .home { opacity: 0; transform: scale(1.06); filter: blur(10px); pointer-events: none; }
.belt-view {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px; padding: 2px 0 10px;
  opacity: 0; transform: scale(.94); pointer-events: none; visibility: hidden;
  transition: opacity .45s .08s, transform .6s .08s var(--ease), visibility 0s .7s;
}
.in-belt .belt-view { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .45s .08s, transform .6s .08s var(--ease), visibility 0s; }
.belt-view .sv-strip .chip .ic { font-size: 12px; }
.bv-map { --rad: 20px; --bd: #29241d; --fill: #0d0c0b; flex: 1; min-height: 0; }
.bv-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bv-map::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(10, 9, 8, .6)); }
.bv-nodes { position: absolute; inset: 0; z-index: 2; }
.nd { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 4px; animation: ndIn .5s var(--spring) both; transition: transform .25s var(--spring); }
.nd:active { transform: translate(-50%, -50%) scale(.9); }
.nd-core { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--qc); background: radial-gradient(circle at 45% 35%, color-mix(in srgb, var(--qc) 22%, #1d1a17), #0e0c0b 75%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 2px color-mix(in srgb, var(--qc) 75%, transparent), 0 0 18px -4px var(--qc); }
.nd-core .ic { filter: drop-shadow(0 0 5px color-mix(in srgb, var(--qc) 70%, transparent)); }
.nd-ring { position: absolute; z-index: 0; left: 50%; top: 23px; width: 62px; height: 62px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--qc) 35%, transparent); opacity: .6; }
.nd.q3 .nd-ring { border-color: var(--qc); animation: ndPulse 1.8s ease-out infinite; }
.nd.q2 .nd-ring { animation: ndPulse 2.6s ease-out infinite; }
.nd.q3 .nd-core { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 2px var(--qc), 0 0 26px -2px var(--qc); }
.nd small { padding: 1px 7px; border-radius: 999px; font: 400 10px var(--fb); color: #a0968f; background: rgba(10, 9, 8, .82); box-shadow: inset 0 0 0 1px #2e2925; white-space: nowrap; }
.nd small b { color: #f2ead8; font-size: 10px; }
.nd.active .nd-ring { border: 1.5px dashed #e7c26a; opacity: 1; animation: spin 6s linear infinite; }
.nd.active small { color: #f3d68e; box-shadow: inset 0 0 0 1px #665738; }
.nd-prog { width: 44px; height: 3px; border-radius: 2px; background: #2a241c; overflow: hidden; }
.nd-prog i { display: block; height: 100%; background: #e7c26a; }
.nd.empty { gap: 5px; }
.nd.empty i { width: 30px; height: 30px; border-radius: 50%; border: 1px dashed rgba(201, 162, 78, .25); background: rgba(10, 9, 8, .35); }
.nd.empty small { font-size: 9.5px; color: #6f6660; background: transparent; box-shadow: none; padding: 0; }
@keyframes ndIn { from { opacity: 0; transform: translate(-50%, -50%) scale(.4); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes ndPulse { 0% { transform: translate(-50%, -50%) scale(.8); opacity: .9; } 100% { transform: translate(-50%, -50%) scale(1.35); opacity: 0; } }
.bv-cargo { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 7px 12px; align-items: center; padding: 9px 11px; border-radius: 16px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #24201d; }
.bvc-tx b { display: block; font: 700 14px var(--fs); color: #f2ead8; }
.bvc-tx small { display: block; font: 400 11.5px var(--fb); color: #a0968f; }
.bvc-bar { display: block; min-width: 0; }
.bvc-bar .bar { display: block; margin: 5px 0 0; height: 5px; }
.bvc-bar .bar i::after { display: none; }
.bvc-acts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.btn.sm2 { height: 34px; font-size: 13px; }

/* Node penceresi */
.sh-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px 12px; border-top: 1px solid #0b0a0a; background: linear-gradient(180deg, #1c1a19, #171514); }
.nf-tx { font: 400 12px var(--fb); color: #a0968f; min-width: 0; }
.sh-foot .btn { min-width: 132px; height: 42px; border-radius: 14px; font-size: 15px; }
.nd-run { position: relative; overflow: hidden; }
.nd-run span { position: relative; }
.nd-runbar { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(231, 194, 106, .18); }
.nd-badge { align-self: flex-start; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--qc); background: radial-gradient(circle at 45% 35%, color-mix(in srgb, var(--qc) 20%, #1d1a17), #0e0c0b 75%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px var(--qc); margin: 2px 0 0 2px; flex: none; }
.nd-info .kv small { font-size: 12.5px; color: #8a807b; font-family: var(--fb); }
.nd-info .kv b { font: 500 14px var(--fn); color: #f2ead8; margin-top: 6px; }
.ms-head.rare b { background: #b394f0; }
.ms-head.rare span { color: #c7b0f5; }
.loot { display: flex; align-items: center; gap: 11px; padding: 2px 0; }
.loot .tile { width: 40px; height: 40px; font-size: 18px; border-radius: 8px; }
.loot .tile b { top: -4px; right: -4px; bottom: auto; }
.lt-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lt-tx b { font: 400 14px var(--fb); color: #f2ead8; }
.lt-tx small { font: 400 12.5px var(--fb); color: #8a807b; }
.lt-bar { display: block; height: 3px; margin-top: 4px; border-radius: 2px; background: #2a2622; overflow: hidden; }
.lt-bar i { display: block; height: 100%; background: #d9d4cc; }
.lt-pct { flex: none; min-width: 52px; height: 26px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px; font-size: 12px; color: #f2ead8; background: #1a1817; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #3d3935; }
.qbar { display: flex; gap: 2px; height: 4px; margin-top: 6px; border-radius: 2px; overflow: hidden; }
.qbar i { display: block; height: 100%; }
.qleg { display: flex; gap: 9px; margin-top: 5px; font: 500 11px var(--fn); }
.qleg span { display: inline-flex; align-items: center; gap: 4px; }
.qleg .qd { width: 6px; height: 6px; }
.nd-auto { padding: 9px 12px; }

@media (max-height: 700px) {
  .nd-badge { display: none; }
  .nd-info { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .nd-info .box { padding: 8px 9px; }
  .nd-info .kv small { font-size: 11px; }
  .nd-info .kv b { font-size: 12.5px; margin-top: 4px; }
  .loot .tile { width: 34px; height: 34px; font-size: 15px; }
  .lt-tx b { font-size: 13px; }
  .lt-tx small { font-size: 11.5px; }
  .nd-auto small { display: none; }
  .nd-core { width: 40px; height: 40px; font-size: 17px; }
  .nd-ring { top: 20px; width: 54px; height: 54px; }
  .belt-view { gap: 8px; }
}
@media (max-height: 700px) {
  .sh-body:has(.nd-info) { gap: 6px; }
  .loot .lt-bar { display: none; }
  .loot { padding: 0; }
  .lt-pct { height: 23px; min-width: 46px; font-size: 11px; }
  .nd-auto { padding: 7px 10px; }
  .sh-foot { padding: 8px 12px 10px; }
  .sh-foot .btn { height: 38px; }
}
