:root {
  --bg: #060a13;
  --glass: rgba(13, 19, 33, .62);
  --glass-2: rgba(20, 28, 48, .72);
  --stroke: rgba(255, 255, 255, .07);
  --stroke-2: rgba(255, 255, 255, .12);
  --stroke-3: rgba(255, 255, 255, .2);
  --text: #eef2fb;
  --muted: #98a3bd;
  --dim: #626e89;
  --accent: #4f8dff;
  --accent-2: #86c5ff;
  --accent-soft: rgba(79, 141, 255, .15);
  --green: #22c55e;
  --danger: #ff5f6d;
  --purple: #a78bfa;
  --r: 14px;
  --blur: blur(22px) saturate(1.3);
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 var(--font);
  overflow: hidden;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
[data-icon], .ico { display: inline-flex; align-items: center; justify-content: center; flex: none; }
[data-icon] > svg, .ico > svg { width: 100%; height: 100%; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .1); border-radius: 10px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(255, 255, 255, .18); }
::selection { background: rgba(79, 141, 255, .35); }

/* ---------- Layout ---------- */
.app {
  position: relative;
  display: grid;
  grid-template-columns: 84px 1fr;
  grid-template-rows: 48px 1fr 92px;
  height: 100vh;
  isolation: isolate;
}
.bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.scene { position: absolute; inset: 0; overflow: hidden; background: #0b1430; }
.scene-svg, .scene-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg .scene-svg, .bg .scene-img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; }
.bg-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 10, 19, .92) 0%, rgba(6, 10, 19, .55) 45%, rgba(6, 10, 19, .12) 100%),
    linear-gradient(0deg, rgba(6, 10, 19, .95) 0%, rgba(6, 10, 19, 0) 45%),
    linear-gradient(180deg, rgba(6, 10, 19, .7) 0%, rgba(6, 10, 19, 0) 18%);
}
.app:not([data-page="home"]) .bg-shade { background: rgba(6, 10, 19, .82); }
.app:not([data-page="home"]) .bg .scene-svg,
.app:not([data-page="home"]) .bg .scene-img { filter: blur(14px) saturate(1.2); transform: scale(1.08); }

