/* ==========================================================================
   Memur Alım İlanları — tasarım sistemi v2
   Hafif, hızlı, erişilebilir. Animasyonlar "prefers-reduced-motion" ile kapanır.
   ========================================================================== */

/* ---------- Renkler / ölçüler ---------- */
:root {
  --bg: #f3f6fb;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --surface-3: #eef2f9;
  --text: #0b1530;
  --text-2: #3a4764;
  --muted: #69758f;
  --border: #e3e8f2;
  --border-strong: #cdd6e6;
  --primary: #1d4ed8;
  --primary-600: #1740b4;
  --primary-700: #122f86;
  --primary-50: #eef3ff;
  --primary-100: #dbe5ff;
  --navy: #081634;
  --navy-2: #0e2a66;
  --accent: #e11d48;
  --accent-50: #fff0f3;
  --gold: #f5a524;
  --success: #05966a;
  --success-50: #e7f8f0;
  --warn: #b45309;
  --warn-50: #fff6e6;
  --tg: #229ed9;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 48, .06);
  --shadow: 0 1px 2px rgba(11, 21, 48, .05), 0 6px 20px -8px rgba(11, 21, 48, .12);
  --shadow-lg: 0 2px 6px rgba(11, 21, 48, .06), 0 22px 48px -18px rgba(29, 78, 216, .32);
  --ring: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", var(--font);
  --maxw: 1200px;
  --header-h: 66px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070d1c; --surface: #0e1629; --surface-2: #0b1324; --surface-3: #131e36; --text: #e8eefc; --text-2: #b9c5dd;
    --muted: #8793ad; --border: #1c2742; --border-strong: #2a3858; --primary: #7aa5ff; --primary-600: #9dbcff; --primary-700: #c2d5ff;
    --primary-50: #111f3f; --primary-100: #1a2d58; --accent: #ff5c7a; --accent-50: #2a111a; --success: #34d399; --success-50: #0c2a20;
    --warn: #fbbf57; --warn-50: #2a1f0c; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 26px -12px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 24px 50px -20px rgba(0,0,0,.8); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070d1c; --surface: #0e1629; --surface-2: #0b1324; --surface-3: #131e36; --text: #e8eefc; --text-2: #b9c5dd;
  --muted: #8793ad; --border: #1c2742; --border-strong: #2a3858; --primary: #7aa5ff; --primary-600: #9dbcff; --primary-700: #c2d5ff;
  --primary-50: #111f3f; --primary-100: #1a2d58; --accent: #ff5c7a; --accent-50: #2a111a; --success: #34d399; --success-50: #0c2a20;
  --warn: #fbbf57; --warn-50: #2a1f0c; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 26px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 24px 50px -20px rgba(0,0,0,.8); color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  background: radial-gradient(900px 420px at 100% -80px, color-mix(in srgb, var(--primary) 7%, transparent), transparent 70%), var(--bg);
  background-repeat: no-repeat;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.22; letter-spacing: -.02em; color: var(--text); }
button, input, select { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--primary) 22%, transparent); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 50%, transparent); outline-offset: 2px; border-radius: 8px; }

