/* =========================================================
   Sözlük arayüzü v2 — tasarım sistemi
   Quicksand · Lucide ikonlar · açık / koyu tema
   ========================================================= */

:root {
  --bg: #F8F9FB;
  --card: #FFFFFF;
  --soft: #F2F4F8;
  --soft-2: #EBEEF4;
  --line: #E7EAF0;
  --line-2: #D9DEE7;
  --text: #252936;
  --text-2: #3D4354;
  --muted: #788091;
  --brand: #202B45;
  --brand-ink: #FFFFFF;
  --brand-soft: #EDF0F7;
  --accent: #2FA84F;
  --accent-ink: #FFFFFF;
  --accent-soft: #E6F6EA;
  --accent-text: #1F7F3A;
  --green: #2FA84F;
  --green-hover: #27923F;
  --green-ink: #FFFFFF;
  --green-soft: #E6F6EA;
  --up: #2FA84F;
  --down: #E5484D;
  --down-soft: #FDECEC;
  --warn: #D9901A;
  --warn-soft: #FDF4E3;
  --fav: #E0A100;
  --r-sm: 8px;
  --r: 10px;
  --r-lg: 12px;
  --r-xl: 16px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .04);
  --sh-2: 0 4px 14px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .05);
  --sh-pop: 0 14px 40px rgba(16, 24, 40, .14), 0 2px 6px rgba(16, 24, 40, .06);
  --top-h: 60px;
  --font: "Quicksand", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
html.dark {
  --bg: #0D1118;
  --card: #141922;
  --soft: #1A202B;
  --soft-2: #212835;
  --line: #242B38;
  --line-2: #2F3747;
  --text: #E4E7EE;
  --text-2: #C3C8D4;
  --muted: #8790A2;
  --brand: #E6EAF3;
  --brand-ink: #111622;
  --brand-soft: #1F2636;
  --accent: #3CC264;
  --accent-ink: #06210F;
  --accent-soft: #122B1A;
  --accent-text: #6BD88A;
  --green: #36B45A;
  --green-hover: #42C567;
  --green-ink: #FFFFFF;
  --green-soft: #122B1A;
  --up: #3CC264;
  --down: #F0676B;
  --down-soft: #3A1A1D;
  --warn: #E9AE46;
  --warn-soft: #33270F;
  --sh-1: 0 1px 2px rgba(0, 0, 0, .3);
  --sh-2: 0 6px 18px rgba(0, 0, 0, .35);
  --sh-pop: 0 16px 44px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- temel ---------- */
body.ui2 {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.55;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased;
}
:where(body.ui2) a { color: inherit; text-decoration: none; }
:where(body.ui2) button { font: inherit; color: inherit; }
body.ui2 :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
body.ui2 ::selection { background: var(--accent-soft); color: var(--text); }
:where(body.ui2) :is(h1, h2, h3, h4) { margin: 0; color: var(--text); letter-spacing: -.012em; line-height: 1.3; }
:where(body.ui2) p { margin: 0; }
body.ui2 hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.ic { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: -3px; }

/* ---------- düğmeler ---------- */
.u-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 15px; border-radius: var(--r); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.u-btn .ic { width: 17px; height: 17px; }
.u-btn-primary { background: var(--green); color: var(--green-ink) !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .08), inset 0 1px 0 rgba(255, 255, 255, .18); }
.u-btn-primary:hover { background: var(--green-hover); }
.u-btn-primary:active { transform: translateY(1px); }
.u-btn-accent { background: var(--accent); color: var(--accent-ink) !important; }
.u-btn-accent:hover { filter: brightness(1.05); }
.u-btn-ghost { background: var(--card); border-color: var(--line); color: var(--text) !important; }
.u-btn-ghost:hover { background: var(--soft); border-color: var(--line-2); }
.u-btn-soft { background: var(--soft); color: var(--text-2) !important; }
.u-btn-soft:hover { background: var(--soft-2); }
.u-btn-sm { height: 32px; padding: 0 11px; font-size: 13px; border-radius: var(--r-sm); }
.u-btn-block { width: 100%; }
.u-ib {
  position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--r); border: 0; background: transparent; color: var(--text-2); cursor: pointer;
  transition: background .15s, color .15s;
}
.u-ib:hover { background: var(--soft); color: var(--text); }
.u-ib .ic { width: 19px; height: 19px; }

/* ---------- üst çubuk ---------- */
.u-top {
  position: sticky; top: 0; z-index: 60; height: var(--top-h);
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
}
.u-top-in {
  max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 16px;
}
.u-brand { display: flex; align-items: center; flex: none; min-width: 0; font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--text); }
.u-brand img { max-height: 30px; width: auto; display: block; }
.u-brand svg { height: 30px; width: auto; display: block; }
.u-brand .brand-text { display: flex; align-items: center; }
.u-left-col-w { width: 232px; }
.u-top .u-brand { width: 232px; }
.u-search { position: relative; flex: 1; max-width: 560px; }
.u-search input {
  width: 100%; height: 40px; padding: 0 44px 0 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--soft); color: var(--text);
  font: 14px var(--font); outline: none; transition: border-color .15s, background .15s, box-shadow .15s;
}
.u-search input::placeholder { color: var(--muted); }
.u-search input:focus { background: var(--card); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.u-search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 17px; height: 17px; pointer-events: none; }
.u-search kbd {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  font: 600 11px var(--font); color: var(--muted); background: var(--card);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px;
}
.u-search-pop {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 70; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-pop);
  max-height: 420px; overflow: auto;
}
.u-search-pop a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; }
.u-search-pop a:hover { background: var(--soft); }
.u-search-pop a.sp-create { background: var(--accent-soft); color: var(--accent-text); }
.u-top-act { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.u-top-act .u-btn { margin-left: 6px; }
.u-me {
  display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 6px 0 3px; margin-left: 6px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card); cursor: pointer; color: var(--muted);
}
.u-me:hover { border-color: var(--line-2); }
.u-me .ic { width: 15px; height: 15px; }

/* rozet sayacı (bildirim / mesaj) */
.pip, .u-pip {
  position: absolute; top: 3px; right: 2px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 999px; background: var(--down); color: #fff; font: 700 10px/17px var(--font);
  text-align: center; border: 2px solid var(--card); box-sizing: content-box;
}

/* üst çubuktaki eski ikon düğmeleri (ortak açılır pencereler) */
body.ui2 .icon-sq {
  position: relative; display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: var(--r); border: 0; background: transparent; color: var(--text-2); cursor: pointer;
}
body.ui2 .icon-sq:hover { background: var(--soft); color: var(--text); }
body.ui2 .icon-sq .ic { width: 19px; height: 19px; }

/* açılır pencereler */
body.ui2 .pop {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 80; width: 360px; max-width: calc(100vw - 24px);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-pop);
}
body.ui2 .pop.hidden { display: none; }
body.ui2 .pop-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--line); }
body.ui2 .pop-head h3 { font-size: 14px; font-weight: 700; }
body.ui2 .pop-head a { font-size: 12.5px; font-weight: 600; color: var(--accent-text); }
body.ui2 .pop-empty { padding: 30px 16px; text-align: center; color: var(--muted); font-size: 13.5px; display: grid; gap: 8px; justify-items: center; }
body.ui2 .pop-empty i { font-size: 22px; opacity: .6; }
body.ui2 .pop-foot { display: flex; justify-content: space-between; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; }
body.ui2 .pop-foot a { color: var(--accent-text); }
body.ui2 .notif-item { display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; border-bottom: 1px solid var(--line); position: relative; }
body.ui2 .notif-item:last-child { border-bottom: 0; }
body.ui2 .notif-item:hover { background: var(--soft); }
body.ui2 .notif-item.is-unread { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
body.ui2 .notif-item img, body.ui2 .notif-item .n-ph { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
body.ui2 .notif-item .n-ph { display: grid; place-items: center; background: var(--brand-soft); color: var(--text-2); font-weight: 700; font-size: 13px; }
body.ui2 .n-text { font-size: 13.5px; line-height: 1.45; color: var(--text-2); }
body.ui2 .n-text b { color: var(--text); font-weight: 650; }
body.ui2 .n-preview { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ui2 .n-topic { font-size: 12.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.ui2 .n-topic i { display: none; }
body.ui2 .n-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }
body.ui2 .n-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 6px; }
body.ui2 .n-count { flex: none; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 700 11px/20px var(--font); text-align: center; }

/* kullanıcı menüsü */
body.ui2 .u-menu { width: 240px; padding: 6px; }
.u-menu-me { display: flex; gap: 10px; align-items: center; padding: 8px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.u-menu-me b { display: block; font-size: 14px; }
.u-menu-me span { font-size: 12px; color: var(--muted); }
body.ui2 .u-menu > a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); }
body.ui2 .u-menu > a:hover { background: var(--soft); color: var(--text); }
body.ui2 .u-menu > a .ic { width: 17px; height: 17px; color: var(--muted); }
body.ui2 .u-menu > a.is-danger { color: var(--down); }
body.ui2 .u-menu > a.is-danger .ic { color: var(--down); }

/* ---------- avatar ---------- */
.u-av {
  --av: #788091; flex: none; display: inline-grid; place-items: center; overflow: hidden;
  border-radius: 50%; background: var(--av); color: #fff; font-weight: 700; line-height: 1;
}
.u-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.u-av-xs { width: 22px; height: 22px; font-size: 10px; }
.u-av-sm { width: 32px; height: 32px; font-size: 13px; }
.u-av-md { width: 40px; height: 40px; font-size: 15px; }
.u-av-lg { width: 56px; height: 56px; font-size: 20px; }
.u-av-xl { width: 96px; height: 96px; font-size: 34px; }

/* ---------- 3 sütun düzen ---------- */
.u-wrap {
  max-width: 1320px; margin: 0 auto; padding: 24px; width: 100%; box-sizing: border-box;
  display: grid; grid-template-columns: 232px minmax(0, 1fr) 320px; gap: 24px; align-items: start; flex: 1;
}
.u-wrap.no-rail { grid-template-columns: 232px minmax(0, 1fr); }
.u-main { min-width: 0; display: grid; gap: 20px; align-content: start; }
.u-left { position: sticky; top: calc(var(--top-h) + 24px); max-height: calc(100vh - var(--top-h) - 32px); overflow: auto; scrollbar-width: none; }
.u-left::-webkit-scrollbar { display: none; }

/* sol menü */
.u-nav { display: grid; gap: 2px; }
.u-nav a {
  display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: var(--r);
  font-size: 14.5px; font-weight: 500; color: var(--text-2); position: relative;
  transition: background .15s, color .15s;
}
.u-nav a .ic { color: var(--muted); width: 19px; height: 19px; transition: color .15s; }
.u-nav a:hover { background: var(--card); color: var(--text); box-shadow: var(--sh-1); }
.u-nav a.is-on { background: var(--card); color: var(--text); font-weight: 650; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); }
.u-nav a.is-on .ic { color: var(--accent); }
.u-nav a.is-on::before { content: ""; position: absolute; left: -1px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--accent); }
.u-nav-sec { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 12px 0; }
.u-nav-cats a { height: 34px; font-size: 13.5px; }
.u-nav-cats a span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-nav-cats a em { font-style: normal; font-size: 12px; color: var(--muted); }
.u-dot { --c: var(--accent); width: 8px; height: 8px; border-radius: 3px; background: var(--c); flex: none; margin: 0 5px; }

