/* Kırık Yörünge — arayüz. Yön: kokpit konsolu. İnce 1px çizgiler, kesik köşeler, tek ana vurgu (amber).
   Camgöbeği yalnız kalkan/veri, kırmızı yalnız düşman/tehlike, yeşil müttefik/başarı içindir. Yalnız sistem yazı tipleri (CSP dış yazı tipine izin vermez). */
:root {
  --bg: #03060b; --panel: rgba(8, 13, 21, 0.9); --panel-solid: #0a1019; --surface: #0b1118; --surface2: #101822;
  --line: rgba(140, 180, 215, 0.26); --line-strong: rgba(140, 180, 215, 0.5); --hair: rgba(140, 180, 215, 0.14);
  --txt: #dbe6f2; --dim: #8496a8; --soft: #b9c8d8;
  --amb: #ffb23e; --amb-soft: #ffd28a; --cy: #6fd8ff; --red: #ff5a3a; --gr: #7dffb0; --ye: #ffd24a; --or: #ff8a3c; --vi: #b08cff;
  --q0: #8fa3b8; --q1: #58e0d0; --q2: #ff9a3c;
  --font: Bahnschrift, "DIN Alternate", "Segoe UI", system-ui, sans-serif;
  --mono: Consolas, "Cascadia Mono", "SFMono-Regular", monospace;
  --cut: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--bg); color: var(--txt); font-family: var(--font); font-size: 14px; line-height: 1.4; user-select: none; font-variant-numeric: tabular-nums; }
#cv { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; cursor: crosshair; }
.hidden { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h2 { font-size: 21px; letter-spacing: 0.06em; font-weight: 600; } h3 { font-size: 15px; letter-spacing: 0.1em; font-weight: 600; }
h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 600; color: var(--amb); margin: 14px 0 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
h4:first-child { margin-top: 0; }
p { margin-bottom: 8px; }
.small { font-size: 12px; color: var(--dim); } .center { text-align: center; } .right { margin-left: auto; text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 400; font-family: var(--mono); font-size: 12px; }
.up { color: var(--gr); } .down { color: var(--red); }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -3px; }
* { scrollbar-width: thin; scrollbar-color: rgba(140, 180, 215, 0.35) transparent; }