/* Sayfa geçişleri (destekleyen tarayıcılarda yumuşak geçiş) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* ---------- Üst çubuk ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  transition: box-shadow .25s var(--ease), border-color .25s;
}
.topbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -14px rgba(11, 21, 48, .25); }
.topbar .row { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-head); font-weight: 800; font-size: 1.14rem; letter-spacing: -.03em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #0e2a66); display: grid; place-items: center; position: relative; flex: none; box-shadow: 0 6px 16px -4px rgba(29, 78, 216, .55); transition: transform .3s var(--ease); }
.brand:hover .mark { transform: rotate(-6deg) scale(1.04); }
.brand .mark::after { content: ""; position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; border: 2px solid var(--surface); }
.brand .mark svg { width: 20px; height: 20px; }
.brand img.mark { background: none; border-radius: 11px; object-fit: cover; box-shadow: 0 6px 16px -6px rgba(29, 78, 216, .6); }
.brand b { background: linear-gradient(90deg, var(--primary), #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: 2px; margin-left: 14px; }
.nav a { position: relative; color: var(--text-2); font-weight: 650; font-size: .93rem; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--primary); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--primary), #7c3aed); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text-2); transition: all .2s var(--ease); position: relative; }
.icon-btn:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.icon-btn svg { width: 19px; height: 19px; }
.kbd { font: 600 .72rem/1 var(--font); border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; padding: 3px 6px; color: var(--muted); background: var(--surface-2); }
.search-trigger { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 10px 0 14px; min-width: 230px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); cursor: pointer; font-size: .92rem; transition: all .2s; }
.search-trigger:hover { border-color: var(--border-strong); background: var(--surface); }
.search-trigger svg { width: 18px; height: 18px; }
.search-trigger .kbd { margin-left: auto; }
@media (max-width: 1500px) { .search-trigger { min-width: 190px; } .nav a, .nav-more > button { padding: 8px 10px; } }
@media (max-width: 1439px) { .search-trigger { min-width: 0; width: 42px; padding: 0; justify-content: center; } .search-trigger span, .search-trigger .kbd { display: none; } .nav { margin-left: 8px; } }
/* Ana menü: 6 bağlantı + "Diğer" açılır menüsü (takvim, kategoriler, istatistikler) */
.nav { align-items: center; }
.nav-more { position: relative; }
.nav-more > button { appearance: none; border: 0; background: none; font: inherit; color: var(--text-2); font-weight: 650; font-size: .93rem; padding: 8px 12px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 3px; white-space: nowrap; transition: color .2s, background .2s; }
.nav-more > button svg { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .2s var(--ease); }
.nav-more:hover > button, .nav-more:focus-within > button { background: var(--surface-3); color: var(--text); }
.nav-more:hover > button svg, .nav-more:focus-within > button svg { transform: rotate(-90deg); }
.nav-more > button[aria-current="page"] { color: var(--primary); }
.nav-menu { position: absolute; top: 100%; right: 0; min-width: 232px; margin-top: 8px; padding: 6px; display: grid; gap: 2px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .28); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 70; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-more:hover .nav-menu, .nav-more:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav .nav-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; font-size: .9rem; }
.nav .nav-menu a[aria-current="page"]::after { display: none; }
.nav .nav-menu a[aria-current="page"] { background: var(--primary-50); }
.nav-menu a svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
@media (min-width: 1440px) { .topbar .container { max-width: 1400px; } }
@media (max-width: 1200px) { .top-actions .btn-tg span { display: none; } .top-actions .btn-tg { padding-left: 11px; padding-right: 11px; } }
@media (max-width: 1100px) { .top-actions .btn-wa-icon { display: none; } .nav a, .nav-more > button { padding: 8px 8px; } }
@media (max-width: 1100px) { .search-trigger { min-width: 0; } .search-trigger span, .search-trigger .kbd { display: none; } .search-trigger { width: 42px; padding: 0; justify-content: center; } }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: .94rem; border: 1px solid transparent; cursor: pointer; transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s; white-space: nowrap; position: relative; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8 55%, #1e40af); color: #fff; box-shadow: 0 8px 20px -8px rgba(29, 78, 216, .6); }
.btn-primary:hover { box-shadow: 0 12px 26px -10px rgba(29, 78, 216, .75); color: #fff; }
.btn-tg { background: linear-gradient(135deg, #2aabee, #1d8fd0); color: #fff; box-shadow: 0 8px 18px -8px rgba(34, 158, 217, .6); }
.btn-tg:hover { color: #fff; }
.btn-wa { background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; box-shadow: 0 8px 18px -8px rgba(18, 140, 126, .6); }
.btn-wa:hover { color: #fff; }
.btn-wa-icon { color: #128c7e; border-color: color-mix(in srgb, #25d366 45%, var(--border)); }
.btn-wa-icon:hover { color: #fff; background: #25d366; border-color: #25d366; }
.btn-wa-icon svg { width: 20px; height: 20px; }
.wa-cta { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px 14px; border-radius: var(--radius); background: color-mix(in srgb, #25d366 10%, var(--surface)); border: 1px solid color-mix(in srgb, #25d366 38%, var(--border)); color: var(--text); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s; }
.wa-cta:hover { text-decoration: none; color: var(--text); transform: translateY(-1px); box-shadow: 0 10px 22px -14px rgba(18, 140, 126, .7); }
.wa-cta > svg { width: 30px; height: 30px; color: #1fa855; flex: none; }
.wa-cta b { display: block; font-size: .95rem; }
.wa-cta small { display: block; color: var(--muted); font-size: .82rem; margin-top: 1px; }
.wa-cta > span:first-of-type { flex: 1; min-width: 0; }
.wa-cta .wa-go { flex: none; background: #25d366; color: #fff; font-weight: 700; font-size: .82rem; padding: 7px 12px; border-radius: 999px; }
.drawer-social { display: flex; gap: 8px; flex-wrap: wrap; padding: 4px 0 10px; }
.drawer-social .btn { flex: 1 1 140px; border-bottom: 0; justify-content: center; color: #fff; padding: 10px 12px; }
.drawer-social .btn svg { color: #fff !important; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; }
.tg-inline .btn-wa { flex: none; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--primary-100); }
.btn-danger { background: var(--accent); color: #fff; }
.btn-sm { padding: 7px 12px; font-size: .85rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn .arrow-i { transition: transform .2s var(--ease); }
.btn:hover .arrow-i { transform: translateX(3px); }
.menu-btn { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
}
@media (max-width: 900px) {
  .top-actions .btn-tg span { display: none; }
  .top-actions .btn-tg { padding: 10px; }
}
@media (max-width: 380px) {
  .brand { font-size: 1.02rem; gap: 8px; }
  .brand .mark { width: 34px; height: 34px; }
  .top-actions { gap: 6px; }
  .topbar .row { gap: 8px; }
}
@media (max-width: 340px) {
  .brand { font-size: .94rem; gap: 6px; }
  .brand .mark { width: 30px; height: 30px; }
  .top-actions { gap: 4px; }
  .top-actions .icon-btn, .top-actions .btn-tg { width: 36px; height: 36px; padding: 0; }
}
.drawer { display: none; border-top: 1px solid var(--border); padding: 8px 16px 16px; background: var(--surface); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.drawer.open { display: block; animation: drop .25s var(--ease); }
.drawer a { display: flex; align-items: center; gap: 10px; padding: 12px 6px; border-bottom: 1px solid var(--border); color: var(--text); font-weight: 650; }
.drawer a svg { width: 18px; height: 18px; color: var(--muted); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Arama penceresi ---------- */
.searchbar { position: fixed; inset: 0; z-index: 80; display: none; background: rgba(6, 12, 28, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 12vh 16px 16px; }
.searchbar.open { display: block; animation: fade .18s ease; }
.search-panel { max-width: 640px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); padding: 12px; animation: pop .22s var(--ease); }
@media (hover: none) { .search-panel .kbd { display: none; } }
.search-panel .search { border: 0; box-shadow: none; background: var(--surface-2); }
.search-hints { padding: 12px 8px 4px; }
.search-hints small { display: block; color: var(--muted); font-weight: 700; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; margin: 4px 0 8px; }
.search-hints .chips { gap: 6px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---------- Arama kutusu ---------- */
.search { display: flex; align-items: center; background: var(--surface); border: 1.5px solid var(--border-strong); border-radius: 14px; padding: 5px 5px 5px 16px; gap: 10px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--primary); box-shadow: var(--ring); }
.search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; padding: 11px 0; min-width: 0; font-size: 1.02rem; }
.search input::placeholder { color: var(--muted); }

/* ---------- Kahraman alanı ---------- */
.hero { position: relative; overflow: hidden; color: #fff; padding: 56px 0 44px; background: linear-gradient(160deg, #06112b 0%, #0b2257 45%, #123a9c 100%); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 20%, #000 20%, transparent 70%); }
.orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; will-change: transform; }
.orb.o1 { width: 420px; height: 420px; background: #3b82f6; top: -160px; right: -60px; animation: float1 16s ease-in-out infinite; }
.orb.o2 { width: 320px; height: 320px; background: #e11d48; bottom: -180px; right: 22%; opacity: .32; animation: float2 20s ease-in-out infinite; }
.orb.o3 { width: 260px; height: 260px; background: #8b5cf6; top: 30%; left: -120px; opacity: .35; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(-40px, 30px) scale(1.08); } }
@media (max-width: 720px) { .orb { animation: none; filter: blur(48px); } }
@keyframes float2 { 50% { transform: translate(50px, -30px) scale(.94); } }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .84rem; font-weight: 600; color: #dbe6ff; margin-bottom: 16px; backdrop-filter: blur(6px); }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin: 0 0 14px; font-weight: 800; max-width: 760px; letter-spacing: -.035em; line-height: 1.1; }
.hero h1 .grad { background: linear-gradient(90deg, #7dd3fc, #a5b4fc 45%, #fda4af); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #c9d6f5; font-size: 1.08rem; margin: 0 0 24px; max-width: 640px; }
.hero .search { max-width: 660px; border: 0; box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .55); padding: 6px 6px 6px 18px; }
.hero .search input { color: var(--text); }
.hero .search .btn { padding: 12px 22px; }
.hero .quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hero .quick a { color: #eaf0ff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 7px 13px; border-radius: 999px; font-size: .87rem; font-weight: 600; transition: all .2s var(--ease); }
.hero .quick a:hover { background: rgba(255,255,255,.18); text-decoration: none; transform: translateY(-2px); }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; max-width: 860px; }
.stat-card { padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.stat-card b { display: block; font: 800 1.6rem/1.1 var(--font-head); color: #fff; letter-spacing: -.02em; }
.stat-card span { font-size: .82rem; color: #b9c8ec; }
@media (max-width: 720px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero { padding: 38px 0 32px; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; }
.hero-main { min-width: 0; }
.hero-feed { display: none; }
@media (min-width: 1120px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 390px; }
  .hero-feed { display: block; position: relative; border-radius: 22px; padding: 16px; background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); animation: pop .6s var(--ease) both .15s; }
  .hero-feed::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(125,211,252,.55), transparent 40%, transparent 60%, rgba(253,164,175,.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
}
.hf-head { display: flex; align-items: center; gap: 10px; padding: 2px 4px 12px; }
.hf-head h2 { margin: 0; font-size: .98rem; color: #fff; font-weight: 750; }
.hf-head a { margin-left: auto; color: #b9d3ff; font-size: .84rem; font-weight: 650; display: inline-flex; align-items: center; gap: 4px; }
.hf-head a svg { width: 14px; height: 14px; }
.hero-feed ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hero-feed li { animation: feedin .55s var(--ease) both; }
.hero-feed li:nth-child(2) { animation-delay: .08s; } .hero-feed li:nth-child(3) { animation-delay: .16s; } .hero-feed li:nth-child(4) { animation-delay: .24s; } .hero-feed li:nth-child(5) { animation-delay: .32s; }
@keyframes feedin { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.hero-feed li a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(8, 18, 46, .38); border: 1px solid rgba(255,255,255,.08); color: #fff; transition: background .2s, transform .2s var(--ease), border-color .2s; }
.hero-feed li a:hover { text-decoration: none; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); transform: translateX(-3px); }
.hero-feed .logo { width: 38px; height: 38px; border-radius: 11px; font-size: .8rem; }
.hf-body { min-width: 0; display: grid; gap: 3px; }
.hf-body b { font-size: .86rem; line-height: 1.32; font-weight: 650; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hf-body small { font-size: .76rem; color: #a9bbe3; }
.hf-body small em { font-style: normal; color: #6ee7b7; font-weight: 650; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }

/* ---------- Yerleşim ---------- */
main { padding: 30px 0 60px; }
.grid-main { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 30px; align-items: start; }
@media (max-width: 1000px) { .grid-main { grid-template-columns: minmax(0, 1fr); } }
.grid-main > * { min-width: 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 16px; }
.section-head h2 { margin: 0; font-size: 1.32rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.section-head h2 .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary); flex: none; }
.section-head h2 .ico svg { width: 18px; height: 18px; }
.section-head h2 .ico.red { background: var(--accent-50); color: var(--accent); }
.section-head h2 .ico.gold { background: var(--warn-50); color: var(--warn); }
.section-head a { font-weight: 700; font-size: .9rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.section-head a svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.section-head a:hover svg { transform: translateX(3px); }
.section { margin-top: 38px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-pad { padding: 20px; }
.side > * + * { margin-top: 18px; }
.side h3 { font-size: 1rem; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
@media (min-width: 1001px) { .side { position: sticky; top: calc(var(--header-h) + 18px); } }

/* ---------- İlan kartları ---------- */
.cards { display: grid; gap: 14px; }
.card {
  --c: var(--primary);
  position: relative; display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 18px 16px 20px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.card::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); opacity: .85; }
.card.is-urgent { --c: var(--accent); }
.card.is-soon { --c: var(--gold); }
.card.is-ok { --c: var(--success); }
.card.is-muted, .card.expired { --c: var(--border-strong); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; padding-right: 40px; }
.card .logo, .logo { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; flex: none; font: 800 .95rem/1 var(--font-head); color: hsl(var(--h) 65% 28%); background: linear-gradient(145deg, hsl(var(--h) 90% 95%), hsl(var(--h) 75% 87%)); box-shadow: inset 0 0 0 1px hsl(var(--h) 60% 80% / .6); }
:root[data-theme="dark"] .logo { color: hsl(var(--h) 85% 82%); background: linear-gradient(145deg, hsl(var(--h) 45% 22%), hsl(var(--h) 45% 15%)); box-shadow: inset 0 0 0 1px hsl(var(--h) 40% 30%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo { color: hsl(var(--h) 85% 82%); background: linear-gradient(145deg, hsl(var(--h) 45% 22%), hsl(var(--h) 45% 15%)); box-shadow: inset 0 0 0 1px hsl(var(--h) 40% 30%); } }
.card-kurum { min-width: 0; }
.card .kurum { font-size: .84rem; color: var(--text-2); font-weight: 650; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-date { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.new-pill { font: 800 .66rem/1 var(--font); letter-spacing: .06em; color: #fff; background: linear-gradient(135deg, #f43f5e, #e11d48); padding: 4px 7px; border-radius: 999px; box-shadow: 0 4px 10px -4px rgba(225, 29, 72, .7); }
.card h3 { font-size: 1.07rem; margin: 0 0 10px; font-weight: 750; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card h3 a { color: var(--text); }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); z-index: 1; }
.card h3 a:hover { text-decoration: none; }
.card:hover h3 a { color: var(--primary); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card-bar { height: 4px; border-radius: 4px; background: var(--surface-3); margin-top: 12px; overflow: hidden; }
.card-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 60%, #fff)); transform-origin: left; animation: grow .9s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.save { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: all .2s var(--ease); }
.save:hover { color: var(--primary); border-color: var(--primary-100); transform: scale(1.06); }
.save svg { width: 17px; height: 17px; }
.save.on { color: #fff; background: linear-gradient(135deg, #2563eb, #1d4ed8); border-color: transparent; }
.save.on svg { fill: currentColor; }
.save.pop { animation: savepop .35s var(--ease); }
@keyframes savepop { 40% { transform: scale(1.25); } }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .86rem; color: var(--text-2); align-items: center; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 15px; height: 15px; color: var(--muted); }
.meta .starts { color: var(--primary); font-weight: 650; }
.ilan-kart { margin: 28px 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ilan-kart img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; background: linear-gradient(135deg, #06112b, #123a9c); }
.ilan-kart figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; font-size: .88rem; color: var(--text-2); }
.ilan-kart figcaption b { display: block; color: var(--text); font-size: .95rem; margin-bottom: 2px; }
.ik-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.meta .starts svg { color: var(--primary); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--primary-50); color: var(--primary); letter-spacing: .01em; }
.badge svg { width: 13px; height: 13px; }
.badge.gray { background: var(--surface-3); color: var(--text-2); }
.badge.red { background: var(--accent-50); color: var(--accent); }
.badge.green { background: var(--success-50); color: var(--success); }
.badge.warn { background: var(--warn-50); color: var(--warn); }
.dl { font-weight: 750; padding: 4px 10px; border-radius: 999px; font-size: .78rem; white-space: nowrap; }
.dl.urgent { background: var(--accent-50); color: var(--accent); }
.dl.soon { background: var(--warn-50); color: var(--warn); }
.dl.ok { background: var(--success-50); color: var(--success); }
.dl.expired, .dl.muted { background: var(--surface-3); color: var(--muted); }
.card.expired { opacity: .78; }
.day-sep { display: flex; align-items: center; gap: 10px; margin: 12px 0 2px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.day-sep::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }
.ds-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.ds-chip svg { width: 15px; height: 15px; color: var(--primary); }
.ds-chip b { color: var(--text); font-size: .86rem; font-weight: 750; }
.day-sep small { font-size: .8rem; white-space: nowrap; }

/* kenar çubuğu kısa liste */
.mini { list-style: none; margin: 0; padding: 0; }
.mini li { padding: 11px 0; border-bottom: 1px solid var(--border); }
.mini li:last-child { border-bottom: 0; padding-bottom: 0; }
.mini li:first-child { padding-top: 0; }
.mini a { color: var(--text); font-weight: 650; font-size: .92rem; display: block; line-height: 1.4; }
.mini a:hover { color: var(--primary); text-decoration: none; }
.mini small { color: var(--muted); font-size: .8rem; display: flex; gap: 8px; margin-top: 5px; align-items: center; }

/* kategori kutuları */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cat { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; color: var(--text); font-weight: 700; font-size: .92rem; line-height: 1.3; transition: all .25s var(--ease); overflow: hidden; }
.cat .ci { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--primary-50); color: var(--primary); transition: transform .3s var(--ease); }
.cat .ci svg { width: 20px; height: 20px; }
.cat span { flex: 1; min-width: 0; }
.cat em { font-style: normal; font-size: .76rem; font-weight: 800; color: var(--muted); background: var(--surface-3); border-radius: 999px; padding: 2px 9px; }
.cat:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--border)); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.cat:hover .ci { transform: rotate(-8deg) scale(1.08); }

/* telegram */
.tg-cta { background: linear-gradient(145deg, #1583c4, #229ed9 55%, #3cc0f0); color: #fff; border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; box-shadow: 0 16px 34px -18px rgba(34, 158, 217, .8); }
.tg-cta h3 { color: #fff; margin: 0 0 6px; font-size: 1.1rem; }
.tg-cta p { margin: 0 0 16px; color: #e6f6ff; font-size: .92rem; }
.tg-cta .btn { background: #fff; color: #1a7fb8; box-shadow: none; }
.tg-cta svg.bg { position: absolute; right: -20px; bottom: -22px; width: 120px; height: 120px; opacity: .16; transform: rotate(-12deg); }
.tg-inline { display: flex; align-items: center; gap: 14px; background: color-mix(in srgb, var(--tg) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--tg) 30%, var(--border)); padding: 16px 18px; border-radius: var(--radius); margin: 22px 0; }
.tg-inline p { margin: 0; flex: 1; font-size: .94rem; }
.tg-inline > svg { width: 32px; height: 32px; color: var(--tg); flex: none; }
@media (max-width: 560px) { .tg-inline { flex-direction: column; align-items: stretch; text-align: center; } .tg-inline > svg { margin: 0 auto; } }

/* ---------- Filtreler ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm); }
.filters select { appearance: none; background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236b7690' stroke-width='2'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 11px center; border: 1px solid var(--border); border-radius: 11px; padding: 9px 32px 9px 12px; font-size: .88rem; font-weight: 650; cursor: pointer; max-width: 100%; transition: border-color .2s; }
.filters select:hover { border-color: var(--border-strong); }
.filters select:focus { border-color: var(--primary); outline: 0; box-shadow: var(--ring); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip, .chips a { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); font-weight: 650; font-size: .86rem; color: var(--text-2); transition: all .2s var(--ease); }
.chip:hover, .chips a:hover { text-decoration: none; border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.chip.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.result-count { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 8px; font-weight: 800; letter-spacing: -.03em; }
.page-head p { margin: 0; color: var(--text-2); max-width: 720px; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--primary); }
.crumbs span[aria-hidden] { opacity: .45; }
.pagination { display: flex; justify-content: center; gap: 6px; margin: 30px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; color: var(--text-2); transition: all .2s; }
.pagination a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pagination .cur { background: var(--primary); border-color: var(--primary); color: #fff; }
.empty { text-align: center; padding: 56px 20px; color: var(--muted); }
.empty svg, .empty > svg { width: 50px; height: 50px; opacity: .5; display: block; margin: 0 auto 10px; }

/* ---------- İlan sayfası ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, #2563eb, #8b5cf6, #e11d48); transform-origin: 0 50%; transform: scaleX(0); }
.ilan-head { margin-bottom: 20px; }
.ilan-head .kurum-line { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.ilan-head .kurum-line a { font-weight: 700; color: var(--text-2); }
.ilan-head h1 { font-size: clamp(1.55rem, 3.6vw, 2.3rem); margin: 0 0 14px; font-weight: 800; letter-spacing: -.03em; }
.ilan-head .dates { color: var(--muted); font-size: .86rem; }
.alert { border-radius: 14px; padding: 13px 15px; font-size: .93rem; display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; border: 1px solid transparent; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert.red { background: var(--accent-50); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 20%, transparent); }
.alert.warn { background: var(--warn-50); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 20%, transparent); }
.alert.info { background: var(--primary-50); color: var(--primary); border-color: color-mix(in srgb, var(--primary) 18%, transparent); }
.alert.green { background: var(--success-50); color: var(--success); }
.alert a { font-weight: 700; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0 0 20px; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.fact:hover { transform: translateY(-2px); }
.fact .k { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 800; display: flex; align-items: center; gap: 7px; }
.fact .k svg { width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--primary-50); color: var(--primary); }
.fact .v { font-weight: 800; font-size: 1.04rem; margin-top: 8px; font-family: var(--font-head); }
.fact .v small { font-weight: 600; color: var(--muted); font-size: .8rem; font-family: var(--font); display: block; }

.summary-box { position: relative; background: linear-gradient(160deg, var(--primary-50), var(--surface) 70%); border: 1px solid var(--primary-100); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 24px; overflow: hidden; }
.summary-box::after { content: ""; position: absolute; top: -40px; right: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%); }
.summary-box h2 { font-size: 1.02rem; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; color: var(--primary); }
.summary-box h2 svg { width: 18px; height: 18px; }
.summary-box p { margin: 0 0 10px; position: relative; }
.summary-box ul { margin: 0; padding: 0; list-style: none; position: relative; }
.summary-box li { padding-left: 28px; position: relative; margin: 7px 0; }
.summary-box li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5'/%3E%3C/svg%3E") center/12px no-repeat; }

.article { font-size: 1.04rem; line-height: 1.78; color: var(--text); overflow-wrap: anywhere; }
.article h2 { font-size: 1.38rem; margin: 34px 0 12px; padding-top: 4px; font-weight: 800; scroll-margin-top: 90px; }
.article h2::before { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--primary), #8b5cf6); margin-bottom: 12px; }
.article h3 { font-size: 1.12rem; margin: 22px 0 8px; }
.article p { margin: 0 0 14px; }
.article ul, .article ol { padding-left: 22px; margin: 0 0 16px; }
.article li { margin: 6px 0; }
.article li::marker { color: var(--primary); font-weight: 800; }
.article strong { font-weight: 750; }
.article blockquote { margin: 0 0 16px; padding: 14px 18px; border-left: 4px solid var(--primary); background: var(--primary-50); border-radius: 0 14px 14px 0; color: var(--text); }
.article blockquote p:last-child { margin-bottom: 0; }
.tbl-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--border); border-radius: 14px; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow-sm); }
.article table, table.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--surface); }
.article th, .article td, table.tbl th, table.tbl td { padding: 11px 13px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.article tr:last-child td, .article tr:last-child th { border-bottom: 0; }
.article th, table.tbl thead th { background: var(--surface-2); font-weight: 750; color: var(--text-2); white-space: nowrap; }
.article tbody th { white-space: normal; width: 38%; }
.article tbody tr:hover td { background: var(--surface-2); }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; margin: 0 0 22px; font-size: .92rem; box-shadow: var(--shadow-sm); }
.toc summary { font-weight: 800; cursor: pointer; }
.toc ol { margin: 10px 0 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin: 0 0 10px; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--primary-100); }
.faq summary { padding: 15px 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.35rem; line-height: 1; color: var(--primary); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 16px; color: var(--text-2); }
.source-box { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 18px 20px; margin: 26px 0 0; font-size: .92rem; background: var(--surface); }
.source-box h2 { font-size: 1rem; margin: 0 0 10px; }
.source-box ul { margin: 0 0 10px; padding-left: 18px; }
.disclaimer { font-size: .84rem; color: var(--muted); margin: 10px 0 0; }
.disclaimer svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 2px; }

.apply-card { position: relative; overflow: hidden; }
.apply-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #2563eb, #8b5cf6, #e11d48); }
.apply-card .count { display: flex; align-items: center; gap: 14px; margin: 6px 0 16px; }
.ring { --p: 50; --c: var(--primary); width: 74px; height: 74px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--surface-3) 0); position: relative; }
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.ring b { position: relative; font: 800 1.3rem/1 var(--font-head); color: var(--text); }
.count.urgent .ring { --c: var(--accent); } .count.soon .ring { --c: var(--gold); } .count.ok .ring { --c: var(--success); }
.count .cl { font-size: .9rem; color: var(--text-2); font-weight: 650; line-height: 1.35; }
.count .cl b { display: block; font: 800 1.15rem/1.2 var(--font-head); color: var(--text); }
.apply-card .count > b { font-size: 1.9rem; font-family: var(--font-head); font-weight: 800; line-height: 1; }
.apply-card .btn + .btn { margin-top: 8px; }
.kv { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--border); font-size: .9rem; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.kv li span:first-child { color: var(--muted); }
.kv li span:last-child { font-weight: 650; text-align: right; }
.share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.share a, .share button { flex: 1; min-width: 44px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--text-2); transition: all .2s var(--ease); }
.share a:hover, .share button:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.share svg { width: 18px; height: 18px; }
.mobile-apply { display: none; }
@media (max-width: 1000px) {
  .mobile-apply { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; gap: 8px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border); }
  .mobile-apply .btn { flex: none; width: 48px; height: 48px; padding: 0; }
  .mobile-apply .btn-primary { flex: 1; width: auto; padding: 0 16px; }
  .mobile-apply .btn.on { color: #fff; background: linear-gradient(135deg, #2563eb, #1d4ed8); border-color: transparent; }
  .mobile-apply .btn.on svg { fill: currentColor; }
  .mobile-apply .btn.pop { animation: savepop .35s var(--ease); }
  body.has-mobile-apply { padding-bottom: 76px; }
}
.guides-inline { margin: 26px 0 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 16px 20px; box-shadow: var(--shadow-sm); }
.guides-inline h2 { font-size: 1rem; margin: 0 0 8px; }
.guides-inline ul { list-style: none; margin: 0; padding: 0; }
.guides-inline li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--border); font-size: .94rem; }
.guides-inline li:first-child { border-top: 0; }
.guides-inline li span { color: var(--muted); font-size: .8rem; white-space: nowrap; }

/* reklam alanı */
.ad { margin: 20px 0; min-height: 90px; text-align: center; }

/* ---------- Rehberler ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.guide-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.guide-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, #8b5cf6 14%, transparent), transparent 70%); transition: transform .5s var(--ease); }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.guide-card:hover::after { transform: scale(1.6); }
.guide-card h3 { font-size: 1.03rem; margin: 0; font-weight: 750; line-height: 1.35; }
.guide-card h3 a { color: var(--text); }
.guide-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); z-index: 1; }
.guide-card h3 a:hover { text-decoration: none; color: var(--primary); }
.guide-card p { margin: 0; color: var(--text-2); font-size: .92rem; line-height: 1.55; flex: 1; }
.gc-cat { align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); background: var(--primary-50); border-radius: 999px; padding: 3px 10px; }
.gc-meta { font-size: .8rem; color: var(--muted); }

/* ---------- SEO metinleri, iller ---------- */
.seo-text { margin-top: 34px; }
.seo-text h2 { font-size: 1.22rem; margin: 22px 0 8px; }
.seo-text h2:first-child { margin-top: 0; }
.seo-text h3 { font-size: 1.04rem; margin: 16px 0 6px; }
.seo-text p, .seo-text li { color: var(--text-2); font-size: .97rem; line-height: 1.75; }
.seo-text ul { padding-left: 20px; }
.il-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.il-grid a { display: flex; justify-content: space-between; align-items: center; gap: 6px; padding: 10px 13px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-weight: 650; font-size: .9rem; transition: all .2s var(--ease); }
.il-grid a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; transform: translateY(-2px); }
.il-grid a em { font-style: normal; font-size: .75rem; font-weight: 800; color: #fff; background: var(--primary); border-radius: 999px; padding: 1px 8px; }
.il-grid a.zero { color: var(--muted); font-weight: 500; }
.gone-box { text-align: center; padding: 38px 24px; }
.gone-box > svg { width: 44px; height: 44px; color: var(--muted); }
.gone-box h1 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 8px 0 10px; }
.gone-box p { color: var(--text-2); max-width: 620px; margin: 0 auto 10px; }

/* ---------- Alt gezinme (mobil), yukarı çık, bildirim ---------- */
.bottom-nav { display: none; }
@media (max-width: 900px) {
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 44;
    background: color-mix(in srgb, var(--surface) 86%, transparent); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
    border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 14px 40px -14px rgba(11, 21, 48, .45); padding: 6px; }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 2px; border-radius: 14px; color: var(--muted); font-size: .68rem; font-weight: 700; background: none; border: 0; cursor: pointer; position: relative; }
  .bottom-nav a:hover { text-decoration: none; }
  .bottom-nav svg { width: 21px; height: 21px; }
  .bottom-nav [aria-current="page"] { color: var(--primary); background: var(--primary-50); }
  .bottom-nav .cnt { position: absolute; top: 3px; right: calc(50% - 20px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .62rem; display: grid; place-items: center; }
  body { padding-bottom: 88px; }
  body.has-mobile-apply .bottom-nav { display: none; }
}
.to-top { position: fixed; right: 18px; bottom: 22px; z-index: 43; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--primary); }
.to-top svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .to-top { bottom: 100px; right: 14px; } body.has-mobile-apply .to-top { bottom: 92px; } }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: #0b1530; color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 650; font-size: .92rem; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); display: flex; align-items: center; gap: 8px; transition: all .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #34d399; }
@media (max-width: 900px) { .toast { bottom: 104px; } }

/* ---------- Kayıtlı ilanlar ---------- */
.saved-empty { text-align: center; padding: 50px 20px; }
.saved-empty svg { width: 54px; height: 54px; color: var(--primary); opacity: .6; }

/* ---------- Alt bilgi ---------- */
footer.site { position: relative; overflow: hidden; background: radial-gradient(700px 300px at 90% 0%, rgba(59, 130, 246, .18), transparent 60%), linear-gradient(180deg, #081634, #050d22); color: #aebbd6; padding: 50px 0 26px; font-size: .92rem; margin-top: 20px; }
footer.site a { color: #dbe4f6; }
footer.site a:hover { color: #fff; }
footer.site .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 800px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .cols > :first-child { grid-column: 1 / -1; } }
footer.site h4 { color: #fff; font-size: .92rem; margin: 0 0 12px; letter-spacing: .01em; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 7px 0; }
footer.site .brand { color: #fff; margin-bottom: 12px; }
footer.site .brand b { background: linear-gradient(90deg, #93c5fd, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: .82rem; color: #8290ae; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* ---------- Statik sayfalar ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.25rem; margin-top: 28px; }
.prose p, .prose li { color: var(--text-2); }

/* ---------- Yardımcılar ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.hide-sm { } @media (max-width: 640px) { .hide-sm { display: none !important; } }

/* ---------- Görünüm animasyonları ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .orb { display: none; }
  @view-transition { navigation: none; }
}
@media print {
  .topbar, .bottom-nav, .to-top, .mobile-apply, .side, footer.site, .ad, .share, .save { display: none !important; }
  body { background: #fff; padding: 0; }
}
.side h3 svg { width: 18px; height: 18px; color: var(--primary); }
.share .save-inline.on { color: #fff; background: linear-gradient(135deg, #2563eb, #1d4ed8); border-color: transparent; }
.share .save-inline.on svg { fill: currentColor; }
/* Görüntülenme sayacı */
.views { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.views svg { width: 14px; height: 14px; opacity: .8; flex: none; }
.dates .views b { font-weight: 700; color: var(--text-2); }
.views.bump b { animation: savepop .5s var(--ease); }
.mini-rank { counter-reset: rk; }
.mini-rank li { position: relative; padding-left: 30px; }
.mini-rank li::before { counter-increment: rk; content: counter(rk); position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font: 800 .75rem/1 var(--font); color: var(--primary); background: var(--primary-50); }
.mini-rank small .views svg { width: 12px; height: 12px; }
.mini-rank li:first-child::before { top: 0; }

/* Haftanın özeti */
.wk-tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--surface-2, #eef2f8); color: var(--muted); vertical-align: middle; }
.wk-list { list-style: none; padding: 0; margin: 0 0 16px; }
.wk-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.wk-list li:last-child { border-bottom: 0; }
.wk-list a { font-weight: 700; }
.wk-meta { display: block; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.wk-chips { margin: 6px 0 14px; }
.wk-nav { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0 8px; font-weight: 700; flex-wrap: wrap; }
.wk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.wk-card { display: flex; flex-direction: column; gap: 6px; color: var(--text); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.wk-card:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--primary); }
.wk-card-date { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); font-weight: 700; }
.wk-card-date svg { width: 16px; height: 16px; }
.wk-card b { font-family: var(--font-head); font-size: 1.12rem; }
.wk-card-sub { font-size: .86rem; color: var(--text-2); }
/* Telegram botu tanıtım kartı */
.bot-cta { display: flex; flex-direction: column; gap: 8px; }
.bot-cta p { margin: 0; font-size: .9rem; color: var(--text-2); }
.bot-cta .btn { align-self: flex-start; }
.tg-bot-link { display: block; margin-top: 10px; text-align: center; font-size: .86rem; font-weight: 700; color: #fff; opacity: .92; text-decoration: underline; text-underline-offset: 3px; }
.tg-bot-link:hover { opacity: 1; color: #fff; }

/* ---- İstatistik ve takvim sayfaları ---- */
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; color: var(--text); box-shadow: var(--shadow-sm); transition: all .2s var(--ease); }
a.kpi:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-2px); }
.kpi b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; font-family: var(--font-head); line-height: 1.1; }
.kpi span { font-size: .84rem; color: var(--text-2); line-height: 1.3; }
.kpi span small { color: var(--muted); }
@media (max-width: 860px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.chart-card { margin-bottom: 20px; }
.chart-card .section-head { margin-bottom: 10px; }
.chart-card h3 { font-size: 1rem; margin: 0 0 8px; }
.chart { width: 100%; height: auto; display: block; font-family: var(--font-body, inherit); }
.chart a { cursor: pointer; }
.chart a:hover rect { opacity: .8; }
.chart-note { font-size: .86rem; margin: 10px 0 0; }
.chart-m { display: none; }
@media (max-width: 640px) { .chart-d { display: none; } .chart-m { display: block; } }
.chart-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; }
@media (max-width: 760px) { .chart-duo { grid-template-columns: 1fr; } }
.chart-card .tbl-wrap { margin-top: 14px; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; flex-wrap: wrap; }
.cal-nav h2 { margin: 0; font-size: 1.25rem; }
.cal-nav .btns { display: flex; gap: 8px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .dow { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; text-align: center; padding: 4px 0; }
.cal .day { min-height: 92px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); padding: 6px 7px; display: flex; flex-direction: column; gap: 3px; position: relative; }
.cal .day.empty { background: transparent; border-color: transparent; }
.cal .day.past { opacity: .55; }
.cal .day.today { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.cal .day.weekend { background: var(--surface-2); }
.cal .day .n { font-size: .8rem; font-weight: 700; color: var(--text-2); display: flex; justify-content: space-between; align-items: center; }
.cal .day .n em { font-style: normal; font-size: .7rem; font-weight: 800; color: #fff; background: var(--accent); border-radius: 999px; padding: 0 7px; }
.cal .day.has .n em { background: var(--primary); }
.cal .day.urgent .n em { background: var(--accent); }
.cal .day a.it { font-size: .74rem; line-height: 1.25; color: var(--text); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal .day a.it:hover { color: var(--primary); text-decoration: none; }
.cal .day .more { font-size: .72rem; color: var(--primary); font-weight: 700; }
@media (max-width: 760px) { .cal { display: none; } }
.cal-list { display: grid; gap: 10px; }
.cal-list .cd { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); padding: 12px 14px; }
.cal-list .cd.today { border-color: var(--primary); }
.cal-list .cd h3 { margin: 0 0 8px; font-size: .98rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cal-list .cd h3 small { color: var(--muted); font-weight: 600; }
.cal-list .cd ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cal-list .cd li { display: flex; justify-content: space-between; gap: 6px 10px; align-items: baseline; font-size: .92rem; flex-wrap: wrap; }
.cal-list .cd li > span:first-child { flex: 1 1 260px; min-width: 0; }
.cal-list .cd li .gc { font-size: .76rem; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.cal-list .cd li .gc svg { width: 14px; height: 14px; flex: none; }
.cal-list .cd li .gc:hover { color: var(--primary); }
@media (min-width: 761px) { .cal-list { margin-top: 18px; } }
.tool-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tool { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; color: var(--text); box-shadow: var(--shadow-sm); transition: all .2s var(--ease); }
.tool:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-2px); }
.tool .ico { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-50); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.tool .ico svg { width: 22px; height: 22px; }
.tool b { font-size: 1rem; }
.tool > span:last-child { font-size: .86rem; color: var(--text-2); line-height: 1.4; }
@media (max-width: 640px) { .tool-duo { grid-template-columns: 1fr; } }
/* ---- Taban puanları ---- */
.tool-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .tool-trio { grid-template-columns: 1fr; } }
.tp-tool-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px 24px; align-items: center; padding: 18px 20px; margin: 0 0 20px; background: linear-gradient(135deg, var(--primary-50), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tp-tool-cta h2 { margin: 0 0 6px; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; }
.tp-tool-cta h2 svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.tp-tool-cta p { margin: 0; font-size: .9rem; color: var(--text-2); }
.tp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.tp-form label { display: grid; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.tp-form input, .tp-form select, .tp-arac input, .tp-arac select, .tp-filters input { width: 100%; border: 1px solid var(--border-strong); border-radius: 11px; padding: 9px 11px; background: var(--surface); font: inherit; font-size: .95rem; color: var(--text); min-width: 0; }
.tp-form input:focus, .tp-form select:focus, .tp-arac input:focus, .tp-arac select:focus, .tp-filters input:focus { border-color: var(--primary); outline: 0; box-shadow: var(--ring); }
.tp-form .btn { grid-column: 1 / -1; }
@media (max-width: 760px) { .tp-tool-cta { grid-template-columns: 1fr; } }
.tp-donemler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tp-donem { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface-2); color: var(--text); transition: all .2s var(--ease); }
.tp-donem:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-2px); }
.tp-donem-ad { font-size: 1.1rem; font-weight: 800; font-family: var(--font-head); letter-spacing: -.02em; }
.tp-donem-tur { font-size: .82rem; color: var(--primary); font-weight: 700; }
.tp-donem-sayi, .tp-donem-puan { font-size: .86rem; color: var(--text-2); }
@media (max-width: 640px) { .tp-donemler { grid-template-columns: 1fr; } }
.tp-il-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.tp-il-grid a { display: flex; justify-content: space-between; gap: 6px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); font-size: .88rem; font-weight: 650; color: var(--text); }
.tp-il-grid a small { color: var(--muted); font-weight: 600; }
.tp-il-grid a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
table.tp-tbl { font-size: .88rem; }
table.tp-tbl th, table.tp-tbl td { padding: 8px 10px; }
table.tp-rows th, table.tp-rows td { padding: 8px 8px; }
@media (max-width: 1100px) { table.tp-tbl th, table.tp-tbl td { padding: 8px 7px; } }
table.tp-tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.tp-rows td { font-size: .84rem; }
table.tp-tbl .tp-kod { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; color: var(--muted); margin-top: 2px; }
table.tp-tbl .tp-sart { display: block; font-size: .74rem; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.tp-kodlar { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; line-height: 1.5; }
.tp-kodlar li { padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2, transparent); }
.tp-kodlar b { font-family: ui-monospace, Menlo, Consolas, monospace; }
table.tp-tbl th.tp-kurum small { font-weight: 600; text-transform: none; }
table.tp-rows td.tp-kurum { min-width: 240px; }
table.tp-tbl .tp-nw { white-space: nowrap; }
table.tp-tbl .tp-il-m, table.tp-tbl .tp-ms, table.tp-tbl .tp-u-m { display: none; }
table.tp-tbl .tp-sub { font-size: .76rem; color: var(--muted); font-weight: 500; }
@media (max-width: 640px) { table.tp-tbl .tp-mh { display: none; } table.tp-tbl .tp-ms { display: inline; } table.tp-tbl .tp-ms.tp-sub { display: block; } table.tp-tbl th, table.tp-tbl td { padding: 8px 7px; } table.tp-rows td.tp-kurum { min-width: 150px; } }
@media (max-width: 640px) { table.tp-tbl .tp-u-m { display: block; font-size: .8rem; font-weight: 600; color: var(--text-2); margin-top: 2px; } }
@media (max-width: 640px) { table.tp-tbl .tp-il-m { display: inline; font-family: var(--font); font-weight: 700; color: var(--text-2); } table.tp-tbl .tp-il-d { display: none; } table.tp-rows td.tp-kurum { min-width: 170px; } }
@media (max-width: 640px) { table.tp-tbl th.tp-wrap { white-space: normal; min-width: 66px; } table.tp-bolum td:first-child { min-width: 140px; } }
/* Tablo kabı daralınca (yan sütunlu 1024 px gibi ekranlarda da) kısa düzen: ikincil sütunlar gizlenir, il / unvan / tavan alt satıra iner */
.tbl-wrap:has(> table.tp-tbl) { container: tblw / inline-size; }
@container tblw (max-width: 760px) {
  table.tp-tbl .tp-mh { display: none; } table.tp-tbl .tp-ms { display: inline; } table.tp-tbl .tp-ms.tp-sub { display: block; }
  table.tp-tbl th, table.tp-tbl td { padding: 8px 7px; }
  table.tp-tbl .tp-u-m { display: block; font-size: .8rem; font-weight: 600; color: var(--text-2); margin-top: 2px; }
  table.tp-tbl .tp-il-m { display: inline; font-family: var(--font); font-weight: 700; color: var(--text-2); } table.tp-tbl .tp-il-d { display: none; }
  table.tp-rows td.tp-kurum { min-width: 170px; }
  table.tp-tbl th.tp-wrap { white-space: normal; min-width: 66px; } table.tp-bolum td:first-child { min-width: 140px; }
}
/* Çok dar kap (360 px telefon): boşluklar ve en küçük genişlikler biraz daha daralır */
@container tblw (max-width: 330px) {
  table.tp-tbl { font-size: .84rem; } table.tp-tbl th, table.tp-tbl td { padding: 7px 5px; }
  table.tp-tbl th.tp-wrap { min-width: 52px; } table.tp-rows td.tp-kurum { min-width: 140px; } table.tp-bolum td:first-child { min-width: 118px; }
}
table.tp-bolum tr.tp-grup th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 9px 10px; }
table.tp-bolum td a b { font-weight: 700; }
table.tp-rows td.tp-kurum a { font-weight: 600; }
.tp-mini { font-size: .74rem; font-weight: 700; color: var(--muted); margin-left: 4px; }
.tp-mini:hover { color: var(--primary); }
.tp-nav { display: flex; justify-content: space-between; gap: 8px; margin: 0 0 16px; flex-wrap: wrap; }
.tp-filters input { width: auto; flex: 1 1 120px; max-width: 170px; font-size: .88rem; padding: 8px 11px; background: var(--surface-2); border-color: var(--border); }
.tp-filters select { max-width: 240px; }
.tp-check { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 650; color: var(--text-2); }
.tp-arac { margin-bottom: 20px; }
.tp-arac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; }
.tp-field { display: grid; gap: 4px; }
.tp-field > span { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.tp-field-btn .btn { padding: 11px 16px; }
.tp-err { margin: 12px 0 0; color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .tp-arac-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tp-arac-grid { grid-template-columns: 1fr; } }
.tp-donem-sonuc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.tp-ds { display: grid; gap: 6px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--text); font-size: .86rem; }
.tp-ds:hover { border-color: var(--primary); text-decoration: none; }
.tp-ds b { font-size: 1rem; }
.tp-ds-bar { display: block; height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.tp-ds-bar i { display: block; height: 100%; background: var(--primary); border-radius: 999px; }
@media (max-width: 640px) { .tp-donem-sonuc { grid-template-columns: 1fr; } }
.tp-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 10px; font-size: .84rem; color: var(--text-2); }
.tp-box { margin: 0 0 22px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.tp-box .section-head { margin: 0 0 10px; }
.tp-box .section-head h2 { font-size: 1.1rem; }
.tp-box .section-head h2 svg { width: 20px; height: 20px; color: var(--primary); }
.tp-box-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.tp-box-list li { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .88rem; }
.tp-box-list li:last-child { border-bottom: 0; }
.tp-box-unvan { font-weight: 750; }
.tp-box-meta { color: var(--muted); font-size: .8rem; }
.tp-box-puan { color: var(--text-2); }
.tp-box > p.muted { margin: 0; font-size: .82rem; }
/* Bölüm sayfası: akademik ve bölüm şartsız ilan bölümleri */
.il-grid a em.ak { background: var(--surface-2, #eef1f6); color: var(--text-2); font-weight: 700; }
.bolum-ek { margin: 22px 0; }
.bolum-ek h2 { font-size: 1.12rem; margin: 0 0 4px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.bolum-ek h2 small { color: var(--muted); font-weight: 650; font-size: .85rem; }
.bolum-ek > p { margin: 0 0 12px; color: var(--muted); font-size: .9rem; }
.bolum-ek .ek-tum { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .9rem; }
.bolum-sekme { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.badge.bolum-duzey { background: color-mix(in srgb, var(--primary) 10%, var(--surface)); color: var(--primary); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.fakulte-not { margin: 14px 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: .92rem; }

/* ---------- Telegram grubu sayfaları (/telegram-gruplari) ---------- */
.tg-grup { background: linear-gradient(160deg, color-mix(in srgb, var(--tg) 10%, var(--surface)), var(--surface) 75%); border: 1px solid color-mix(in srgb, var(--tg) 32%, var(--border)); border-radius: var(--radius); padding: 18px; margin: 0 0 24px; display: grid; gap: 12px; }
.tg-grup-kart { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.tg-grup-kart.ikinci { background: transparent; }
.tg-grup-ikon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--tg) 14%, var(--surface)); color: var(--tg); }
.tg-grup-ikon svg { width: 22px; height: 22px; }
.tg-grup-bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tg-grup-bilgi b { font-size: 1rem; overflow-wrap: anywhere; }
.tg-grup-bilgi span { font-size: .86rem; color: var(--muted); overflow-wrap: anywhere; }
.tg-grup-kart .btn { flex: none; }
.tg-grup .btn-lg { padding: 13px 20px; font-size: 1rem; }
.tg-grup-not { margin: 2px 2px 0; font-size: .94rem; color: var(--text-2); }
.tg-liste { display: grid; gap: 10px; }
@media (max-width: 560px) { .tg-grup-kart { flex-wrap: wrap; } .tg-grup-kart .btn { width: 100%; } }
/* KPSS tercih robotu */
.tr-sonuc { margin: 18px 0; }
.tr-ozet { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 4px 0 12px; }
.tr-ozet-k { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.tr-aksiyon { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.tr-kodlar { margin: 0 0 12px; font-size: .9rem; }
.tr-kodlar summary { cursor: pointer; font-weight: 650; }
.tr-kodlar ul { margin: 8px 0 0; padding-left: 18px; }
.tr-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tr-kontrol { counter-reset: none; }
.tr-k { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--border-strong); border-radius: 12px; padding: 10px 12px; display: grid; gap: 3px; font-size: .92rem; }
.tr-k.tr-guvenli { border-left-color: var(--success); }
.tr-k.tr-riskli { border-left-color: var(--warn); }
.tr-k.tr-zor, .tr-k.tr-hata { border-left-color: var(--accent); }
.tr-k.tr-bos { border-left-color: var(--primary); }
.tr-k.tr-olu { opacity: .72; }
.tr-k-ust { line-height: 1.35; }
.tr-k-alt, .tr-k-gecmis { color: var(--text-2); font-size: .85rem; }
.tr-k-ek { color: var(--warn); font-size: .84rem; }
.tr-k-sart { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 4px; }
.tr-sart { display: inline-flex; align-items: center; gap: 3px; font-size: .76rem; line-height: 1.3; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border); max-width: 100%; }
.tr-sart-belge { background: var(--primary-50); color: var(--primary-700); border-color: color-mix(in srgb, var(--primary) 22%, transparent); }
.tr-sart-eksik { background: var(--accent-50); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 25%, transparent); font-weight: 600; }
.tr-sart-kosul { background: var(--surface-2); color: var(--text-2); }
.tr-sart-ozel, .tr-sart-cins { background: var(--warn-50); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 22%, transparent); }
.tr-k.tr-hata .tr-k-ek { color: var(--accent); }
.tr-kod { font-size: .82rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 0 5px; user-select: all; }
.tr-uyari ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.tr-liste-ac { margin-top: 10px; }
.tr-liste-ac summary { cursor: pointer; }
.tr-tur { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.tr-tur-k { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 12px; cursor: pointer; background: var(--surface); }
.tr-tur-k.secili { border-color: var(--primary); box-shadow: var(--ring); }
.tr-tur-k input { margin-top: 4px; }
.tr-tur-k span { display: grid; gap: 2px; font-size: .9rem; line-height: 1.35; }
.tr-tur-k small { color: var(--text-2); font-size: .8rem; }
.tr-oneri, .tr-il { margin: 0 0 12px; }
.tr-oneri summary, .tr-il summary { cursor: pointer; }
.tr-oneri-liste { margin: 0; padding-left: 22px; display: grid; gap: 5px; font-size: .9rem; }
.tr-saglik { margin: 0 0 12px; font-size: .9rem; }
.tr-saglik ul { margin-top: 6px; }
@media (max-width: 640px) { .tr-tur { grid-template-columns: 1fr; } }
.tr-tbl { font-size: .86rem; }
.tr-tbl th, .tr-tbl td { padding: 7px 9px; white-space: nowrap; }
.tr-yuzde { margin: 0 0 10px; font-size: .95rem; display: grid; gap: 4px; }
.tr-esik summary { cursor: pointer; font-size: .85rem; color: var(--primary); }
.tr-esik p { margin: 6px 0 0; font-size: .85rem; color: var(--text-2); }

/* Telegram grup sayfası: makale ortasındaki ve ekranın altına yapışık katıl düğmesi */
.tg-orta { margin: 26px 0; }
/* Alttaki yapışık çubuklar: mobilde alt gezinmenin (≈76 px) üstünde durur */
.tg-yapiskan, .tr-sepet { position: fixed; left: 10px; right: 10px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 43; display: flex; justify-content: center; pointer-events: none; }
.tg-yapiskan .btn, .tr-sepet .btn { pointer-events: auto; width: min(520px, 100%); justify-content: center; box-shadow: 0 12px 30px -12px rgba(11, 21, 48, .55); }
@media (max-width: 900px) { .tg-yapiskan, .tr-sepet { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); right: 66px; } }
@media (min-width: 1000px) { .tg-yapiskan { display: none; } }
main:has(.tg-yapiskan), main:has(.tr-sepet:not([hidden])) { padding-bottom: 64px; }
/* Tercih robotu: listem (sepet), süzgeç, uygulama içi tarayıcı uyarısı */
.tr-k { position: relative; }
.tr-ekle { justify-self: start; margin-top: 4px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--primary); border-radius: 999px; padding: 4px 11px; font: inherit; font-size: .8rem; font-weight: 650; cursor: pointer; white-space: nowrap; }
.tr-ekle.ekli { background: color-mix(in srgb, var(--success) 14%, var(--surface)); color: var(--success); border-color: color-mix(in srgb, var(--success) 45%, var(--border)); }
code.tr-kod { cursor: copy; }
.tr-arac { position: sticky; top: var(--header-h); z-index: 5; background: color-mix(in srgb, var(--bg, var(--surface)) 94%, transparent); backdrop-filter: blur(6px); padding: 8px 0 6px; margin: 0 0 8px; display: grid; gap: 8px; }
.tr-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.tr-chips::-webkit-scrollbar { display: none; }
.tr-chip { flex: none; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.tr-chip.secili { background: var(--primary); border-color: var(--primary); color: #fff; }
.tr-chip b { font-weight: 800; margin-left: 2px; }
.tr-arac-alt { display: flex; gap: 8px; flex-wrap: wrap; }
.tr-arac-alt input, .tr-arac-alt select { flex: 1 1 180px; min-width: 0; border: 1px solid var(--border-strong); border-radius: 11px; padding: 9px 11px; font: inherit; font-size: .92rem; background: var(--surface); color: var(--text); }
.tr-arac-sayac { margin: 0; font-size: .82rem; }
.tr-inapp { margin: 0 0 10px; }
.tr-son { margin: 0 0 10px; font-size: .92rem; }
.tr-sepet[hidden] { display: none; }
.tr-sepet-panel { width: min(640px, calc(100vw - 24px)); max-height: min(86vh, 900px); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.tr-sepet-panel::backdrop { background: rgba(8, 14, 30, .55); }
.tr-panel-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.tr-panel-bas h2 { margin: 0; font-size: 1.15rem; }
.tr-kapat { border: 0; background: transparent; color: var(--text-2); font-size: 1.2rem; cursor: pointer; padding: 4px 8px; }
.tr-listem { margin: 0 0 12px; padding-left: 1.6em; display: grid; gap: 6px; }
.tr-listem li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.tr-listem li > div { display: flex; }
.tr-listem-bilgi { gap: 6px; flex-wrap: wrap; font-size: .9rem; line-height: 1.35; }
.tr-listem-dug { gap: 6px; margin-top: 4px; }
.tr-listem-dug button { border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); border-radius: 8px; min-width: 36px; height: 32px; font: inherit; cursor: pointer; }
.tr-panel-alt { display: flex; flex-wrap: wrap; gap: 8px; position: sticky; bottom: -16px; background: var(--surface); padding: 10px 0 0; }
.tr-toast { position: fixed; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .9rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); max-width: calc(100vw - 32px); text-align: center; }
.tr-form-kap > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0 0 14px; font-size: .95rem; }
.tr-form-kap > summary::-webkit-details-marker { display: none; }
.tr-form-kap[open] > summary { display: none; }
.tr-degistir { margin-left: auto; color: var(--primary); font-weight: 700; }
/* Tercih robotu: sonuç çıkmayınca yol gösterme */
.tr-bosluk { padding: 32px 18px; }
.tr-bosluk-yol { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 0; }
.tr-bosluk-yetmez .tr-bosluk-yol { justify-content: flex-start; }
.tr-bosluk-yetmez { margin-bottom: 10px; }
/* Tercih robotu: aramalı bölüm seçici (yerel select'in optgroup gizlemesi telefonda çalışmaz) */
.tr-bolum-alan { grid-column: 1 / -1; }
.tr-bolum-alan > label { display: contents; }
.tr-bolum-alan > label > span { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.tr-bolum-ara { margin-bottom: 2px; }
.tr-bolum-not { margin: 0; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tr-bolum-gec { border: 1px dashed var(--primary); color: var(--primary); background: transparent; border-radius: 999px; padding: 3px 10px; font: inherit; font-size: .8rem; cursor: pointer; }
.tr-bolum-liste { display: flex; flex-wrap: wrap; gap: 6px; max-height: 190px; overflow: auto; padding: 8px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-2); -webkit-overflow-scrolling: touch; }
.tr-bolum-liste:empty { display: none; }
.tr-bolum-liste button { border: 1px solid var(--border-strong); border-radius: 999px; padding: 7px 12px; background: var(--surface); color: var(--text); font: inherit; font-size: .9rem; line-height: 1.25; cursor: pointer; text-align: left; }
.tr-bolum-liste button small { color: var(--muted); font-size: .75rem; }
.tr-bolum-liste button:hover, .tr-bolum-liste button:focus-visible { border-color: var(--primary); outline: 0; }
.tr-bolum-liste button.secili { border-color: var(--primary); background: var(--primary); color: #fff; }
.tr-bolum-liste button.secili small { color: rgba(255,255,255,.8); }
.tr-bolum-secili { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px; border: 1px solid var(--primary); border-radius: 11px; background: var(--surface-2); font-weight: 600; }
/* Tercih robotu: premium kilidi */
.tr-prm { margin: 12px 0 4px; padding: 14px 16px; border: 1px dashed var(--primary); border-radius: 14px; background: var(--primary-50); }
.tr-prm-ust { font-size: 1rem; }
.tr-prm-ne { margin: 6px 0 10px; font-size: .9rem; color: var(--text-2); }
.tr-prm-al { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tr-prm-al .btn small { font-weight: 500; opacity: .85; }
.tr-prm-kutu { border: 2px solid var(--primary); scroll-margin-top: calc(var(--header-h, 64px) + 12px); }
.tr-prm-form { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.tr-prm-form input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.tr-prm-aktif { margin: 0 0 10px; font-size: .9rem; color: var(--success); }
.tr-prm-aktif code { font-size: .85rem; }
.tr-bulanik { filter: blur(4px); user-select: none; pointer-events: none; opacity: .7; }
.tr-donem-tbl td, .tr-donem-tbl th { white-space: nowrap; }
@media (max-width: 600px) { .tr-prm-form { flex-direction: column; align-items: stretch; } .tr-prm-form .btn { width: 100%; } }
.tr-btn-sar { white-space: normal; text-align: center; line-height: 1.3; }
.tr-btn-sar small { font-weight: 500; opacity: .85; }
.dar-goster { display: none; }
@media (max-width: 640px) { .tr-donem-tbl .dar-gizle { display: none; } .tr-donem-tbl .dar-goster { display: inline; } .tr-donem-tbl td { white-space: normal; } }
.tr-donem-tbl td:first-child b { white-space: nowrap; }
/* Tercih robotu: "puan yetmiyor" paketi */
.tr-hedef-puan { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--primary-50); border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border)); }
.tr-hedef-puan > b { flex: none; }
.tr-hedef-puan > small { flex-basis: 100%; }
.tr-hp { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .86rem; }
.tr-hp > b { color: var(--primary); }
.tr-alt-yol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--success-50); border: 1px solid color-mix(in srgb, var(--success) 30%, var(--border)); font-size: .92rem; }
.tr-taban-tbl td { vertical-align: top; }
.tr-taban-tbl .tr-kod { font-size: .75rem; }
@media (max-width: 640px) { .tr-taban-tbl { font-size: .84rem; } .tr-taban-tbl td, .tr-taban-tbl th { padding-left: 6px; padding-right: 6px; } }