.u-left-foot { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 4px 12px 12px; font-size: 12px; color: var(--muted); }
.u-left-foot a:hover { color: var(--text); }
.u-left-foot span { width: 100%; margin-top: 4px; }

/* ---------- kart ---------- */
.u-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.u-card-pad { padding: 18px 20px; }
.u-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; }
.u-sec-h h2 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.u-sec-h h2 .ic { color: var(--accent); }
.u-sec-h a.u-more { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.u-sec-h a.u-more:hover { color: var(--accent-text); }
.u-sec-h a.u-more .ic { width: 15px; height: 15px; }
.u-empty { padding: 18px 20px; color: var(--muted); font-size: 14px; }

/* sağ sütun bileşenleri */
.u-w { padding: 4px 0 8px; }

.u-w-note { font-size: 12px; color: var(--muted); }
.u-w .u-empty { padding: 6px 16px 10px; font-size: 13px; }

.u-cnt {
  flex: none; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--soft);
  color: var(--text-2); font: 600 11.5px/22px var(--font); text-align: center; font-variant-numeric: tabular-nums;
}

.u-people { list-style: none; margin: 0; padding: 0 8px; }
.u-people a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--r-sm); }
.u-people a:hover { background: var(--soft); }
.u-people-n { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.u-people-n b { font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-people-n em { font-style: normal; font-size: 12px; color: var(--muted); }

.u-av-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 16px 8px; }
.u-av-row a { border-radius: 50%; box-shadow: 0 0 0 2px var(--card); transition: transform .15s; }
.u-av-row a:hover { transform: translateY(-2px); }

/* rol rozetleri */
.u-role { flex: none; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 650; letter-spacing: .01em; }
.u-role.is-rookie { background: var(--warn-soft); color: var(--warn); }
.u-role.is-mod { background: var(--accent-soft); color: var(--accent-text); }
.u-role.is-admin { background: var(--brand-soft); color: var(--text); }

/* etiket / çip */
.u-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--soft); color: var(--text-2); font-size: 12.5px; font-weight: 550; white-space: nowrap;
}
a.u-chip:hover { background: var(--soft-2); color: var(--text); }
.u-chip .ic { width: 14px; height: 14px; }
.u-chip.is-accent { background: var(--accent-soft); color: var(--accent-text); }
.u-chip .u-dot { margin: 0; width: 7px; height: 7px; }