/* genel yüzeyler: çizgi + kesik köşe */
.panel { background: var(--panel); border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.box { background: rgba(14, 22, 33, 0.72); border: 1px solid var(--hair); border-left: 2px solid var(--line-strong); padding: 10px 12px; margin-bottom: 10px; }

/* düğmeler ve form */
button { font-family: inherit; color: inherit; cursor: pointer; }
.btn { background: var(--surface); border: 1px solid var(--line-strong); color: var(--txt); padding: 8px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; transition: background 0.12s, border-color 0.12s, color 0.12s; white-space: nowrap; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.btn:hover:not(:disabled) { background: var(--surface2); border-color: var(--amb); color: #fff3e4; }
.btn:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--amb); outline-offset: -3px; }
input:focus-visible, select:focus-visible { outline-offset: 0; border-color: var(--amb); }
.btn.primary { background: rgba(120, 66, 12, 0.6); border-color: var(--amb); color: #fff3e4; }
.btn.primary:hover:not(:disabled) { background: rgba(170, 96, 18, 0.75); border-color: var(--amb-soft); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--dim); } .btn.ghost:hover:not(:disabled) { color: var(--txt); border-color: var(--line-strong); background: rgba(140, 180, 215, 0.06); }
.btn.small { padding: 4px 10px; font-size: 11px; } .btn.wide { width: 100%; }
.btn:disabled { opacity: 0.38; cursor: not-allowed; }
input[type=text], input[type=password], input[type=number], select { background: rgba(3, 7, 13, 0.85); border: 1px solid var(--line); border-radius: 0; color: var(--txt); padding: 7px 9px; font: inherit; min-width: 0; user-select: text; }
select { cursor: pointer; }
input.qty { width: 84px; font-family: var(--mono); }
label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--dim); margin-bottom: 10px; } label input, label select { display: block; width: 100%; margin-top: 5px; font-size: 14px; text-transform: none; letter-spacing: 0; }
.form-err { color: var(--red); min-height: 18px; font-size: 13px; margin: 2px 0 8px; } .form-hint { font-size: 12px; color: var(--dim); margin-bottom: 6px; }
.seg { display: flex; gap: 0; margin-bottom: 12px; flex-wrap: wrap; } .seg button { flex: 1; background: var(--surface); border: 1px solid var(--line); margin-left: -1px; padding: 7px 10px; color: var(--dim); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.seg button:first-child { margin-left: 0; } .seg button:hover { color: var(--txt); }
.seg button.on { background: rgba(120, 66, 12, 0.45); color: #fff3e4; border-color: var(--amb); position: relative; z-index: 1; } .seg.small button { padding: 4px 8px; font-size: 11px; flex: 0 1 auto; }
.row { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; } .row.center { justify-content: center; } .row.end { justify-content: flex-end; } .row input[type=text] { flex: 1; }
.spinner { width: 28px; height: 28px; border: 2px solid var(--line); border-top-color: var(--amb); border-radius: 50%; animation: spin 0.9s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* giriş ve pilot oluşturma ekranları */
.screens { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 40%, rgba(3, 6, 11, 0.3), rgba(2, 4, 8, 0.9)); z-index: 30; overflow: auto; padding: 20px; }
.screens.show { display: flex; }
.create-row { display: flex; gap: 20px; align-items: flex-start; } .create-row > div { flex: 1; min-width: 0; } .shipprev { width: 200px; height: 200px; background: rgba(3, 7, 13, 0.7); border: 1px solid var(--line); flex: none; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px solid var(--hair); font-size: 13px; } .kv span { color: var(--dim); } .kv b { text-align: right; font-weight: 600; font-family: var(--mono); font-size: 12.5px; }
.kvlist { margin: 6px 0 10px; } .kvlist.cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px; }

/* üst katman: modallar, ölüm ve final ekranları */
.overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(2, 4, 8, 0.78); z-index: 50; padding: 20px; overflow: auto; }
.overlay.show { display: flex; }
.modal { background: var(--panel-solid); border: 1px solid var(--line-strong); border-top: 2px solid var(--amb); padding: 24px 26px; width: min(560px, 100%); max-height: 92vh; overflow: auto; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }
.modal.center { text-align: center; } .modal.center h2 { margin-bottom: 10px; } .modal.center .btn { margin-top: 14px; }
.modal.death { border-color: var(--red); } .modal.death h2 { color: var(--red); letter-spacing: 0.2em; text-transform: uppercase; } .modal.death .kvlist { text-align: left; margin-top: 14px; }
.modal.dialog { width: min(620px, 100%); } .modal.dialog h2 { margin: 12px 0 8px; color: #f4f8fc; }
.speaker { display: flex; align-items: center; gap: 12px; } .avatar { width: 42px; height: 42px; border: 1px solid var(--amb); display: grid; place-items: center; color: var(--amb); background: rgba(255, 178, 62, 0.07); clip-path: polygon(0 0, 100% 0, 100% 75%, 75% 100%, 0 100%); } .avatar.ok { color: var(--gr); border-color: var(--gr); background: rgba(125, 255, 176, 0.07); } .avatar .ico { width: 22px; height: 22px; }
.story { color: #c9d7e4; font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
.steps { margin: 0 0 8px; padding: 0; list-style: none; } .steps li { padding: 3px 0 3px 20px; position: relative; color: var(--soft); font-size: 13px; }
.steps li::before { content: ''; position: absolute; left: 3px; top: 9px; width: 7px; height: 7px; border: 1px solid var(--dim); transform: rotate(45deg); }
.steps li.done { color: var(--dim); text-decoration: line-through; } .steps li.done::before { background: var(--gr); border-color: var(--gr); } .steps li.cur { color: var(--amb); } .steps li.cur::before { border-color: var(--amb); background: rgba(255, 178, 62, 0.4); }
.chips { display: flex; flex-wrap: wrap; gap: 4px 16px; } .chip { border: 0; border-left: 2px solid var(--line-strong); padding: 0 0 0 8px; font-family: var(--mono); font-size: 12px; background: none; white-space: nowrap; color: var(--soft); } .chip.good { border-left-color: var(--gr); color: var(--gr); }
.modal.ending { width: min(720px, 100%); border-color: var(--amb); } .end-kicker { color: var(--amb); letter-spacing: 0.28em; font-size: 11px; text-transform: uppercase; } .modal.ending h1 { font-size: 30px; margin: 6px 0 16px; color: #fff3e4; letter-spacing: 0.08em; }

/* ---------- HUD ---------- */
#hud { position: fixed; inset: 0; pointer-events: none; z-index: 10; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); } #hud > * { pointer-events: auto; }
.fill { height: 100%; width: 0; transition: width 0.12s linear; }

/* sol üst: pilot plakası */
.pilotcard { position: absolute; left: 20px; top: 18px; width: 300px; display: flex; gap: 12px; align-items: stretch; }
.lvlbadge { width: 58px; height: 58px; flex: none; background: linear-gradient(160deg, #1b2530, #0a0f15); border: 1px solid var(--amb); display: flex; flex-direction: column; align-items: center; justify-content: center; clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%); text-shadow: none; }
.ln { font-family: var(--mono); font-size: 22px; font-weight: 700; color: var(--amb); line-height: 1; } .ll { font-size: 9px; letter-spacing: 0.2em; color: #9aa9ba; margin-top: 3px; }
.pc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 2px 0; }
.pc-top { display: flex; gap: 6px; align-items: baseline; font-size: 18px; font-weight: 600; letter-spacing: 0.04em; min-width: 0; } .pc-top b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-weight: 600; } .clan { color: var(--amb); white-space: nowrap; } .clan:empty { display: none; }
.xpbar { height: 2px; background: rgba(255, 255, 255, 0.12); margin: 4px 0 3px; } .xpbar .fill { background: var(--amb); }
.pc-rank { position: relative; display: flex; justify-content: space-between; gap: 8px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.5; padding-bottom: 3px; margin-bottom: 4px; color: #9fe6ff; white-space: nowrap; } .rk-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; } .rk-pts { font-family: var(--mono); letter-spacing: 0; color: #7d8fa2; }
.rk-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(111, 216, 255, 0.2); } .rk-fill { display: block; height: 100%; width: 0; background: var(--cy); transition: width 0.3s; }
.pc-row { display: flex; gap: 16px; font-family: var(--mono); font-size: 12px; color: #b9c8d8; } .stat { white-space: nowrap; } .stat .k { margin-right: 5px; } .stat.cr .k { color: var(--amb); } .stat.cg .k { color: var(--cy); } .stat.am .k { color: #ff8a66; } .stat.full .k, .stat.full .v { color: var(--red); }

/* sağ üst: sektör, harita, düğmeler, görev şeridi */
.rightcol { position: absolute; right: 20px; top: 18px; width: 232px; display: flex; flex-direction: column; gap: 8px; pointer-events: none !important; } .rightcol > * { pointer-events: auto; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sec-name { font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #e2b06a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .coord { font-family: var(--mono); font-size: 11px; color: #9aa9ba; white-space: nowrap; }
.minimap { position: relative; width: 100%; aspect-ratio: 1; background: rgba(4, 8, 14, 0.82); border: 1px solid rgba(140, 180, 215, 0.35); } .minimap canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: crosshair; }
.cb { position: absolute; width: 14px; height: 14px; border: 0 solid var(--amb); pointer-events: none; } .cb.tl { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; } .cb.br { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.zone { position: absolute; left: 6px; bottom: 6px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; padding: 1px 6px; background: rgba(4, 8, 14, 0.82); border: 1px solid; white-space: nowrap; text-shadow: none; } .zone.safe { color: var(--gr); } .zone.risk { color: var(--red); }
.fps { position: absolute; right: 6px; top: 4px; font-family: var(--mono); font-size: 10px; color: #7d8fa2; }
.navrow { display: flex; gap: 4px; } .navbtn { flex: 1; height: 32px; background: rgba(6, 10, 16, 0.82); border: 1px solid var(--line); color: var(--dim); display: grid; place-items: center; } .navbtn:hover { color: var(--amb); border-color: var(--amb); }
.tracker { display: flex; flex-direction: column; gap: 6px; overflow: hidden; max-height: calc(100vh - 448px); }
.tracker .tr { padding: 9px 12px; background: rgba(6, 10, 16, 0.8); border-left: 2px solid var(--amb); display: flex; flex-direction: column; gap: 3px; } .tracker .tr.contract { border-left-color: var(--q0); } .tracker .tr.offer { cursor: pointer; animation: pulse 1.6s ease-in-out infinite; }
.tr-kick { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amb); } .tracker .contract .tr-kick { color: var(--q0); }
.tr-title { font-size: 15px; font-weight: 600; color: var(--txt); } .tr-step { color: var(--soft); font-size: 13px; line-height: 1.35; } .tr-hint { color: var(--cy); font-size: 12px; } .tr-prog { color: var(--dim); font-family: var(--mono); font-size: 11px; }
@keyframes pulse { 50% { box-shadow: inset 0 0 0 1px rgba(255, 178, 62, 0.55); } }

/* üst orta: hedef kilidi, afiş, karşılaşmalar, uyarılar */
.topmid { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); width: clamp(300px, calc(100vw - 700px), 420px); display: flex; flex-direction: column; align-items: stretch; gap: 6px; pointer-events: none !important; }
.target { display: none; padding: 9px 16px 10px; background: linear-gradient(180deg, rgba(20, 10, 8, 0.88), rgba(8, 10, 14, 0.82)); border-top: 2px solid var(--red); flex-direction: column; gap: 6px; }
.target.show { display: flex; } .target.hover { border-top-style: dashed; background: linear-gradient(180deg, rgba(14, 12, 12, 0.8), rgba(8, 10, 14, 0.75)); }
.tg-top, .tg-mid { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tg-label { font-size: 11px; letter-spacing: 0.24em; color: #ff8a66; text-transform: uppercase; } .tg-dist { font-family: var(--mono); font-size: 12px; color: #9aa9ba; }
.tg-name { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .tg-meta { font-family: var(--mono); font-size: 12px; color: #ffb9a3; white-space: nowrap; }
.tg-hull { height: 6px; background: rgba(255, 255, 255, 0.08); } .tg-hull .fill { background: linear-gradient(90deg, #b8371f, #ff6a3a); } .tg-sh { height: 3px; background: rgba(255, 255, 255, 0.08); } .tg-sh .fill { background: var(--cy); }
.target.ally { border-top-color: var(--gr); background: linear-gradient(180deg, rgba(8, 20, 14, 0.88), rgba(8, 10, 14, 0.82)); } .target.ally .tg-label { color: var(--gr); } .target.ally .tg-meta { color: #b6ffd2; } .target.ally .tg-hull .fill { background: linear-gradient(90deg, #2e9a62, var(--gr)); }
.target.pl { border-top-color: var(--q0); background: linear-gradient(180deg, rgba(12, 16, 22, 0.88), rgba(8, 10, 14, 0.82)); } .target.pl .tg-label { color: #aab9c9; } .target.pl .tg-meta { color: #c9d7e4; } .target.pl .tg-hull .fill { background: linear-gradient(90deg, #c7602e, #ff9a5a); }
.banner { display: none; text-align: center; padding: 8px 22px; background: linear-gradient(90deg, transparent, rgba(6, 10, 16, 0.92) 16%, rgba(6, 10, 16, 0.92) 84%, transparent); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.banner.show { display: block; animation: fadein 0.3s; } @keyframes fadein { from { opacity: 0; } }
.b-title { font-size: 19px; letter-spacing: 0.16em; font-weight: 600; color: #f4f8fc; text-transform: uppercase; } .b-sub { font-size: 13px; color: var(--soft); }
.banner.warn { border-color: var(--amb); } .banner.warn .b-title { color: var(--amb); } .banner.danger { border-color: var(--red); } .banner.danger .b-title { color: var(--red); } .banner.good { border-color: var(--gr); } .banner.good .b-title { color: var(--gr); }
.encbox { display: flex; flex-direction: column; gap: 4px; }
.enc { padding: 7px 12px; font-size: 12px; background: rgba(6, 10, 16, 0.82); border-top: 1px solid var(--amb); } .enc.event { border-top-color: var(--or); } .enc.boss { border-top: 2px solid var(--red); }
.enc-title { display: flex; justify-content: space-between; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amb); font-size: 11px; } .enc.event .enc-title { color: var(--or); } .enc.boss .enc-title { color: var(--red); } .enc-time { color: var(--dim); font-weight: 400; font-family: var(--mono); } .enc-info { color: #c9d7e4; margin-top: 2px; }
.bossbar { height: 5px; background: rgba(255, 255, 255, 0.08); margin-top: 6px; } .bossbar .fill { background: linear-gradient(90deg, #b8371f, #ff6a3a); } .bossbar.ally .fill { background: var(--gr); }
.warns { display: flex; flex-direction: column; gap: 3px; align-items: center; } .warn { display: flex; align-items: center; gap: 6px; padding: 3px 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(6, 10, 16, 0.85); border: 1px solid; white-space: nowrap; }
.warn.danger { color: var(--red); animation: blink 0.7s steps(2) infinite; } .warn.warn { color: var(--amb); } .warn.storm { color: var(--vi); } .warn.info { color: var(--cy); font-weight: 400; }
@keyframes blink { 50% { opacity: 0.55; } }

/* alt orta: yamuk konsol */
.console { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 760px; height: 146px; pointer-events: auto; }
.console::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 20, 28, 0.94), rgba(5, 8, 12, 0.98)); border-top: 1px solid rgba(255, 178, 62, 0.55); clip-path: polygon(34px 0, calc(100% - 34px) 0, 100% 100%, 0 100%); }
.c-inner { position: absolute; left: 35px; right: 35px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 7px; text-shadow: none; }
.bars { display: flex; gap: 14px; align-items: center; }
.bar { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .bar.energy, .bar.heat { flex: none; width: 120px; }
.b-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: #dbe6f2; } .b-head .lab { letter-spacing: 0.14em; } .b-head .val { white-space: nowrap; }
.bar .track { height: 8px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.bar .fill { background: repeating-linear-gradient(90deg, var(--seg) 0 10px, transparent 10px 12px); }
.bar.hull { --seg: #ff9a5a; } .bar.hull .lab { color: #ffc9a8; } .bar.shield { --seg: var(--cy); } .bar.shield .lab { color: #9fe6ff; } .bar.energy { --seg: var(--ye); } .bar.energy .lab { color: #ffe07a; } .bar.heat { --seg: var(--red); } .bar.heat .lab { color: #ff8a66; }
.bar.lock .val { color: var(--red); font-weight: 700; } .bar.lock .track { outline: 1px solid var(--red); animation: blink 0.5s steps(2) infinite; } .bar.low .lab, .bar.low .val { color: var(--red); } .bar.low .track { outline: 1px solid var(--red); }
.slotrow { display: flex; gap: 6px; align-items: center; }
.sep { width: 1px; height: 44px; background: rgba(140, 180, 215, 0.25); margin: 0 4px; flex: none; }
.slot { position: relative; width: 56px; height: 56px; flex: none; background: var(--surface); border: 1px solid rgba(140, 180, 215, 0.45); display: grid; place-items: center; overflow: hidden; color: var(--cy); }
.slot.primary { border-color: var(--amb); color: var(--amb); } .slot.aux { color: var(--gr); } .slot.boost { color: var(--cy); }
.slot .s-ico { display: grid; place-items: center; } .slot .s-ico .ico { width: 26px; height: 26px; color: inherit; }
.slot .cd { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.62); height: 0; }
.slot .s-key { position: absolute; left: 3px; top: 1px; font-size: 10px; color: #9aa9ba; white-space: nowrap; text-transform: uppercase; } .slot .s-sub { position: absolute; right: 3px; bottom: 1px; font-family: var(--mono); font-size: 11px; color: var(--ye); font-weight: 700; }
.slot.cool { color: #50647a; border-color: rgba(140, 180, 215, 0.25); } .slot.empty { opacity: 0.45; border-style: dashed; } .slot.off .s-ico .ico { color: var(--red); }
/* konsol üst şeridi: yapılandırma anahtarı + drone formasyonu */
.utilrow { display: flex; align-items: center; gap: 12px; min-height: 22px; min-width: 0; }
.cfgsw { position: relative; display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px 0 8px; flex: none; overflow: hidden; background: var(--surface); border: 1px solid rgba(140, 180, 215, 0.4); color: #8fa3b8; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.cfgsw:hover { border-color: var(--line-strong); } .cfgsw.cool { cursor: progress; }
.cs-lab { font-size: 10px; letter-spacing: 0.16em; margin-right: 3px; } .cs-n { width: 18px; line-height: 16px; text-align: center; font-family: var(--mono); font-size: 12px; font-weight: 700; color: #6f8296; border: 1px solid transparent; } .cs-n.on { color: #fff3e4; border-color: var(--amb); background: rgba(120, 60, 20, 0.6); } .cs-key { font-family: var(--mono); font-size: 10px; color: var(--cy); margin-left: 3px; }
.cs-cd { position: absolute; right: 0; top: 0; bottom: 0; width: 0; background: rgba(0, 0, 0, 0.62); pointer-events: none; }
.formsel { display: flex; align-items: center; gap: 3px; min-width: 0; margin-left: auto; } .formsel.hidden { display: none; }
.fbtn { height: 22px; flex: none; padding: 0 8px; background: var(--surface); border: 1px solid rgba(140, 180, 215, 0.3); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa3b8; } .fbtn:hover { color: var(--txt); border-color: var(--line-strong); } .fbtn.on { border-color: var(--amb); color: #fff3e4; background: rgba(120, 60, 20, 0.6); }
.formtxt { margin-left: 7px; font-family: var(--mono); font-size: 10.5px; color: #9aa9ba; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* lazer mühimmatı seçici: 2x2 çentikli kare */
.ammosel { display: grid; grid-template-columns: repeat(2, 42px); grid-template-rows: repeat(2, 27px); gap: 2px; flex: none; }
.amtile { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; line-height: 1.05; min-width: 0; background: var(--surface); border: 1px solid rgba(140, 180, 215, 0.35); color: #b9c8d8; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.am-n { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; } .am-c { font-family: var(--mono); font-size: 10px; color: #8fa3b8; }
.amtile:hover:not(.empty) { border-color: var(--line-strong); } .amtile.on { border-color: var(--amb); background: rgba(120, 66, 12, 0.5); color: #fff3e4; } .amtile.on .am-c { color: var(--amb); }
.amtile.empty { opacity: 0.38; border-style: dashed; cursor: not-allowed; } .amtile.idle .am-n { color: #6f8296; } .amtile.idle.on { border-color: rgba(255, 178, 62, 0.5); }
.profbox { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.profs { display: flex; gap: 4px; } .prof { flex: 1; min-width: 0; height: 26px; background: var(--surface); border: 1px solid rgba(140, 180, 215, 0.3); padding: 0 4px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8fa3b8; display: flex; gap: 6px; align-items: center; justify-content: center; white-space: nowrap; overflow: hidden; }
.prof .k { color: var(--cy); font-weight: 700; } .prof:hover { color: var(--txt); border-color: var(--line-strong); } .prof.on { border-color: var(--amb); color: #fff3e4; background: rgba(120, 60, 20, 0.6); } .prof.on .k { color: var(--amb); }
.proflabel { font-family: var(--mono); font-size: 10.5px; line-height: 1.25; color: #9aa9ba; min-height: 13px; }

/* etkileşim açıklaması, ganimet akışı, bildirimler */
.promptbox { position: absolute; left: 50%; bottom: 212px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none !important; }
.prompt { display: none; padding: 6px 16px; background: rgba(6, 10, 16, 0.9); border: 1px solid var(--cy); font-size: 14px; white-space: nowrap; align-items: center; } .prompt.show { display: flex; } .prompt.locked { border-color: var(--red); color: #ffb39e; }
.key { display: inline-block; min-width: 22px; text-align: center; padding: 0 7px; margin-right: 10px; border: 1px solid var(--cy); color: var(--cy); font-weight: 700; font-family: var(--mono); }
.chan { display: none; width: 220px; height: 6px; background: rgba(255, 255, 255, 0.1); border: 1px solid var(--line-strong); } .chan.show { display: block; } .chan .fill { background: var(--amb); transition: none; } .chanlabel { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amb); min-height: 16px; }
.feed { position: absolute; right: 20px; bottom: 20px; max-width: 260px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; pointer-events: none !important; text-align: right; } .feedline { font-family: var(--mono); font-size: 12px; color: var(--amb); } .feedline.item { color: var(--q1); font-weight: 600; }
.toasts { position: absolute; left: 50%; top: max(190px, 24vh); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; pointer-events: none !important; z-index: 60; width: min(560px, 90vw); }
.toast { pointer-events: auto; padding: 7px 16px; background: rgba(6, 10, 16, 0.94); border: 1px solid var(--line-strong); border-left: 2px solid var(--line-strong); font-size: 13px; transition: opacity 0.4s; max-width: 100%; text-align: center; }
.toast.out { opacity: 0; } .toast.good { border-color: var(--gr); color: var(--gr); } .toast.warn { border-color: var(--amb); color: #ffd9a8; } .toast.danger { border-color: var(--red); color: #ffb39e; } .toast.invite { display: flex; gap: 8px; align-items: center; border-color: var(--amb); }

/* grup çerçeveleri */
.partyframes { position: absolute; left: 20px; top: 122px; display: flex; flex-direction: column; gap: 4px; width: 200px; } .pf { padding: 5px 9px; font-size: 12px; background: rgba(6, 10, 16, 0.8); border-left: 2px solid var(--gr); } .pf.offline { opacity: 0.5; }
.pf-name { display: flex; justify-content: space-between; color: var(--gr); gap: 6px; white-space: nowrap; } .pf-name span { color: var(--dim); font-family: var(--mono); } .pf-bar { height: 3px; background: rgba(255, 255, 255, 0.1); margin: 4px 0; } .pf-bar .fill { background: var(--gr); } .pf-sec { color: var(--dim); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }

/* sohbet: kanal sekmeleri */
.chat { position: absolute; left: 20px; bottom: 18px; width: 330px; display: flex; flex-direction: column; gap: 6px; padding: 6px 8px 0 0; background: linear-gradient(90deg, rgba(3, 6, 11, 0.55), rgba(3, 6, 11, 0)); }
.ctabs { display: flex; gap: 11px; flex-wrap: wrap; row-gap: 2px; } .ctab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 0 0 2px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8496a8; } .ctab.dim { opacity: 0.45; } .ctab:hover { color: var(--txt); } .ctab.on { color: var(--amb); border-bottom-color: var(--amb); }
.chatlog { height: 100px; overflow-y: auto; font-size: 13px; line-height: 1.5; user-select: text; overflow-wrap: anywhere; color: #c5d4e2; }
.cl { color: #c5d4e2; } .cl .ch { color: #6f8296; font-size: 11px; } .cl.sektor .ch { color: var(--ye); } .cl.grup, .cl.grup .ch { color: var(--gr); } .cl.klan .ch { color: var(--amb); } .cl.fraksiyon .ch, .cl.fraksiyon .who { color: var(--fc, var(--vi)); } .cl.sys { color: var(--dim); font-style: italic; }
.who { background: none; border: none; padding: 0; color: var(--cy); font: inherit; text-shadow: inherit; } .who:hover { text-decoration: underline; } .cl.grup .who { color: var(--gr); } .cl.klan .who { color: var(--amb); }
.chatrow { display: flex; } .chatrow input { flex: 1; height: 30px; padding: 0 10px; font-size: 12px; background: rgba(4, 8, 14, 0.7); border: 1px solid rgba(140, 180, 215, 0.3); text-shadow: none; }
.popmenu { position: fixed; z-index: 70; width: 200px; padding: 6px; display: flex; flex-direction: column; gap: 2px; border-top: 2px solid var(--amb); } .pm-title { color: var(--amb); font-weight: 600; padding: 2px 6px 5px; letter-spacing: 0.06em; } .popmenu button { text-align: left; background: none; border: none; padding: 6px 8px; font-size: 13px; } .popmenu button:hover { background: rgba(255, 178, 62, 0.12); color: #fff3e4; }

/* ---------- pencereler ---------- */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; } .grid2.wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.meter { height: 5px; background: rgba(255, 255, 255, 0.08); margin: 4px 0 8px; flex: 1; } .meter .fill { background: var(--amb); }
.line { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--hair); font-size: 13px; min-width: 0; } .line:last-child { border-bottom: none; } .line.box { padding: 8px 12px; border: 1px solid var(--hair); border-left: 2px solid var(--line-strong); }
.grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; } .price { color: var(--amb); white-space: nowrap; font-family: var(--mono); font-size: 12.5px; }
.res { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-size: 13px; } .res.miss { color: var(--red); } .cost { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.q0 b, .item.q0 .it-ico, .card.q0 .it-ico { color: var(--q0); } .q1 b, .item.q1 .it-ico, .card.q1 .it-ico { color: var(--q1); } .q2 b, .item.q2 .it-ico, .card.q2 .it-ico { color: var(--q2); }
.slotgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-bottom: 10px; }
.fslot { background: var(--surface); border: 1px solid var(--line); padding: 6px 7px; text-align: left; min-height: 58px; min-width: 0; } .fslot:hover { border-color: var(--line-strong); background: var(--surface2); } .fslot.sel { border-color: var(--amb); background: rgba(120, 66, 12, 0.3); }
.fslot.q0 { border-left: 3px solid var(--q0); } .fslot.q1 { border-left: 3px solid var(--q1); } .fslot.q2 { border-left: 3px solid var(--q2); } .fslot.empty { border-style: dashed; }
.fs-name { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--dim); } .fs-item { font-size: 12px; margin-top: 3px; display: flex; gap: 5px; align-items: flex-start; line-height: 1.25; overflow-wrap: anywhere; } .fs-item.none { color: var(--dim); }
.shipstats { margin-bottom: 10px; } .budget { display: flex; align-items: center; gap: 8px; font-size: 12px; } .budget span { width: 78px; color: var(--dim); } .budget b { width: 72px; text-align: right; font-family: var(--mono); font-weight: 600; } .budget .meter { margin: 0; } .budget.over b { color: var(--red); } .budget.over .fill { background: var(--red); }
.itemlist { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.item { display: flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 6px 8px; text-align: left; min-width: 0; } .item:hover { border-color: var(--line-strong); background: var(--surface2); } .item.sel { border-color: var(--amb); background: rgba(120, 66, 12, 0.25); }
.item.q0 { border-left: 3px solid var(--q0); } .item.q1 { border-left: 3px solid var(--q1); } .item.q2 { border-left: 3px solid var(--q2); }
.it-ico { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; background: rgba(0, 0, 0, 0.35); flex: none; color: var(--q0); } .it-ico .ico { width: 18px; height: 18px; } .it-ico.big { width: 44px; height: 44px; } .it-ico.big .ico { width: 26px; height: 26px; }
.it-txt { min-width: 0; } .it-txt b { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--txt); } .it-txt span { font-size: 11px; color: var(--dim); }
.card { background: rgba(12, 19, 29, 0.9); border: 1px solid var(--line); border-left: 3px solid var(--q0); padding: 12px; } .card.q1 { border-color: rgba(88, 224, 208, 0.45); border-left-color: var(--q1); } .card.q2 { border-color: rgba(255, 154, 60, 0.5); border-left-color: var(--q2); } .card-head { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; } .card-head b { font-size: 15px; color: var(--txt) !important; }
.detail { position: sticky; top: 0; }
.skillhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; } .trees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.skill { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--hair); } .skill > div:first-child { flex: 1; min-width: 0; } .pips { display: flex; gap: 4px; } .pips i { width: 8px; height: 8px; border: 1px solid var(--dim); transform: rotate(45deg); } .pips i.on { background: var(--amb); border-color: var(--amb); }
.maprow { display: flex; gap: 14px; align-items: flex-start; } .bigmap.goto { cursor: crosshair; } .bigmap { width: min(600px, 58vw); height: auto; aspect-ratio: 1; border: 1px solid var(--line); flex: none; } .mapside { flex: 1; min-width: 180px; }
.leg { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 2px 0; } .leg i { width: 12px; height: 12px; flex: none; }
.l-me { background: var(--amb); } .l-st { background: #9fe6ff; transform: rotate(45deg) scale(0.8); } .l-gate { border: 2px solid var(--cy); border-radius: 50%; } .l-quest { border: 2px solid var(--ye); transform: rotate(45deg) scale(0.8); } .l-risk { background: rgba(255, 70, 40, 0.3); border: 1px solid var(--red); border-radius: 50%; } .l-foe { background: rgba(255, 90, 50, 0.3); border-radius: 50%; } .l-ev { border: 2px solid var(--or); border-radius: 50%; } .l-storm { background: rgba(140, 100, 255, 0.4); }
.galaxy { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding-bottom: 6px; } .gnode { flex: 1 0 150px; margin: 0; display: flex; flex-direction: column; gap: 3px; border-top-width: 3px; } .gnode.cur { background: rgba(120, 66, 12, 0.22); } .gnode.locked { opacity: 0.6; }
.g-num { font-size: 22px; color: var(--dim); line-height: 1; font-family: var(--mono); } .g-state { margin-top: auto; padding-top: 6px; font-size: 12px; color: var(--amb); } .gnode .btn { margin-top: 6px; } .glink { flex: 0 0 16px; align-self: center; height: 1px; background: var(--dim); opacity: 0.5; } .glink.on { background: var(--amb); opacity: 1; }
.q-kicker { font-size: 10px; letter-spacing: 0.22em; color: var(--amb); text-transform: uppercase; } .box.quest h3 { margin: 4px 0 8px; }
.chain { margin: 0; padding-left: 22px; } .chain li { padding: 2px 0; color: var(--dim); } .chain li.done b { color: var(--gr); } .chain li.cur b { color: var(--amb); }
.tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; border: 1px solid var(--line); padding: 0 6px; margin-left: 8px; color: var(--dim); white-space: nowrap; } .tag.ok { border-color: var(--gr); color: var(--gr); }
.keygrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; margin-bottom: 10px; } .keyrow { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; border-bottom: 1px solid var(--hair); font-size: 13px; }
.keybtn { min-width: 86px; background: var(--surface); border: 1px solid var(--line-strong); padding: 4px 10px; color: var(--cy); font-weight: 600; font-family: var(--mono); font-size: 12px; } .keybtn:hover { border-color: var(--amb); } .keybtn.wait { color: var(--amb); border-color: var(--amb); } .fixed { color: var(--dim); font-size: 12px; }
.ships { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; } .shipcard { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; } .shipcard canvas { width: 80px; height: 80px; } .shipcard.cur { border-color: var(--amb); border-left-color: var(--amb); background: rgba(120, 66, 12, 0.18); } .shipcard.locked canvas { opacity: 0.35; filter: grayscale(1); } .shipcard .tag { margin: 0; white-space: normal; } .shipcard .btn { margin-top: auto; }
.table { display: grid; gap: 0; margin-bottom: 10px; } .table .tr { display: grid; grid-template-columns: 1.3fr 0.7fr 1.3fr 0.7fr 1.3fr; align-items: center; gap: 8px; padding: 6px 4px; border-bottom: 1px solid var(--hair); font-size: 13px; }
.table.mk .tr { grid-template-columns: 2.2fr 1.2fr 0.8fr auto; } .table .tr.head { color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; } .btns { display: flex; gap: 4px; }
.job { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 13px; } .job b { width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .job .meter { margin: 0; } .job .small { width: 54px; text-align: right; font-family: var(--mono); }
.recipe { padding: 8px 10px; margin-bottom: 6px; } .recipe.locked { opacity: 0.55; } .rc-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .rc-txt { flex: 1 1 170px; min-width: 0; } .rc-main .cost { flex: 1 1 200px; } .rc-time { width: 44px; text-align: right; font-family: var(--mono); } .rc-detail:not(:empty) { margin-top: 8px; }
.notice { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 12px; border: 1px solid var(--amb); border-left-width: 3px; color: var(--amb-soft); margin-bottom: 10px; font-size: 13px; }
.box.form { max-width: 560px; } .clanhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.dot { display: inline-block; width: 7px; height: 7px; background: #45505c; margin-right: 6px; } .dot.on { background: var(--gr); } .logline { font-size: 12px; padding: 2px 0; color: var(--soft); }
/* sıralama sekmesi */
.rk-me { padding: 8px 12px; margin-bottom: 10px; border: 1px solid var(--amb); border-left-width: 3px; color: var(--amb-soft); font-family: var(--mono); font-size: 13px; }
.rk-row { display: grid; grid-template-columns: 44px minmax(0, 1.1fr) minmax(0, 2fr) 48px 92px; gap: 8px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--hair); border-left: 2px solid transparent; font-size: 13px; }
.rk-row b { font-family: var(--mono); font-weight: 600; } .rk-row > :nth-child(4), .rk-row > :nth-child(5) { text-align: right; font-family: var(--mono); }
.rk-row.head { color: var(--dim); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; } .rk-row.head > * { font-family: var(--font); }
.rk-row.top > b:first-child { color: var(--amb); } .rk-row.own { background: rgba(120, 66, 12, 0.28); border-left-color: var(--amb); color: #fff3e4; }
.rk-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rk-you { font-style: normal; font-size: 10px; margin-left: 8px; padding: 0 5px; border: 1px solid var(--amb); color: var(--amb); text-transform: uppercase; letter-spacing: 0.1em; }
.cfgbox .row { margin-top: 0; } .cfgbox h4 { margin-bottom: 4px; }
.noscript { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 99; }

/* fraksiyonlar: renk kuralı + amblem; amber yalnız vurgu */
.femb { stroke-width: 1.6; } .femb.big { width: 44px; height: 44px; stroke-width: 1.4; }
.pc-fac { display: flex; align-items: center; gap: 6px; width: 100%; min-width: 0; background: none; border: 0; padding: 0 0 3px; margin: 0; text-align: left; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.4; color: var(--fc, #7d8fa2); text-shadow: inherit; }
.pc-fac .ico { width: 12px; height: 12px; } .pc-fac span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .pc-fac:hover span { text-decoration: underline; } .pc-fac.none { color: #6f8296; }
.modal.facpick { width: min(980px, 100%); padding: 20px 24px 16px; } .modal.facpick h2 { color: #f4f8fc; text-transform: uppercase; letter-spacing: 0.14em; margin: 4px 0 6px; }
.fplates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 14px 0 12px; }
.fplate { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 14px; background: rgba(14, 22, 33, 0.72); border: 1px solid var(--hair); border-top: 3px solid var(--fc); min-height: 310px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.fplate.mine { border-color: var(--fc); background: rgba(20, 30, 44, 0.85); }
.fp-emb { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid var(--fc); background: rgba(0, 0, 0, 0.3); clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%); }
.fp-name { font-size: 19px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fc); }
.fp-creed { white-space: pre-line; font-size: 14px; line-height: 1.4; color: #f4f8fc; border-left: 2px solid var(--fc); padding-left: 10px; }
.fp-desc { font-size: 12.5px; line-height: 1.45; color: var(--soft); margin: 0; flex: 1; }
.fplate .btn.primary { border-color: var(--fc); background: rgba(8, 13, 21, 0.85); color: var(--fc); margin-top: auto; } .fplate .btn.primary:hover:not(:disabled) { background: var(--fc); color: #04070b; border-color: var(--fc); }
.frules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .frule { border-left: 2px solid var(--amb); padding: 2px 0 2px 10px; font-size: 12.5px; line-height: 1.45; color: var(--soft); }
.fp-foot { margin-top: 12px; align-items: center; text-align: left; } .modal.facpick .fp-foot .btn { margin-top: 0; }
.fmine { padding: 8px 12px; margin-bottom: 10px; border: 1px solid var(--amb); border-left-width: 3px; color: var(--amb-soft); font-size: 13px; } .fmine.none { border-color: var(--line); color: var(--dim); }
.fbars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.fbar { display: flex; gap: 12px; align-items: center; padding: 10px 12px; background: rgba(14, 22, 33, 0.72); border: 1px solid var(--hair); border-left: 3px solid var(--fc); }
.fbar.lead { border-color: var(--amb); border-left-color: var(--fc); background: rgba(120, 66, 12, 0.16); } .fbar.mine { box-shadow: inset 0 0 0 1px var(--fc); }
.fb-emb .ico { width: 30px; height: 30px; } .fb-main { flex: 1; min-width: 0; }
.fb-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 5px; font-size: 14px; } .fb-top b { color: var(--fc); letter-spacing: 0.08em; text-transform: uppercase; }
.fb-tag { font-style: normal; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; padding: 0 6px; border: 1px solid; } .fb-tag.mine { color: var(--cy); } .fb-tag.lead { color: var(--amb); }
.fb-track { height: 5px; background: rgba(255, 255, 255, 0.08); margin-bottom: 5px; } .fb-track i { display: block; height: 100%; background: var(--fc); }
.fb-score { font-family: var(--mono); font-size: 18px; min-width: 70px; text-align: right; color: #f4f8fc; }
.row.start { justify-content: flex-start; } .warnline { color: var(--amb); margin-top: 6px; }
/* sınamalar */
.trial-keys { display: flex; align-items: center; gap: 16px; padding: 12px 14px; margin-bottom: 10px; border: 1px solid var(--amb); border-left-width: 3px; background: rgba(120, 66, 12, 0.16); }
.tk-num { display: flex; align-items: center; gap: 10px; color: var(--amb); } .tk-num .ico { width: 28px; height: 28px; } .tk-num b { font-family: var(--mono); font-size: 34px; line-height: 1; } .tk-num.zero { color: var(--dim); }
.tk-txt { flex: 1; min-width: 0; } .tk-txt b { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; }
.notice.tl-party { justify-content: flex-start; gap: 10px; }
.trial { display: flex; gap: 14px; align-items: flex-start; } .trial.locked { opacity: 0.62; }
.tl-num { width: 44px; flex: none; text-align: center; padding: 6px 0; font-family: var(--mono); font-size: 20px; color: var(--amb); border: 1px solid var(--line-strong); }
.tl-main { flex: 1; min-width: 0; } .tl-head { display: flex; align-items: center; margin-bottom: 2px; font-size: 15px; } .tl-head b { letter-spacing: 0.06em; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 6px 0; font-size: 12px; } .tl-meta i { font-style: normal; color: var(--dim); margin-right: 6px; text-transform: uppercase; letter-spacing: 0.1em; font-size: 10px; } .tl-meta b { font-family: var(--mono); font-weight: 600; }
.tl-lock { display: flex; gap: 6px; align-items: center; margin-top: 6px; font-size: 12px; color: var(--amb); }
.tl-act { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 150px; text-align: right; }
.btn.leavebtn { width: 100%; border-color: var(--red); color: #ffb39e; background: rgba(60, 12, 8, 0.8); } .btn.leavebtn:hover:not(:disabled) { border-color: #ff8a66; color: #fff; background: rgba(110, 24, 14, 0.85); }
.modal.center h4 { justify-content: center; } .modal.center .chips { justify-content: center; }
.modal.trialend.ok { border-color: var(--gr); } .modal.trialend.ok h2 { color: var(--gr); } .modal.trialend.fail { border-color: var(--red); } .modal.trialend.fail h2 { color: var(--red); }

/* küçük ekranlar: ikincil öğeleri daralt ya da gizle (en dar hedef 1280x720) */
@media (max-width: 1400px) {
  .console { width: 700px; } .c-inner { left: 33px; right: 33px; } .bar.energy, .bar.heat { width: 100px; }
  .slot { width: 50px; height: 50px; } .slot .s-ico .ico { width: 24px; height: 24px; } .sep { height: 40px; } .prof { font-size: 11px; letter-spacing: 0.04em; gap: 4px; padding: 0 3px; } .profs { gap: 3px; }
  .chat { width: 260px; } .partyframes { width: 180px; } .ctabs { gap: 8px; } .ctab { font-size: 10px; letter-spacing: 0.08em; }
}
@media (max-width: 1180px) { .feed { display: none; } .topmid { width: clamp(280px, calc(100vw - 640px), 420px); } }
@media (max-width: 1100px) { .chat { display: none; } .console { width: min(700px, calc(100vw - 24px)); } }
@media (max-width: 900px) { .fplates, .frules { grid-template-columns: 1fr; } .trial { flex-wrap: wrap; } .tl-act { max-width: none; align-items: flex-start; text-align: left; } .formtxt { display: none; } .rk-row { grid-template-columns: 34px 1fr 1.6fr 40px 70px; } .grid2, .grid2.wide, .trees, .itemlist { grid-template-columns: 1fr; } .ships { grid-template-columns: 1fr 1fr; } .maprow, .create-row { flex-direction: column; } .keygrid { grid-template-columns: 1fr; } .slotgrid { grid-template-columns: 1fr 1fr; } .rightcol { width: 184px; } .tracker { display: none; } .pc-row .cg, .pc-row .am { display: none; } }
@media (max-height: 800px) { .rightcol { width: 184px; } .tracker { max-height: calc(100vh - 400px); } .tracker .tr-prog { display: none; } .chatlog { height: 70px; } .partyframes { top: 116px; } .toasts { top: 170px; } }
@media (max-height: 700px) { .tracker .tr-hint { display: none; } .chatlog { height: 54px; } }
@media (prefers-reduced-motion: reduce) { .warn.danger, .bar.lock .track, .tracker .tr.offer, .spinner { animation: none; } }

/* ===================== profesyonelleştirme turu ===================== */
:root { --ui-scale: 1; --hud-op: 1; }
/* renk körlüğü kipleri: düşman (--red), müttefik (--gr), kalkan/veri (--cy) ayırt edilebilir tonlara geçer */
html[data-cvd="deuteranopia"] { --red: #ff6fae; --gr: #4aa8ff; --cy: #f2f6ff; }
html[data-cvd="protanopia"] { --red: #ffd23c; --gr: #4aa8ff; --cy: #f2f6ff; }
html[data-cvd="tritanopia"] { --red: #ff3d5a; --gr: #3be8a8; --cy: #ffffff; }
/* hareket azaltma: animasyon ve geçişler kapanır */
html.rm *, html.rm *::before, html.rm *::after { animation: none !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }

/* görünür odak: tüm etkileşimli öğeler (çentikli öğelerde halka içeride) */
:focus-visible { outline: 2px solid var(--amb); outline-offset: -3px; }
input:focus-visible, select:focus-visible { outline-offset: 0; }
.w-tabs button:focus-visible, .ts-tabs button:focus-visible, .ctab:focus-visible { outline-offset: 2px; }
input[type=range]:focus-visible { outline-offset: 3px; }
.modal:focus, .window:focus { outline: none; }

/* HUD ölçeği ve saydamlığı */
#hud { inset: auto; left: 0; top: 0; width: calc(100vw / var(--ui-scale)); height: calc(100vh / var(--ui-scale)); transform: scale(var(--ui-scale)); transform-origin: 0 0; }
.pilotcard, .rightcol, .console, .chat, .partyframes, .feed { opacity: var(--hud-op); }
.tracker { max-height: calc(100vh / var(--ui-scale) - 448px); }
@media (max-height: 800px) { .tracker { max-height: calc(100vh / var(--ui-scale) - 400px); } }

/* meşgul düğme */
.btn.busy { pointer-events: none; position: relative; color: transparent !important; }
.btn.busy:disabled { opacity: 1; }
.btn.busy::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid rgba(255, 255, 255, 0.22); border-top-color: var(--amb); border-radius: 50%; animation: spin 0.7s linear infinite; }

/* tek araç ipucu */
.tip { position: fixed; left: 0; top: 0; z-index: 90; max-width: 300px; padding: 8px 11px 9px; background: rgba(5, 9, 15, 0.97); border: 1px solid var(--line-strong); border-top: 2px solid var(--amb); font-size: 12px; line-height: 1.45; color: var(--soft); pointer-events: none; opacity: 0; transition: opacity 0.1s; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); }
.tip.show { opacity: 1; }
.tip-h { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; } .tip-t { color: #f4f8fc; font-weight: 600; letter-spacing: 0.04em; }
.tip-k { font-family: var(--mono); font-size: 11px; color: var(--cy); border: 1px solid var(--cy); padding: 0 5px; white-space: nowrap; }
.tip-l, .tip-p { margin-top: 3px; } .tip-p { margin-top: 0; } .tip-l:empty { display: none; }

/* onboarding ipuçları */
.tipcard { position: fixed; z-index: 40; width: 270px; padding: 10px 12px; background: rgba(6, 10, 16, 0.97); border: 1px solid var(--amb); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55); font-size: 13px; line-height: 1.45; color: #e9eff7; animation: tip-in 0.16s ease-out; }
@keyframes tip-in { from { opacity: 0; transform: translateY(4px); } }
.tc-k { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--amb); margin-bottom: 4px; } .tc-act { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; }
.tipcard::after { content: ''; position: absolute; width: 10px; height: 10px; background: #060a10; border: 0 solid var(--amb); }
.tipcard[data-side="top"]::after { bottom: -6px; left: var(--ax, 24px); border-width: 0 1px 1px 0; transform: translateX(-50%) rotate(45deg); }
.tipcard[data-side="bottom"]::after { top: -6px; left: var(--ax, 24px); border-width: 1px 0 0 1px; transform: translateX(-50%) rotate(45deg); }
.tipcard[data-side="left"]::after { right: -6px; top: var(--ax, 24px); border-width: 1px 1px 0 0; transform: translateY(-50%) rotate(45deg); }
.tipcard[data-side="right"]::after { left: -6px; top: var(--ax, 24px); border-width: 0 0 1px 1px; transform: translateY(-50%) rotate(45deg); }

/* üst katman geçişi ve onay kutusu */
.overlay.show .modal { animation: modal-in 0.14s ease-out; } @keyframes modal-in { from { opacity: 0; transform: translateY(6px); } }
.confirm-keys { width: 100%; margin-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; }

/* ---------- açılış: başlık, yükleme, pilot kaydı ---------- */
.screens.ts { padding: 0; align-items: stretch; justify-content: flex-start; background: transparent; overflow: hidden; isolation: isolate; --tsu: clamp(14px, 1.5vh, 21px); }
.ts-art { position: absolute; inset: -3%; z-index: -3; background-size: cover; background-position: 66% 50%; opacity: 0; transition: opacity 1.4s ease; animation: ts-drift 70s ease-in-out infinite alternate; will-change: transform; }
.ts-art.on { opacity: 1; }
@keyframes ts-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1.6%, -0.8%, 0); } }
.ts-scrim { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(90deg, rgba(3, 6, 11, 0.96) 0%, rgba(3, 6, 11, 0.88) 24%, rgba(3, 6, 11, 0.5) 46%, rgba(3, 6, 11, 0.08) 72%, rgba(3, 6, 11, 0.25) 100%), linear-gradient(0deg, rgba(3, 6, 11, 0.85) 0%, transparent 28%), linear-gradient(180deg, rgba(3, 6, 11, 0.6) 0%, transparent 22%); }
.ts-corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--line-strong); pointer-events: none; z-index: 2; }
.ts-corner.tl { left: 18px; top: 18px; border-left-width: 1px; border-top-width: 1px; } .ts-corner.tr { right: 18px; top: 18px; border-right-width: 1px; border-top-width: 1px; }
.ts-corner.bl { left: 18px; bottom: 18px; border-left-width: 1px; border-bottom-width: 1px; } .ts-corner.br { right: 18px; bottom: 18px; border-right-width: 1px; border-bottom-width: 1px; }
.ts-col { position: relative; z-index: 1; width: clamp(460px, 32vw, 780px); max-width: 100%; height: 100%; padding: clamp(28px, 6vh, 84px) clamp(28px, 3.6vw, 96px); display: flex; flex-direction: column; justify-content: space-between; gap: clamp(16px, 3vh, 40px); overflow-x: hidden; overflow-y: auto; font-size: var(--tsu); animation: ts-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.ts-col.wide { width: clamp(520px, 36vw, 860px); }
@keyframes ts-in { from { opacity: 0; transform: translateX(-14px); } }
.ts-brand { display: flex; align-items: center; gap: 1.1em; } .ts-mark { width: 3.6em; height: 3.6em; flex: none; fill: none; stroke-width: 2; }
.ts-mark .m-ring { stroke: #dbe6f2; opacity: 0.92; } .ts-mark .m-in { stroke: var(--soft); opacity: 0.6; } .ts-mark .m-cut { stroke: var(--amb); stroke-width: 2.2; } .ts-mark .m-body { fill: var(--amb); stroke: none; } .ts-mark .m-core { fill: var(--amb); stroke: none; opacity: 0.8; }
.ts-title { margin: 0; line-height: 1; text-transform: uppercase; } .ts-title .t1 { display: block; font-size: 2.1em; font-weight: 300; letter-spacing: 0.42em; color: #f4f8fc; } .ts-title .t2 { display: block; font-size: 2.1em; font-weight: 700; letter-spacing: 0.2em; color: #f4f8fc; margin-top: 0.1em; padding-bottom: 0.18em; border-bottom: 1px solid var(--amb); }
.ts-brand .tagline { margin-top: 0.8em; font-size: 0.72em; letter-spacing: 0.18em; line-height: 1.5; max-width: 30em; }
.ts-brand.small .ts-mark { width: 2.6em; height: 2.6em; } .ts-brand.small .ts-title .t1, .ts-brand.small .ts-title .t2 { font-size: 1.35em; }
.ts-mid { display: flex; flex-direction: column; } .ts-bot { display: flex; flex-direction: column; gap: 1.1em; }
.ts-form { position: relative; padding: 1.3em 1.4em 1.2em; background: rgba(6, 10, 16, 0.78); border: 1px solid var(--line); border-top: 2px solid var(--amb); backdrop-filter: blur(6px); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); }
.ts-tabs { display: flex; gap: 1.6em; margin-bottom: 1.1em; border-bottom: 1px solid var(--line); }
.ts-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 0 0 0.6em; color: var(--dim); font-size: 0.8em; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; } .ts-tabs button:hover { color: var(--txt); } .ts-tabs button.on { color: var(--amb); border-bottom-color: var(--amb); }
.ts-f { display: block; margin: 0 0 0.9em; font-size: 0.72em; letter-spacing: 0.2em; }
.ts-fl { display: flex; justify-content: space-between; } .pc-cnt { font-family: var(--mono); letter-spacing: 0; }
.ts-form .ts-f input { display: block; width: 100%; margin-top: 0.5em; height: 3.2em; padding: 0 1em; font-size: 1.35em; letter-spacing: 0.02em; text-transform: none; background: rgba(2, 5, 10, 0.8); }
.ts-form .form-hint { font-size: 0.78em; margin-bottom: 0.6em; } .ts-form .form-err { min-height: 1.5em; font-size: 0.82em; } .ts-form .form-err:not(:empty) { border-left: 2px solid var(--red); padding-left: 0.6em; }
.ts-form .ts-go { height: 3.4em; margin-top: 0.3em; font-size: 0.85em; letter-spacing: 0.22em; }
.ts-kick { font-size: 0.72em; letter-spacing: 0.28em; text-transform: uppercase; color: var(--amb); margin-bottom: 0.6em; } .ts-form .lead { font-size: 0.86em; line-height: 1.5; margin-bottom: 0.9em; }
.ts-feats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); } .ts-feats li { display: grid; grid-template-columns: 2.6em 1fr; align-items: baseline; padding: 0.55em 0; border-bottom: 1px solid var(--hair); color: var(--soft); font-size: 0.86em; letter-spacing: 0.04em; } .ts-feats b { font-family: var(--mono); font-size: 0.82em; color: var(--amb); font-weight: 400; letter-spacing: 0.1em; }
.ts-foot { display: flex; flex-direction: column; gap: 0.2em; font-size: 0.68em; letter-spacing: 0.1em; color: var(--dim); font-family: var(--mono); }
/* yükleme */
.ld { position: relative; z-index: 1; width: clamp(460px, 44vw, 960px); max-width: 100%; height: 100%; padding: clamp(28px, 6vh, 84px) clamp(28px, 3.6vw, 96px); display: flex; flex-direction: column; justify-content: center; gap: 2.8em; font-size: var(--tsu); }
.ld .ts-foot { margin-top: auto; }
.ld-prog { width: 100%; } .ld-meta { display: flex; justify-content: space-between; margin-bottom: 0.7em; font-family: var(--mono); font-size: 0.72em; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); }
.ld-bar { position: relative; height: 1px; background: var(--line-strong); } .ld-fill { position: absolute; left: 0; top: -1px; width: 100%; height: 3px; background: var(--amb); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px rgba(255, 178, 62, 0.55); }
.ld-tip { max-width: 34em; min-height: 4.4em; color: var(--soft); border-left: 2px solid var(--amb); padding-left: 1em; font-size: 0.95em; line-height: 1.5; } .ld-tip i { display: block; font-style: normal; font-size: 0.7em; letter-spacing: 0.24em; color: var(--amb); text-transform: uppercase; margin-bottom: 0.3em; }
.ld-tip.sw .ld-tt { animation: fadein 0.5s; }
/* pilot kaydı */
.pc-ship { display: flex; gap: 1.1em; align-items: center; margin-bottom: 1em; } .pc-ship .shipprev { width: 8.5em; height: 8.5em; flex: none; border: 1px solid var(--line-strong); }
.pc-spec { min-width: 0; flex: 1; font-size: 0.86em; } .pc-spec .small { margin: 0.4em 0 0; }
.ts-f2 { margin-bottom: 0.6em; } .ts-f2 .ts-fl { font-size: 0.72em; letter-spacing: 0.2em; color: var(--dim); text-transform: uppercase; margin-bottom: 0.5em; }
.pf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4em; }
.pf-tile { display: flex; align-items: center; gap: 0.5em; padding: 0.55em 0.6em; background: var(--surface); border: 1px solid var(--hair); border-top: 2px solid var(--fc); font-size: 0.74em; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); text-align: left; min-width: 0; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%); }
.pf-tile .ico { width: 1.7em; height: 1.7em; flex: none; } .pf-tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .pf-tile:hover { border-color: var(--fc); } .pf-tile.on { background: rgba(20, 30, 44, 0.9); border-color: var(--fc); color: #fff; }
.pf-d { min-height: 2.8em; margin-top: 0.5em; font-size: 0.78em; line-height: 1.4; color: var(--dim); } .pf-d.sel { color: var(--fc); border-left: 2px solid var(--fc); padding-left: 0.6em; }

/* ---------- pencereler ---------- */
#win { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; pointer-events: none; padding: 16px; }
.window { pointer-events: auto; width: min(760px, calc(100% / var(--ui-scale, 1))); max-height: min(calc(86vh / var(--ui-scale, 1)), 820px); display: flex; flex-direction: column; background: rgba(7, 11, 18, 0.97); border-color: var(--line-strong); border-top: 2px solid var(--amb); --cut: 14px; transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(var(--ui-scale, 1)); }
.window.wide { width: min(1040px, calc(100% / var(--ui-scale, 1))); } .window.menuwin { width: min(860px, calc(100% / var(--ui-scale, 1))); }
.window.win-in { animation: win-in 0.14s ease-out; } .window.out { position: absolute; pointer-events: none; animation: win-out 0.11s ease-in forwards; }
@keyframes win-in { from { opacity: 0; transform: translate(var(--dx, 0px), calc(var(--dy, 0px) + 8px)) scale(calc(var(--ui-scale, 1) * 0.985)); } }
@keyframes win-out { to { opacity: 0; transform: translate(var(--dx, 0px), calc(var(--dy, 0px) + 6px)) scale(calc(var(--ui-scale, 1) * 0.99)); } }
.w-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 10px 9px 18px; min-height: 46px; border-bottom: 1px solid var(--line); cursor: grab; touch-action: none; user-select: none; background: linear-gradient(180deg, rgba(255, 178, 62, 0.05), transparent); }
.window.drag .w-head { cursor: grabbing; }
.w-ttl { display: flex; align-items: baseline; gap: 14px; min-width: 0; } .w-head h3 { color: #f4f8fc; letter-spacing: 0.18em; text-transform: uppercase; font-size: 14px; display: flex; align-items: center; gap: 10px; white-space: nowrap; } .w-head h3::before { content: ''; width: 7px; height: 7px; background: var(--amb); flex: none; }
.w-sub { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .w-sub:empty { display: none; }
.w-close { background: none; border: 1px solid var(--line); width: 30px; height: 30px; display: grid; place-items: center; color: var(--dim); flex: none; } .w-close:hover { color: var(--red); border-color: var(--red); }
.w-tabwrap { position: relative; border-bottom: 1px solid var(--line); }
.w-tabwrap::before, .w-tabwrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 28px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.12s; }
.w-tabwrap::before { left: 0; background: linear-gradient(90deg, rgba(7, 11, 18, 0.98), transparent); } .w-tabwrap::after { right: 0; background: linear-gradient(270deg, rgba(7, 11, 18, 0.98), transparent); }
.w-tabwrap.l::before, .w-tabwrap.r::after { opacity: 1; }
.w-tabs { display: flex; flex-wrap: nowrap; gap: 2px; padding: 0 16px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.w-tabs::-webkit-scrollbar { display: none; }
.w-tabs button { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 10px 14px 8px; color: var(--dim); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; } .w-tabs button:hover { color: var(--txt); } .w-tabs button.on { color: var(--amb); border-bottom-color: var(--amb); }
.w-body { padding: 14px 16px; overflow-y: auto; flex: 1; min-height: 160px; }
.w-foot { padding: 9px 16px; min-height: 44px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.w-foot::before { content: attr(data-hint); margin-right: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.03em; color: var(--dim); } .w-foot[data-hint=""]:empty { display: none; }
.state { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 32px 12px; color: var(--dim); font-size: 13px; } .state.err { color: #ffb39e; } .state .ico { width: 26px; height: 26px; } .state .spinner { margin: 0; }
.state.empty::before { content: ''; width: 20px; height: 20px; border: 1px solid var(--line-strong); transform: rotate(45deg) scale(0.75); margin-bottom: 8px; }

/* duraklatma menüsü */
.mn { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.mn-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; } .mn-brand .ts-mark { width: 34px; height: 34px; } .mn-word { font-size: 15px; font-weight: 600; letter-spacing: 0.3em; color: #f4f8fc; }
.mn-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mn-row { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; text-align: left; padding: 10px 12px 10px 8px; background: none; border: 0; border-bottom: 1px solid var(--hair); border-left: 2px solid transparent; color: var(--soft); }
.mn-t b { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--txt); } .mn-t small { display: block; margin-top: 1px; font-size: 11px; color: var(--dim); }
.mn-n, .mn-go { font-family: var(--mono); font-size: 11px; color: var(--dim); }
.mn-row:hover, .mn-row:focus-visible { border-left-color: var(--amb); background: rgba(255, 178, 62, 0.06); } .mn-row:hover .mn-n, .mn-row:hover .mn-go { color: var(--amb); }
.mn-row.primary { background: rgba(120, 66, 12, 0.32); border-left-color: var(--amb); } .mn-row.danger .mn-t b { color: #ffb39e; } .mn-row.danger:hover { border-left-color: var(--red); background: rgba(255, 90, 58, 0.07); }
.mn-saved { margin-top: 10px; }
.ps { padding: 14px; border: 1px solid var(--hair); border-top: 2px solid var(--amb); background: rgba(10, 16, 25, 0.6); }
.ps-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; } .ps-head .lvlbadge { width: 54px; height: 54px; } .ps-id { min-width: 0; } .ps-name { display: block; font-size: 17px; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-rank { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #9fe6ff; } .ps-pts { font-family: var(--mono); letter-spacing: 0; color: var(--dim); }
.ps-bar { height: 1px; background: rgba(111, 216, 255, 0.2); margin: 6px 0 10px; } .ps-bar i { display: block; height: 3px; margin-top: -1px; background: var(--cy); }
.ps-fac .kv b, .ps-fac b { color: var(--fc); display: inline-flex; align-items: center; gap: 6px; } .ps-fac .ico { width: 14px; height: 14px; }

/* ayarlar */
.setrow { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--txt); margin-bottom: 10px; text-transform: none; letter-spacing: 0; } .setrow span { width: 210px; flex: none; } .setrow input[type=range] { flex: 1; width: auto; margin: 0; } .setrow b { width: 44px; text-align: right; font-family: var(--mono); } .setrow select { width: auto; flex: 1; margin: 0; }
.setgrp { margin-bottom: 8px; } .setgrp .setrow { margin-bottom: 4px; } .set-d { margin: 0 0 6px 222px; }
.setrow.chk input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; flex: none; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 0; cursor: pointer; position: relative; }
.setrow.chk input:checked { border-color: var(--amb); background: rgba(120, 66, 12, 0.55); } .setrow.chk input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #fff3e4; border-width: 0 2px 2px 0; transform: rotate(45deg); }
input[type=range] { -webkit-appearance: none; appearance: none; height: 18px; background: transparent; accent-color: var(--amb); }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--line-strong); } input[type=range]::-moz-range-track { height: 2px; background: var(--line-strong); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 16px; margin-top: -7px; border: 0; background: var(--amb); clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); }
input[type=range]::-moz-range-thumb { width: 10px; height: 16px; border: 0; border-radius: 0; background: var(--amb); }
.cvd-prev { display: flex; gap: 18px; margin: -2px 0 10px 222px; flex-wrap: wrap; } .cvd-prev span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soft); } .cvd-prev i { width: 12px; height: 12px; display: inline-block; }
.helpgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.row.start { justify-content: flex-start; }

@media (max-width: 900px) {
  .ts-col, .ts-col.wide, .ld { width: 100%; } .ts-scrim { background: linear-gradient(0deg, rgba(3, 6, 11, 0.9), rgba(3, 6, 11, 0.7)); }
  .mn, .helpgrid { grid-template-columns: 1fr; } .set-d, .cvd-prev { margin-left: 0; } .setrow span { width: 130px; }
}
@media (max-height: 760px) { .ts-brand .tagline { display: none; } .ts-feats li:nth-child(n+3) { display: none; } }
.lead { color: var(--soft); margin-bottom: 12px; }
.tagline { color: var(--dim); text-transform: uppercase; }

/* ---------- hızlı kullanım çubuğu (konsolun üst kenarında), yoldaş anahtarı ---------- */
.quickbar { position: absolute; right: 36px; bottom: 100%; display: flex; align-items: flex-end; gap: 4px; padding: 7px 9px 0; background: rgba(8, 13, 21, 0.92); border: 1px solid rgba(255, 178, 62, 0.55); border-bottom: 0; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%, 0 10px); }
.slot.cons { width: 44px; height: 44px; cursor: pointer; } .slot.cons .s-ico .ico { width: 22px; height: 22px; } .slot.cons .s-key { font-size: 9px; } .slot.cons .s-sub { font-size: 10px; }
.slot.c-kit { color: #ff9a5a; } .slot.c-cell { color: var(--cy); } .slot.c-surge { color: var(--amb); } .slot.c-cloak { color: #b4c4d6; }
.slot.cons:hover { border-color: var(--line-strong); } .slot.cons.cool { color: #50647a; }
.slot.active { border-color: var(--amb); box-shadow: inset 0 0 0 1px rgba(255, 178, 62, 0.55); } .slot.idle { opacity: 0.5; }
.qsep { width: 1px; height: 34px; margin: 0 3px 5px; background: rgba(140, 180, 215, 0.25); flex: none; } .qsep.hidden { display: none; }
.petbtn { width: 54px; height: 44px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; background: var(--surface); border: 1px solid rgba(140, 180, 215, 0.35); color: #6f8296; clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 0 100%); }
.petbtn .ico { width: 17px; height: 17px; } .petbtn .pb-t { display: none; } .petbtn .pb-st { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; }
.petbtn:hover { border-color: var(--line-strong); } .petbtn.on { color: var(--gr); border-color: rgba(125, 255, 176, 0.6); } .petbtn.hidden { display: none; }
.k-sm { min-width: 0; margin: 0; padding: 0 6px; font-size: 11px; }

/* özel mesaj: alıcı alanı ve ayrı renkli satırlar */
.chatrow { gap: 4px; } .chatrow input.dm-to { flex: none; width: 88px; } .chatrow input.dm-to.hidden { display: none; }
.cl.ozel { color: #ddd0ff; border-left: 2px solid var(--vi); padding-left: 6px; } .cl.ozel .ch { color: var(--vi); } .cl.ozel .who { color: #c9b4ff; }
@media (max-width: 1400px) { .ctabs { gap: 6px; } .ctab { letter-spacing: 0.04em; } .chatrow input.dm-to { width: 76px; } }

/* ekipman geliştirme */
.upg-badge { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 700; margin-left: 6px; padding: 0 5px; color: #1a1205; background: var(--amb); display: inline-block; line-height: 15px; vertical-align: 1px; clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 4px, 100% 100%, 0 100%); }
.upgrade { margin-top: 12px; padding-top: 2px; border-top: 1px solid var(--hair); } .upg-pips { margin: 2px 0 8px; } .upg-pips i { width: 10px; height: 10px; }
.upgrade .kvlist { margin: 4px 0 8px; } .upgrade .cost { margin: 6px 0 2px; }

/* yoldaş */
.petcur .petrow { display: flex; gap: 14px; align-items: center; } .petcur canvas, .petcard canvas { width: 76px; height: 76px; flex: none; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--hair); }
.pet-main { flex: 1; min-width: 0; } .pet-top { display: flex; align-items: center; margin-bottom: 2px; font-size: 16px; } .pet-top .tag { margin-left: 10px; }
.pet-xp { display: flex; align-items: center; gap: 10px; margin: 2px 0 4px; } .pet-xp .meter { margin: 0; max-width: 260px; } .pet-xp .small { font-family: var(--mono); white-space: nowrap; } .pet-eff { font-size: 12.5px; color: var(--soft); }
.petgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.petcard { margin: 0; display: flex; flex-direction: column; gap: 6px; } .petcard.cur { border-color: var(--amb); border-left-color: var(--amb); background: rgba(120, 66, 12, 0.18); } .petcard b { letter-spacing: 0.08em; text-transform: uppercase; font-size: 13px; }
.pet-d { margin: 0; flex: 1; } .petcard .btn, .petcard .tag { margin-top: auto; align-self: stretch; text-align: center; } .price.miss { color: var(--red); }

/* hızlı kullanım eşyaları: dükkân ve kargo */
.cons-item { border-bottom: 1px solid var(--hair); padding-bottom: 6px; margin-bottom: 4px; } .cons-item:last-of-type { border-bottom: 0; } .cons-item .line { border-bottom: 0; padding-bottom: 2px; } .cons-d { padding-left: 24px; }

/* başarımlar ve günlük hedefler */
.goals { display: flex; flex-direction: column; gap: 6px; } .goal.box { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(140px, 220px); gap: 12px; align-items: center; margin: 0; padding: 9px 12px; }
.goal.done { border-left-color: var(--gr); opacity: 0.72; } .goal.ready { border-left-color: var(--amb); background: rgba(120, 66, 12, 0.16); }
.goal-ico { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--dim); } .goal-ico .ico { width: 17px; height: 17px; } .goal.done .goal-ico { color: var(--gr); border-color: var(--gr); } .goal.ready .goal-ico { color: var(--amb); border-color: var(--amb); }
.goal-top { display: flex; align-items: center; font-size: 14px; } .goal-top .tag { margin-left: 10px; } .goal-prog { display: flex; align-items: center; gap: 10px; margin-top: 4px; } .goal-prog .meter { margin: 0; } .gp-n { font-family: var(--mono); font-size: 11.5px; color: var(--soft); white-space: nowrap; }
.goal-rew { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; } .goal-rew .chips { justify-content: flex-end; } .gr-k { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); } .goal-when { margin-top: 2px; }
.go-reset { justify-content: flex-start; gap: 8px; } .go-reset b { font-family: var(--mono); letter-spacing: 0.06em; }

/* arkadaşlar */
.friend.on { border-left: 2px solid var(--gr); padding-left: 8px; } .fr-fac { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fc, var(--dim)); } .fr-fac .ico { width: 12px; height: 12px; }
.freq { border-left-color: var(--amb); } .box h4 .right .btn { text-transform: uppercase; letter-spacing: 0.1em; }

/* takas */
.trade-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; } .tr-col h4 .tag { margin-left: 0; } .tr-col .itemlist { margin-top: 6px; max-height: 260px; overflow-y: auto; }
.trade-dirty { margin-right: auto; } .w-foot .trade-dirty { color: var(--amb); }
@media (max-width: 900px) { .trade-cols, .petgrid { grid-template-columns: 1fr; } .goal.box { grid-template-columns: 32px minmax(0, 1fr); } .goal-rew { grid-column: 1 / -1; align-items: flex-start; text-align: left; } .quickbar { right: 12px; } }
