/* =========================================================
   ÜÇ SANCAK — 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: 72px;   /* adanın iş satırlı boyuna göre sabit: satır açılınca alttaki içerik kaymaz */

  --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, #dabe79, #a98c4d); 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, #dabe79, #a98c4d); 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, #d5b86b, #caaa5e 55%, #b99950);
  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(5, minmax(0, 1fr)); gap: 2px; }
/* Gezgin kartı: üstte amblem, ad ve FP; altta solda meslek / lonca / destansı, sağda Kâhya kartı */
.mwp-top > .mwp-av { grid-area: 1 / 1; } .mwp-top > .mwp-tx { grid-area: 1 / 2 / 2 / 4; }
.mwp-pills { position: relative; grid-area: 2 / 1 / 3 / 3; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; }
.mwp-top > .khc { grid-area: 2 / 3; width: 100%; align-self: end; }
/* Kâhya kartı: etkinlik kartlarının diliyle kare */
.khc { position: relative; aspect-ratio: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; padding: 9px 8px 10px; border-radius: 18px; text-align: center;
  --c: #8fb6e8; background: radial-gradient(90% 70% at 50% 38%, color-mix(in srgb, var(--c) 18%, #2b2620), #1c1916 75%); box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--c) 35%, #4a4032), 0 10px 22px -12px #000; transition: transform .3s var(--spring); }
.khc:active { transform: scale(.96); }
.khc.on { --c: #e7c26a; } .khc.warn { --c: #f0906c; }
.khc-bg { position: absolute; inset: 0; pointer-events: none; }
.khc-ring { position: absolute; left: 50%; top: 42%; width: 78%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--c) 45%, transparent); animation: spin 30s linear infinite; }
.khc-ring.b { width: 56%; border-style: dotted; animation-duration: 18s; animation-direction: reverse; }
.khc-hd { position: absolute; left: 10px; right: 10px; top: 8px; display: flex; align-items: center; justify-content: space-between; }
.khc-hd small { font: 700 8.5px/1 var(--fu); letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 80%, #fff); }
.khc-dot { width: 7px; height: 7px; border-radius: 50%; background: #5a5248; }
/* FPS 2026-12-02: halka box-shadow yayılması yerine aynı renkte disk büyür ve söner (transform + opacity, GPU); nokta ile aynı renk olduğu için üstünde fark yok */
.khc.on .khc-dot { position: relative; background: #7fe08a; }
.khc.on .khc-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(127, 224, 138, .6); pointer-events: none; animation: khcRip 1.8s ease-out infinite; }
@keyframes khcRip { 70%, 100% { transform: scale(3); opacity: 0; } }   /* 7px nokta + 7px halka = 3 kat */
/* box-shadow nabızlarının GPU karşılığı: katman opaklığı (ease-in-out, 50%'de tepe) */
@keyframes fxIn { 50% { opacity: 1; } } @keyframes fxOut { 50% { opacity: 0; } } @keyframes fxInA { to { opacity: 1; } } @keyframes fxOutA { to { opacity: 0; } }
@keyframes khcDot { 70%, 100% { box-shadow: 0 0 0 7px rgba(127, 224, 138, 0); } }
.khc-med { position: relative; flex: 1; min-height: 0; width: 100%; display: grid; place-items: center; font-size: 30px; color: var(--c); }
.khc-med img { height: 100%; max-height: 64px; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .55)); animation: koFloat 3.4s ease-in-out infinite; }
.khc-med .ic { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--c) 60%, transparent)); animation: koFloat 3.4s ease-in-out infinite; }
.khc-nm { position: relative; max-width: 100%; font: 700 13px/1.1 var(--fs); color: #f6ecd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.khc-st { position: relative; max-width: 100%; font: 500 9.5px/1.15 var(--fb); color: #bdb4a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .khc-st b { color: #f2ead8; }
.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: grid; grid-template-columns: auto minmax(0, 1fr) clamp(96px, 38%, 128px); grid-template-rows: auto auto; align-items: center; gap: 10px 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 0 0 -9.5px; background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .18) 0 3.5px, transparent 3.5px 7px); background-size: 9.5px 100%; animation: stripesT .6s linear infinite; }   /* FPS 2026-12-02: arka plan kaydırma yerine katman kayar (transform, GPU); görünüm aynı */
@keyframes stripesT { to { transform: translateX(9.5px); } }
.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 */
.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: 70px; }
  .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, #a98c4d, #caaa5e); }
.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, #d5b86b, #caaa5e 55%, #b99950); 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, #d5b86b, #caaa5e 55%, #b99950); 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, #a98c4d, #caaa5e); 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-prog { width: 44px; height: 3px; border-radius: 2px; background: #2a241c; overflow: hidden; }
.nd-prog i { display: block; height: 100%; background: #e7c26a; }
@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; }
}

/* =========================================================
   Oyuncu pazarı
   ========================================================= */