/* sekmeler */
.u-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r); background: var(--soft); }
.u-tabs a, .u-tabs button {
  height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.u-tabs a:hover, .u-tabs button:hover { color: var(--text); }
.u-tabs .is-on { background: var(--card); color: var(--text); box-shadow: var(--sh-1); }

/* ---------- anasayfa ---------- */

/* gündem ızgarası */

/* başlık satırı listesi */
.u-tlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.u-tlist li { border-bottom: 1px solid var(--line); }
.u-tlist li:last-child { border-bottom: 0; }
.u-trow { display: flex; align-items: center; gap: 14px; padding: 12px 20px; }
.u-trow:hover { background: var(--soft); }
.u-trow-tx { flex: 1; min-width: 0; display: grid; gap: 3px; }
.u-trow-tx b { font-size: 14.5px; font-weight: 600; color: var(--text); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.u-trow-m { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.u-trow-m > span { display: inline-flex; align-items: center; gap: 4px; }
.u-trow-m .ic { width: 13px; height: 13px; }
.u-trow .u-cnt { min-width: 34px; height: 26px; line-height: 26px; font-size: 12.5px; }

/* ---------- entry kartı ---------- */
.u-entries { display: grid; gap: 12px; }
.u-entry { padding: 16px 20px 12px; display: grid; gap: 12px; }
.u-entry-topic { font-size: 15.5px; font-weight: 700; color: var(--text); line-height: 1.35; }
.u-entry-topic:hover { color: var(--accent-text); }
.u-entry-body { font-size: 15px; line-height: 1.7; color: var(--text); word-wrap: break-word; overflow-wrap: anywhere; }
.u-entry-body p { margin: 0 0 .7em; }
.u-entry-body p:last-child { margin-bottom: 0; }
.u-entry-body a { color: var(--accent-text); font-weight: 500; }
.u-entry-body a:hover { text-decoration: underline; }
.u-entry-body blockquote { margin: .6em 0; padding: 8px 14px; border-left: 3px solid var(--line-2); background: var(--soft); border-radius: 0 8px 8px 0; color: var(--text-2); }
.u-entry-body img { max-width: 100%; height: auto; border-radius: 8px; }
.u-entry-body.is-clamp { max-height: 12.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.u-entry-f { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line); }
.u-entry-act { display: flex; align-items: center; gap: 2px; }
.u-act {
  display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px; border: 0; border-radius: 8px;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 12.5px; font-weight: 600;
  transition: background .15s, color .15s;
}
.u-act .ic { width: 16px; height: 16px; }
.u-act:hover { background: var(--soft); color: var(--text); }
.u-act.is-up.is-on, .u-act.is-up:hover { color: var(--up); }
.u-act.is-up.is-on { background: var(--accent-soft); }
.u-act.is-down.is-on, .u-act.is-down:hover { color: var(--down); }
.u-act.is-down.is-on { background: var(--down-soft); }
.u-act.is-fav.is-on { color: var(--fav); }
.u-act.is-fav.is-on .ic { fill: currentColor; }
.u-entry-by { margin-left: auto; display: flex; align-items: center; gap: 9px; min-width: 0; }
.u-entry-by-tx { display: grid; text-align: right; line-height: 1.3; min-width: 0; }
.u-entry-by-tx a.u-name { font-size: 13.5px; font-weight: 650; color: var(--text); }
.u-entry-by-tx a.u-name:hover { color: var(--accent-text); }
.u-entry-by-tx span { font-size: 12px; color: var(--muted); white-space: nowrap; }
.u-entry-by-tx span a:hover { color: var(--text); }
.u-entry-id { font-variant-numeric: tabular-nums; }

/* sayfalama */
.u-pager { display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; }
.u-pager a, .u-pager span {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--r-sm); display: inline-grid; place-items: center;
  font-size: 13.5px; font-weight: 600; color: var(--text-2); background: var(--card); border: 1px solid var(--line);
}
.u-pager a:hover { border-color: var(--line-2); color: var(--text); }
.u-pager .is-on { background: var(--green); color: var(--green-ink); border-color: var(--green); }
.u-pager .is-gap { border: 0; background: transparent; min-width: 18px; }

/* ---------- alt bilgi ---------- */
.u-foot { border-top: 1px solid var(--line); background: var(--card); margin-top: 8px; }
.u-foot-in {
  max-width: 1320px; margin: 0 auto; padding: 16px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  font-size: 12.5px; color: var(--muted);
}
.u-foot-in nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.u-foot-in a:hover { color: var(--text); }

/* ---------- mobil çekmece ---------- */
.u-ovl { position: fixed; inset: 0; z-index: 90; background: rgba(13, 17, 24, .45); backdrop-filter: blur(2px); }
.u-ovl.hidden { display: none; }
.u-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 95; width: min(300px, 86vw); overflow: auto;
  background: var(--bg); border-right: 1px solid var(--line); padding: 12px 12px 90px; display: grid; gap: 14px; align-content: start;
  transform: translateX(-102%); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.u-drawer.active { transform: none; box-shadow: var(--sh-pop); }
.u-drawer-h { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 6px; }

/* ---------- mobil alt menü ---------- */
.u-bnav { display: none; }

/* ---------- flash / toast ---------- */
body.ui2 #flash-message {
  position: fixed; top: calc(var(--top-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 120;
  display: flex; align-items: center; gap: 10px; max-width: min(560px, calc(100vw - 24px));
  padding: 11px 12px 11px 16px; border-radius: var(--r-lg); background: var(--card); color: var(--text);
  border: 1px solid var(--line); box-shadow: var(--sh-pop); font-size: 14px; font-weight: 500;
}
body.ui2 #flash-message .fl-ic { font-size: 17px; }
body.ui2 #flash-message.flash-success .fl-ic { color: var(--up); }
body.ui2 #flash-message.flash-error .fl-ic { color: var(--down); }
body.ui2 #flash-message.flash-info .fl-ic { color: var(--accent); }
body.ui2 #flash-message button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 4px 6px; }
body.ui2 .toast-notification, body.ui2 .toast {
  border-radius: var(--r-lg) !important; font-family: var(--font) !important; box-shadow: var(--sh-pop) !important;
}
body.ui2 #back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--text-2); box-shadow: var(--sh-2); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s;
}
body.ui2 #back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }
body.ui2 .ad-slot { display: grid; place-items: center; }
body.ui2 .u-ad { background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 10px; }

/* ---------- görünürlük yardımcıları ---------- */
.u-only-sm, .u-only-xs { display: none !important; }

/* ---------- duyarlı ---------- */
@media (max-width: 1240px) {
  .u-wrap { grid-template-columns: 210px minmax(0, 1fr) 290px; gap: 20px; }
  .u-wrap.no-rail { grid-template-columns: 210px minmax(0, 1fr); }
  .u-top .u-brand { width: 210px; }
}
@media (max-width: 1080px) {
  .u-wrap { grid-template-columns: 200px minmax(0, 1fr); }

  .u-top .u-brand { width: auto; }
}
@media (max-width: 860px) {
  :root { --top-h: 56px; }
  .u-only-sm { display: inline-grid !important; }
  .u-hide-sm { display: none !important; }
  .u-top-in { padding: 0 10px 0 6px; gap: 6px; }
  .u-search { max-width: none; }
  .u-wrap, .u-wrap.no-rail { grid-template-columns: minmax(0, 1fr); padding: 14px 12px 96px; gap: 14px; }
  .u-left { display: none; }

  .u-main { gap: 14px; }
  .u-foot { display: none; }
  .u-bnav {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: 64px; padding: 0 6px env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--card) 94%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .u-bnav a { position: relative; display: grid; justify-items: center; gap: 3px; font-size: 10.5px; font-weight: 600; color: var(--muted); padding: 6px 0; }
  .u-bnav a .ic { width: 21px; height: 21px; }
  .u-bnav a.is-on { color: var(--text); }
  .u-bnav a.is-on .ic { color: var(--accent); }
  .u-bnav a .u-av { width: 22px; height: 22px; }
  .u-bnav .u-pip { top: 1px; right: calc(50% - 22px); }
  .u-bnav a.u-bnav-write {
    justify-self: center; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; padding: 0;
    background: var(--green); color: var(--green-ink); box-shadow: 0 4px 14px color-mix(in srgb, var(--green) 40%, transparent);
  }
  .u-bnav a.u-bnav-write .ic { width: 22px; height: 22px; color: inherit; }
  body.ui2 #back-to-top { bottom: 80px; right: 14px; }

  .u-sec-h, .u-trow { padding-left: 16px; padding-right: 16px; }
  .u-entry { padding: 14px 16px 10px; }
  body.ui2 .pop { position: fixed; left: 8px; right: 8px; top: calc(var(--top-h) + 6px); width: auto; }
}
@media (max-width: 560px) {
  .u-only-xs { display: inline-grid !important; }
  .u-hide-xs { display: none !important; }
  .u-search { display: none; }
  .u-top .u-brand img { max-height: 26px; } .u-top .u-brand svg { height: 26px; }
  .u-entry-by-tx span .u-entry-id { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .u-drawer, .u-btn, .u-nav a { transition: none; }
}

/* ---------- ek: devamı bağlantısı, bildirim balonu ---------- */
.u-more-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--accent-text); margin-top: -4px; }
.u-more-link .ic { width: 14px; height: 14px; }
#u-toasts, body.ui2 #toastContainer {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 130;
  display: grid; gap: 8px; justify-items: center; pointer-events: none;
}
.u-toast, body.ui2 .toast-notification {
  display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--brand); color: var(--brand-ink); font: 600 13.5px var(--font); box-shadow: var(--sh-pop);
  opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; pointer-events: auto;
}
.u-toast.show, body.ui2 .toast-notification.show { opacity: 1; transform: none; }
.u-toast.is-err, body.ui2 .toast-notification.error { background: var(--down); color: #fff; }
body.ui2 .toast-notification .toast-icon { display: inline-flex; font-size: 13px; }
body.ui2 .toast-notification h4 { margin: 0; font: inherit; color: inherit; }
@media (max-width: 860px) { #u-toasts, body.ui2 #toastContainer { bottom: 84px; } }

/* =========================================================
   Başlık sayfası
   ========================================================= */
.u-topic { padding: 18px 22px 14px; display: grid; gap: 10px; }
.u-crumb { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--muted); }
.u-crumb a:hover { color: var(--text); }
.u-crumb .ic { width: 13px; height: 13px; }
.u-topic-h { font-size: 24px; font-weight: 750; letter-spacing: -.022em; line-height: 1.25; overflow-wrap: anywhere; }

.u-topic-desc { padding: 12px 14px; border-radius: var(--r); background: var(--soft); font-size: 14.5px; }
.u-topic-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 2px; }
.u-follow { background: var(--green); color: var(--green-ink) !important; margin-right: 4px; }
.u-follow:hover { filter: brightness(1.08); }
.u-follow.following { background: var(--accent-soft); color: var(--accent-text) !important; }

.u-pager-top { display: flex; justify-content: flex-end; }
.u-pager-top .u-pager { justify-content: flex-end; }

/* ⋯ açılır menü */
.u-dd { position: relative; }
.u-dd > summary { list-style: none; }
.u-dd > summary::-webkit-details-marker { display: none; }
.u-dd[open] > summary { background: var(--soft); color: var(--text); }
.u-dd-m {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 50; min-width: 210px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-pop);
  display: grid; gap: 1px;
}
.u-dd.up .u-dd-m { top: auto; bottom: calc(100% + 6px); }
.u-dd-m a, .u-dd-m button {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: 0; border-radius: var(--r-sm);
  background: transparent; text-align: left; font-size: 13.5px; font-weight: 500; color: var(--text-2); cursor: pointer;
}
.u-dd-m a:hover, .u-dd-m button:hover { background: var(--soft); color: var(--text); }
.u-dd-m .ic { width: 16px; height: 16px; color: var(--muted); }
.u-dd-m .is-danger, .u-dd-m .is-danger .ic { color: var(--down); }

/* entry yazar satırı rozetleri */
.u-name-row { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.u-role.is-best { background: var(--warn-soft); color: var(--warn); gap: 4px; }
.u-role .ic { width: 12px; height: 12px; }
.u-entry.is-best { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); box-shadow: 0 0 0 3px var(--warn-soft); }
.u-entry:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.u-entry { scroll-margin-top: calc(var(--top-h) + 16px); }

.u-empty-big { padding: 36px 20px; display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--muted); }
.u-empty-big .ic { width: 28px; height: 28px; color: var(--line-2); }
.u-empty-big b { color: var(--text); font-size: 15px; }
.u-empty-big p { font-size: 13.5px; }

/* entry yazma */
.u-compose { padding: 16px 20px 16px; display: grid; gap: 12px; scroll-margin-top: calc(var(--top-h) + 16px); }
.u-compose-h { display: flex; align-items: center; gap: 10px; }
.u-compose-h h2 { font-size: 15px; font-weight: 700; }
.u-compose-h > div span { font-size: 12.5px; color: var(--muted); }
.u-compose-h > div { display: grid; line-height: 1.3; min-width: 0; }
.u-compose-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.u-hint { font-size: 12px; color: var(--muted); }
kbd { font: 600 11px var(--font); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); background: var(--soft); color: var(--text-2); }