/* Topbar */
.topbar {
  grid-column: 2; grid-row: 1;
  display: flex; align-items: center; gap: 16px;
  padding-left: 22px;
  -webkit-app-region: drag;
  z-index: 10;
}
.topbar button { -webkit-app-region: no-drag; }
.wordmark { font: 700 16px/1 var(--display); letter-spacing: .2px; }
.wordmark span { color: var(--accent-2); }
.crumb { color: var(--dim); font-size: 13px; display: flex; align-items: center; gap: 16px; }
.crumb::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--dim); }
.win-controls { margin-left: auto; display: flex; height: 100%; }
.win-controls button { width: 48px; height: 100%; padding: 0 16px; color: #aab5cc; transition: background .12s, color .12s; }
.win-controls button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.win-controls button.close:hover { background: #e2303f; }

/* Rail */
.rail {
  grid-column: 1; grid-row: 1 / 4;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 58px 10px 14px;
  background: rgba(8, 12, 22, .55);
  border-right: 1px solid var(--stroke);
  backdrop-filter: var(--blur);
  -webkit-app-region: drag;
  z-index: 10;
}
.nav { display: flex; flex-direction: column; gap: 6px; -webkit-app-region: no-drag; }
.nav a {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 10px 0 8px; border-radius: 12px;
  color: var(--muted); cursor: pointer;
  transition: background .15s, color .15s;
}
.nav a .ni { width: 22px; height: 22px; }
.nav a .nl { font-size: 10.5px; font-weight: 600; letter-spacing: .2px; }
.nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.nav a.active { background: var(--accent-soft); color: #fff; }
.nav a.active .ni { color: var(--accent-2); }
.nav a.active::before {
  content: ""; position: absolute; left: -10px; top: 14px; bottom: 14px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--accent); box-shadow: 0 0 12px var(--accent);
}
.rail-ver { text-align: center; font-size: 10.5px; color: var(--dim); margin-top: 8px; }

/* Content */
.content { grid-column: 2; grid-row: 2; overflow: auto; position: relative; }
.page { padding: 12px 32px 24px; min-height: 100%; animation: fade .3s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 22px; }
.page-head h1 { margin: 0; font: 650 28px/1.15 var(--display); letter-spacing: -.3px; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.sec-h { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 12px; }
.sec-h h2 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }

/* ---------- Dock ---------- */
.dock {
  grid-column: 2; grid-row: 3;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding: 0 18px;
  margin: 0 16px 14px;
  background: rgba(12, 18, 32, .72);
  border: 1px solid var(--stroke-2);
  border-radius: 18px;
  backdrop-filter: var(--blur);
  box-shadow: 0 -6px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .04);
  z-index: 20;
}
.dock-left, .dock-right { position: relative; display: flex; align-items: center; min-width: 0; }
.dock-right { justify-content: flex-end; }
.acct { display: flex; align-items: center; gap: 12px; padding: 7px 12px 7px 7px; border-radius: 12px; transition: background .15s; min-width: 0; }
.acct:hover { background: rgba(255, 255, 255, .06); }
.avatar { width: 40px; height: 40px; border-radius: 10px; background: #1a2440; image-rendering: pixelated; flex: none; }
.avatar:not([src]) { visibility: hidden; }
.acct-txt { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; line-height: 1.25; }
.acct-txt b { font-size: 14.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
.acct-txt small { color: var(--muted); font-size: 12px; }
.chev { width: 16px; height: 16px; color: var(--dim); }

.dock-center { position: relative; display: flex; align-items: center; gap: 10px; }
.ver-pick {
  display: flex; align-items: center; gap: 12px;
  height: 56px; padding: 0 14px 0 11px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke-2);
  transition: background .15s, border-color .15s;
}
.ver-pick:hover { background: rgba(255, 255, 255, .09); border-color: var(--stroke-3); }
.vp-ico { width: 34px; height: 34px; border-radius: 9px; padding: 8px; background: var(--accent-soft); color: var(--accent-2); }
.vp-txt { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; min-width: 54px; }
.vp-txt small { font-size: 10px; letter-spacing: 1.2px; color: var(--dim); font-weight: 700; }
.vp-txt b { font: 700 17px/1.2 var(--display); }
.vp-loader { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; background: rgba(255, 255, 255, .07); color: var(--muted); }
.vp-loader.fabric { background: rgba(219, 196, 140, .14); color: #e8d6a8; }

.play-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 230px; height: 56px; border-radius: 14px;
  background: linear-gradient(180deg, #2fd46b 0%, #19a64c 100%);
  box-shadow: 0 10px 30px rgba(34, 197, 94, .35), inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -2px 0 rgba(0, 0, 0, .15);
  transition: transform .1s, box-shadow .2s, filter .2s;
}
.play-btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.play-btn:hover { filter: brightness(1.07); box-shadow: 0 14px 40px rgba(34, 197, 94, .45), inset 0 1px 0 rgba(255, 255, 255, .3); }
.play-btn:hover::after { transform: translateX(120%); }
.play-btn:active { transform: translateY(1px) scale(.99); }
.play-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, .18); transition: width .25s; }
.play-icon { width: 22px; height: 22px; position: relative; }
.play-label { position: relative; font: 800 20px/1 var(--display); letter-spacing: 2px; }
.dock-center.busy .play-btn { background: linear-gradient(180deg, #4f8dff, #2e67d8); box-shadow: 0 10px 30px rgba(79, 141, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .25); cursor: default; }
.dock-center.busy .play-label, .dock-center.running .play-label { font-size: 15px; letter-spacing: 1px; }
.dock-center.running .play-btn { background: linear-gradient(180deg, #ff6b78, #d8404f); box-shadow: 0 10px 30px rgba(255, 95, 109, .3), inset 0 1px 0 rgba(255, 255, 255, .25); }

.dock-status { display: flex; align-items: center; gap: 12px; padding: 8px 4px; flex-direction: row-reverse; }
.dock-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); flex: none; }
.dock-status.on .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15), 0 0 12px var(--green); }
.dock-status.off .dot { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 95, 109, .15); }
.ds-txt { display: flex; flex-direction: column; line-height: 1.25; text-align: right; }
.ds-txt b { font-size: 14px; font-weight: 650; }
.ds-txt small { color: var(--muted); font-size: 12px; }
.dock-progress { width: 100%; max-width: 300px; }
.dp-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; margin-bottom: 7px; color: #cfd6e6; }
.dp-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-row b { color: var(--accent-2); }
.bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .2s; }
.bar.indet span { width: 35% !important; animation: indet 1.2s ease-in-out infinite; }
@keyframes indet { from { transform: translateX(-100%); } to { transform: translateX(300%); } }

