/* nasus paneli — sakin, camsı, yuvarlak hatlı arayüz (umbrelOS / macOS çizgisinden esinle, sıfırdan yazıldı) */

@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF, U+20A0-20CF; }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+2190-21FF, U+2212; }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("fonts/jbmono-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02AF, U+1E00-1EFF; }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("fonts/jbmono-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F, U+2190-21FF; }

:root {
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.56);
  --faint: rgba(255, 255, 255, 0.32);
  --fill: rgba(255, 255, 255, 0.06);
  --fill-2: rgba(255, 255, 255, 0.10);
  --fill-3: rgba(255, 255, 255, 0.16);
  --stroke: rgba(255, 255, 255, 0.09);
  --sheet: rgba(18, 20, 28, 0.72);
  --accent: #8b9cff;
  --accent-strong: #6d7dff;
  --green: #4ade80;
  --amber: #fbbf24;
  --red: #fb7185;
  --blue: #60a5fa;
  --violet: #c4b5fd;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 11px;
  --f: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0; color: var(--text); font: 14px/1.5 var(--f); -webkit-font-smoothing: antialiased; letter-spacing: -0.006em;
  background: #0b0d14;
}
/* duvar kâğıdı: yavaşça kayan renk bulutları + ince gren */
body::before {
  content: ""; position: fixed; inset: -20%; z-index: -2;
  background:
    radial-gradient(38% 42% at 18% 22%, #3b3fa8 0%, transparent 70%),
    radial-gradient(34% 40% at 82% 18%, #0e7490 0%, transparent 70%),
    radial-gradient(42% 46% at 72% 86%, #6d28d9 0%, transparent 70%),
    radial-gradient(36% 40% at 16% 84%, #0f766e 0%, transparent 72%),
    #0b0d14;
  filter: blur(40px) saturate(1.15); animation: drift 60s ease-in-out infinite alternate;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.22; mix-blend-mode: overlay;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
@keyframes drift { to { transform: translate3d(3%, -2%, 0) rotate(4deg) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }

a { color: inherit; text-decoration: none; }
::selection { background: rgba(139, 156, 255, 0.35); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.14); border-radius: 8px; border: 2px solid transparent; background-clip: padding-box; }

h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; margin: 0; line-height: 1.2; }
h2 { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0 0 12px; letter-spacing: 0; }
.sub { color: var(--muted); margin: 6px 0 22px; font-size: 14px; }
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.err { color: var(--red); }

/* ---- kabuk ---- */
.shell { min-height: 100%; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px clamp(16px, 3vw, 32px) 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; }
.brand i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #a5b4fc, #6d7dff 55%, #4338ca); display: grid; place-items: center; font-style: normal; font-size: 15px; color: #fff; box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45); }
.top-right { display: flex; align-items: center; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; background: var(--fill); border: 1px solid var(--stroke); font-size: 13px; color: var(--muted); backdrop-filter: blur(20px); }
.pill b { color: var(--text); font-weight: 600; }
a.pill:hover { background: var(--fill-2); color: var(--text); }

.view { flex: 1; width: min(1160px, calc(100% - 32px)); margin: 22px auto 120px; }
.view:not(.home) {
  background: var(--sheet); border: 1px solid var(--stroke); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 32px);
  backdrop-filter: blur(40px) saturate(1.4); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.view > * { animation: rise 0.3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

.dock {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 40; display: flex; gap: 10px; padding: 10px 12px;
  background: rgba(30, 32, 44, 0.62); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 22px;
  backdrop-filter: blur(30px) saturate(1.6); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.dock a { position: relative; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.3, 1.4); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 14px rgba(0, 0, 0, 0.35); }
.dock a:hover { transform: translateY(-6px) scale(1.08); }
.dock a svg { width: 25px; height: 25px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); }
.dock a::after { content: ""; position: absolute; bottom: -7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; opacity: 0; transition: 0.2s; }
.dock a.active::after { opacity: 0.85; }
.dock a span { position: absolute; bottom: 62px; left: 50%; transform: translateX(-50%) translateY(4px); padding: 4px 10px; border-radius: 8px; background: rgba(20, 22, 30, 0.92); border: 1px solid var(--stroke); font-size: 12px; font-weight: 500; white-space: nowrap; opacity: 0; pointer-events: none; transition: 0.15s; }
.dock a:hover span { opacity: 1; transform: translateX(-50%); }
.dock .sep { width: 1px; background: rgba(255, 255, 255, 0.14); margin: 6px 2px; }
.i-home { background: linear-gradient(140deg, #818cf8, #4f46e5); } .i-disk { background: linear-gradient(140deg, #38bdf8, #0369a1); }
.i-files { background: linear-gradient(140deg, #60a5fa, #2563eb); } .i-shoot { background: linear-gradient(140deg, #fb7185, #be123c); } .i-cat { background: linear-gradient(140deg, #fbbf24, #ea580c); } .i-proj { background: linear-gradient(140deg, #34d399, #047857); }
.i-chat { background: linear-gradient(140deg, #f472b6, #9333ea); } .i-hud { background: linear-gradient(140deg, #22d3ee, #0f172a); }
.i-set { background: linear-gradient(140deg, #94a3b8, #475569); }
@media (max-width: 640px) { .dock { gap: 6px; padding: 8px; bottom: 10px; border-radius: 18px; } .dock a { width: 42px; height: 42px; border-radius: 12px; } .dock a svg { width: 21px; height: 21px; } .dock a span { display: none; } .view { margin-bottom: 96px; } }

/* ---- kartlar ---- */
.grid { display: grid; gap: 14px; }
.tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.cols-2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.section { margin-top: 14px; }
.card { background: var(--fill); border: 1px solid var(--stroke); border-radius: var(--r-md); padding: 18px; }
.home .card { background: rgba(22, 24, 34, 0.58); backdrop-filter: blur(30px) saturate(1.4); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.card.alert { border-color: rgba(251, 191, 36, 0.45); }

.widget { display: flex; flex-direction: column; gap: 2px; min-height: 108px; }
.widget .label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.widget .value { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.widget .value small { font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.widget .hint { font-size: 12px; color: var(--faint); margin-top: auto; }
.widget .bar { margin-top: auto; }
.greet { margin: 8px 4px 22px; }
.greet h1 { font-size: 32px; }
.greet .sub { margin-bottom: 0; }

.bar { height: 6px; border-radius: 99px; background: var(--fill-2); overflow: hidden; display: flex; margin-top: 10px; }
.bar > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.bar > span.b2 { background: var(--violet); border-radius: 0; } .bar > span.b3 { background: rgba(255, 255, 255, 0.28); border-radius: 0 99px 99px 0; }
.bar.warn > span:first-child { background: var(--amber); } .bar.bad > span:first-child { background: var(--red); }
.bar.live > span:first-child { background-image: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); background-size: 70px 100%; background-repeat: no-repeat; animation: sweep 1.5s linear infinite; }
@keyframes sweep { from { background-position: -70px 0; } to { background-position: calc(100% + 70px) 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--accent); }
.legend i.b2 { background: var(--violet); } .legend i.b3 { background: rgba(255, 255, 255, 0.28); } .legend i.b0 { background: var(--fill-2); }
.spark { width: 100%; height: 40px; display: block; margin-top: auto; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 550; background: var(--fill-2); color: var(--muted); white-space: nowrap; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.ok { color: var(--green); background: rgba(74, 222, 128, 0.12); } .chip.warn { color: var(--amber); background: rgba(251, 191, 36, 0.12); }
.chip.bad { color: var(--red); background: rgba(251, 113, 133, 0.13); } .chip.info { color: var(--blue); background: rgba(96, 165, 250, 0.13); } .chip.violet { color: var(--violet); }
.chip.plain::before { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }

button, .btn { font: 550 13.5px var(--f); color: var(--text); cursor: pointer; background: var(--fill-2); border: 0; border-radius: 99px; padding: 8px 15px; transition: 0.15s; letter-spacing: -0.005em; }
button:hover:not(:disabled) { background: var(--fill-3); }
button:active:not(:disabled) { transform: scale(0.97); }
button:disabled { opacity: 0.4; cursor: default; }
button.primary { background: #fff; color: #111318; }
button.primary:hover:not(:disabled) { background: #e7e9f2; }
button.danger { color: var(--red); background: rgba(251, 113, 133, 0.12); }
button.danger:hover:not(:disabled) { background: rgba(251, 113, 133, 0.2); }
button.amber { background: var(--amber); color: #201600; }
button.ghost { background: transparent; color: var(--muted); padding: 5px 9px; }
button.ghost:hover:not(:disabled) { color: var(--text); background: var(--fill-2); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

input, select, textarea { font: 14px var(--f); color: var(--text); background: rgba(0, 0, 0, 0.25); border: 1px solid var(--stroke); border-radius: var(--r-sm); padding: 9px 12px; width: 100%; outline: none; transition: 0.15s; }
input:focus, select:focus, textarea:focus { border-color: rgba(139, 156, 255, 0.7); box-shadow: 0 0 0 3px rgba(139, 156, 255, 0.18); }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent-strong); flex: none; }
select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23fff' stroke-opacity='.6' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
label { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin: 14px 0 6px; }
label.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); margin: 8px 0; cursor: pointer; font-weight: 400; }

table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; color: var(--faint); font-weight: 500; font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--stroke); }
td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; } tr.click:hover td { background: var(--fill); }
.table-wrap { overflow-x: auto; margin: 0 -8px -8px; }
.path { word-break: break-all; }
.empty { color: var(--faint); padding: 26px 0; text-align: center; font-size: 13.5px; }

.tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--fill); margin-bottom: 20px; max-width: 100%; overflow-x: auto; }
.tabs button { background: none; color: var(--muted); padding: 7px 14px; white-space: nowrap; font-weight: 500; }
.tabs button.active { background: var(--fill-3); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }

.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row .grow { flex: 1; min-width: 0; }
.disk-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.disk-name { font-size: 16px; font-weight: 650; letter-spacing: -0.015em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; margin-bottom: 12px; font-size: 13.5px; }
.job { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.job:last-child { border-bottom: 0; padding-bottom: 0; } .job:first-child { padding-top: 0; }
.job b { font-weight: 600; }
.job-msg { color: var(--faint); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.note:last-child { border-bottom: 0; }
.note input { margin-top: 3px; }
.note.done .note-text { color: var(--faint); text-decoration: line-through; }
.note-text { flex: 1; white-space: pre-wrap; word-break: break-word; }
.note-text small { color: var(--faint); font-size: 11.5px; display: block; }
.feed { font-size: 13px; color: var(--muted); display: grid; gap: 8px; }
.feed b { color: var(--faint); font-weight: 500; margin-right: 10px; font-variant-numeric: tabular-nums; }

/* ---- giriş ---- */
.auth { min-height: 100%; display: grid; place-items: center; padding: 20px; }
.auth .card { width: min(380px, 100%); padding: 32px; border-radius: var(--r-lg); background: var(--sheet); backdrop-filter: blur(40px) saturate(1.4); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); text-align: center; }
.auth .brand { justify-content: center; margin-bottom: 18px; } .auth .brand i { width: 52px; height: 52px; border-radius: 15px; font-size: 28px; }
.auth form label { text-align: left; }
.auth button { width: 100%; margin-top: 22px; padding: 11px; }
.error { color: var(--red); font-size: 13px; margin-top: 10px; min-height: 20px; }

/* ---- asistan ---- */
.chat { display: grid; grid-template-columns: 230px 1fr; gap: 14px; height: calc(100vh - 300px); min-height: 440px; }
.chat-list { overflow-y: auto; padding: 10px; }
.chat-list .item { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: 10px; cursor: pointer; color: var(--muted); font-size: 13.5px; }
.chat-list .item span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-list .item:hover, .chat-list .item.active { background: var(--fill-2); color: var(--text); }
.chat-list .item button { visibility: hidden; } .chat-list .item:hover button { visibility: visible; }
.chat-list .item .tag { font-size: 10.5px; font-style: normal; color: var(--amber); flex: none; }
.chat-main { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.chat-main.power { border-color: rgba(251, 191, 36, 0.4); }
.chat-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--stroke); font-size: 12.5px; color: var(--muted); }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; margin: 0; font-size: 13px; font-weight: 550; color: var(--text); }
.switch input { display: none; }
.switch i { width: 36px; height: 22px; border-radius: 99px; background: var(--fill-3); position: relative; transition: 0.2s; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); }
.switch input:checked + i { background: var(--amber); } .switch input:checked + i::after { left: 16px; }
.messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: min(720px, 92%); padding: 10px 14px; border-radius: 18px; word-break: break-word; }
.msg.user { align-self: flex-end; background: var(--accent-strong); color: #fff; border-bottom-right-radius: 6px; white-space: pre-wrap; }
.msg.assistant { align-self: flex-start; background: var(--fill-2); border-bottom-left-radius: 6px; }
.msg.assistant p { margin: 0 0 8px; } .msg.assistant p:last-child { margin-bottom: 0; }
.msg.assistant ul, .msg.assistant ol { margin: 4px 0 8px; padding-left: 22px; }
.msg.assistant code { background: rgba(0, 0, 0, 0.3); padding: 1px 6px; border-radius: 6px; font: 12.5px var(--f-mono); }
.msg.assistant pre { background: rgba(0, 0, 0, 0.35); padding: 10px 12px; border-radius: 12px; overflow-x: auto; margin: 6px 0; }
.msg.assistant pre code { padding: 0; background: none; }
.msg.assistant table { margin: 6px 0; font-size: 13px; }
.msg .tool { display: inline-flex; gap: 6px; align-items: center; font: 11.5px var(--f-mono); color: var(--muted); background: rgba(0, 0, 0, 0.25); border-radius: 99px; padding: 2px 10px; margin: 2px 4px 6px 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg .tool span { color: var(--faint); overflow: hidden; text-overflow: ellipsis; }
.typing::after { content: "●"; animation: blink 1s ease-in-out infinite; color: var(--muted); font-size: 10px; }
@keyframes blink { 50% { opacity: 0.2; } }
.approval { border: 1px solid rgba(251, 191, 36, 0.4); background: rgba(251, 191, 36, 0.07); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }
.approval.danger { border-color: rgba(251, 113, 133, 0.5); background: rgba(251, 113, 133, 0.08); }
.approval .a-title { font-size: 12.5px; font-weight: 600; color: var(--amber); } .approval.danger .a-title { color: var(--red); }
.approval pre { margin: 8px 0; white-space: pre-wrap; word-break: break-all; font: 12.5px var(--f-mono); background: rgba(0, 0, 0, 0.35); border-radius: 10px; padding: 8px 10px; }
.approval .a-why { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.approval .a-done { font-size: 12.5px; color: var(--muted); }
.composer { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--stroke); align-items: flex-end; }
.composer textarea { resize: none; max-height: 160px; border-radius: 18px; padding: 10px 14px; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.welcome { margin: auto; text-align: center; color: var(--muted); max-width: 480px; }
.welcome b { color: var(--text); font-size: 20px; font-weight: 650; letter-spacing: -0.02em; display: block; margin-bottom: 6px; }
@media (max-width: 760px) { .chat { grid-template-columns: 1fr; height: calc(100vh - 280px); } .chat-list { display: none; } }

/* ---- onay çubuğu, toast, modal ---- */
.approval-bar { position: fixed; right: 20px; bottom: 100px; z-index: 60; width: min(420px, calc(100vw - 40px)); display: grid; gap: 10px; }
.approval-bar .card { background: rgba(28, 24, 14, 0.92); border-color: rgba(251, 191, 36, 0.45); backdrop-filter: blur(30px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); animation: rise 0.3s ease both; padding: 6px; }
.toast { position: fixed; left: 50%; bottom: 104px; transform: translateX(-50%); z-index: 70; background: rgba(24, 26, 36, 0.92); border: 1px solid var(--stroke); border-radius: 99px; padding: 10px 18px; backdrop-filter: blur(30px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); max-width: min(560px, 92vw); font-size: 13.5px; }
.toast.bad { border-color: rgba(251, 113, 133, 0.6); color: #ffd5dc; }
.modal-back { position: fixed; inset: 0; background: rgba(5, 6, 10, 0.55); backdrop-filter: blur(10px); z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal-back .card { width: min(540px, 100%); max-height: 90vh; overflow-y: auto; background: rgba(24, 26, 36, 0.94); border-radius: var(--r-lg); padding: 26px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); }
.modal-back h2 { font-size: 18px; color: var(--text); font-weight: 650; letter-spacing: -0.02em; }

ol.steps { padding-left: 20px; margin: 8px 0 0; color: var(--muted); font-size: 13.5px; }
ol.steps li { margin-bottom: 8px; } ol.steps b { color: var(--text); font-weight: 600; }
.codeblock { display: block; background: rgba(0, 0, 0, 0.35); border-radius: 10px; padding: 9px 12px; margin-top: 6px; overflow-x: auto; white-space: nowrap; user-select: all; font: 12.5px var(--f-mono); color: var(--violet); }
.days { display: flex; gap: 6px; flex-wrap: wrap; }
.days label { margin: 0; cursor: pointer; } .days input { display: none; }
.days span { display: block; padding: 6px 11px; border-radius: 99px; background: var(--fill-2); font-size: 12.5px; font-weight: 550; color: var(--muted); }
.days input:checked + span { background: #fff; color: #111318; }

/* ---- dosya gezgini ---- */
.fx { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin: calc(-1 * clamp(18px, 3vw, 32px)); min-height: calc(100vh - 210px); }
.fx-side { padding: 18px 10px; border-right: 1px solid var(--stroke); overflow-y: auto; }
.fx-side h3 { font-size: 11.5px; font-weight: 600; color: var(--faint); margin: 14px 10px 6px; }
.fx-side h3:first-child { margin-top: 0; }
.fx-loc { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px; cursor: pointer; font-size: 13.5px; color: var(--muted); }
.fx-loc:hover { background: var(--fill); color: var(--text); } .fx-loc.active { background: var(--fill-2); color: var(--text); }
.fx-loc.off { opacity: 0.5; } .fx-loc svg { width: 17px; height: 17px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; }
.fx-loc span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fx-loc i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; } .fx-loc.off i { background: var(--faint); }
.fx-main { display: flex; flex-direction: column; min-width: 0; }
.fx-bar { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--stroke); flex-wrap: wrap; }
.fx-bar .crumbs { margin: 0; flex: 1; min-width: 0; } .fx-bar input { width: 180px; padding: 6px 12px; border-radius: 99px; }
.fx-bar .seg { display: inline-flex; background: var(--fill); border-radius: 99px; padding: 2px; } .fx-bar .seg button { padding: 5px 11px; background: none; } .fx-bar .seg button.active { background: var(--fill-3); }
.fx-body { flex: 1; overflow-y: auto; padding: 16px 18px 24px; }
.fx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 6px; }
.fx-item { border-radius: 12px; padding: 10px 8px 8px; text-align: center; cursor: default; user-select: none; }
.fx-item:hover { background: var(--fill); } .fx-item.sel { background: rgba(109, 125, 255, 0.28); }
.fx-thumb { height: 92px; display: grid; place-items: center; margin-bottom: 7px; position: relative; }
.fx-thumb img { max-width: 100%; max-height: 92px; border-radius: 6px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); object-fit: contain; background: rgba(0,0,0,.3); }
.fx-thumb .play { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); display: grid; place-items: center; font-size: 10px; pointer-events: none; }
.fx-name { font-size: 12.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.fx-meta { font-size: 11px; color: var(--faint); margin-top: 2px; }
.fx-icon { width: 64px; height: 64px; }
.fx-list tr.sel td { background: rgba(109, 125, 255, 0.22); } .fx-list td { padding: 7px 10px; vertical-align: middle; } .fx-list .fx-icon { width: 22px; height: 22px; vertical-align: -5px; margin-right: 8px; }
.fx-list img.mini { width: 30px; height: 22px; object-fit: cover; border-radius: 3px; vertical-align: -6px; margin-right: 8px; }
.fx-status { padding: 8px 18px; border-top: 1px solid var(--stroke); font-size: 12px; color: var(--faint); display: flex; gap: 14px; align-items: center; }
.fx-status .actions { margin-left: auto; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(4, 5, 9, 0.9); backdrop-filter: blur(14px); display: grid; grid-template-rows: auto 1fr; }
.lightbox header { display: flex; align-items: center; gap: 10px; padding: 14px 18px; } .lightbox header b { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.lightbox .stage { display: grid; place-items: center; min-height: 0; padding: 0 60px 30px; position: relative; }
.lightbox .stage img, .lightbox .stage video { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.lightbox .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; font-size: 18px; padding: 0; } .lightbox .prev { left: 12px; } .lightbox .next { right: 12px; }
@media (max-width: 760px) { .fx { grid-template-columns: 1fr; } .fx-side { display: flex; gap: 4px; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--stroke); padding: 8px; } .fx-side h3 { display: none; } .fx-loc { flex: none; } .lightbox .stage { padding: 0 8px 20px; } }