body.ui2 .entry-editor-container { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
body.ui2 .entry-editor-container:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
body.ui2 .ql-toolbar.ql-snow { border: 0 !important; border-bottom: 1px solid var(--line) !important; background: var(--soft); padding: 6px 8px !important; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; font-family: var(--font); }
body.ui2 .ql-toolbar .ql-formats { margin-right: 6px !important; }
body.ui2 .ql-toolbar button, body.ui2 .editor-custom-btn { width: 30px !important; height: 30px !important; padding: 6px !important; border-radius: 7px; border: 0; background: transparent; color: var(--text-2); cursor: pointer; display: inline-grid; place-items: center; }
body.ui2 .ql-toolbar button:hover, body.ui2 .editor-custom-btn:hover, body.ui2 .ql-toolbar button.ql-active { background: var(--card) !important; color: var(--text); }
body.ui2 .ql-snow .ql-stroke { stroke: currentColor !important; }
body.ui2 .ql-snow .ql-fill { fill: currentColor !important; }
body.ui2 .editor-custom-toolbar { display: inline-flex; gap: 2px; }
body.ui2 .ql-container.ql-snow { border: 0 !important; font: 15px/1.7 var(--font); color: var(--text); }
body.ui2 .entry-editor-container .ql-editor { min-height: 170px; max-height: 60vh; overflow-y: auto; padding: 12px 14px; }
body.ui2 .ql-editor.ql-blank::before { color: var(--muted); font-style: normal; left: 14px; right: 14px; }
body.ui2 .editor-char-counter { padding: 6px 14px; text-align: right; font-size: 11.5px; color: var(--muted); border-top: 1px solid var(--line); background: var(--soft); }
body.ui2 .editor-char-counter.warning { color: var(--warn); }
body.ui2 .editor-char-counter.error { color: var(--down); }
body.ui2 .editor-modal { display: none; position: fixed; inset: 0; z-index: 9999; padding: 20px; align-items: center; justify-content: center; background: rgba(13, 17, 24, .5); }
body.ui2 .editor-modal.active { display: flex; }
body.ui2 .editor-modal-content { width: 100%; max-width: 440px; padding: 20px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-pop); }
body.ui2 .editor-modal-header { font-size: 16px; font-weight: 700; margin: 0 0 14px; color: var(--text); }
body.ui2 .editor-modal-input { width: 100%; box-sizing: border-box; height: 40px; padding: 0 12px; margin-bottom: 10px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); color: var(--text); font: 14px var(--font); outline: none; }
body.ui2 .editor-modal-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
body.ui2 .editor-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
body.ui2 .editor-modal-btn { height: 36px; padding: 0 14px; border: 0; border-radius: var(--r); font: 600 13.5px var(--font); cursor: pointer; }
body.ui2 .editor-modal-btn-primary { background: var(--green); color: var(--green-ink); }
body.ui2 .editor-modal-btn-secondary { background: var(--soft); color: var(--text-2); }

/* giriş çağrısı */

/* önceki / sonraki başlık */

.u-tnav-next { text-align: right; }

.u-tnav-next small { justify-content: flex-end; flex-direction: row-reverse; }

/* sağ sütun: başlık bilgisi + başlığı açan */

@media (max-width: 860px) {
  .u-topic { padding: 14px 16px 12px; }
  .u-topic-h { font-size: 20px; }

  .u-compose { padding: 14px 14px; }
  .u-hint { display: none; }
  .u-compose-f { justify-content: flex-end; }

}

/* sayfa modalları (şikayet / entry düzenle) */
body.ui2 .custom-modal { display: none; position: fixed; inset: 0; z-index: 140; padding: 20px; align-items: center; justify-content: center; background: rgba(13, 17, 24, .5); backdrop-filter: blur(2px); }
body.ui2 .custom-modal.active { display: flex; }
body.ui2 .custom-modal-content { width: 100%; max-width: 460px; max-height: calc(100vh - 40px); overflow: auto; padding: 20px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-pop); color: var(--text); }
body.ui2 .custom-modal-content h3 { font-size: 17px; font-weight: 700; }
body.ui2 .custom-modal-content > p, body.ui2 .custom-modal-content .text-gray-500 { color: var(--muted); font-size: 13.5px; }
body.ui2 .custom-modal-content textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line) !important; background: var(--card) !important; color: var(--text); font: 14px/1.6 var(--font); outline: none; resize: vertical; }
body.ui2 .custom-modal-content textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 4px var(--accent-soft); }
body.ui2 .custom-modal-content .flex.items-center.gap-3:last-child { display: flex; gap: 8px; }
body.ui2 .custom-modal-content .flex.items-center.gap-3:last-child > button { height: 40px; padding: 0 16px; border: 0; border-radius: var(--r); font: 600 14px var(--font); cursor: pointer; background: var(--soft); color: var(--text-2); }
body.ui2 .custom-modal-content .flex.items-center.gap-3:last-child > button:first-child { flex: 1; background: var(--green); color: var(--green-ink); }
body.ui2 .report-reason { padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; margin-bottom: 6px; }
body.ui2 .report-reason:hover { background: var(--soft); }
body.ui2 .report-reason.selected { border-color: var(--accent); background: var(--accent-soft); }
body.ui2 .report-reason .w-5 { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); }
body.ui2 .report-reason p { color: var(--text) !important; font-size: 14px; }

/* giriş penceresi: yeni arayüz ince ayarları */
body.ui2 .am-panel { border-radius: var(--r-xl); }
body.ui2 .am-title { font: 750 22px/1.2 var(--font); letter-spacing: -.02em; }
body.ui2 .am-logo svg { height: 40px; width: auto; }
body.ui2 .am-f input { border-radius: var(--r) !important; }
body.ui2 .am-submit { border-radius: var(--r); min-height: 46px; font: 650 15px var(--font); }

/* =========================================================
   Liste sayfaları
   ========================================================= */