:root { --pc-sell: #ffc2a8; --pc-buy: #c4ecb8; }
.sh-body.mk-body { gap: 7px; }
.mkt-pills .sel-pill { cursor: pointer; }
.sel-pill b .ic { font-size: 9px; margin-left: 4px; stroke-width: 2.6; }
.mk-search { flex: none; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-radius: 13px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #24201d; color: #8a807b; }
.mk-search .ic { font-size: 15px; }
.mk-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: none; font: 400 14px var(--fb); color: #e6dfd7; -webkit-user-select: text; user-select: text; }
.mk-search input::placeholder { color: #6f6660; }
.mk-search:focus-within { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #665738; }
.mk-filter { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 400 13px var(--fb); color: #8a807b; }
.tiers { display: inline-flex; gap: 5px; }
.tierb { min-width: 32px; height: 28px; padding: 0 6px; border-radius: 9px; font: 400 13px var(--fb); color: #cec7bb; background: #1a1817; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #2e2925; }
.tierb.on { color: #f3d68e; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #665738; background: linear-gradient(180deg, #28241f, #3b3221); }
.tierb:disabled { opacity: .45; }
.mk-filter .qsel button { width: 30px; height: 28px; }
.mk-cats { flex: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 -2px; border-radius: 16px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; }
.mk-cats::-webkit-scrollbar { display: none; }
.mkc { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 9px; border-radius: 12px; font: 400 13.5px var(--fb); color: #d8cfc8; white-space: nowrap; transition: background .25s; }
.mkc .ic { font-size: 15px; color: #e7c26a; }
.mkc .num { font-size: 11px; color: #897f7a; }
.mkc.on { color: #f3d68e; background: linear-gradient(180deg, #28241f, #3b3221); box-shadow: inset 0 0 0 1px #665738; }
.mkt-table.tall { flex: 1; min-height: 120px; display: flex; flex-direction: column; }
.mkt-table.tall .mkt-list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.mkt-table.tall .mkt-list::-webkit-scrollbar { display: none; }
.mkt-row.tr { width: 100%; text-align: left; transition: background .2s; }
.mkt-row.tr:active { background: #1c1a19; }
.mkt-hd span { font-size: 12.5px; }
.pcw { display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 0; }
.pcw .pc { height: auto; font-size: 14.5px; }
.pcw small { font: 400 10px var(--fn); color: #6f6660; white-space: nowrap; }
.pc.none { color: #5a524c; }
.mkt-ft { flex: none; }

/* Emirlerim / Teslimat / Geçmiş */
.olist { display: flex; flex-direction: column; gap: 6px; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; }
.olist::-webkit-scrollbar { display: none; }
.orow { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 14px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; }
.orow .tile { width: 36px; height: 36px; font-size: 16px; }
.side { flex: none; width: 44px; text-align: center; padding: 3px 0; border-radius: 999px; font: 400 11px var(--fb); }
.side.buy { color: var(--pc-buy); background: rgba(155, 214, 143, .08); box-shadow: inset 0 0 0 1px rgba(155, 214, 143, .3); }
.side.sell { color: var(--pc-sell); background: rgba(255, 194, 168, .07); box-shadow: inset 0 0 0 1px rgba(255, 194, 168, .3); }
.o-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.o-tx b { font: 400 13.5px var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-tx small { font: 400 11px var(--fb); color: #7a716b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-bar { display: block; height: 3px; border-radius: 2px; background: #2a2622; overflow: hidden; margin-top: 2px; }
.o-bar i { display: block; height: 100%; background: #e7c26a; }
.o-px { flex: none; display: grid; grid-template-columns: auto auto; align-items: center; justify-items: end; column-gap: 4px; }
.o-px b { font-size: 13.5px; color: #f2ead8; }
.o-px .coin { font-size: 12px; }
.o-px small { grid-column: 1 / -1; font-size: 10px; color: #7a716b; }
.o-x { width: 30px; height: 30px; font-size: 13px; flex: none; }
.dl-sum { display: flex; align-items: center; gap: 14px; }
.dl-sum > span { display: flex; flex-direction: column; gap: 4px; }
.dl-sum small { font: 400 12px var(--fb); color: #8a807b; }
.dl-sum b { display: flex; align-items: center; gap: 5px; font: 600 15px var(--fn); color: #f2ead8; }
.dl-sum .btn { margin-left: auto; height: 38px; }
.coin-tile { display: grid; place-items: center; }
.coin-tile .coin { font-size: 20px; }

/* Eşya detayı */
.mk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mk-stats .box { padding: 8px 9px; }
.mk-stats .kv small { font: 400 11px var(--fb); color: #8a807b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-stats .kv b { font: 600 14px var(--fn); margin-top: 5px; gap: 4px; }
.mk-stats .kv b .coin { font-size: 12px; }
.mk-stats .kv b .muted { color: #5a524c; }
.mk-stats .ago { font: 400 9.5px var(--fb); color: #6f6660; margin-left: 2px; }
.chart { position: relative; height: 112px; flex: none; border-radius: 14px; background: #121010; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #24201d; overflow: hidden; }
.chart svg { position: absolute; inset: 8px 8px 16px; width: calc(100% - 16px); height: calc(100% - 24px); }
.chart .ln { fill: none; stroke: #e7c26a; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.chart .ar { fill: rgba(231, 194, 106, .1); }
.chart .vb rect { fill: rgba(160, 150, 143, .28); }
.chart .c-hi, .chart .c-lo { position: absolute; left: 10px; font-size: 10px; color: #8a807b; }
.chart .c-hi { top: 6px; } .chart .c-lo { bottom: 4px; }
.chart .c-rg { position: absolute; right: 10px; bottom: 4px; font: 400 10px var(--fb); color: #6f6660; }
.st-list { display: flex; flex-direction: column; gap: 5px; }
.st-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) 62px 62px; align-items: center; gap: 8px; padding: 6px 10px 6px 7px; border-radius: 12px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; }
.st-row.on { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #665738; background: linear-gradient(180deg, #211d18, #171411); }
.st-emb { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #c9a24e; background: #100e0d; box-shadow: inset 0 0 0 1px #2e2925; }
.st-nm b { display: block; font: 400 13px var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-nm small { display: block; font: 400 10.5px var(--fb); color: #7a716b; }
.st-px { display: flex; flex-direction: column; align-items: flex-end; }
.st-px b { font: 600 13px var(--fn); }
.st-px.sell b { color: var(--pc-sell); } .st-px.buy b { color: var(--pc-buy); }
.st-px small { font: 400 9.5px var(--fn); color: #6f6660; }
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.bk-hd { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 5px; font: 400 13px var(--fb); }
.bk-hd small { font-size: 10.5px; color: #6f6660; }
.bk-hd.sell { color: var(--pc-sell); } .bk-hd.buy { color: var(--pc-buy); }
.bk-row { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; height: 26px; padding: 0 8px; margin-bottom: 3px; border-radius: 7px; background: #151312; overflow: hidden; }
.bk-row i { position: absolute; top: 0; bottom: 0; right: 0; opacity: .16; }
.bk-row.sell i { background: #ffc2a8; } .bk-row.buy i { background: #c4ecb8; }
.bk-row b { position: relative; font-size: 12.5px; }
.bk-row.sell b { color: var(--pc-sell); } .bk-row.buy b { color: var(--pc-buy); }
.bk-row span { position: relative; font-size: 11.5px; color: #e6dfd7; }
.bk-row small { position: absolute; left: 50%; transform: translateX(-50%); font: 400 9px var(--fb); color: #6f6660; }
.recent { display: flex; flex-direction: column; gap: 3px; }
.rc-row { display: grid; grid-template-columns: 1fr auto auto 70px; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 8px; background: #151312; }
.rc-row span { font-size: 11.5px; color: #a0968f; }
.rc-row b { font-size: 12.5px; color: #f2ead8; }
.rc-row .coin { font-size: 11px; }
.rc-row small { font: 400 10.5px var(--fb); color: #6f6660; text-align: right; }
.seg-row { flex: none; display: flex; }
.stepper { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 34px 84px 34px auto; align-items: center; gap: 6px; padding: 7px 8px 7px 12px; border-radius: 14px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a; }
.sp-l { font: 400 13px var(--fb); color: #cfc8c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stepper button[data-step] { height: 32px; border-radius: 10px; font: 600 17px var(--fn); color: #e7c26a; background: #1a1817; box-shadow: inset 0 0 0 1px #2e2925; }
.stepper input { height: 32px; min-width: 0; text-align: center; border: 0; outline: none; border-radius: 10px; font: 600 14px var(--fn); color: #f2ead8; background: #0f0d0c; box-shadow: inset 0 0 0 1px #2e2925; -webkit-user-select: text; user-select: text; }
.stepper input:focus { box-shadow: inset 0 0 0 1px #665738; }
.sp-q { height: 32px; padding: 0 10px; border-radius: 10px; font: 400 12px var(--fb); color: #f3d68e; background: #1d1916; box-shadow: inset 0 0 0 1px #665738; }
.sumbox { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; }
.sumbox > div { display: flex; justify-content: space-between; align-items: center; font: 400 13px var(--fb); color: #a0968f; }
.sumbox b { font: 600 13px var(--fn); color: #f2ead8; display: inline-flex; align-items: center; gap: 4px; }
.sumbox b em { font: 400 11px var(--fb); font-style: normal; color: #ee9a86; }
.sumbox .tot { padding-top: 6px; border-top: 1px solid #24201d; color: #e6dfd7; }
.sumbox .tot b { font-size: 16px; color: #f3d68e; }
.sh-head > .tile { width: 48px; height: 48px; font-size: 22px; flex: none; }
@media (max-height: 700px) {
  .mk-filter .tierb { height: 25px; min-width: 28px; }
  .mk-filter .qsel button { height: 25px; width: 27px; }
  .mk-search { height: 34px; }
  .mkc { height: 30px; }
  .chart { height: 88px; }
  .mk-stats .box { padding: 6px 8px; }
  .rc-row:nth-child(n+5) { display: none; }
  .bk-row { height: 23px; }
  .stepper { padding: 5px 7px 5px 10px; }
  .sumbox { gap: 4px; padding: 8px 10px; }
}

/* =========================================================
   Ada bildirim kademeleri
   ========================================================= */
.island:not(.big) .nt-tx small { display: none; }
.island.mini .nt-ic { width: 26px; height: 26px; font-size: 14px; }
.island.mini .nt-ic::after { content: ''; position: absolute; right: 0; bottom: 0; width: 6px; height: 6px; transform: rotate(45deg); background: var(--ntc); box-shadow: 0 0 5px var(--ntc); }
.island.mini .nt-tx b { font: 500 13px var(--fb); color: #e6dfd7; }
.island.mini .nt-val { font: 700 12.5px var(--fn); color: var(--ntc); }
.nt-cnt { flex: none; font: 600 10px var(--fn); color: #8a807b; min-width: 0; }
.nt-cnt:empty { display: none; }
.nt-val.bump { animation: ntBump .45s var(--spring); }
@keyframes ntBump { 0% { transform: scale(1); } 40% { transform: scale(1.3); filter: brightness(1.6); } 100% { transform: scale(1); } }

/* Orta kademe: mavi */
.island.mid { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ntc) 55%, #3d3427), 0 0 28px -8px var(--ntc), 0 12px 30px -10px rgba(0, 0, 0, .9); background: linear-gradient(90deg, color-mix(in srgb, var(--ntc) 14%, #14110e), #0c0a08 60%); }
.island.mid .nt-ic { width: 40px; height: 40px; font-size: 19px; border-radius: 13px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--ntc) 32%, #0d0b09), #0d0b09 78%); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ntc) 60%, transparent), 0 0 14px -4px var(--ntc); }
.island.mid .nt-tx small { display: block; }
.island.mid .nt-tx b { font: 700 16px var(--fs); letter-spacing: .03em; color: #f2ead8; }
.island.mid .nt-val { padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--ntc) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ntc) 40%, transparent); }

/* Görkemli kademe: turuncu ve destansı buluntular */
.island.epic { background: radial-gradient(ellipse 70% 120% at 15% 50%, color-mix(in srgb, var(--ntc) 26%, #14110e), #0c0a08 70%); animation: epicGlow 1.6s ease-in-out infinite; }
.island.epic.pop { animation: epicPop .7s var(--spring), epicGlow 1.6s ease-in-out .7s infinite; }
@keyframes epicGlow { 0%, 100% { box-shadow: 0 0 0 1.5px var(--ntc), 0 0 30px -6px var(--ntc), 0 18px 40px -10px rgba(0, 0, 0, .95); } 50% { box-shadow: 0 0 0 1.5px var(--ntc), 0 0 52px 0 var(--ntc), 0 18px 40px -10px rgba(0, 0, 0, .95); } }
@keyframes epicPop { 0% { transform: translateX(-50%) scale(.7); } 55% { transform: translateX(-50%) scale(1.06); } 100% { transform: translateX(-50%) scale(1); } }
.island.epic .nt-ic { width: 70px; height: 70px; font-size: 32px; border-radius: 20px; overflow: hidden; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--ntc) 45%, #120f0c), #0d0b09 72%); box-shadow: inset 0 0 0 2px var(--ntc), 0 0 22px -2px var(--ntc); }
.island.epic .nt-ic .ic { position: relative; z-index: 1; filter: drop-shadow(0 0 10px var(--ntc)) drop-shadow(0 0 2px #fff); animation: epicIcon 2.2s ease-in-out infinite; }
@keyframes epicIcon { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12) rotate(-6deg); } }
.nt-rays { position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--ntc) 55%, transparent) 0 10deg, transparent 10deg 30deg); animation: spin 6s linear infinite; opacity: .55; -webkit-mask: radial-gradient(circle, #000 25%, transparent 70%); mask: radial-gradient(circle, #000 25%, transparent 70%); }
.island.epic::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 240, 210, .16) 50%, transparent 65%); animation: epicSweep 2.4s ease-in-out infinite .5s; transform: translateX(-120%); }
@keyframes epicSweep { 0%, 30% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.island.epic .nt-tx small { font-size: 10.5px; letter-spacing: .22em; }
.island.epic .nt-tx b { font: 700 23px/1.05 var(--fs); letter-spacing: .03em; background: linear-gradient(90deg, #f0dcac, var(--ntc) 40%, #f0dcac 60%, var(--ntc)); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: epicText 2.6s linear infinite; }
@keyframes epicText { to { background-position: -220% 0; } }
.island.epic .nt-tx span { font-size: 12.5px; color: #cfc8c2; }
.island.epic .nt-val { font-size: 15px; padding: 7px 11px; color: #1a1410; background: var(--ntc); box-shadow: 0 0 16px -2px var(--ntc); }
.epic-flash { position: absolute; inset: 0; z-index: 74; pointer-events: none; background: radial-gradient(ellipse 90% 45% at 50% 0%, color-mix(in srgb, var(--fc) 42%, transparent), transparent 70%), radial-gradient(ellipse 120% 100% at 50% 50%, transparent 60%, color-mix(in srgb, var(--fc) 22%, transparent)); animation: epicFlash 1.8s ease-out forwards; }
@keyframes epicFlash { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 0; } }
.epic-ring { position: absolute; left: 50%; top: 48px; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid var(--fc); box-shadow: 0 0 20px var(--fc); pointer-events: none; opacity: 0; animation: epicRing 1.2s ease-out forwards; z-index: -1; }
@keyframes epicRing { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(3.4); } }
.reduce-fx .island.epic, .reduce-fx .island.epic .nt-ic .ic { animation: none; }

/* =========================================================
   Tüm bildirimler aynı boyutta — ihtişam kademeyle artar
   ========================================================= */
.island.big, .island.mid, .island.epic, .island.mini { transform: translateX(-50%); }
.island .nt-tx span { display: none !important; }
.island .nt-tx small { display: none; }
.island.big .nt-ic, .island.mid .nt-ic, .island.epic .nt-ic { width: 28px; height: 28px; font-size: 15px; border-radius: 50%; }
.island.big .nt-ic::before { display: none; }
.island.big .nt-tx b, .island.mid .nt-tx b { font: 600 13.5px/1.1 var(--fb); letter-spacing: 0; color: #f2ead8; }
.island.big .nt-val, .island.mid .nt-val, .island.epic .nt-val { font-size: 12px; padding: 3px 9px; }
.island .isl-expand { gap: 10px; padding: 0 14px 0 8px; }

/* Yeşil: tonlu zemin ve parlayan elmas */
.island.mini.tint { background: linear-gradient(90deg, color-mix(in srgb, var(--ntc) 16%, #14110e), #0c0a08 55%); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ntc) 35%, #3d3427), 0 10px 26px -8px rgba(0, 0, 0, .85); }
.island.mini.tint .nt-ic::after { box-shadow: 0 0 9px var(--ntc); animation: pulseOp 1.4s ease-in-out infinite; }
.island.mini.tint .nt-tx b { color: color-mix(in srgb, var(--ntc) 35%, #f2ead8); }

/* Mavi / altın: parıltılı kenar, nabız atan ikon, süzülen ışık */
.island.mid, .island.big:not(.epic) { background: linear-gradient(90deg, color-mix(in srgb, var(--ntc) 20%, #14110e), #0c0a08 65%); box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--ntc) 65%, transparent), 0 0 22px -6px var(--ntc), 0 10px 26px -8px rgba(0, 0, 0, .9); }
.island.mid .nt-ic, .island.big:not(.epic) .nt-ic { background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--ntc) 38%, #0d0b09), #0d0b09 80%); box-shadow: inset 0 0 0 1.5px var(--ntc), 0 0 12px -2px var(--ntc); animation: midPulse 1.6s ease-in-out infinite; }
@keyframes midPulse { 0%, 100% { box-shadow: inset 0 0 0 1.5px var(--ntc), 0 0 8px -2px var(--ntc); } 50% { box-shadow: inset 0 0 0 1.5px var(--ntc), 0 0 16px 1px var(--ntc); } }
.island.mid::before, .island.big:not(.epic)::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 35%, color-mix(in srgb, var(--ntc) 30%, transparent) 50%, transparent 65%); transform: translateX(-120%); animation: epicSweep 2.6s ease-in-out infinite .3s; }
.island.mid .nt-val, .island.big:not(.epic) .nt-val { color: var(--ntc); background: color-mix(in srgb, var(--ntc) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ntc) 45%, transparent); }

/* Turuncu: en görkemli — aynı boyutta */
.island.epic .nt-ic { width: 30px; height: 30px; font-size: 15px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--ntc) 55%, #120f0c), #0d0b09 75%); box-shadow: inset 0 0 0 1.5px var(--ntc), 0 0 16px 0 var(--ntc); }
.island.epic .nt-ic .ic { filter: drop-shadow(0 0 6px var(--ntc)) drop-shadow(0 0 1px #fff); }
.island.epic .nt-rays { inset: -60%; opacity: .7; animation-duration: 4s; }
.island.epic .nt-tx { gap: 1px; }
.island.epic .nt-tx small { display: block; font: 600 8px/1 var(--fu); letter-spacing: .22em; color: var(--ntc); text-transform: uppercase; }
.island.epic .nt-tx b { font: 700 15px/1.05 var(--fs); letter-spacing: .03em; }
.island.epic .nt-val { padding: 3px 9px; font-size: 12px; color: #1a1410; background: var(--ntc); box-shadow: 0 0 12px -1px var(--ntc); }
.island.epic.pop { animation: epicPop .6s var(--spring), epicGlow 1.6s ease-in-out .6s infinite; }
@keyframes epicPop { 0% { transform: translateX(-50%) scale(.9); } 45% { transform: translateX(-50%) scale(1.04); } 100% { transform: translateX(-50%) scale(1); } }
.epic-ring { top: 21px; width: 90px; height: 90px; margin: -45px 0 0 -45px; }

/* ---------------- Rehber ---------------- */
.sheet-in.gd .sh-body { gap: 0; padding-bottom: 10px; }
.gd-view { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.gd-load { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 40px 0; font: 400 11px var(--fb); color: var(--dim); }
.gd-load i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line3); border-top-color: var(--gold); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.gd-sum { display: flex; flex-direction: column; gap: 8px; padding: 9px 12px 10px; }
.gd-sum-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.gd-sum-row span { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.gd-sum-row span + span { box-shadow: -1px 0 0 var(--line); }
.gd-sum-row b { font: 600 17px var(--fn); color: var(--sc); letter-spacing: -.02em; }
.gd-sum-row small { font: 400 9.5px var(--fb); color: var(--muted); }
.gd-bar { display: flex; gap: 2px; height: 4px; border-radius: 4px; overflow: hidden; background: #0d0c0b; }
.gd-bar i { width: var(--w); background: var(--sc); transform-origin: left; animation: gdGrow .9s var(--ease) both var(--d, 0s); }
@keyframes gdGrow { from { transform: scaleX(0); } }
.gd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.gd-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 4px; min-height: 50px; padding: 7px 9px 7px 11px; border-radius: 13px; text-align: left; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px var(--line); overflow: hidden; animation: rise .4s var(--ease) both calc(var(--i) * 22ms); transition: transform .2s var(--spring); }
.gd-card::before { content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: var(--sc); opacity: .8; }
.gd-card b { font: 400 11.5px/1.2 var(--fs); color: var(--title); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gd-card:active { transform: scale(.96); }
.gd-pill { display: inline-flex; align-items: center; gap: 4px; height: 16px; padding: 0 7px; border-radius: 859px; font: 600 8.5px var(--fn); color: var(--sc); background: color-mix(in srgb, var(--sc) 12%, #100e0d); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sc) 35%, transparent); white-space: nowrap; }
.gd-pill i { width: 5px; height: 5px; border-radius: 50%; background: var(--sc); box-shadow: 0 0 6px var(--sc); }
.gd-foot { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.gd-foot .seg button { height: 30px; font: 400 11.5px var(--fb); }
.gd-foot .btn { min-width: 0; flex: 0 1 auto; height: 36px; padding: 0 13px; gap: 4px; font-size: 12.5px; }
.gd-foot .btn .ic { font-size: 10px; }
.gd-foot .btn[data-step="-1"] .ic, .gd-back .ic { transform: rotate(180deg); }
.gd-foot .btn:disabled { opacity: .35; pointer-events: none; }
.gd-pn { font: 500 10.5px var(--fn); color: var(--dim); }
.gd-top { display: flex; align-items: center; justify-content: space-between; }
.gd-back { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px 0 7px; border-radius: 859px; font: 400 11px var(--fb); color: var(--muted); background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px var(--line2); }
.gd-back .ic { font-size: 9.5px; }
.gd-title { font: 400 17px/1.15 var(--fs); color: var(--title); letter-spacing: .01em; }
.gd-now { position: relative; padding: 8px 11px 9px 13px; border-radius: 13px; font: 400 11px/1.5 var(--fb); color: #ddd5cd; background: linear-gradient(100deg, color-mix(in srgb, var(--sc) 11%, #151312), #151312 70%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--sc) 28%, transparent); }
.gd-now::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2.5px; border-radius: 2px; background: var(--sc); box-shadow: 0 0 8px var(--sc); }
.gd-now small { display: block; margin-bottom: 2px; font: 600 8.5px var(--fn); letter-spacing: .08em; text-transform: uppercase; color: var(--sc); }
.gd-pages { display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 1px 12px 2px; scroll-behavior: smooth; }
.gd-pages::-webkit-scrollbar { display: none; }
.gd-pages button { flex: none; height: 26px; padding: 0 10px; border-radius: 859px; font: 400 11px var(--fb); color: var(--muted); background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px var(--line); transition: color .25s, background .25s, box-shadow .25s; }
.gd-pages button.on { color: #f3d68e; background: #2c2622; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px var(--line3); }
.gd-md { display: flex; flex-direction: column; gap: 7px; font: 400 11.5px/1.55 var(--fb); color: #d4ccc4; }
.gd-md b { color: var(--title); font-weight: 600; }
.gd-md i { color: var(--muted); }
.gd-md a { color: var(--gold); text-decoration: underline; text-decoration-color: rgba(231, 194, 106, .35); text-underline-offset: 2px; cursor: pointer; }
.gd-md code { font: 500 10px var(--fn); padding: 0 4px; border-radius: 4px; background: #0f0e0d; color: var(--gold); }
.gd-sm { font-size: 10px; line-height: 1.5; color: var(--dim); }
.gd-sm i { color: inherit; }
.gd-h { font: 400 12.5px var(--fs); color: var(--gold); margin-top: 3px; }
.gd-list { display: flex; flex-direction: column; gap: 4px; padding-left: 15px; }
.gd-list li::marker { color: var(--gold3); }
ol.gd-list li::marker { font: 600 10px var(--fn); color: var(--gold2); }
.gd-code { margin: 0; padding: 8px 10px; border-radius: 11px; font: 500 9.5px/1.55 var(--fn); color: #d9c896; background: #0f0e0d; box-shadow: inset 0 0 0 1px var(--line); white-space: pre-wrap; word-break: break-word; }
.gd-call { padding: 7px 10px; border-radius: 11px; font-size: 10.5px; line-height: 1.5; background: #151312; box-shadow: inset 0 0 0 1px var(--line2); }
.gd-call.tip { box-shadow: inset 2px 0 0 #8fc7ef, inset 0 0 0 1px var(--line2); }
.gd-call.warn { box-shadow: inset 2px 0 0 var(--warn), inset 0 0 0 1px var(--line2); }
.gd-call.soon { box-shadow: inset 2px 0 0 var(--violet), inset 0 0 0 1px var(--line2); }
.gd-tw { overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 0 12px; }
.gd-tw::-webkit-scrollbar { display: none; }
.gd-tw table { min-width: 100%; border-collapse: separate; border-spacing: 0; font: 400 9.5px/1.35 var(--fb); color: #cfc7bf; border-radius: 11px; overflow: hidden; box-shadow: 0 0 0 1px var(--line2); }
.gd-tw th { padding: 5px 7px; font: 600 8.5px var(--fn); letter-spacing: .02em; color: var(--gold2); text-align: left; background: #1d1a18; white-space: nowrap; }
.gd-tw td { padding: 4.5px 7px; background: #141211; box-shadow: inset 0 1px 0 #1f1c1a; }
.gd-tw tr:nth-child(even) td { background: #171514; }
.gd-tw td:first-child { color: var(--title); white-space: nowrap; }
.gd-view > *, .gd-md > * { flex-shrink: 0; }
.gd-grid.c3 { grid-template-columns: repeat(3, 1fr); gap: 5px; }
.gd-grid.c3 .gd-card { min-height: 42px; justify-content: center; padding: 6px 8px 6px 10px; }
.gd-grid.c3 .gd-card b { font-size: 10.5px; }
@media (max-height: 700px) {
  .gd-sum { gap: 6px; padding: 6px 12px 8px; }
  .gd-sum-row b { font-size: 15px; }
  .gd-grid { gap: 5px; }
  .gd-card { min-height: 40px; gap: 3px; padding: 5px 9px 5px 11px; }
  .gd-grid.c3 .gd-card { min-height: 40px; }
}
@media (max-height: 700px) { .sheet-in.gd .sh-body { padding-bottom: 6px; } }
@media (max-height: 700px) { .gd-view { gap: 6px; } .gd-card { padding-top: 4px; padding-bottom: 4px; } }

/* ================= v0.5 · Ortaçağ ================= */
/* Ana ekran: beş toplama bölgesi (sonuncusu geniş) */
.belts { grid-template-rows: repeat(3, 1fr); }
.belt.wide { grid-column: 1 / -1; }
.svc-grid { grid-template-rows: repeat(4, 1fr); gap: 8px; }
.station-svg .flag { animation: flagWave 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: left center; }
@keyframes flagWave { 0%, 100% { transform: skewY(0) scaleX(1); } 50% { transform: skewY(-6deg) scaleX(.9); } }
.district-svg .d-sway { animation: sway 3.4s ease-in-out infinite; }
.district-svg .d-bubble { animation: bubble 1.8s ease-in infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sway { 0%, 100% { transform: rotate(-2.5deg); } 50% { transform: rotate(2.5deg); } }
@keyframes bubble { 0% { opacity: 0; transform: translateY(0) scale(.5); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-18px) scale(1.1); } }

/* Bölge düğümleri */
.nd-t { position: absolute; right: -3px; top: -3px; min-width: 15px; height: 15px; padding: 0 3px; display: grid; place-items: center; border-radius: 5px; font: 700 8px var(--fb); font-style: normal; color: #f3d68e; background: #100e0d; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #665738; }
.nd.nogo .nd-core { filter: grayscale(.8) brightness(.6); }
.nd.nogo small { color: #6f6660; }
#bvMod { cursor: pointer; }
.dust-row .tile { width: 40px; height: 40px; }
.dust-pcts { display: flex; gap: 4px; flex: none; }
.dust-pcts .lt-pct { min-width: 0; padding: 0 7px; font-size: 10.5px; }

/* Atölye */
.district-banner.sm { height: 58px; flex: none; }
.shp-xp { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(0, 0, 0, .5); }
.shp-xp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold2), var(--gold)); box-shadow: 0 0 8px var(--gold); transition: width .5s var(--ease); }
.sh-ladder { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.sh-ladder .tierb { position: relative; height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: 700 13px var(--fs); }
.sh-ladder .tierb small { font: 600 8px var(--fn); color: #8a807b; }
.tierb.lock { color: #6f6660; }
.tierb .can { position: absolute; right: 5px; top: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--good); box-shadow: 0 0 6px var(--good); }
.sh-queue { flex: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.qslot { position: relative; display: flex; align-items: center; gap: 6px; min-width: 0; height: 46px; padding: 5px 6px; border-radius: 12px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #24201d; animation: rise .35s var(--ease) both; }
.qslot.run { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #665738; background: linear-gradient(180deg, #211d18, #161311); }
.qslot .tile { width: 32px; height: 32px; font-size: 14px; border-radius: 7px; }
.qslot .tile b { font-size: 7.5px; min-width: 13px; height: 13px; top: -3px; right: -3px; }
.qs-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.qs-tx b { font: 500 10.5px/1.1 var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-tx small { font-size: 9.5px; color: #a0968f; }
.qs-bar { height: 3px; border-radius: 2px; background: #2a241c; overflow: hidden; }
.qs-bar i { display: block; height: 100%; width: 0; background: var(--gold); }
.qs-x { position: absolute; right: -4px; top: -4px; width: 18px; height: 18px; display: grid; place-items: center; font-size: 8px; border-radius: 50%; color: #cfc8c2; background: #100e0d; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #3d3935; }
.qslot.empty { justify-content: center; flex-direction: column; gap: 2px; color: #5d564f; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #1f1c19; background: repeating-linear-gradient(135deg, rgba(255, 236, 200, .015) 0 1px, transparent 1px 6px), #131110; }
.qslot.empty i { font-size: 12px; }
.qslot.empty small { font: 400 10px var(--fb); }
.sh-list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; gap: 6px; }
.sh-list::-webkit-scrollbar { display: none; }
.recipe.sel { width: 100%; text-align: left; color: inherit; flex: none; padding: 7px 9px 7px 7px; }
.recipe.sel .tile { width: 40px; height: 40px; }
.recipe.sel.active { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px var(--gold2); background: linear-gradient(180deg, #221e19, #171412); }
.recipe.locked { opacity: .5; }
.rc-mid b { font-size: 12.5px; }
.rc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.rc-side small { display: flex; align-items: center; gap: 3px; font: 600 9px var(--fn); color: #8a807b; }
.rc-side b { font-size: 12px; color: #f3d68e; }
.sh-empty { padding: 18px 10px; }
.rack { flex: none; display: flex; align-items: center; gap: 9px; padding: 7px 8px 7px 9px; }
.rk-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; font-size: 14px; color: #e7c26a; border-radius: 50%; background: #1a1715; box-shadow: inset 0 0 0 1px #3a3127; }
.rk-tx { flex: 1; min-width: 0; }
.rk-tx b { display: block; font: 700 12px var(--fs); letter-spacing: .06em; color: #f2ead8; }
.rk-tx small { display: block; font: 400 10.5px var(--fb); color: #8a807b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rack .btn { height: 32px; padding: 0 13px; font-size: 11px; }
.stepper.sm { grid-template-columns: 30px 46px 30px auto; padding: 4px; gap: 4px; border-radius: 12px; }
.stepper.sm button[data-n] { height: 30px; border-radius: 9px; font: 600 16px var(--fn); color: #e7c26a; background: #1a1817; box-shadow: inset 0 0 0 1px #2e2925; }
.stepper.sm .sp-q { height: 30px; padding: 0 8px; font-size: 11px; }
.stepper.sm input { height: 30px; font-size: 13px; }
.sh-foot #shGo { flex: 1; min-width: 0; font-size: 12px; }
.sh-foot #shGo:disabled { opacity: .5; filter: grayscale(.6); }

/* Envanter: kahraman silueti ve yuvalar */
.dhero { left: 25%; right: 25%; top: 5%; bottom: 3%; }
.hero-svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .7)); animation: bob 7s ease-in-out infinite; }
.dslot.on .ds-box { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--qc, #c9a24e) 70%, #3d3427); }
.ds-box .tb { position: absolute; top: -4px; right: -4px; min-width: 13px; height: 13px; padding: 0 2px; display: grid; place-items: center; border-radius: 4px; font: 700 7.5px var(--fb); font-style: normal; color: #f3d68e; background: #100e0d; box-shadow: inset 0 0 0 1px #665738; }
.ld-bar.over i { background: linear-gradient(90deg, #a04a30, var(--danger)); box-shadow: 0 0 8px rgba(226, 112, 95, .5); }

/* Eşya kartı */
.ic-hero { position: relative; align-self: center; width: 88px; height: 88px; flex: none; display: grid; place-items: center; font-size: 38px; color: var(--rc); border-radius: 22px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--qc) 18%, #221e1a), #141210 70%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px color-mix(in srgb, var(--qc) 60%, #3d3935), 0 0 30px -8px var(--qc); animation: ndIn .5s var(--spring) both; }
.ic-hero .ic { filter: drop-shadow(0 0 8px color-mix(in srgb, var(--rc) 60%, transparent)); }
.ich-ring { position: absolute; inset: -7px; border-radius: 27px; border: 1px dashed color-mix(in srgb, var(--qc) 45%, transparent); animation: spin 24s linear infinite; }
.ic-hero .tb { position: absolute; top: 6px; right: 6px; min-width: 18px; height: 18px; display: grid; place-items: center; border-radius: 6px; font: 700 10px var(--fb); font-style: normal; color: #f3d68e; background: #100e0d; box-shadow: inset 0 0 0 1px #665738; }
.ic-rows .kv b { font: 500 13px var(--fn); color: #f2ead8; margin-top: 4px; }
.ic-acts { display: flex; gap: 6px; min-width: 0; }
.sh-foot .ic-acts .btn, .sh-foot > .btn[data-a="back"] { min-width: 0; height: 38px; padding: 0 12px; font-size: 11.5px; }

@media (max-height: 700px) { .district-banner.sm { display: none; } .qslot { height: 40px; } }
.recipe.sel { padding: 5px 8px 5px 6px; gap: 9px; grid-template-columns: 36px minmax(0, 1fr) auto; }
.recipe.sel .tile { width: 36px; height: 36px; font-size: 16px; }
.recipe.sel .rc-in { margin-top: 3px; }
.sh-list { gap: 5px; }
@media (max-height: 700px) {
  .nd-auto { padding: 6px 10px; }
  .nd-auto small { display: none; }
  .sh-body:has(.nd-info) .loot .tile { width: 34px; height: 34px; font-size: 15px; }
}

/* ================= v0.6 · Başkent kartı ve gezilebilir bölgeler ================= */
.home { gap: 12px; }
/* Başkent: dikey kart, çifte altın çerçeve, arma ve sancak */
.st-card.city {
  --rad: 24px; --bd: #8a7144;
  flex: 1.32 1 0; height: auto; min-height: 0; margin: 4px 4px 0;
  box-shadow: 0 0 0 1.5px #0b0a0a, 0 0 0 4px #1b1713, 0 0 0 5px #6a5634, 0 0 0 6.5px #0b0a0a, 0 18px 36px -18px rgba(0, 0, 0, .95);
}
.st-card.city .st-scene::after { background: linear-gradient(180deg, rgba(21, 18, 14, 0) 46%, rgba(21, 18, 14, .72) 68%, #171514 88%); }
.st-card.city .st-body { padding: 0 16px 15px; }
.st-card.city .online { left: 14px; top: 14px; }
.cf { position: absolute; z-index: 3; inset: 6px; border-radius: 19px; border: 1px solid rgba(231, 194, 106, .26); pointer-events: none; }
.cf i { position: absolute; width: 7px; height: 7px; transform: rotate(45deg); background: linear-gradient(135deg, #dabe79, #866e45); box-shadow: 0 0 0 1px #0b0a0a, 0 0 6px rgba(231, 194, 106, .45); }
.cf .tl { left: 18px; top: -4.5px; } .cf .tr { right: 18px; top: -4.5px; }
.cf .bl { left: 18px; bottom: -4.5px; } .cf .br { right: 18px; bottom: -4.5px; }
.crest { position: absolute; z-index: 4; left: 50%; top: -1px; width: 40px; height: 47px; margin-left: -20px; display: grid; place-items: center; padding-bottom: 8px; font-size: 19px; color: var(--acc);
  background: linear-gradient(180deg, #d6bc76, #7a5c2c); clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%); }
.crest::before { content: ''; position: absolute; inset: 0 1.5px 2.5px; background: linear-gradient(180deg, #2e261c, #141110); clip-path: polygon(0 0, 100% 0, 100% 64%, 50% 100%, 0 64%); }
.crest .ic { position: relative; filter: drop-shadow(0 0 6px var(--acc)); }
.banner { position: absolute; z-index: 4; right: 26px; top: -1px; width: 25px; height: 52px; display: flex; justify-content: center; padding-top: 11px; font-size: 12px; color: #fff3d0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 85%, #fff), var(--acc2)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  box-shadow: inset 0 4px 0 #3a2a1a; transform-origin: top center; animation: banWave 3.4s ease-in-out infinite; }
@keyframes banWave { 0%, 100% { transform: skewX(0) scaleY(1); } 50% { transform: skewX(-5deg) scaleY(.96); } }

/* Üç kademe bölge kartı */
.belts.zones { flex: 1 1 0; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 9px; }
.belt.zone .belt-info { padding: 7px 9px 8.5px; }
.belt.zone .belt-cat { font: 600 8.5px var(--fu); color: var(--gold2); letter-spacing: .03em; }
.belt.zone .belt-name { font-size: 13px; }
.belt.zone .belt-meta { margin-top: 2px; }
.belt.zone .pill-ov { left: 6px; bottom: 6px; height: 21px; padding: 0 8px 0 7px; font-size: 9px; gap: 4px; }
.belt.zone .tier { color: #cfe3b0; }
.belt.zone[data-belt="z2"] .tier { color: #e7c26a; }
.belt.zone[data-belt="z3"] .tier { color: #ef9a7a; }
.belt.zone.mining { border-color: #8a7144; }

/* Bölge sayfası: kuşbakışı harita */
.sv-emb.zt { font: 700 14px var(--fs); color: var(--gold); box-shadow: inset 0 0 0 1px #6a5634, 0 0 12px -4px rgba(231, 194, 106, .5); }
.wv { --fill: #1a1d14; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; cursor: grab; }
.wv.drag { cursor: grabbing; }
.bv-map.wv::after { z-index: 4; background: radial-gradient(ellipse at 50% 50%, transparent 62%, rgba(10, 9, 8, .55)); }
.wv-world { position: absolute; left: 0; top: 0; will-change: transform; }
.wv-bg { position: absolute; inset: 0; }
.wv-canvas { display: block; width: 100%; height: 100%; }
.wv-nodes { position: absolute; inset: 0; }
.wv-fx { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.wv-center { position: absolute; z-index: 5; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: var(--gold);
  background: rgba(14, 12, 11, .88); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #5a4a2e; opacity: 0; transform: scale(.6); pointer-events: none; transition: opacity .25s, transform .35s var(--spring); }
.wv-center.on { opacity: 1; transform: none; pointer-events: auto; }

/* Karakter */
.wv-me { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.wv-me::before { content: ''; position: absolute; left: -13px; top: -2px; width: 26px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(231, 194, 106, .8); box-shadow: 0 0 8px rgba(231, 194, 106, .45); animation: meRing 2.2s ease-in-out infinite; }
.wv-hero { position: absolute; left: -16px; top: -36px; width: 32px; height: 42px; overflow: visible; }
.wv-me.flip .wv-hero { scale: -1 1; }
.wv-me.walk .wv-body { animation: heroBob .3s ease-in-out infinite alternate; }
.wv-leg { transform-box: fill-box; transform-origin: top center; }
.wv-me.walk .wv-leg.l { animation: legSw .3s ease-in-out infinite alternate; }
.wv-me.walk .wv-leg.r { animation: legSw .3s ease-in-out infinite alternate-reverse; }
.wv-me.work .wv-body { animation: heroWork .6s ease-in-out infinite; }
@keyframes meRing { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.14); opacity: .55; } }
@keyframes heroBob { from { transform: translateY(0); } to { transform: translateY(-1.8px); } }
@keyframes legSw { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
@keyframes toolSwing { 0%, 100% { transform: rotate(-40deg); } 45% { transform: rotate(28deg); } }
@keyframes heroWork { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(1.2px); } }

/* Harita düğümleri */
.wn { position: absolute; transform: translate(-50%, -62%); display: flex; flex-direction: column; align-items: center; gap: 3px; animation: wnIn .5s var(--spring) both; }
.wn-core { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--qc);
  background: radial-gradient(circle at 45% 35%, color-mix(in srgb, var(--qc) 26%, #1d1a17), #0e0c0b 78%);
  box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.8px color-mix(in srgb, var(--qc) 80%, transparent), 0 0 16px -3px var(--qc), 0 7px 10px -4px rgba(0, 0, 0, .85); transition: transform .2s var(--spring); }
.wn:active .wn-core { transform: scale(.88); }
.wn-core .ic { filter: drop-shadow(0 0 4px color-mix(in srgb, var(--qc) 70%, transparent)); }
.wn .nd-t { right: -5px; top: -5px; }
.wn-ring { position: absolute; z-index: 0; left: 50%; top: 18px; width: 50px; height: 50px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid color-mix(in srgb, var(--qc) 40%, transparent); opacity: .7; }
.wn.q2 .wn-ring { animation: ndPulse 2.6s ease-out infinite; }
.wn.q3 .wn-ring { border-color: var(--qc); animation: ndPulse 1.8s ease-out infinite; }
.wn.q3 .wn-core { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 2px var(--qc), 0 0 24px -2px var(--qc), 0 7px 10px -4px rgba(0, 0, 0, .85); }
.wn.active .wn-ring { border: 1.5px dashed #e7c26a; opacity: 1; animation: spin 6s linear infinite; }
.wn small { padding: 0 6px; border-radius: 999px; font: 500 9.5px var(--fn); line-height: 15px; color: #f2ead8; background: rgba(10, 9, 8, .82); box-shadow: inset 0 0 0 1px #2e2925; }
.wn.active small { color: #f3d68e; box-shadow: inset 0 0 0 1px #665738; }
.wn .nd-prog { width: 36px; }
.wn.nogo .wn-core { filter: grayscale(.85) brightness(.6); }
.wn.nogo small { color: #8a807b; }
.wn.empty { pointer-events: none; animation: none; transform: translate(-50%, -50%); }
.wn.empty i { display: block; width: 14px; height: 14px; border-radius: 50%; border: 1px dashed rgba(231, 194, 106, .35); background: rgba(10, 9, 8, .25); }
@keyframes wnIn { from { opacity: 0; transform: translate(-50%, -62%) scale(.4); } to { opacity: 1; transform: translate(-50%, -62%); } }

@media (max-height: 680px) {
  .home { gap: 9px; }
  .st-card.city .st-body { padding: 0 13px 11px; }
  .crest { width: 34px; height: 40px; font-size: 16px; margin-left: -17px; }
  .banner { height: 44px; width: 22px; padding-top: 9px; }
  .belt.zone .belt-info { padding: 6px 8px 7px; }
  .belt.zone .belt-name { font-size: 12px; }
}

/* Bölge üst şeridi: yalnız ad ve kişi sayısı */
.bv-top { flex: none; display: flex; align-items: center; gap: 9px; min-width: 0; }
.bv-top .icon-btn { width: 32px; height: 32px; font-size: 12.5px; }
.bv-name { flex: 1; min-width: 0; font: 700 16px/1 var(--fs); letter-spacing: .03em; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bv-pop { flex: none; height: 24px; }

/* Bölge beceri çubuğu */
.skb { flex: none; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 6px; border-radius: 15px; background: #151312; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #24201d; }
.sk-div { flex: none; width: 1px; height: 22px; margin: 0 2px; background: linear-gradient(180deg, transparent, #5a4a2e, transparent); }
.sk { --p: 0; --c: #e7c26a; position: relative; flex: 0 1 36px; aspect-ratio: 1; min-width: 0; display: grid; place-items: center; font-size: 15px; color: #cfc6ba; border-radius: 11px; overflow: hidden;
  background: radial-gradient(circle at 50% 30%, #262220, #12100f 80%); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #3a3229; transition: transform .2s var(--spring), color .2s, box-shadow .2s; }
.sk:active { transform: scale(.88); }
.sk > .ic { position: relative; z-index: 1; }
.sk-cd { position: absolute; inset: 0; background: conic-gradient(color-mix(in srgb, var(--c) 34%, transparent) calc(var(--p) * 1turn), transparent 0); }
.sk-n { position: absolute; z-index: 2; right: 2px; top: 1px; font: 700 7.5px/1 var(--fb); color: #f3d68e; text-shadow: 0 1px 2px #000; }
.sk[data-act="inv"] .sk-n { right: auto; left: 0; right: 0; top: auto; bottom: 2px; text-align: center; font: 600 7px/1 var(--fn); color: #e7dccf; }
.sk[data-act="inv"] .sk-cd { background: conic-gradient(rgba(231, 194, 106, .3) calc(var(--p) * 1turn), transparent 0); }
.sk.full { --c: #e5533f; color: #ff9a86; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1.5px #e5533f; animation: skWarn 1.2s ease-in-out infinite; }
.sk.full .sk-cd { background: conic-gradient(rgba(229, 83, 63, .35) calc(var(--p) * 1turn), transparent 0); }
.sk.hint { color: #f3d68e; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1.5px #e7c26a, 0 0 12px -3px #e7c26a; }
.sk.off { opacity: .35; pointer-events: none; }
.sk.none { color: #6f6660; }
.sk.on { color: #f3d68e; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1.5px #e7c26a, 0 0 14px -4px #e7c26a; }
.sk.on.walk { animation: skWarn 1s ease-in-out infinite; }
@keyframes skWarn { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.35); } }

/* Uzak Diyarlar düğmesi ve ekranı */
.st-card.city { flex-grow: 1.18; }
.far-btn { --rad: 16px; --bd: #6a3a2a; --fill: linear-gradient(90deg, #2a1814, #1a1513 60%, #171514);
  flex: none; height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 12px 0 7px; text-align: left;
  animation: cardIn .7s var(--ease) both .2s; transition: transform .25s var(--spring); }
.far-btn:active { transform: scale(.97); }
.far-btn::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 8% 50%, rgba(238, 106, 80, .22), transparent 45%); animation: farGlow 3s ease-in-out infinite; }
.far-ic { position: relative; z-index: 1; flex: none; width: 33px; height: 33px; display: grid; place-items: center; font-size: 15px; color: #ffb09c; border-radius: 50%;
  background: radial-gradient(circle at 45% 35%, #5a2a20, #1a0f0c 80%); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1.5px #b0503a, 0 0 14px -3px #e5533f; }
.far-tx { position: relative; z-index: 1; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.far-tx b { font: 700 14.5px/1 var(--fs); letter-spacing: .03em; color: #f0c8a8; }
.far-tx small { font: 500 9.5px var(--fu); color: #a0968f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.far-n { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: baseline; gap: 3px; font: 500 9px var(--fu); color: var(--muted); }
.far-n b { font-size: 13px; color: #f0c8a8; }
.far-ch { position: relative; z-index: 1; flex: none; font-size: 12px; color: #b0503a; }
@keyframes farGlow { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

.in-far .home { opacity: 0; transform: scale(1.06); filter: blur(8.5px); pointer-events: none; }
.far-view { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 9px; 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-far .far-view { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .45s .08s, transform .6s .08s var(--ease), visibility 0s; }
.in-far.in-belt .far-view { opacity: 0; transform: scale(1.06); filter: blur(10px); pointer-events: none; }
.far-warn { flex: none; height: 24px; color: #ffb09c; box-shadow: inset 0 0 0 1px #6a3a2a; }
.far-warn .ic { font-size: 10px; }
.far-note { flex: none; font: 400 11px/1.4 var(--fb); color: #a0968f; padding: 0 2px; }
.far-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 9px; }
.belt.zone.far { --bd: color-mix(in srgb, var(--sc) 40%, #29241d); }
.belt.zone.far .tier { color: var(--sc); }
.belt.zone.far .belt-cat { color: var(--sc); }
.sec-pill { position: absolute; z-index: 2; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px 0 6px; border-radius: 999px;
  font: 600 8.5px var(--fu); color: var(--sc); background: rgba(10, 8, 6, .82); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sc) 50%, transparent); }
.sec-pill .ic { font-size: 9px; }
@media (max-height: 680px) {
  .far-btn { height: 40px; }
  .far-ic { width: 29px; height: 29px; font-size: 13px; }
  .far-tx small { display: none; }
  .far-note { display: none; }
}

/* ================= Dinamik ada: süren iş satırı ve aşağı çekilen ayrıntı ================= */
.island { touch-action: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.island.drag { transition: width .45s var(--spring), border-radius .45s var(--spring), box-shadow .5s; }
.isl-compact { left: 50%; transform: translateX(-50%); }
.island.open .isl-compact { transform: translateX(-50%) scale(.9); }
.isl-act { --ac: var(--gold); position: absolute; left: 0; right: 0; top: 42px; height: 22px; display: flex; align-items: center; gap: 6px; padding: 0 14px 3px;
  border-top: 1px solid #262119; font: 500 11px var(--fb); color: #e6dfd7; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.island.act .isl-act { opacity: 1; }
.island.open .isl-act { opacity: 0; pointer-events: none; }
.ia-ic { flex: none; font-size: 11px; color: var(--ac); filter: drop-shadow(0 0 4px color-mix(in srgb, var(--ac) 60%, transparent)); }
.ia-tx { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; animation: swapIn .4s var(--ease); }
.ia-tx small { font: 700 8px var(--fu); letter-spacing: .08em; text-transform: uppercase; color: var(--ac); margin-right: 6px; }
.ia-val { flex: none; font: 600 10px var(--fn); color: #f2ead8; }
.ia-n { flex: none; font: 600 8px var(--fu); font-style: normal; color: var(--muted); }
.ia-bar { position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 1px; background: #2a2520; overflow: hidden; }
.ia-bar b { display: block; height: 100%; width: 0; background: var(--ac); box-shadow: 0 0 6px var(--ac); transition: width .2s linear; }
.isl-grab { position: absolute; left: 50%; bottom: 5px; width: 30px; height: 3.5px; margin-left: -15px; border-radius: 2px; background: #5a4a34; opacity: 0; transition: opacity .3s; }
.island.det .isl-grab { opacity: 1; }
.island.det { box-shadow: 0 0 0 1.5px #5a4a34, inset 0 1px 0 rgba(255, 240, 210, .06), 0 22px 44px -10px rgba(0, 0, 0, .95); }
.isl-det { position: absolute; left: 0; right: 0; top: var(--dt, 42px); padding: 8px 14px 18px; display: flex; flex-direction: column; gap: 5px; border-top: 1px solid #262119;
  opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .45s var(--spring); pointer-events: none; }
.island.det .isl-det, .island.peek .isl-det { opacity: 1; transform: none; pointer-events: auto; }
.id-h { display: flex; align-items: center; gap: 9px; }
.id-h > .ic { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 10px; color: var(--c); background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--c) 28%, #14110e), #0d0b09 80%); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c) 60%, transparent); }
.id-h b { display: block; font: 700 14.5px/1.1 var(--fs); letter-spacing: .03em; color: #f2ead8; }
.id-h small { display: block; font: 500 10px var(--fb); color: var(--c); margin-top: 2px; }
.id-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; margin-top: 3px; }
.id-kv span { padding: 5px 7px; border-radius: 9px; background: #12100f; box-shadow: inset 0 0 0 1px #262119; min-width: 0; }
.id-kv small { display: block; font: 500 8.5px var(--fu); color: var(--muted); }
.id-kv b { display: block; margin-top: 2px; font: 600 10.5px var(--fn); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id-t { margin-top: 4px; font: 700 8.5px var(--fu); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.isl-det .qbar { margin-top: 0; }
.isl-det .qleg { margin-top: 1px; font-size: 10px; gap: 8px; }
.id-row { display: flex; align-items: center; gap: 8px; height: 22px; }
.id-row.dim { opacity: .5; }
.id-ic { flex: none; width: 20px; height: 20px; display: grid; place-items: center; font-size: 11px; color: var(--c); border-radius: 6px; background: color-mix(in srgb, var(--c) 14%, #12100f); }
.id-n { flex: 1; min-width: 0; font: 500 11.5px var(--fb); color: #e6dfd7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id-n small { margin-left: 6px; font: 500 9px var(--fu); color: var(--muted); }
.id-row > b { flex: none; font: 600 11px var(--fn); color: #f3d68e; }
.id-xp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; margin-top: 5px; font: 500 10px var(--fu); color: #cfc6ba; }
.id-xp > span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.id-xp .ic { font-size: 11px; color: var(--acc); }
.id-xp i, .id-profs i { display: block; height: 4px; border-radius: 2px; background: #2a2520; overflow: hidden; }
.id-xp i b, .id-profs i b { display: block; height: 100%; background: linear-gradient(90deg, var(--gold2), var(--gold)); }
.id-xp small { font: 500 9px var(--fn); color: var(--muted); }
.id-profs { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 10px; }
.id-profs span { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 6px; }
.id-profs .ic { font-size: 11px; color: var(--gold2); grid-row: span 2; }
.id-profs small { font: 500 10px var(--fb); color: #cfc6ba; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id-profs span > b { font: 600 10px var(--fn); color: #f3d68e; }
.id-profs i { grid-column: 2 / 4; height: 3px; }
.id-tip { margin-top: 3px; font: 400 10.5px/1.35 var(--fb); color: var(--muted); }

/* ================= v0.7 · Dinamik alt dok ve sohbet ================= */
.dock {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 0 2px var(--safe-b); margin: 0; background: none; border-top: 0;
}
.dock::before { left: 18%; right: 18%; top: 50%; margin-top: calc(var(--safe-b) / -2); background: linear-gradient(90deg, transparent, rgba(230, 195, 108, .2), transparent); transition: opacity .35s; }
.nav-x .dock::before, .chat-open .dock::before { opacity: 0; }

/* sağ: gezinti halkası, dokununca sola doğru hap olur */
.nav { position: relative; height: 46px; display: flex; align-items: center; justify-content: flex-end; margin-left: auto; }
.nav::before {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 46px; border-radius: 23px;
  background: linear-gradient(180deg, #211e1c, #151312); box-shadow: 0 0 0 1px #3a3224, inset 0 1px 0 rgba(255, 240, 210, .05), 0 10px 22px -8px rgba(0, 0, 0, .9);
  transition: width .5s var(--spring), box-shadow .4s;
}
.nav.x::before { width: 100%; box-shadow: 0 0 0 1px #5a4b2e, inset 0 1px 0 rgba(255, 240, 210, .07), 0 12px 26px -8px rgba(0, 0, 0, .95), 0 0 22px -10px rgba(230, 195, 108, .45); }
.nav-items { position: relative; display: flex; gap: 2px; padding: 0 2px 0 6px; max-width: 0; overflow: hidden; transition: max-width .5s var(--spring); }
.nav.x .nav-items { max-width: 240px; }
.nv {
  width: 62px; height: 40px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--muted); font: 600 9px/1 var(--fu); white-space: nowrap;
  opacity: 0; transform: translateX(14px) scale(.8); transition: opacity .2s, transform .35s var(--spring), color .2s, background .2s;
}
.nv .ic { font-size: 16px; }
.nav.x .nv { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 60ms); }
.nv:active { color: var(--gold); background: rgba(230, 195, 108, .08); transform: scale(.92); }
.nav .menu-btn { width: 46px; height: 46px; margin: 0; flex: none; background: none; box-shadow: none; }
.nav .mb-ring { inset: 4px; box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 12px -4px rgba(230, 195, 108, .55); }
.nav .menu-btn.open .mb-ring { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 18px -3px rgba(230, 195, 108, .8); }
.nav .mb-lines { width: 15px; height: 11px; }
.nav .mb-lines i { height: 1.8px; }
.nav .mb-lines i:nth-child(2) { top: 4.6px; }
.nav .menu-btn.open .mb-lines i:nth-child(1) { top: 4.6px; }
.nav .menu-btn.open .mb-lines i:nth-child(3) { bottom: 4.6px; }

/* sol: sohbet butonu, yeni mesajda önizlemeyle uzar */
.cbtn {
  position: relative; height: 46px; width: 46px; border-radius: 23px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 0 0 13px;
  color: var(--gold); background: linear-gradient(180deg, #211e1c, #151312);
  box-shadow: 0 0 0 1px #3a3224, inset 0 1px 0 rgba(255, 240, 210, .05), 0 10px 22px -8px rgba(0, 0, 0, .9);
  transition: width .5s var(--spring), box-shadow .35s, opacity .3s, transform .3s var(--spring);
}
.cbtn:active { transform: scale(.93); }
.cb-ic { position: relative; width: 20px; height: 20px; flex: none; }
.cb-ic .ic { position: absolute; inset: 0; width: 20px; height: 20px; stroke-width: 1.7; transition: opacity .25s, transform .4s var(--spring); }
.cb-ic .b { opacity: 0; transform: rotate(-90deg) scale(.5); }
.cbtn.on { box-shadow: 0 0 0 1px #6d5e3b, inset 0 0 0 1px rgba(230, 195, 108, .18), 0 10px 22px -8px rgba(0, 0, 0, .9), 0 0 18px -6px rgba(230, 195, 108, .55); }
.cbtn.on .cb-ic .a { opacity: 0; transform: rotate(90deg) scale(.5); }
.cbtn.on .cb-ic .b { opacity: 1; transform: none; }
.cb-pv { min-width: 0; display: flex; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; font: 500 11.5px/1 var(--fb); color: var(--text); opacity: 0; transition: opacity .2s; }
.cb-pv i { display: grid; flex: none; font-size: 12px; }
.cb-pv b { font: 700 11px/1 var(--fs); color: var(--gold); letter-spacing: .02em; flex: none; }
.cb-pv span { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #cfc8c2; }
.cbtn.pv { width: min(240px, calc(100% - 64px)); }
.dock .cbtn.pv { width: min(250px, calc(100vw - 100px), 330px); }
.cbtn.pv .cb-pv { opacity: 1; transition-delay: .15s; }
.cbtn.pv::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px rgba(230, 195, 108, .5); animation: cbPulse 1.6s var(--ease) both; pointer-events: none; }
.cb-n {
  position: absolute; top: -3px; left: 30px; min-width: 17px; height: 17px; padding: 0 4.5px; border-radius: 9px; display: grid; place-items: center;
  font: 700 9.5px/1 var(--fn); color: #1b130a; background: linear-gradient(180deg, #dabe79, #a98c4d); box-shadow: 0 0 0 2px #13110e;
  transform: scale(0); transition: transform .35s var(--spring);
}
.cbtn.has-n .cb-n { transform: scale(1); }
.cbtn.has-n:not(.pv):not(.on) .cb-ic { animation: cbWig 2.8s ease-in-out infinite; }
.nav-x .cbtn { opacity: .35; transform: scale(.92); }
@keyframes cbPulse { from { box-shadow: 0 0 0 0 rgba(230, 195, 108, .7); } to { box-shadow: 0 0 0 10px rgba(230, 195, 108, 0); } }
@keyframes cbWig { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-12deg); } 94% { transform: rotate(10deg); } }

/* sohbet penceresi: sol alttaki butondan dairesel açılır */
.chat {
  position: absolute; z-index: 55; left: 10px; right: 10px;
  bottom: calc(var(--dock-h) + var(--safe-b) + 4px + var(--kb, 0px));
  height: min(54vh, 420px, calc(100% - var(--safe-t) - var(--hud-h) - var(--dock-h) - var(--safe-b) - var(--kb, 0px) - 26px));
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 236, 200, .018) 0 1px, transparent 1px 10px), linear-gradient(180deg, #211e1b, #161412 60%, #141211);
  box-shadow: 0 0 0 1px #3a3224, inset 0 1px 0 rgba(255, 240, 210, .06), 0 18px 40px -12px rgba(0, 0, 0, .95);
  clip-path: circle(0 at 23px calc(100% + 27px)); opacity: 0; pointer-events: none;
  transition: clip-path .55s var(--ease), opacity .25s, bottom .25s var(--ease), height .25s var(--ease);
}
.chat.on { clip-path: circle(150% at 23px calc(100% + 27px)); opacity: 1; pointer-events: auto; }
.ch-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px 8px; border-bottom: 1px solid #26221f; flex: none; }
.ch-tabs { display: flex; gap: 3px; padding: 2.5px; border-radius: 14px; background: #121110; box-shadow: inset 0 0 0 1px #26221f; }
.ch-tabs button { height: 23px; padding: 0 12px; border-radius: 12px; font: 700 10.5px/1 var(--fs); letter-spacing: .08em; color: var(--muted); transition: color .25s, background .25s, box-shadow .25s; }
.ch-tabs button.on { color: var(--gold); background: rgba(230, 195, 108, .1); box-shadow: inset 0 0 0 1px rgba(230, 195, 108, .4); }
.ch-tabs button[data-ch="fac"].on { color: var(--fc); background: color-mix(in srgb, var(--fc) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fc) 45%, transparent); }
.ch-sub { margin-left: auto; font: 500 10px/1 var(--fb); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 10px 4px; display: flex; flex-direction: column; gap: 6px; scrollbar-width: none; -webkit-mask: linear-gradient(180deg, transparent, #000 14px); mask: linear-gradient(180deg, transparent, #000 14px); }
.ch-list::-webkit-scrollbar { display: none; }
.cm { display: flex; gap: 7px; align-items: flex-start; max-width: 88%; }
.cm.cont { margin-top: -3px; }
.cm.new { animation: cmIn .45s var(--spring) both; }
.cm-e { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 13px; color: var(--mc); background: color-mix(in srgb, var(--mc) 10%, #151312); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--mc) 30%, transparent); }
.cm.cont .cm-e { background: none; box-shadow: none; height: 0; }
.cm-b { min-width: 0; padding: 6px 10px 7px; border-radius: 4px 13px 13px 13px; background: #1d1a18; box-shadow: inset 0 0 0 1px #2a2521; }
.cm.cont .cm-b { border-radius: 13px; }
.cm-h { display: flex; align-items: baseline; gap: 6px; margin-bottom: 2.5px; }
.cm-h b { font: 700 11px/1 var(--fs); color: var(--mc); letter-spacing: .02em; }
.cm-h small { font: 500 8.5px/1 var(--fn); color: var(--dim); }
.cm-b p { margin: 0; font: 400 12.5px/1.32 var(--fb); color: var(--text); overflow-wrap: anywhere; }
.cm.me { align-self: flex-end; flex-direction: row-reverse; }
.cm.me .cm-b { border-radius: 13px 4px 13px 13px; background: linear-gradient(180deg, #2b2418, #221d15); box-shadow: inset 0 0 0 1px rgba(230, 195, 108, .22); }
.cm.me.cont .cm-b { border-radius: 13px; }
.cm.me .cm-h { justify-content: flex-end; }
.cm.me .cm-h b { color: var(--gold); }
.ch-empty { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--dim); }
.ch-empty .ic { font-size: 26px; color: var(--gold3); stroke-width: 1.4; }
.ch-empty b { font: 700 12.5px/1 var(--fs); color: #cfc8c2; letter-spacing: .04em; }
.ch-empty span { font: 400 11.5px/1 var(--fb); }
.ch-err { align-self: center; margin: 2px 0; padding: 4px 10px; border-radius: 10px; font: 500 10px/1 var(--fb); color: #ffc2a8; background: rgba(238, 106, 80, .08); }
.ch-in { flex: none; display: flex; gap: 6px; padding: 7px 8px 8px; border-top: 1px solid #26221f; background: #131110; }
.ch-in input {
  flex: 1; min-width: 0; height: 34px; padding: 0 13px; border-radius: 17px; border: 0; outline: 0;
  font: 400 13px var(--fb); color: var(--text); background: #1c1917; box-shadow: inset 0 0 0 1px #2f2a25; transition: box-shadow .25s;
}
.ch-in input::placeholder { color: var(--dim); }
.ch-in input:focus { box-shadow: inset 0 0 0 1px rgba(230, 195, 108, .5); }
.ch-send { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #1b130a; background: linear-gradient(180deg, #dabe79, #a98c4d); box-shadow: 0 4px 12px -4px rgba(230, 195, 108, .55); transition: transform .3s var(--spring), opacity .2s; }
.ch-send .ic { font-size: 15px; stroke-width: 2; }
.ch-send:active { transform: scale(.88); }
.chat.sending .ch-send { opacity: .5; animation: chSend .7s ease-in-out infinite; }
@keyframes cmIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes chSend { 50% { transform: translateX(2px) rotate(-8deg); } }
@media (max-height: 680px) {
  .nav, .cbtn, .nav::before, .nav .menu-btn { height: 42px; }
  .cbtn { width: 42px; padding-left: 11px; }
  .nav::before, .nav .menu-btn { width: 42px; }
  .nv { height: 36px; }
}
@media (prefers-reduced-motion: reduce) { .chat { transition: opacity .2s; clip-path: none; } }
.ch-list > :first-child { margin-top: auto; }

/* ================= v0.7 · Başkent haritası ================= */
.station-view { gap: 10px; padding: 2px 0 10px; }
.station-view .sv-emb { width: 30px; height: 30px; font-size: 13px; flex: none; }
.city-map { --fill: #1c1a14; }
.cb { position: absolute; width: 140px; height: 130px; padding: 0; transform: translate(-50%, -90.8%); -webkit-tap-highlight-color: transparent; animation: cbIn .7s var(--spring) both; animation-delay: calc(var(--i) * 55ms + 120ms); }
.cb-art { display: block; width: 100%; height: 100%; overflow: visible; transform-origin: 50% 91%; transition: filter .35s; }
.cb.tapd .cb-art { animation: cbTap .45s var(--spring); }
.cb.flash .cb-art { animation: cbFlash .8s ease; }
.cb.busy .cb-art { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--nc) 40%, transparent)); }
.cb.locked .cb-art { filter: saturate(.55) brightness(.78); }
.cb-lbl { position: absolute; left: 50%; top: calc(90.8% + 6px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2.5px; white-space: nowrap; pointer-events: none; }
.cb-lbl b { padding: 3.5px 9px 3px; border-radius: 999px; font: 700 10.5px/1 var(--fs); letter-spacing: .04em; color: #f6ecd2; background: rgba(12, 10, 9, .86); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nc) 42%, #2e2925), 0 4px 10px -4px rgba(0, 0, 0, .8); }
.cb.grand { width: 240px; height: 190px; transform: translate(-50%, -92.6%); animation-name: cbInG; }
.cb.grand .cb-art { transform-origin: 50% 93%; }
.cb.grand .cb-lbl { top: calc(92.6% + 12px); }
.cb.grand .cb-lbl b { padding: 4.5px 12px 4px; font-size: 12px; color: var(--nc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nc) 60%, #2e2925), 0 0 14px -4px color-mix(in srgb, var(--nc) 60%, transparent), 0 4px 10px -4px rgba(0, 0, 0, .8); }
.cb.grand .pill-ov .ic { color: var(--nc); font-size: 9px; }
@keyframes cbInG { from { opacity: 0; transform: translate(-50%, -86%) scale(.92); } to { opacity: 1; transform: translate(-50%, -92.6%); } }
.cb-lbl .pill-ov { position: static; height: 16px; padding: 0 7px 0 6px; gap: 4px; font: 500 8.5px var(--fn); background: rgba(10, 9, 8, .74); backdrop-filter: none; -webkit-backdrop-filter: none; }
.cb-lbl .pill-ov:empty { display: none; }
.cb-lbl .pill-ov .dot { width: 5px; height: 5px; }
.cb .pbar { display: none; width: 44px; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(0, 0, 0, .55); }
.cb.busy .pbar { display: block; }
.cb .pbar i { display: block; height: 100%; width: 0; background: var(--nc); box-shadow: 0 0 6px var(--nc); }
/* yapı canlılığı */
.cb-smk circle { fill: rgba(196, 188, 176, .55); opacity: 0; transform-box: fill-box; transform-origin: center; animation: cbSmoke 3.6s linear infinite; }
.cb-smk circle:nth-child(2) { animation-delay: -1.2s; } .cb-smk circle:nth-child(3) { animation-delay: -2.4s; }
.cb-smk.hv circle { fill: rgba(80, 74, 70, .7); }
.cb-smk.st circle { fill: rgba(236, 232, 224, .6); }
.cb-smk.mg circle { fill: rgba(190, 150, 255, .5); }
.cb-smk.vat circle { fill: rgba(170, 190, 120, .4); }
.cb-smk { opacity: .45; }
.cb.busy .cb-smk { opacity: 1; }
.cb.busy .cb-smk circle { animation-duration: 2.2s; }
.cb-forge { animation: cbForge 1.4s ease-in-out infinite alternate; }
.cb.busy .cb-forge { animation-duration: .45s; }
.cb-spark circle { fill: #ffd08a; opacity: 0; }
.cb.busy .cb-spark circle { animation: cbSpark .8s ease-out infinite; }
.cb.busy .cb-spark circle:nth-child(2) { animation-delay: .27s; } .cb.busy .cb-spark circle:nth-child(3) { animation-delay: .53s; }
.cb-lit { animation: cbLit 4s ease-in-out infinite; }
.cb-arc { animation: cbArc 2.4s ease-in-out infinite; }
.cb.busy .cb-arc { animation-duration: .9s; }
.cb-sign { transform-box: fill-box; transform-origin: 50% 0; animation: cbSwing 3.4s ease-in-out infinite; }
.cb-flag { transform-box: fill-box; transform-origin: 0 50%; animation: cbFlag 2.2s ease-in-out infinite; }
.cb-glint, .cb-glow { transform-box: fill-box; transform-origin: center; animation: cbGlint 3s ease-in-out infinite; }
@keyframes cbIn { from { opacity: 0; transform: translate(-50%, -84%) scale(.9); } to { opacity: 1; transform: translate(-50%, -90.8%); } }
@keyframes cbTap { 0% { transform: none; } 35% { transform: scale(1.06, .95); } 70% { transform: scale(.98, 1.03); } 100% { transform: none; } }
@keyframes cbFlash { 0%, 100% { filter: none; } 30% { filter: brightness(1.45) drop-shadow(0 0 14px var(--nc)); } }
@keyframes cbSmoke { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate(7px, -34px) scale(1.7); } }
@keyframes cbForge { from { opacity: .55; } to { opacity: 1; } }
@keyframes cbSpark { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(6px, -14px); } }
@keyframes cbLit { 0%, 100% { opacity: 1; } 48% { opacity: .82; } 52% { opacity: .95; } }
@keyframes cbArc { 0%, 100% { opacity: .75; } 50% { opacity: 1; filter: drop-shadow(0 0 4px #b48cff); } }
@keyframes cbSwing { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes cbFlag { 0%, 100% { transform: skewY(0); } 50% { transform: skewY(-6deg) scaleX(.94); } }
@keyframes cbGlint { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .cb, .cb *, .cb-art { animation: none !important; } }

/* ================= v0.7 · Etki çubuğu (dok ortası) ================= */
.dock { position: relative; }
.buffs {
  --n: 0; position: absolute; left: 50%; top: calc(50% - var(--safe-b) / 2); z-index: 1;
  height: 34px; width: calc(var(--n) * 30px + 8px); max-width: calc(100% - 128px); padding: 0 4px; border-radius: 17px;
  display: flex; align-items: center; gap: 2px; overflow: hidden;
  background: linear-gradient(180deg, #1f1c1a, #141211); box-shadow: 0 0 0 1px #3a3224, inset 0 1px 0 rgba(255, 240, 210, .05), 0 8px 18px -8px rgba(0, 0, 0, .9);
  transform: translate(-50%, -50%); transition: width .5s var(--spring), opacity .3s, transform .4s var(--spring), box-shadow .4s;
}
.buffs.none { opacity: 0; transform: translate(-50%, -50%) scale(.6); pointer-events: none; }
.nav-x .buffs, .chat-open .buffs, .dock:has(.cbtn.pv) .buffs { opacity: 0; transform: translate(-50%, -50%) scale(.85); pointer-events: none; }
.buffs.grow { animation: bfGrow .9s var(--ease); }
.bf { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--c); animation: bfIn .55s var(--spring) both; }
.bf::before { content: ''; position: absolute; inset: 1px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 18%, #1d1a18), #121110 75%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.bf.timed::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p, 1) * 360deg), transparent 0); -webkit-mask: radial-gradient(circle, transparent 12px, #000 12.5px); mask: radial-gradient(circle, transparent 12px, #000 12.5px); opacity: .9; }
.bf.timed.low::after { animation: bfLow 1s ease-in-out infinite; }
.bf-ic { position: relative; z-index: 1; display: grid; font-size: 13px; filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c) 55%, transparent)); }
.bf.new .bf-ic { animation: bfPop 1.2s var(--ease); }
.bf.ping .bf-ic { animation: bfPop .6s var(--ease); }
.bf.out { animation: bfOut .35s var(--ease) forwards; }
.bf:active { transform: scale(.9); }
@keyframes bfIn { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes bfOut { to { opacity: 0; transform: scale(.3); width: 0; margin: 0 -1px; } }
@keyframes bfPop { 0% { filter: drop-shadow(0 0 0 transparent); } 30% { filter: drop-shadow(0 0 10px var(--c)) brightness(1.5); transform: scale(1.25); } 100% { transform: none; } }
@keyframes bfGrow { 0% { box-shadow: 0 0 0 1px #3a3224, 0 8px 18px -8px rgba(0, 0, 0, .9); } 30% { box-shadow: 0 0 0 1px rgba(230, 195, 108, .7), 0 0 18px -4px rgba(230, 195, 108, .6), 0 8px 18px -8px rgba(0, 0, 0, .9); } 100% { box-shadow: 0 0 0 1px #3a3224, 0 8px 18px -8px rgba(0, 0, 0, .9); } }
@keyframes bfLow { 50% { opacity: .35; } }
@media (max-height: 680px) { .buffs { height: 32px; } .bf { width: 26px; height: 26px; } .buffs { width: calc(var(--n) * 28px + 8px); } }

/* ================= v0.7 · Yolculuk (haritalar arası 5 sn) ================= */
.trip { position: absolute; inset: 0; z-index: 58; display: grid; place-items: center; pointer-events: none; }
.trip::before { content: ''; position: absolute; inset: -12px; background: rgba(8, 7, 6, .72); opacity: 0; transition: opacity .35s; }
.trip.on { pointer-events: auto; }
.trip.on::before { opacity: 1; }
.tp-card {
  --rad: 20px; --bd: #3a3224; --fill: #171514; position: relative; width: min(100%, 340px); padding: 16px 14px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  opacity: 0; transform: translateY(18px) scale(.94); transition: opacity .3s, transform .5s var(--spring);
}
.trip.on .tp-card { opacity: 1; transform: none; }
.tp-road { width: 100%; display: grid; grid-template-columns: 74px minmax(0, 1fr) 74px; align-items: center; gap: 2px; }
.tp-pt { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; text-align: center; }
.tp-pt i {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; color: var(--c);
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 16%, #1d1a18), #121110 75%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), 0 6px 14px -6px #000;
}
.tp-pt:last-child i { animation: tpDest 1.6s ease-in-out infinite; }
.tp-rom { font: 700 14px/1 var(--fs); letter-spacing: .04em; }
.tp-pt b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 11px/1.1 var(--fs); color: #f6ecd2; letter-spacing: .02em; }
.tp-pt small { font: 500 8.5px/1 var(--fn); color: var(--dim); white-space: nowrap; }
.tp-svg { width: 100%; height: auto; overflow: visible; margin-top: -14px; }
.tp-base { fill: none; stroke: #3a3224; stroke-width: 3; stroke-dasharray: 1 6; stroke-linecap: round; }
.tp-fill { fill: none; stroke: var(--tc, var(--gold)); stroke-width: 2.2; stroke-linecap: round; filter: drop-shadow(0 0 4px var(--tc, var(--gold))); }
.tp-sh { fill: rgba(0, 0, 0, .5); }
.tp-hero { animation: heroBob .3s ease-in-out infinite alternate; }
.tp-foot { display: flex; align-items: baseline; gap: 4px; width: 100%; padding-top: 2px; }
.tp-foot > b { font: 700 24px/1 var(--fn); color: var(--gold); min-width: 18px; }
.tp-foot > small { font: 500 10px var(--fn); color: var(--muted); }
.tp-x { margin-left: auto; height: 30px; padding: 0 14px; font-size: 10.5px; align-self: center; }
.in-trip .home, .in-trip .far-view { filter: blur(3px); }
@keyframes tpDest { 50% { box-shadow: inset 0 0 0 1px var(--c), 0 0 16px -2px var(--c), 0 6px 14px -6px #000; } }

/* ================= v0.7 · Düğüm çizimleri haritada (css/nodes.css ile) ================= */
/* Çizimin yer noktası (kutunun %78'i) yuvaya oturur; altında kademe rozeti ve tur hapı */
.wn { width: 66px; transform: translate(-50%, -51.5px); gap: 0; -webkit-tap-highlight-color: transparent; }
.wn > .nd { position: relative; inset: auto; display: block; width: 66px; height: 66px; overflow: visible; transition: transform .3s var(--spring), filter .3s; transform-origin: 50% 78%; }
.wn:active > .nd { transform: scale(.92); }
.wn-tag { position: relative; z-index: 1; margin-top: -10px; display: flex; align-items: center; gap: 3px; }
.wn-tag .nd-t { position: static; min-width: 14px; height: 15px; font-size: 7.5px; border-radius: 4px; }
.wn.low small { color: #ffc2a8; box-shadow: inset 0 0 0 1px rgba(255, 194, 168, .35); }
.wn.nogo > .nd { filter: grayscale(.85) brightness(.62); }
.wn .nd-prog { width: 34px; margin-top: 2px; }
@keyframes wnIn { from { opacity: 0; transform: translate(-50%, -46px) scale(.85); } to { opacity: 1; transform: translate(-50%, -51.5px); } }

/* ---------- Etki bilgisi: çubuğun hemen üstünde ---------- */
.bf-tip {
  position: absolute; z-index: 3; bottom: calc(50% + var(--safe-b) / -2 + 23px); left: 0; width: max-content; max-width: min(260px, calc(100% - 8px));
  display: flex; align-items: center; gap: 8px; padding: 7px 11px 7px 7px; border-radius: 14px;
  background: linear-gradient(180deg, #24201d, #171514); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 45%, #3a3224), 0 12px 24px -10px rgba(0, 0, 0, .95);
  opacity: 0; transform: translateY(8px) scale(.9); transform-origin: var(--ar, 50%) 100%; pointer-events: none;
  transition: opacity .2s, transform .35s var(--spring);
}
.bf-tip.on { opacity: 1; transform: none; pointer-events: auto; }
.bf-tip::after { content: ''; position: absolute; left: var(--ar, 50%); bottom: -5px; width: 9px; height: 9px; margin-left: -4.5px; transform: rotate(45deg); background: #171514; box-shadow: 1px 1px 0 0 color-mix(in srgb, var(--c) 45%, #3a3224); }
.bt-ic { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--c); background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--c) 18%, #1d1a18), #121110 75%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); }
.bt-tx { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bt-tx b { font: 700 11.5px/1 var(--fs); color: #f6ecd2; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bt-tx small { font: 500 10px/1.15 var(--fb); color: #cfc8c2; }
.bf-tip em { margin-left: 4px; font: 600 9.5px/1 var(--fn); font-style: normal; color: var(--c); white-space: nowrap; }
.bf.sel::before { box-shadow: inset 0 0 0 1.5px var(--c), 0 0 10px -2px var(--c); }
.nav-x .bf-tip, .chat-open .bf-tip { opacity: 0; pointer-events: none; }

/* ---------- Gezinti: Ana Ekran ve Envanter solda, Menü halkanın üstünde ---------- */
.nav.x .nav-items { max-width: 160px; }
/* Halkadan yukarı uzayan dikey hap: üstte Görevler, halkanın hemen üstünde Menü (altın madalyon, öbürlerinden görkemli).
   Hap halkanın arkasından başlar; arada boşluk kalmaz. */
.nav-up { position: absolute; right: 0; bottom: 0; z-index: 0; width: 46px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 50px; border-radius: 23px;
  background: linear-gradient(180deg, #2a2520, #151312 70%); box-shadow: 0 0 0 1px #5a4b2e, inset 0 1px 0 rgba(255, 240, 210, .07), 0 12px 26px -8px rgba(0, 0, 0, .95), 0 0 22px -10px rgba(230, 195, 108, .45);
  opacity: 0; transform: scaleY(.25); transform-origin: 50% 100%; pointer-events: none; transition: opacity .2s, transform .45s var(--spring); }
.nav.x .nav-up { opacity: 1; transform: none; pointer-events: auto; }
.nav .menu-btn { position: relative; z-index: 2; }
.nav-up .nv { width: 44px; height: 46px; border-radius: 16px; }
.nv-menu { height: 58px !important; gap: 4px; color: var(--gold); }
.nv-menu > span:last-child { font-weight: 800; letter-spacing: .03em; color: #f3d68e; text-shadow: 0 0 8px rgba(231, 194, 106, .45); }
.nvm-ic { position: relative; width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 15px; color: #1a1410;
  background: radial-gradient(circle at 38% 28%, #fff3cc 0 10%, #f0d07c 34%, #c9a24e 72%, #8a6a2c);
  box-shadow: 0 0 0 1.5px #0b0a0a, 0 0 0 3px #c9a24e, 0 0 0 4.2px #0b0a0a, 0 0 16px rgba(231, 194, 106, .6); animation: nvmGlow 2.8s ease-in-out infinite; }
.nvm-ic::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(231, 194, 106, .45); animation: spin 14s linear infinite; }
.nvm-ic .ic { filter: drop-shadow(0 1px 0 rgba(255, 245, 215, .6)); }
.nav.x .nv-menu:active { transform: scale(.92); }
@keyframes nvmGlow { 50% { box-shadow: 0 0 0 1.5px #0b0a0a, 0 0 0 3px #e7c26a, 0 0 0 4.2px #0b0a0a, 0 0 24px rgba(243, 214, 142, .85); } }
@media (max-height: 680px) { .nav-up .nv { height: 40px; } .nv-menu { height: 52px !important; } .nvm-ic { width: 30px; height: 30px; } .nav-up { padding-bottom: 46px; } }
.wn:not(.active) .nd-prog { display: none; }

/* ================= v0.8 · IDLE SKY eşya çerçevesi (css/itemFrame.css) ================= */
/* Çerçeveli yuvalarda eski kutu süsleri kapanır; boyutu yuvanın kendi kuralı verir */
.ifr.tile, .ifr.ic-cell, .ifr.ds-box { background: none; box-shadow: none; color: inherit; padding: 0; }
.ifr.tile { border-radius: 8px; }
.ifr.ic-cell { aspect-ratio: 1; width: 100%; height: auto; border-radius: 6px; }
.ifr.ic-cell.full { transition: transform .2s var(--spring), filter .2s; }
.ifr.ic-cell.full:active { transform: scale(.92); }
.ifr.ic-cell.full:hover { filter: brightness(1.13); }
.dslot.on .ifr.ds-box { box-shadow: none; }
.ic-hero .ich-fr { position: absolute; inset: 8px; width: auto; height: auto; border-radius: 14px; }
.ic-hero { overflow: visible; }
.chip-in .ci-fr { width: 15px; height: 15px; border-radius: 3px; }
.chip-in .ci-fr > .ifr-tm, .chip-in .ci-fr > .ifr-fr { display: none; }
.ifr > .ifr-ico > svg.ic { width: 62%; height: 62%; color: var(--rc); }

/* IDLE SKY pencere ölçüsü: pencere tam boy dizilir, ekranda %80 ölçekte çizilir (çevresinde harita görünür) */
.sheet { scale: .8; transform-origin: 50% 50%; }
/* %80 ölçekte de adanın altından dokun üstüne kadar uzansın: kutu, ölçeğin yediği payı (her yandan %12,5) üst ve alta taşar,
   böylece pencere ada ile alt dok arasında tam ortalanır */
.sheet {
  --T: calc(var(--safe-t) + var(--hud-h) + 4px);
  --B: calc(var(--dock-h) + var(--safe-b) + 4px);
  top: calc(var(--T) - (100% - var(--T) - var(--B)) * .125);
  bottom: calc(var(--B) - (100% - var(--T) - var(--B)) * .125);
}

/* ================= v0.8 · Toplama paneli (IDLE SKY toplama-paneli) ================= */
.island.det.gdet { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--gc) 60%, #413826), inset 0 1px 0 rgba(255, 240, 210, .06), 0 12px 28px -8px rgba(0, 0, 0, .9); }
.gp-head { display: flex; align-items: center; gap: 10px; padding: 2px 2px 8px; border-bottom: 1px solid rgba(231, 194, 106, .1); margin-bottom: 2px; }
.gp-node { width: 34px; height: 34px; flex: none; display: grid; place-items: center; }
.gp-node .nd { width: 40px; height: 40px; overflow: visible; }
.gp-n { display: flex; align-items: baseline; gap: 3px; white-space: nowrap; }
.gp-n b { font: 700 13px/1 var(--fn); color: var(--cream); }
.gp-n small { font: 500 10px/1 var(--fb); color: var(--muted); }
.gp-n:last-child { margin-left: auto; }
.gp-g { display: flex; align-items: center; gap: 6px; margin: 7px 0 3px; }
.gp-g > i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--c); box-shadow: 0 0 5px color-mix(in srgb, var(--c) 60%, transparent); flex: none; }
.gp-g > span { font: 700 9.5px/1 var(--fs); letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.gp-g > b { flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 35%, transparent), transparent); }
.gp-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 3px 0; }
.gp-row .gp-ic { width: 28px; height: 28px; border-radius: 5px; }
.gp-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gp-tx b { font: 600 11.5px/1.1 var(--fb); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-tx small { font: 400 9px/1 var(--fb); color: var(--dim); }
.gp-tx small em { font-style: normal; color: #ee6a50; }
.gp-bar { display: block; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .05); overflow: hidden; margin-top: 1px; }
.gp-bar > i { display: block; height: 100%; background: var(--c); }
.gp-qbar { display: flex; height: 3px; border-radius: 2px; overflow: hidden; margin-top: 2px; gap: 1px; }
.gp-qbar > i { display: block; height: 100%; min-width: 1px; }
.gp-chips { display: flex; flex-wrap: wrap; gap: 2px 7px; margin-top: 2px; font: 600 8.5px/1 var(--fn); }
.gp-chips span { display: inline-flex; align-items: center; gap: 2px; }
.gp-chips .qd { width: 5px; height: 5px; }
.gp-pc { min-width: 40px; padding: 4px 7px; border-radius: 9px; text-align: center; font: 700 9.5px/1 var(--fn); color: var(--c); background: #121010; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, #2e2925); }
.gp-row.lock .gp-ic, .gp-row.lock .gp-pc { opacity: .55; filter: grayscale(.6); }

/* ================= v0.8 · Atölye penceresi (IDLE SKY Demirci / Aşhane penceresi) ================= */
.ws-hd { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ws-hd img { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 2px 3px #000); }
.ws-hd b { display: block; font: 700 19px/1.1 var(--fs); color: var(--gold); }
.ws-hd small { display: flex; align-items: center; gap: 5px; font: 500 11px/1.2 var(--fb); color: var(--muted); }
.ws-dot { width: 6px; height: 6px; border-radius: 50%; background: #5fd36f; box-shadow: 0 0 6px #5fd36f; }
.ws-win .sh-body { display: flex; flex-direction: column; gap: 9px; }
.ws-bench-on .sh-head { display: none; }
.ws-xp { display: block; height: 4px; border-radius: 3px; background: #2a241c; overflow: hidden; }
.ws-xp > i { display: block; height: 100%; background: linear-gradient(90deg, #a98c4d, #dabe79); border-radius: inherit; transition: width .5s var(--ease); }
.ws-can { position: absolute; right: -2px; top: -2px; width: 10px; height: 10px; transform: rotate(45deg); background: #6fcf62; box-shadow: 0 0 0 1.5px #0b0a0a, 0 0 6px #6fcf62; }
.ws-rc-n { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px var(--fn); color: #8f857e; }
.ws-rc-n > i { width: 7px; height: 7px; border-radius: 50%; background: #6f6660; }
.ws-rc-n.ok { color: #cfe8c8; } .ws-rc-n.ok > i { background: #5fd36f; box-shadow: 0 0 6px #5fd36f; }
/* tezgâh */
.ws-btop { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ws-back, .ws-x { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #e6dfd7; background: #141211; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #4a4030; }
.ws-kick { text-align: center; font: 700 11px/1 var(--fs); letter-spacing: .22em; color: var(--gold2); margin-top: -4px; }
.ws-title { margin: 0; text-align: center; font: 700 27px/1.05 var(--fb); color: var(--gold); text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.ws-sub { text-align: center; font: 400 12px/1.2 var(--fb); color: var(--muted); }
/* üretim ekranı */
.ws-fk { font: 700 12px/1 var(--fs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ws-fn { margin-left: auto; font: 600 12px var(--fn); color: var(--muted); }
.fg-stage { position: relative; height: 250px; display: grid; place-items: center; margin-top: 4px; background: radial-gradient(60% 50% at 50% 70%, rgba(231, 150, 70, .12), transparent); }
.fg-tool { position: absolute; left: 50%; bottom: 0; width: 230px; height: auto; transform: translateX(-50%); overflow: visible; }
.fg-item { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); }
.fg-item .fg-ic { width: 110px; height: 110px; }
.fg-anvil .fg-item { top: 8px; }
.fg-ham { transform-box: view-box; transform-origin: 160px 70px; animation: fgHam .9s cubic-bezier(.5, 0, .7, 1) infinite; }
.fg-spk circle { fill: #ffd08a; opacity: 0; animation: fgSpk .9s ease-out infinite; }
.fg-spk circle:nth-child(2) { animation-delay: .05s; } .fg-spk circle:nth-child(3) { animation-delay: .1s; }
.fg-steam circle { fill: rgba(236, 232, 224, .25); animation: cbSmoke 2.4s linear infinite; transform-box: fill-box; transform-origin: center; }
.fg-steam circle:nth-child(2) { animation-delay: -.8s; } .fg-steam circle:nth-child(3) { animation-delay: -1.6s; }
.fg-fire { transform-box: fill-box; transform-origin: 50% 100%; animation: cbFlick 1s ease-in-out infinite; }
.fg-dots { display: flex; justify-content: center; gap: 7px; }
.fg-dots i { width: 7px; height: 7px; transform: rotate(45deg); background: #2f2a25; transition: background .2s, box-shadow .2s; }
.fg-dots i.on { background: var(--gold); box-shadow: 0 0 6px rgba(231, 194, 106, .7); }
.fg-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.fg-foot small { font: 400 11px var(--fb); color: var(--dim); }
.fg-empty { margin: 40px 0; text-align: center; display: grid; gap: 6px; } .fg-empty b { font: 700 16px var(--fs); color: var(--gold); } .fg-empty small { color: var(--muted); }
.fg-reveal { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; opacity: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(20, 17, 15, .96), rgba(20, 17, 15, .85)); border-radius: 16px; }
.fg-reveal.on { animation: fgRv 1.7s var(--ease) both; }
.fg-reveal .fg-rv-ic { width: 96px; height: 96px; }
.fg-reveal b { font: 700 17px/1.1 var(--fb); text-align: center; }
.fg-reveal small { font: 400 12px var(--fb); color: var(--muted); }
@keyframes fgHam { 0%, 100% { transform: rotate(-26deg); } 55% { transform: rotate(-26deg); } 80% { transform: rotate(6deg); } }
@keyframes fgSpk { 0%, 78% { opacity: 0; transform: translate(0, 0); } 82% { opacity: 1; } 100% { opacity: 0; transform: translate(4px, -14px); } }
@keyframes cbFlick { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(.94, 1.1); } }
@keyframes fgRv { 0% { opacity: 0; transform: scale(.9); } 15%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ================= v0.8 · Ticaret Evi (kullanıcının Ticaret Evi tasarımı) ================= */
.te-win .sh-body { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.te-hd { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.te-hd img { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 2px 3px #000); }
.te-hd > span { min-width: 0; display: grid; gap: 3px; }
.te-hd b { font: 700 21px/1.05 var(--fs); color: #f2ead8; letter-spacing: .01em; }
.te-hd small { font: 400 11px/1.2 var(--fb); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.te-hd em { font-style: normal; } .te-hd em.ok { color: #8fe07f; } .te-hd em.no { color: #ffb0a0; }
.te-back { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #e6dfd7; background: #141211; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #6d5e3b; }
.te-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 12px; background: #121110; box-shadow: inset 0 0 0 1px #2e2925; color: var(--dim); }
.te-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 14px var(--fb); color: var(--text); }
.te-table { flex: 1; min-height: 0; display: flex; flex-direction: column; border-radius: 14px; background: #121110; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #2a2521; overflow: hidden; }
.te-th { display: grid; grid-template-columns: minmax(0, 1fr) 70px 64px; gap: 6px; padding: 9px 12px 8px 28px; font: 500 11.5px var(--fb); color: var(--muted); border-bottom: 1px solid #26221f; }
.te-th > span:not(:first-child) { text-align: right; }
.te-th.o { grid-template-columns: minmax(0, 1fr) 54px 58px; }
.te-th.h { grid-template-columns: 58px 64px minmax(0, 1fr) 60px; padding-left: 12px; }
.te-list { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 4px; }
.te-row { width: 100%; display: grid; grid-template-columns: 38px minmax(0, 1fr) 62px 56px; align-items: center; gap: 8px; padding: 5px 8px 5px 6px; border-radius: 10px; text-align: left; }
.te-row:active, .te-row:hover { background: #1d1a18; box-shadow: inset 0 0 0 1px #3a332b; }
.te-row .te-ic { width: 38px; height: 38px; }
.te-nm { min-width: 0; display: grid; gap: 2px; }
.te-nm b { font: 700 13.5px/1.15 var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.te-nm small { font: 400 11.5px/1.15 var(--fb); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.te-nm small i { font-style: normal; }
.te-px { display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; font: 600 12.5px var(--fn); }
.te-px.sell b { color: #ffc2a8; } .te-px.buy b { color: #c4ecb8; } .te-px.none { color: #5a524c; justify-content: flex-end; }
.te-px .coin { width: 11px; height: 11px; }
.te-note { padding: 20px; text-align: center; }
/* ayrıntı */
.te-card { display: grid; gap: 8px; padding: 10px; border-radius: 14px; background: #171513; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #2a2521; }
.te-ihd { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; }
.te-ihd .te-big { width: 64px; height: 64px; }
.te-ihd > span { min-width: 0; display: grid; gap: 2px; }
.te-ihd b { font: 700 18px/1.1 var(--fb); color: #f2ead8; }
.te-ihd small { font: 400 12px var(--fb); color: var(--muted); } .te-ihd small i { font-style: normal; }
.te-ihd p { margin: 2px 0 0; font: 400 11px/1.3 var(--fb); color: #cfc8c2; }
.te-qt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.te-qt button { display: grid; justify-items: center; gap: 2px; padding: 5px 2px; border-radius: 9px; background: #121110; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, #2a2521); }
.te-qt button b { font: 700 10.5px/1 var(--fn); color: var(--c); }
.te-qt button span { display: inline-flex; align-items: center; gap: 2px; font: 600 10.5px var(--fn); color: #e6dfd7; } .te-qt .coin { width: 9px; height: 9px; }
.te-qt button small { font: 500 9px var(--fn); color: var(--muted); }
.te-qt button.on { background: color-mix(in srgb, var(--c) 12%, #1d1a18); box-shadow: inset 0 0 0 1.5px var(--c); }
.te-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.te-kv > span { display: grid; gap: 3px; padding: 7px 9px; border-radius: 9px; background: #121110; box-shadow: inset 0 0 0 1px #26221f; }
.te-kv small { font: 400 11px var(--fb); color: var(--muted); }
.te-kv b { display: inline-flex; align-items: center; gap: 4px; font: 700 13px var(--fn); color: #f3d68e; } .te-kv .coin { width: 10px; height: 10px; }
.te-bh { display: flex; justify-content: space-between; align-items: baseline; }
.te-bh b { font: 700 10.5px/1 var(--fs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.te-bh small { font: 400 10.5px var(--fb); color: var(--dim); }
.te-book { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.te-bt { display: flex; justify-content: space-between; align-items: center; padding: 5px 8px; border-radius: 7px; font: 600 11px var(--fb); }
.te-bt small { font: 500 10px var(--fn); opacity: .85; }
.te-bt.sell { color: #ffc2a8; background: rgba(238, 106, 80, .14); } .te-bt.buy { color: #c4ecb8; background: rgba(111, 207, 98, .12); }
.te-bk { width: 100%; display: flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 6px; font: 600 11px var(--fn); color: #e6dfd7; }
.te-bk:active { background: #1d1a18; }
.te-bk .coin { width: 9px; height: 9px; } .te-bk span { color: var(--muted); font-weight: 500; }
.te-bk em { margin-left: auto; font: 500 9.5px var(--fb); font-style: normal; color: var(--dim); }
.te-bk em.me { padding: 1px 6px; border-radius: 6px; color: #1a1410; background: #e7c26a; font-weight: 700; }
.te-form { display: grid; gap: 8px; padding: 9px; border-radius: 14px; background: #171513; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #2a2521; }
.te-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; border-radius: 12px; background: #100f0e; box-shadow: inset 0 0 0 1px #26221f; }
.te-modes button { height: 30px; border-radius: 9px; font: 600 11px var(--fb); color: #cfc8c2; display: grid; place-items: center; }
.te-modes button.on.buy { color: #f2ffe8; background: linear-gradient(180deg, #4f8a3e, #2f5c27); box-shadow: inset 0 0 0 1px #6fcf62; }
.te-modes button.on.sell { color: #fff1ea; background: linear-gradient(180deg, #a5553a, #6e321f); box-shadow: inset 0 0 0 1px #ee8a6a; }
.te-ins { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.te-in { display: grid; gap: 4px; } .te-in small { font: 400 11px var(--fb); color: var(--muted); }
.te-stp { display: flex; align-items: center; gap: 3px; height: 32px; padding: 2px; border-radius: 9px; background: #100f0e; box-shadow: inset 0 0 0 1px #2e2925; }
.te-stp button { width: 26px; height: 26px; border-radius: 7px; font: 700 14px var(--fn); color: #e6dfd7; background: #1d1a18; display: grid; place-items: center; }
.te-stp input { flex: 1; min-width: 0; width: 30px; border: 0; outline: 0; background: none; text-align: center; font: 700 14px var(--fn); color: var(--cream); }
.te-stp .te-mx { width: auto; padding: 0 7px; font: 700 10.5px var(--fb); color: var(--gold); }
.te-hints { display: flex; flex-wrap: wrap; gap: 4px; }
.te-hints button { padding: 3px 7px; border-radius: 7px; font: 400 10.5px var(--fb); color: #cfc8c2; background: #121110; box-shadow: inset 0 0 0 1px #2e2925; }
.te-hints b { color: #f2ead8; }
.te-sum { display: grid; gap: 4px; padding: 8px 10px; border-radius: 10px; background: #121110; box-shadow: inset 0 0 0 1px #26221f; }
.te-sum > div { display: flex; justify-content: space-between; align-items: center; font: 400 11.5px var(--fb); color: var(--muted); }
.te-sum b { display: inline-flex; align-items: center; gap: 4px; font: 600 12px var(--fn); color: #e6dfd7; } .te-sum b em { font-style: normal; color: var(--dim); font-size: 10px; }
.te-sum .tot { padding-top: 4px; border-top: 1px solid #26221f; color: #f2ead8; font: 700 13px var(--fb); } .te-sum .tot b { font-size: 14px; color: #f3d68e; }
.te-sum .coin { width: 10px; height: 10px; }
.te-go { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.te-go small { display: inline-flex; align-items: center; gap: 4px; font: 400 11px var(--fb); color: var(--muted); } .te-go .coin { width: 10px; height: 10px; }
.te-act { min-width: 130px; height: 42px; padding: 0 18px; border-radius: 14px; font: 700 16px var(--fb); display: grid; place-items: center; }
.te-act.buy { color: #10240c; background: linear-gradient(180deg, #a6e48f, #6fcf62 55%, #4f9d43); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 255, 255, .4); }
.te-act.sell { color: #2a0f06; background: linear-gradient(180deg, #ffb89a, #ee8a6a 55%, #c4603f); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 255, 255, .4); }
.te-act:disabled { filter: grayscale(.7) brightness(.65); }
/* emirler, teslimat, geçmiş */
.te-row.o { grid-template-columns: 38px minmax(0, 1fr) 50px 54px 22px; }
.te-row.d { grid-template-columns: 38px minmax(0, 1fr); }
.te-row.h { grid-template-columns: 58px 64px minmax(0, 1fr) 60px; padding: 7px 8px; }
.te-row.h small { font: 400 11px var(--fb); color: var(--muted); } .te-row.h b { font: 600 12px var(--fb); color: #f2ead8; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.te-row.h > span { text-align: right; font: 600 11px var(--fn); color: #e6dfd7; }
.te-side { justify-self: start; padding: 3px 8px; border-radius: 8px; font: 700 10.5px var(--fb); font-style: normal; }
.te-side.sell { color: #ffc2a8; background: rgba(238, 106, 80, .18); } .te-side.buy { color: #c4ecb8; background: rgba(111, 207, 98, .16); }
.te-x { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; color: #ffc2a8; background: #2a1a16; }
.te-coin { display: grid; place-items: center; border-radius: 8px; background: #1d1a18; } .te-coin .coin { width: 18px; height: 18px; }
.te-dl { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: #171513; box-shadow: inset 0 0 0 1px #2a2521; }
.te-dl > span { display: grid; gap: 2px; } .te-dl small { font: 400 11px var(--fb); color: var(--muted); } .te-dl b { font: 700 14px var(--fn); color: #f3d68e; }
.te-dl .te-act { margin-left: auto; min-width: 110px; height: 36px; font-size: 14px; }
.te-badge { display: inline-grid; place-items: center; min-width: 16px; height: 16px; margin-left: 5px; padding: 0 4px; border-radius: 8px; font: 700 9.5px/1 var(--fn); font-style: normal; color: #1a1410; background: #e7c26a; }
.te-win .sh-body { overflow: hidden; }
.te-win .te-card { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; align-content: start; }
.te-win .te-form, .te-win .te-search, .te-win .te-dds { flex: none; }
.te-ihd p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ================= v0.8 · Meslekler (kullanıcının Meslekler tasarımı) ================= */
.pf-win .sh-body { display: flex; flex-direction: column; gap: 8px; min-height: 0; overflow: hidden; }
.pf-hd { display: flex; align-items: center; gap: 10px; }
.pf-hd .pf-hic { width: 40px; height: 40px; }
.pf-hd b { font: 700 19px/1 var(--fs); color: var(--gold); }
.pf-seg { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #121110; box-shadow: inset 0 0 0 1px #26221f; }
.pf-seg button { height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 14px var(--fb); color: #cfc8c2; }
.pf-seg button i { font-style: normal; min-width: 18px; height: 16px; padding: 0 5px; border-radius: 8px; font: 700 10px/16px var(--fn); background: #2a2521; color: #e6dfd7; }
.pf-seg button.on { color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); box-shadow: 0 0 0 1px #0b0a0a; }
.pf-seg button.on i { background: rgba(0, 0, 0, .25); color: #1a1410; }
.pf-rings { flex: none; display: flex; justify-content: space-between; gap: 4px; }
.pf-rings button { padding: 4px; border-radius: 14px; }
.pf-rings button.on { background: rgba(231, 194, 106, .07); box-shadow: inset 0 0 0 1px rgba(231, 194, 106, .5); }
.pf-ring { position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), #2a2521 0) border-box; padding: 3px; }
.pf-ring::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #2a2522, #121010 75%); box-shadow: 0 0 0 1.5px #0b0a0a; }
.pf-ring img { position: relative; width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 2px 2px #000); }
.pf-ring b { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); min-width: 20px; height: 16px; padding: 0 5px; border-radius: 8px; display: grid; place-items: center; font: 700 10px var(--fn); color: #1a1410; background: linear-gradient(180deg, #dabe79, #a98c4d); box-shadow: 0 0 0 1.5px #0b0a0a; }
.pf-ring.big { width: 58px; height: 58px; flex: none; }
.pf-card { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: linear-gradient(90deg, #2a221a, #191715 70%); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #3a332b; }
.pf-ct { min-width: 0; flex: 1; display: grid; gap: 3px; }
.pf-ct b { font: 700 17px/1 var(--fs); letter-spacing: .04em; color: #f3d68e; }
.pf-ct small { font: 400 11px/1.25 var(--fb); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.pf-xp { display: block; height: 4px; border-radius: 3px; background: #2a241c; overflow: hidden; } .pf-xp > i { display: block; height: 100%; background: linear-gradient(90deg, #a98c4d, #dabe79); }
.pf-ct em { font: 600 11px var(--fn); font-style: normal; color: #cfc8c2; }
.pf-body { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 6px; }
.pf-h { font: 700 11px/1 var(--fs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: 4px; }
.pf-h small { font: 400 11px var(--fb); letter-spacing: 0; text-transform: none; color: var(--dim); margin-left: 4px; }
.pf-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 54px; align-items: center; gap: 8px; }
.pf-bar > span { display: flex; align-items: center; gap: 8px; font: 400 12.5px var(--fb); color: #e6dfd7; } .pf-bar .ic { color: #cfc8c2; font-size: 13px; }
.pf-bar > i { display: block; height: 4px; border-radius: 3px; background: #2a2521; overflow: hidden; } .pf-bar > i > i { display: block; height: 100%; background: linear-gradient(90deg, #8a6ad8, #b99af0); }
.pf-bar > b { text-align: right; font: 600 11px var(--fn); color: #e6dfd7; }
.pf-tour { display: grid; gap: 6px; padding: 10px; border-radius: 12px; background: #171513; box-shadow: inset 0 0 0 1px #2a2521; }
.pf-th { display: flex; align-items: center; gap: 8px; } .pf-th .nd { width: 40px; height: 40px; flex: none; }
.pf-th small { font: 400 11px var(--fb); color: var(--muted); } .pf-th b { display: block; font: 700 14px var(--fb); color: #f3d68e; }
.pf-kv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.pf-kv span { display: grid; gap: 3px; padding: 6px 8px; border-radius: 8px; background: #121110; box-shadow: inset 0 0 0 1px #26221f; } .pf-kv small { font: 400 10px var(--fb); color: var(--muted); } .pf-kv b { font: 700 15px var(--fn); color: var(--cream); }
.pf-sm { font: 400 11px var(--fb); color: var(--muted); }
.pf-dist { display: flex; height: 5px; border-radius: 3px; overflow: hidden; gap: 1px; } .pf-dist i { display: block; min-width: 1px; }
.pf-chips { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; font: 500 11px var(--fb); } .pf-chips b { font: 700 11px var(--fn); }
.pf-lad { display: flex; align-items: flex-start; justify-content: space-between; padding: 2px 4px; }
.pf-lad > span { display: grid; justify-items: center; gap: 4px; flex: none; }
.pf-lad > span b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--fs); color: #6f6660; background: #141211; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #3a332b; }
.pf-lad > span.on b { color: #1a1410; background: linear-gradient(180deg, #dabe79, #a98c4d); }
.pf-lad > span small { font: 600 10.5px var(--fn); color: var(--muted); } .pf-lad > span.on small { color: #e6dfd7; }
.pf-lad > i { flex: 1; height: 4px; margin-top: 15px; border-radius: 2px; background: #2a2521; }
.pf-lh { display: grid; grid-template-columns: 1.15fr 1.25fr 38px 26px 60px; gap: 4px; font: 500 10px var(--fs); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 0 6px; }
.pf-lr { display: grid; grid-template-columns: 1.15fr 1.25fr 38px 26px 60px; align-items: center; gap: 4px; padding: 6px; border-radius: 10px; background: #171513; box-shadow: inset 0 0 0 1px #2a2521; }
.pf-lr.off { opacity: .55; }
.pf-ln, .pf-lp { min-width: 0; display: flex; align-items: center; gap: 5px; } .pf-ln .nd { width: 30px; height: 30px; flex: none; }
.pf-ln span, .pf-lp span { min-width: 0; display: grid; } .pf-lr b, .pf-lr small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-lr span b { font: 600 11px var(--fb); color: #f2ead8; } .pf-lr span small { font: 400 9.5px var(--fb); color: var(--dim); }
.pf-lr > b { font: 600 11px var(--fn); color: #e6dfd7; text-align: center; }
.pf-req { display: inline-flex; align-items: center; gap: 3px; font: 500 9.5px var(--fn); color: var(--muted); } .pf-req .ic { font-size: 9px; }
.pf-ic { width: 30px; height: 30px; flex: none; }
.pf-finds { display: grid; gap: 5px; } .pf-finds > div { display: flex; align-items: center; gap: 8px; } .pf-finds b { display: block; font: 600 12px var(--fb); color: #f2ead8; } .pf-finds small { font: 600 11px var(--fn); }
.pf-yr { display: grid; grid-template-columns: 30px 32px minmax(0, 1fr) 14px minmax(0, 1.2fr); align-items: center; gap: 6px; padding: 7px; border-radius: 12px; background: #171513; box-shadow: inset 0 0 0 1px #2a2521; }
.pf-yr.on { box-shadow: inset 0 0 0 1.5px rgba(231, 194, 106, .6); } .pf-yr.off { opacity: .5; }
.pf-med { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--fs); color: #1a1410; background: linear-gradient(180deg, #dabe79, #a98c4d); box-shadow: 0 0 0 1.5px #0b0a0a; }
.off .pf-med { color: #6f6660; background: #141211; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #3a332b; }
.pf-yr span b { display: block; font: 600 12px var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pf-yr span small { display: inline-flex; gap: 3px; align-items: center; font: 400 10px var(--fb); color: var(--muted); }
.pf-ar { color: var(--dim); font-size: 11px; }
.pf-yn { min-width: 0; display: flex; align-items: center; gap: 4px; } .pf-yn .nd { width: 28px; height: 28px; flex: none; } .pf-yn > span { min-width: 0; }
.pf-ms { display: grid; gap: 4px; padding: 4px 2px; }
.pf-ms > div { display: grid; grid-template-columns: 44px 18px minmax(0, 1fr); align-items: start; gap: 6px; font: 400 12px/1.3 var(--fb); color: var(--muted); }
.pf-ms b { font: 700 11px var(--fn); color: var(--dim); } .pf-ms i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #1a1410; box-shadow: inset 0 0 0 1px #3a332b; }
.pf-ms .on { color: #e6dfd7; } .pf-ms .on b { color: var(--gold); } .pf-ms .on i { background: var(--gold); box-shadow: none; }
.pf-chain { display: flex; flex-wrap: wrap; gap: 6px 10px; } .pf-ch { display: inline-flex; align-items: center; gap: 3px; } .pf-ch i { font-style: normal; color: var(--dim); } .pf-ch.off { opacity: .4; }
.pf-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font: 600 12.5px var(--fb); color: var(--gold); }
.pf-trs { display: grid; gap: 5px; }
.pf-tr { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; text-align: left; background: #171513; box-shadow: inset 0 0 0 1px #2a2521; }
.pf-tr.on { box-shadow: inset 0 0 0 1.5px rgba(231, 194, 106, .6); } .pf-tr.off { opacity: .55; }
.pf-tr b { display: block; font: 700 12px var(--fb); color: #f2ead8; } .pf-tr small { font: 400 12px var(--fb); color: var(--muted); }
.pf-rg { display: flex; flex-wrap: wrap; gap: 10px; } .pf-rg > span { width: 62px; display: grid; justify-items: center; gap: 3px; text-align: center; }
.pf-rg .pf-ric { width: 46px; height: 46px; } .pf-rg small { font: 600 10.5px/1.15 var(--fb); color: #e6dfd7; }
.pf-plan { margin: 18px 4px; padding: 18px; border-radius: 14px; display: grid; justify-items: center; gap: 6px; text-align: center; background: #171513; box-shadow: inset 0 0 0 1px #3a332b; border: 1px dashed #3a332b; }
.pf-plan .ic { font-size: 22px; color: var(--gold3); } .pf-plan b { font: 700 14px var(--fs); color: var(--gold); } .pf-plan span { font: 400 12px/1.4 var(--fb); color: var(--muted); }
.pf-pl { font-style: normal; margin-left: 5px; padding: 1px 6px; border-radius: 7px; font: 600 9px var(--fn); color: #cfc8c2; background: #2a2521; }
.pf-hd { flex: 1; min-width: 0; }

/* ================= v0.8 · Para simgeleri: altın sikke ve kavim taşı ================= */
/* Her yerdeki küçük sikke (pazar, kese, kasa) adadakiyle aynı çizim; durağan hâli */
.coin { background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 32 32%22%3E%3Cdefs%3E%3CradialGradient id=%22cnFace%22 cx=%22.38%22 cy=%22.3%22 r=%22.78%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff6d0%22/%3E%3Cstop offset=%22.32%22 stop-color=%22%23f5d47c%22/%3E%3Cstop offset=%22.72%22 stop-color=%22%23cf9b34%22/%3E%3Cstop offset=%221%22 stop-color=%22%238f6218%22/%3E%3C/radialGradient%3E %3ClinearGradient id=%22cnRim%22 x1=%22.15%22 y1=%22.05%22 x2=%22.85%22 y2=%22.95%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff0b8%22/%3E%3Cstop offset=%22.4%22 stop-color=%22%23e0ad48%22/%3E%3Cstop offset=%22.75%22 stop-color=%22%23a87422%22/%3E%3Cstop offset=%221%22 stop-color=%22%235e3d0c%22/%3E%3C/linearGradient%3E %3ClinearGradient id=%22cnBev%22 x1=%22.25%22 y1=%220%22 x2=%22.75%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%2394661c%22/%3E%3Cstop offset=%22.55%22 stop-color=%22%23c89235%22/%3E%3Cstop offset=%221%22 stop-color=%22%23fbe39a%22/%3E%3C/linearGradient%3E %3ClinearGradient id=%22cnStar%22 x1=%22.2%22 y1=%22.1%22 x2=%22.8%22 y2=%22.9%22%3E%3Cstop offset=%220%22 stop-color=%22%23fff3c4%22/%3E%3Cstop offset=%22.5%22 stop-color=%22%23e6b650%22/%3E%3Cstop offset=%221%22 stop-color=%22%23a06c1c%22/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx=%2216%22 cy=%2216%22 r=%2215.4%22 fill=%22%232a1c07%22/%3E %3Ccircle cx=%2216%22 cy=%2216%22 r=%2214.5%22 fill=%22url(%23cnRim)%22/%3E %3Ccircle cx=%2216%22 cy=%2216%22 r=%2213.85%22 fill=%22none%22 stroke=%22%236e4a12%22 stroke-width=%221.15%22 stroke-dasharray=%22.62 .74%22 opacity=%22.75%22/%3E %3Ccircle cx=%2216%22 cy=%2216%22 r=%2212.55%22 fill=%22url(%23cnBev)%22/%3E %3Ccircle cx=%2216%22 cy=%2216%22 r=%2211.55%22 fill=%22url(%23cnFace)%22/%3E %3Ccircle cx=%2216%22 cy=%2216%22 r=%229.9%22 fill=%22none%22 stroke=%22%239a6a1c%22 stroke-width=%221%22 stroke-linecap=%22round%22 stroke-dasharray=%22.01 2.07%22 opacity=%22.85%22/%3E %3Cg transform=%22translate(.45 .55)%22 fill=%22%237a5214%22 opacity=%22.55%22%3E%3Cpolygon points=%2216.00,10.20 21.80,16.00 16.00,21.80 10.20,16.00%22/%3E%3Cpolygon points=%2211.90,11.90 20.10,11.90 20.10,20.10 11.90,20.10%22/%3E%3C/g%3E %3Cg fill=%22url(%23cnStar)%22 stroke=%22%238a5c16%22 stroke-width=%22.55%22 stroke-linejoin=%22round%22%3E%3Cpolygon points=%2211.90,11.90 20.10,11.90 20.10,20.10 11.90,20.10%22/%3E%3Cpolygon points=%2216.00,10.20 21.80,16.00 16.00,21.80 10.20,16.00%22/%3E%3C/g%3E %3Ccircle cx=%2216%22 cy=%2216%22 r=%222.3%22 fill=%22%23a8741f%22 stroke=%22%236e4a12%22 stroke-width=%22.5%22/%3E%3Ccircle cx=%2215.4%22 cy=%2215.4%22 r=%22.85%22 fill=%22%23fff1c0%22 opacity=%22.85%22/%3E %3Cpath d=%22M5.2 12.4A11.6 11.6 0 0 1 12.6 4.9%22 fill=%22none%22 stroke=%22%23fffbe6%22 stroke-width=%221.2%22 stroke-linecap=%22round%22 opacity=%22.7%22/%3E %3Cpath d=%22M22.5 27.2A11.8 11.8 0 0 0 27.6 21%22 fill=%22none%22 stroke=%22%234a3008%22 stroke-width=%221%22 stroke-linecap=%22round%22 opacity=%22.45%22/%3E%3C/svg%3E") center / contain no-repeat; box-shadow: none; border-radius: 50%; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)); }
/* Adada: sikke ve kavim taşı (rengi kavimden gelir), arada bir parıltı; değer artınca sikke döner, taş parlar */
.hc-coin, .hc-fp { width: 17px; height: 17px; flex: none; overflow: visible; }
.hc-coin { filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .6)) drop-shadow(0 0 5px rgba(231, 194, 106, .3)); }
.hc-fp { filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .6)) drop-shadow(0 0 5px color-mix(in srgb, var(--acc) 45%, transparent)); }
.cn-glint { transform-box: fill-box; transform-origin: center; opacity: 0; animation: cnGlint 5.5s ease-in-out infinite; }
.cn-glint.fp { animation-delay: -2.6s; }
.cur.bump .hc-coin { animation: cnFlip .7s var(--spring); }
.cur.bump .hc-fp { animation: fpFlash .7s var(--ease); }
@keyframes cnGlint { 0%, 76%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 84% { opacity: 1; transform: scale(1.15) rotate(45deg); } 92% { opacity: 0; transform: scale(.4) rotate(90deg); } }
@keyframes cnFlip { 0% { transform: rotateY(0) scale(1); } 45% { transform: rotateY(180deg) scale(1.18); } 100% { transform: rotateY(360deg) scale(1); } }
@keyframes fpFlash { 0% { transform: scale(1); filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .6)); } 35% { transform: scale(1.22); filter: drop-shadow(0 0 7px var(--acc)) brightness(1.35); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cn-glint, .cur.bump .hc-coin, .cur.bump .hc-fp { animation: none; } }

/* Ticaret Evi: Şehir / Kesen satırı küçük; kategori çipleri satıra sığar (kesik çip kalmaz) */

/* ================= v0.8 · Ana ekran: bölgeler alt alta satır, Uzak Diyarlar en sonda ================= */
/* Satır: bölgenin manzarası tüm kartı kaplar, solda kademe madalyonu ve yazılar, sağda düğüm hapı ve ok */
.belts.zones.rows { flex: 3 1 0; display: flex; flex-direction: column; gap: 8px; grid-template-columns: none; grid-template-rows: none; }
.belt-ch, .belt-sub { display: none; }
.rows .belt.zone { --rad: 16px; flex: 1 1 0; min-height: 0; flex-direction: row; align-items: center; }
.rows .belt.zone .belt-art { position: absolute; inset: 0; z-index: 0; }
.rows .belt.zone .belt-art::after { background: linear-gradient(90deg, rgba(16, 14, 12, .94) 0%, rgba(16, 14, 12, .72) 38%, rgba(16, 14, 12, .18) 70%, rgba(16, 14, 12, .45) 100%); }
.rows .belt.zone .tier { top: 50%; left: 11px; right: auto; transform: translateY(-50%); width: 40px; min-width: 0; height: 40px; padding: 0; border-radius: 50%; border: 0;
  font: 700 15px/1 var(--fs); color: #f3d68e; background: radial-gradient(circle at 50% 35%, #2e2720, #120f0d 78%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px #8a6d3a, 0 4px 10px -3px #000; }
.rows .belt.zone[data-belt="z1"] .tier { color: #cfe3b0; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px #6f8a4a, 0 4px 10px -3px #000; }
.rows .belt.zone[data-belt="z3"] .tier { color: #e8d2b8; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px #8a7460, 0 4px 10px -3px #000; }
.rows .belt.zone .belt-info { position: relative; z-index: 2; flex: 1; min-width: 0; padding: 0 0 0 63px; gap: 3px; border-top: 0; }
.rows .belt.zone .belt-cat { font: 600 9px var(--fu); letter-spacing: .04em; color: var(--gold2); }
.rows .belt-sub { display: inline; font-style: normal; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.rows .belt.zone .belt-name { font-size: 17px; color: #f6ecd2; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.rows .belt.zone .belt-meta { margin-top: 1px; }
.rows .belt.zone .pill-ov { position: relative; z-index: 2; left: auto; bottom: auto; flex: none; margin-right: 4px; }
.rows .belt-ch { display: block; position: relative; z-index: 2; flex: none; margin-right: 12px; font-size: 12px; color: var(--gold2); }
.rows .belt.zone.on, .rows .belt.zone:has(.cargo) { --bd: #6d5e3b; }
/* Uzak Diyarlar: aynı satır diliyle, kızıl tonlu ve en sonda */
.home > .far-btn { flex: 1 1 0; min-height: 0; height: auto; gap: 12px; padding: 0 12px 0 11px; animation-delay: calc(var(--i) * 70ms + 260ms); }
.home > .far-btn .far-ic { width: 40px; height: 40px; font-size: 17px; }
.home > .far-btn .far-tx { gap: 3px; }
.home > .far-btn .far-tx b { font-size: 17px; color: #f6d2b8; }
.far-tx .far-k { font: 600 9px var(--fu); letter-spacing: .04em; color: #ee8a6a; }
.home > .far-btn .far-n { padding: 4px 9px; border-radius: 999px; background: rgba(8, 7, 5, .7); box-shadow: inset 0 0 0 1px #6a3a2a; }
.home > .far-btn::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(135deg, rgba(238, 106, 80, .05) 0 1px, transparent 1px 12px); }
@media (max-height: 700px) { .rows .belt.zone .belt-name, .home > .far-btn .far-tx b { font-size: 15px; } .rows .belt.zone .tier, .home > .far-btn .far-ic { width: 34px; height: 34px; } .rows .belt.zone .belt-info { padding-left: 54px; } }
/* Şehir kartı eski boyunda kalır (1,18 pay); bölge satırları ve Uzak Diyarlar eski kartların ve şeridin yerini paylaşır */
.home > .st-card.city { flex: 1.18 1 0; }
.belts.zones.rows { flex: .78 1 0; }
.home > .far-btn { flex: .24 1 0; }
.rows .belt.zone .pill-ov { position: absolute; left: auto; right: 30px; top: 50%; bottom: auto; transform: translateY(-50%); margin: 0; }
.rows .belt.zone .belt-info { padding-right: 100px; }

/* Ticaret Evi · açılır seçme düğmeleri (Kademe, Nadirlik, Tür, Alt tür, Şehir, Sırala) */
.te-dds { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.te-dd { position: relative; min-width: 0; }
.te-dd.open { z-index: 3; }
.te-ddb { width: 100%; height: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-content: center; column-gap: 4px; padding: 0 9px 0 11px;
  border-radius: 11px; text-align: left; background: linear-gradient(180deg, #1b1815, #131110); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #3a332b; transition: box-shadow .18s, background .18s; }
.te-ddb small { grid-column: 1; font: 600 9px/1.1 var(--fb); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.te-ddb b { grid-column: 1; font: 700 13px/1.25 var(--fb); color: #efe6d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.te-ddb .ic { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 12px; color: var(--gold); rotate: 90deg; transition: rotate .22s var(--spring); }
.te-ddb:disabled { opacity: .4; }
.te-dd.open .te-ddb { background: #221d16; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1.5px var(--gold), 0 0 12px -4px rgba(231, 194, 106, .6); }
.te-dd.open .te-ddb .ic { rotate: -90deg; }
.te-ddm { position: absolute; left: 0; top: calc(100% + 5px); min-width: 100%; width: max-content; max-width: 230px; max-height: 300px; overflow-y: auto; scrollbar-width: none;
  display: grid; gap: 2px; padding: 5px; border-radius: 12px; background: #1b1816; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #3a332b, 0 16px 30px -8px #000;
  transform-origin: top center; animation: teDrop .22s var(--spring) both; }
.te-dd:nth-child(3n) .te-ddm { left: auto; right: 0; }
.te-dd:nth-child(3n + 2) .te-ddm { left: 50%; translate: -50% 0; }
.te-ddm.wide { grid-template-columns: 1fr 1fr; width: 230px; }
.te-ddm button { display: flex; align-items: center; gap: 7px; min-height: 32px; padding: 5px 9px; border-radius: 8px; font: 600 12.5px var(--fb); color: #e6dfd7; text-align: left; white-space: nowrap; }
.te-ddm button span { overflow: hidden; text-overflow: ellipsis; }
.te-ddm button img { width: 20px; height: 20px; flex: none; }
.te-ddm button .emb, .te-ddm button > svg { width: 16px; height: 16px; flex: none; }
.te-ddm button i { width: 8px; height: 8px; flex: none; rotate: 45deg; background: var(--c); box-shadow: 0 0 0 1px #0b0a0a, 0 0 6px -1px var(--c); }
.te-ddm button.on { color: var(--gold); background: rgba(231, 194, 106, .09); box-shadow: inset 0 0 0 1px rgba(231, 194, 106, .35); }
.te-ddm button:active { background: rgba(255, 255, 255, .05); }
@keyframes teDrop { from { opacity: 0; transform: scaleY(.6) translateY(-6px); } to { opacity: 1; transform: none; } }

/* Atölye tezgâhı: üstte malzeme yuvaları ve ürün madalyonu (boşluğa göre ölçeklenir), altta tek panel: malzeme
   nadirliği (dört nadirlik yan yana), ürün nadirliği; dört bilgi kutusu; adet ve Üret */
.ws-bench-on .sh-body { gap: 10px; }
.ws-stage { position: relative; flex: 1 1 auto; min-height: 150px; container-type: size; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: min(14px, 4cqh); }
.ws-socks { position: relative; z-index: 2; display: flex; justify-content: center; gap: 14px; }
.ws-sock { width: 84px; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px 7px; border-radius: 14px; background: rgba(18, 16, 15, .82);
  box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #2e2925; transition: box-shadow .2s, transform .2s var(--spring); }
.ws-sock.on { box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1.5px var(--gold), 0 0 14px -4px rgba(231, 194, 106, .55); }
.ws-sock:active { transform: scale(.96); }
.ws-sock .ws-sock-ic { width: min(50px, 17cqh); height: min(50px, 17cqh); }
.ws-sock .ifr > .ifr-tm { display: none; }
.ws-sock small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font: 600 10.5px/1.1 var(--fb); color: #e6dfd7; white-space: nowrap; }
.ws-sock b { padding: 2px 7px; border-radius: 9px; font: 700 10.5px/1.2 var(--fn); background: #0d0c0b; box-shadow: inset 0 0 0 1px currentColor; }
.ws-sock b.ok { color: #8fe07f; } .ws-sock b.no { color: #ff8a78; }
.ws-flow { width: 1px; height: min(16px, 5cqh); flex: none; background: linear-gradient(180deg, rgba(231, 194, 106, 0), rgba(231, 194, 106, .7)); }
.ws-prod { position: relative; z-index: 1; flex: none; width: min(138px, 44cqh); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #2a2420, #0f0d0c 70%); box-shadow: 0 0 0 2px #0b0a0a, 0 0 0 4px #6d5e3b, 0 0 0 5.5px #0b0a0a, 0 0 30px -4px rgba(231, 194, 106, .35); }
.ws-prod .ws-prod-ic { width: 68%; height: 68%; }
.ws-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(231, 194, 106, .08); }
.ws-ring.a { width: 210%; aspect-ratio: 1; } .ws-ring.b { width: 152%; aspect-ratio: 1; }
.ws-ring.b { animation: wsRing 6s ease-in-out infinite; }
@keyframes wsRing { 0%, 100% { box-shadow: inset 0 0 0 1px rgba(231, 194, 106, .08); } 50% { box-shadow: inset 0 0 0 1px rgba(231, 194, 106, .2); } }

.ws-panel { flex: none; display: grid; gap: 8px; padding: 11px 12px 12px; border-radius: 16px; background: linear-gradient(180deg, #161412, #111010); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #2a2521; }
.ws-ph { display: flex; align-items: center; gap: 8px; min-height: 26px; }
.ws-ph > span { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.ws-ph small { font: 600 9.5px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.ws-ph b { font: 700 14px/1 var(--fb); color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-ph em { font: italic 400 10.5px var(--fb); color: var(--dim); white-space: nowrap; }
.ws-ph + .ws-ph, .ws-pk + .ws-ph, .ws-pk-fix + .ws-ph { margin-top: 2px; padding-top: 9px; border-top: 1px solid #24201c; }
.ws-reset { flex: none; height: 26px; padding: 0 11px; border-radius: 13px; font: 600 11px var(--fb); color: #e6dfd7; background: #1d1a18; box-shadow: inset 0 0 0 1px #3a332b; }
.ws-pk { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ws-pk-r { display: grid; gap: 5px; justify-items: center; padding: 6px 4px 5px; border-radius: 11px; background: #0f0e0d;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, #24201c); transition: box-shadow .2s, opacity .2s; }
.ws-pk-r.use { background: color-mix(in srgb, var(--c) 7%, #0f0e0d); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, #24201c); }
.ws-pk-r.off { opacity: .38; }
.ws-pk-r small { font: 700 10px/1 var(--fb); color: var(--c); }
.ws-pk-r > span { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.ws-pk-r button { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 700 13px/1 var(--fn); color: #e6dfd7; background: #1d1a18; box-shadow: inset 0 0 0 1px #2e2925; }
.ws-pk-r button:disabled { opacity: .35; }
.ws-pk-r b { font: 700 13px var(--fn); color: var(--cream); }
.ws-pk-fix { font: 500 11.5px var(--fb); color: var(--muted); }
.ws-dist { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 1px; background: #0b0a0a; }
.ws-dist > i { display: block; min-width: 1px; transition: flex .35s var(--ease); }
.ws-chips { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 4px 12px; font: 500 12px var(--fb); color: #cfc8c2; }
.ws-chips span { display: inline-flex; align-items: center; gap: 5px; } .ws-chips b { font: 700 11.5px var(--fn); }

.ws-info { flex: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ws-info > span { display: grid; gap: 4px; justify-items: center; padding: 8px 4px; border-radius: 12px; background: #121110; box-shadow: inset 0 0 0 1px #24201c; min-width: 0; }
.ws-info small { font: 600 9.5px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.ws-info b { font: 700 13.5px/1 var(--fn); color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.ws-pill { flex: none; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 10px; border-radius: 20px; background: #100f0e; box-shadow: inset 0 0 0 1px rgba(231, 194, 106, .16); }
.ws-step { display: flex; align-items: center; justify-content: space-between; padding: 3px; border-radius: 20px; background: #0b0a0a; box-shadow: inset 0 0 0 1px #2e2925; }
.ws-step button, .ws-maxb { height: 34px; min-width: 34px; border-radius: 17px; display: grid; place-items: center; font: 700 16px var(--fn); color: #e6dfd7; background: #1d1a18; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #3a332b; }
.ws-step b { flex: 1; text-align: center; font: 700 18px var(--fn); color: var(--cream); }
.ws-maxb { display: flex; gap: 4px; padding: 0 14px; font: 600 12px var(--fb); }
.ws-maxb b { font: 700 12.5px var(--fn); color: var(--gold); }
.ws-go { grid-column: 1 / -1; display: grid; place-items: center; width: 100%; height: 48px; border-radius: 24px; font: 700 18px var(--fb); color: #1a1410;
  background: linear-gradient(180deg, #dabe79, #caaa5e 55%, #a98c4d); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .55); transition: transform .15s, filter .2s; }
.ws-go:active { transform: scale(.97); }
.ws-go:disabled { color: #2a2520; filter: grayscale(.75) brightness(.62); }
/* kısa ekran: tezgâhta başlık sıkışır, adet ve Üret tek satıra iner; yuvalar ve madalyon kalan boşluğa göre küçülür */
@media (max-height: 720px) {
  .ws-bench-on .sh-body { gap: 7px; }
  .ws-bench-on .ws-kick { display: none; }
  .ws-bench-on .ws-title { font-size: 23px; }
  .ws-stage { min-height: 120px; gap: min(10px, 3cqh); }
  .ws-prod { width: min(138px, 38cqh); }
  .ws-sock { padding: 4px 4px 5px; gap: 3px; }
  .ws-panel { gap: 6px; padding: 9px 10px 10px; }
  .ws-ph { min-height: 22px; }
  .ws-ph + .ws-ph, .ws-pk + .ws-ph, .ws-pk-fix + .ws-ph { padding-top: 7px; }
  .ws-info > span { padding: 6px 4px; }
  .ws-pill { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); gap: 7px; padding: 7px; }
  .ws-go { grid-column: auto; height: 40px; font-size: 15px; }
  .ws-step button, .ws-maxb { height: 32px; min-width: 32px; }
  .ws-maxb { padding: 0 9px; font-size: 11px; }
  .ws-step b { font-size: 16px; }
}

/* ================= Menü · etkinlik kartları (günlük ve özel) ================= */
.mw-ev { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ev-card { position: relative; isolation: isolate; overflow: hidden; height: clamp(120px, 16.4dvh, 140px); display: flex; flex-direction: column; gap: 6px; padding: 9px 9px 11px; border-radius: 16px; text-align: left;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 26%, #1d1915) 0%, #16130f 58%, #100e0c 100%);
  box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, #3a332b), inset 0 1px 0 rgba(255, 240, 210, .08), 0 8px 18px -10px color-mix(in srgb, var(--c) 70%, #000);
  transition: transform .18s var(--spring); }
.ev-card:active { transform: scale(.97); }
.ev-card > :not(.ev-bg):not(.ev-aurora) { position: relative; z-index: 2; }
.ev-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.ev-rays { position: absolute; left: 50%; top: -30%; width: 220%; aspect-ratio: 1; translate: -50% -40%;
  background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--c) 22%, transparent) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 8%, transparent 52%); mask: radial-gradient(circle, #000 8%, transparent 52%); opacity: .55; animation: evSpin 46s linear infinite; }
.ev-glow { position: absolute; right: -30%; top: -40%; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--c) 55%, transparent), transparent 62%); opacity: .45; animation: evPulse 4.5s ease-in-out infinite; }
.ev-motes { position: absolute; inset: -40% 0 0; opacity: .7;
  background-image: radial-gradient(1.4px 1.4px at 12% 30%, var(--c), transparent 60%), radial-gradient(1px 1px at 38% 70%, #fff3d0, transparent 60%), radial-gradient(1.6px 1.6px at 66% 20%, var(--c), transparent 60%),
    radial-gradient(1px 1px at 84% 58%, #fff3d0, transparent 60%), radial-gradient(1.2px 1.2px at 52% 46%, var(--c), transparent 60%);
  background-size: 100% 50%; animation: evRise 9s linear infinite; }
.ev-wave { position: absolute; left: 0; bottom: -2px; width: 200%; height: 34%; animation: evWave 7s linear infinite; }
.ev-wave path { fill: color-mix(in srgb, var(--c) 14%, transparent); }
.ev-wave path + path { fill: color-mix(in srgb, var(--c) 9%, transparent); }
.ev-shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 244, 214, .13) 48%, transparent 60%); translate: -120% 0; animation: evShine 6s ease-in-out infinite; }
.ev-hd { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.ev-hd small { font: 700 8.5px/1 var(--fb); white-space: nowrap; letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #f2e6cc); }
.ev-hd em { font: 600 9.5px/1 var(--fn); font-style: normal; color: #d8cfc4; padding: 3px 6px; border-radius: 8px; background: rgba(10, 9, 8, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.ev-nm { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; font: 700 14px/1.1 var(--fb); color: #f6ecd2; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.ev-ic { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 8px; font-size: 13px; color: #1a1410;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 0 0 1px #0b0a0a, 0 0 12px -2px var(--c); animation: evBob 3s ease-in-out infinite; }
.ev-ls { display: grid; gap: 3px; margin-top: auto; }
.ev-day { position: absolute !important; left: 9px; right: 9px; bottom: 5px; height: 2px; border-radius: 1px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ev-day::after { content: ''; position: absolute; inset: 0; width: calc(var(--p) * 100%); background: linear-gradient(90deg, color-mix(in srgb, var(--c) 60%, #fff), var(--c)); box-shadow: 0 0 6px var(--c); transition: width 1s linear; }
.ev-ls > span { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 1px 5px 1px 4px; border-radius: 6px; background: rgba(10, 9, 8, .45);
  font: 600 10px/1.35 var(--fb); color: #e9e0d2; animation: evIn .5s var(--spring) both; animation-delay: calc(.18s + var(--i) * .08s); }
.ev-ls > span .ic { flex: none; font-size: 10px; color: var(--c); }
.ev-ls > span > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-ls em { flex: none; font: 700 9.5px var(--fn); font-style: normal; color: #9be58c; }
/* özel etkinlik: boşken ağır bir kuzey ışığı ve yanıp sönen yıldızlar */
.ev-card.special .ev-rays, .ev-card.special .ev-wave { display: none; }
.ev-aurora { position: absolute; inset: -30%; z-index: 0; pointer-events: none; opacity: .5; filter: blur(14px);
  background: radial-gradient(40% 30% at 30% 60%, color-mix(in srgb, var(--c) 70%, transparent), transparent 70%), radial-gradient(35% 28% at 70% 40%, rgba(79, 232, 220, .45), transparent 70%);
  animation: evAur 11s ease-in-out infinite alternate; }
.ev-card.special .ev-motes { animation: evTwk 3.2s ease-in-out infinite; background-size: 100% 100%; inset: 0; }
.ev-empty { flex: 1; display: grid; justify-items: center; align-content: center; gap: 3px; text-align: center; }
.ev-orb { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; color: #e8dcff; margin-bottom: 3px;
  background: radial-gradient(circle at 40% 35%, rgba(200, 180, 255, .35), rgba(40, 30, 70, .6)); box-shadow: 0 0 0 1px rgba(185, 160, 240, .5), 0 0 18px -3px var(--c); animation: evOrb 3.6s ease-in-out infinite; }
.ev-empty b { font: 700 13.5px/1 var(--fs); color: #efe6ff; }
.ev-empty small { font: 400 10px/1.2 var(--fb); color: #b4a9c8; }
.ev-desc { font: 400 10.5px/1.3 var(--fb); color: #d8cfe8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes evSpin { to { rotate: 360deg; } }
@keyframes evPulse { 0%, 100% { opacity: .32; scale: 1; } 50% { opacity: .58; scale: 1.08; } }
@keyframes evRise { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes evWave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes evShine { 0%, 55% { translate: -120% 0; } 85%, 100% { translate: 120% 0; } }
@keyframes evBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
@keyframes evIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes evAur { 0% { transform: translate(-8%, 4%) rotate(0deg); } 100% { transform: translate(8%, -6%) rotate(18deg); } }
@keyframes evTwk { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }
@keyframes evOrb { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(185, 160, 240, .5), 0 0 14px -4px var(--c); } 50% { transform: scale(1.07); box-shadow: 0 0 0 1px rgba(185, 160, 240, .7), 0 0 22px -2px var(--c); } }

/* günlük etkinlik penceresi */
.ev-win .sh-body { display: flex; flex-direction: column; gap: 10px; }
.ev-hero { position: relative; isolation: isolate; overflow: hidden; flex: none; height: 150px; display: grid; justify-items: center; align-content: center; gap: 6px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, #1d1915), #14110f 65%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, #3a332b); }
.ev-hero > :not(.ev-bg) { position: relative; z-index: 2; }
.ev-ic.big { width: 54px; height: 54px; border-radius: 16px; font-size: 26px; }
.ev-hero b { font: 700 20px/1 var(--fs); color: #f6ecd2; }
.ev-hero small { font: 400 11.5px var(--fb); color: #d0c6b8; }
.ev-rows { display: grid; gap: 7px; }
.ev-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #131110;
  box-shadow: inset 0 0 0 1px #2a2521; animation: evIn .5s var(--spring) both; animation-delay: calc(.1s + var(--i) * .08s); }
.ev-ri { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; font-size: 16px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #0e0d0c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.ev-row b { display: block; font: 700 13.5px/1.2 var(--fb); color: #f2ead8; }
.ev-row small { display: block; margin-top: 2px; font: 400 11px/1.3 var(--fb); color: var(--muted); }
.ev-row em { font: 700 15px var(--fn); font-style: normal; color: #9be58c; }
.ev-next { display: grid; gap: 5px; padding: 10px 12px; border-radius: 14px; background: #121110; box-shadow: inset 0 0 0 1px #24201c; }
.ev-next > small { font: 600 9.5px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 2px; }
.ev-next > span { display: flex; align-items: center; gap: 8px; font: 400 12.5px var(--fb); color: #cfc8c2; }
.ev-next > span .ic { color: var(--c); font-size: 13px; }
.ev-next b { flex: 1; font-weight: 600; color: #e9e0d2; }
.ev-next em { font-style: normal; color: var(--dim); font-size: 11.5px; }
/* kısa ekran: etkinlik kartları menüye sığsın diye ayraç gizlenir, karolar kısalır */
@media (max-height: 700px) {
  .mw-sep { display: none; }
  .mtile { height: 47px; gap: 3px; font-size: 11px; }
  .mtile .qi { width: 26px; height: 26px; font-size: 12px; }
  .ev-card { height: 114px; gap: 5px; padding-top: 8px; }
}

/* ================= Atölye · tek ekran (liste + tezgâh) ================= */
.ws-win .sh-body { gap: 8px; overflow: hidden; }
.ws-prof { flex: none; display: grid; gap: 5px; }
.ws-pr1 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.ws-pr1 b { font: 700 11px/1 var(--fs); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.ws-pr1 small { font: 400 11px/1 var(--fb); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* kademe şeridi ve İşleme/Üretim: altın sürgü seçilene kayar */
.ws-ctl { flex: none; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 7px; }
.ws-tiers, .ws-seg { position: relative; display: grid; padding: 3px; border-radius: 13px; background: #0e0d0c; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #2e2925; }
.ws-tiers { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ws-seg { grid-template-columns: 1fr 1fr; }
.ws-tslide, .ws-sslide { position: absolute; top: 3px; bottom: 3px; left: 3px; border-radius: 10px; pointer-events: none;
  background: linear-gradient(180deg, #d5b86b, #a98c4d); box-shadow: 0 0 0 1px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .55), 0 0 12px -3px rgba(231, 194, 106, .6);
  transition: transform .32s var(--spring); }
.ws-tslide { width: calc((100% - 6px) / 5); transform: translateX(calc(var(--i) * 100%)); }
.ws-sslide { width: calc((100% - 6px) / 2); transform: translateX(calc(var(--i) * 100%)); }
.ws-tiers button, .ws-seg button { position: relative; z-index: 1; height: 36px; display: grid; place-items: center; align-content: center; gap: 1px; border-radius: 10px; color: #cfc8c2; transition: color .2s; }
.ws-tiers button b { font: 700 13px/1 var(--fs); }
.ws-tiers button small { display: flex; align-items: center; gap: 1px; font: 600 8px/1 var(--fn); color: #7d736c; }
.ws-tiers button small .ic { font-size: 7px; }
.ws-tiers button.lock { color: #6f6660; }
.ws-tiers button.on, .ws-seg button.on { color: #1a1410; }
.ws-tiers button.on small { color: #4a3a1c; }
.ws-seg button { font: 700 13.5px var(--fb); }
.ws-tiers .ws-can { position: absolute; right: 4px; top: 4px; width: 6px; height: 6px; border-radius: 50%; transform: none; background: #5fd36f; box-shadow: 0 0 6px #5fd36f; }
/* tarif şeridi: yatay kaydırılır, seçili tarif altın çerçeveli */
.ws-strip { flex: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px 3px; scroll-snap-type: x proximity; }
.ws-strip::-webkit-scrollbar { display: none; }
.ws-rt { flex: none; width: 74px; display: grid; justify-items: center; gap: 4px; padding: 7px 4px 6px; border-radius: 13px; scroll-snap-align: start;
  background: linear-gradient(180deg, #1a1714, #121010); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #2e2925; transition: box-shadow .2s, transform .18s var(--spring); }
.ws-rt.on { background: linear-gradient(180deg, #2a2318, #16130f); box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1.5px var(--gold), 0 0 14px -5px rgba(231, 194, 106, .7); }
.ws-rt:active { transform: scale(.95); }
.ws-rt .ws-rt-ic { width: 40px; height: 40px; }
.ws-rt b { width: 100%; font: 600 10.5px/1.15 var(--fb); color: #e6dfd7; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-rt.on b { color: var(--gold); }
.ws-rt .ws-rc-n { font-size: 10px; gap: 4px; } .ws-rt .ws-rc-n > i { width: 6px; height: 6px; }
.ws-rcat { flex: none; writing-mode: vertical-rl; rotate: 180deg; align-self: center; font: 700 8.5px/1 var(--fs); letter-spacing: .16em; text-transform: uppercase; color: var(--gold2); padding: 4px 1px; border-left: 1px solid #3a332b; }
.ws-strip.lock { align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #121110; box-shadow: inset 0 0 0 1px #2a2521; }
.ws-lk { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; font-size: 16px; color: var(--muted); background: #1a1714; box-shadow: inset 0 0 0 1px #3a332b; }
.ws-strip.lock b { display: block; font: 700 14px/1.2 var(--fb); color: #e6dfd7; }
.ws-strip.lock small { display: block; font: 400 11.5px/1.3 var(--fb); color: var(--muted); }
/* tezgâh: başlık, yatay sahne (malzemeler → ürün), panel, bilgi, adet ve Üret */
.ws-bench { flex: 1 1 auto; min-height: 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.ws-bench > * { min-width: 0; }
.ws-bench:empty { display: none; }
.ws-bt { flex: none; display: grid; gap: 3px; text-align: center; }
.ws-bt b { font: 700 21px/1.05 var(--fb); color: var(--gold); text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.ws-bt small { font: 400 11px/1.25 var(--fb); color: var(--muted); }
.ws-bt em { font-style: normal; font-weight: 600; }
.ws-bench .ws-stage { flex: 1 1 auto; min-height: 92px; flex-direction: row; gap: 10px; container-type: size; }
.ws-bench .ws-socks { gap: 8px; }
.ws-bench .ws-sock { width: 78px; }
.ws-bench .ws-sock .ws-sock-ic { width: min(44px, 40cqh); height: min(44px, 40cqh); }
.ws-bench .ws-flow { width: auto; height: auto; display: flex; background: none; color: var(--gold); font-size: 9px; }
.ws-bench .ws-flow .ic { animation: wsFlow 1.4s ease-in-out infinite; opacity: .2; margin: 0 -2px; }
.ws-bench .ws-flow .ic:nth-child(2) { animation-delay: .18s; } .ws-bench .ws-flow .ic:nth-child(3) { animation-delay: .36s; }
@keyframes wsFlow { 0%, 100% { opacity: .2; } 40% { opacity: 1; } }
.ws-bench .ws-prod { width: min(104px, 82cqh); }
.ws-bench .ws-ring.a { width: 170%; } .ws-bench .ws-ring.b { width: 132%; }
.ws-ph .ws-chips { flex: none; justify-content: flex-end; gap: 9px; }
.ws-ph .ws-chips span { gap: 4px; }
/* sıra ve raf yan yana */
.ws-bot { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ws-box { display: grid; gap: 7px; padding: 8px 9px 9px; border-radius: 14px; background: #121110; box-shadow: inset 0 0 0 1px #24201c; min-width: 0; }
.ws-sec { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 22px; }
.ws-sec b { white-space: nowrap; font: 700 10px/1 var(--fs); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.ws-sec small { font: 600 10.5px var(--fn); color: var(--muted); }
.ws-take { flex: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; height: 22px; padding: 0 9px; border-radius: 7px; font: 700 10.5px var(--fb); color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); box-shadow: 0 0 0 1px #0b0a0a; }
.ws-queue, .ws-rack { display: flex; align-items: center; gap: 6px; min-height: 40px; }
.ws-q { position: relative; flex: none; display: grid; justify-items: center; gap: 2px; }
.ws-q .ws-q-ic { width: 34px; height: 34px; }
.ws-q.run::before { content: ''; position: absolute; left: -3px; top: -3px; width: 40px; height: 40px; border-radius: 11px; z-index: 0;
  background: conic-gradient(var(--gold) calc(var(--p) * 360deg), rgba(231, 194, 106, .12) 0); -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 90%); mask: radial-gradient(closest-side, transparent 88%, #000 90%); }
.ws-q.run { cursor: pointer; }
.ws-q small { font: 600 8.5px/1 var(--fn); color: #cfc8c2; }
.ws-q-x { position: absolute; right: -6px; top: -6px; z-index: 8; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; font-size: 7px; color: #e6dfd7; background: #2a2420; box-shadow: 0 0 0 1px #0b0a0a; }
.ws-q.empty > i { width: 34px; height: 34px; border-radius: 10px; border: 1px dashed #4a4030; }
.ws-rack .ws-rk { width: 34px; height: 34px; flex: none; }
.ws-more { font: 600 10.5px var(--fn); color: var(--muted); padding: 2px 5px; border-radius: 6px; box-shadow: inset 0 0 0 1px #3a332b; }
.ws-empty { font: 400 10.5px/1.2 var(--fb); color: var(--dim); }
@media (max-height: 720px) {
  .ws-win .sh-body { gap: 6px; }
  .ws-bench { gap: 6px; }
  .ws-bt b { font-size: 18px; }
  .ws-rt { width: 66px; padding: 5px 3px; gap: 3px; } .ws-rt .ws-rt-ic { width: 34px; height: 34px; }
  .ws-tiers button, .ws-seg button { height: 32px; }
  .ws-bench .ws-stage { min-height: 78px; }
  .ws-box { padding: 6px 8px 7px; gap: 5px; }
  .ws-queue, .ws-rack { min-height: 34px; }
  .ws-bt small { display: none; }
  .ws-bench .ws-stage { min-height: 64px; }
  .ws-bench .ws-sock { width: auto; flex-direction: row; gap: 6px; padding: 5px 7px; }
  .ws-bench .ws-sock small { display: none; }
  .ws-bench .ws-sock .ws-sock-ic { width: 34px; height: 34px; }
  .ws-bench .ws-prod { width: min(64px, 90cqh); }
  .ws-panel { gap: 5px; padding: 7px 9px 8px; }
  .ws-ph { min-height: 20px; }
  .ws-ph + .ws-ph, .ws-pk + .ws-ph, .ws-pk-fix + .ws-ph { margin-top: 0; padding-top: 5px; }
  .ws-pk-r { padding: 4px 3px; gap: 3px; }
  .ws-pk-r button { width: 20px; height: 20px; }
  .ws-info > span { display: flex; justify-content: center; align-items: baseline; gap: 4px; padding: 5px 3px; }
  .ws-info { gap: 4px; }
  .ws-info > span { padding: 5px 2px; gap: 3px; }
  .ws-info small { font-size: 7.5px; letter-spacing: 0; }
  .ws-bench .ws-ring.a { display: none; }
  .ws-bench .ws-stage { gap: 8px; }
  .ws-info b { font-size: 12px; }
  .ws-bot .ws-sec { min-height: 18px; }
  .ws-q .ws-q-ic, .ws-q.empty > i, .ws-rack .ws-rk { width: 30px; height: 30px; }
  .ws-q.run::before { width: 36px; height: 36px; }
}
/* atölye: bilgi satırı ince tek satır, adet + En çok + Üret tek sıra; kalan boşluk sahneye (malzemeler → ürün) kalır */
.ws-bench .ws-info { gap: 5px; grid-template-columns: 1fr .95fr .8fr 1.35fr; }
.ws-bench .ws-info > span { display: flex; justify-content: center; align-items: baseline; gap: 4px; padding: 6px 3px; border-radius: 10px; }
.ws-bench .ws-info small { font-size: 8px; letter-spacing: .03em; }
.ws-bench .ws-info b { font-size: 12.5px; }
.ws-bench .ws-pill { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.3fr); gap: 7px; padding: 6px; border-radius: 18px; }
.ws-bench .ws-go { grid-column: auto; height: 38px; border-radius: 19px; font-size: 15px; }
.ws-bench .ws-step { padding: 2px; }
.ws-bench .ws-step button, .ws-bench .ws-maxb { height: 32px; min-width: 32px; }
.ws-bench .ws-step b { font-size: 16px; }
.ws-bench .ws-maxb { padding: 0 9px; font-size: 11px; }
.ws-bench .ws-stage { min-height: 120px; gap: 14px; }
.ws-bench .ws-prod { width: min(132px, 84cqh); }
.ws-bench .ws-sock { width: 86px; padding: 8px 5px 8px; gap: 5px; }
.ws-bench .ws-sock .ws-sock-ic { width: min(52px, 36cqh); height: min(52px, 36cqh); }
.ws-bench .ws-flow { font-size: 11px; }
@media (max-height: 720px) {
  .ws-bench .ws-stage { min-height: 70px; gap: 8px; }
  .ws-bench .ws-prod { width: min(84px, 92cqh); }
  .ws-bench .ws-sock { width: auto; padding: 5px 7px; }
  .ws-bench .ws-sock .ws-sock-ic { width: 34px; height: 34px; }
  .ws-bench .ws-info small { font-size: 7.5px; letter-spacing: 0; }
  .ws-bench .ws-ring.b { display: none; }
  .ws-bench .ws-sock { padding: 4px 6px; }
}

.ws-step button:disabled, .ws-maxb:disabled { opacity: .38; }
/* sahne genişliğe de sığar: iki üç malzemeli tariflerde yuvalar ve madalyon daralır */
.ws-bench .ws-stage { overflow: hidden; }
.ws-bench .ws-prod { width: min(132px, 84cqh, 32cqw); }
.ws-bench .ws-sock { width: min(86px, 23cqw); }
.ws-bench .ws-sock small { font-size: min(10.5px, 3cqw); }
@media (max-height: 720px) { .ws-bench .ws-prod { width: min(84px, 92cqh, 28cqw); } .ws-bench .ws-sock { width: auto; } }
.ws-sock b { white-space: nowrap; }
@media (max-height: 720px) {
  .ws-bench .ws-prod { width: min(80px, 92cqh, 24cqw); }
  .ws-bench .ws-sock { gap: 5px; padding: 4px 6px 4px 4px; }
  .ws-bench .ws-sock .ws-sock-ic { width: 30px; height: 30px; }
  .ws-bench .ws-sock b { padding: 2px 5px; font-size: 10px; }
  .ws-bench .ws-socks { gap: 6px; }
  .ws-bench .ws-stage { gap: 6px; }
}
.sheet-root { display: contents; }

/* Envanter sürükle-bırak: kaldırılan yığın parmağı izler; kuklaya gelince altın, pencere dışına çıkınca kırmızı yanar */
.inv-ghost { position: fixed !important; left: 0; top: 0; z-index: 500; pointer-events: none; margin: 0; border-radius: 8px; will-change: transform;
  box-shadow: 0 12px 24px -6px #000, 0 0 0 1.5px rgba(231, 194, 106, .5) !important; transition: box-shadow .15s, filter .15s; }
.inv-ghost.eq { box-shadow: 0 12px 24px -6px #000, 0 0 0 2px var(--gold), 0 0 18px rgba(231, 194, 106, .7) !important; }
.inv-ghost.del { filter: saturate(.6); box-shadow: 0 12px 24px -6px #000, 0 0 0 2px #e05a4a, 0 0 18px rgba(224, 90, 74, .7) !important; }
.ic-cell.drag-src { opacity: .3; }
.inv-drag .ic-cell.full:active { transform: none; }
#invDoll.drop-ok { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px rgba(231, 194, 106, .45); transition: box-shadow .2s; }
#invDoll.drop-hot { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 2px var(--gold), inset 0 0 30px rgba(231, 194, 106, .25); }
.dslot.drop-ok .ds-box { z-index: 0; box-shadow: 0 0 0 1.5px rgba(231, 194, 106, .4); }
.dslot.drop-ok .ds-box::before { content: none; }   /* soluk halka öğede; parlak halka ::after'da yanar (geçişte sönmesin) */
.dslot.drop-ok .ds-box::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(231, 194, 106, .7); opacity: 0; animation: fxIn 1s ease-in-out infinite; }   /* FPS 2026-12-02: box-shadow canlandırılmıyor; değişen parıltı iki katmanda (::before söner, ::after yanar), yalnız opaklık canlanır (GPU). Uçlarda görünüm birebir aynı. */
@keyframes dropPulse { 0%, 100% { box-shadow: 0 0 0 1.5px rgba(231, 194, 106, .4); } 50% { box-shadow: 0 0 0 2px var(--gold), 0 0 14px rgba(231, 194, 106, .7); } }

/* Onay kutusu */
.cfm-layer { position: fixed; inset: 0; z-index: 520; display: grid; place-items: center; padding: 20px; background: rgba(8, 7, 6, .55); animation: itcFade .18s ease both; }
.cfm-layer.out { animation: itcFade .18s ease reverse both; }
.cfm { width: min(280px, 100%); display: grid; justify-items: center; gap: 8px; padding: 16px 14px 12px; border-radius: 16px; text-align: center;
  background: linear-gradient(180deg, #24201c, #171412); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #3a332b, 0 20px 40px -10px #000; animation: itcPop .26s var(--spring) both; }
.cfm.danger { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px rgba(224, 90, 74, .45), 0 20px 40px -10px #000; }
.cfm .cfm-ic { width: 52px; height: 52px; }
.cfm b { font: 700 17px/1.2 var(--fb); color: #f2ead8; }
.cfm p { margin: 0; font: 400 12.5px/1.35 var(--fb); color: var(--muted); }
.cfm-b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; margin-top: 6px; }
.cfm-b button { height: 38px; border-radius: 12px; font: 700 14px var(--fb); color: #e6dfd7; background: #1d1a18; box-shadow: 0 0 0 1px #0b0a0a, inset 0 0 0 1px #3a332b; }
.cfm-b button.pri { color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); }
.cfm-b button.bad { color: #fff3ee; background: linear-gradient(180deg, #d4604c, #a8402f); box-shadow: 0 0 0 1px #0b0a0a, inset 0 1px 0 rgba(255, 220, 210, .35); }
/* adanın boştaki paneli: yaklaşan savaş ve etkinlik bildirimleri */
.id-up { display: grid; gap: 5px; }
.id-u { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 7px 10px 7px 7px; border-radius: 11px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 14%, #141210), #121010 70%); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 32%, #24201c); }
.id-ui { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; font-size: 13px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #0e0d0c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.id-u small { display: block; font: 600 8.5px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #cfc8c2); }
.id-u b { display: block; margin-top: 2px; font: 700 12.5px/1.15 var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id-u em { font: 600 10.5px var(--fn); font-style: normal; color: #cfc8c2; white-space: nowrap; }
.id-u.war { position: relative; z-index: 0; }
.id-u.war::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, #24201c), 0 0 12px -4px var(--c); opacity: 0; animation: fxIn 2s ease-in-out infinite; }   /* FPS 2026-12-02: box-shadow canlandırılmıyor; değişen parıltı iki katmanda (::before söner, ::after yanar), yalnız opaklık canlanır (GPU). Uçlarda görünüm birebir aynı. */
@keyframes idWar { 50% { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 70%, #24201c), 0 0 12px -4px var(--c); } }

/* Etkinlik kartları · oyunun dili: menüdeki profil kartıyla aynı kömür zemin, ince altın kenar, Alegreya yazılar;
   arka planda yavaş dönen altın yıldız süsü, yükselen altın zerreler ve ara ara geçen parıltı. Etkinliğin rengi yalnız ikonda. */
.ev-card { background: linear-gradient(180deg, #383126 0%, #2f2a22 48%, #27221d 100%); box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #564a33, 0 10px 22px -12px #000; }
.ev-card .ev-rays, .ev-card .ev-glow, .ev-card .ev-wave { display: none; }
.ev-deco { position: absolute; right: -54px; top: -50px; width: 170px; height: 170px; fill: none; stroke: rgba(201, 162, 78, .16); stroke-width: 1; animation: spin 90s linear infinite; }
.ev-card.special .ev-deco { right: auto; left: 50%; top: 50%; translate: -50% -50%; width: 190px; height: 190px; animation-duration: 120s; animation-direction: reverse; }
.ev-motes { opacity: .55; background-image: radial-gradient(1.2px 1.2px at 14% 30%, #f3d68e, transparent 60%), radial-gradient(1px 1px at 40% 70%, #e7c26a, transparent 60%), radial-gradient(1.4px 1.4px at 68% 22%, #f3d68e, transparent 60%),
  radial-gradient(1px 1px at 86% 60%, #c9a24e, transparent 60%), radial-gradient(1.1px 1.1px at 54% 46%, #f3d68e, transparent 60%); }
.ev-shine { background: linear-gradient(115deg, transparent 38%, rgba(243, 214, 142, .1) 50%, transparent 62%); }
.ev-hd small { font: 700 9px/1 var(--fs); letter-spacing: .14em; color: var(--gold); }
.ev-nm { font: 700 15px/1.1 var(--fb); color: #f6ecd2; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.ev-ic { width: 26px; height: 26px; border-radius: 50%; font-size: 12px; color: var(--c); background: radial-gradient(circle at 50% 35%, #2e2a27, #1b1917 75%);
  box-shadow: 0 0 0 1.5px #c9a24e, 0 0 0 3px #0b0a0a; animation: none; }
.ev-ls > span { padding: 2px 6px 2px 5px; border-radius: 7px; background: rgba(14, 12, 10, .5); box-shadow: inset 0 0 0 1px rgba(86, 74, 51, .55); font: 500 10px/1.35 var(--fb); color: #e6dfd7; }
.ev-ls > span .ic { color: var(--gold); }
.ev-ls em { color: #f3d68e; }
.ev-day { background: rgba(0, 0, 0, .35); }
.ev-day::after { background: linear-gradient(90deg, #a98c4d, #dabe79); box-shadow: 0 0 6px rgba(231, 194, 106, .7); }
.ev-card.special .ev-motes { animation: evTwk 3.2s ease-in-out infinite; }
.ev-orb { position: relative; color: var(--gold); background: radial-gradient(circle at 50% 35%, #2e2a27, #1b1917 75%); box-shadow: 0 0 0 1.5px #c9a24e, 0 0 0 3px #0b0a0a; animation: evOrbG 3.6s ease-in-out infinite; }
/* FPS 2026-12-02: halka ve parıltı ::after'da, yalnız opaklığı canlanır (box-shadow canlandırması her karede boyatıyordu) */
.ev-orb::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: 0 0 0 1.5px #f3d68e, 0 0 16px rgba(231, 194, 106, .45); opacity: 0; animation: evOrbA 3.6s ease-in-out infinite; }
@keyframes evOrbG { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes evOrbA { 50% { opacity: 1; } }
.ev-empty b { font: 700 13.5px/1 var(--fs); letter-spacing: .04em; color: #f6ecd2; }
.ev-empty small { color: var(--muted); }
.ev-hero { background: linear-gradient(180deg, #383126 0%, #2f2a22 48%, #27221d 100%); box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #564a33; }
.ev-hero .ev-deco { right: 50%; top: 50%; translate: 50% -50%; width: 240px; height: 240px; }
/* özellikli parça: çanta hücresinin sol altında küçük altın elmas */
.ic-cell.perk::after { content: ''; position: absolute; left: 4px; bottom: 4px; z-index: 6; width: 5px; height: 5px; rotate: 45deg; background: #f3d68e; box-shadow: 0 0 0 1px #0b0a0a, 0 0 5px rgba(243, 214, 142, .8); pointer-events: none; }
/* Tekrar hoş geldin: küçük kart, gelenler adetli ikonlar */
.wb-layer { position: fixed; inset: 0; z-index: 510; display: grid; place-items: center; padding: 20px; background: rgba(8, 7, 6, .45); animation: itcFade .2s ease both; }
.wb-layer.out { animation: itcFade .2s ease reverse both; }
.wb { width: min(272px, 100%); display: grid; justify-items: center; gap: 4px; padding: 16px 14px 12px; border-radius: 18px; text-align: center;
  background: linear-gradient(180deg, #383126 0%, #2a2520 40%, #1d1a17 100%); box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #564a33, 0 20px 40px -10px #000; animation: itcPop .3s var(--spring) both; }
.wb-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; color: var(--gold); background: radial-gradient(circle at 50% 35%, #2e2a27, #1b1917 75%); box-shadow: 0 0 0 1.5px #c9a24e, 0 0 0 3px #0b0a0a; margin-bottom: 2px; }
.wb-t { font: 700 16px/1.1 var(--fs); letter-spacing: .02em; color: #f6ecd2; }
.wb-s { font: 400 11.5px var(--fb); color: var(--muted); }
.wb-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 4px; }
.wb-it { width: 44px; height: 44px; animation: wbIn .4s var(--spring) both; animation-delay: calc(.12s + var(--i) * .04s); }
.wb-it .ifr-n { color: #9be58c; }
.wb-more { align-self: center; padding: 2px 7px; border-radius: 8px; font: 600 11px var(--fn); color: var(--muted); box-shadow: inset 0 0 0 1px #3a332b; }
.wb-go { width: 100%; height: 36px; margin-top: 4px; border-radius: 12px; font: 700 14px var(--fb); color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); box-shadow: 0 0 0 1px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .55); }
@keyframes wbIn { from { opacity: 0; transform: scale(.6) translateY(6px); } }

/* Statlar penceresi */
.stt { display: grid; gap: 10px; align-content: start; }
.stt-sec { display: grid; gap: 4px; padding: 9px 10px 10px; border-radius: 14px; background: #131110; box-shadow: inset 0 0 0 1px #2a2521; animation: qbIn .4s var(--spring) both; }
.stt-sec h4 { margin: 0 0 3px; display: flex; align-items: baseline; gap: 8px; font: 700 10px/1 var(--fs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.stt-sec h4 small { font: 400 10px var(--fb); letter-spacing: 0; text-transform: none; color: var(--dim); }
.stt-r { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; min-height: 30px; }
.stt-r.off { opacity: .55; }
.stt-ic { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; color: var(--gold); background: #1c1916; box-shadow: inset 0 0 0 1px #3a332b; }
.stt-k { display: grid; gap: 1px; min-width: 0; font: 600 12.5px/1.2 var(--fb); color: #e6dfd7; }
.stt-k small { font: 400 10px/1.2 var(--fb); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stt-r > b { font: 700 13.5px var(--fn); color: var(--cream); text-align: right; }
.stt-r > b small { font: 400 9.5px var(--fb); color: var(--dim); }
.stt-tbl { display: grid; gap: 2px; padding: 8px; border-radius: 14px; background: #131110; box-shadow: inset 0 0 0 1px #2a2521; }
.stt-th, .stt-tr { display: grid; grid-template-columns: minmax(0, 1.7fr) repeat(5, minmax(0, 1fr)); align-items: center; gap: 2px; }
.stt-th { padding-bottom: 6px; border-bottom: 1px solid #2a2521; margin-bottom: 2px; }
.stt-th > span { display: grid; justify-items: center; gap: 2px; color: var(--gold); font-size: 14px; }
.stt-th small { font: 700 9px var(--fs); color: var(--dim); }
.stt-tr { min-height: 30px; border-radius: 8px; }
.stt-tr:nth-child(odd) { background: rgba(255, 255, 255, .02); }
.stt-tr .stt-k { display: flex; align-items: center; gap: 6px; font-size: 11.5px; padding-left: 4px; white-space: nowrap; overflow: hidden; }
.stt-tr .stt-k .ic { flex: none; font-size: 11px; color: var(--gold); }
.stt-tr > b { text-align: center; font: 700 11.5px var(--fn); color: #9be58c; }
.stt-tr > b.z { color: #4e4640; }
.stt-items { display: grid; gap: 6px; }
.stt-it { display: flex; gap: 10px; align-items: flex-start; padding: 7px 8px; border-radius: 12px; background: #131110; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--qc) 30%, #2a2521); animation: qbIn .35s var(--spring) both; }
.stt-fr { width: 38px; height: 38px; flex: none; }
.stt-in { flex: 1; min-width: 0; display: grid; gap: 4px; }
.stt-in > b { font: 700 13px/1.2 var(--fb); color: #f2ead8; }
.stt-pk { display: flex; flex-wrap: wrap; gap: 4px; }
.stt-pk i { padding: 2px 7px; border-radius: 6px; font: 600 10.5px/1.5 var(--fb); font-style: normal; color: #e6dfd7; background: rgba(0, 0, 0, .3); box-shadow: inset 2px 0 0 var(--pc); }
.stt-pk i em { font-style: normal; color: var(--pc); font-weight: 700; }
.stt-pk i.off { opacity: .5; }
.stt-pk i.none { box-shadow: none; color: var(--dim); }

/* DEV paneli (geçici) */
.dev-btn { position: fixed; z-index: 60; left: 10px; bottom: calc(var(--safe-b, 0px) + 74px); display: flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px 0 7px; border-radius: 13px;
  font: 800 10px/1 var(--fn); letter-spacing: .08em; color: #1a1410; background: linear-gradient(180deg, #9be58c, #5fae52); box-shadow: 0 0 0 1.5px #0b0a0a, 0 4px 10px rgba(0, 0, 0, .5); opacity: .85; }
.dev-btn .ic { font-size: 11px; }
.dv { display: grid; gap: 8px; align-content: start; min-height: 0; }
.dv-win .sh-body { overflow: hidden; }
.dv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.dv-l { min-width: 52px; font: 600 11px var(--fb); color: var(--muted); }
.dv-in { flex: 1; min-width: 80px; height: 32px; padding: 0 10px; border-radius: 9px; border: 0; outline: 0; background: #121010; box-shadow: inset 0 0 0 1px #2e2925; color: var(--text); font: 500 13px var(--fb); }
.dv-seg { display: flex; gap: 3px; }
.dv-seg button, .dv-cats button, .dv-n, .dv-b { height: 30px; padding: 0 9px; border-radius: 8px; font: 600 11.5px var(--fb); color: #e6dfd7; background: #1d1a18; box-shadow: inset 0 0 0 1px #3a332b; display: inline-flex; align-items: center; gap: 4px; }
.dv-seg button { width: 30px; padding: 0; justify-content: center; color: var(--c); font-weight: 800; }
.dv-seg button.on, .dv-cats button.on, .dv-n.on, .dv-b.on { box-shadow: inset 0 0 0 1.5px var(--c, var(--gold)); color: var(--c, var(--gold)); background: #26211a; }
.dv-cats button { height: 26px; font-size: 10.5px; }
.dv-b .ic { color: var(--c); }
.dv-b.bad { color: #ff8a7a; box-shadow: inset 0 0 0 1px rgba(255, 120, 100, .45); }
.dv-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; max-height: 360px; overflow-y: auto; scrollbar-width: none; padding: 6px; border-radius: 12px; background: #121010; box-shadow: inset 0 0 0 1px #24201d; }
.dv-it { aspect-ratio: 1; width: 100%; height: auto; }
.dv-profs { display: grid; gap: 4px; }
.dv-p { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 6px 4px 9px; border-radius: 10px; background: #131110; box-shadow: inset 0 0 0 1px #2a2521; }
.dv-p > span:first-child { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--gold); }
.dv-p b { font: 600 12px var(--fb); color: #e6dfd7; white-space: nowrap; }
.dv-st { display: flex; align-items: center; gap: 3px; }
.dv-st button { height: 26px; min-width: 30px; border-radius: 7px; font: 700 11px var(--fn); color: #e6dfd7; background: #1d1a18; box-shadow: inset 0 0 0 1px #3a332b; }
.dv-st b.num { min-width: 30px; text-align: center; font: 700 14px var(--fn); color: var(--gold); }
.dv-sec { display: grid; gap: 6px; padding: 9px 10px; border-radius: 14px; background: #131110; box-shadow: inset 0 0 0 1px #2a2521; }
.dv-sec h4 { margin: 0; font: 700 10px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.dv-ev { min-width: 120px; text-align: center; font: 700 12px var(--fb); color: #f2ead8; }
@media (max-height: 720px) { .dv-grid { max-height: 250px; } .dv-p { padding-top: 2px; padding-bottom: 2px; } }

/* envanter: Statlar ve Ustalık yan yana; kilitli kademe hücresi */
.inv-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.inv-links .inv-link { padding: 5px 6px; gap: 6px; font-size: 11.5px; }
.inv-links .inv-link .qi { width: 24px; height: 24px; font-size: 11px; }
.ic-cell.locked { filter: grayscale(.85) brightness(.6); }
.ic-cell.locked::before { content: ''; position: absolute; right: 3px; bottom: 3px; z-index: 6; width: 12px; height: 12px; border-radius: 4px;
  background: #0e0d0c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3d68e' stroke-width='2.6'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / 9px no-repeat; box-shadow: 0 0 0 1px #0b0a0a; }

/* Ustalık penceresi (Albion'un kader tahtası gibi) */
.ms { display: flex; flex-direction: column; gap: 8px; min-height: 0; height: 100%; }
.ms-win .sh-body { overflow: hidden; }
.ms-rings { flex: none; display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; padding: 3px 2px 4px; }
.ms-grp { flex: none; writing-mode: vertical-rl; rotate: 180deg; font: 700 8px var(--fs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); padding: 2px 0; border-left: 1px solid #3a332b; }
.ms-ring { position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; padding: 0; display: grid; place-items: center;
  background: conic-gradient(#e7c26a calc(var(--k) * 360deg), rgba(231, 194, 106, .14) 0); box-shadow: 0 0 0 1px #0b0a0a; transition: transform .2s var(--spring); }
.ms-ring::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: radial-gradient(circle at 45% 35%, #2e2a27, #141210 75%); }
.ms-ring img { position: relative; width: 70%; height: 70%; object-fit: contain; filter: saturate(.7) brightness(.85); }
.ms-ring b { position: absolute; right: -3px; bottom: -3px; min-width: 18px; height: 16px; padding: 0 3px; border-radius: 8px; display: grid; place-items: center; font: 700 9.5px var(--fn); color: #1a1410; background: #c9a24e; box-shadow: 0 0 0 1.5px #0b0a0a; }
.ms-ring.worn::after { content: ''; position: absolute; left: -1px; top: -1px; width: 8px; height: 8px; border-radius: 50%; background: #8fe07f; box-shadow: 0 0 0 1.5px #0b0a0a, 0 0 6px #8fe07f; }
.ms-ring.on { transform: scale(1.1); box-shadow: 0 0 0 1px #0b0a0a, 0 0 12px rgba(231, 194, 106, .6); }
.ms-ring.on img { filter: none; }
.ms-card { flex: none; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 16px; background: linear-gradient(180deg, #383126, #27221d); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #564a33; }
.ms-big { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(#f3d68e calc(var(--k) * 360deg), rgba(231, 194, 106, .16) 0); box-shadow: 0 0 0 1.5px #0b0a0a, 0 0 14px -4px rgba(231, 194, 106, .7); }
.ms-big::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle at 45% 35%, #2e2a27, #141210 75%); }
.ms-big img { position: relative; width: 68%; height: 68%; object-fit: contain; }
.ms-big b { position: absolute; bottom: -6px; padding: 1px 7px; border-radius: 8px; font: 700 11px var(--fn); color: #1a1410; background: linear-gradient(180deg, #d5b86b, #a98c4d); box-shadow: 0 0 0 1.5px #0b0a0a; }
.ms-ct { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ms-ct > b { font: 700 15px/1.1 var(--fs); color: #f6ecd2; }
.ms-ct > small { font: 400 10.5px var(--fb); color: var(--muted); }
.ms-xp { display: block; height: 5px; border-radius: 3px; background: #1a1612; overflow: hidden; } .ms-xp > i { display: block; height: 100%; background: linear-gradient(90deg, #a98c4d, #dabe79); }
.ms-ct > em { font: 600 10px var(--fn); font-style: normal; color: #cfc8c2; }
.ms-kv { flex: none; display: grid; gap: 4px; }
.ms-kv > span { display: grid; justify-items: center; padding: 3px 7px; border-radius: 8px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px #3a332b; }
.ms-kv small { font: 600 8px var(--fb); letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.ms-kv b { font: 700 12px var(--fn); color: var(--cream); }
.ms-kv .hot { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 10px -2px rgba(231, 194, 106, .6); } .ms-kv .hot b { color: var(--gold); }
.ms-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.ms-arc { flex: none; display: flex; align-items: center; justify-content: center; gap: 0; padding: 2px 0; }
.ms-arcl { width: 34px; height: 2px; background: linear-gradient(90deg, #5a4a2e, #8a6a2c, #5a4a2e); }
.ms-tier { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 1px; color: #6f6660; background: radial-gradient(circle at 45% 35%, #2a2622, #121010 75%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px #3a332b; }
.ms-tier b { font: 900 14px/1 Cinzel, var(--fs); } .ms-tier small { font: 600 8.5px var(--fb); }
.ms-tier.open { color: #1a1410; background: radial-gradient(circle at 38% 28%, #fff3cc, #f0d07c 40%, #c9a24e 80%); box-shadow: 0 0 0 1.5px #0b0a0a, 0 0 14px rgba(231, 194, 106, .6); }
.ms-tier.can { color: var(--gold); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px var(--gold); animation: nvmGlow 2.4s ease-in-out infinite; }
.ms-tier.sel, .ms-node.sel .ms-nd { outline: 2px solid #f3d68e; outline-offset: 2px; }
.ms-tree { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.ms-br { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 3px; border-radius: 14px; background: #131110; box-shadow: inset 0 0 0 1px #2a2521; }
.ms-br::before { content: ''; position: absolute; left: 50%; top: 34px; bottom: 30px; width: 2px; translate: -50% 0; background: linear-gradient(180deg, #3a332b, #5a4a2e, #3a332b); }
.ms-bh { position: relative; display: flex; gap: 5px; align-items: baseline; font: 700 9.5px var(--fs); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.ms-bh em { font: 700 10px var(--fn); font-style: normal; color: var(--muted); }
.ms-node { position: relative; display: grid; justify-items: center; gap: 2px; padding: 0; background: none; width: 100%; }
.ms-nd { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 45% 35%, #2a2622, #141210 75%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px #4a4030; }
.ms-nd b { font: 700 9.5px var(--fn); color: #cfc8c2; }
.ms-node small { max-width: 100%; font: 600 9px/1.1 var(--fb); color: #cfc8c2; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #131110; padding: 0 2px; }
.ms-node.got .ms-nd { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 2px #c9a24e, 0 0 10px -2px rgba(231, 194, 106, .55); }
.ms-node.got .ms-nd b { color: #f3d68e; }
.ms-node.max .ms-nd { background: radial-gradient(circle at 38% 28%, #fff3cc, #f0d07c 40%, #c9a24e 80%); } .ms-node.max .ms-nd b { color: #1a1410; }
.ms-node.lock { opacity: .45; }
.ms-node.soon small { color: #8a807b; }
.ms-node.cap .ms-nd { width: 44px; height: 44px; border-radius: 12px; rotate: 45deg; } .ms-node.cap .ms-nd b { rotate: -45deg; }
.ms-node.cap small { margin-top: 4px; color: var(--gold); }
.ms-det { flex: none; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 8px 10px; border-radius: 14px; background: linear-gradient(180deg, #221e1a, #171412); box-shadow: inset 0 0 0 1px #3a332b; min-height: 52px; }
.ms-dt { font: 700 13px/1.2 var(--fb); color: #f2ead8; } .ms-dt em { font: 700 11px var(--fn); font-style: normal; color: var(--gold); margin-left: 4px; }
.ms-det small { grid-column: 1; font: 400 10.5px/1.3 var(--fb); color: var(--muted); } .ms-det small i { color: #b4a9c8; }
.ms-go { grid-row: 1 / span 2; grid-column: 2; height: 36px; padding: 0 14px; border-radius: 12px; font: 700 13px var(--fb); color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); box-shadow: 0 0 0 1px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .55); }
.ms-go:disabled { filter: grayscale(.8) brightness(.6); }
.ms-p { margin: 0; font: 400 12px/1.45 var(--fb); color: #cfc8c2; }
@media (max-height: 720px) { .ms-nd { width: 32px; height: 32px; } .ms-node.cap .ms-nd { width: 36px; height: 36px; } .ms-tier { width: 42px; height: 42px; } .ms-big { width: 46px; height: 46px; } .ms-ring { width: 36px; height: 36px; } .ms-br { gap: 2px; } }
.dv-win .sh-body .dv { overflow-y: auto; scrollbar-width: none; max-height: 100%; }
.ms-br { justify-content: space-between; padding-bottom: 10px; } .ms-br::before { top: 40px; bottom: 40px; }
/* ustalık halkaları: yatay kaydırma yok; dokuz halka genişliğe göre küçülür */
.ms-rings { overflow: visible; gap: 4px; padding: 4px 4px 6px; }
.ms-ring { flex: 1 1 0; min-width: 0; width: auto; height: auto; max-width: 42px; aspect-ratio: 1; }
.ms-ring b { right: -4px; bottom: -4px; min-width: 15px; height: 14px; font-size: 8.5px; padding: 0 2px; }
.ms-ring.worn::after { width: 7px; height: 7px; left: 0; top: 0; }
.ms-grp { font-size: 7px; letter-spacing: .1em; }
@media (max-height: 720px) { .ms-ring { width: auto; height: auto; } }
/* ada paneli: son XP alan ustalık hatları */
.id-t small { margin-left: 6px; font: 400 9px var(--fb); letter-spacing: 0; text-transform: none; color: var(--dim); }
.id-mast span > .ic { color: var(--gold); }
.id-mast i b { background: linear-gradient(90deg, #a98c4d, #dabe79); }
/* ustalık düğümü penceresi: eşya kartı gibi küçük, düğümün yanında */
.mn-pop { position: fixed; z-index: 420; width: min(240px, calc(100vw - 16px)); border-radius: 14px; overflow: hidden;
  background: linear-gradient(180deg, #2c2620, #171412); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #564a33, 0 16px 34px -8px #000; animation: itcPop .22s var(--spring) both; }
.mn-pop-in { display: grid; justify-items: center; gap: 4px; padding: 12px 11px 10px; text-align: center; }
.mnp-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 45% 35%, #2a2622, #141210 75%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1.5px #4a4030; margin-bottom: 2px; }
.mnp-ic b { font: 700 11px var(--fn); color: #cfc8c2; }
.mnp-ic.got { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 2px #c9a24e, 0 0 12px -2px rgba(231, 194, 106, .6); } .mnp-ic.got b { color: #f3d68e; }
.mnp-ic.max, .mnp-ic.tier.open { background: radial-gradient(circle at 38% 28%, #fff3cc, #f0d07c 40%, #c9a24e 80%); } .mnp-ic.max b, .mnp-ic.tier.open b { color: #1a1410; }
.mnp-ic.cap { border-radius: 10px; rotate: 45deg; } .mnp-ic.cap b { rotate: -45deg; }
.mnp-ic.tier b { font: 900 15px Cinzel, var(--fs); }
.mnp-t { font: 700 15px/1.15 var(--fb); color: #f6ecd2; }
.mnp-s { font: 400 10.5px var(--fb); color: var(--muted); } .mnp-s i { color: #b4a9c8; }
.mnp-kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: 100%; margin-top: 4px; }
.mnp-kv span { display: grid; gap: 2px; padding: 5px 4px; border-radius: 8px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px #3a332b; }
.mnp-kv small { font: 600 8px var(--fb); letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.mnp-kv b { font: 700 11px/1.2 var(--fb); color: #e6dfd7; }
.mnp-p { margin: 2px 0 0; font: 400 10.5px/1.35 var(--fb); color: var(--muted); } .mnp-p.ok { color: #9be58c; } .mnp-p.no { color: #f0a08c; }
.mnp-go { width: 100%; height: 34px; margin-top: 4px; border-radius: 10px; font: 700 13px var(--fb); color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); box-shadow: 0 0 0 1px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .55); }
.mnp-go:disabled { filter: grayscale(.8) brightness(.6); }

/* İşlemehane / Zanaathane: atölye kartları · her atölye kendi renginde yanan bir tabela:
   solda XP halkalı madalyon ve seviye, ortada atölyenin özel adı, sözü ve ne yaptığı (eşya çerçeveleriyle), sağda durum */
.wh-note { flex: none; margin: 0; font: 400 12px var(--fb); color: var(--muted); }
.wh-list { flex: 1; min-height: 0; display: grid; gap: 7px; grid-auto-rows: minmax(0, 1fr); container-type: size; }
.wh-card { position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 0 10px 0 12px; border-radius: 16px; text-align: left; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--c) 30%, transparent), transparent 55%), linear-gradient(180deg, #2c261f, #1a1714 60%, #141210);
  box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, #3a332b), inset 0 1px 0 rgba(255, 236, 200, .08), 0 8px 18px -12px #000;
  animation: whIn .45s var(--spring) both; animation-delay: calc(var(--i) * .05s); transition: transform .15s; }
@keyframes whIn { from { opacity: 0; transform: translateX(-14px) scale(.98); } }
/* iç süs çerçevesi ve köşe çivileri */
.wh-card::before { content: ''; position: absolute; inset: 4px; z-index: -1; border-radius: 12px; pointer-events: none; border: 1px solid color-mix(in srgb, var(--c) 22%, transparent);
  background: radial-gradient(circle at 8px 8px, color-mix(in srgb, var(--c) 70%, #f3d68e) 1.3px, transparent 2px), radial-gradient(circle at calc(100% - 8px) 8px, color-mix(in srgb, var(--c) 70%, #f3d68e) 1.3px, transparent 2px),
    radial-gradient(circle at 8px calc(100% - 8px), color-mix(in srgb, var(--c) 70%, #f3d68e) 1.3px, transparent 2px), radial-gradient(circle at calc(100% - 8px) calc(100% - 8px), color-mix(in srgb, var(--c) 70%, #f3d68e) 1.3px, transparent 2px); }
/* ara ara geçen parıltı */
.wh-card::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(110deg, transparent 40%, color-mix(in srgb, var(--c) 18%, rgba(255, 240, 210, .08)) 50%, transparent 60%);
  right: auto; left: -260%; width: 780%; background-size: 33.3333% 100%; animation: whShineT 6s ease-in-out infinite; animation-delay: calc(var(--i) * .7s); }
@keyframes whShine { 0%, 55% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
/* FPS 2026-12-02: arka plan kaydırma yerine katman kayar (transform, GPU); görünüm aynı */
/* arka plan döşenerek tekrar ettiği için katman üç döşeme genişliğinde (3 × 260%, solda bir döşeme); kayma (1 - 2,6) × 1,3 / 7,8 = -26,667% · 250%'lik döşemede (1 - 2,5) × 1,3 / 7,5 = -26% */
@keyframes whShineT { 0%, 55% { transform: translateX(-26.6667%); } 100% { transform: translateX(26.6667%); } }
@keyframes whShineT25 { 0%, 55% { transform: translateX(-26%); } 100% { transform: translateX(26%); } }
/* atölyenin renginde yükselen kıvılcımlar */
.wh-fx { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; z-index: -1; pointer-events: none; overflow: hidden; -webkit-mask: linear-gradient(90deg, #000 40%, transparent); mask: linear-gradient(90deg, #000 40%, transparent); }
.wh-fx i { position: absolute; inset: -40% 0 0; background-image: radial-gradient(1.4px 1.4px at 12% 80%, var(--c), transparent 70%), radial-gradient(1px 1px at 30% 60%, #f3d68e, transparent 70%),
  radial-gradient(1.6px 1.6px at 48% 90%, var(--c), transparent 70%), radial-gradient(1px 1px at 22% 30%, var(--c), transparent 70%), radial-gradient(1.2px 1.2px at 62% 50%, #f3d68e, transparent 70%), radial-gradient(1px 1px at 8% 45%, #f3d68e, transparent 70%);
  animation: whRise 5s linear infinite; animation-delay: calc(var(--i) * -1.1s); opacity: .8; }
@keyframes whRise { from { transform: translateY(30%); opacity: 0; } 20% { opacity: .8; } to { transform: translateY(-20%); opacity: 0; } }
.wh-card:active { transform: scale(.98); }
/* madalyon: XP'si kadar dolan altın halka, ortada atölyenin resmi, altta seviye */
.wh-med { --m: clamp(46px, calc(20cqh - 30px), 66px); position: relative; width: var(--m); height: var(--m); display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--c) 30%, #2e2a27), #141210 72%);
  box-shadow: 0 0 0 3px #0b0a0a, 0 0 0 4px color-mix(in srgb, var(--c) 40%, #3a332b), 0 0 18px -4px color-mix(in srgb, var(--c) 70%, transparent); }
.wh-med::before { content: ''; position: absolute; inset: -3px; border-radius: 50%; background: conic-gradient(#f3d68e var(--x), transparent 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px)); }
.wh-med img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .6)); animation: whBob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes whBob { 50% { transform: translateY(-2px) rotate(-3deg); } }
.wh-med b { position: absolute; bottom: -7px; left: 50%; translate: -50% 0; min-width: 22px; height: 17px; padding: 0 5px; display: grid; place-items: center; border-radius: 9px; font: 700 11px/1 var(--fn); color: #1a1410;
  background: linear-gradient(180deg, #d5b86b, #a98c4d); box-shadow: 0 0 0 1.5px #0b0a0a; }
.wh-tx { display: grid; gap: 2px; min-width: 0; }
.wh-kick { font: 700 8.5px/1 var(--fu); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 75%, #f3d68e); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-nm { font: 700 17px/1.1 var(--fs); letter-spacing: .02em; color: #f6ecd2; text-shadow: 0 1px 0 #000, 0 0 14px color-mix(in srgb, var(--c) 35%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-tag { font: italic 400 11px/1.2 var(--fb); color: #b9b0a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-flow { display: flex; align-items: center; gap: 4px; margin-top: 3px; min-width: 0; }
.wh-it { width: clamp(24px, calc(7cqh - 2px), 30px); height: clamp(24px, calc(7cqh - 2px), 30px); flex: none; }
.wh-arr { font-size: 10px; color: color-mix(in srgb, var(--c) 70%, #f3d68e); animation: whArr 1.6s ease-in-out infinite; }
@keyframes whArr { 50% { transform: translateX(2px); opacity: .6; } }
.wh-flow small { margin-left: 4px; font: 500 10.5px var(--fb); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wh-flow .wh-more { flex: none; overflow: visible; margin-left: 2px; padding: 2px 6px; border-radius: 7px; font: 600 10.5px var(--fn); color: #cfc8c2; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px #3a332b; }
.wh-soon { display: inline-flex; align-items: center; gap: 5px; margin: 0 !important; } .wh-soon .ic { font-size: 9px; }
.wh-side { display: grid; justify-items: end; align-content: space-between; align-self: stretch; padding: 10px 0; }
.wh-st { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 9px; font: 600 10.5px var(--fb); color: var(--dim); background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px #3a332b; }
.wh-st.busy { color: #8fe07f; box-shadow: inset 0 0 0 1px rgba(143, 224, 127, .45); }
.wh-st .dot { width: 6px; height: 6px; border-radius: 50%; background: #5fd36f; box-shadow: 0 0 6px #5fd36f; animation: pulse 1.6s ease-in-out infinite; }
.wh-go { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; color: #1a1410; background: linear-gradient(180deg, #d5b86b, #a98c4d); box-shadow: 0 0 0 1.5px #0b0a0a, 0 0 10px -2px rgba(231, 194, 106, .6); }
.wh-card.off { filter: saturate(.25) brightness(.7); }
.wh-card.off .wh-go { background: #2a2520; color: var(--dim); box-shadow: 0 0 0 1.5px #0b0a0a; }
.wh-card.off .wh-fx, .wh-card.off::after { display: none; }
@media (max-height: 700px) { .wh-tag { display: none; } .wh-nm { font-size: 15.5px; } .wh-side { padding: 7px 0; } .wh-go { width: 22px; height: 22px; } }
.ws-ctl.solo { grid-template-columns: 1fr; }
.ws-hd .te-back { flex: none; }

/* Kâhya: sen yokken yapılacak tek iş */
.kh { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 9px; }
.kh-now { flex: none; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 16px;
  background: linear-gradient(100deg, #3a3122, #241f1a 70%); box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #8a6d33, 0 0 18px -8px rgba(231, 194, 106, .6); position: relative; overflow: hidden; }
.kh-now::after { content: ''; position: absolute; inset: 0; right: auto; left: -250%; width: 750%; background-size: 33.3333% 100%; background-image: linear-gradient(115deg, transparent 40%, rgba(243, 214, 142, .12) 50%, transparent 60%); animation: khShineT 4.5s ease-in-out infinite; pointer-events: none; }
@keyframes khShine { from { background-position: 120% 0; } to { background-position: -120% 0; } }
/* FPS 2026-12-02: arka plan kaydırma yerine katman kayar (transform, GPU); görünüm aynı */
@keyframes khShineT { from { transform: translateX(-24%); } to { transform: translateX(24%); } }   /* üç döşeme (3 × 250%): (1 - 2,5) × 1,2 / 7,5 */
.kh-now img { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); animation: khBob 3s ease-in-out infinite; }
@keyframes khBob { 50% { transform: translateY(-3px) rotate(-3deg); } }
.kh-now.none { background: #191715; box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #3a332b; }
.kh-now.none::after { display: none; }
.kh-now.warn { box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #a8402f; }
.kh-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font-size: 19px; color: var(--muted); background: #121010; box-shadow: inset 0 0 0 1px #3a332b; }
.kh-nt { display: grid; gap: 2px; min-width: 0; }
.kh-nt small { font: 700 8.5px/1 var(--fu); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.kh-nt > b { font: 700 15px/1.15 var(--fs); color: #f6ecd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kh-nt em { font: 500 11px var(--fb); font-style: normal; color: #cfc8c2; } .kh-nt em b { color: var(--gold); }
.kh-now.none .kh-nt > b { color: #cfc8c2; } .kh-now.warn .kh-nt em { color: #e88a74; }
.kh-x { z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; color: var(--muted); background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px #3a332b; }
.kh-cmp { flex: none; display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; column-gap: 8px; row-gap: 3px; padding: 7px 10px; border-radius: 12px; background: #141210; box-shadow: inset 0 0 0 1px #2c2721; }
.kh-cmp > b { font: 700 9px var(--fu); letter-spacing: .12em; text-transform: uppercase; color: #cfc8c2; text-align: center; }
.kh-cmp > b.k { color: var(--gold); }
.kh-cmp small { font: 500 10.5px var(--fb); color: var(--muted); }
.kh-cmp > span { font: 600 11px var(--fb); color: #9be58c; text-align: center; }
.kh-cmp > span.k { color: #e0a070; }
.kh-seg { flex: none; position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 12px; background: #121010; box-shadow: inset 0 0 0 1px #2c2721; }
.kh-seg > i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 9px; background: linear-gradient(180deg, #d5b86b, #b99950); transform: translateX(calc(var(--i) * 100%)); transition: transform .3s var(--spring); }
.kh-seg button { position: relative; height: 30px; font: 700 13px var(--fb); color: #cfc8c2; transition: color .2s; }
.kh-seg button.on { color: #1a1410; }
.kh-list { flex: 1; min-height: 0; display: grid; grid-auto-rows: minmax(0, 1fr); gap: 6px; }
.kh-row { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 9px; row-gap: 5px; align-items: center; align-content: center; padding: 6px 9px 7px 7px; border-radius: 14px;
  background: linear-gradient(180deg, #2a2520, #1d1a17); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #3a332b; transition: box-shadow .25s; animation: khIn .35s var(--spring) both; }
.kh-row:nth-child(2) { animation-delay: .03s; } .kh-row:nth-child(3) { animation-delay: .06s; } .kh-row:nth-child(4) { animation-delay: .09s; } .kh-row:nth-child(5) { animation-delay: .12s; }
@keyframes khIn { from { opacity: 0; transform: translateY(6px); } }
.kh-row.on { background: linear-gradient(180deg, #3a3122, #241f1a); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #c9a24e; }
.kh-row img { grid-row: span 2; width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.kh-rt { display: grid; gap: 1px; min-width: 0; }
.kh-rt b { font: 700 13.5px/1.1 var(--fs); color: #f6ecd2; }
.kh-rt small { font: 400 10.5px var(--fb); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kh-rt small b { font: inherit; color: var(--gold); } .kh-rt small em { font-style: normal; color: #9be58c; }
.kh-tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.kh-tiers button { height: 24px; display: grid; place-items: center; border-radius: 7px; font: 700 11px var(--fs); color: #cfc8c2; background: #141210; box-shadow: inset 0 0 0 1px #3a332b; transition: transform .15s, background .2s; }
.kh-tiers button:active { transform: scale(.92); }
.kh-tiers button.lock { color: #5e564e; font-size: 9px; }
.kh-tiers button.on { color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); box-shadow: 0 0 0 1px #0b0a0a, 0 0 10px -2px rgba(231, 194, 106, .7); }
.kh-note { flex: none; margin: 0; text-align: center; font: 400 10px/1.3 var(--fb); color: var(--dim); }
@media (max-height: 700px) { .kh-cmp { row-gap: 1px; padding: 5px 10px; } .kh-now img, .kh-ic { width: 38px; height: 38px; } .kh-row img { width: 34px; height: 34px; } .kh-tiers button { height: 22px; } }
/* hoş geldin kartında Kâhya satırı, adada Kâhya düğmesi */
.wb-k { display: flex; align-items: center; gap: 7px; margin: 6px 0 2px; padding: 6px 9px; border-radius: 10px; text-align: left; font: 400 11px/1.3 var(--fb); color: #cfc8c2; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px #3a332b; }
.wb-k > .ic { flex: none; color: var(--gold); } .wb-k b { color: #f6ecd2; } .wb-k em { font-style: normal; color: #e0a070; }
.wb-k.none { box-shadow: inset 0 0 0 1px #8a6d33; } .wb-k.none b { color: var(--gold); }
.id-kh { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 6px 10px 6px 7px; border-radius: 11px; text-align: left;
  background: linear-gradient(90deg, #3a3122, #161412 75%); box-shadow: inset 0 0 0 1px #8a6d33; }
.id-kh img { width: 28px; height: 28px; object-fit: contain; }
.id-kh > .ic { width: 28px; height: 28px; display: grid; place-items: center; color: var(--gold); }
.id-kh small { display: block; font: 600 8.5px/1 var(--fb); letter-spacing: .1em; text-transform: uppercase; color: var(--gold2); }
.id-kh b { display: block; margin-top: 2px; font: 700 12.5px/1.15 var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.id-kh em { font: 700 11px var(--fs); font-style: normal; color: var(--gold); }
.id-kh.none { background: #161412; box-shadow: inset 0 0 0 1px #3a332b; } .id-kh.none b { color: #cfc8c2; }
.kh-seg button { display: grid; place-items: center; text-align: center; }
.kh-cmp-s { display: none; flex: none; margin: 0; padding: 6px 10px; border-radius: 10px; text-align: center; font: 400 10.5px/1.3 var(--fb); color: var(--muted); background: #141210; box-shadow: inset 0 0 0 1px #2c2721; }
.kh-cmp-s b { font-weight: 600; color: #e0a070; }
@media (max-height: 700px) { .kh-cmp { display: none; } .kh-cmp-s { display: block; } .kh { gap: 7px; } .kh-row { row-gap: 4px; padding: 5px 9px 6px 7px; } }
.kh-rt small em.no { color: #e88a74; }

/* Kut Ocağı · şehir binası: kapıdaki kor nabız gibi atar, tepedeki kut ateşi titrer, çevresinde kıvılcımlar süzülür */
.cb-kut { animation: cbKut 2.6s ease-in-out infinite; }
@keyframes cbKut { 50% { opacity: .95; } }
.cb-kutf { transform-box: fill-box; transform-origin: 50% 100%; animation: cbKutF .9s ease-in-out infinite alternate; }
@keyframes cbKutF { from { transform: scale(.92, 1); } to { transform: scale(1.06, 1.12) skewX(-3deg); } }
.cb-kutr { transform-box: fill-box; transform-origin: center; animation: cbKutR 3.6s ease-in-out infinite; }
@keyframes cbKutR { 0%, 100% { transform: translateY(3px); opacity: .3; } 50% { transform: translateY(-5px) rotate(45deg); opacity: 1; } }

/* Kut Ocağı penceresi: ortada dönen rün çemberli sunak ve seçili eşya, altında Basma / Kademe paneli, en altta çantadaki ekipman şeridi */
  background: radial-gradient(60% 55% at 50% 42%, rgba(155, 106, 216, .28), transparent 70%), linear-gradient(180deg, #221b2a, #15121a 70%, #121014); box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #4a3a5e; }
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); }
  animation: whRise 4s linear infinite; }
/* sonuç: tutunca altın patlama, tutmayınca sarsıntı ve kızıl duman */
/* kısa ekranda Kâhya kartı ve kısayollar menüye sığsın diye menü sıkılaşır */
@media (max-height: 700px) {
  .mw-main { gap: 8px; }
  .mw-ev .ev-card { height: 120px; }
  .mwp-top { padding: 9px 12px 9px; gap: 7px 12px; } .mwp-av { width: 58px; height: 58px; font-size: 22px; } .mwp-tx { gap: 3px; } .mwp-pill { height: 21px; }
}
.mwp-top .khc-nm { font-size: 12.5px; }

/* ---- Kavim Evi: seçim, yapılar, hazine ---- */
.kv-win .sh-body { gap: 8px; }
.kv-pane { display: flex; flex-direction: column; gap: 8px; min-height: 0; }
.kv-load { flex: 1; display: grid; place-items: center; align-content: center; gap: 10px; min-height: 220px; color: var(--muted); font: 500 12.5px var(--fb); }
.kv-load > i { width: 26px; height: 26px; border-radius: 50%; border: 2.5px solid #3a332b; border-top-color: var(--gold); animation: spin .9s linear infinite; }
.kv-load .ic { font-size: 22px; color: #f08c78; }
/* lider kartı */
.kv-lead { position: relative; overflow: hidden; display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 16px; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--acc) 26%, #2e281f), #1d1a16 70%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--acc) 40%, #4a4032); }
.kv-lead::after { content: ''; position: absolute; inset: 0; right: auto; left: -260%; width: 780%; background-size: 33.3333% 100%; background-image: linear-gradient(105deg, transparent 40%, rgba(255, 236, 190, .08) 50%, transparent 60%); animation: whShineT 5s ease-in-out infinite; pointer-events: none; }
.kv-crown { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 20px; color: #2a1d08; background: radial-gradient(circle at 50% 35%, #fbe7a8, #d6a94c 70%); box-shadow: 0 0 0 2px #0b0a0a, 0 0 18px -4px rgba(231, 194, 106, .8); animation: koFloat 3.6s ease-in-out infinite; }
.kv-lead.none .kv-crown { color: #8a7d68; background: radial-gradient(circle at 50% 35%, #3a342b, #221e19 70%); box-shadow: 0 0 0 2px #0b0a0a; animation: none; }
.kv-lt { min-width: 0; flex: 1; display: grid; gap: 2px; }
.kv-lt small { font: 700 8.5px/1 var(--fu); letter-spacing: .16em; text-transform: uppercase; color: var(--acc); }
.kv-lt b { font: 700 18px/1.05 var(--fs); color: #f6ecd2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-lt em { font: 400 10.5px/1.2 var(--fb); font-style: normal; color: #b8ae9f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-nc { position: relative; z-index: 1; flex: none; display: grid; justify-items: center; gap: 2px; padding: 6px 8px; border-radius: 11px; background: #2a1814; box-shadow: inset 0 0 0 1px #7a3a2c; }
.kv-nc small { font: 600 8.5px/1 var(--fu); letter-spacing: .06em; text-transform: uppercase; color: #f08c78; } .kv-nc b { font: 700 11.5px/1 var(--fn); color: #ffd3c8; }
.kv-nc.done { opacity: .6; }
.kv-me { flex: none; padding: 5px 9px; border-radius: 999px; font: 700 10.5px var(--fb); color: #2a1d08; background: linear-gradient(180deg, #ddc47c, #b99950); }
/* dönem ve oyuncu satırı */
.kv-term { display: grid; gap: 5px; padding: 8px 11px; border-radius: 12px; background: #161412; box-shadow: inset 0 0 0 1px #2c2721; }
.kv-term > span { display: flex; justify-content: space-between; align-items: baseline; }
.kv-term small { font: 700 8.5px/1 var(--fu); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); } .kv-term b { font: 600 11.5px var(--fb); color: #e8dfd0; }
.kv-tb { height: 5px; border-radius: 3px; background: #0d0b0a; overflow: hidden; } .kv-tb > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--acc), #f3d68e); }
.kv-mine { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 8px; }
.kv-mine > span:not(.kv-ok):not(.kv-no) { display: grid; gap: 1px; padding: 6px 9px; border-radius: 11px; background: #1a1714; box-shadow: inset 0 0 0 1px #2e2822; }
.kv-mine small { font: 600 8.5px/1 var(--fu); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .kv-mine b { font: 700 15px/1.1 var(--fn); color: #f2ead8; } .kv-mine em { font: 400 9.5px var(--fb); font-style: normal; color: var(--dim); }
.kv-cand, .kv-go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 13px; border-radius: 12px; font: 700 13px var(--fb); color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); box-shadow: 0 0 0 1px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .55), 0 0 16px -6px rgba(231, 194, 106, .8); }
.kv-cand:active, .kv-go:active, .kv-vb:active, .kv-b:active { transform: scale(.96); }
.kv-go { width: 100%; height: 40px; } .kv-go:disabled { filter: grayscale(.85) brightness(.6); }
.kv-ok, .kv-no { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px var(--fb); color: #9be58c; white-space: nowrap; } .kv-no { color: var(--dim); font-weight: 400; font-size: 10.5px; }
.kv-pl { height: 34px; padding: 0 11px; border-radius: 10px; font: 400 12.5px var(--fb); color: var(--text); background: #12100e; border: 0; box-shadow: inset 0 0 0 1px #3a332b; outline: none; }
.kv-pl:focus { box-shadow: inset 0 0 0 1.5px var(--gold2); }
/* adaylar */
.kv-list { display: grid; gap: 5px; }
.kv-c { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 7px 8px 7px 10px; border-radius: 12px; background: #1b1815; box-shadow: inset 0 0 0 1px #2e2822; animation: rise .4s var(--ease) both; }
.kv-c:nth-child(2) { animation-delay: .04s; } .kv-c:nth-child(3) { animation-delay: .08s; } .kv-c:nth-child(4) { animation-delay: .12s; }
.kv-c.my { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 16%, #1b1815), #1b1815); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--acc) 60%, transparent); }
.kv-n { font: 700 13px var(--fn); color: var(--gold2); text-align: center; }
.kv-ct { min-width: 0; display: grid; gap: 1px; } .kv-ct b { font: 700 13px/1.15 var(--fb); color: #f2ead8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kv-ct b em { font: 600 9px var(--fu); font-style: normal; color: var(--acc); text-transform: uppercase; letter-spacing: .1em; }
.kv-ct small { font: 400 10px/1.2 var(--fb); color: #a59b8c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-v { display: grid; justify-items: end; } .kv-v b { font: 700 13px/1 var(--fn); color: #f3d68e; } .kv-v small { font: 400 9.5px var(--fb); color: var(--muted); }
.kv-vb { min-width: 58px; height: 30px; padding: 0 9px; border-radius: 9px; font: 700 11.5px var(--fb); color: #f3d68e; background: #2a2419; box-shadow: inset 0 0 0 1px #6d5a35; }
.kv-vb:disabled { color: #9be58c; background: #1d2a1b; box-shadow: inset 0 0 0 1px #3f6a3a; }
.kv-empty { display: grid; justify-items: center; gap: 4px; padding: 18px 10px; border-radius: 14px; text-align: center; background: #171513; box-shadow: inset 0 0 0 1px #2c2721; color: var(--muted); }
.kv-empty .ic { font-size: 22px; color: var(--gold2); } .kv-empty b { font: 700 13px var(--fb); color: #e8dfd0; } .kv-empty small { font: 400 10.5px var(--fb); }
.kv-pg { display: flex; align-items: center; justify-content: center; gap: 14px; font: 600 11.5px var(--fn); color: var(--muted); }
.kv-pg button { width: 32px; height: 28px; border-radius: 9px; font-size: 16px; color: #f3d68e; background: #1d1a16; box-shadow: inset 0 0 0 1px #3a332b; } .kv-pg button:disabled { opacity: .35; }
/* yükseltme ve yapılar */
.kv-proj { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 11px; border-radius: 15px; background: radial-gradient(120% 140% at 0% 50%, #3a2f1f, #1c1916 70%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #5a4a2e; }
.kv-proj img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .6)); animation: koFloat 3.4s ease-in-out infinite; }
.kv-proj.none { grid-template-columns: 42px minmax(0, 1fr); background: #191613; box-shadow: inset 0 0 0 1px #2e2822; }
.kv-pi { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-size: 18px; color: var(--gold2); background: #24201b; }
.kv-pt { min-width: 0; display: grid; gap: 3px; }
.kv-pt small { font: 700 8.5px/1 var(--fu); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); } .kv-pt > b { font: 700 14.5px/1.1 var(--fs); color: #f6ecd2; }
.kv-pt em { font: 400 10px/1.25 var(--fb); font-style: normal; color: #b0a696; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kv-pt em b { color: #f3d68e; }
.kv-pb { position: relative; height: 16px; border-radius: 8px; background: #0e0c0a; box-shadow: inset 0 0 0 1px #3a3022; overflow: hidden; }
.kv-pb > i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #8a6a2c, #e2b04f 70%, #fbe7a8); transition: width .8s var(--spring); }
.kv-pb > i { overflow: hidden; }
.kv-pb > i::after { content: ''; position: absolute; inset: 0; right: auto; width: 50%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: kvRun 2.2s linear infinite; }
/* FPS 2026-12-02: arka plan kaydırma yerine katman kayar (transform, GPU); görünüm aynı */
@keyframes kvRun { from { transform: translateX(-60%); } to { transform: translateX(160%); } }
.kv-pb > span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 9.5px/1 var(--fn); color: #fff8e6; text-shadow: 0 1px 2px #000; }
.kv-bg { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.kv-b { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 7px; height: 42px; padding: 0 9px 0 6px; border-radius: 11px; text-align: left; background: #1b1815; box-shadow: inset 0 0 0 1px #2e2822; transition: transform .15s; animation: rise .4s var(--ease) both; }
.kv-b img { width: 30px; height: 30px; object-fit: contain; }
.kv-b > span { min-width: 0; display: grid; } .kv-b b { font: 700 11.5px/1.1 var(--fb); color: #efe6d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kv-b small { font: 400 9px/1.1 var(--fb); color: var(--muted); }
.kv-t { min-width: 24px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 6px; font: 700 10px/1 var(--fs); font-style: normal; color: #2a1d08; background: linear-gradient(180deg, #ddc47c, #a58449); }
.kv-b.on { background: linear-gradient(90deg, #33291a, #1b1815); box-shadow: inset 0 0 0 1.5px #c9a24e, 0 0 12px -5px rgba(231, 194, 106, .8); }
.kv-b.on::after { content: ''; position: absolute; right: 38px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: #7fe08a; animation: khcDot 1.8s ease-out infinite; }
.kv-note { margin: 0; text-align: center; font: 400 10px/1.35 var(--fb); color: var(--dim); }
.kv-det { display: flex; flex-direction: column; gap: 8px; animation: rise .35s var(--ease) both; }
.kv-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px 0 7px; border-radius: 9px; font: 600 11.5px var(--fb); color: #e8dfd0; background: #1d1a16; box-shadow: inset 0 0 0 1px #3a332b; }
.kv-dh { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 11px; }
.kv-dh img { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .6)); animation: koFloat 3.4s ease-in-out infinite; }
.kv-dh > span { display: grid; gap: 2px; } .kv-dh small { font: 700 8.5px/1 var(--fu); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); } .kv-dh b { font: 700 19px/1.05 var(--fs); color: #f6ecd2; } .kv-dh em { font: 500 11.5px var(--fb); font-style: normal; color: #c9a0f0; }
.kv-bn { display: grid; gap: 5px; }
.kv-bn > span { display: grid; gap: 2px; padding: 7px 10px; border-radius: 11px; background: #1a1714; box-shadow: inset 0 0 0 1px #2e2822; }
.kv-bn > span.nx { background: linear-gradient(90deg, #2a2236, #1a1714); box-shadow: inset 0 0 0 1px #5a4678; }
.kv-bn small { font: 600 8.5px/1 var(--fu); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); } .kv-bn b { font: 600 12px/1.25 var(--fb); color: #f2ead8; } .kv-bn .nx b { color: #e2cdf8; }
.kv-cost { display: grid; gap: 5px; padding: 9px 11px; border-radius: 12px; background: #141210; box-shadow: inset 0 0 0 1px #2c2721; }
.kv-cost > small { font: 700 8.5px/1 var(--fu); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.kv-cost > span { display: flex; align-items: center; gap: 7px; font: 400 11.5px var(--fb); color: #cfc8c2; } .kv-cost > span b { color: #f0a08c; } .kv-cost > span.ok b { color: #9be58c; } .kv-cost > span:last-child b { color: #f3d68e; }
.kv-cost .ic { font-size: 13px; color: var(--gold2); } .kv-ci { width: 24px; height: 24px; flex: none; }
.kv-res { padding: 10px; border-radius: 12px; text-align: center; font: 500 11.5px var(--fb); color: #cfc8c2; background: #171513; box-shadow: inset 0 0 0 1px #2c2721; }
/* hazine */
.kv-bank { display: grid; grid-template-columns: 1.1fr 1fr; gap: 6px; }
.kv-bank > span { display: grid; gap: 3px; align-content: start; padding: 9px 11px; border-radius: 13px; background: #191613; box-shadow: inset 0 0 0 1px #2e2822; }
.kv-bs { background: radial-gradient(120% 140% at 0% 0%, #3d321e, #1c1916 70%) !important; box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #6d5a35 !important; }
.kv-bank small { font: 700 8.5px/1 var(--fu); letter-spacing: .12em; text-transform: uppercase; color: var(--gold2); }
.kv-bank b { display: inline-flex; align-items: center; gap: 5px; font: 700 18px/1.1 var(--fn); color: #f6ecd2; } .kv-bank em { font: 400 9.5px/1.25 var(--fb); font-style: normal; color: var(--dim); }
.kv-wd b { font-size: 15px; } .kv-wd > span { display: flex; gap: 4px; margin-top: 2px; }
.kv-wd button, .kv-dep button { flex: 1; display: grid; place-items: center; height: 28px; border-radius: 8px; font: 700 11px var(--fn); color: #f3d68e; background: #2a2419; box-shadow: inset 0 0 0 1px #6d5a35; } .kv-wd button:disabled, .kv-dep button:disabled { opacity: .4; }
.kv-dep { display: grid; gap: 5px; } .kv-dep > small, .kv-strip > small, .kv-log > small { font: 700 8.5px/1 var(--fu); letter-spacing: .12em; text-transform: uppercase; color: var(--gold2); } .kv-dep small b { color: #f2ead8; letter-spacing: 0; }
.kv-dep > span { display: flex; gap: 6px; } .kv-dep button { height: 32px; font-size: 12px; }
.kv-strip { display: grid; gap: 4px; } .kv-strip > div { display: flex; gap: 6px; overflow-x: auto; padding: 3px 2px 4px; scrollbar-width: none; overscroll-behavior-x: contain; } .kv-strip > div::-webkit-scrollbar { display: none; }
.kv-strip em, .kv-log > em { font: 400 11px var(--fb); font-style: normal; color: var(--dim); }
.kv-si { width: 42px; height: 42px; flex: none; }
.kv-log { display: grid; gap: 4px; }
.kv-log > span { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 7px; font: 400 10.5px/1.25 var(--fb); color: #cfc8c2; }
.kv-log .ic { font-size: 11px; color: var(--gold2); } .kv-log span em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kv-log time { font: 400 9.5px var(--fb); color: var(--dim); }
.kv-ban { max-height: 120px; }
@media (max-height: 700px) {
  .kv-lead { padding: 8px 10px; } .kv-crown { width: 38px; height: 38px; font-size: 17px; } .kv-lt b { font-size: 16px; }
  .kv-term { padding: 6px 10px; } .kv-c { padding: 5px 7px 5px 9px; } .kv-vb { height: 28px; }
  .kv-b { height: 37px; } .kv-b img { width: 26px; height: 26px; } .kv-proj img { width: 44px; height: 44px; } .kv-proj { grid-template-columns: 44px minmax(0, 1fr); padding: 7px 10px; }
  .kv-note { display: none; } .kv-si { width: 38px; height: 38px; } .kv-log > span:nth-child(n+4) { display: none; }
}
.wh-yt { font-style: normal; color: #f3d68e; }
/* Kavim Evi: yardımcılar */
.kv-deps { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 6px 8px 6px 11px; border-radius: 12px; background: #171513; box-shadow: inset 0 0 0 1px #2c2721; }
.kv-deps > small { font: 700 8.5px/1 var(--fu); letter-spacing: .12em; text-transform: uppercase; color: var(--gold2); }
.kv-deps > span { display: flex; gap: 4px; min-width: 0; }
.kv-dp { min-width: 0; flex: 1; display: inline-flex; align-items: center; gap: 3px; height: 24px; padding: 0 7px; border-radius: 8px; font: 600 10.5px var(--fb); color: #efe6d6; background: #221e19; box-shadow: inset 0 0 0 1px #4a4032; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-dp .ic { flex: none; font-size: 10px; color: var(--acc); } .kv-dp.none { justify-content: center; font-style: normal; font-weight: 400; color: var(--dim); background: transparent; box-shadow: inset 0 0 0 1px #2e2822; }
.kv-dsel { height: 26px; padding: 0 11px; border-radius: 8px; font: 700 11px var(--fb); color: #1a1410; background: linear-gradient(180deg, #d5b86b, #b99950); }
.kv-dme { font: 600 10.5px var(--fb); font-style: normal; color: #9be58c; white-space: nowrap; }
.kv-ph { grid-template-columns: 44px minmax(0, 1fr); } .kv-ph .kv-crown { animation: none; }
/* Menü › Kavim: kavmin durumu */
.ks-win .sh-body { gap: 8px; }
.ks { display: flex; flex-direction: column; gap: 8px; }
.ks-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 16px; background: radial-gradient(120% 160% at 0% 0%, color-mix(in srgb, var(--acc) 30%, #2e281f), #1c1916 70%); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px color-mix(in srgb, var(--acc) 40%, #4a4032); }
.ks-hero::after { content: ''; position: absolute; inset: 0; right: auto; left: -260%; width: 780%; background-size: 33.3333% 100%; background-image: linear-gradient(105deg, transparent 40%, rgba(255, 236, 190, .07) 50%, transparent 60%); animation: whShineT 6s ease-in-out infinite; pointer-events: none; }
.ks-emb { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; color: var(--acc); background: radial-gradient(circle at 50% 35%, #2e2a27, #161412 75%); box-shadow: 0 0 0 2px #0b0a0a, 0 0 0 3.5px color-mix(in srgb, var(--acc) 70%, #000), 0 0 18px -4px var(--acc); }
.ks-ht { min-width: 0; display: grid; gap: 2px; } .ks-ht small { font: 700 8.5px/1 var(--fu); letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.ks-ht b { font: 700 18px/1.05 var(--fs); color: #f6ecd2; } .ks-ht em { font: 400 10.5px/1.2 var(--fb); color: #b8ae9f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-pop { display: grid; justify-items: center; padding: 5px 9px; border-radius: 11px; background: rgba(0, 0, 0, .3); } .ks-pop b { font: 700 15px/1 var(--fn); color: #f2ead8; } .ks-pop small { font: 400 9px var(--fb); color: var(--muted); }
.ks-sec { display: grid; gap: 6px; }
.ks-sec h4 { display: flex; align-items: center; gap: 6px; margin: 0; font: 700 9px/1 var(--fu); letter-spacing: .14em; text-transform: uppercase; color: var(--gold2); }
.ks-sec h4 .ic { font-size: 11px; } .ks-sec h4 em { margin-left: auto; font: 500 10px var(--fb); font-style: normal; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ks-lead { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: #1b1815; box-shadow: inset 0 0 0 1px #3a3227; }
.ks-lead .kv-crown { width: 38px; height: 38px; font-size: 17px; } .ks-lead.none .kv-crown { color: #8a7d68; background: radial-gradient(circle at 50% 35%, #3a342b, #221e19 70%); animation: none; box-shadow: 0 0 0 2px #0b0a0a; }
.ks-nc { display: grid; justify-items: center; gap: 2px; } .ks-nc small { font: 600 8px/1 var(--fu); letter-spacing: .06em; text-transform: uppercase; color: #f08c78; } .ks-nc b { font: 700 11px var(--fn); color: #ffd3c8; }
.ks-deps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.ks-deps > span { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 5px; align-items: center; padding: 6px 8px; border-radius: 10px; background: #1a1714; box-shadow: inset 0 0 0 1px #2e2822; }
.ks-deps .ic { grid-row: span 2; font-size: 13px; color: var(--acc); } .ks-deps b { font: 700 11.5px/1.1 var(--fb); color: #efe6d6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ks-deps small { font: 400 9px var(--fb); color: var(--muted); }
.ks-deps .none { grid-template-columns: 1fr; text-align: center; box-shadow: inset 0 0 0 1px #2a2520; background: transparent; } .ks-deps .none b { color: var(--dim); font-weight: 400; }
.ks-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ks-box { min-width: 0; display: grid; gap: 3px; padding: 8px 10px; border-radius: 12px; background: #191613; box-shadow: inset 0 0 0 1px #2e2822; }
.ks-box small { display: flex; align-items: center; gap: 5px; font: 700 8.5px/1 var(--fu); letter-spacing: .12em; text-transform: uppercase; color: var(--gold2); } .ks-box small .ic { font-size: 10px; }
.ks-box b { display: inline-flex; align-items: center; gap: 4px; font: 700 15px/1.1 var(--fn); color: #f2ead8; } .ks-box em { font: 400 9.5px/1.2 var(--fb); font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-pb { height: 15px; }
.ks-grp { display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: center; gap: 6px; }
.ks-grp > small { font: 600 9px/1.1 var(--fb); color: var(--muted); }
.ks-grp > div { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.ks-b { position: relative; min-width: 0; display: grid; justify-items: center; gap: 1px; padding: 4px 2px 3px; border-radius: 10px; background: #1a1714; box-shadow: inset 0 0 0 1px #2e2822; }
.ks-b img { width: 26px; height: 26px; object-fit: contain; }
.ks-b i { position: absolute; top: 2px; right: 2px; min-width: 15px; height: 13px; padding: 0 3px; display: grid; place-items: center; border-radius: 4px; font: 700 8px/1 var(--fs); font-style: normal; color: #2a1d08; background: linear-gradient(180deg, #ddc47c, #a58449); }
.ks-b em { max-width: 100%; font: 500 8.5px/1.1 var(--fb); font-style: normal; color: #cfc8c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-b.up { background: linear-gradient(180deg, #2a2418, #1a1714); box-shadow: inset 0 0 0 1px #6d5a35; }
.ks-b.on { box-shadow: inset 0 0 0 1.5px #c9a24e, 0 0 10px -4px rgba(231, 194, 106, .8); } .ks-b.on img { animation: koFloat 2.6s ease-in-out infinite; }
.ks-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font: 400 10.5px var(--fb); color: var(--dim); } .ks-note b { color: #e8dfd0; } .ks-note .ic { font-size: 11px; color: var(--gold2); }
@media (max-height: 700px) { .ks-hero { padding: 7px 10px; } .ks-ht em { display: none; } .ks-lead { padding: 6px 9px; } .ks-b img { width: 22px; height: 22px; } .ks-deps > span { padding: 4px 7px; } }

/* ---- Kut Ocağı (yeniden tasarım): ocak sahnesi, kut halkası, taş yuvaları, şans kartları, Çanta / Giyilenler ---- */
@keyframes koFloat { 50% { transform: translateY(-5px); } }
.kf-hic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; font-size: 20px; color: #ffe7b0; background: radial-gradient(circle at 50% 40%, #6a3c1c, #1c120c 75%); box-shadow: 0 0 0 2px #0b0a0a, 0 0 0 3.5px #8a5a2a, 0 0 16px -4px rgba(255, 140, 60, .8); }
.kf { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
/* sahne: taş kemerli ocak, dipte kor, yükselen kıvılcımlar */
.kf-stage { position: relative; flex: 1; min-height: 168px; overflow: hidden; container-type: size; display: grid; justify-items: center; align-content: center; gap: 2px; padding: 8px 10px 10px; border-radius: 20px; isolation: isolate;
  background: radial-gradient(70% 55% at 50% 108%, rgba(255, 128, 40, .42), transparent 70%), radial-gradient(60% 50% at 50% 42%, color-mix(in srgb, var(--qc, #c9a0f0) 16%, transparent), transparent 70%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 22px), linear-gradient(180deg, #221a14, #171210 60%, #2a170d);
  box-shadow: 0 0 0 2px #0b0a0a, inset 0 0 0 1px #4a3524, inset 0 -18px 30px -12px rgba(255, 110, 30, .35); }
.kf-stage::before { content: ''; position: absolute; inset: 6px 6px auto; height: 70%; border-radius: 999px 999px 18px 18px / 160px 160px 18px 18px; border: 1.5px solid rgba(255, 196, 120, .14); border-bottom: 0; pointer-events: none; z-index: -1; }
.kf-glow { position: absolute; left: 50%; bottom: -30%; width: 120%; height: 70%; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 150, 60, .5), rgba(255, 90, 30, .15) 60%, transparent); animation: kfBreath 3.2s ease-in-out infinite; z-index: -1; pointer-events: none; }
@keyframes kfBreath { 50% { opacity: .6; transform: scale(.94); } }
.kf-stage.hot .kf-glow { background: radial-gradient(closest-side, rgba(255, 90, 50, .6), rgba(200, 40, 20, .2) 60%, transparent); }
.kf-embers { position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(2px 2px at 18% 92%, #ffb45a, transparent 70%), radial-gradient(1.5px 1.5px at 34% 96%, #ffd890, transparent 70%), radial-gradient(2px 2px at 62% 94%, #ff9a40, transparent 70%),
    radial-gradient(1.5px 1.5px at 78% 98%, #ffcf7a, transparent 70%), radial-gradient(1.6px 1.6px at 48% 99%, #ffe2a8, transparent 70%), radial-gradient(1.4px 1.4px at 88% 93%, #ff8a3a, transparent 70%);
  animation: kfRise 4.5s linear infinite; }
@keyframes kfRise { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-75%); opacity: 0; } }
.kf-alt { position: relative; width: clamp(120px, 56cqh, 176px); aspect-ratio: 1; display: grid; place-items: center; }
.kf-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.kf-ring circle { fill: none; stroke-width: 7; }
.kf-rt { stroke: #0e0b09; }
.kf-rz { stroke: rgba(255, 90, 60, .28); }
.kf-rf { stroke: #c9a0f0; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(201, 160, 240, .8)); transition: stroke-dasharray .8s var(--spring); }
.kf-rf.hot { stroke: #ff8a4a; filter: drop-shadow(0 0 5px rgba(255, 120, 60, .9)); }
.kf-tk { stroke: rgba(255, 230, 190, .22); stroke-width: 1.2; } .kf-tk.safe { stroke: #ff6a52; stroke-width: 2.4; filter: drop-shadow(0 0 3px #ff6a52); }
.kf-halo { position: absolute; inset: 16%; border-radius: 50%; border: 1px dashed rgba(255, 214, 150, .3); animation: spin 22s linear infinite; }
.kf-halo::after { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--qc) 30%, transparent), transparent 70%); }
.kf-it { position: relative; z-index: 1; width: 46%; height: 46%; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--qc) 60%, transparent)) drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); animation: koFloat 3.2s ease-in-out infinite; }
.kf-pct { position: absolute; left: 50%; bottom: -2px; translate: -50% 0; z-index: 2; padding: 3px 9px; border-radius: 999px; font: 700 12px/1 var(--fn); color: #fff4dc; background: linear-gradient(180deg, #3a2a44, #1c1422); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #6a4e86; }
.kf-stage.hot .kf-pct { background: linear-gradient(180deg, #5a2a1c, #2a120c); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #b04a2c; }
.kf-nm { margin-top: 3px; font: 700 16px/1.1 var(--fs); text-align: center; text-shadow: 0 1px 0 #000, 0 0 16px rgba(0, 0, 0, .8); }
.kf-sub { font: 500 10px var(--fb); color: #b6aa98; }
.kf-where { font-style: normal; padding: 2px 7px; border-radius: 999px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 1px #3a3027; } .kf-where.eq { color: #9be58c; box-shadow: inset 0 0 0 1px #3f6a3a; }
.kf-stat { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 5px; max-width: 100%; font: 500 10.5px var(--fb); color: #a99e8e; }
.kf-stat em { font-style: normal; } .kf-stat b { font-weight: 700; color: #e2cdf8; } .kf-stat i { font-size: 8px; color: #c9a0f0; }
.kf-stage.empty .kf-core { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; font-size: 26px; color: #ffcf8a; background: radial-gradient(circle, #4a2a14, #1a110b 70%); box-shadow: 0 0 24px -4px rgba(255, 140, 60, .6); animation: koFloat 3.4s ease-in-out infinite; }
.kf-stage.empty .kf-nm { color: #e8dfd0; }
/* taşın inişi ve sonuçlar */
.kf-cast { position: absolute; z-index: 3; width: 36%; left: 32%; top: 32%; animation: kfCast .62s cubic-bezier(.5, 0, .7, .4) both; filter: drop-shadow(0 0 12px #ffd890); }
@keyframes kfCast { 0% { transform: translateY(150%) scale(.5); opacity: 0; } 25% { opacity: 1; } 70% { transform: translateY(-18%) scale(1.05) rotate(12deg); } 100% { transform: scale(.2) rotate(40deg); opacity: 0; } }
.kf-stage.ok::after { content: ''; position: absolute; left: 50%; top: 42%; width: 40px; height: 40px; translate: -50% -50%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 246, 214, .95), rgba(243, 214, 142, .5) 40%, transparent 70%); animation: kfBurst .9s ease-out both; pointer-events: none; }
@keyframes kfBurst { from { transform: scale(.3); opacity: 1; } to { transform: scale(9); opacity: 0; } }
.kf-stage.ok .kf-it { animation: kfPop .7s var(--spring) both; }
@keyframes kfPop { 0% { transform: scale(.7) rotate(-8deg); } 60% { transform: scale(1.18) rotate(4deg); } 100% { transform: none; } }
.kf-stage.ok .kf-ring { animation: kfRingOk .8s ease-out both; } @keyframes kfRingOk { 40% { filter: drop-shadow(0 0 12px #ffe7a0) brightness(1.4); } }
.kf-stage.bad { animation: kfShake .5s ease both; }
.kf-stage.bad::after { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 40% at 50% 45%, rgba(200, 70, 50, .5), transparent 70%); animation: itcFade .7s ease reverse both; pointer-events: none; }
@keyframes kfShake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.kf-stage.brk .kf-it { animation: kfBreak .85s ease-in both; }
@keyframes kfBreak { 30% { transform: scale(1.08) rotate(-4deg); filter: brightness(1.6) drop-shadow(0 0 18px #ff6a52); } 100% { transform: scale(.4) rotate(14deg); opacity: 0; filter: grayscale(1) blur(2px); } }
/* taş yuvaları */
.kf-panel { flex: none; display: grid; gap: 7px; }
.kf-gems { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; padding: 6px; border-radius: 16px; background: linear-gradient(180deg, #1d1915, #14110f); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 0 0 1px #3a3027, inset 0 6px 12px -8px #000; }
.kf-gem { position: relative; display: grid; justify-items: center; gap: 2px; padding: 4px 2px 5px; border-radius: 12px; transition: transform .2s var(--spring), background .2s; }
.kf-sock { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #2a241e, #0d0b09 75%); box-shadow: inset 0 2px 5px #000, 0 0 0 1px #3a3027; }
.kf-sock img { width: 34px; height: 34px; object-fit: contain; transition: transform .3s var(--spring); }
.kf-gem b { font: 700 11.5px/1 var(--fn); color: var(--sc); } .kf-gem small { font: 500 9px/1 var(--fn); color: var(--muted); }
.kf-gem.on { background: linear-gradient(180deg, color-mix(in srgb, var(--sc) 18%, transparent), transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sc) 80%, transparent); }
.kf-gem.on .kf-sock { box-shadow: inset 0 2px 5px #000, 0 0 0 1.5px var(--sc), 0 0 14px -2px var(--sc); }
.kf-gem.on .kf-sock img { transform: translateY(-3px) scale(1.08); animation: koFloat 2.2s ease-in-out infinite; }
.kf-gem.none { opacity: .42; } .kf-gem.none .kf-sock img { filter: grayscale(.8); }
.kf-gem:active { transform: scale(.94); }
/* şans kartları */
.kf-odds { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 5px; }
.kf-od { min-width: 0; display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 12px; background: #171412; box-shadow: inset 0 0 0 1px #2e2822; }
.kf-od > span, .kf-od:first-child { display: grid; gap: 2px; }
.kf-od small { font: 700 8px/1 var(--fu); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kf-od b { font: 700 13px/1.1 var(--fn); color: #f2ead8; white-space: nowrap; } .kf-od b i { font-size: 8px; color: var(--muted); font-style: normal; } .kf-od b em { font-style: normal; color: #d9bdf6; }
.kf-dial { flex: none; width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(var(--dc) calc(var(--v) * 1%), #2a2420 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 56%); mask: radial-gradient(circle, transparent 54%, #000 56%); }
.kf-od.ch { --dc: #8fe07c; } .kf-od.ch.low { --dc: #f0c070; } .kf-od.ch b { color: #b6f0a8; } .kf-od.ch.low b { color: #f6d28c; }
.kf-od.br { --dc: #5a4a40; } .kf-od.br b { color: var(--dim); }
.kf-od.br.on { --dc: #ff6a52; background: linear-gradient(180deg, #2a1612, #171412); box-shadow: inset 0 0 0 1px #6a2c22; } .kf-od.br.on b { color: #ff8a72; }
.kf-max { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: 12px; font: 700 12px var(--fb); color: var(--gold); background: #1d1914; box-shadow: inset 0 0 0 1px #6d5a35; }
.kf-warn { margin: -1px 0 0; text-align: center; font: 400 10px/1.3 var(--fb); color: var(--dim); }
.kf-warn.bad { display: flex; align-items: center; justify-content: center; gap: 5px; color: #f08c78; } .kf-warn.bad .ic { flex: none; font-size: 11px; color: #ff6a52; }
/* ana düğme */
.kf-go { position: relative; overflow: hidden; height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 14px; font: 700 14.5px var(--fs); letter-spacing: .02em; color: #2a1606;
  background: linear-gradient(180deg, #e6c073, #c08c44 55%, #b8742a); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 248, 225, .7), inset 0 -3px 0 rgba(90, 40, 10, .35), 0 0 20px -6px rgba(255, 150, 60, .9); transition: transform .15s; }
.kf-shine { position: absolute; inset: 0; right: auto; left: -250%; width: 750%; background-size: 33.3333% 100%; background-image: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); animation: whShineT25 3.2s ease-in-out infinite; pointer-events: none; }
.kf-go:active { transform: scale(.97); }
.kf-go.risk { color: #fff1ea; background: linear-gradient(180deg, #e86a4c, #b23a22 55%, #82230f); box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 220, 200, .45), inset 0 -3px 0 rgba(60, 10, 0, .35), 0 0 20px -6px rgba(240, 90, 60, .95); }
.kf-go.arm { animation: kfArm .9s ease-in-out infinite; font-size: 13.5px; }
@keyframes kfArm { 50% { box-shadow: 0 0 0 1.5px #0b0a0a, inset 0 1px 0 rgba(255, 220, 200, .45), 0 0 30px 3px rgba(255, 90, 60, .9); } }
.kf-go:disabled { filter: grayscale(.85) brightness(.6); } .kf-go:disabled .kf-shine { display: none; }
/* Çanta / Giyilenler */
.kf-pick { flex: none; display: grid; gap: 6px; }
.kf-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 12px; background: #121010; box-shadow: inset 0 0 0 1px #2c2721; }
.kf-seg > i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 9px; background: linear-gradient(180deg, #3b3221, #28241f); box-shadow: inset 0 0 0 1px #6d5a35; transform: translateX(calc(var(--i) * 100%)); transition: transform .4s var(--spring); }
.kf-seg button { position: relative; height: 30px; display: flex; align-items: center; justify-content: center; gap: 6px; font: 600 12px var(--fb); color: #a0968f; transition: color .2s; }
.kf-seg button .ic { font-size: 12px; } .kf-seg button b { font: 700 10px var(--fn); padding: 1px 5px; border-radius: 6px; background: rgba(0, 0, 0, .35); }
.kf-seg button.on { color: #f3d68e; }
.kf-strip { display: flex; gap: 7px; overflow-x: auto; overflow-y: hidden; padding: 4px 4px 3px; scrollbar-width: none; overscroll-behavior-x: contain; min-height: 52px; align-items: flex-start; }
.kf-strip::-webkit-scrollbar { display: none; }
.kf-strip > em { align-self: center; font: 400 11px var(--fb); font-style: normal; color: var(--dim); }
.kf-pi { position: relative; flex: none; display: grid; justify-items: center; gap: 2px; border-radius: 10px; transition: transform .15s; }
.kf-pif { width: 46px; height: 46px; }
.kf-pi small { font: 500 9px/1 var(--fb); color: var(--muted); }
.kf-pi.sel .kf-pif { border-radius: 9px; box-shadow: 0 0 0 2px #0b0a0a, 0 0 0 3.5px #ffb45a, 0 0 14px rgba(255, 160, 80, .8); }
.kf-pi.sel small { color: #ffd08a; }
.kf-pb { position: absolute; left: -2px; bottom: 14px; z-index: 2; padding: 1px 4px; border-radius: 5px; font: 700 8.5px/1.2 var(--fn); font-style: normal; color: #f0e2ff; background: #3a2a4a; box-shadow: 0 0 0 1.5px #0b0a0a; }
.kf-pi:not(:has(small)) .kf-pb { bottom: 2px; }
.kf-pb.hot { color: #fff0e6; background: #7a2c1c; }
.kf-pi:active { transform: scale(.94); }
@media (max-height: 700px) {
  .kf { gap: 6px; } .kf-stage { min-height: 150px; } .kf-warn:not(.bad) { display: none; } .kf-go { height: 40px; }
  .kf-sock { width: 34px; height: 34px; } .kf-sock img { width: 28px; height: 28px; } .kf-gems { padding: 4px; } .kf-pif { width: 42px; height: 42px; } .kf-od { padding: 5px 7px; } .kf-dial { width: 22px; height: 22px; }
}