/* Popovers (dock'tan yukarı açılır) */
.popover {
  position: absolute; bottom: calc(100% + 14px);
  background: rgba(14, 20, 35, .97); border: 1px solid var(--stroke-2); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
  padding: 8px; z-index: 50;
  animation: pop .16s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.version-pop { left: 0; width: 320px; }
.user-pop { left: 0; width: 290px; }
.pop-title { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--dim); padding: 8px 10px 6px; font-weight: 700; }
.pop-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px; text-align: left; font-weight: 500; }
.pop-item:hover:not(:disabled) { background: rgba(255, 255, 255, .06); }
.pop-item:disabled { opacity: .4; cursor: not-allowed; }
.pop-item .ico { width: 17px; height: 17px; color: var(--muted); }
.pop-item.active { background: var(--accent-soft); color: #fff; }
.pop-item.active .ico { color: var(--accent-2); }
.pop-item .meta { margin-left: auto; font-size: 11.5px; color: var(--dim); }
.pop-item.danger, .pop-item.danger .ico { color: var(--danger); }
.pop-item .avatar { width: 26px; height: 26px; border-radius: 6px; }
.pop-sep { height: 1px; background: var(--stroke); margin: 6px 4px; }
.version-list { max-height: 280px; overflow: auto; }
.version-pop .seg { display: flex; margin: 4px 4px 6px; }

/* ---------- Ortak bileşenler ---------- */
.panel { background: var(--glass); border: 1px solid var(--stroke); border-radius: var(--r); backdrop-filter: var(--blur); }
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  height: 40px; padding: 0 16px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--stroke-2);
  transition: background .15s, border-color .15s, filter .15s, transform .08s;
  white-space: nowrap;
}
.btn .ico { width: 17px; height: 17px; }
.btn:hover { background: rgba(255, 255, 255, .1); border-color: var(--stroke-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: linear-gradient(180deg, #5b97ff, #3a74ea); border-color: rgba(255, 255, 255, .15); color: #fff; box-shadow: 0 6px 18px rgba(79, 141, 255, .3); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { background: rgba(255, 95, 109, .1); border-color: rgba(255, 95, 109, .35); color: #ff9aa4; }
.btn.danger:hover { background: rgba(255, 95, 109, .2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn.icon-only { width: 40px; padding: 0; justify-content: center; }

.seg { display: inline-flex; background: rgba(0, 0, 0, .25); border: 1px solid var(--stroke); border-radius: 11px; padding: 4px; gap: 4px; }
.seg button { flex: 1; padding: 7px 14px; border-radius: 8px; color: var(--muted); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s, color .15s; }
.seg button .ico { width: 16px; height: 16px; }
.seg button:hover { color: #fff; }
.seg button.on { background: rgba(255, 255, 255, .1); color: #fff; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px;
  background: var(--accent-soft); color: #a9d2ff; border: 1px solid rgba(79, 141, 255, .3);
}
.badge.green { background: rgba(34, 197, 94, .12); color: #86efac; border-color: rgba(34, 197, 94, .3); }
.badge.purple { background: rgba(167, 139, 250, .14); color: #c9b8ff; border-color: rgba(167, 139, 250, .35); }
.badge.gray { background: rgba(255, 255, 255, .05); color: var(--muted); border-color: var(--stroke-2); }

/* ---------- Ana sayfa ---------- */
.home { display: flex; flex-direction: column; min-height: 100%; padding-bottom: 16px; }
.hero { max-width: 640px; margin-top: auto; padding-top: 30px; }
.live {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 13px 6px 11px; border-radius: 30px;
  background: rgba(10, 16, 30, .55); border: 1px solid var(--stroke-2); backdrop-filter: var(--blur);
  font-size: 12.5px; font-weight: 600; color: #d3dbeb;
}
.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.live.on .dot { background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
.live.off .dot { background: var(--danger); }
@keyframes pulse { 50% { box-shadow: 0 0 2px var(--green); } }
.hero h1 {
  margin: 18px 0 12px;
  font: 750 clamp(48px, 6.4vw, 80px)/1.02 var(--display); letter-spacing: -2px;
  background: linear-gradient(180deg, #ffffff 30%, #9cc6ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { margin: 0 0 24px; font-size: 17px; line-height: 1.55; color: #c5cee0; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.addr {
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 8px 0 16px; border-radius: 12px;
  background: rgba(10, 16, 30, .6); border: 1px solid var(--stroke-2); backdrop-filter: var(--blur);
  font-weight: 600; font-size: 15px;
  transition: border-color .15s;
}
.addr > .ico:first-child { width: 18px; height: 18px; color: var(--accent-2); }
.addr .cp { width: 32px; height: 32px; padding: 8px; border-radius: 8px; background: rgba(255, 255, 255, .07); color: var(--muted); transition: background .15s, color .15s; }
.addr:hover { border-color: var(--stroke-3); }
.addr:hover .cp { background: var(--accent-soft); color: #fff; }
.hero-actions .btn { height: 48px; border-radius: 12px; padding: 0 18px; background: rgba(10, 16, 30, .6); backdrop-filter: var(--blur); }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.stat { padding: 14px 16px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: border-color .15s, background .15s; text-align: left; }
.stat:hover { border-color: var(--stroke-3); background: var(--glass-2); }
.stat .ico { width: 36px; height: 36px; padding: 9px; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--accent-2); }
.stat small { display: block; color: var(--dim); font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.stat b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat > div { min-width: 0; }

.community { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ctile { display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; transition: transform .18s, border-color .18s, background .18s; }
.ctile:hover { transform: translateY(-3px); border-color: var(--stroke-3); background: var(--glass-2); }
.ctile .ci { width: 40px; height: 40px; border-radius: 11px; padding: 10px; color: #fff; }
.ctile .ct { min-width: 0; flex: 1; }
.ctile b { display: block; font-size: 14px; }
.ctile small { display: block; color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctile .arrow { width: 16px; height: 16px; color: var(--dim); transition: color .15s, transform .15s; }
.ctile:hover .arrow { color: #fff; transform: translate(2px, -2px); }
.ci.discord { background: #5865f2; }
.ci.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); padding: 9px; }
.ci.youtube { background: #ff1f1f; padding: 11px; }
.ci.lanux { background: linear-gradient(135deg, #8b5cf6, #5b21b6); }
.ci.lanuxg { background: linear-gradient(135deg, #c084fc, #7c3aed); }

/* ---------- Sürümler ---------- */
.play-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.loader-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.loader-card { display: flex; gap: 14px; align-items: center; text-align: left; padding: 16px; transition: border-color .15s, background .15s; }
.loader-card:hover { border-color: var(--stroke-3); }
.loader-card.on { border-color: rgba(79, 141, 255, .7); background: linear-gradient(180deg, rgba(79, 141, 255, .16), rgba(79, 141, 255, .05)); }
.lc-ico { width: 46px; height: 46px; border-radius: 12px; padding: 11px; }
.lc-ico.vanilla { background: linear-gradient(180deg, #62b441 0 55%, #7b5533 55%); color: #fff; }
.lc-ico.fabric { background: linear-gradient(135deg, #e3d7b8, #b3a27c); color: #3b342a; }
.loader-card h4 { margin: 0 0 2px; font-size: 15.5px; }
.loader-card p { margin: 0; color: var(--muted); font-size: 12.5px; }
.loader-card .radio { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--stroke-3); flex: none; }
.loader-card.on .radio { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }

.versions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.ver { position: relative; padding: 16px; text-align: left; transition: border-color .15s, background .15s, transform .12s; }
.ver:hover:not(:disabled) { border-color: var(--stroke-3); transform: translateY(-2px); }
.ver.on { border-color: rgba(79, 141, 255, .75); background: linear-gradient(180deg, rgba(79, 141, 255, .18), rgba(79, 141, 255, .06)); }
.ver:disabled { opacity: .35; cursor: not-allowed; }
.ver .v { font: 700 21px/1.1 var(--display); letter-spacing: -.3px; }
.ver .d { color: var(--muted); font-size: 12px; margin-top: 5px; }
.ver .badge { position: absolute; top: 12px; right: 12px; }

.summary { position: sticky; top: 0; padding: 20px; }
.summary small.k { color: var(--dim); font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; }
.summary h3 { margin: 2px 0 14px; font: 700 32px/1.1 var(--display); letter-spacing: -.5px; }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--stroke); font-size: 13.5px; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 600; text-align: right; }
.summary .btn { width: 100%; justify-content: center; margin-top: 10px; }

.console { margin-top: 22px; overflow: hidden; }
.console-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--stroke); color: var(--muted); font-size: 13px; font-weight: 600; }
.console-head > span { display: flex; align-items: center; gap: 8px; }
.console-head .ico { width: 16px; height: 16px; }
.console-head .btn { height: 30px; }
.console pre {
  margin: 0; height: 200px; overflow: auto; padding: 12px 16px; background: rgba(0, 0, 0, .25);
  font: 12px/1.6 "Cascadia Mono", Consolas, monospace; color: #9fb0cf;
  white-space: pre-wrap; word-break: break-all; user-select: text;
}

/* ---------- Ayarlar ---------- */
.settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.set-card { padding: 22px; }
.set-card h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.set-card h3 .ico { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-2); }
.set-card > p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field label { display: flex; justify-content: space-between; font-size: 13px; color: #cdd5e5; margin-bottom: 8px; font-weight: 600; }
.field label b { color: var(--accent-2); }
.input {
  width: 100%; height: 42px; padding: 0 14px; border-radius: 10px;
  background: rgba(0, 0, 0, .28); border: 1px solid var(--stroke-2); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79, 141, 255, .22); }
.input:disabled { opacity: .5; }
.row { display: flex; gap: 10px; align-items: center; }
.row > .input { flex: 1; }
input[type=range] { width: 100%; accent-color: var(--accent); }
.range-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin-top: 4px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--stroke); }
.toggle-row:first-of-type { border-top: 0; padding-top: 0; }
.toggle-row .t { font-weight: 600; }
.toggle-row .s { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.switch { position: relative; width: 44px; height: 24px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 20px; background: rgba(255, 255, 255, .12); transition: background .18s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d7deec; transition: transform .18s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(20px); background: #fff; }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-opt { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--stroke); cursor: pointer; transition: border-color .15s, background .15s; }
.radio-opt:hover { border-color: var(--stroke-3); }
.radio-opt.on { border-color: rgba(79, 141, 255, .7); background: rgba(79, 141, 255, .08); }
.radio-opt .dotr { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--stroke-3); flex: none; }
.radio-opt.on .dotr { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 42%, transparent 48%); }
.radio-opt small { display: block; color: var(--muted); font-size: 12px; }
.server-entry { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; background: rgba(0, 0, 0, .28); border: 1px solid var(--stroke); margin-top: 14px; }
.server-entry .srv-ico { width: 40px; height: 40px; padding: 10px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-2); }
.server-entry small { color: var(--muted); display: block; margin-top: 3px; font-size: 12px; }
.mc-name { font: 700 15px/1 "Segoe UI", sans-serif; letter-spacing: .3px; }
.mc-name .b { color: #55ffff; } .mc-name .n { color: #5555ff; } .mc-name .w { color: #fff; }

/* ---------- Hesap ---------- */
.acc-hero { display: grid; grid-template-columns: 200px 1fr; overflow: hidden; margin-bottom: 8px; }
.acc-hero .skin { background: radial-gradient(circle at 50% 70%, rgba(79, 141, 255, .3), transparent 65%); display: grid; place-items: end center; min-height: 230px; padding-top: 16px; }
.acc-hero .skin img { height: 200px; image-rendering: pixelated; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); }
.acc-hero .info { padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; }
.acc-hero .info h2 { margin: 0; font: 700 34px/1.1 var(--display); letter-spacing: -.5px; }
.acc-hero .info p { margin: 0; color: var(--muted); max-width: 480px; }
.acc-list { display: flex; flex-direction: column; gap: 10px; }
.acc-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.acc-row img { width: 40px; height: 40px; border-radius: 9px; image-rendering: pixelated; background: #1a2440; }
.acc-row .nm { font-weight: 600; font-size: 15px; }
.acc-row .ty { color: var(--muted); font-size: 12.5px; }
.acc-row .sp { flex: 1; }
.acc-row.on { border-color: rgba(79, 141, 255, .6); }
.add-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.add-grid .btn { justify-content: center; }

/* ---------- Modlar ---------- */
.mods-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mod-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--stroke); }
.mod-row:last-child { border-bottom: 0; }
.mod-row .mico { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .06); padding: 10px; color: var(--accent-2); flex: none; }
.mod-row .mn { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mod-row .ms { color: var(--muted); font-size: 12px; }
.mod-row .grow { flex: 1; min-width: 0; }
.mod-row.off .mn { color: var(--dim); text-decoration: line-through; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.mod-card { display: flex; gap: 14px; padding: 16px; }
.mod-card img, .mod-card .noimg { width: 54px; height: 54px; border-radius: 12px; flex: none; background: rgba(255, 255, 255, .06); object-fit: cover; }
.mod-card .noimg { display: grid; place-items: center; padding: 14px; color: var(--accent-2); }
.mod-card h4 { margin: 0; font-size: 15px; }
.mod-card .by { color: var(--dim); font-size: 12px; margin: 2px 0 6px; }
.mod-card p { margin: 0 0 10px; color: var(--muted); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mod-card .foot { display: flex; align-items: center; justify-content: space-between; }
.mod-card .dl { color: var(--dim); font-size: 12px; display: flex; align-items: center; gap: 5px; }
.mod-card .dl .ico { width: 14px; height: 14px; }
.mod-card .btn { height: 32px; padding: 0 12px; font-size: 13px; }
.search { position: relative; flex: 1; max-width: 440px; }
.search > .ico { position: absolute; left: 13px; top: 12px; width: 18px; height: 18px; color: var(--dim); }
.search .input { padding-left: 40px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty > .ico { width: 42px; height: 42px; color: var(--dim); margin-bottom: 10px; }
.empty h3 { color: var(--text); margin: 0 0 6px; }
.notice { display: flex; gap: 16px; align-items: center; padding: 22px; border-color: rgba(167, 139, 250, .35); background: linear-gradient(90deg, rgba(167, 139, 250, .14), rgba(13, 19, 33, .6)); }
.notice > .ico { width: 34px; height: 34px; color: var(--purple); }
.notice h3 { margin: 0 0 4px; }
.notice p { margin: 0; color: var(--muted); }
.notice .btn { margin-left: auto; }

/* ---------- Bildirim / Modal ---------- */
.toasts { position: fixed; right: 20px; top: 60px; z-index: 100; display: flex; flex-direction: column; gap: 10px; }
.toast {
  min-width: 280px; max-width: 420px; padding: 13px 16px 13px 14px; border-radius: 12px;
  background: rgba(16, 23, 40, .96); border: 1px solid var(--stroke-2); box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: flex-start; animation: slidein .22s ease-out;
}
.toast .ico { width: 20px; height: 20px; margin-top: 1px; }
.toast.ok .ico { color: var(--green); }
.toast.err { border-color: rgba(255, 95, 109, .45); }
.toast.err .ico { color: var(--danger); }
.toast.info .ico { color: var(--accent-2); }
.toast.out { animation: slideout .2s ease-in forwards; }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } }
@keyframes slideout { to { opacity: 0; transform: translateX(20px); } }

.modal-root .backdrop { position: fixed; inset: 0; background: rgba(3, 6, 14, .6); z-index: 80; display: grid; place-items: center; animation: fade .15s; backdrop-filter: blur(6px); }
.modal { width: 420px; padding: 24px; background: rgba(16, 23, 40, .97); border: 1px solid var(--stroke-2); border-radius: 16px; box-shadow: var(--shadow); }
.modal h3 { margin: 0 0 8px; }
.modal p { margin: 0 0 20px; color: var(--muted); }
.modal .actions { display: flex; justify-content: flex-end; gap: 10px; }

/* ---------- Giriş ---------- */
.login { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-columns: 1fr 460px; background: var(--bg); -webkit-app-region: drag; }
.login .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 19, .2), rgba(6, 10, 19, .55) 55%, rgba(6, 10, 19, .95)), linear-gradient(0deg, rgba(6, 10, 19, .85), transparent 45%); }
.login .win-controls { position: absolute; top: 0; right: 0; height: 48px; z-index: 2; -webkit-app-region: no-drag; }
.login-art { position: relative; align-self: end; padding: 0 40px 56px 56px; }
.login-art h2 { margin: 0 0 10px; font: 750 64px/1.02 var(--display); letter-spacing: -2px; background: linear-gradient(180deg, #fff 30%, #9cc6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.login-art p { margin: 0; color: #c5cee0; font-size: 16px; max-width: 440px; }
.login-card {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: 48px 44px;
  background: rgba(10, 15, 27, .8); border-left: 1px solid var(--stroke-2);
  backdrop-filter: var(--blur);
  -webkit-app-region: no-drag;
  animation: fade .35s ease-out;
}
.login-card h1 { margin: 0 0 6px; font: 700 28px/1.2 var(--display); letter-spacing: -.4px; }
.login-card .lead { margin: 0 0 30px; color: var(--muted); }
.ms-btn {
  width: 100%; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 12px;
  background: #fff; color: #1b1b1b; font-weight: 700; font-size: 15px;
  transition: filter .15s, transform .08s;
}
.ms-btn .ico { width: 22px; height: 22px; }
.ms-btn:hover { filter: brightness(.93); }
.ms-btn:disabled { opacity: .7; cursor: wait; }
.or { display: flex; align-items: center; gap: 12px; color: var(--dim); font-size: 11.5px; margin: 24px 0; text-transform: uppercase; letter-spacing: 1.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--stroke-2); }
.offline-form label { display: block; font-size: 13px; font-weight: 600; color: #cdd5e5; margin-bottom: 8px; }
.offline-form .input { height: 50px; font-size: 15px; }
.offline-form .btn { width: 100%; height: 50px; justify-content: center; margin-top: 12px; font-size: 15px; }
.login-note { margin-top: 18px; font-size: 12px; color: var(--dim); }
.login-close { position: absolute; top: 58px; right: 20px; width: 34px; height: 34px; padding: 8px; border-radius: 9px; color: var(--muted); }
.login-close:hover { background: rgba(255, 255, 255, .07); color: #fff; }

.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); border-top-color: #fff; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Discord önizleme ---------- */
.set-card.wide { grid-column: 1 / -1; }
.dc-set { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.dc-status { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 11px 14px; border-radius: 10px; background: rgba(0, 0, 0, .28); border: 1px solid var(--stroke); font-size: 13px; color: #cdd5e5; }
.dc-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); flex: none; }
.dc-status.on .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dc-status.off .dot { background: #f0b232; }
.dc-label { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.dc-card { background: #232428; border-radius: 12px; padding: 14px; color: #dbdee1; font-family: "gg sans", "Segoe UI", sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); border: 1px solid rgba(255, 255, 255, .04); }
.dc-card.dc-off { color: #949ba4; text-align: center; padding: 30px 14px; }
.dc-user { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dc-user img { width: 36px; height: 36px; border-radius: 50%; image-rendering: pixelated; background: #1e1f22; }
.dc-user b { display: block; color: #f2f3f5; font-size: 15px; }
.dc-user small { color: #949ba4; font-size: 12px; }
.dc-head { font-size: 12px; font-weight: 700; color: #f2f3f5; letter-spacing: .2px; margin-bottom: 10px; }
.dc-body { display: flex; gap: 12px; align-items: center; }
.dc-art { position: relative; flex: none; }
.dc-large { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; display: block; }
.dc-small { position: absolute; right: -5px; bottom: -5px; width: 28px; height: 28px; border-radius: 50%; border: 3px solid #232428; background: #1e1f22; image-rendering: pixelated; }
.dc-txt { display: flex; flex-direction: column; min-width: 0; font-size: 13.5px; line-height: 1.35; }
.dc-txt b { color: #f2f3f5; font-size: 14.5px; margin-bottom: 2px; }
.dc-txt span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-time { color: #b5bac1; font-variant-numeric: tabular-nums; }
.dc-btn { display: block; width: 100%; margin-top: 8px; height: 32px; border-radius: 4px; background: #4e5058; color: #fff; font-size: 13.5px; font-weight: 500; transition: background .15s; }
.dc-btn:first-of-type { margin-top: 12px; }
.dc-btn:hover { background: #6d6f78; }

/* ---------- Görünüm ---------- */
.look { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: stretch; }
.look-view { position: relative; min-height: 460px; overflow: hidden; background: radial-gradient(ellipse at 50% 85%, rgba(79, 141, 255, .28), transparent 60%), var(--glass); }
.look-view::after { content: ""; position: absolute; left: 50%; bottom: 58px; width: 180px; height: 22px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, .45), transparent 70%); pointer-events: none; }
.look-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.look-view canvas:active { cursor: grabbing; }
.look-top { position: absolute; top: 14px; left: 14px; display: flex; gap: 8px; z-index: 1; }
.look-anim { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 1; }
.look-side { display: flex; flex-direction: column; gap: 16px; }
.look-side .set-card { padding: 18px 20px; }
.look-side .set-card > p { margin-bottom: 14px; }
.cape-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.cape-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--stroke); transition: border-color .15s, background .15s; }
.cape-tile:hover { border-color: var(--stroke-3); }
.cape-tile.on { border-color: rgba(79, 141, 255, .8); background: rgba(79, 141, 255, .12); }
.cape-tile canvas { width: 30px; height: 48px; image-rendering: pixelated; border-radius: 3px; box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.cape-tile b { font-size: 11.5px; font-weight: 600; text-align: center; line-height: 1.25; }
.cape-none { width: 30px; height: 48px; display: grid; place-items: center; border-radius: 4px; border: 1px dashed var(--stroke-3); color: var(--dim); padding: 7px; }
.code-in { font-family: "Cascadia Mono", Consolas, monospace; letter-spacing: 1px; text-transform: uppercase; }
.look-note { margin-top: 16px; }
.link-card { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; padding: 26px; align-items: center; }
.link-card h3 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.link-card h3 .ico { width: 30px; height: 30px; padding: 7px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-2); }
.link-card p { margin: 0; color: var(--muted); }
.blue-form .input { margin-bottom: 10px; }
.blue-form .btn { margin-top: 2px !important; }
.blue-seg { display: flex; margin-bottom: 14px; }
.link-form .blue-form label { display: none; }
@media (max-width: 1280px) { .look, .link-card { grid-template-columns: 1fr; } .look-view { min-height: 400px; } }

/* ---------- Arkadaşlar ---------- */
.nav a { position: relative; }
.nav-badge { position: absolute; top: 6px; right: 12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff4d5e; color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(8, 12, 22, .9); }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; margin-left: 6px; }
.pill.red { background: #ff4d5e; }
.conn-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin-bottom: 14px; border-radius: 10px; background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .3); color: #ffd18a; font-size: 13px; font-weight: 600; }
.friends { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; height: calc(100vh - 48px - 92px - 150px); min-height: 420px; }
.flist { display: flex; flex-direction: column; padding: 14px; min-height: 0; }
.fadd { display: flex; gap: 8px; margin-bottom: 12px; }
.fadd .input { height: 40px; }
.ftabs { display: flex; margin-bottom: 10px; }
.fitems { flex: 1; overflow: auto; margin: 0 -6px; padding: 0 6px; }
.fitem { width: 100%; display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 11px; text-align: left; transition: background .15s; }
.fitem:hover:not(.static) { background: rgba(255, 255, 255, .05); }
.fitem.on { background: var(--accent-soft); }
.fitem .btn.sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.fitem .btn.icon-only.sm { width: 30px; }
.fav { position: relative; flex: none; }
.fav img { width: 38px; height: 38px; border-radius: 9px; image-rendering: pixelated; background: #1a2440; display: block; }
.pdot { position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; border-radius: 50%; border: 3px solid #0f1627; background: var(--dim); }
.pdot.on { background: var(--accent); } .pdot.play { background: var(--green); } .pdot.share { background: var(--purple); }
.ftxt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.ftxt b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ftxt small { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ftxt small.on { color: #9cc6ff; } .ftxt small.play { color: #7ee2a0; } .ftxt small.share { color: #c9b8ff; }
.fsec { font-size: 10.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dim); padding: 14px 10px 6px; }
.empty.small { padding: 26px 12px; font-size: 13px; }
.chat { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.chat-empty { margin: auto; max-width: 380px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--stroke); }
.chat-msgs { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.msg { display: flex; flex-direction: column; max-width: 72%; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.them { align-self: flex-start; }
.bubble { padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; word-break: break-word; user-select: text; }
.msg.me .bubble { background: linear-gradient(180deg, #4f8dff, #3a74ea); color: #fff; border-bottom-right-radius: 5px; }
.msg.them .bubble { background: rgba(255, 255, 255, .08); border-bottom-left-radius: 5px; }
.msg.failed .bubble { opacity: .55; }
.bubble:has(.mimg) { padding: 4px; }
.mimg { display: block; max-width: 280px; max-height: 260px; border-radius: 11px; min-width: 60px; min-height: 40px; background: rgba(0, 0, 0, .2); }
.mmeta { font-size: 11px; color: var(--dim); margin: 2px 4px 4px; }
.mst.err { color: var(--danger); }
.mst.ok { color: var(--accent, #4f8dff); letter-spacing: -2px; }
.chat-in { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--stroke); }
.chat-in .input { height: 42px; }
.chat-in .btn { height: 42px; width: 42px; }
.share-card { display: flex; align-items: center; gap: 18px; padding: 20px; }
.share-card.on { border-color: rgba(34, 197, 94, .4); background: linear-gradient(90deg, rgba(34, 197, 94, .1), var(--glass)); }
.share-ico { width: 52px; height: 52px; border-radius: 14px; padding: 13px; background: var(--accent-soft); color: var(--accent-2); flex: none; }
.share-ico .ico { width: 100%; height: 100%; }
.share-txt { flex: 1; min-width: 0; }
.share-txt h3 { margin: 6px 0 4px; font-size: 17px; }
.share-txt > p { margin: 0; color: var(--muted); font-size: 13.5px; }
.share-form { display: flex; gap: 10px; margin-top: 12px; }
.share-form .input { max-width: 240px; height: 38px; }
.allow-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chk { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 8px; border-radius: 9px; background: rgba(0, 0, 0, .25); border: 1px solid var(--stroke); font-size: 13px; font-weight: 600; cursor: pointer; }
.chk img { width: 20px; height: 20px; border-radius: 4px; image-rendering: pixelated; }
.chk:has(input:checked) { border-color: rgba(79, 141, 255, .7); background: rgba(79, 141, 255, .12); }
.shares { display: flex; flex-direction: column; gap: 10px; }
.share-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.share-item .badge .ico { width: 12px; height: 12px; }
@media (max-width: 1280px) { .friends { grid-template-columns: 260px minmax(0, 1fr); } .share-card { flex-wrap: wrap; } }

@media (max-width: 1280px) {
  .dc-set { grid-template-columns: 1fr; }
  .community { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .play-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .settings { grid-template-columns: 1fr; }
  .login { grid-template-columns: 1fr 420px; }
}

/* ---------- Güncelleme ---------- */
.upd-pill { -webkit-app-region: no-drag; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 15px; background: linear-gradient(180deg, #2fd46b, #19a64c); color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: 0 4px 14px rgba(34, 197, 94, .35); animation: fade .3s ease-out; }
.upd-pill [data-icon] { width: 15px; height: 15px; }
.upd-pill:hover { filter: brightness(1.08); }
.upd-status { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .28); border: 1px solid var(--stroke); font-size: 13px; color: #cdd5e5; }
.upd-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); flex: none; }
.upd-status.on .dot { background: var(--green); }
.upd-status.off .dot { background: #f0b232; }
.dc-me { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.dc-status small { color: var(--dim); font-weight: 500; }
.dc-hint { margin: 10px 0 0; color: var(--dim); font-size: 12px; }
.packs-hint { margin: 10px 4px 0; color: var(--dim); font-size: 12.5px; }
.seg button { white-space: nowrap; }