.u-phead { display: flex; align-items: center; gap: 14px; padding: 16px 20px; flex-wrap: wrap; }
.u-phead-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); }
.u-phead-ic .ic { width: 21px; height: 21px; }
.u-phead-tx { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.u-phead h1 { font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.u-phead p { font-size: 13.5px; color: var(--muted); }
.u-phead-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.u-catnav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 1px; }
.u-catnav::-webkit-scrollbar { display: none; }
.u-chip.is-on { background: var(--green); color: var(--green-ink); }
.u-chip.is-on .u-dot { box-shadow: 0 0 0 2px var(--green-ink); }
.u-tlist.is-flat { border-top: 0; }
.u-trow-n { flex: none; width: 26px; text-align: center; font-size: 13px; font-weight: 750; color: var(--muted); font-variant-numeric: tabular-nums; }
.u-tlist li:nth-child(-n+3) .u-trow-n { color: var(--accent-text); }

.u-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.u-toolbar .u-tabs { flex: none; }
.u-input {
  height: 36px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); color: var(--text);
  font: 14px var(--font); outline: none; min-width: 0;
}
.u-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
select.u-input { padding-right: 28px; cursor: pointer; }
.u-letters { display: flex; flex-wrap: wrap; gap: 4px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.u-letters a { min-width: 30px; height: 30px; padding: 0 6px; display: grid; place-items: center; border-radius: 8px; font-size: 13px; font-weight: 650; color: var(--text-2); background: var(--soft); }
.u-letters a:hover { background: var(--soft-2); color: var(--text); }
.u-letters a.is-on { background: var(--green); color: var(--green-ink); }
.u-letters a.is-off { opacity: .4; pointer-events: none; }
.u-statrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.u-stat { padding: 14px 16px; display: grid; gap: 2px; }
.u-stat span { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.u-stat span .ic { width: 15px; height: 15px; color: var(--accent); }
.u-stat b { font-size: 24px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.u-stat em { font-style: normal; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .u-phead { padding: 14px 16px; }
  .u-toolbar, .u-letters { padding-left: 16px; padding-right: 16px; }
  .u-statrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.u-debe-i { position: relative; }
.u-debe-n {
  position: absolute; left: -12px; top: 14px; z-index: 2; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 9px;
  display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh-1);
  font-size: 12.5px; font-weight: 750; color: var(--muted); font-variant-numeric: tabular-nums;
}
.u-debe-i:nth-child(-n+3) .u-debe-n { background: var(--green); color: var(--green-ink); border-color: var(--green); }
@media (max-width: 860px) { .u-debe-n { left: auto; right: 10px; top: 10px; } }
.u-inline-search { position: relative; flex: 1; min-width: 180px; display: flex; }
.u-inline-search .ic { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); pointer-events: none; }
.u-inline-search .u-input { width: 100%; padding-left: 34px; }
.u-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; padding: 0 20px 18px; }
.u-catgrid a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.u-catgrid a:hover { border-color: color-mix(in srgb, var(--c) 45%, var(--line)); background: color-mix(in srgb, var(--c) 6%, var(--card)); }
.u-catgrid-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font-weight: 750; }
.u-catgrid a > span:last-child { display: grid; line-height: 1.3; min-width: 0; }
.u-catgrid b { font-size: 14px; font-weight: 650; }
.u-catgrid em { font-style: normal; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .u-catgrid { padding: 0 16px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* neler oluyor */
.u-chip b { font-weight: 700; color: inherit; opacity: .7; font-size: 11.5px; }
.u-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.u-back:hover { color: var(--text); }
.u-back .ic { width: 16px; height: 16px; }
.u-sec-h h2 small { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 4px; }
.u-act-list { list-style: none; margin: 0; padding: 0 8px 8px; border-top: 1px solid var(--line); }
.u-act-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); }
.u-act-row:hover { background: var(--soft); }
.u-act-av { position: relative; flex: none; }
.u-act-av em { position: absolute; right: -4px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 8.5px; color: #fff; border: 2px solid var(--card); font-style: normal; }
.c-b .u-act-av em { background: #3B82F6; } .c-g .u-act-av em { background: var(--accent); } .c-y .u-act-av em { background: #E0A100; }
.c-p .u-act-av em { background: #8B5CF6; } .c-o .u-act-av em { background: #F97316; }
.u-act-row p { flex: 1; min-width: 0; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.u-act-u { font-weight: 650; color: var(--text); }

.u-act-u:hover { color: var(--accent-text); }
.u-act-row time { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.u-act-more { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 10px; border-top: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--accent-text); }
.u-act-more .ic { width: 14px; height: 14px; }

/* istatistikler */
.u-plus { color: var(--up) !important; font-weight: 600; }
.u-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.u-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.u-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 6px; }
.l-e { background: var(--accent); }
.l-t { background: var(--brand); }
.u-bars { display: flex; align-items: flex-end; gap: 4px; height: 160px; padding: 4px 20px 0; }
.u-bars-h { height: 120px; gap: 3px; }
.u-bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.u-bar-s { width: 100%; min-height: 2px; display: flex; flex-direction: column-reverse; border-radius: 4px 4px 0 0; overflow: hidden; background: var(--soft-2); }
.u-bar-s i { display: block; min-height: 0; }
.u-bar:hover .u-bar-s { filter: brightness(1.12); }
.u-bars-h .u-bar .l-e { background: color-mix(in srgb, var(--accent) 55%, var(--soft-2)); }
.u-bars-h .u-bar.is-peak .l-e { background: var(--accent); }
.u-bars-x { display: flex; justify-content: space-between; padding: 6px 20px 14px; font-size: 11.5px; color: var(--muted); }
.u-recs { list-style: none; margin: 0; padding: 0 20px 14px; display: grid; gap: 2px; }
.u-recs li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.u-recs li:first-child { border-top: 0; }
.u-recs .ic { color: var(--accent); width: 17px; height: 17px; }
.u-recs span { flex: 1; color: var(--muted); }
.u-recs b { font-weight: 650; }
.u-recs a:hover { color: var(--accent-text); }
.u-rankp { padding-bottom: 10px; }
@media (max-width: 860px) { .u-grid2 { grid-template-columns: minmax(0, 1fr); gap: 14px; } .u-bars { padding: 4px 12px 0; gap: 2px; } }

/* =========================================================
   Profil
   ========================================================= */
.u-prof { overflow: hidden; }
.u-prof-main { display: flex; align-items: center; gap: 16px; padding: 20px 22px 0; flex-wrap: wrap; }
.u-prof-av { position: relative; flex: none; }
.u-prof-av .u-av { width: 80px; height: 80px; }
.u-prof-who { flex: 1; min-width: 220px; display: grid; gap: 4px; }
.u-prof-who h1 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.u-prof-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.u-prof-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.u-prof-meta .ic { width: 14px; height: 14px; }
.u-prof-bio { font-size: 14px; color: var(--text-2); margin-top: 4px !important; max-width: 640px; }
.u-prof-act { display: flex; gap: 8px; padding-bottom: 2px; }
.u-prof-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 16px 0 0; border-top: 1px solid var(--line); }
.u-prof-stats div { display: grid; justify-items: center; padding: 12px 4px; border-left: 1px solid var(--line); }
.u-prof-stats div:first-child { border-left: 0; }
.u-prof-stats dd { margin: 0; font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
.u-prof-stats dt { font-size: 12px; color: var(--muted); }
.u-rookie { padding: 12px 22px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.u-rookie-t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.u-rookie-t span { color: var(--muted); }
.u-progress { height: 8px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
.u-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--brand))); }

.u-ptabs { align-self: start; }
.u-main-sub { display: grid; gap: 14px; }

.u-muted { color: var(--muted); font-size: 13px; }
/* yönetici: IP kartı */
.ipx { padding: 16px 20px; display: grid; gap: 10px; font-size: 13px; }
.ipx-hd { display: flex; justify-content: space-between; align-items: center; }
.ipx-t { font-size: 15px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.ipx-lock { font-size: 12px; color: var(--muted); }
.ipx-reg { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--text-2); }
.ipx-reg code, .ipx-main code { font: 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); padding: 1px 6px; border-radius: 5px; }
.ipx-list { display: grid; gap: 6px; }
.ipx-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 9px 10px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.ipx-main { flex: 1; display: grid; min-width: 180px; }
.ipx-main small, .ipx-when small { color: var(--muted); }
.ipx-when { display: grid; text-align: right; }
.ipx-sh { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 12.5px; color: var(--warn); }
.ipx-sh a { font-weight: 600; color: var(--text); }
.ipx-sh.weak { color: var(--muted); }
.ipx-foot { font-size: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .u-prof-main { padding: 16px 16px 0; }
  .u-prof-who { padding-top: 0; min-width: 0; width: 100%; }
  .u-prof-act { width: 100%; }
  .u-prof-act .u-btn { flex: 1; }
  .u-prof-stats dd { font-size: 16px; }

  .u-ptabs { width: 100%; overflow-x: auto; }
  .u-ptabs a { flex: 1; justify-content: center; white-space: nowrap; }
}
.u-main > *, .u-main-sub > * { min-width: 0; }
@media (max-width: 860px) { .u-sec-h { flex-wrap: wrap; } }
.u-entry-ctx { display: flex; gap: 8px; flex-wrap: wrap; }

/* bildirimler */
.u-nlist ol { list-style: none; margin: 0; padding: 6px 8px 8px; }
.nt-day { padding: 12px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.u-nrow-a { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: var(--r); position: relative; }
.u-nrow-a:hover { background: var(--soft); }
.u-nrow.is-unread .u-nrow-a { background: color-mix(in srgb, var(--accent-soft) 60%, transparent); }
.u-nrow-tx { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 14px; color: var(--text-2); line-height: 1.45; }
.u-nrow-tx b { color: var(--text); font-weight: 650; }
.u-nrow-tx small { font-size: 13px; color: var(--text); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-nrow-tx em { font-size: 13px; color: var(--muted); }
.u-nrow-a time { flex: none; font-size: 12px; color: var(--muted); padding-top: 2px; }
.u-nrow .n-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 7px; }
.c-r .u-act-av em { background: var(--down); }
.u-nrow .u-act-av em { font-size: 9px; width: 19px; height: 19px; }

/* arama */
.u-sform { padding: 16px 20px; }
.u-sform-q { position: relative; display: flex; gap: 8px; }
.u-sform-q > .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.u-sform-q input { flex: 1; min-width: 0; height: 44px; padding: 0 14px 0 42px; border-radius: var(--r); border: 1px solid var(--line); background: var(--soft); color: var(--text); font: 15px var(--font); outline: none; }
.u-sform-q input:focus { background: var(--card); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.u-sform-q .u-btn { height: 44px; }
.u-adv { margin-top: 10px; }
.u-adv summary { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; list-style: none; }
.u-adv summary::-webkit-details-marker { display: none; }
.u-adv summary .ic { width: 15px; height: 15px; }
.u-adv[open] summary { color: var(--text); }
.u-adv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0 8px; }
.u-adv-grid label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.u-adv-grid .u-input { width: 100%; }
.u-tips ul { margin: 8px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14px; display: grid; gap: 4px; }
.u-tips code { font: 12.5px ui-monospace, Menlo, monospace; background: var(--soft); padding: 1px 6px; border-radius: 5px; }
.u-mk { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); color: var(--accent-text); font-size: 14px; }
.u-mk span { flex: 1; } .u-mk b { color: var(--text); }
.u-people-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 10px; }
@media (max-width: 860px) { .u-sform { padding: 14px; } .u-adv-grid { grid-template-columns: 1fr; } .u-people-grid { grid-template-columns: 1fr; } }
.u-entry.is-blocked { padding: 12px 18px; }
.u-entry.is-blocked p { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.u-entry.is-blocked .ic { width: 16px; height: 16px; }
.u-linkbtn { border: 0; background: none; padding: 0; color: var(--accent-text); font-weight: 600; cursor: pointer; font-size: inherit; }
.u-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 8px 12px; border-radius: var(--r-sm); background: var(--soft); }
.u-note .ic { width: 15px; height: 15px; }

.u-right { display: flex; justify-content: flex-end; }
.u-drafts { padding: 4px 8px; }
.u-draft { display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--line); }
.u-draft:last-child { border-bottom: 0; }
.u-draft a { flex: 1; min-width: 0; display: grid; gap: 3px; padding: 12px; border-radius: var(--r-sm); }
.u-draft a:hover { background: var(--soft); }
.u-draft b { font-size: 14.5px; }
.u-draft p { font-size: 13.5px; color: var(--text-2); }
.u-draft span { font-size: 12px; color: var(--muted); }
.u-draft form { padding-top: 10px; }
.u-dd-r .u-dd-m { left: auto; right: 0; } .u-dd > summary.u-btn { padding: 0 11px; }

