:root {
  --bg: #0d1117;
  --bg-2: #161b22;
  --bg-3: #21262d;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --link: #58a6ff;
  --green: #238636;
  --green-hover: #2ea043;
  --red: #da3633;
  --yellow: #d29922;
  --purple: #a371f7;
  --radius: 6px;
  --mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 24px; margin: 0 0 16px; font-weight: 600; }
h2 { font-size: 18px; margin: 28px 0 12px; font-weight: 600; }
h3 { font-size: 15px; margin: 0 0 10px; }
code { font-family: var(--mono); background: var(--bg-3); padding: 1px 5px; border-radius: 4px; }
.muted { color: var(--muted); }
.inline { display: inline; margin: 0; }

/* Üst bar */
.topbar { background: var(--bg-2); border-bottom: 1px solid var(--border); }
.topbar-inner {
  max-width: 1200px; margin: auto; padding: 12px 16px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.logo { color: var(--text); font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; }
.hero-logo { width: 180px; max-width: 60%; margin-bottom: 20px; }
.hero-note { font-size: 14px !important; }
.auth-logo { display: block; width: 64px; height: 64px; margin: 0 auto 12px; }
.search { flex: 1; min-width: 160px; max-width: 360px; }
.search input { width: 100%; padding: 5px 10px; }
.nav { display: flex; align-items: center; gap: 14px; margin-left: auto; flex-wrap: wrap; }
.nav-link { color: var(--text); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.admin-link { color: var(--yellow); }
.linklike { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; color: var(--text); }
.linklike:hover { text-decoration: underline; }

.avatar {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; object-fit: cover;
  background: linear-gradient(135deg, #1f6feb, var(--purple));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 12px;
}
.avatar-lg { width: 96px; height: 96px; font-size: 40px; }
.avatar-xl { width: 100%; max-width: 260px; height: auto; aspect-ratio: 1; font-size: 96px; margin-bottom: 14px; border: 1px solid var(--border); }
.user-cell { display: flex; align-items: center; gap: 8px; }
.avatar-settings { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.avatar-forms { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 12px; }

/* Düzen */
.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 24px 16px 48px; flex: 1; }
.narrow { max-width: 640px; margin: auto; }
.footer { text-align: center; color: var(--muted); padding: 24px; border-top: 1px solid var(--border); font-size: 12px; }

.card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.card.flush { padding: 0; overflow: hidden; }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.center-box { max-width: 480px; margin: 40px auto; text-align: center; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-3); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 6px 14px; font: inherit; font-weight: 500; cursor: pointer;
  white-space: nowrap;
}
.btn:hover { background: #30363d; text-decoration: none; }
.btn-primary { background: var(--green); border-color: rgba(240, 246, 252, .1); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-danger { color: #f85149; }
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-sm { padding: 3px 10px; font-size: 12px; }
.btn-lg { padding: 10px 20px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn.disabled { opacity: .7; cursor: default; }
.btn-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.count { background: #30363d; border-radius: 10px; padding: 0 7px; font-size: 12px; margin-left: 4px; }

/* Formlar */
input, textarea, select {
  background: var(--bg); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 7px 10px; font: inherit; width: 100%;
}
input:focus, textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(56, 139, 253, .3); }
input[type=radio], input[type=checkbox] { width: auto; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.form label small { font-weight: 400; }
.form .check { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; }
.radio-group { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; }
.form .radio { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .radio input { margin-top: 4px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix span {
  background: var(--bg-3); border: 1px solid var(--border); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius); padding: 7px 10px;
  color: var(--muted); white-space: nowrap; font-weight: 400;
}
.input-prefix input { border-radius: 0 var(--radius) var(--radius) 0; }

/* Flash */
.flash { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; border: 1px solid; }
.flash-success { background: rgba(46, 160, 67, .15); border-color: rgba(46, 160, 67, .4); }
.flash-error { background: rgba(248, 81, 73, .15); border-color: rgba(248, 81, 73, .4); }
.flash-warning { background: rgba(210, 153, 34, .15); border-color: rgba(210, 153, 34, .4); }

/* Auth */
.auth { max-width: 360px; margin: 32px auto; }
.auth h1 { text-align: center; font-weight: 300; }
.auth-alt { text-align: center; margin-top: 16px; }

/* Hero */
.hero {
  text-align: center; padding: 56px 16px; margin-bottom: 24px;
  background: radial-gradient(ellipse at top, rgba(31, 111, 235, .25), transparent 70%);
  border-radius: 12px;
}
.hero h1 { font-size: 40px; margin-bottom: 12px; }
.hero p { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { margin: 0; }

/* Repo kartları */
.repo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.repo-card { display: flex; flex-direction: column; gap: 8px; margin-bottom: 0; }
.profile-main .repo-card { margin-bottom: 12px; }
.repo-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.repo-title { font-size: 16px; font-weight: 600; word-break: break-all; }
.repo-desc { color: var(--muted); margin: 0 0 12px; }
.repo-card .repo-desc { margin: 0; }
.repo-meta { display: flex; gap: 16px; font-size: 12px; flex-wrap: wrap; }

.badge {
  border: 1px solid var(--border); border-radius: 2em; padding: 0 8px;
  font-size: 12px; color: var(--muted); font-weight: 500; white-space: nowrap;
}
.badge-private { border-color: var(--yellow); color: var(--yellow); }
.badge-admin { border-color: var(--purple); color: var(--purple); }

/* Repo sayfası */
.repo-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.repo-name { font-weight: 400; font-size: 20px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.file-box { margin-bottom: 24px; }
.file-box-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 16px; background: var(--bg-3); border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.file-row {
  display: grid; grid-template-columns: 24px 1fr auto auto; gap: 12px; align-items: center;
  padding: 8px 16px; border-bottom: 1px solid var(--border); color: var(--text);
}
.file-row:last-child { border-bottom: 0; }
.file-row:hover { background: var(--bg-3); text-decoration: none; }
.file-row:hover .file-path { color: var(--link); text-decoration: underline; }
.file-size, .file-date { font-size: 12px; }
.readme { margin-bottom: 24px; }
.readme-body { margin: 0; padding: 20px; white-space: pre-wrap; word-wrap: break-word; font: 15px/1.6 inherit; font-family: inherit; }
.repo-settings summary { cursor: pointer; font-weight: 600; }
.repo-settings .form { margin-top: 16px; }
.danger-zone { margin-top: 24px; border: 1px solid rgba(248, 81, 73, .5); border-radius: var(--radius); padding: 16px; }
.danger-zone h3 { color: #f85149; }

.breadcrumb { margin-bottom: 12px; font-size: 16px; }

/* Kod görünümü */
.code-view { display: flex; overflow-x: auto; font: 12px/20px var(--mono); }
.code-view pre { margin: 0; font: inherit; }
.gutter {
  padding: 8px 12px; text-align: right; color: #6e7681; user-select: none;
  border-right: 1px solid var(--border); background: var(--bg-2);
}
.code { flex: 1; }
.code code, .code code.hljs { display: block; padding: 8px 16px !important; background: var(--bg) !important; font: inherit; border-radius: 0; overflow: visible; }

/* Editör */
.editor { gap: 12px; }
.code-input {
  min-height: 60vh; font: 13px/1.6 var(--mono); tab-size: 2; resize: vertical;
  white-space: pre; overflow-wrap: normal; overflow-x: auto;
}

/* Profil */
.profile { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.profile-side h1 { margin: 0 0 6px; }

/* Admin */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat-num { font-size: 30px; font-weight: 700; }
.stat-alert { border-color: var(--yellow); }
.stat-alert .stat-num { color: var(--yellow); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { background: var(--bg-3); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.table tr:last-child td { border-bottom: 0; }
.row-pending { background: rgba(210, 153, 34, .07); }
.actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.status { font-size: 12px; font-weight: 600; }
.status-pending { color: var(--yellow); }
.status-approved { color: #3fb950; }
.status-rejected { color: #f85149; }

/* Klasör görünümü */
.tree-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.tree-bar .breadcrumb { margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.readme-hint { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--muted); flex-wrap: wrap; }
.image-view { padding: 24px; text-align: center; background: repeating-conic-gradient(#161b22 0 25%, #1c2128 0 50%) 0 0 / 20px 20px; }
.image-view img { max-width: 100%; max-height: 70vh; }
.wide { max-width: 760px; margin: 0; }

/* Yükleme */
.sep { border: 0; border-top: 1px solid var(--border); margin: 4px 0; width: 100%; }
.zip-options { display: none; flex-direction: column; gap: 10px; padding-left: 26px; }
form:has(input[name=source][value=zip]:checked) .zip-options { display: flex; }
.upload-pickers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .dropzone {
  position: relative; border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; cursor: pointer; font-weight: 500; color: var(--muted);
}
.form .dropzone:hover, .form .dropzone:focus-within { border-color: var(--link); color: var(--text); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone.has-file { border-color: var(--green); color: var(--text); }

/* Editör */
.editor-box { display: flex; flex-direction: column; }
.editor-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--bg-3); border-bottom: 1px solid var(--border); padding: 6px 8px 0; flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; }
.tab { background: none; border: 1px solid transparent; border-bottom: 0; color: var(--muted); padding: 6px 14px; border-radius: 6px 6px 0 0; cursor: pointer; font: inherit; }
.tab.active { background: var(--bg); border-color: var(--border); color: var(--text); margin-bottom: -1px; }
.md-toolbar { display: flex; gap: 2px; flex-wrap: wrap; padding-bottom: 6px; }
.md-toolbar button { background: none; border: 0; color: var(--muted); padding: 4px 8px; border-radius: 4px; cursor: pointer; font: inherit; font-size: 13px; }
.md-toolbar button:hover { background: #30363d; color: var(--text); }
.md-only { display: none !important; }
.editor.is-md .md-only { display: flex !important; }
.editor.is-md .tab.md-only { display: inline-block !important; }
.editor-box .code-input { border: 0; border-radius: 0; }
.editor-box .code-input:focus { box-shadow: none; }
.md-preview { min-height: 60vh; }
.editor-foot { padding: 8px 12px; border-top: 1px solid var(--border); font-size: 12px; display: block; }
.editor.is-md .editor-foot.md-only { display: block !important; }

/* Markdown içeriği (README) */
.markdown-body { padding: 24px 32px; font-size: 15px; line-height: 1.65; word-wrap: break-word; }
.markdown-body > :first-child { margin-top: 0; }
.markdown-body > :last-child { margin-bottom: 0; }
.markdown-body h1, .markdown-body h2 { padding-bottom: .3em; border-bottom: 1px solid var(--border); }
.markdown-body h1 { font-size: 2em; margin: 24px 0 16px; }
.markdown-body h2 { font-size: 1.5em; margin: 24px 0 16px; }
.markdown-body h3 { font-size: 1.25em; margin: 24px 0 16px; }
.markdown-body p, .markdown-body ul, .markdown-body ol, .markdown-body blockquote, .markdown-body pre, .markdown-body table { margin: 0 0 16px; }
.markdown-body img { max-width: 100%; border-radius: 4px; }
.markdown-body blockquote { padding: 0 1em; color: var(--muted); border-left: 4px solid var(--border); }
.markdown-body pre { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; overflow: auto; }
.markdown-body pre code { background: none; padding: 0; }
.markdown-body table { border-collapse: collapse; display: block; overflow: auto; }
.markdown-body th, .markdown-body td { border: 1px solid var(--border); padding: 6px 13px; }
.markdown-body tr:nth-child(2n) { background: var(--bg-3); }
.markdown-body hr { border: 0; height: 4px; background: var(--border); margin: 24px 0; }
.markdown-body li > input[type=checkbox] { margin-right: 6px; }

@media (max-width: 720px) {
  .upload-pickers { grid-template-columns: 1fr; }
  .markdown-body { padding: 16px; }
  .profile { grid-template-columns: 1fr; }
  .repo-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .file-date { display: none; }
  .file-row { grid-template-columns: 24px 1fr auto; }
  .nav { margin-left: 0; }
}

/* =========================================================
   KodNav teması: keçi & dağ süslemeleri, yeni bileşenler
   ========================================================= */
:root { --brand-grad: linear-gradient(90deg, #58a6ff, #a371f7); }

body {
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(56, 139, 253, .10), transparent 70%),
    var(--bg);
}
.no-margin { margin: 0; }
.center { justify-content: center; }
.center-text { text-align: center; }
.grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Üst bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(22, 27, 34, .88); backdrop-filter: blur(10px); }
.logo { transition: opacity .15s; }
.logo:hover { opacity: .85; }
.logo-mark { filter: drop-shadow(0 0 6px rgba(88, 166, 255, .35)); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 48px 16px 200px;
  background:
    url(/mountains.svg) bottom / 100% 200px no-repeat,
    radial-gradient(ellipse at top, rgba(31, 111, 235, .22), transparent 70%);
  border: 1px solid var(--border); border-radius: 16px;
}
.hero-glow {
  position: absolute; width: 260px; height: 260px; left: 50%; top: 30px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(163, 113, 247, .35), transparent 65%); filter: blur(10px); pointer-events: none;
}
.hero-logo { position: relative; width: 170px; max-width: 50%; margin-bottom: 16px; animation: float 6s ease-in-out infinite; }
.hero h1 { position: relative; font-size: 42px; line-height: 1.2; }
.hero-note { margin-top: 20px !important; }
.hero-stats { position: relative; display: flex; justify-content: center; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; align-items: center; }
.hero-stats b { font-size: 28px; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { color: var(--muted); font-size: 13px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.feature { transition: transform .15s, border-color .15s; }
.feature:hover { transform: translateY(-3px); border-color: #58a6ff66; }
.feature-icon { font-size: 28px; margin-bottom: 8px; }
.feature h3 { font-size: 16px; }
.feature p { margin: 0; }

/* Girişli kullanıcı karşılama kartı */
.welcome {
  display: flex; align-items: center; gap: 20px; margin-bottom: 28px; padding: 20px 24px; flex-wrap: wrap;
  background: url(/mountains.svg) bottom / 100% 90px no-repeat, linear-gradient(120deg, rgba(31, 111, 235, .12), rgba(163, 113, 247, .08)), var(--bg-2);
}
.welcome h2 { margin: 0 0 4px; }
.welcome p { margin: 0; }
.welcome > div:nth-child(2) { flex: 1; min-width: 220px; }
.welcome-goat { width: 54px; opacity: .9; }

/* Kartlar */
.repo-card { transition: border-color .15s, transform .15s; }
.repo-card:hover { border-color: #58a6ff66; transform: translateY(-2px); }
.lang-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 1px solid rgba(255, 255, 255, .15); }

/* Boş durumlar: soluk keçi */
.empty::before {
  content: ''; display: block; width: 52px; height: 74px; margin: 0 auto 12px;
  background: url(/goat.png) center / contain no-repeat; opacity: .22;
}

/* Repo sayfası */
.btn.starred { color: var(--yellow); border-color: #d2992266; }
.forked-from { margin: -6px 0 10px; font-size: 13px; }
.lang-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; margin: 4px 0 8px; background: var(--bg-3); gap: 2px; }
.lang-bar span { display: block; min-width: 3px; }
.lang-list { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12px; margin-bottom: 18px; }

/* Kod görünümü: satır bağlantıları */
.code-view { position: relative; }
.gutter a { color: inherit; }
.gutter a:hover { color: var(--text); text-decoration: none; }
.line-mark { display: none; position: absolute; left: 0; right: 0; height: 20px; background: rgba(210, 153, 34, .15); border-left: 3px solid var(--yellow); pointer-events: none; }

/* Profil */
.profile-bio { margin: 10px 0; font-size: 15px; }
.profile-facts { list-style: none; padding: 0; margin: 12px 0 16px; display: flex; flex-direction: column; gap: 6px; word-break: break-all; }
.tabs-nav { display: flex; gap: 4px; align-items: center; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.tabs-nav a { color: var(--text); padding: 8px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-nav a:hover { text-decoration: none; border-bottom-color: var(--border); }
.tabs-nav a.active { border-bottom-color: #f78166; font-weight: 600; }
.tabs-nav .tabs-action { margin-left: auto; padding: 3px 10px; border-bottom: 1px solid rgba(240, 246, 252, .1); margin-bottom: 6px; }

/* Giriş */
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.small-link { font-size: 12px; font-weight: 400; }
.auth-logo { filter: drop-shadow(0 0 12px rgba(88, 166, 255, .3)); }

/* Hata sayfası */
.error-page { text-align: center; padding: 48px 16px; max-width: 560px; margin: auto; }
.error-code { font-size: 120px; font-weight: 800; line-height: 1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 16px; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-code img { width: 110px; height: 110px; animation: float 5s ease-in-out infinite; }
.error-goat { width: 80px; opacity: .5; margin-bottom: 16px; }

/* Alt bilgi */
.footer { position: relative; padding: 0; border-top: 0; margin-top: 40px; text-align: left; }
.footer-mountains { height: 90px; background: url(/mountains.svg) bottom / 100% 100% no-repeat; opacity: .8; }
.footer-inner {
  max-width: 1200px; margin: auto; padding: 18px 16px 8px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--border);
}
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 15px; }
.footer-brand:hover { text-decoration: none; }
.footer-brand img { width: 26px; height: 26px; }
.footer-links { margin-left: auto; display: flex; gap: 16px; }
.footer-links a { color: var(--muted); }
.footer-copy { max-width: 1200px; margin: auto; padding: 0 16px 20px; font-size: 12px; }

@media (max-width: 720px) {
  .hero { padding-bottom: 120px; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 24px; }
  .error-code { font-size: 80px; }
  .error-code img { width: 74px; height: 74px; }
  .footer-links { margin-left: 0; }
}

/* Dil analizi */
.lang-bar-sm { height: 6px; margin: 2px 0 4px; }
.lang-list-sm { margin-bottom: 0; gap: 4px 12px; }
.lang-item { white-space: nowrap; }
.lang-panel { margin-bottom: 18px; padding: 14px 16px; }
.lang-panel .lang-list { margin-bottom: 0; }
.lang-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.lang-hero { margin-bottom: 8px; }
.lang-hero .lang-bar { height: 14px; border-radius: 7px; margin: 16px 0 12px; }
.lang-hero .lang-list { font-size: 13px; margin-bottom: 0; }
.lang-hero-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lang-hero-main { display: flex; align-items: center; gap: 12px; }
.lang-hero-main div { display: flex; flex-direction: column; }
.lang-hero-main b { font-size: 20px; }
.lang-big-dot { width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 18px currentColor; border: 2px solid rgba(255, 255, 255, .2); }
.lang-table .num { text-align: right; }
.pct-cell { display: flex; align-items: center; gap: 10px; min-width: 200px; }
.pct-bar { flex: 1; height: 8px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.pct-bar span { display: block; height: 100%; border-radius: 4px; }
.lang-files { margin-bottom: 10px; }
.lang-files summary { padding: 10px 16px; cursor: pointer; display: flex; align-items: center; gap: 8px; background: var(--bg-3); }
.lang-files[open] summary { border-bottom: 1px solid var(--border); }
.lang-files .file-size { font-size: 12px; }
.empty-row { padding: 10px 16px; font-size: 12px; }
.how-it-works { margin-top: 28px; }
.how-it-works ol { padding-left: 20px; margin: 8px 0 12px; display: flex; flex-direction: column; gap: 6px; }
.file-lang { color: var(--text); }
.hint-box { background: rgba(56, 139, 253, .08); border: 1px solid rgba(56, 139, 253, .3); border-radius: var(--radius); padding: 10px 12px; font-size: 13px; }

/* Keşfet: dil filtresi */
.lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border: 1px solid var(--border); border-radius: 2em; color: var(--text); font-size: 12px; background: var(--bg-2); }
.chip:hover { border-color: #58a6ff88; text-decoration: none; }
.chip.active { border-color: var(--link); background: rgba(56, 139, 253, .15); }

/* Profil: en çok kullanılan diller */
.profile-langs { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.profile-langs h3 { font-size: 14px; }
.profile-lang { margin-bottom: 10px; font-size: 13px; }
.profile-lang-row { display: flex; justify-content: space-between; margin-bottom: 4px; }

/* Etiketler */
.topics { display: flex; flex-wrap: wrap; gap: 6px; }
.topic {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 2em;
  background: rgba(56, 139, 253, .12); color: #58a6ff; font-size: 12px; font-weight: 500;
  border: 1px solid transparent; line-height: 20px; white-space: nowrap;
}
a.topic:hover { background: #1f6feb; color: #fff; text-decoration: none; }
.topic-count { opacity: .7; font-size: 11px; }
.repo-card .topics { margin: -2px 0 2px; }
.repo-topics { display: flex; flex-direction: column; gap: 8px; margin: -4px 0 16px; }
.topic-editor summary { cursor: pointer; list-style: none; display: inline-block; }
.topic-editor summary::-webkit-details-marker { display: none; }
.topic-editor .form { margin-top: 8px; max-width: 640px; }

.tag-input { display: flex; flex-direction: column; gap: 6px; }
.tag-box {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px; min-height: 38px; cursor: text;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
}
.tag-box:focus-within { border-color: var(--link); box-shadow: 0 0 0 3px rgba(56, 139, 253, .3); }
.tag-box .tag-raw { flex: 1; min-width: 160px; border: 0; padding: 2px 4px; background: transparent; box-shadow: none !important; }
.topic-chip { padding-right: 4px; }
.topic-chip button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 14px; line-height: 1; padding: 0 4px; border-radius: 50%; }
.topic-chip button:hover { background: rgba(255, 255, 255, .15); }
.tag-suggest { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.topic-add { cursor: pointer; border: 1px dashed rgba(56, 139, 253, .5); background: transparent; font: inherit; font-size: 12px; }
.topic-add:hover { background: rgba(56, 139, 253, .15); }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-weight: 600; }

.popular-topics { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; font-size: 13px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; padding: 24px; }
.topic-cloud { padding: 4px 14px; }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.topic-card { display: flex; align-items: center; gap: 10px; color: var(--text); transition: border-color .15s, transform .15s; }
.topic-card:hover { border-color: #58a6ff66; transform: translateY(-2px); text-decoration: none; }
.topic-card b { flex: 1; color: #58a6ff; word-break: break-all; }
.topic-rank { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bg-3); font-size: 12px; font-weight: 700; color: var(--muted); }

.topic-hero {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
  background: url(/mountains.svg) bottom / 100% 80px no-repeat, linear-gradient(120deg, rgba(31, 111, 235, .14), rgba(163, 113, 247, .1)), var(--bg-2);
}
.topic-hero-icon { font-size: 34px; width: 60px; height: 60px; border-radius: 14px; background: rgba(56, 139, 253, .15); display: flex; align-items: center; justify-content: center; }
.topic-hero-text { flex: 1; }
.topic-hero h1 { color: #58a6ff; }
.topic-layout { display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.topic-side { display: flex; flex-direction: column; gap: 16px; }
.topic-side h3 { font-size: 14px; }
.topic-side .lang-list { margin-bottom: 0; }
.repo-grid.single { grid-template-columns: 1fr; }

@media (max-width: 860px) {
  .topic-layout { grid-template-columns: 1fr; }
}

/* Düzeltmeler */
.repo-card-head .repo-title { flex: 1; min-width: 0; }
.icon { width: 14px; height: 14px; vertical-align: -2px; flex-shrink: 0; }
.pct-cell b { min-width: 56px; text-align: right; }
.lang-big-dot { box-shadow: 0 0 18px rgba(88, 166, 255, .35); }
.topic-add[hidden], .md-preview[hidden] { display: none !important; }

/* =========================================================
   Mobil / Android uyumu
   ========================================================= */
html { -webkit-text-size-adjust: 100%; }
a, button, label, summary { -webkit-tap-highlight-color: rgba(88, 166, 255, .15); touch-action: manipulation; }
.nav-check, .nav-toggle { display: none; }
.nav-ico { display: none; }
.pending-badge {
  display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--yellow); color: #0d1117; font-size: 11px; font-weight: 700;
}
.break { word-break: break-all; }

@media (max-width: 720px) {
  .container { padding: 16px max(12px, env(safe-area-inset-left)) 32px max(12px, env(safe-area-inset-right)); }
  h1 { font-size: 21px; }
  h2 { font-size: 17px; margin: 22px 0 10px; }

  /* Formlar: Android'de yazı küçük olunca sayfa yakınlaşmasın; dokunma alanları büyük olsun */
  input, textarea, select { font-size: 16px; }
  .btn { min-height: 38px; }
  .btn-sm { min-height: 34px; padding: 4px 12px; font-size: 13px; }
  .card { padding: 14px; }

  /* Üst bar: hamburger menü */
  .topbar-inner { padding: 8px 12px; gap: 10px; }
  .topbar-user .nav-toggle {
    display: flex; position: relative; margin-left: auto; width: 42px; height: 42px; align-items: center; justify-content: center;
    border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--bg-3);
  }
  .burger { display: flex; flex-direction: column; gap: 4px; width: 18px; }
  .burger span { display: block; height: 2px; border-radius: 1px; background: var(--text); transition: transform .2s, opacity .2s; }
  .nav-check:checked ~ .nav-toggle .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-check:checked ~ .nav-toggle .burger span:nth-child(2) { opacity: 0; }
  .nav-check:checked ~ .nav-toggle .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
  .topbar-user .search, .topbar-user .nav { display: none; }
  .nav-check:checked ~ .search { display: block; flex-basis: 100%; max-width: none; order: 3; }
  .nav-check:checked ~ .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0; flex-basis: 100%; order: 4;
    margin: 0 -12px; padding: 4px 0 8px; border-top: 1px solid var(--border);
  }
  .search input { padding: 9px 12px; }
  .topbar-user .nav .nav-link { padding: 12px 16px; font-size: 15px; gap: 10px; border-bottom: 1px solid rgba(48, 54, 61, .5); }
  .topbar-user .nav .nav-ico { display: inline-block; width: 22px; text-align: center; }
  .topbar-user .nav .avatar { width: 22px; height: 22px; }
  .topbar-user .nav .nav-new { margin: 10px 16px; justify-content: center; min-height: 42px; font-size: 15px; order: -1; }
  .topbar-user .nav .nav-logout .nav-link { width: 100%; text-align: left; border-bottom: 0; }
  .topbar:not(.topbar-user) .nav { gap: 12px; margin-left: auto; }

  /* Tablolar -> kartlar */
  .table-cards thead { display: none; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tr { padding: 12px 14px; border-bottom: 1px solid var(--border); }
  .table-cards tr:last-child { border-bottom: 0; }
  .table-cards td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: right; }
  .table-cards td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; flex-shrink: 0; }
  .table-cards td.card-title { justify-content: flex-start; text-align: left; font-size: 15px; padding-bottom: 6px; flex-wrap: wrap; }
  .table-cards td.card-actions { justify-content: flex-start; padding-top: 10px; }
  .table-cards td.break { word-break: break-all; }
  .table-cards .num { text-align: right; }
  .table-cards .pct-cell { min-width: 0; }
  .table-cards .pct-cell .pct-bar { max-width: 55%; margin-left: auto; }
  .table-wrap { overflow-x: visible; }

  /* Repo sayfası */
  .repo-name { font-size: 18px; word-break: break-word; }
  .repo-top { gap: 4px; }
  .repo-actions { width: 100%; margin-bottom: 10px; }
  .repo-actions .btn { flex: 1; justify-content: center; }
  .repo-actions form { flex: 1; display: flex; }
  .tree-bar .btn-row { width: 100%; }
  .tree-bar .btn-row > * { flex: 1; justify-content: center; }
  .tree-bar .btn-row form .btn { width: 100%; justify-content: center; }
  .file-row { padding: 11px 12px; gap: 10px; }
  .file-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .file-box-head { padding: 10px 12px; }
  .file-box-head .btn-row { width: 100%; }
  .breadcrumb { word-break: break-all; font-size: 15px; }
  .lang-panel-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .markdown-body { font-size: 15px; }
  .code-view { font-size: 12px; }

  /* Editör */
  .md-toolbar { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
  .md-toolbar button { flex-shrink: 0; padding: 8px 10px; }
  .editor-head { padding: 6px 6px 0; }
  .code-input, .md-preview { min-height: 50vh; }
  .editor .btn-row .btn { flex: 1; justify-content: center; }

  /* Profil */
  .profile { gap: 16px; }
  .profile-side { display: grid; grid-template-columns: 88px 1fr; column-gap: 14px; align-items: center; }
  .profile-side .avatar-xl { width: 88px; height: 88px; font-size: 40px; margin: 0; grid-row: span 2; }
  .profile-side h1 { margin: 0; align-self: end; }
  .profile-side .badge { justify-self: start; align-self: start; }
  .profile-side > :not(.avatar-xl):not(h1):not(.badge) { grid-column: 1 / -1; }
  .tabs-nav { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .tabs-nav .tabs-action { display: none; }

  /* Diğer */
  .section-head { flex-wrap: wrap; }
  .welcome { padding: 16px; gap: 12px; }
  .welcome-goat { width: 40px; }
  .welcome .btn-row { width: 100%; }
  .welcome .btn-row .btn { flex: 1; justify-content: center; }
  .lang-hero-head { flex-direction: column; align-items: flex-start; }
  .topic-hero { gap: 12px; }
  .topic-hero-icon { width: 48px; height: 48px; font-size: 26px; }
  .tag-cloud { padding: 14px; gap: 8px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-num { font-size: 24px; }
  .auth { margin: 12px auto; }
  .hero { padding: 32px 14px 140px; border-radius: 12px; }
  .hero p { font-size: 16px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-mountains { height: 60px; }
  .danger-zone { padding: 12px; }
  .avatar-settings { gap: 14px; }
  .avatar-settings .avatar-lg { width: 72px; height: 72px; font-size: 32px; }
  .flash { padding: 10px 12px; }
}

@media (max-width: 380px) {
  .logo { font-size: 16px; }
  .logo-mark { width: 28px; height: 28px; }
  .hero-stats { gap: 18px; }
  .repo-actions .btn { padding: 4px 8px; }
}

/* =========================================================
   Repo menüsü, sürümler, fark (diff), repo ayarları
   ========================================================= */
.repo-tabs {
  display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin: 0 0 18px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.repo-tabs::-webkit-scrollbar { display: none; }
.repo-tabs a {
  color: var(--text); padding: 8px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
  border-radius: 6px 6px 0 0; font-size: 14px;
}
.repo-tabs a:hover { background: var(--bg-3); text-decoration: none; }
.repo-tabs a.active { border-bottom-color: #f78166; font-weight: 600; }
.repo-head + .repo-tabs { margin-top: -4px; }
.repo-top + .repo-tabs, .repo-top .repo-tabs { margin-top: 0; }

.plus { color: #3fb950; font-weight: 600; }
.minus { color: #f85149; font-weight: 600; }
.small-text { font-size: 13px; }
.active-btn { border-color: var(--link); background: rgba(56, 139, 253, .15); }

.release-banner {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 16px; color: var(--text);
  background: linear-gradient(90deg, rgba(46, 160, 67, .12), transparent 70%), var(--bg-2); flex-wrap: wrap;
}
.release-banner:hover { border-color: #3fb95066; text-decoration: none; }
.release-banner-text { flex: 1; min-width: 160px; }
.release-tag {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 700; font-size: 14px;
  color: #3fb950; background: rgba(46, 160, 67, .12); border: 1px solid rgba(46, 160, 67, .35); border-radius: 2em; padding: 2px 12px;
}
.release-tag:hover { text-decoration: none; background: rgba(46, 160, 67, .2); }
.release-tag.big { font-size: 18px; padding: 4px 16px; }
.badge-latest { border-color: #3fb950; color: #3fb950; }
.release-hint { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.manage-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

.timeline { display: flex; flex-direction: column; gap: 14px; position: relative; }
.release-card { position: relative; }
.release-card.is-backup { opacity: .8; border-style: dashed; }
.release-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.release-meta { font-size: 12px; margin-left: auto; }
.release-title { margin: 12px 0 0; font-size: 18px; }
.release-title a { color: var(--text); }
.release-notes { padding: 12px 0 0; font-size: 14px; }
.release-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.change-pills { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.pill { font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 2em; }
.pill-add { color: #3fb950; background: rgba(46, 160, 67, .15); }
.pill-mod { color: var(--yellow); background: rgba(210, 153, 34, .15); }
.pill-del { color: #f85149; background: rgba(248, 81, 73, .15); }

.release-detail { margin-bottom: 8px; }
.release-actions { margin-top: 16px; }
.edit-notes { margin-top: 12px; }
.edit-notes summary { cursor: pointer; }
.edit-notes .form { margin-top: 10px; }
.change-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.change-summary .lines-stat { margin-left: auto; font-family: var(--mono); font-size: 13px; }
.change-list { margin-bottom: 18px; }
.change-row {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 8px 16px;
  border-bottom: 1px solid var(--border); color: var(--text); font-size: 13px;
}
.change-row:last-child { border-bottom: 0; }
a.change-row:hover { background: var(--bg-3); text-decoration: none; }
.change-sign { font-family: var(--mono); font-weight: 700; text-align: center; border-radius: 4px; }
.change-added .change-sign { color: #3fb950; background: rgba(46, 160, 67, .15); }
.change-modified .change-sign { color: var(--yellow); background: rgba(210, 153, 34, .15); }
.change-removed .change-sign { color: #f85149; background: rgba(248, 81, 73, .15); }
.change-removed .file-path { text-decoration: line-through; color: var(--muted); }
.lines-stat { font-family: var(--mono); font-size: 12px; white-space: nowrap; }
.pending-title { margin-top: 28px; display: flex; align-items: center; gap: 8px; }
.version-files { margin-top: 8px; }

/* Satır farkı */
.diff-stat { padding: 8px 16px; font-family: var(--mono); font-size: 12px; border-bottom: 1px solid var(--border); }
.diff-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.diff { border-collapse: collapse; width: 100%; font: 12px/20px var(--mono); }
.diff td { padding: 0 8px; white-space: pre; vertical-align: top; }
.diff .ln { width: 1%; min-width: 40px; text-align: right; color: #6e7681; user-select: none; border-right: 1px solid var(--border); }
.diff-sign { display: inline-block; width: 14px; user-select: none; }
.diff-add { background: rgba(46, 160, 67, .15); }
.diff-add .ln { background: rgba(46, 160, 67, .22); color: #3fb950; }
.diff-add .diff-sign { color: #3fb950; }
.diff-del { background: rgba(248, 81, 73, .13); }
.diff-del .ln { background: rgba(248, 81, 73, .2); color: #f85149; }
.diff-del .diff-sign { color: #f85149; }
.diff-hunk td { background: rgba(56, 139, 253, .1); color: var(--muted); padding-top: 4px; padding-bottom: 4px; }

/* Yeni sürüm formu */
.tag-field { font-family: var(--mono); font-size: 16px; font-weight: 600; max-width: 260px; }
.tag-quick { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 12px; }
.tag-quick .chip { cursor: pointer; font: inherit; font-size: 12px; }
.release-zip { padding-left: 26px; }

/* Repo ayarları */
.settings-page section { margin-bottom: 16px; }
.settings-page h3 { margin-bottom: 12px; }
.inline-form { flex-direction: row; align-items: stretch; flex-wrap: wrap; }
.inline-form .input-prefix { flex: 1; min-width: 220px; }
.delete-list { margin: 8px 0 12px; padding-left: 20px; }
.btn-solid-danger { background: var(--red); color: #fff; border-color: var(--red); }
.btn-solid-danger:hover { background: #b62324; }
.danger-zone:target { box-shadow: 0 0 0 3px rgba(248, 81, 73, .35); }

@media (max-width: 720px) {
  .repo-tabs { margin: 0 -12px 14px; padding: 0 8px; }
  .repo-tabs a { padding: 10px 12px; }
  .release-meta { margin-left: 0; width: 100%; }
  .release-foot .btn-row { width: 100%; }
  .release-foot .btn-row .btn { flex: 1; justify-content: center; }
  .release-actions .btn, .release-actions form { flex: 1 1 auto; }
  .release-actions form .btn { width: 100%; justify-content: center; }
  .manage-bar .btn { flex: 1 1 45%; justify-content: center; }
  .manage-bar > .muted { width: 100%; }
  .change-row { padding: 10px 12px; }
  .change-summary .lines-stat { margin-left: 0; width: 100%; }
  .release-zip { padding-left: 0; }
  .tag-field { max-width: none; }
  .inline-form .btn { width: 100%; justify-content: center; }
  .release-banner { padding: 10px 12px; }
}
.repo-top { flex-wrap: wrap; }
.repo-top .repo-tabs { order: 3; flex-basis: 100%; margin-top: 4px; }
.repo-top .repo-actions { order: 2; }

/* =========================================================
   Konular (issues), yorumlar, indirilebilir dosyalar
   ========================================================= */
.danger-link { color: #f85149 !important; }
.hide-sm { display: inline; }

/* Konu listesi */
.issues-top { display: flex; gap: 10px; margin-bottom: 12px; }
.issue-search { flex: 1; }
.kind-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.issue-tabs { justify-content: flex-start; gap: 18px; }
.issue-tabs a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.issue-tabs a.active { color: var(--text); }
.issue-tabs a:hover { text-decoration: none; color: var(--text); }
.state-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.state-dot.open { background: #3fb950; }
.state-dot.closed { background: #a371f7; }
.issue-row { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text); }
.issue-row:last-child { border-bottom: 0; }
.issue-row:hover { background: var(--bg-3); text-decoration: none; }
.issue-row:hover .issue-title { color: var(--link); }
.issue-state { font-size: 15px; line-height: 22px; }
.issue-state.open { color: #3fb950; }
.issue-state.closed { color: #a371f7; }
.issue-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.issue-title { font-weight: 600; font-size: 15px; word-break: break-word; }
.issue-meta { width: 100%; font-size: 12px; }
.issue-comments { font-size: 12px; white-space: nowrap; }
.kind-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 2em; border: 1px solid; white-space: nowrap; }
.kind-bug { color: #f85149; border-color: rgba(248, 81, 73, .4); background: rgba(248, 81, 73, .1); }
.kind-help { color: #58a6ff; border-color: rgba(56, 139, 253, .4); background: rgba(56, 139, 253, .1); }
.kind-idea { color: #d29922; border-color: rgba(210, 153, 34, .4); background: rgba(210, 153, 34, .1); }
.kind-discussion { color: #a371f7; border-color: rgba(163, 113, 247, .4); background: rgba(163, 113, 247, .1); }
.chip.kind-chip { background: var(--bg-2); }

/* Yeni konu */
.kind-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.form .kind-option {
  position: relative; flex-direction: row; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--border);
  border-radius: var(--radius); cursor: pointer; font-weight: 400; background: var(--bg-2); transition: border-color .15s;
}
.kind-option input { position: absolute; opacity: 0; pointer-events: none; }
.kind-option small { display: block; font-size: 12px; }
.kind-option-icon { font-size: 24px; }
.kind-option:hover { border-color: #58a6ff88; }
.kind-option:has(input:checked) { border-color: var(--link); background: rgba(56, 139, 253, .1); box-shadow: 0 0 0 1px var(--link); }
.kind-option:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: 2px; }

/* Konu sayfası */
.issue-header { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.issue-h1 { font-size: 26px; font-weight: 400; margin-bottom: 8px; word-break: break-word; }
.issue-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.state-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 2em; color: #fff; font-weight: 600; font-size: 13px; }
.state-pill.open { background: #238636; }
.state-pill.closed { background: #8957e5; }
.issue-layout { display: grid; grid-template-columns: 1fr 260px; gap: 24px; align-items: start; }
.issue-thread { display: flex; flex-direction: column; gap: 16px; position: relative; min-width: 0; }
.issue-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 76px; }
.issue-side h3 { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.side-form { margin-top: 10px; }
.participants { display: flex; flex-wrap: wrap; gap: 6px; }
.participants .avatar { width: 28px; height: 28px; font-size: 13px; }

/* Yorumlar */
.comment { display: flex; gap: 12px; align-items: flex-start; }
.comment-avatar .avatar { width: 36px; height: 36px; font-size: 15px; }
.comment-card { flex: 1; min-width: 0; }
.comment-head {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 8px 14px; background: var(--bg-3); border-bottom: 1px solid var(--border); font-size: 13px;
}
.comment-first .comment-head { background: rgba(56, 139, 253, .1); border-bottom-color: rgba(56, 139, 253, .3); }
.comment-first { border-color: rgba(56, 139, 253, .4); }
.comment-date { margin-left: 4px; }
.comment-actions { display: inline-flex; gap: 10px; align-items: center; }
.comment-body { padding: 14px 16px; font-size: 14px; }
.comment-edit { padding: 12px; }
.comment-form { flex: 1; min-width: 0; }
.comment-form-actions { justify-content: flex-end; }
.timeline-event { display: flex; align-items: center; gap: 10px; padding-left: 52px; font-size: 13px; }
.event-icon { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; flex-shrink: 0; }
.ev-closed { background: #8957e5; }
.ev-open { background: #238636; }
.release-comments { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.release-comments h2 { margin-bottom: 0; }

/* Markdown yorum kutusu */
.md-box { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.md-box-tabs { display: flex; align-items: center; gap: 4px; padding: 6px 8px 0; background: var(--bg-3); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.md-box-hint { margin-left: auto; font-size: 11px; padding-bottom: 6px; }
.md-box textarea { border: 0; border-radius: 0; resize: vertical; min-height: 100px; }
.md-box textarea:focus { box-shadow: none; }
.md-box-preview { min-height: 100px; padding: 14px 16px; }
.md-box-preview[hidden], .md-box textarea[hidden], .comment-edit[hidden], .comment-body[hidden], .issue-body[hidden] { display: none !important; }

/* İndirilebilir dosyalar */
.assets-section { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.asset-groups { display: flex; flex-direction: column; gap: 12px; }
.asset-group { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.asset-group-head { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--bg-3); border-bottom: 1px solid var(--border); }
.platform-icon { font-size: 18px; }
.asset-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.asset-row:last-child { border-bottom: 0; }
.asset-row.is-recommended { background: rgba(46, 160, 67, .08); box-shadow: inset 3px 0 0 #3fb950; }
.asset-name { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-weight: 600; }
.asset-title { word-break: break-all; }
.asset-file-icon { color: #3fb950; }
.asset-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; flex-wrap: wrap; }
.source-download { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; }
.asset-upload { padding: 14px; }
.release-assets-mini { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.asset-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 12px; color: var(--text); background: var(--bg); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.asset-chip:hover { border-color: #3fb95088; text-decoration: none; }

/* İndirme merkezi */
.download-hero {
  padding: 20px; margin-bottom: 16px;
  background: url(/mountains.svg) bottom / 100% 90px no-repeat, linear-gradient(120deg, rgba(46, 160, 67, .12), rgba(31, 111, 235, .08)), var(--bg-2);
}
.download-hero-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.download-hero h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0; font-size: 20px; }
.download-main { gap: 12px; padding: 10px 20px; text-align: left; }
.download-main small { display: block; font-size: 12px; font-weight: 400; opacity: .85; }
.download-main-icon { font-size: 26px; }
.platform-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 18px; }
.platform-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px; border: 1px solid var(--border);
  border-radius: 10px; background: rgba(13, 17, 23, .6); color: var(--text); transition: border-color .15s, transform .15s;
}
.platform-card:hover { border-color: #58a6ff88; transform: translateY(-2px); text-decoration: none; }
.platform-card.is-mine { border-color: #3fb950; box-shadow: 0 0 0 1px #3fb950; }
.platform-card-icon { font-size: 30px; }
.platform-card .muted { font-size: 12px; }
#platform-windows, #platform-macos, #platform-linux, #platform-android, #platform-ios, #platform-other { margin-bottom: 12px; scroll-margin-top: 80px; }
.older-release { border-bottom: 1px solid var(--border); }
.older-release:last-child { border-bottom: 0; }
.older-release summary { display: flex; align-items: center; gap: 10px; padding: 12px 16px; cursor: pointer; flex-wrap: wrap; }
.older-title { flex: 1; font-weight: 600; }
.older-body { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 10px; }

@media (max-width: 860px) {
  .issue-layout { grid-template-columns: 1fr; }
  .issue-side { position: static; order: -1; flex-direction: row; flex-wrap: wrap; }
  .issue-side > * { flex: 1 1 140px; }
}
@media (max-width: 720px) {
  .issue-h1 { font-size: 21px; }
  .issue-row { padding: 12px; }
  .comment { gap: 8px; }
  .comment-avatar { display: none; }
  .timeline-event { padding-left: 4px; }
  .md-box-hint { display: none; }
  .comment-form-actions .btn { flex: 1; justify-content: center; }
  .hide-sm { display: none; }
  .download-main { width: 100%; justify-content: center; }
  .platform-cards { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .asset-row { padding: 12px; }
  .asset-meta { width: 100%; }
}

/* =========================================================
   Admin paneli: kenar menü + pencereler
   ========================================================= */
.admin-shell { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.admin-side { position: sticky; top: 76px; }
.admin-brand { display: flex; align-items: center; gap: 8px; padding: 4px 10px 14px; font-size: 15px; }
.admin-brand img { width: 26px; height: 26px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius); color: var(--text);
  border: 1px solid transparent; font-weight: 500;
}
.admin-nav a span { width: 20px; text-align: center; }
.admin-nav a:hover { background: var(--bg-3); text-decoration: none; }
.admin-nav a.active { background: var(--bg-2); border-color: var(--border); box-shadow: inset 3px 0 0 #f78166; }
.nav-badge { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; padding: 0 7px; border-radius: 9px; line-height: 18px; }
.nav-badge.warn { background: var(--yellow); color: #0d1117; }
.nav-badge.danger { background: var(--red); color: #fff; }
.admin-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.admin-title h1 { font-size: 24px; }

/* Pencere */
.window { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.window-bar {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: linear-gradient(#21262d, #1b2027);
  border-bottom: 1px solid var(--border); min-height: 44px; flex-wrap: wrap;
}
.window-bar h3 { margin: 0; font-size: 14px; font-weight: 600; flex: 1; min-width: 120px; }
.window-bar > span:not(.dots) { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #3d444d; display: block; }
.window:hover .dots i:nth-child(1) { background: #ff5f57; }
.window:hover .dots i:nth-child(2) { background: #febc2e; }
.window:hover .dots i:nth-child(3) { background: #28c840; }
.window-body { padding: 14px 16px; flex: 1; }
.window-body.flush { padding: 0; }
.window-link { font-size: 12px; }
.window-search { display: flex; gap: 6px; margin-left: auto; }
.window-search input, .window-search select { padding: 5px 10px; font-size: 13px; width: auto; min-width: 200px; }
.window-search.filters select { min-width: 150px; }
.window-subbar { padding: 6px 16px; font-size: 12px; border-bottom: 1px solid var(--border); }
.window-tabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid var(--border); overflow-x: auto; }
.window-tabs a { padding: 9px 12px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; font-size: 13px; }
.window-tabs a.active { color: var(--text); border-bottom-color: #f78166; font-weight: 600; }
.window-tabs a:hover { color: var(--text); text-decoration: none; }
.window-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.window-wide { grid-column: 1 / -1; }
.scroll-y { max-height: 320px; overflow-y: auto; }
.scroll-y.tall { max-height: 560px; }

/* İstatistik pencereleri */
.stat-windows { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.stat-window { color: var(--text); transition: transform .15s, border-color .15s; }
a.stat-window:hover { transform: translateY(-2px); border-color: #58a6ff66; text-decoration: none; }
.stat-window .window-bar { min-height: 34px; padding: 6px 12px; }
.stat-window .window-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; }
.big-num { font-size: 30px; line-height: 1.1; }
.stat-window .muted { font-size: 12px; }
.stat-window.is-warn { border-color: rgba(210, 153, 34, .55); }
.stat-window.is-warn .big-num { color: var(--yellow); }
.stat-window.is-danger { border-color: rgba(248, 81, 73, .6); }
.stat-window.is-danger .big-num { color: #f85149; }

/* Olay satırları */
.event-row { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.event-row:last-child { border-bottom: 0; }
.event-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.event-main .muted { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-time { font-size: 12px; white-space: nowrap; }
.sev-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: #6e7681; }
.sev-warning .sev-dot { background: var(--yellow); }
.sev-danger .sev-dot { background: #f85149; box-shadow: 0 0 0 3px rgba(248, 81, 73, .2); }
.sev-pill { font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 2em; text-transform: uppercase; letter-spacing: .03em; }
.sev-pill.sev-danger { background: rgba(248, 81, 73, .18); color: #f85149; }
.sev-pill.sev-warning { background: rgba(210, 153, 34, .18); color: var(--yellow); }
.sev-pill.sev-info { background: var(--bg-3); color: var(--muted); }
.sev-row-danger { background: rgba(248, 81, 73, .05); }
.nowrap { white-space: nowrap; }
.badge-danger { border-color: rgba(248, 81, 73, .6); color: #f85149; }

/* Sistem durumu */
.status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.status-item { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.status-item div { display: flex; flex-direction: column; min-width: 0; }
.status-item .muted { font-size: 12px; overflow-wrap: anywhere; }
.status-icon { font-size: 18px; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.status-item.ok .status-icon { background: rgba(46, 160, 67, .15); color: #3fb950; }
.status-item.bad .status-icon { background: rgba(248, 81, 73, .15); color: #f85149; }
.status-item.warn .status-icon { background: rgba(210, 153, 34, .15); color: var(--yellow); }
.status-item.bad { border-color: rgba(248, 81, 73, .4); }
.status-item.warn { border-color: rgba(210, 153, 34, .4); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 14px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.rules { display: flex; flex-direction: column; gap: 12px; font-size: 13px; }
.rules > div { display: flex; flex-direction: column; gap: 2px; }
.rule-warn { padding: 10px 12px; border: 1px solid rgba(210, 153, 34, .45); border-radius: var(--radius); background: rgba(210, 153, 34, .08); }
.restore-steps { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.restore-steps pre { margin: 6px 0 0; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 12px; overflow-x: auto; }
kbd { background: var(--bg-3); border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; font-family: var(--mono); font-size: 12px; }
.block-form { display: flex; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.block-form input { flex: 1; min-width: 160px; padding: 5px 10px; font-size: 13px; }
.block-form select { width: auto; padding: 5px 8px; font-size: 13px; }
.storage-row { margin-bottom: 12px; font-size: 13px; }

/* Satır işlemleri menüsü */
.action-menu { position: relative; display: inline-block; }
.action-menu summary { list-style: none; cursor: pointer; }
.action-menu summary::-webkit-details-marker { display: none; }
.action-menu-list {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 5; min-width: 200px; background: var(--bg-2);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); padding: 4px;
  display: flex; flex-direction: column;
}
.action-menu-list form { margin: 0; }
.action-menu-list button { width: 100%; text-align: left; padding: 8px 10px; border-radius: 4px; font-size: 13px; color: var(--text); }
.action-menu-list button:hover { background: var(--bg-3); text-decoration: none; }

/* Grafik */
.chart { margin: 0; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-grid { stroke: #262c34; stroke-width: 1; }
.chart-base { stroke: #3d444d; stroke-width: 1; }
.chart-tick { fill: var(--muted); font-size: 10px; font-family: inherit; }
.chart-value { fill: var(--text); font-size: 11px; font-weight: 600; font-family: inherit; }
.chart-hit { fill: transparent; }
.chart-col:hover .chart-hit { fill: rgba(139, 148, 158, .08); }
.chart-col:hover .chart-bar { filter: brightness(1.2); }
.chart-caption { font-size: 12px; margin-top: 4px; }
.chart-table { margin-top: 6px; font-size: 12px; }
.chart-table summary { cursor: pointer; }
.chart-table .table { margin-top: 6px; }
.chart-table td, .chart-table th { padding: 4px 10px; }
.chart-tooltip {
  position: absolute; z-index: 50; pointer-events: none; background: #0d1117; color: var(--text); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 6px; font-size: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, .4); white-space: nowrap;
}
.chart-tooltip[hidden] { display: none; }

/* Giriş kilidi kutusu */
.lock-box { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; border-color: rgba(248, 81, 73, .5); background: rgba(248, 81, 73, .07); }
.lock-box.unlocked { border-color: rgba(46, 160, 67, .5); background: rgba(46, 160, 67, .07); }
.lock-icon { font-size: 30px; }
.lock-timer { font-family: var(--mono); color: var(--text); }
.login-form button:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; gap: 12px; }
  .admin-side { position: static; }
  .admin-brand { display: none; }
  .admin-nav { flex-direction: row; overflow-x: auto; gap: 4px; margin: 0 -12px; padding: 0 12px 4px; -webkit-overflow-scrolling: touch; }
  .admin-nav a { white-space: nowrap; padding: 8px 12px; border-color: var(--border); background: var(--bg-2); }
  .admin-nav a.active { box-shadow: inset 0 -2px 0 #f78166; }
  .window-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .window-search { margin-left: 0; width: 100%; }
  .window-search input, .window-search select { min-width: 0; flex: 1; width: 100%; }
  .stat-windows { grid-template-columns: 1fr 1fr; gap: 10px; }
  .big-num { font-size: 24px; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 8px; }
  .event-row { padding: 10px 12px; flex-wrap: wrap; }
  .event-time { width: 100%; padding-left: 19px; }
  .action-menu-list { right: auto; left: 0; }
}
.stat-window .window-bar { flex-wrap: nowrap; }
.stat-window .window-bar > span:not(.dots) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.chart-tick { font-size: 13px; }
.chart-value { font-size: 14px; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side, .admin-main, .admin-nav { min-width: 0; max-width: 100%; }
}
.window-grid > *, .stat-windows > * { min-width: 0; }

/* Admin kullanıcı sayfası ve paylaşım */
.menu-link { display: block; padding: 8px 10px; border-radius: 4px; font-size: 13px; color: var(--text); }
.menu-link:hover { background: var(--bg-3); text-decoration: none; }
.user-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.user-head-info { flex: 1; min-width: 200px; display: flex; flex-direction: column; gap: 4px; }
.user-head-info .muted { overflow-wrap: anywhere; }
a.event-row { color: var(--text); }
a.event-row:hover { background: var(--bg-3); text-decoration: none; }
.badge-shared { border-color: rgba(56, 139, 253, .5); color: #58a6ff; }
a.badge-shared:hover { background: rgba(56, 139, 253, .12); text-decoration: none; }
.shared-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
  border-color: rgba(56, 139, 253, .45); background: rgba(56, 139, 253, .07); font-size: 14px; padding: 10px 14px; }
.share-card h3 { margin-bottom: 6px; }
.share-intro { margin: 0 0 12px; font-size: 13px; }
.share-add { display: flex; gap: 8px; flex-wrap: wrap; }
.share-add input { flex: 1; min-width: 200px; }
.share-add select { width: auto; }
.role-help { display: flex; flex-direction: column; gap: 4px; font-size: 12px; margin: 10px 0 14px; }
.share-list { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.share-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.share-row:last-child { border-bottom: 0; }
.share-row .avatar { width: 28px; height: 28px; font-size: 13px; }
.share-name { flex: 1; min-width: 120px; display: flex; flex-direction: column; font-size: 13px; }
.share-name .muted { font-size: 11px; }
.share-role select { width: auto; padding: 4px 8px; font-size: 13px; }
.owner-row { background: var(--bg-3); }
.empty-share { justify-content: center; font-size: 13px; }
.share-link { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; }
.share-options { display: none; flex-direction: column; gap: 8px; padding-left: 26px; }
.share-options select { width: auto; }
form:has(input[name=visibility][value=private]:checked) .share-options { display: flex; }
@media (max-width: 720px) {
  .share-options { padding-left: 0; }
  .share-add .btn, .share-add select { flex: 1; }
}