/* =========================================================
   Mesajlar
   ========================================================= */
.u-msg { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 16px; height: calc(100vh - var(--top-h) - 48px); min-height: 520px; }
.u-mlist { display: flex; flex-direction: column; overflow: hidden; }
.u-mlist-h { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 8px 16px; }
.u-mlist-h h2 { font-size: 16px; font-weight: 700; }
.u-mlist-s { position: relative; margin: 0 12px 8px; display: block; }
.u-mlist-s .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }
.u-mlist-s input { width: 100%; height: 34px; padding: 0 10px 0 32px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--soft); color: var(--text); font: 13.5px var(--font); outline: none; box-sizing: border-box; }
.u-mlist ul { list-style: none; margin: 0; padding: 0 6px 8px; overflow-y: auto; flex: 1; }
.u-mlist li a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r); }
.u-mlist li a:hover { background: var(--soft); }
.u-mlist li a.is-on { background: var(--brand-soft); }
.u-mlist-tx { flex: 1; min-width: 0; display: grid; line-height: 1.35; }
.u-mlist-tx b { font-size: 14px; font-weight: 600; }
.u-mlist-tx span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-mlist li a.is-unread .u-mlist-tx span { color: var(--text); font-weight: 550; }
.u-mlist-r { display: grid; justify-items: end; gap: 4px; flex: none; }
.u-mlist-r time { font-size: 11.5px; color: var(--muted); }
.u-mpanel { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.u-mpanel-empty { align-items: center; justify-content: center; gap: 8px; text-align: center; color: var(--muted); padding: 24px; }
.u-mpanel-empty > .ic { width: 40px; height: 40px; color: var(--line-2); }
.u-mpanel-empty b { color: var(--text); font-size: 16px; }
.u-mpanel-empty p { font-size: 13.5px; margin-bottom: 8px !important; }
.u-mpanel-h { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.u-mpanel-who { display: flex; align-items: center; gap: 10px; }
.u-mpanel-who span { display: grid; line-height: 1.3; }
.u-mpanel-who b { font-size: 14.5px; }
.u-mpanel-who em { font-style: normal; font-size: 12px; color: var(--muted); }
.u-mpanel-t { font-size: 16px; font-weight: 700; }
.u-mthread { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--bg); }
.u-mthread-empty { margin: auto; color: var(--muted); font-size: 14px; }
.u-mday { text-align: center; margin: 8px 0; }
.u-mday span { font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.u-bubble { max-width: min(560px, 78%); align-self: flex-start; padding: 8px 12px 6px; border-radius: 14px 14px 14px 4px; background: var(--card); border: 1px solid var(--line); }
.u-bubble.is-me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--green); border-color: var(--green); color: var(--green-ink); }
.u-bubble p { font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.u-bubble time { display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-size: 11px; opacity: .65; margin-top: 2px; }
.u-bubble time .ic { width: 13px; height: 13px; }
.u-mform { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.u-mform textarea { flex: 1; min-height: 40px; max-height: 180px; resize: none; padding: 9px 12px; border-radius: var(--r); border: 1px solid var(--line); background: var(--soft); color: var(--text); font: 14.5px/1.45 var(--font); outline: none; box-sizing: border-box; }
.u-mform textarea:focus { border-color: var(--accent); background: var(--card); }
.u-mform .u-btn { height: 40px; width: 44px; padding: 0; }
.u-mform-off { margin: 12px; }
.u-err { width: 100%; padding: 8px 12px; border-radius: var(--r-sm); background: var(--down-soft); color: var(--down); font-size: 13.5px; }
.u-mnew { padding: 16px 20px; display: grid; gap: 12px; overflow-y: auto; }
.u-field { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-2); position: relative; }
.u-field .u-input { width: 100%; box-sizing: border-box; }
.u-textarea { height: auto; padding: 10px 12px; line-height: 1.55; resize: vertical; }
.u-field .u-search-pop { top: 100%; }
.u-catnav button.u-chip { border: 0; cursor: pointer; font: inherit; font-size: 12.5px; }
@media (max-width: 860px) {
  .u-msg { grid-template-columns: minmax(0, 1fr); height: calc(100vh - var(--top-h) - 110px); min-height: 0; }
  .u-msg .u-mpanel-empty { display: none; }
  .u-msg.is-thread .u-mlist { display: none; }
  .u-mnew { padding: 14px; }
  .u-bubble { max-width: 86%; }
}

/* ayarlar ve formlar */
.u-set { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.u-set-nav { padding: 6px; display: grid; gap: 2px; position: sticky; top: calc(var(--top-h) + 24px); }
.u-set-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--text-2); }
.u-set-nav a:hover { background: var(--soft); }
.u-set-nav a.is-on { background: var(--brand-soft); color: var(--text); font-weight: 650; }
.u-set-nav a .ic { width: 17px; height: 17px; color: var(--muted); }
.u-set-nav a.is-on .ic { color: var(--accent); }
.u-set-body { display: grid; gap: 16px; }
.u-form { display: grid; gap: 14px; }
.u-form h2 { font-size: 16px; font-weight: 700; }
.u-form form { display: grid; gap: 14px; }
.u-field small { font-weight: 400; color: var(--muted); font-size: 12px; }
.u-field .u-input:disabled { background: var(--soft); color: var(--muted); }
.u-avedit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.u-avedit form { display: block; }
.u-radios { display: grid; gap: 8px; }
.u-radio { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.u-radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.u-radio input { margin-top: 3px; accent-color: var(--accent); }
.u-radio span, .u-switch span { display: grid; gap: 1px; }
.u-radio b, .u-switch b { font-size: 14px; font-weight: 600; }
.u-radio em, .u-switch em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.u-switches { display: grid; }
.u-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.u-switch:last-child { border-bottom: 0; }
.u-switch input { position: absolute; opacity: 0; pointer-events: none; }
.u-switch i { flex: none; width: 40px; height: 22px; border-radius: 99px; background: var(--line-2); position: relative; transition: background .15s; }
.u-switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform .15s; }
.u-switch input:checked + i { background: var(--accent); }
.u-switch input:checked + i::after { transform: translateX(18px); }
.u-switch input:focus-visible + i { outline: 2px solid var(--accent); outline-offset: 2px; }
.u-blocks { padding: 0; }
.u-blocks li { display: flex; align-items: center; gap: 8px; }
.u-blocks li > a { flex: 1; }
.u-ok { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-text); font-size: 14px; font-weight: 550; }
.u-ok .ic { width: 16px; height: 16px; }
.u-btn-danger { background: var(--down); color: #fff !important; }
.u-danger h2 { color: var(--down); }
@media (max-width: 860px) {
  .u-set { grid-template-columns: minmax(0, 1fr); }
  .u-set-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; }
  .u-set-nav a { flex: none; }
}
.u-input-lg { height: 44px; font-size: 16px; font-weight: 600; }
.u-cats { border: 0; padding: 0; margin: 0; }
.u-catpick { flex-wrap: wrap; overflow: visible; }
.u-catpick .u-chip { cursor: pointer; height: 30px; }
.u-catpick input { position: absolute; opacity: 0; pointer-events: none; }
.u-catpick .u-chip:has(input:checked) { background: var(--green); color: var(--green-ink); }
.u-catpick .u-chip:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.u-newtopic .u-mk { margin-top: 4px; font-weight: 500; }

/* giriş / kayıt (yalın düzen) */
.u-wrap.is-bare { grid-template-columns: minmax(0, 1fr); max-width: 520px; padding-top: 40px; }
.u-auth { padding: 28px; display: grid; gap: 16px; }
.u-auth-h { display: grid; justify-items: center; gap: 6px; text-align: center; }
.u-auth-h .u-brand svg { height: 40px; }
.u-auth-h h1 { font-size: 22px; font-weight: 750; letter-spacing: -.02em; margin-top: 8px; }
.u-auth-h p { font-size: 14px; color: var(--muted); max-width: 380px; }
.u-auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; }
.u-auth-row a, .u-auth-f a, .u-check a { color: var(--accent-text); font-weight: 600; }
.u-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--text-2); cursor: pointer; line-height: 1.45; }
.u-check input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.u-btn-lg { height: 46px; font-size: 15px; }
.u-auth-f { text-align: center; font-size: 14px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.u-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .u-two { grid-template-columns: 1fr; } .u-auth { padding: 20px; } .u-wrap.is-bare { padding-top: 16px; } }

/* bilgi sayfaları */
.u-tldr b { font-size: 14px; }
.u-tldr ul { margin: 6px 0 0; padding-left: 18px; color: var(--text-2); font-size: 14px; display: grid; gap: 3px; }
.u-doc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; align-items: start; }
.u-doc-wrap.solo { grid-template-columns: minmax(0, 1fr); }
.u-doc { padding: 22px 26px; font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.u-doc h2 { font-size: 18px; margin: 1.4em 0 .5em !important; scroll-margin-top: calc(var(--top-h) + 16px); color: var(--text); }
.u-doc h2:first-child { margin-top: 0 !important; }
.u-doc h2 em { font-style: normal; color: var(--accent-text); font-size: 14px; margin-right: 4px; }
.u-doc h3 { font-size: 16px; margin: 1.2em 0 .4em !important; }
.u-doc p { margin: 0 0 .9em !important; }
.u-doc ul, .u-doc ol { padding-left: 20px; margin: 0 0 1em; }
.u-doc a { color: var(--accent-text); font-weight: 500; }
.u-doc blockquote { margin: 1em 0; padding: 10px 16px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 8px 8px 0; }
.u-toc { padding: 14px; display: grid; gap: 10px; position: sticky; top: calc(var(--top-h) + 24px); }
.u-toc b { font-size: 13px; }
.u-toc .u-progress { height: 4px; }
.u-toc nav { display: grid; gap: 1px; }
.u-toc a { font-size: 13px; color: var(--muted); padding: 5px 8px; border-radius: 6px; line-height: 1.35; }
.u-toc a:hover { color: var(--text); background: var(--soft); }
.u-toc a.is-on { color: var(--text); background: var(--accent-soft); font-weight: 600; }
.u-404 { padding: 40px 24px; display: grid; justify-items: center; gap: 10px; text-align: center; }
.u-404 > b { font-size: 72px; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.u-404 h1 { font-size: 20px; }
.u-404 p { color: var(--muted); font-size: 14.5px; }
.u-404 .u-sform-q { width: 100%; max-width: 440px; margin: 8px 0; }
@media (max-width: 1080px) { .u-doc-wrap { grid-template-columns: minmax(0, 1fr); } .u-toc { display: none; } }
@media (max-width: 860px) { .u-doc { padding: 16px 18px; } }
body.ui2 [hidden] { display: none !important; }
.u-mod { padding: 16px 20px; display: grid; gap: 10px; }
.u-mod.is-req { border-left: 3px solid var(--warn); }
.u-mod-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.u-mod-text { font-size: 14px; color: var(--text-2); }
.u-mod-act { display: flex; flex-wrap: wrap; gap: 6px; }
.u-mod-act form { display: contents; }

/* klavye kısayolları */
.u-entry.is-kbd { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.u-keys { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; background: rgba(13, 17, 24, .45); backdrop-filter: blur(2px); }
.u-keys-in { width: 100%; max-width: 380px; padding: 18px 20px; display: grid; gap: 12px; box-shadow: var(--sh-pop); }
.u-keys-in b { font-size: 15px; }
.u-keys dl { margin: 0; display: grid; gap: 8px; }
.u-keys dl div { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.u-keys dt { display: flex; gap: 4px; align-items: center; }
.u-keys dd { margin: 0; color: var(--muted); }

/* varsayılan logo (panelden logo yüklenmediyse) */
.u-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.u-logo i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; font: 800 17px/1 var(--font); font-style: normal; color: var(--brand-ink); background: var(--brand); position: relative; }
.u-logo i::after { content: ""; position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px var(--card); }
.u-logo b { font: 750 19px/1 var(--font); letter-spacing: -.03em; }
.u-auth-h .u-logo i, .am-logo .u-logo i { width: 38px; height: 38px; font-size: 21px; border-radius: 11px; }
.u-auth-h .u-logo b, .am-logo .u-logo b { font-size: 22px; }
@media (max-width: 560px) { .u-top .u-logo b { font-size: 17px; } .u-top .u-logo i { width: 27px; height: 27px; font-size: 15px; } }

/* çerez bildirimi: yeni arayüz */
body.ui2 .ck-banner { border: 1px solid var(--line) !important; border-radius: var(--r-xl) !important; box-shadow: var(--sh-pop) !important; background: var(--card) !important; color: var(--text) !important; }
body.ui2 .ck-banner *, body.ui2 .ck-panel * { font-family: var(--font) !important; }
body.ui2 .ck-b { border-radius: var(--r) !important; box-shadow: none !important; border: 1px solid var(--line) !important; background: var(--card) !important; color: var(--text) !important; font-weight: 600 !important; }
body.ui2 .ck-b.dk { background: var(--green) !important; color: var(--green-ink) !important; border-color: var(--green) !important; }
body.ui2 .ck-b.ln { border: 0 !important; background: transparent !important; text-decoration: none !important; color: var(--muted) !important; }
body.ui2 .ck-panel { border: 1px solid var(--line) !important; border-radius: var(--r-xl) !important; box-shadow: var(--sh-pop) !important; background: var(--card) !important; color: var(--text) !important; }
body.ui2 .ck-cat { border: 1px solid var(--line) !important; border-radius: var(--r) !important; box-shadow: none !important; background: var(--card) !important; }
body.ui2 .ck-text a { color: var(--accent-text) !important; }
.u-reply { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-bottom: -4px; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 3px 9px; border-radius: 999px; background: var(--soft); }
.u-reply:hover { color: var(--accent-text); background: var(--accent-soft); }
.u-reply .ic { width: 14px; height: 14px; }
.u-replying { display: flex; align-items: center; gap: 8px; padding: 8px 12px; margin-bottom: 8px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); font-size: 13px; font-weight: 550; }
.u-replying .ic { width: 15px; height: 15px; }
.u-replying span { flex: 1; }
.u-reply span { color: var(--text-2); }
.ic-fa { width: 1.05em; height: 1.05em; vertical-align: -.15em; }

/* =========================================================
   v2.1 — kabartmalı satırlar, yaşayan bağlantı, genel cila
   ========================================================= */
body.ui2 { background:
  radial-gradient(1200px 420px at 50% -120px, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
  var(--bg); background-attachment: fixed; }
.u-card { border-radius: 14px; }
.u-top { box-shadow: 0 1px 0 var(--line), 0 6px 20px -18px rgba(16, 24, 40, .4); border-bottom: 0; }
.u-sec-h h2 .ic { color: var(--accent); }
.u-nav a.is-on::before { background: var(--green); }
.u-nav a.is-on .ic { color: var(--green); }

/* kabartmalı (yükselen) satırlar: listelerdeki her satır üzerine gelince hafifçe kalkar */
.u-tlist { border-top: 1px solid var(--line); padding: 6px; }
.u-tlist.is-flat { border-top: 0; }
.u-tlist li { border-bottom: 0 !important; position: relative; }
.u-tlist li + li::before { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: var(--line); transition: opacity .18s; }
.u-tlist li:hover::before, .u-tlist li:hover + li::before { opacity: 0; }
.u-trow, .u-people a, .u-nrow-a, .u-mlist li a, .u-draft a, .u-catgrid a {
  position: relative; border-radius: 10px;
  transition: transform .18s cubic-bezier(.2, .7, .3, 1), box-shadow .18s, background-color .18s;
}
.u-trow { padding: 11px 14px; }
.u-trow:hover, .u-people a:hover, .u-nrow-a:hover, .u-mlist li a:hover, .u-draft a:hover, .u-catgrid a:hover {
  background: var(--card);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 18px -10px rgba(16, 24, 40, .22), inset 0 0 0 1px var(--line);
  transform: translateY(-1px);
  z-index: 1;
}
html.dark .u-trow:hover, html.dark .u-people a:hover, html.dark .u-nrow-a:hover, html.dark .u-mlist li a:hover, html.dark .u-draft a:hover, html.dark .u-catgrid a:hover {
  background: var(--soft); box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line-2);
}

.u-trow:active { transform: translateY(0); }

/* yaşayan bağlantı: başlığın altında ince bir çizgi akar, sağda küçük ok belirir */
.u-ll {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s cubic-bezier(.2, .7, .3, 1), color .2s;
  padding-bottom: 1px;
}
a:hover .u-ll, a:focus-visible .u-ll { background-size: 100% 1px; color: var(--accent-text); }
.u-trow::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-left: -4px; opacity: 0; transform: translateX(-6px);
  transition: opacity .2s, transform .25s cubic-bezier(.2, .7, .3, 1);
  background: currentColor; color: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.u-trow:hover::after { opacity: 1; transform: none; margin-left: 0; }
/* son yarım saatte entry girilen başlık: nabız gibi atan küçük nokta */
.u-pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 2px; position: relative; }
.u-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--green); opacity: 0; animation: uPulse 2.2s ease-out infinite; }
@keyframes uPulse { 0% { transform: scale(.4); opacity: .7; } 80%, 100% { transform: scale(1.4); opacity: 0; } }
.u-trow-tx b { display: block; }
@media (prefers-reduced-motion: reduce) {
  .u-trow, .u-people a { transition: none; }
  .u-trow:hover { transform: none; }
  .u-pulse::after { animation: none; }
}
@media (hover: none) { .u-trow::after { display: none; } }
.smx-inp input:focus, .smx-inp input:focus-visible { outline: none !important; box-shadow: none !important; } .smx-inp:focus-within { border-color: var(--accent) !important; box-shadow: 0 0 0 4px var(--accent-soft) !important; }

/* ---------- Şikayet penceresi ---------- */
.rp .am-panel { max-width: 440px; padding: 22px 22px 18px; border-radius: 18px; background: var(--card); color: var(--text); border-color: var(--line); }
.rp-head { display: flex; gap: 12px; align-items: center; margin: 0 36px 14px 0; }
.rp-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #FDECEC; color: #D64545; }
.rp-ic .ic { width: 19px; height: 19px; }
.rp-head h3 { margin: 0; font-size: 18px; font-weight: 800; }
.rp-head p { margin: 2px 0 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 300px; }
.rp-reasons { border: 0; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rp-reasons legend { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 8px; padding: 0; }
.rp-opt { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; cursor: pointer; transition: border-color .15s, background .15s; }
.rp-opt:hover { border-color: var(--green); }
.rp-opt input { accent-color: var(--green); margin: 0; }
.rp-opt:has(input:checked) { border-color: var(--green); background: var(--green-soft); font-weight: 700; }
#rp-desc { width: 100%; resize: vertical; min-height: 70px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--text); font: inherit; font-size: 14px; }
#rp-desc:focus { outline: 2px solid var(--green-soft); border-color: var(--green); }
.rp-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
html.dark .rp-ic { background: rgba(214, 69, 69, .16); }
@media (max-width: 420px) { .rp-reasons { grid-template-columns: 1fr; } }
.u-act.is-flag { opacity: .55; }
.u-act.is-flag:hover { opacity: 1; color: #D64545; }

/* ---------- İnsan doğrulaması ---------- */
.hv-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hv { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 2px; padding: 6px 8px 6px 10px; border: 1px dashed var(--line-2, #cfd8d2); border-radius: 12px; background: var(--soft); font-size: 13px; color: var(--muted); }
.hv-l { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; }
.hv-l .ic { width: 15px; height: 15px; color: var(--green); }
.hv-img { display: block; width: 104px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: #F0F8F2; }
.hv-txt { font-size: 16px; color: var(--text); letter-spacing: .04em; }
.hv-re { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.hv-re:hover { background: var(--card); color: var(--green); }
.hv-re .ic { width: 15px; height: 15px; }
.hv-in { width: 58px; height: 34px; padding: 0 8px; text-align: center; font: 700 16px/1 inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--text); }
.hv-in:focus { outline: 2px solid var(--green-soft); border-color: var(--green); }
.am-form .hv { width: 100%; justify-content: flex-start; }
.am-form .hv-in { margin-left: auto; }

/* ---------- Mobil: sade üst çubuk + üyeye/ziyaretçiye göre alt çubuk ---------- */
.u-drawer-theme { display: none; }
.u-sheet { display: none; }
@media (max-width: 860px) {
  /* bildirim alt çubukta, profil "Ben" sayfasında, tema çekmecede: üstte tekrar etmesin */
  #notification-dropdown { display: none !important; }
  .u-bnav > a, .u-bnav > button { position: relative; display: grid; justify-items: center; gap: 3px; font: 600 10.5px/1.2 var(--font, inherit); color: var(--muted); padding: 6px 0; background: none; border: 0; cursor: pointer; }
  .u-bnav > button .u-av { width: 22px; height: 22px; font-size: 11px; }
  .u-bnav > button.is-on { color: var(--text); }
  .u-bnav > button.is-on .u-av { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--green); }
  .u-btn-sm-m { height: 34px; padding: 0 14px; font-size: 13.5px; }

  .u-drawer-theme { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--text); font: 600 14px var(--font, inherit); cursor: pointer; }
  .u-drawer-theme .u-dt-ic .ic { width: 18px; height: 18px; color: var(--green); }
  .u-switch { margin-left: auto; width: 38px; height: 22px; border-radius: 999px; background: var(--line-2, #cfd8d2); position: relative; transition: background .2s; }
  .u-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
  .u-drawer-theme[aria-pressed="true"] .u-switch { background: var(--green); }
  .u-drawer-theme[aria-pressed="true"] .u-switch::after { transform: translateX(16px); }

  .u-sheet { position: fixed; inset: 0; z-index: 120; display: block; }
  .u-sheet[hidden] { display: none; }
  .u-sheet-dim { position: absolute; inset: 0; background: rgba(10, 20, 14, .45); opacity: 0; transition: opacity .2s; }
  body.ui2 .u-sheet-p { position: absolute; left: 0; right: 0; bottom: 0; width: auto; max-height: 80vh; overflow-y: auto; padding: 8px 10px calc(14px + env(safe-area-inset-bottom)); background: var(--card); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.18); transform: translateY(100%); transition: transform .22s ease; }
  .u-sheet.show .u-sheet-dim { opacity: 1; }
  .u-sheet.show .u-sheet-p { transform: none; }
  .u-sheet-grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2, #cfd8d2); margin: 2px auto 8px; }
  body.ui2 .u-sheet-p > a { padding: 12px 10px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .u-sheet-p, .u-sheet-dim, .u-switch::after { transition: none !important; } }

/* ---------- Çaylak entry'leri (yalnızca üyelere görünür) ---------- */
.u-entry.is-rookie .u-entry-body { font-style: italic; color: var(--text-2); }
.u-nolink { color: var(--muted); text-decoration: underline dotted; cursor: help; }
.u-rookies .u-entry-topic { font-style: normal; }

/* ---------- Paylaş penceresi (telefonda alttan açılan sayfa) ---------- */
.sh .am-panel { max-width: 420px; padding: 20px 20px 18px; border-radius: 20px; background: var(--card); color: var(--text); border-color: var(--line); }
.sh-grip { display: none; }
.sh h3 { margin: 0 40px 2px 0; font-size: 18px; font-weight: 800; }
.sh-sub { margin: 0 40px 12px 0; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-prev { margin: 0 0 14px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); height: 300px; display: flex; justify-content: center; align-items: center; }
.sh-prev[hidden] { display: none; }
.sh-prev img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; border-radius: 10px; box-shadow: 0 4px 14px rgba(16, 40, 24, .12); }
.sh-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.sh-app { display: grid; justify-items: center; gap: 6px; padding: 8px 2px; border: 0; border-radius: 12px; background: none; color: var(--text-2); font: 600 12px var(--font, inherit); cursor: pointer; text-decoration: none; }
.sh-app:hover { background: var(--soft); }
.sh-app > span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; }
.sh-app > span .ic { width: 21px; height: 21px; }
.sh-app > b { font-weight: 600; }
.sh-xl { font: 800 20px/1 system-ui, sans-serif; }
.sh-acts { display: grid; gap: 8px; }
.sh-acts .u-btn { width: 100%; justify-content: center; }
.sh-acts [hidden] { display: none !important; }
@media (max-width: 860px) {
  .sh { align-items: flex-end; padding: 0; }
  .sh .am-panel { max-width: none; width: 100%; border-radius: 22px 22px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); max-height: 92vh; }
  .sh.show .am-panel { transform: none; }
  .sh-grip { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line-2, #cfd8d2); margin: 2px auto 12px; }
  .sh .am-x { top: 12px; }
  .sh-prev { height: 36vh; max-height: 300px; }
}

/* ---------- Debe: ilk üç entry rakamsız, çok açık yeşil zeminli ---------- */
.u-debe-i.is-top > .u-entry { background: #EFF9F1; border-color: #D5EEDA; }
.theme-klasik .u-debe-i.is-top > .u-entry { padding-left: 16px; padding-right: 16px; border-radius: 14px; border-bottom-color: transparent; }
.theme-klasik .u-debe-i.is-top { margin-bottom: 8px; }
html.dark .u-debe-i.is-top > .u-entry { background: rgba(54, 168, 75, .10); border-color: rgba(54, 168, 75, .22); }

/* ---------- Kategori şeridi: masaüstünde alt satıra geçer, kesilmez ---------- */
@media (min-width: 861px) {
  .u-catnav { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
}
@media (max-width: 860px) {
  /* telefonda yatay kaydırılır; sağ kenarda solma: devamı olduğu anlaşılır */
  .u-catnav { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 24px; }
}

/* ---------- Başlıktaki bildirim / mesaj kutuları: ikonun tam ortasından açılır ---------- */
@media (min-width: 861px) {
  body.ui2 #notification-menu.pop, body.ui2 #message-menu.pop {
    left: 50%; right: auto; top: calc(100% + 12px); overflow: visible !important;
    transform: translateX(calc(-50% + var(--pop-shift, 0px)));
  }
  /* ikonu gösteren küçük ok */
  body.ui2 #notification-menu.pop::after, body.ui2 #message-menu.pop::after {
    content: ""; position: absolute; top: -7px; left: calc(50% - var(--pop-shift, 0px)); width: 12px; height: 12px;
    background: var(--card); border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    transform: translateX(-50%) rotate(45deg); border-radius: 3px 0 0 0;
  }
  /* imleç ikondan kutuya geçerken kapanmasın diye görünmez köprü */
  body.ui2 #notification-menu.pop::before, body.ui2 #message-menu.pop::before {
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  }
  body.ui2 #notification-menu.pop:not(.hidden), body.ui2 #message-menu.pop:not(.hidden) { animation: uPopIn .14s ease-out; }
}
@keyframes uPopIn { from { opacity: 0; margin-top: -4px; } }
@media (prefers-reduced-motion: reduce) { body.ui2 #notification-menu.pop, body.ui2 #message-menu.pop { animation: none !important; } }

/* panelden yüklenen logo: açık / koyu tema sürümü */
img.logo-dark { display: none; }
html.dark img.logo-light { display: none; }
html.dark img.logo-dark { display: block; }
