    /* ═══════════════════════════════════════════════════════════════
     FUTURISTIC APPLE GLASSMORPHISM — YKS 2026
     Tüm CSS; JavaScript ve ID/class isimlerine dokunulmadı.
  ═══════════════════════════════════════════════════════════════ */

    /* ─── GOOGLE FONTS ─── */
    @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=JetBrains+Mono:wght@400;500;700&display=swap');

    /* ─── DESIGN TOKENS ─── */
    :root {
      /* Core palette */
      --bg: #0c0a15;
      --bg2: rgba(255, 255, 255, 0.03);
      --bg3: rgba(255, 255, 255, 0.04);
      --card: rgba(255, 255, 255, 0.045);
      --card2: rgba(255, 255, 255, 0.07);
      --border: rgba(255, 255, 255, 0.08);
      --border2: rgba(255, 255, 255, 0.13);

      /* Brand colours */
      --accent: #8b5cf6;
      --accent2: #6d28d9;
      --accent3: #c4b5fd;
      --blue: #3b82f6;
      --blue2: #60a5fa;
      --green: #10b981;
      --red: #ef4444;
      --purple: #a78bfa;
      --teal: #2dd4bf;

      /* Puan türü renkleri */
      --tyt-color: #8b5cf6;
      --say-color: #3b82f6;
      --soz-color: #a78bfa;
      --ea-color: #10b981;
      --dil-color: #ec4899;

      /* Text */
      --text: #eef0f8;
      --text2: #9aa8c7;
      --text3: #4e6080;

      /* Glow colours */
      --glow-blue: rgba(96, 165, 250, 0.55);
      --glow-purple: rgba(196, 181, 253, 0.55);
      --glow-accent: rgba(139, 92, 246, 0.5);
      --glow-green: rgba(16, 185, 129, 0.5);
      --glow-red: rgba(239, 68, 68, 0.5);

      /* Glass surface */
      --glass-bg: rgba(13, 11, 24, 0.52);
      --glass-blur: blur(28px) saturate(180%);
      --glass-border: 1px solid rgba(196, 181, 253, 0.12);
      --glass-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* ─── BODY & BACKGROUND ─── */
    body {
      background: var(--bg);
      background-image: radial-gradient(ellipse 120% 80% at 50% -10%, #171026 0%, #0c0a15 100%);
      background-attachment: fixed;
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      min-height: 100vh;
      overflow-x: hidden;
    }

    /* Neon gas-cloud orbs — fixed behind everything */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 55% at 15% 20%, rgba(124, 58, 237, .22) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 85% 10%, rgba(37, 99, 235, .18) 0%, transparent 60%),
        radial-gradient(ellipse 55% 45% at 70% 80%, rgba(167, 139, 250, .16) 0%, transparent 60%),
        radial-gradient(ellipse 40% 35% at 10% 75%, rgba(124, 58, 237, .14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(37, 99, 235, .10) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
      animation: orbShift 28s ease-in-out infinite alternate;
    }

    @keyframes orbShift {
      0% {
        opacity: 1;
        filter: hue-rotate(0deg);
      }

      50% {
        opacity: .85;
        filter: hue-rotate(18deg);
      }

      100% {
        opacity: 1;
        filter: hue-rotate(-12deg);
      }
    }

    /* Subtle dot grid overlay */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        radial-gradient(circle, rgba(255, 255, 255, .03) 1px, transparent 1px);
      background-size: 36px 36px;
      pointer-events: none;
      z-index: 0;
      opacity: .03;
    }

    /* ─── LAYOUT WRAPPER ─── */
    .wrapper {
      position: relative;
      z-index: 1;
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 24px 100px;
    }

    /* ─── GLASS MIXIN (utility class & custom properties) ─── */
    .glass {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: var(--glass-border);
      box-shadow: var(--glass-shadow);
    }

    /* ══════════════════════════════════════════════════════
     HEADER — İyileştirilmiş
  ══════════════════════════════════════════════════════ */
    .header {
      padding: 56px 0 44px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      margin-bottom: 44px;
      gap: 0;
      position: relative;
    }

    /* ─── CANLI BADGE ─── (kaldırıldı, stilini koruyoruz sadece ileride lazim olması için) */
    .header-badge {
      display: none;
    }

    .header-badge-dot {
      display: none;
    }

    /* ─── ANA MARKA BAŞlİĞİ ─── */
    h1,
    .site-brand {
      font-family: 'Syne', sans-serif;
      font-size: clamp(44px, 7vw, 72px);
      font-weight: 800;
      line-height: 1.0;
      letter-spacing: -0.045em;
      margin-bottom: 0;
      background: linear-gradient(130deg,
          #a78bfa 0%,
          #c4b5fd 38%,
          #ffffff 65%,
          #e2d9ff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      position: relative;
      display: inline-block;
      filter: drop-shadow(0 0 32px rgba(139, 92, 246, 0.28));
    }

    /* Alt çizgi aksanı */
    .site-brand::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -6px;
      width: 100%;
      height: 2px;
      background: linear-gradient(90deg,
          rgba(139, 92, 246, 0) 0%,
          rgba(167, 139, 250, 0.85) 30%,
          rgba(196, 181, 253, 1) 50%,
          rgba(167, 139, 250, 0.85) 70%,
          rgba(139, 92, 246, 0) 100%);
      border-radius: 2px;
      filter: blur(0.5px);
    }

    /* Alt başlık */
    .header-main-title {
      display: block;
      font-family: 'Syne', sans-serif;
      font-size: clamp(15px, 2.2vw, 20px);
      font-weight: 600;
      color: var(--text2);
      letter-spacing: -0.01em;
      margin-top: 10px;
    }

    .header-main-title span {
      color: #c4b5fd;
      text-shadow: 0 0 16px rgba(196, 181, 253, 0.35);
    }

    /* Açıklama metni */
    .header-sub {
      margin-top: 14px;
      color: var(--text3);
      font-size: 14px;
      font-weight: 400;
      max-width: 520px;
      line-height: 1.6;
      letter-spacing: .01em;
    }

    /* Buton grubu — Apple Glassmorphism Design */
    .header-actions {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-top: 26px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .tfl-btn,
    .header-btn-tercih,
    .header-btn-saat,
    .header-btn-tertiary {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 11px 22px;
      border-radius: 14px;
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: 0.01em;
      text-decoration: none;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow: hidden;
    }

    /* Apple Top Glass Glare on Action Buttons */
    .tfl-btn::before,
    .header-btn-tercih::before,
    .header-btn-saat::before,
    .header-btn-tertiary::before,
    .settings-trigger-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 42%;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
      border-radius: 13px 13px 0 0;
      pointer-events: none;
    }

    /* Light Sheen Sweep Animation on Hover */
    .tfl-btn::after,
    .header-btn-tercih::after,
    .header-btn-saat::after,
    .header-btn-tertiary::after,
    .settings-trigger-btn::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -60%;
      width: 50%;
      height: 200%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
      transform: rotate(25deg);
      transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
    }

    .tfl-btn:hover::after,
    .header-btn-tercih:hover::after,
    .header-btn-saat:hover::after,
    .header-btn-tertiary:hover::after,
    .settings-trigger-btn:hover::after {
      left: 130%;
    }

    /* Tactile Active State */
    .tfl-btn:active,
    .header-btn-tercih:active,
    .header-btn-saat:active,
    .header-btn-tertiary:active {
      transform: translateY(0) scale(0.97);
    }

    .tfl-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      transition: transform 0.3s ease;
    }

    .tfl-btn:hover .tfl-icon,
    .header-btn-tercih:hover .tfl-icon,
    .header-btn-saat:hover .tfl-icon,
    .header-btn-tertiary:hover .tfl-icon {
      transform: scale(1.15);
    }

    /* 1. Tfl Durum'a Git — Cyber Violet */
    .tfl-btn {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.22) 0%, rgba(109, 40, 217, 0.12) 100%);
      border: 1px solid rgba(196, 181, 253, 0.4);
      color: #c4b5fd;
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 16px rgba(139, 92, 246, 0.15);
    }

    .tfl-btn:hover {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.38) 0%, rgba(109, 40, 217, 0.28) 100%);
      border-color: rgba(196, 181, 253, 0.75);
      color: #ffffff;
      transform: translateY(-2px) scale(1.02);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 8px 28px rgba(139, 92, 246, 0.4), 0 0 16px rgba(196, 181, 253, 0.25);
    }

    /* 2. Tercih Durum — Royal Amethyst */
    .header-btn-tercih {
      background: linear-gradient(135deg, rgba(109, 40, 217, 0.22) 0%, rgba(76, 29, 149, 0.14) 100%);
      border: 1px solid rgba(167, 139, 250, 0.38);
      color: #a78bfa;
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 16px rgba(109, 40, 217, 0.15);
    }

    .header-btn-tercih:hover {
      background: linear-gradient(135deg, rgba(109, 40, 217, 0.38) 0%, rgba(76, 29, 149, 0.28) 100%);
      border-color: rgba(167, 139, 250, 0.75);
      color: #ffffff;
      transform: translateY(-2px) scale(1.02);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 8px 28px rgba(109, 40, 217, 0.4), 0 0 16px rgba(167, 139, 250, 0.25);
    }

    /* 3. Saat Durum — Sky Cyan */
    .header-btn-saat {
      background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(56, 189, 248, 0.12) 100%);
      border: 1px solid rgba(56, 189, 248, 0.4);
      color: #38bdf8;
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 16px rgba(14, 165, 233, 0.15);
    }

    .header-btn-saat:hover {
      background: linear-gradient(135deg, rgba(14, 165, 233, 0.38) 0%, rgba(56, 189, 248, 0.25) 100%);
      border-color: rgba(125, 211, 252, 0.85);
      color: #ffffff;
      transform: translateY(-2px) scale(1.02);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 8px 28px rgba(14, 165, 233, 0.4), 0 0 16px rgba(56, 189, 248, 0.25);
    }

    /* 4. Takdir Durum — Emerald Mint */
    .header-btn-tertiary {
      background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(13, 148, 136, 0.1) 100%);
      border: 1px solid rgba(45, 212, 191, 0.38);
      color: #5eead4;
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 16px rgba(20, 184, 166, 0.15);
    }

    .header-btn-tertiary:hover {
      background: linear-gradient(135deg, rgba(20, 184, 166, 0.35) 0%, rgba(13, 148, 136, 0.25) 100%);
      border-color: rgba(94, 234, 212, 0.8);
      color: #ffffff;
      transform: translateY(-2px) scale(1.02);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 8px 28px rgba(20, 184, 166, 0.4), 0 0 16px rgba(45, 212, 191, 0.25);
    }

    /* 5. Ayarlar Butonu — Apple Glass Gear */
    .settings-trigger-btn {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      background: rgba(255, 255, 255, .05);
      border: 1px solid rgba(255, 255, 255, .15);
      border-radius: 14px;
      color: var(--text3);
      cursor: pointer;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18);
      flex-shrink: 0;
      overflow: hidden;
    }

    .settings-trigger-btn:hover {
      background: rgba(139, 92, 246, .22);
      border-color: rgba(196, 181, 253, .65);
      color: #ffffff;
      transform: translateY(-2px) scale(1.02);
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 8px 24px rgba(139, 92, 246, 0.35);
    }

    .settings-trigger-btn:active {
      transform: translateY(0) scale(0.94) !important;
    }

    .settings-trigger-btn svg {
      transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .settings-trigger-btn:hover svg {
      transform: rotate(90deg);
    }

    /* Yıl watermark */
    .header-year {
      position: absolute;
      top: 22px;
      right: 0;
      font-family: 'JetBrains Mono', monospace;
      font-size: 38px;
      font-weight: 400;
      color: rgba(255, 255, 255, .05);
      line-height: 1;
      user-select: none;
      letter-spacing: -.02em;
      pointer-events: none !important;
    }

    /* İnce ayırıcı çizgi altında stat satırı */
    .header-stats {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-top: 28px;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, .05);
      width: 100%;
      justify-content: center;
      flex-wrap: wrap;
    }

    .header-stat-item {
      display: flex;
      align-items: center;
      gap: 7px;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--text3);
      letter-spacing: .04em;
    }

    .header-stat-item strong {
      color: var(--text2);
      font-weight: 500;
    }

    .header-stat-sep {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .15);
    }

    @media (max-width: 600px) {
      .header {
        padding: 40px 0 32px;
      }

      .header-year {
        font-size: 26px;
      }

      .header-actions {
        gap: 8px;
      }

      .header-stats {
        gap: 12px;
      }
    }

    /* ══════════════════════════════════════════════════════
     GLASS CARDS — shared surface style
  ══════════════════════════════════════════════════════ */
    .section-card {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: var(--glass-border);
      box-shadow: var(--glass-shadow);
      border-radius: 22px;
      padding: 32px 36px;
      margin-bottom: 20px;
      transition: border-color .35s ease, box-shadow .35s ease;
      position: relative;
      overflow: hidden;
    }

    .section-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(196, 181, 253, 0.4) 50%, transparent 100%);
      pointer-events: none;
    }

    .section-card:hover {
      border-color: rgba(196, 181, 253, 0.24);
      box-shadow: 0 20px 56px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    }

    .section-header {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 26px;
    }

    .section-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      flex-shrink: 0;
      box-shadow: 0 0 10px currentColor;
    }

    .section-title {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
    }

    .section-meta {
      margin-left: auto;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--text3);
      letter-spacing: .06em;
    }

    /* ══════════════════════════════════════════════════════
     DIPLOMA NOTE SECTION
  ══════════════════════════════════════════════════════ */
    .diploma-full {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .diploma-slider-wrap {
      flex: 1;
      min-width: 200px;
    }

    .diploma-value {
      font-family: 'Syne', sans-serif;
      font-size: 32px;
      font-weight: 800;
      color: var(--accent);
      min-width: 74px;
      text-align: center;
      text-shadow: 0 0 24px rgba(139, 92, 246, .45);
    }

    .diploma-obp {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      color: var(--text3);
      margin-top: 4px;
    }

    .diploma-obp span {
      color: var(--green);
    }

    /* ─── KIRIK OBP / ÖNCEKİ SENE YERLEŞTİM BUTONU (GÜÇLENDİRİLMİŞ) ─── */
    .kirik-obp-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 10px 18px;
      border-radius: 14px;
      background: rgba(239, 68, 68, 0.05);
      border: 1px solid rgba(239, 68, 68, 0.22);
      color: var(--text2);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
      position: relative;
      overflow: hidden;
    }

    /* Hover Durumu */
    .kirik-obp-btn:hover {
      background: rgba(239, 68, 68, 0.12);
      border-color: rgba(239, 68, 68, 0.45);
      color: #fca5a5;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(239, 68, 68, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    /* Aktif (Seçili) Durum — Kırmızı Neon Glow */
    .kirik-obp-btn.active {
      background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(185, 28, 28, 0.15) 100%);
      border-color: rgba(239, 68, 68, 0.7);
      color: #ffffff;
      font-weight: 700;
      box-shadow:
        0 8px 25px rgba(239, 68, 68, 0.35),
        0 0 15px rgba(239, 68, 68, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    /* Checkbox Özel Neon Stili */
    .kirik-obp-btn input[type="checkbox"] {
      appearance: none;
      -webkit-appearance: none;
      width: 18px;
      height: 18px;
      border: 1px solid rgba(239, 68, 68, 0.4);
      border-radius: 6px;
      background: rgba(0, 0, 0, 0.3);
      cursor: pointer;
      position: relative;
      transition: all 0.25s ease;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .kirik-obp-btn input[type="checkbox"]:checked {
      background: #ef4444;
      border-color: #fca5a5;
      box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
    }

    .kirik-obp-btn input[type="checkbox"]:checked::after {
      content: '✓';
      font-size: 12px;
      color: #ffffff;
      font-weight: 900;
    }

    /* Diploma section uses default section-card glass */
    .diploma-section {
      border-radius: 20px;
      padding: 28px 32px;
      margin-bottom: 24px;
      display: flex;
      align-items: center;
      gap: 32px;
      flex-wrap: wrap;
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: var(--glass-border);
      box-shadow: var(--glass-shadow);
      position: relative;
      overflow: hidden;
    }

    .diploma-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(196, 181, 253, 0.3) 50%, transparent 100%);
      pointer-events: none;
    }

    .diploma-label {
      font-family: 'Syne', sans-serif;
      font-size: 15px;
      font-weight: 700;
      color: var(--accent);
    }

    .diploma-desc {
      color: var(--text3);
      font-size: 12px;
      margin-top: 2px;
    }

    /* ─── SLIDER ─── */
    input[type="range"] {
      -webkit-appearance: none;
      width: 100%;
      height: 4px;
      background: linear-gradient(90deg, rgba(139, 92, 246, .5), rgba(139, 92, 246, .15));
      border-radius: 2px;
      outline: none;
      cursor: pointer;
    }

    input[type="range"]::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: var(--accent);
      cursor: pointer;
      box-shadow: 0 0 0 4px rgba(139, 92, 246, .2), 0 0 16px rgba(139, 92, 246, .4);
      transition: box-shadow .2s;
    }

    input[type="range"]::-webkit-slider-thumb:hover {
      box-shadow: 0 0 0 6px rgba(196, 181, 253, .25), 0 0 24px rgba(196, 181, 253, .6);
    }

    /* ══════════════════════════════════════════════════════
     TABS
  ══════════════════════════════════════════════════════ */
    .tabs {
      display: flex;
      gap: 6px;
      background: rgba(18, 14, 34, 0.55);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: 1px solid rgba(196, 181, 253, 0.14);
      box-shadow: var(--glass-shadow);
      border-radius: 18px;
      padding: 7px;
      margin-bottom: 22px;
      flex-wrap: wrap;
    }

    .tab-btn {
      flex: 1;
      padding: 11px 18px;
      background: transparent;
      border: 1px solid transparent;
      border-radius: 12px;
      color: var(--text3);
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .04em;
      cursor: pointer;
      transition: all .28s cubic-bezier(.4, 0, .2, 1);
      white-space: nowrap;
      min-width: 80px;
    }

    .tab-btn:hover {
      color: var(--text2);
      background: rgba(255, 255, 255, .06);
      border-color: rgba(255, 255, 255, .1);
    }

    .tab-btn.active {
      background: linear-gradient(135deg, rgba(167, 139, 250, .28) 0%, rgba(139, 92, 246, .18) 100%);
      border-color: rgba(196, 181, 253, .45);
      color: #c4b5fd;
      box-shadow: 0 4px 20px rgba(139, 92, 246, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
    }

    /* ══════════════════════════════════════════════════════
     PANELS
  ══════════════════════════════════════════════════════ */
    .panel {
      display: none;
    }

    .panel.active {
      display: block;
      animation: fadeIn .35s ease;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* ══════════════════════════════════════════════════════
     SUBJECT GRID (ders kartları)
  ══════════════════════════════════════════════════════ */
    .subjects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(226px, 1fr));
      gap: 14px;
    }

    .subject-item {
      background: rgba(255, 255, 255, 0.035);
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 18px;
      padding: 20px 22px;
      transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 32px rgba(0, 0, 0, 0.35);
      position: relative;
      overflow: hidden;
    }

    .subject-item::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(196, 181, 253, 0.3) 50%, transparent 100%);
      pointer-events: none;
    }

    .subject-item:hover {
      border-color: rgba(196, 181, 253, 0.3);
      background: rgba(255, 255, 255, 0.055);
      transform: translateY(-3px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.15);
    }

    .subject-item.error {
      border-color: rgba(239, 68, 68, 0.6) !important;
      box-shadow: 0 0 20px rgba(239, 68, 68, 0.25) !important;
    }

    .subject-name {
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 14px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      letter-spacing: -0.01em;
    }

    .q-count {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 600;
      color: #c4b5fd;
      background: rgba(139, 92, 246, 0.12);
      border: 1px solid rgba(196, 181, 253, 0.25);
      padding: 3px 10px;
      border-radius: 100px;
      backdrop-filter: blur(8px);
    }

    .inputs-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .input-group label {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 10px;
      font-weight: 700;
      color: var(--text3);
      margin-bottom: 6px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: .06em;
    }

    .input-group label .correct {
      color: #10b981;
      text-shadow: 0 0 8px rgba(16, 185, 129, 0.25);
    }

    .input-group label .wrong {
      color: #ef4444;
      text-shadow: 0 0 8px rgba(239, 68, 68, 0.25);
    }

    /* ─── NUMBER INPUTS — Dark Glass Inset ─── */
    input[type="number"] {
      width: 100%;
      height: 42px;
      background: rgba(0, 0, 0, 0.28) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 12px;
      padding: 0 12px;
      color: #ffffff !important;
      font-family: 'JetBrains Mono', monospace;
      font-size: 16px;
      font-weight: 700;
      text-align: center;
      outline: none;
      transition: all 0.25s ease;
      -moz-appearance: textfield;
      backdrop-filter: blur(12px);
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35);
    }

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
      -webkit-appearance: none;
    }

    input[type="number"]:focus {
      border-color: rgba(196, 181, 253, 0.6) !important;
      background: rgba(139, 92, 246, 0.08) !important;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 16px rgba(139, 92, 246, 0.25) !important;
    }

    input[type="number"].correct-input:focus {
      border-color: rgba(16, 185, 129, 0.65) !important;
      background: rgba(16, 185, 129, 0.08) !important;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 16px rgba(16, 185, 129, 0.25) !important;
    }

    input[type="number"].wrong-input:focus {
      border-color: rgba(239, 68, 68, 0.65) !important;
      background: rgba(239, 68, 68, 0.08) !important;
      box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 16px rgba(239, 68, 68, 0.25) !important;
    }

    /* SELECT */
    select {
      width: 100%;
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .09);
      border-radius: 12px;
      padding: 9px 12px;
      color: var(--text);
      font-family: 'JetBrains Mono', monospace;
      font-size: 14px;
      outline: none;
      cursor: pointer;
      transition: all .25s ease;
      backdrop-filter: blur(8px);
      -webkit-appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7090' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 12px center;
      padding-right: 32px;
    }

    select:focus {
      border-color: rgba(167, 139, 250, .6);
      background-color: rgba(167, 139, 250, .06);
      box-shadow: 0 0 0 3px rgba(167, 139, 250, .14), 0 0 20px rgba(167, 139, 250, .12);
    }

    select option {
      background: #12131e;
      color: var(--text);
    }

    .net-preview {
      margin-top: 14px;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      font-family: 'JetBrains Mono', monospace;
      font-size: 11.5px;
      color: var(--text3);
      display: flex;
      justify-content: flex-end;
      align-items: center;
      gap: 6px;
    }

    .net-preview span {
      color: #c4b5fd;
      font-size: 14px;
      font-weight: 700;
      text-shadow: 0 0 12px rgba(196, 181, 253, 0.4);
    }

    .error-msg {
      display: none;
      color: var(--red);
      font-size: 10.5px;
      margin-top: 8px;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 600;
    }

    /* ══════════════════════════════════════════════════════
     CALCULATE BUTTON — Ultra Glassmorphism
   ══════════════════════════════════════════════════════ */
    .calc-wrap {
      margin: 48px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      flex-wrap: wrap;
    }

    .calc-btn-container {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .calc-btn-glow {
      position: absolute;
      inset: -4px;
      border-radius: 22px;
      background: linear-gradient(135deg,
          rgba(139, 92, 246, 0.6) 0%,
          rgba(109, 40, 217, 0.4) 50%,
          rgba(196, 181, 253, 0.6) 100%);
      filter: blur(12px);
      opacity: 0.45;
      transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
      animation: calcPulseGlow 3.5s ease-in-out infinite;
      pointer-events: none;
    }

    @keyframes calcPulseGlow {

      0%,
      100% {
        opacity: 0.4;
        filter: blur(10px);
        transform: scale(0.98);
      }

      50% {
        opacity: 0.75;
        filter: blur(16px);
        transform: scale(1.02);
      }
    }

    .calc-btn {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      background: linear-gradient(135deg,
          rgba(139, 92, 246, 0.32) 0%,
          rgba(109, 40, 217, 0.22) 50%,
          rgba(15, 12, 28, 0.75) 100%);
      border: 1px solid rgba(196, 181, 253, 0.45);
      color: #ffffff;
      padding: 18px 52px;
      border-radius: 18px;
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 800;
      letter-spacing: .03em;
      cursor: pointer;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.28),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(109, 40, 217, 0.35);
      transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow: hidden;
    }

    /* Üst cam parlaması */
    .calc-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 48%;
      background: linear-gradient(180deg,
          rgba(255, 255, 255, 0.18) 0%,
          rgba(255, 255, 255, 0) 100%);
      border-radius: 17px 17px 0 0;
      pointer-events: none;
    }

    /* Işık huzmesi sweeps */
    .calc-btn::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -60%;
      width: 50%;
      height: 200%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
      transform: rotate(25deg);
      transition: all 0.6s ease;
      pointer-events: none;
    }

    .calc-btn-sparkle {
      display: inline-flex;
      align-items: center;
      color: #c4b5fd;
      transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
    }

    .calc-btn-text {
      position: relative;
      z-index: 1;
      text-shadow: 0 0 12px rgba(196, 181, 253, 0.4);
    }

    .calc-btn-arrow {
      display: inline-flex;
      align-items: center;
      color: rgba(255, 255, 255, 0.7);
      transition: transform 0.3s ease, color 0.3s ease;
    }

    /* Hover & Active States */
    .calc-btn-container:hover .calc-btn-glow {
      opacity: 0.9;
      filter: blur(18px);
      transform: scale(1.05);
    }

    .calc-btn:hover {
      transform: translateY(-3px) scale(1.02);
      border-color: rgba(196, 181, 253, 0.85);
      background: linear-gradient(135deg,
          rgba(139, 92, 246, 0.48) 0%,
          rgba(109, 40, 217, 0.38) 100%);
      box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 14px 44px rgba(139, 92, 246, 0.5),
        0 0 28px rgba(196, 181, 253, 0.4);
      color: #ffffff;
    }

    .calc-btn:hover::after {
      left: 130%;
    }

    .calc-btn:hover .calc-btn-sparkle {
      transform: rotate(180deg) scale(1.15);
      color: #ffffff;
    }

    .calc-btn:hover .calc-btn-arrow {
      transform: translateX(4px);
      color: #c4b5fd;
    }

    .calc-btn:active {
      transform: translateY(-1px) scale(0.995);
      box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(139, 92, 246, 0.25);
    }

    /* ─── KARNE BUTONU (PUANIMI HESAPLA TARZINDA PREMIUM TASARIM) ─── */
    .karne-wrap {
      text-align: center;
      margin-top: 36px;
      padding-bottom: 12px;
    }

    .karne-btn-container {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }

    .karne-btn-glow {
      position: absolute;
      inset: 0px;
      border-radius: 16px;
      background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(59, 130, 246, 0.12) 60%, transparent 100%);
      filter: blur(8px);
      opacity: 0;
      transition: opacity 0.4s ease;
      pointer-events: none;
    }

    /* Glow yalnızca karneBtn göründüğünde aktif olur */
    #karneBtn:not([style*="display: none"]) ~ .karne-btn-glow,
    #karneBtn[style*="inline-flex"] ~ .karne-btn-glow {
      opacity: 0.3;
    }

    .karne-btn-container:hover .karne-btn-glow {
      opacity: 0.5;
      filter: blur(12px);
    }

    .karne-btn {
      position: relative;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      background: linear-gradient(135deg,
          rgba(37, 99, 235, 0.35) 0%,
          rgba(124, 58, 237, 0.22) 50%,
          rgba(15, 23, 42, 0.8) 100%);
      border: 1px solid rgba(147, 197, 253, 0.45);
      color: #ffffff;
      padding: 18px 52px;
      border-radius: 18px;
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 800;
      letter-spacing: .03em;
      cursor: pointer;
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.28),
        inset 0 -1px 2px rgba(0, 0, 0, 0.4),
        0 8px 32px rgba(37, 99, 235, 0.35);
      transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow: hidden;
    }

    /* Üst Cam Parlaması */
    .karne-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 48%;
      background: linear-gradient(180deg,
          rgba(255, 255, 255, 0.18) 0%,
          rgba(255, 255, 255, 0) 100%);
      border-radius: 17px 17px 0 0;
      pointer-events: none;
    }

    /* Işık Huzmesi Sweeps */
    .karne-btn::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -60%;
      width: 50%;
      height: 200%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
      transform: rotate(25deg);
      transition: all 0.6s ease;
      pointer-events: none;
    }

    .karne-btn-icon {
      display: inline-flex;
      align-items: center;
      color: #93c5fd;
      transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
    }

    .karne-btn-text {
      position: relative;
      z-index: 1;
      text-shadow: 0 0 12px rgba(147, 197, 253, 0.4);
    }

    .karne-btn-arrow {
      display: inline-flex;
      align-items: center;
      color: rgba(255, 255, 255, 0.7);
      transition: transform 0.3s ease, color 0.3s ease;
    }

    /* Hover & Active States */
    .karne-btn-container:hover .karne-btn-glow {
      opacity: 0.9;
      filter: blur(18px);
      transform: scale(1.05);
    }

    .karne-btn:hover {
      transform: translateY(-3px) scale(1.02);
      border-color: rgba(147, 197, 253, 0.85);
      background: linear-gradient(135deg,
          rgba(37, 99, 235, 0.5) 0%,
          rgba(124, 58, 237, 0.38) 100%);
      box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 14px 44px rgba(37, 99, 235, 0.5),
        0 0 28px rgba(147, 197, 253, 0.4);
      color: #ffffff;
    }

    .karne-btn:hover::after {
      left: 130%;
    }

    .karne-btn:hover .karne-btn-icon {
      transform: scale(1.15) rotate(-5deg);
      color: #ffffff;
    }

    .karne-btn:hover .karne-btn-arrow {
      transform: translateX(4px);
      color: #93c5fd;
    }

    .karne-btn:active {
      transform: translateY(-1px) scale(0.995);
      box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(37, 99, 235, 0.25);
    }

    .reset-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .12);
      color: var(--text3);
      padding: 18px 26px;
      border-radius: 18px;
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: all .28s cubic-bezier(.4, 0, .2, 1);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
      letter-spacing: .01em;
    }

    .reset-btn:hover {
      background: rgba(255, 255, 255, .09);
      border-color: rgba(255, 255, 255, .22);
      color: var(--text2);
      transform: translateY(-2px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    /* ══════════════════════════════════════════════════════
     WARNING BANNER
  ══════════════════════════════════════════════════════ */
    .warn-banner {
      background: rgba(239, 68, 68, .08);
      border: 1px solid rgba(239, 68, 68, .28);
      border-radius: 14px;
      padding: 14px 20px;
      color: var(--red);
      font-size: 13px;
      margin-bottom: 18px;
      display: none;
      backdrop-filter: blur(10px);
      box-shadow: 0 0 20px rgba(239, 68, 68, .1);
    }

    .warn-banner.show {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .warn-icon {
      font-size: 16px;
      flex-shrink: 0;
    }

    /* ══════════════════════════════════════════════════════
     RESULTS SECTION
  ══════════════════════════════════════════════════════ */
    #results {
      display: none;
      margin-top: 44px;
    }

    #results.visible {
      display: block;
      animation: fadeIn .5s ease;
    }

    .results-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 30px;
    }

    .results-title {
      font-family: 'Syne', sans-serif;
      font-size: 22px;
      font-weight: 800;
      background: linear-gradient(135deg, var(--text) 0%, var(--text2) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .results-divider {
      flex: 1;
      height: 1px;
      background: linear-gradient(90deg, rgba(255, 255, 255, .1), transparent);
    }

    /* ─── OBP BAR ─── */
    .obp-bar {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: var(--glass-border);
      box-shadow: var(--glass-shadow);
      border-radius: 16px;
      padding: 16px 28px;
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 24px;
      flex-wrap: wrap;
    }

    .obp-item {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .obp-item-label {
      font-size: 10px;
      color: var(--text3);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: .08em;
    }

    .obp-item-val {
      font-size: 17px;
      font-weight: 600;
      color: var(--green);
      font-family: 'JetBrains Mono', monospace;
      text-shadow: 0 0 16px rgba(16, 185, 129, .3);
    }

    .obp-divider {
      width: 1px;
      height: 36px;
      background: rgba(255, 255, 255, .08);
    }

    /* ─── SCORE GRID (DARK APPLE GLASSMORPHISM) ─── */
    .score-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 24px;
    }

    .score-card {
      /* Koyu Gece Mavisi / Siyah Glass Taban */
      background: linear-gradient(145deg, rgba(15, 12, 28, 0.85) 0%, rgba(8, 6, 16, 0.92) 100%);
      backdrop-filter: blur(32px) saturate(200%);
      -webkit-backdrop-filter: blur(32px) saturate(200%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
      border-radius: 24px;
      padding: 26px;
      position: relative;
      overflow: hidden;
      transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .score-card:hover {
      transform: translateY(-5px) scale(1.015);
      border-color: rgba(196, 181, 253, 0.28);
      box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    /* Üst Cam Parlama Çizgisi */
    .score-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      border-radius: 24px 24px 0 0;
      z-index: 2;
    }

    .score-card.tyt::before {
      background: linear-gradient(90deg, var(--tyt-color), transparent 70%);
      box-shadow: 0 0 12px var(--tyt-color);
    }

    .score-card.say::before {
      background: linear-gradient(90deg, var(--say-color), transparent 70%);
      box-shadow: 0 0 12px var(--say-color);
    }

    .score-card.soz::before {
      background: linear-gradient(90deg, var(--soz-color), transparent 70%);
      box-shadow: 0 0 12px var(--soz-color);
    }

    .score-card.ea::before {
      background: linear-gradient(90deg, var(--ea-color), transparent 70%);
      box-shadow: 0 0 12px var(--ea-color);
    }

    .score-card.dil::before {
      background: linear-gradient(90deg, var(--dil-color), transparent 70%);
      box-shadow: 0 0 12px var(--dil-color);
    }

    /* Koyu Arka Plan Üzerine Derin Neon Hüzmesi (Sağ Alt Şekil) */
    .score-card::after {
      content: '';
      position: absolute;
      bottom: -40px;
      right: -40px;
      width: 140px;
      height: 140px;
      border-radius: 50%;
      filter: blur(45px);
      opacity: 0.22;
      pointer-events: none;
      transition: all 0.35s ease;
      z-index: 0;
    }

    .score-card:hover::after {
      opacity: 0.45;
      transform: scale(1.2);
    }

    .score-card.tyt::after {
      background: var(--tyt-color);
    }

    .score-card.say::after {
      background: var(--say-color);
    }

    .score-card.soz::after {
      background: var(--soz-color);
    }

    .score-card.ea::after {
      background: var(--ea-color);
    }

    .score-card.dil::after {
      background: var(--dil-color);
    }

    /* Kart İç Metinleri */
    .score-type {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: .16em;
      font-weight: 700;
      margin-bottom: 16px;
      text-transform: uppercase;
      position: relative;
      z-index: 1;
    }

    .score-card.tyt .score-type {
      color: var(--tyt-color);
      text-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
    }

    .score-card.say .score-type {
      color: var(--say-color);
      text-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
    }

    .score-card.soz .score-type {
      color: var(--soz-color);
      text-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
    }

    .score-card.ea .score-type {
      color: var(--ea-color);
      text-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
    }

    .score-card.dil .score-type {
      color: var(--dil-color);
      text-shadow: 0 0 12px rgba(236, 72, 153, 0.4);
    }

    .score-ham {
      font-family: 'Syne', sans-serif;
      font-size: 38px;
      font-weight: 800;
      line-height: 1;
      margin-bottom: 6px;
      letter-spacing: -.03em;
      color: #ffffff;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
      position: relative;
      z-index: 1;
    }

    .score-ham-label {
      font-size: 10.5px;
      color: var(--text3);
      margin-bottom: 16px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: .06em;
      position: relative;
      z-index: 1;
    }

    .score-yer {
      padding-top: 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      z-index: 1;
    }

    .score-yer-label {
      font-size: 11px;
      color: var(--text2);
      font-weight: 500;
    }

    .score-yer-val {
      font-family: 'JetBrains Mono', monospace;
      font-size: 17px;
      font-weight: 700;
      color: #ffffff;
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    /* Score progress bar */
    .score-bar-wrap {
      margin-top: 12px;
    }

    .score-bar-track {
      height: 3px;
      background: rgba(255, 255, 255, .06);
      border-radius: 2px;
      overflow: hidden;
    }

    .score-bar-fill {
      height: 100%;
      border-radius: 2px;
      transition: width 1.1s cubic-bezier(.22, .68, 0, 1.2);
    }

    .score-card.tyt .score-bar-fill {
      background: linear-gradient(90deg, var(--tyt-color), rgba(245, 158, 11, .4));
    }

    .score-card.say .score-bar-fill {
      background: linear-gradient(90deg, var(--say-color), rgba(59, 130, 246, .4));
    }

    .score-card.soz .score-bar-fill {
      background: linear-gradient(90deg, var(--soz-color), rgba(167, 139, 250, .4));
    }

    .score-card.ea .score-bar-fill {
      background: linear-gradient(90deg, var(--ea-color), rgba(16, 185, 129, .4));
    }

    .score-card.dil .score-bar-fill {
      background: linear-gradient(90deg, var(--dil-color), rgba(236, 72, 153, .4));
    }

    /* ─── NET DETAIL SECTION ─── */
    .net-detail-section {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: var(--glass-border);
      box-shadow: var(--glass-shadow);
      border-radius: 20px;
      overflow: hidden;
      margin-bottom: 24px;
    }

    .net-detail-header {
      padding: 18px 30px;
      border-bottom: 1px solid rgba(255, 255, 255, .07);
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: var(--text2);
    }

    .net-detail-grid {
      padding: 22px 30px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .net-item {
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .07);
      border-radius: 12px;
      padding: 14px 16px;
      transition: all .25s;
    }

    .net-item:hover {
      background: rgba(255, 255, 255, .06);
      border-color: rgba(255, 255, 255, .12);
    }

    .net-item-name {
      font-size: 11px;
      color: var(--text3);
      margin-bottom: 7px;
      letter-spacing: .03em;
    }

    .net-item-val {
      font-family: 'JetBrains Mono', monospace;
      font-size: 16px;
      font-weight: 600;
    }

    .net-item-val.positive {
      color: var(--green);
      text-shadow: 0 0 12px rgba(16, 185, 129, .3);
    }

    .net-item-val.negative {
      color: var(--red);
      text-shadow: 0 0 12px rgba(239, 68, 68, .3);
    }

    .net-item-val.zero {
      color: var(--text3);
    }

    .net-item-sub {
      font-size: 10px;
      color: var(--text3);
      margin-top: 3px;
      font-family: 'JetBrains Mono', monospace;
    }

    /* ── NET ÖZET KARTLARI (TYT / AYT / YDT toplam) — DARK APPLE GLASSMORPHISM ── */
    .net-summary-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      margin-bottom: 16px;
    }

    @media (max-width: 700px) {
      .net-summary-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
      }
    }

    @media (max-width: 460px) {
      .net-summary-row {
        grid-template-columns: 1fr;
        gap: 10px;
      }
    }

    .net-summary-card {
      position: relative;
      overflow: hidden;
      border-radius: 22px;
      padding: 22px 20px 18px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      /* Koyu Gece Mavisi / Siyah Glass Taban */
      background: linear-gradient(145deg, rgba(15, 12, 28, 0.85) 0%, rgba(8, 6, 16, 0.92) 100%);
      backdrop-filter: blur(32px) saturate(190%);
      -webkit-backdrop-filter: blur(32px) saturate(190%);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
      transition: transform .32s cubic-bezier(.25, .8, .25, 1),
        box-shadow .32s cubic-bezier(.25, .8, .25, 1),
        border-color .32s ease;
    }

    /* Üst yansıma şeridi */
    .net-summary-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .18) 50%, transparent 100%);
      border-radius: 22px 22px 0 0;
      pointer-events: none;
    }

    /* Renkli alt çizgi aksanı */
    .net-summary-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 16px;
      right: 16px;
      height: 2px;
      border-radius: 2px;
      opacity: .4;
      transition: opacity .28s ease;
    }

    .net-summary-card:hover {
      transform: translateY(-4px);
      box-shadow:
        0 28px 56px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .net-summary-card:hover::after {
      opacity: 0.85;
    }

    /* TYT — Lavender & Siber Violet */
    .net-summary-card.tyt-summary {
      border-color: rgba(139, 92, 246, .22);
    }

    .net-summary-card.tyt-summary::after {
      background: linear-gradient(90deg, transparent, rgba(196, 181, 253, .6), transparent);
    }

    .net-summary-card.tyt-summary:hover {
      border-color: rgba(196, 181, 253, .45);
      box-shadow: 0 20px 48px rgba(139, 92, 246, .22), 0 4px 12px rgba(0, 0, 0, .4);
    }

    /* AYT — Blue */
    .net-summary-card.ayt-summary {
      border-color: rgba(59, 130, 246, .22);
    }

    .net-summary-card.ayt-summary::after {
      background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .6), transparent);
    }

    .net-summary-card.ayt-summary:hover {
      border-color: rgba(96, 165, 250, .45);
      box-shadow: 0 20px 48px rgba(59, 130, 246, .18), 0 4px 12px rgba(0, 0, 0, .4);
    }

    /* YDT — Pink */
    .net-summary-card.ydt-summary {
      border-color: rgba(236, 72, 153, .22);
    }

    .net-summary-card.ydt-summary::after {
      background: linear-gradient(90deg, transparent, rgba(236, 72, 153, .6), transparent);
    }

    .net-summary-card.ydt-summary:hover {
      border-color: rgba(236, 72, 153, .45);
      box-shadow: 0 20px 48px rgba(236, 72, 153, .18), 0 4px 12px rgba(0, 0, 0, .4);
    }

    .net-summary-label {
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;
      font-family: 'JetBrains Mono', monospace;
      margin-bottom: 10px;
      opacity: .8;
    }

    .tyt-summary .net-summary-label {
      color: #c4b5fd;
    }

    .ayt-summary .net-summary-label {
      color: #93c5fd;
    }

    .ydt-summary .net-summary-label {
      color: #f9a8d4;
    }

    /* RAKAMLAR VE PARLAMA — Kısık ve zarif seviyeye çekildi */
    .net-summary-val {
      font-family: 'Syne', sans-serif;
      font-size: 38px;
      font-weight: 800;
      line-height: 1;
      letter-spacing: -.02em;
      margin-bottom: 8px;
    }

    .tyt-summary .net-summary-val {
      color: #e2d9ff;
      text-shadow: 0 0 18px rgba(139, 92, 246, .3);
    }

    .ayt-summary .net-summary-val {
      color: #dbeafe;
      text-shadow: 0 0 18px rgba(96, 165, 250, .3);
    }

    .ydt-summary .net-summary-val {
      color: #fce7f3;
      text-shadow: 0 0 18px rgba(236, 72, 153, .3);
    }

    .net-summary-desc {
      font-size: 9.5px;
      color: var(--text3);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: .04em;
    }

    /* ══════════════════════════════════════════════════════
     RANKING TABLE
  ══════════════════════════════════════════════════════ */
    .ranking-section {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: var(--glass-border);
      box-shadow: var(--glass-shadow);
      border-radius: 20px;
      overflow: hidden;
      margin-bottom: 24px;
    }

    .ranking-header {
      padding: 24px 30px;
      border-bottom: 1px solid rgba(255, 255, 255, .07);
      display: flex;
      align-items: center;
      gap: 12px;
      flex-wrap: wrap;
    }

    .ranking-title {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 700;
    }

    .ranking-note {
      margin-left: auto;
      font-size: 11px;
      color: var(--text3);
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: .05em;
    }

    /* Ham Sıralama / Yerleştirme mod seçici */
    .rank-mode-selector {
      display: flex;
      gap: 8px;
      padding: 14px 28px 0;
      flex-wrap: wrap;
    }

    .rankmode-btn {
      padding: 8px 20px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, .09);
      background: rgba(255, 255, 255, .04);
      color: var(--text3);
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: all .25s ease;
      backdrop-filter: blur(8px);
    }

    .rankmode-btn:hover {
      background: rgba(255, 255, 255, .08);
      border-color: rgba(255, 255, 255, .15);
      color: var(--text2);
    }

    .rankmode-btn.active {
      background: rgba(139, 92, 246, .18);
      color: #c4b5fd;
      border-color: rgba(196, 181, 253, .4);
      box-shadow: 0 0 16px rgba(139, 92, 246, .25);
    }

    /* Puan type selector */
    .puan-selector {
      display: flex;
      gap: 8px;
      padding: 16px 28px;
      border-bottom: 1px solid rgba(255, 255, 255, .07);
      flex-wrap: wrap;
    }

    .puan-btn {
      padding: 7px 18px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, .09);
      background: rgba(255, 255, 255, .04);
      color: var(--text3);
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: all .25s ease;
      backdrop-filter: blur(8px);
    }

    .puan-btn:hover {
      background: rgba(255, 255, 255, .08);
      border-color: rgba(255, 255, 255, .15);
      color: var(--text2);
    }

    .puan-btn.active-tyt {
      background: rgba(139, 92, 246, .18);
      color: var(--tyt-color);
      border-color: rgba(196, 181, 253, .4);
      box-shadow: 0 0 16px rgba(139, 92, 246, .25);
    }

    .puan-btn.active-say {
      background: rgba(59, 130, 246, .14);
      color: var(--say-color);
      border-color: rgba(59, 130, 246, .35);
      box-shadow: 0 0 14px rgba(59, 130, 246, .15);
    }

    .puan-btn.active-soz {
      background: rgba(167, 139, 250, .14);
      color: var(--soz-color);
      border-color: rgba(167, 139, 250, .35);
      box-shadow: 0 0 14px rgba(167, 139, 250, .15);
    }

    .puan-btn.active-ea {
      background: rgba(16, 185, 129, .14);
      color: var(--ea-color);
      border-color: rgba(16, 185, 129, .35);
      box-shadow: 0 0 14px rgba(16, 185, 129, .15);
    }

    .puan-btn.active-dil {
      background: rgba(236, 72, 153, .14);
      color: var(--dil-color);
      border-color: rgba(236, 72, 153, .35);
      box-shadow: 0 0 14px rgba(236, 72, 153, .15);
    }

    .ranking-table-wrap {
      overflow-x: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

    th {
      padding: 14px 28px;
      text-align: left;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: .09em;
      color: var(--text3);
      border-bottom: 1px solid rgba(255, 255, 255, .07);
      font-weight: 500;
      background: rgba(255, 255, 255, .02);
    }

    td {
      padding: 16px 28px;
      border-bottom: 1px solid rgba(255, 255, 255, .04);
      font-size: 14px;
      transition: background .2s;
    }

    tr:last-child td {
      border-bottom: none;
    }

    tr:hover td {
      background: rgba(139, 92, 246, 0.04);
    }

    .year-badge {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 800;
    }

    .rank-val {
      font-family: 'JetBrains Mono', monospace;
      font-size: 15px;
      font-weight: 500;
    }

    /* Vurgulu Yerleştirme Sıralaması Rozeti */
    .yerlestirme-rank-badge {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 18px;
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(124, 58, 237, 0.35) 50%, rgba(99, 102, 241, 0.25) 100%);
      border: 1px solid rgba(196, 181, 253, 0.45);
      border-radius: 12px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.25),
        inset 0 -1px 2px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(139, 92, 246, 0.3);
      transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
      overflow: hidden;
    }

    .yerlestirme-rank-badge::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 40%;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%);
      border-radius: 11px 11px 0 0;
      pointer-events: none;
    }

    .yerlestirme-rank-badge:hover {
      transform: translateY(-2px) scale(1.03);
      border-color: rgba(196, 181, 253, 0.75);
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.35) 0%, rgba(124, 58, 237, 0.48) 50%, rgba(99, 102, 241, 0.35) 100%);
      box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        0 8px 28px rgba(168, 85, 247, 0.45),
        0 0 16px rgba(196, 181, 253, 0.3);
    }

    .yer-rank-num {
      position: relative;
      z-index: 1;
      font-family: 'JetBrains Mono', monospace;
      font-size: 1.08rem;
      font-weight: 800;
      color: #ffffff;
      letter-spacing: -0.02em;
      text-shadow: 0 0 12px rgba(196, 181, 253, 0.6), 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .rank-bar-cell {
      min-width: 180px;
    }

    .rank-bar-track {
      height: 5px;
      background: rgba(255, 255, 255, .06);
      border-radius: 3px;
      overflow: hidden;
      margin-top: 7px;
    }

    .rank-bar-fill {
      height: 100%;
      border-radius: 3px;
      transition: width 1.1s cubic-bezier(.22, .68, 0, 1.2);
    }

    .rank-desc {
      color: var(--text3);
      font-size: 12px;
    }

    .rank-est {
      color: var(--accent3);
      font-size: 10px;
      font-family: 'JetBrains Mono', monospace;
    }

    /* ══════════════════════════════════════════════════════
     TERSİNE MÜHENDİSLİK PANELİ
  ══════════════════════════════════════════════════════ */
    #rev_summaryBar {
      background: rgba(255, 255, 255, .04) !important;
      border: 1px solid rgba(255, 255, 255, .09) !important;
      border-radius: 14px !important;
      backdrop-filter: blur(14px) !important;
    }

    /* ══════════════════════════════════════════════════════
     TOOLTIP INFO
  ══════════════════════════════════════════════════════ */
    .info-tip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      background: rgba(255, 255, 255, .07);
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 50%;
      font-size: 10px;
      color: var(--text3);
      cursor: help;
      position: relative;
      transition: all .2s;
    }

    .info-tip:hover {
      background: rgba(96, 165, 250, .15);
      border-color: rgba(96, 165, 250, .4);
      color: var(--blue2);
      box-shadow: 0 0 10px rgba(96, 165, 250, .2);
    }

    .info-tip:hover::after {
      content: attr(data-tip);
      position: absolute;
      bottom: 26px;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(12, 14, 22, .95);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, .12);
      color: var(--text);
      font-size: 11px;
      padding: 8px 14px;
      border-radius: 10px;
      white-space: nowrap;
      z-index: 200;
      pointer-events: none;
      font-family: 'DM Sans', sans-serif;
      box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
    }

    /* ══════════════════════════════════════════════════════
     RESPONSIVE
  ══════════════════════════════════════════════════════ */
    @media (max-width: 640px) {
      .header {
        padding: 30px 0 24px;
      }

      .header-year {
        position: static;
        margin-top: 15px;
        font-size: 32px;
        opacity: 1;
      }

      .tfl-btn {
        margin-top: 10px;
      }
    }

    /* ══════════════════════════════════════════════════════
     SCROLLBAR
  ══════════════════════════════════════════════════════ */
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
    }

    ::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, .12);
      border-radius: 3px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, .2);
    }

    /* ══════════════════════════════════════════════════════
     INLINE STYLE OVERRIDES
     Inline stillerdeki eski opak değişkenleri override et
  ══════════════════════════════════════════════════════ */

    /* EA / DİL katsayı grid kutusu */
    #eaCoeffGrid,
    [style*="background:var(--bg3)"],
    [style*="background: var(--bg3)"] {
      background: rgba(255, 255, 255, .04) !important;
      border-color: rgba(255, 255, 255, .09) !important;
      backdrop-filter: blur(12px);
    }

    /* Tersine mühendislik inline input'lar */
    #rev_siralama,
    #rev_diploma {
      background: rgba(255, 255, 255, .04) !important;
      border: 1px solid rgba(255, 255, 255, .09) !important;
      border-radius: 10px !important;
      color: var(--text) !important;
      backdrop-filter: blur(8px);
    }

    #rev_siralama:focus,
    #rev_diploma:focus {
      border-color: rgba(96, 165, 250, .6) !important;
      box-shadow: 0 0 0 3px rgba(96, 165, 250, .14), 0 0 20px rgba(96, 165, 250, .12) !important;
      background: rgba(96, 165, 250, .06) !important;
    }

    #rev_puanTuru {
      background: rgba(255, 255, 255, .04) !important;
      border: 1px solid rgba(255, 255, 255, .09) !important;
      border-radius: 10px !important;
      color: var(--text) !important;
      backdrop-filter: blur(8px);
    }

    #rev_puanTuru:focus {
      border-color: rgba(167, 139, 250, .6) !important;
      box-shadow: 0 0 0 3px rgba(167, 139, 250, .14) !important;
    }

    /* Tersine net tablosu container */
    #rev_summaryBar,
    #panel-reverse [style*="background:var(--bg3)"],
    #panel-reverse [style*="background: var(--bg3)"] {
      background: rgba(255, 255, 255, .04) !important;
      border-color: rgba(255, 255, 255, .09) !important;
      backdrop-filter: blur(14px) !important;
      border-radius: 14px !important;
    }

    /* EA panel katsayı info kutusu */
    #panel-ea [style*="background:var(--bg3)"] {
      background: rgba(255, 255, 255, .04) !important;
      border-color: rgba(255, 255, 255, .09) !important;
      border-radius: 14px !important;
      backdrop-filter: blur(12px) !important;
    }

    /* Tersine mühendislik "tahmin et" butonu */
    #panel-reverse button[onclick="tersineHesapla()"] {
      background: linear-gradient(135deg, rgba(167, 139, 250, .3) 0%, rgba(139, 92, 246, .4) 100%) !important;
      border: 1px solid rgba(167, 139, 250, .4) !important;
      color: #e9d5ff !important;
      backdrop-filter: blur(8px) !important;
      box-shadow: 0 4px 20px rgba(139, 92, 246, .25) !important;
      border-radius: 14px !important;
      padding: 14px 48px !important;
    }

    #panel-reverse button[onclick="tersineHesapla()"]:hover {
      background: linear-gradient(135deg, rgba(167, 139, 250, .45) 0%, rgba(139, 92, 246, .55) 100%) !important;
      transform: translateY(-3px) !important;
      box-shadow: 0 0 36px rgba(139, 92, 246, .45), 0 8px 30px rgba(0, 0, 0, .4) !important;
    }

    /* Uyarı / referans kutusu (tersine panel alt) */
    #panel-reverse [style*="background:rgba(245,158,11"] {
      background: rgba(245, 158, 11, .06) !important;
      border-color: rgba(245, 158, 11, .18) !important;
      border-radius: 12px !important;
    }

    /* Hata kutusu (tersine panel) */
    #rev_error {
      backdrop-filter: blur(10px) !important;
      border-radius: 12px !important;
    }

    /* JS tarafından üretilen inline progress bar track'leri */
    [style*="background:var(--bg2)"],
    [style*="background: var(--bg2)"] {
      background: rgba(255, 255, 255, .05) !important;
    }

    /* ══════════════════════════════════════════════════════
     RSimulator — Strateji Simülatörü (Slider UI)
  ══════════════════════════════════════════════════════ */

    /* ── Başlık bölümü */
    .rsim-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 14px;
      padding: 20px 24px;
      background: rgba(167, 139, 250, .06);
      border: 1px solid rgba(167, 139, 250, .18);
      border-radius: 16px;
      margin-bottom: 16px;
      backdrop-filter: blur(14px);
    }

    .rsim-title-group {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .rsim-icon {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: rgba(167, 139, 250, .18);
      border: 1px solid rgba(167, 139, 250, .3);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .rsim-title {
      font-family: 'Syne', sans-serif;
      font-size: 15px;
      font-weight: 800;
      color: var(--purple);
    }

    .rsim-subtitle {
      font-size: 11px;
      color: var(--text3);
      font-family: 'JetBrains Mono', monospace;
      margin-top: 2px;
      letter-spacing: .02em;
    }

    .rsim-btn-group {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .rsim-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 8px 16px;
      border-radius: 10px;
      border: 1px solid transparent;
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: all .25s ease;
      letter-spacing: .03em;
    }

    .rsim-btn-reset {
      background: rgba(255, 255, 255, .06);
      border-color: rgba(255, 255, 255, .1);
      color: var(--text2);
    }

    .rsim-btn-reset:hover {
      background: rgba(255, 255, 255, .1);
      border-color: rgba(255, 255, 255, .2);
      color: var(--text);
      transform: translateY(-1px);
    }

    .rsim-btn-balance {
      background: rgba(167, 139, 250, .14);
      border-color: rgba(167, 139, 250, .35);
      color: #c4b5fd;
    }

    .rsim-btn-balance:hover {
      background: rgba(167, 139, 250, .25);
      border-color: rgba(167, 139, 250, .55);
      color: #ddd6fe;
      transform: translateY(-1px);
      box-shadow: 0 0 20px rgba(167, 139, 250, .25);
    }

    .rsim-btn:active {
      transform: translateY(0) scale(.97);
    }

    /* ── Toplam göstergeler */
    .rsim-totals {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 16px;
    }

    @media (max-width: 600px) {
      .rsim-totals {
        grid-template-columns: 1fr;
      }
    }

    .rsim-total-card {
      position: relative;
      overflow: hidden;
      border-radius: 18px;
      padding: 18px 18px 16px;
      backdrop-filter: blur(28px) saturate(180%);
      -webkit-backdrop-filter: blur(28px) saturate(180%);
      border: 1px solid transparent;
      background: rgba(15, 23, 48, 0.52);
      box-shadow:
        0 4px 20px rgba(0, 0, 0, .28),
        inset 0 1px 0 rgba(255, 255, 255, .09);
      transition: transform .28s cubic-bezier(.25, .8, .25, 1),
        box-shadow .28s ease,
        border-color .28s ease;
    }

    /* Bottom accent bar */
    .rsim-total-card::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 12px;
      right: 12px;
      height: 2px;
      border-radius: 2px;
      opacity: .5;
      transition: opacity .28s;
    }

    /* Top shine */
    .rsim-total-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18) 50%, transparent);
      pointer-events: none;
    }

    .rsim-total-card:hover {
      transform: translateY(-3px);
    }

    .rsim-total-card:hover::after {
      opacity: 1;
    }

    .rsim-total-card.tyt {
      background: linear-gradient(145deg, rgba(139, 92, 246, .14) 0%, rgba(15, 23, 48, .58) 65%);
      border-color: rgba(139, 92, 246, .35);
      box-shadow: 0 4px 20px rgba(139, 92, 246, .12), 0 2px 8px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .12);
    }

    .rsim-total-card.tyt::after {
      background: linear-gradient(90deg, transparent, rgba(196, 181, 253, .8), transparent);
    }

    .rsim-total-card.tyt:hover {
      box-shadow: 0 14px 40px rgba(139, 92, 246, .25), 0 4px 12px rgba(0, 0, 0, .30);
      border-color: rgba(196, 181, 253, .60);
    }

    .rsim-total-card.ayt {
      background: linear-gradient(145deg, rgba(59, 130, 246, .09) 0%, rgba(15, 23, 48, .58) 65%);
      border-color: rgba(59, 130, 246, .30);
      box-shadow: 0 4px 20px rgba(59, 130, 246, .09), 0 2px 8px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .09);
    }

    .rsim-total-card.ayt::after {
      background: linear-gradient(90deg, transparent, rgba(96, 165, 250, .8), transparent);
    }

    .rsim-total-card.ayt:hover {
      box-shadow: 0 14px 40px rgba(59, 130, 246, .18), 0 4px 12px rgba(0, 0, 0, .30);
      border-color: rgba(96, 165, 250, .50);
    }

    .rsim-total-card.ydt {
      background: linear-gradient(145deg, rgba(236, 72, 153, .09) 0%, rgba(15, 23, 48, .58) 65%);
      border-color: rgba(236, 72, 153, .30);
      box-shadow: 0 4px 20px rgba(236, 72, 153, .09), 0 2px 8px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .09);
    }

    .rsim-total-card.ydt::after {
      background: linear-gradient(90deg, transparent, rgba(236, 72, 153, .8), transparent);
    }

    .rsim-total-card.ydt:hover {
      box-shadow: 0 14px 40px rgba(236, 72, 153, .18), 0 4px 12px rgba(0, 0, 0, .30);
      border-color: rgba(236, 72, 153, .50);
    }

    .rsim-total-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9px;
      letter-spacing: .12em;
      text-transform: uppercase;
      margin-bottom: 8px;
      opacity: .75;
    }

    .rsim-total-card.tyt .rsim-total-label {
      color: #c4b5fd;
    }

    .rsim-total-card.ayt .rsim-total-label {
      color: rgba(147, 197, 253, 1);
    }

    .rsim-total-card.ydt .rsim-total-label {
      color: rgba(249, 168, 212, 1);
    }

    .rsim-total-val {
      font-family: 'Syne', sans-serif;
      font-size: 30px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: -.02em;
      transition: color .2s;
      margin-bottom: 6px;
    }

    .rsim-total-card.tyt .rsim-total-val {
      color: #c4b5fd;
      text-shadow: 0 0 28px rgba(139, 92, 246, .55), 0 0 56px rgba(139, 92, 246, .20), 0 2px 4px rgba(0, 0, 0, .4);
    }

    .rsim-total-card.ayt .rsim-total-val {
      color: #bfdbfe;
      text-shadow: 0 0 28px rgba(96, 165, 250, .55), 0 0 56px rgba(59, 130, 246, .20), 0 2px 4px rgba(0, 0, 0, .4);
    }

    .rsim-total-card.ydt .rsim-total-val {
      color: #fbcfe8;
      text-shadow: 0 0 28px rgba(236, 72, 153, .55), 0 0 56px rgba(236, 72, 153, .20), 0 2px 4px rgba(0, 0, 0, .4);
    }

    .rsim-total-fixed {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9px;
      margin-top: 2px;
      opacity: .45;
    }

    /* ── Ders grubu */
    .rsim-group {
      background: rgba(255, 255, 255, .025);
      border: 1px solid rgba(255, 255, 255, .07);
      border-radius: 16px;
      overflow: hidden;
      margin-bottom: 10px;
      backdrop-filter: blur(10px);
    }

    .rsim-group-header {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 13px 20px;
      border-bottom: 1px solid rgba(255, 255, 255, .05);
      cursor: pointer;
      user-select: none;
      transition: background .2s;
    }

    .rsim-group-header:hover {
      background: rgba(255, 255, 255, .03);
    }

    .rsim-group-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
      box-shadow: 0 0 8px currentColor;
    }

    .rsim-group-name {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
    }

    .rsim-group-sum {
      margin-left: auto;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      font-weight: 500;
      opacity: .7;
    }

    .rsim-group-chevron {
      font-size: 10px;
      opacity: .5;
      transition: transform .25s;
    }

    .rsim-group.collapsed .rsim-group-chevron {
      transform: rotate(-90deg);
    }

    .rsim-group-body {
      padding: 12px 20px 16px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 10px;
      transition: all .3s ease;
    }

    .rsim-group.collapsed .rsim-group-body {
      display: none;
    }

    /* ── Ders slider kartı */
    .rsim-card {
      background: rgba(255, 255, 255, .035);
      border: 1px solid rgba(255, 255, 255, .07);
      border-radius: 12px;
      padding: 14px 16px;
      transition: border-color .25s, box-shadow .25s;
      position: relative;
    }

    .rsim-card:hover {
      border-color: rgba(255, 255, 255, .14);
      box-shadow: 0 4px 20px rgba(0, 0, 0, .3);
    }

    .rsim-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .rsim-card-name {
      font-size: 11px;
      color: var(--text2);
      font-weight: 600;
      letter-spacing: .03em;
    }

    .rsim-card-val {
      font-family: 'JetBrains Mono', monospace;
      font-size: 18px;
      font-weight: 700;
      line-height: 1;
      transition: color .15s;
      min-width: 48px;
      text-align: right;
    }

    .rsim-card-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: 8px;
    }

    .rsim-card-pct {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9px;
      color: var(--text3);
    }

    .rsim-card-max {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9px;
      color: var(--text3);
    }

    /* ── Premium slider track */
    .rsim-slider-wrap {
      position: relative;
      height: 20px;
      display: flex;
      align-items: center;
    }

    .rsim-track-bg {
      position: absolute;
      left: 0;
      right: 0;
      height: 4px;
      border-radius: 2px;
      background: rgba(255, 255, 255, .07);
      overflow: hidden;
    }

    .rsim-track-fill {
      height: 100%;
      border-radius: 2px;
      transition: width .12s ease, background-color .3s;
    }

    .rsim-slider {
      position: absolute;
      left: 0;
      right: 0;
      -webkit-appearance: none;
      appearance: none;
      width: 100%;
      height: 20px;
      background: transparent;
      cursor: pointer;
      margin: 0;
      z-index: 1;
    }

    .rsim-slider::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 0 0 3px rgba(167, 139, 250, .35), 0 2px 8px rgba(0, 0, 0, .4);
      transition: box-shadow .18s, transform .18s;
      cursor: grab;
    }

    .rsim-slider:active::-webkit-slider-thumb {
      cursor: grabbing;
      transform: scale(1.2);
      box-shadow: 0 0 0 5px rgba(167, 139, 250, .25), 0 4px 14px rgba(0, 0, 0, .5);
    }

    .rsim-slider::-moz-range-thumb {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #fff;
      border: none;
      box-shadow: 0 0 0 3px rgba(167, 139, 250, .35), 0 2px 8px rgba(0, 0, 0, .4);
      transition: box-shadow .18s;
      cursor: grab;
    }

    /* Animating flash on value change */
    @keyframes rsimFlash {
      0% {
        opacity: 1;
      }

      40% {
        opacity: .4;
      }

      100% {
        opacity: 1;
      }
    }

    .rsim-card-val.flash {
      animation: rsimFlash .22s ease;
    }

    /* ══════════════════════════════════════════════════════
       RSimulator v2 — Serbest Net / Pin / Strateji / Uyarı / Senaryo
    ══════════════════════════════════════════════════════ */

    /* ── Serbest toplam net girişi (kartın içinde) */
    .rsim-total-val-row {
      display: flex;
      align-items: baseline;
      gap: 4px;
      margin-bottom: 6px;
    }

    .rsim-total-input {
      width: 100%;
      background: transparent;
      border: none;
      outline: none;
      padding: 0;
      font-family: 'Syne', sans-serif;
      font-size: 30px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: -.02em;
      -moz-appearance: textfield;
      border-bottom: 1px dashed transparent;
      transition: border-color .2s, background .2s;
      border-radius: 4px;
    }

    .rsim-total-input::-webkit-outer-spin-button,
    .rsim-total-input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    .rsim-total-card.tyt .rsim-total-input {
      color: #fde68a;
      text-shadow: 0 0 28px rgba(245, 158, 11, .55), 0 0 56px rgba(245, 158, 11, .20), 0 2px 4px rgba(0, 0, 0, .4);
    }

    .rsim-total-card.ayt .rsim-total-input {
      color: #bfdbfe;
      text-shadow: 0 0 28px rgba(96, 165, 250, .55), 0 0 56px rgba(59, 130, 246, .20), 0 2px 4px rgba(0, 0, 0, .4);
    }

    .rsim-total-card.ydt .rsim-total-input {
      color: #fbcfe8;
      text-shadow: 0 0 28px rgba(236, 72, 153, .55), 0 0 56px rgba(236, 72, 153, .20), 0 2px 4px rgba(0, 0, 0, .4);
    }

    .rsim-total-input:hover {
      border-bottom-color: rgba(255, 255, 255, .18);
      background: rgba(255, 255, 255, .03);
    }

    .rsim-total-input:focus {
      border-bottom-color: currentColor;
      background: rgba(255, 255, 255, .05);
    }

    .rsim-total-fixed.editable {
      opacity: .65;
    }

    .rsim-total-fixed.editable::before {
      content: '✎ ';
    }

    /* ── Strateji seçim çubuğu */
    .rsim-strategy-bar {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      padding: 12px 16px;
      margin-bottom: 14px;
      background: rgba(255, 255, 255, .025);
      border: 1px solid rgba(255, 255, 255, .07);
      border-radius: 14px;
    }

    .rsim-strategy-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: .08em;
      color: var(--text3);
      margin-right: 4px;
      white-space: nowrap;
    }

    .rsim-strategy-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, .1);
      background: rgba(255, 255, 255, .04);
      color: var(--text2);
      font-family: 'Syne', sans-serif;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: all .2s ease;
    }

    .rsim-strategy-btn:hover {
      background: rgba(255, 255, 255, .09);
      transform: translateY(-1px);
    }

    .rsim-strategy-btn.active {
      background: rgba(167, 139, 250, .18);
      border-color: rgba(167, 139, 250, .55);
      color: #ddd6fe;
      box-shadow: 0 0 16px rgba(167, 139, 250, .25);
    }

    /* ── Pin butonu */
    .rsim-pin-btn {
      background: none;
      border: none;
      cursor: pointer;
      font-size: 13px;
      opacity: .35;
      padding: 2px 4px;
      border-radius: 6px;
      transition: all .2s ease;
      line-height: 1;
      flex-shrink: 0;
    }

    .rsim-pin-btn:hover {
      opacity: .8;
      background: rgba(255, 255, 255, .08);
    }

    .rsim-pin-btn.pinned {
      opacity: 1;
      color: #fbbf24;
      background: rgba(251, 191, 36, .14);
      text-shadow: 0 0 10px rgba(251, 191, 36, .6);
    }

    .rsim-card.pinned {
      border-color: rgba(251, 191, 36, .4);
      background: rgba(251, 191, 36, .05);
    }

    .rsim-card.pinned .rsim-slider {
      cursor: not-allowed;
    }

    .rsim-card.pinned .rsim-slider::-webkit-slider-thumb {
      background: #fbbf24;
      box-shadow: 0 0 0 3px rgba(251, 191, 36, .35), 0 2px 8px rgba(0, 0, 0, .4);
    }

    /* ── Sınır uyarısı (kırmızı glow) */
    .rsim-card.rsim-alert {
      border-color: rgba(248, 113, 113, .55);
      box-shadow: 0 0 0 1px rgba(248, 113, 113, .25), 0 0 22px rgba(248, 113, 113, .28);
      animation: rsimAlertPulse 1.8s ease-in-out infinite;
    }

    @keyframes rsimAlertPulse {

      0%,
      100% {
        box-shadow: 0 0 0 1px rgba(248, 113, 113, .25), 0 0 14px rgba(248, 113, 113, .18);
      }

      50% {
        box-shadow: 0 0 0 1px rgba(248, 113, 113, .45), 0 0 26px rgba(248, 113, 113, .38);
      }
    }

    .rsim-card.rsim-alert .rsim-card-val {
      color: #f87171 !important;
    }

    /* ── Akıllı öneri balonu (Insight Box) */
    .rsim-insight {
      display: none;
      align-items: flex-start;
      gap: 10px;
      padding: 12px 16px;
      margin-bottom: 14px;
      border-radius: 12px;
      background: rgba(248, 113, 113, .08);
      border: 1px solid rgba(248, 113, 113, .3);
      font-size: 12.5px;
      color: #fecaca;
      line-height: 1.5;
    }

    .rsim-insight.visible {
      display: flex;
    }

    .rsim-insight-icon {
      flex-shrink: 0;
      font-size: 16px;
    }

    /* ── Senaryo kaydet / karşılaştır */
    .rsim-scenario-section {
      margin-top: 18px;
      padding: 16px 18px;
      background: rgba(255, 255, 255, .025);
      border: 1px solid rgba(255, 255, 255, .07);
      border-radius: 16px;
    }

    .rsim-scenario-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 10px;
    }

    .rsim-scenario-title {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 800;
      color: var(--purple);
    }

    .rsim-btn-save {
      background: rgba(52, 211, 153, .14);
      border-color: rgba(52, 211, 153, .35);
      color: #6ee7b7;
    }

    .rsim-btn-save:hover {
      background: rgba(52, 211, 153, .24);
      border-color: rgba(52, 211, 153, .55);
      color: #a7f3d0;
      transform: translateY(-1px);
      box-shadow: 0 0 20px rgba(52, 211, 153, .22);
    }

    .rsim-scenario-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 4px;
    }

    .rsim-scenario-chip {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 10px;
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .1);
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      color: var(--text2);
    }

    .rsim-scenario-chip.selected {
      border-color: rgba(167, 139, 250, .55);
      background: rgba(167, 139, 250, .12);
      color: #ddd6fe;
    }

    .rsim-scenario-chip label {
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
    }

    .rsim-scenario-chip button {
      background: none;
      border: none;
      color: var(--text3);
      cursor: pointer;
      font-size: 12px;
      padding: 0 2px;
    }

    .rsim-scenario-chip button:hover {
      color: #f87171;
    }

    .rsim-compare-table {
      margin-top: 12px;
      width: 100%;
      border-collapse: collapse;
      display: none;
    }

    .rsim-compare-table.visible {
      display: table;
    }

    .rsim-compare-table th,
    .rsim-compare-table td {
      padding: 8px 12px;
      text-align: right;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11.5px;
      border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .rsim-compare-table th:first-child,
    .rsim-compare-table td:first-child {
      text-align: left;
      color: var(--text2);
    }

    .rsim-compare-table th {
      color: var(--text3);
      letter-spacing: .05em;
      font-weight: 500;
    }

    .rsim-compare-diff-pos {
      color: #6ee7b7;
    }

    .rsim-compare-diff-neg {
      color: #f87171;
    }

    .rsim-compare-diff-zero {
      color: var(--text3);
    }

    /* ─── MODAL GENİŞLETME & YENİ ÖGELER ─── */
    /* Açılan kutucukları (modalları) tasarım dilini bozmadan daha geniş hale getirir */
    #progNetModal>div,
    .prog-modal-content {
      max-width: 950px !important;
      width: 92% !important;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Burs Durumu Etiketi Tasarımı */
    .spec-burs-tag {
      background: rgba(255, 179, 0, 0.12) !important;
      color: #ffb300 !important;
      border: 1px solid rgba(255, 179, 0, 0.3) !important;
    }

    /* YÖK Sitesine Yönlendirme Kutucuğu */
    .yok-atlas-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 6px 14px;
      border-radius: 10px;
      color: rgba(255, 255, 255, 0.85);
      text-decoration: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .yok-atlas-btn:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.25);
      color: #fff;
      transform: translateY(-1px);
    }

    /* ─── Preference Robot Section ─── */
    #preference-robot {
      display: none;
      margin-top: 48px;
      position: relative;
      z-index: 1;
    }

    #preference-robot.visible {
      display: block;
      animation: fadeIn 0.5s ease;
    }

    .robot-header {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 28px;
    }

    .robot-title {
      font-family: 'Syne', sans-serif;
      font-size: 22px;
      font-weight: 800;
    }

    .robot-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(139, 92, 246, 0.14);
      border: 1px solid rgba(196, 181, 253, 0.35);
      color: #c4b5fd;
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.1em;
      padding: 5px 14px;
      border-radius: 100px;
      box-shadow: 0 0 16px rgba(139, 92, 246, 0.15);
    }

    /* ─── Filter Bar ─── */
    .filter-bar {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: var(--glass-border);
      box-shadow: var(--glass-shadow);
      border-radius: 22px;
      padding: 26px 30px;
      margin-bottom: 24px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 16px;
      align-items: end;
      position: relative;
      overflow: visible;
      z-index: 5;
    }

    .filter-bar::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 1px;
      border-radius: 22px 22px 0 0;
      background: linear-gradient(90deg, transparent 0%, rgba(196, 181, 253, 0.4) 50%, transparent 100%);
      pointer-events: none;
    }

    @media(max-width:768px) {
      .filter-bar {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media(max-width:480px) {
      .filter-bar {
        grid-template-columns: 1fr;
      }
    }

    .filter-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .filter-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.1em;
      color: var(--text3);
    }

    /* ─── CUSTOM MULTI-SELECT DROPDOWN STYLES ─── */
    .ms-container {
      position: relative;
      width: 100%;
    }

    .ms-trigger {
      background: rgba(255, 255, 255, 0.04) !important;
      color: var(--text) !important;
      border: 1px solid rgba(255, 255, 255, 0.11) !important;
      border-radius: 14px;
      padding: 10px 14px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      outline: none;
      transition: all 0.28s cubic-bezier(.4, 0, .2, 1);
      width: 100%;
      box-sizing: border-box;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      user-select: none;
      height: 42px;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .ms-trigger:hover,
    .ms-trigger.open {
      border-color: rgba(196, 181, 253, 0.45) !important;
      box-shadow: 0 0 16px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
      background: rgba(139, 92, 246, 0.08) !important;
    }

    .ms-trigger-text {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: calc(100% - 20px);
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .ms-trigger-arrow {
      font-size: 9px;
      color: #94a3b8;
      transition: transform 0.2s;
      margin-left: 6px;
    }

    .ms-trigger.open .ms-trigger-arrow {
      transform: rotate(180deg);
    }

    .ms-badge {
      background: rgba(139, 92, 246, 0.25);
      color: #c4b5fd;
      font-size: 11px;
      font-weight: 700;
      padding: 2px 7px;
      border-radius: 20px;
      margin-left: 4px;
    }

    .ms-panel {
      display: none;
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      min-width: 250px;
      background: rgba(14, 11, 26, 0.94);
      border: 1px solid rgba(196, 181, 253, 0.24);
      border-radius: 18px;
      padding: 12px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(28px) saturate(180%);
      -webkit-backdrop-filter: blur(28px) saturate(180%);
      z-index: 1000;
    }

    .ms-panel.show {
      display: block;
      animation: msFadeInDown 0.18s ease-out;
    }

    @keyframes msFadeInDown {
      from {
        opacity: 0;
        transform: translateY(-6px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .ms-search-input {
      width: 100%;
      background: rgba(255, 255, 255, 0.05) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 10px;
      padding: 8px 12px;
      color: #fff !important;
      font-size: 13px;
      outline: none;
      margin-bottom: 8px;
      box-sizing: border-box;
    }

    .ms-search-input:focus {
      border-color: rgba(196, 181, 253, 0.5) !important;
      box-shadow: 0 0 12px rgba(139, 92, 246, 0.2) !important;
    }

    .ms-actions-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
      padding: 0 4px;
    }

    .ms-action-btn {
      background: none;
      border: none;
      color: #94a3b8;
      cursor: pointer;
      font-size: 11px;
      font-weight: 600;
      transition: color 0.15s;
      padding: 2px 4px;
    }

    .ms-action-btn:hover {
      color: #c4b5fd;
    }

    .ms-options-list {
      max-height: 210px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 2px;
      padding-right: 2px;
    }

    .ms-options-list::-webkit-scrollbar {
      width: 5px;
    }

    .ms-options-list::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.2);
      border-radius: 4px;
    }

    .ms-option-item {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 7px 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.15s;
      user-select: none;
      font-size: 13px;
      color: #cbd5e1;
    }

    .ms-option-item:hover {
      background: rgba(139, 92, 246, 0.15);
      color: #fff;
    }

    .ms-option-item input[type="checkbox"] {
      width: 15px;
      height: 15px;
      accent-color: #8b5cf6;
      cursor: pointer;
    }

    /* --- GÜNCELLENEN KUTU STİLLERİ --- */
    .filter-select,
    .filter-input {
      background: rgba(255, 255, 255, 0.04) !important;
      color: var(--text) !important;
      border: 1px solid rgba(255, 255, 255, 0.11) !important;
      border-radius: 14px;
      padding: 10px 14px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      outline: none;
      transition: all 0.2s;
      width: 100%;
      box-sizing: border-box;

      -webkit-appearance: none !important;
      -moz-appearance: none !important;
      appearance: none !important;
    }

    .filter-select:focus,
    .filter-input:focus {
      border-color: rgba(196, 181, 253, 0.5) !important;
      box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2) !important;
    }

    /* ─── SERBEST MOD (SANDBOX) SWITCH STİLLERİ ─── */
    .free-switch-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.11);
      border-radius: 14px;
      padding: 8px 14px;
      box-sizing: border-box;
      height: 42px;
      transition: all 0.28s cubic-bezier(.4, 0, .2, 1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    .free-switch-container:hover {
      background: rgba(139, 92, 246, 0.08);
      border-color: rgba(196, 181, 253, 0.35);
    }

    .free-switch-text-group {
      display: flex;
      flex-direction: column;
      gap: 1px;
    }

    .free-switch-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.08em;
      color: #c4b5fd;
      text-transform: uppercase;
    }

    .free-switch-desc {
      font-family: 'DM Sans', sans-serif;
      font-size: 11px;
      font-weight: 500;
      color: var(--text3);
    }

    .free-switch {
      position: relative;
      display: inline-block;
      width: 38px;
      height: 22px;
      cursor: pointer;
      flex-shrink: 0;
    }

    .free-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }

    .free-slider {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.12);
      transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
      border-radius: 24px;
    }

    .free-slider:before {
      position: absolute;
      content: "";
      height: 16px;
      width: 16px;
      left: 2px;
      bottom: 2px;
      background-color: #ffffff;
      transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    .free-switch input:checked+.free-slider {
      background-color: rgba(139, 92, 246, 0.5);
      border-color: rgba(196, 181, 253, 0.6);
      box-shadow: 0 0 14px rgba(139, 92, 246, 0.4);
    }

    .free-switch input:checked+.free-slider:before {
      transform: translateX(16px);
      background-color: #ffffff;
    }

    .filter-search-btn {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.35) 0%, rgba(109, 40, 217, 0.25) 100%);
      border: 1px solid rgba(196, 181, 253, 0.45);
      color: #c4b5fd;
      border-radius: 14px;
      padding: 10px 22px;
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.28s cubic-bezier(.4, 0, .2, 1);
      height: 42px;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 20px rgba(139, 92, 246, 0.25);
    }

    .filter-search-btn:hover {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.5) 0%, rgba(109, 40, 217, 0.38) 100%);
      border-color: rgba(196, 181, 253, 0.75);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 28px rgba(139, 92, 246, 0.45);
    }

    .filter-reset-btn {
      background: rgba(255, 255, 255, 0.04);
      color: var(--text3);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 14px;
      padding: 10px 18px;
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.28s cubic-bezier(.4, 0, .2, 1);
      height: 42px;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .filter-reset-btn:hover {
      background: rgba(239, 68, 68, 0.14);
      border-color: rgba(239, 68, 68, 0.38);
      color: #f87171;
      transform: translateY(-2px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    /* ─── Category Tabs ─── */
    .cat-tabs {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .cat-tab {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 22px;
      border-radius: 14px;
      border: 1px solid;
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.28s cubic-bezier(.4, 0, .2, 1);
      background: rgba(255, 255, 255, 0.025);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .cat-tab.kesin {
      border-color: rgba(16, 185, 129, 0.3);
      color: #10b981;
    }

    .cat-tab.muhtemel {
      border-color: rgba(245, 158, 11, 0.3);
      color: #f59e0b;
    }

    .cat-tab.riskli {
      border-color: rgba(239, 68, 68, 0.3);
      color: #ef4444;
    }

    .cat-tab.kesin.active {
      background: rgba(16, 185, 129, 0.16);
      border-color: rgba(16, 185, 129, 0.55);
      box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .cat-tab.muhtemel.active {
      background: rgba(245, 158, 11, 0.16);
      border-color: rgba(245, 158, 11, 0.55);
      box-shadow: 0 4px 20px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .cat-tab.riskli.active {
      background: rgba(239, 68, 68, 0.16);
      border-color: rgba(239, 68, 68, 0.55);
      box-shadow: 0 4px 20px rgba(239, 68, 68, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .cat-count {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11px;
      padding: 2px 8px;
      border-radius: 100px;
    }

    .kesin .cat-count {
      background: rgba(16, 185, 129, 0.2);
    }

    .muhtemel .cat-count {
      background: rgba(245, 158, 11, 0.2);
    }

    .riskli .cat-count {
      background: rgba(239, 68, 68, 0.2);
    }

    /* ─── Stats Bar ─── */
    .stats-bar {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px 22px;
      display: flex;
      align-items: center;
      gap: 24px;
      margin-bottom: 16px;
      flex-wrap: wrap;
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
    }

    .stat-item {
      color: var(--text3);
    }

    .stat-item span {
      color: var(--text2);
      font-weight: 500;
    }

    .stat-item.kesin span {
      color: #10b981;
    }

    .stat-item.muhtemel span {
      color: #f59e0b;
    }

    .stat-item.riskli span {
      color: #ef4444;
    }

    /* ─── Program Cards Grid ─── */
    .prog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
      gap: 14px;
      margin-bottom: 20px;
    }

    @media(max-width:480px) {
      .prog-grid {
        grid-template-columns: 1fr;
      }
    }

    .prog-card {
      background: var(--glass-bg);
      backdrop-filter: var(--glass-blur);
      -webkit-backdrop-filter: var(--glass-blur);
      border: var(--glass-border);
      border-radius: 20px;
      padding: 22px 24px;
      position: relative;
      overflow: hidden;
      transition: all 0.32s cubic-bezier(.4, 0, .2, 1);
      cursor: pointer;
      box-shadow: var(--glass-shadow);
    }

    .prog-card:hover {
      transform: translateY(-4px);
      border-color: rgba(196, 181, 253, 0.28);
      box-shadow: 0 20px 56px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    /* Sol kenar neon işleme ışığı */
    .prog-card::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      border-radius: 4px 0 0 4px;
      transition: all 0.3s ease;
    }

    .prog-card.kesin::before {
      background: linear-gradient(180deg, #10b981 0%, rgba(16, 185, 129, 0.4) 100%);
      box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
    }

    .prog-card.muhtemel::before {
      background: linear-gradient(180deg, #f59e0b 0%, rgba(245, 158, 11, 0.4) 100%);
      box-shadow: 0 0 14px rgba(245, 158, 11, 0.6);
    }

    .prog-card.riskli::before {
      background: linear-gradient(180deg, #ef4444 0%, rgba(239, 68, 68, 0.4) 100%);
      box-shadow: 0 0 14px rgba(239, 68, 68, 0.6);
    }

    .prog-card.sandbox::before {
      background: linear-gradient(180deg, #8b5cf6 0%, rgba(139, 92, 246, 0.4) 100%);
      box-shadow: 0 0 14px rgba(139, 92, 246, 0.6);
    }

    .prog-card.kesin {
      border-color: rgba(16, 185, 129, 0.22);
    }

    .prog-card.muhtemel {
      border-color: rgba(245, 158, 11, 0.22);
    }

    .prog-card.riskli {
      border-color: rgba(239, 68, 68, 0.22);
    }

    .prog-card.sandbox {
      border-color: rgba(139, 92, 246, 0.3) !important;
      box-shadow: 0 10px 36px rgba(139, 92, 246, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .prog-card-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
    }

    .prog-cat-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9.5px;
      letter-spacing: 0.1em;
      padding: 4px 12px;
      border-radius: 100px;
      font-weight: 700;
      backdrop-filter: blur(8px);
    }

    .kesin .prog-cat-badge {
      background: rgba(16, 185, 129, 0.15);
      border: 1px solid rgba(16, 185, 129, 0.35);
      color: #10b981;
    }

    .muhtemel .prog-cat-badge {
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid rgba(245, 158, 11, 0.35);
      color: #f59e0b;
    }

    .riskli .prog-cat-badge {
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.35);
      color: #ef4444;
    }

    .prog-pt-badge {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.08em;
      padding: 4px 12px;
      border-radius: 100px;
      background: rgba(255, 255, 255, 0.04);
      color: var(--text2);
      border: 1px solid rgba(255, 255, 255, 0.12);
      backdrop-filter: blur(8px);
    }

    .prog-name {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 700;
      line-height: 1.35;
      margin-bottom: 6px;
      color: #ffffff;
      letter-spacing: -0.01em;
    }

    .prog-uni {
      font-size: 12.5px;
      font-weight: 600;
      color: var(--text2);
      margin-bottom: 4px;
      line-height: 1.4;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .prog-fak {
      font-size: 11.5px;
      color: var(--text3);
      margin-bottom: 14px;
      font-style: italic;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* Puan İstatistikleri Cam İç Kutusu */
    .prog-scores {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      padding: 12px 10px;
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      backdrop-filter: blur(8px);
      margin: 14px 0;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .prog-score-item {
      text-align: center;
    }

    .prog-score-label {
      font-size: 8px;
      color: var(--text3);
      font-family: 'JetBrains Mono', monospace;
      margin-bottom: 4px;
      letter-spacing: .04em;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .prog-score-val {
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
      font-weight: 700;
    }

    .prog-score-val.min-score {
      color: #10b981;
      text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
    }

    .prog-score-val.max-score {
      color: var(--accent3);
    }

    .prog-score-val.my-score {
      color: var(--blue2);
      text-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
    }

    .prog-score-val.rank-score {
      color: #c4b5fd;
      text-shadow: 0 0 10px rgba(196, 181, 253, 0.3);
    }

    /* Geçmiş yıl (2025) karşılaştırma puanı — küçük, sönük referans metni */
    .prog-score-prev {
      font-family: 'JetBrains Mono', monospace;
      font-size: 8.5px;
      font-weight: 600;
      color: var(--text3);
      opacity: 0.7;
      margin-top: 3px;
      letter-spacing: .02em;
      white-space: nowrap;
    }

    .prog-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
    }

    .prog-meta {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
    }

    .prog-tag {
      font-size: 10.5px;
      color: var(--text2);
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      padding: 4px 10px;
      font-family: 'JetBrains Mono', monospace;
      font-weight: 600;
      backdrop-filter: blur(8px);
      transition: all 0.2s ease;
    }

    .prog-tag.devlet {
      color: #60a5fa;
      border-color: rgba(59, 130, 246, 0.3);
      background: rgba(59, 130, 246, 0.12);
    }

    .prog-tag.vakif {
      color: #c4b5fd;
      border-color: rgba(139, 92, 246, 0.3);
      background: rgba(139, 92, 246, 0.12);
    }

    .prog-tag.kktc {
      color: #fbbf24;
      border-color: rgba(245, 158, 11, 0.3);
      background: rgba(245, 158, 11, 0.12);
    }

    .prog-diff {
      font-family: 'JetBrains Mono', monospace;
      font-size: 11.5px;
      font-weight: 600;
    }

    .prog-diff.pos {
      color: #10b981;
    }

    .prog-diff.neg {
      color: #ef4444;
    }

    /* ─── Load More ─── */
    .load-more-wrap {
      text-align: center;
      margin: 24px 0;
    }

    .load-more-btn {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 14px 40px;
      color: var(--text2);
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
    }

    .load-more-btn:hover {
      border-color: var(--teal);
      color: #14b8a6;
      box-shadow: 0 4px 16px rgba(20, 184, 166, 0.1);
    }

    .load-more-btn:disabled {
      opacity: 0.4;
      cursor: default;
    }

    /* ─── Empty State ─── */
    .empty-state {
      text-align: center;
      padding: 60px 20px;
      color: var(--text3);
    }

    .empty-state .emoji {
      font-size: 48px;
      margin-bottom: 16px;
    }

    .empty-state p {
      font-size: 14px;
    }

    /* ─── Loading spinner ─── */
    .robot-loading {
      display: none;
      text-align: center;
      padding: 40px;
      color: var(--text3);
      font-family: 'JetBrains Mono', monospace;
      font-size: 13px;
    }

    .robot-loading.show {
      display: block;
    }

    .spinner {
      display: inline-block;
      width: 24px;
      height: 24px;
      border: 2px solid var(--border2);
      border-top-color: #14b8a6;
      border-radius: 50%;
      animation: spin 0.7s linear infinite;
      margin-right: 10px;
      vertical-align: middle;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* ─── Program Düzeyi seçici (Lisans / Ön Lisans) ─── */
    .robot-level-selector {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .robot-level-btn {
      padding: 10px 22px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.035);
      color: var(--text3);
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.28s cubic-bezier(.4, 0, .2, 1);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .robot-level-btn:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.18);
      color: var(--text2);
    }

    .robot-level-btn.active {
      background: linear-gradient(135deg, rgba(167, 139, 250, .28) 0%, rgba(139, 92, 246, .18) 100%);
      border-color: rgba(196, 181, 253, .48);
      color: #c4b5fd;
      box-shadow: 0 4px 20px rgba(139, 92, 246, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
    }

    .robot-onlisans-note {
      background: rgba(139, 92, 246, 0.08);
      border: 1px solid rgba(196, 181, 253, 0.22);
      border-radius: 16px;
      padding: 14px 22px;
      margin-bottom: 22px;
      font-size: 13px;
      color: var(--text2);
      line-height: 1.6;
      backdrop-filter: blur(14px);
    }

    .robot-onlisans-note strong {
      color: #c4b5fd;
    }

    /* ─── Puan Türü seçici (robot) ─── */
    .robot-pt-selector {
      display: flex;
      gap: 10px;
      margin-bottom: 22px;
      flex-wrap: wrap;
    }

    .robot-pt-btn {
      padding: 10px 22px;
      border-radius: 14px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: rgba(255, 255, 255, 0.035);
      color: var(--text3);
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.28s cubic-bezier(.4, 0, .2, 1);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    .robot-pt-btn:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.18);
      color: var(--text2);
    }

    .robot-pt-btn.active {
      background: linear-gradient(135deg, rgba(167, 139, 250, .28) 0%, rgba(139, 92, 246, .18) 100%);
      border-color: rgba(196, 181, 253, .48);
      color: #c4b5fd;
      box-shadow: 0 4px 20px rgba(139, 92, 246, .28), inset 0 1px 0 rgba(255, 255, 255, .2);
    }

    /* ─── Info box ─── */
    .robot-info {
      background: rgba(139, 92, 246, 0.08);
      border: 1px solid rgba(196, 181, 253, 0.22);
      border-radius: 16px;
      padding: 16px 24px;
      margin-bottom: 22px;
      font-size: 13.5px;
      color: var(--text2);
      line-height: 1.6;
      backdrop-filter: blur(14px);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    .robot-info strong {
      color: #c4b5fd;
      font-weight: 700;
    }

    /* ══════════════════════════════════════════════════════
       NEXT-GEN APPLE GLASSMORPHISM PROG MODAL
       ══════════════════════════════════════════════════════ */
    .prog-modal {
      display: none;
      position: fixed;
      z-index: 9999;
      inset: 0;
      width: 100%;
      height: 100%;
      overflow-y: auto;
      background-color: rgba(4, 7, 16, 0.65);
      backdrop-filter: blur(28px) saturate(200%);
      -webkit-backdrop-filter: blur(28px) saturate(200%);
      animation: appleModalFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
      padding: 30px 16px;
      box-sizing: border-box;
    }

    @keyframes appleModalFadeIn {
      from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
      }

      to {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
    }

    .prog-modal-content {
      background: linear-gradient(135deg, rgba(20, 29, 47, 0.88) 0%, rgba(11, 17, 33, 0.94) 100%);
      color: #f8fafc;
      margin: 30px auto;
      padding: 34px 36px;
      border: 1px solid rgba(255, 255, 255, 0.14);
      width: 100%;
      max-width: 780px;
      border-radius: 28px;
      box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.65),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
      position: relative;
      font-family: 'DM Sans', sans-serif;
      box-sizing: border-box;
    }

    @media (max-width: 640px) {
      .prog-modal-content {
        padding: 24px 18px;
        margin: 15px auto;
        border-radius: 22px;
      }
    }

    /* Kapatma Butonu */
    .prog-modal-close {
      position: absolute;
      top: 22px;
      right: 24px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: rgba(255, 255, 255, 0.6);
      font-size: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      outline: none;
    }

    .prog-modal-close:hover {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.4);
      color: #f87171;
      transform: rotate(90deg) scale(1.08);
      box-shadow: 0 0 14px rgba(239, 68, 68, 0.3);
    }

    /* Üst Başlık Grubu */
    .modal-header-content {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 22px;
    }

    .uni-logo-circle {
      width: 72px;
      height: 72px;
      border-radius: 20px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
      border: 1px solid rgba(255, 255, 255, 0.18);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    }

    .modal-uni-logo {
      width: 85%;
      height: 85%;
      object-fit: contain;
    }

    .modal-logo-placeholder {
      font-size: 28px;
      color: rgba(255, 255, 255, 0.4);
    }

    .modal-title-group {
      flex: 1;
      min-width: 0;
    }

    .modal-title-uni {
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: #94a3b8;
      text-transform: uppercase;
      letter-spacing: 1.2px;
      margin-bottom: 4px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .modal-title-prog {
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 22px;
      line-height: 1.3;
      background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin: 0;
    }

    /* ─── META ROZETLER (TAGS) — BÜTÜNLEŞİK CAM TASARIMI ─── */
    .modal-meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
      padding-bottom: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .prog-tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-family: 'DM Sans', sans-serif;
      font-size: 11.5px;
      font-weight: 600;
      letter-spacing: 0.03em;
      padding: 6px 14px;
      border-radius: 10px;
      /* Renk cümbüşü iptal: Hepsi standart ve şık koyu cam tabanında */
      background: rgba(255, 255, 255, 0.03);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: rgba(255, 255, 255, 0.75);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
      transition: all 0.3s ease;
      cursor: default;
    }

    .prog-tag:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.15);
      color: #ffffff;
      transform: translateY(-1px);
    }

    /* Sadece Puan Türü ve Fakülte için çok hafif tema vurgusu (Siber Mavi & Mor) */
    #modalPtTag {
      color: #a5b4fc;
      border-color: rgba(165, 180, 252, 0.25);
      background: rgba(165, 180, 252, 0.05);
    }

    #modalFakTag {
      color: #d8b4fe;
      border-color: rgba(216, 180, 254, 0.25);
      background: rgba(216, 180, 254, 0.05);
      max-width: 250px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    /* ─── 4'LÜ İSTATİSTİK KARTLARI — DÜZENLİ VE ZARİF VURGULAR ─── */
    .modal-stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-bottom: 32px;
    }

    @media (max-width: 680px) {
      .modal-stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 420px) {
      .modal-stats-grid {
        grid-template-columns: 1fr;
      }
    }

    .mstat-card {
      /* Farklı renkteki gökkuşağı border'lar kaldırıldı. Hepsi aynı dil konuşuyor. */
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 18px;
      padding: 18px 14px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(12px);
    }

    .mstat-card:hover {
      transform: translateY(-3px);
      background: rgba(255, 255, 255, 0.04);
      border-color: rgba(255, 255, 255, 0.15);
      box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    /* Sadece YÖK Atlas Butonu "tıklanabilir" olduğunu hissettirsin diye özel mor glassmorphism */
    .mstat-card.yok-card {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(109, 40, 217, 0.02) 100%);
      border-color: rgba(196, 181, 253, 0.25);
      text-decoration: none;
      cursor: pointer;
    }

    .mstat-card.yok-card:hover {
      border-color: rgba(196, 181, 253, 0.6);
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(109, 40, 217, 0.05) 100%);
      box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
    }

    .mstat-label {
      font-family: 'JetBrains Mono', monospace;
      font-size: 9.5px;
      font-weight: 700;
      letter-spacing: 0.1em;
      color: rgba(255, 255, 255, 0.45);
      margin-bottom: 8px;
      white-space: nowrap;
      text-transform: uppercase;
    }

    .mstat-val {
      font-family: 'Syne', sans-serif;
      font-size: 24px;
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    /* Değer Renkleri: Boğucu fosforlar yerine şık soft tonlar */
    .gold-val {
      color: #fde68a;
      text-shadow: 0 0 16px rgba(251, 191, 36, 0.25);
    }

    /* Taban Puan */
    .cyan-val {
      color: #bae6fd;
      text-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
    }

    /* Sıralama */
    .emerald-val {
      color: #a7f3d0;
      text-shadow: 0 0 16px rgba(52, 211, 153, 0.25);
    }

    /* Kontenjan */
    .blue-val {
      color: #c4b5fd;
      text-shadow: 0 0 16px rgba(139, 92, 246, 0.35);
    }

    /* İncele Text */

    .mstat-sub {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.4);
      margin-top: 4px;
    }

    /* ─── NET BÖLÜMÜ STİLLERİ — TEMİZ VE ŞIK ─── */
    .net-section-header {
      margin-bottom: 20px;
    }

    .net-section-title {
      font-family: 'Syne', sans-serif;
      font-size: 17px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .net-section-desc {
      font-size: 12.5px;
      color: rgba(255, 255, 255, 0.45);
      line-height: 1.5;
    }

    .net-grids-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
    }

    @media (max-width: 640px) {
      .net-grids-container {
        grid-template-columns: 1fr;
        gap: 18px;
      }
    }

    /* Net Grupları Başlıkları (TYT / AYT) - Tema Rengiyle Uyumluluk */
    .net-group-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.12em;
      margin-bottom: 12px;
      display: inline-block;
      padding: 6px 14px;
      border-radius: 10px;
      text-transform: uppercase;
    }

    .net-group-title.tyt-title {
      background: rgba(139, 92, 246, 0.1);
      color: #c4b5fd;
      border: 1px solid rgba(196, 181, 253, 0.2);
    }

    .net-group-title.ayt-title {
      background: rgba(59, 130, 246, 0.1);
      color: #93c5fd;
      border: 1px solid rgba(147, 197, 253, 0.2);
    }

    .net-grid-rows {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    @media (max-width: 440px) {
      .net-grid-rows {
        grid-template-columns: 1fr;
      }
    }

    /* Net Kutucukları - Neon Sarı yerine Sitenin Derin Konsepti */
    .net-item-row {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      background: rgba(255, 255, 255, 0.02);
      padding: 16px 20px;
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.05);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      position: relative;
      overflow: hidden;
    }

    /* Alttaki rahatsız edici turuncu çizgiyi şık bir mor cama çevirdik */
    .net-item-row::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 14px;
      right: 14px;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .4), transparent);
      border-radius: 2px;
      opacity: 0;
      transition: opacity .3s ease;
    }

    .net-item-row:hover {
      background: rgba(255, 255, 255, 0.04);
      border-color: rgba(196, 181, 253, 0.25);
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
      transform: translateY(-2px);
    }

    .net-item-row:hover::after {
      opacity: 1;
    }

    .net-item-label {
      font-size: 10.5px;
      font-weight: 600;
      color: rgba(255, 255, 255, 0.5);
      text-transform: uppercase;
      margin-bottom: 6px;
      letter-spacing: 0.04em;
    }

    /* Sarı renk cümbüşü iptal: Temiz beyaz rakamlar, çok hafif tema vurgulu */
    .net-item-val {
      font-family: 'Syne', sans-serif;
      font-size: 26px;
      font-weight: 800;
      letter-spacing: -.02em;
      color: #ffffff;
      text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
      line-height: 1;
    }

    /* Sabitlenen Animasyon Parametreleri */
    @keyframes appleFadeIn {
      from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
        transform: scale(0.96) translateY(10px);
      }

      to {
        opacity: 1;
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        transform: scale(1) translateY(0);
      }
    }

    .spec-fak-tag {
      background: rgba(255, 255, 255, 0.05) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      color: rgba(255, 255, 255, 0.7) !important;
      max-width: 250px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      /* Çok uzun fakülte isimlerini kibarca üç nokta yapar */
    }

    /* --- Öne Çıkan Puan ve Sıralama Kutuları (Hero Stats) --- */
    .modal-hero-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 28px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.06);
      padding: 16px;
      border-radius: 18px;
      box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
    }

    @media (max-width: 480px) {
      .modal-hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
      }
    }

    .hero-stat-box {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 12px;
      border-radius: 12px;
      background: rgba(15, 23, 42, 0.2);
    }

    /* Sıralama Kutusunun Apple Tarzı Neon Siber-Mavi/Cyan Parlaması */
    .rank-box-highlight {
      background: linear-gradient(135deg, rgba(6, 182, 212, 0.06) 0%, rgba(59, 130, 246, 0.03) 100%);
      border: 1px solid rgba(6, 182, 212, 0.25);
      box-shadow: 0 0 20px rgba(6, 182, 212, 0.05);
    }

    .hero-stat-label {
      font-size: 10px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.4);
      letter-spacing: 1px;
      margin-bottom: 6px;
    }

    .hero-stat-value {
      font-family: 'JetBrains Mono', monospace;
      font-size: 24px;
      font-weight: 700;
    }

    .accent-text {
      color: var(--accent);
      text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    }

    .rank-text {
      color: #06b6d4;
      /* Apple stili dikkat çekici fütüristik turkuaz tonu */
      text-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
    }

    .spec-tur-tag {
      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.15) !important;
      color: #cbd5e1 !important;
      font-weight: 600;
      letter-spacing: 0.5px;
    }

    /* ═══════════════════════════════════════════════════════════════
       AYARLAR — YENİ NESİL PREMIUM GLASSMORPHISM (Geniş & Mobil Uyumlu)
    ═══════════════════════════════════════════════════════════════ */

    /* ─── AYARLAR OVERLAY (ARKA PLAN KARARTMA) ─── */
    /* ─── AYARLAR OVERLAY (ARKA PLAN KARARTMA) ─── */
    .settings-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: radial-gradient(ellipse 80% 60% at 50% 20%, rgba(76, 29, 149, 0.35) 0%, rgba(4, 7, 16, 0.92) 60%);
      backdrop-filter: blur(24px) saturate(190%);
      -webkit-backdrop-filter: blur(24px) saturate(190%);
      z-index: 9999999 !important;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 16px;
      /* Mobil ekranlar için kenar boşluğu */
      box-sizing: border-box;
    }

    .settings-overlay.open {
      display: flex !important;
      animation: modalOverlayFadeIn 0.22s ease-out forwards;
    }

    @keyframes modalOverlayFadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    /* ─── AYARLAR PENCERESİ (MODAL) — YENİDEN TASARLANDI: DAHA GENİŞ VE ŞIK ─── */
    .settings-modal {
      background: linear-gradient(165deg, rgba(26, 20, 42, 0.98) 0%, rgba(11, 9, 19, 0.995) 55%, rgba(15, 12, 26, 0.99) 100%);
      backdrop-filter: blur(44px) saturate(210%);
      -webkit-backdrop-filter: blur(44px) saturate(210%);
      border: 1px solid rgba(196, 181, 253, 0.25);
      border-radius: 22px;
      width: 90%;
      max-width: 580px;
      box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.9),
        0 16px 40px rgba(76, 29, 149, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.18);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      max-height: 88vh;
      box-sizing: border-box;
      animation: settingsModalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes settingsModalPop {
      from {
        opacity: 0;
        transform: scale(0.93) translateY(14px);
      }
      to {
        opacity: 1;
        transform: scale(1) translateY(0);
      }
    }

    /* Modal Başlık Kısmı */
    .settings-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 26px;
      background: rgba(255, 255, 255, 0.025);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }

    .settings-header h3 {
      margin: 0;
      font-family: 'Syne', sans-serif;
      font-weight: 800;
      font-size: 19px;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 6px;
      letter-spacing: -0.01em;
    }

    .settings-close-btn {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 50%;
      color: rgba(255, 255, 255, 0.8);
      cursor: pointer;
      font-size: 18px;
      line-height: 1;
      transition: all 0.25s cubic-bezier(.4, 0, .2, 1);
      flex-shrink: 0;
    }

    .settings-close-btn:hover {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.45);
      color: #fca5a5;
      transform: rotate(90deg) scale(1.08);
      box-shadow: 0 0 16px rgba(239, 68, 68, 0.25);
    }

    /* İçerik Gövdesi */
    .settings-body {
      padding: 22px 26px;
      overflow-y: auto;
      flex: 1;
      position: relative;
      z-index: 1;
    }

    /* Özel Scrollbar Ayarlar İçin */
    .settings-body::-webkit-scrollbar {
      width: 6px;
    }

    .settings-body::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 10px;
    }

    /* ── YENİDEN TASARLANDI: GENİŞ PREMIUM FOTOĞRAF KARTI ── */
    .settings-profile-section {
      display: flex;
      align-items: center;
      gap: 28px;
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
      border: 1px solid rgba(196, 181, 253, 0.14);
      border-radius: 24px;
      padding: 28px 32px;
      margin-bottom: 32px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 32px rgba(0, 0, 0, 0.25);
      transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
      position: relative;
      overflow: hidden;
    }

    .settings-profile-section::before {
      content: '';
      position: absolute;
      top: -40%;
      right: -10%;
      width: 220px;
      height: 220px;
      background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
      pointer-events: none;
    }

    .settings-profile-section:hover {
      border-color: rgba(196, 181, 253, 0.4);
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 16px 40px rgba(109, 40, 217, 0.25);
    }

    .profile-avatar-wrapper {
      position: relative;
      width: 100px;
      height: 100px;
      border-radius: 28px;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
      border: 1px solid rgba(196, 181, 253, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 0 5px rgba(139, 92, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12);
      flex-shrink: 0;
      transition: box-shadow 0.35s ease, border-color 0.35s ease;
    }

    .settings-profile-section:hover .profile-avatar-wrapper {
      border-color: rgba(196, 181, 253, 0.55);
      box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(139, 92, 246, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    }

    .profile-avatar-wrapper img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .profile-upload-info {
      display: flex;
      flex-direction: column;
      gap: 12px;
      flex: 1;
      position: relative;
      z-index: 1;
    }

    .profile-upload-info label {
      font-family: 'Syne', sans-serif;
      font-size: 16px;
      font-weight: 700;
      color: #fff;
    }

    /* ── FOTOĞRAF YÜKLEME BUTONU: TAMAMEN YENİ TASARIM ── */
    /* Dolgun gradyen zemin + kamera ikonu rozeti + parlayan kayan kenarlık */
    .profile-upload-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 55%, #4c1d95 100%);
      border: 1px solid rgba(196, 181, 253, 0.5);
      color: #fff;
      padding: 13px 22px 13px 16px;
      border-radius: 16px;
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .01em;
      cursor: pointer;
      transition: all 0.32s cubic-bezier(.4, 0, .2, 1);
      width: fit-content;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 26px rgba(109, 40, 217, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
    }

    /* Kamera ikon rozeti — küçük dairesel amblem */
    .profile-upload-btn::before {
      content: '📷';
      display: flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.18);
      font-size: 12px;
      flex-shrink: 0;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    /* Üzerinden kayan ışık parıltısı */
    .profile-upload-btn::after {
      content: '';
      position: absolute;
      top: 0;
      left: -60%;
      width: 40%;
      height: 100%;
      background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
      transform: skewX(-20deg);
      transition: left 0.6s ease;
      pointer-events: none;
    }

    .profile-upload-btn:hover {
      background: linear-gradient(135deg, #9d6dfa 0%, #7c3aed 55%, #5b21b6 100%);
      border-color: rgba(196, 181, 253, 0.9);
      color: #fff;
      transform: translateY(-3px);
      box-shadow: 0 16px 36px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .profile-upload-btn:hover::after {
      left: 130%;
    }

    .profile-upload-btn:active {
      transform: translateY(-1px) scale(0.98);
    }

    /* ── KART GÖRÜNÜMLÜ AYAR SATIRLARI — DAHA DENGELİ VE UYUMLU ── */
    .setting-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 18px 20px;
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 16px;
      margin-bottom: 14px;
      transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
      position: relative;
    }

    .setting-item:hover {
      background: rgba(255, 255, 255, 0.045);
      border-color: rgba(196, 181, 253, 0.22);
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    }

    .setting-item:last-child {
      margin-bottom: 0;
    }

    .setting-info {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding-right: 16px;
      flex: 1;
    }

    .setting-info label {
      color: #fff;
      font-family: 'Syne', sans-serif;
      font-size: 14.5px;
      font-weight: 700;
    }

    .setting-info span {
      color: #94a3b8;
      font-size: 12px;
      line-height: 1.5;
    }

    /* Form Elemanları (Dropdown / Select) */
    .settings-select {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(196, 181, 253, 0.25);
      border-radius: 12px;
      color: #fff;
      padding: 11px 18px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 500;
      outline: none;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
      min-width: 150px;
    }

    .settings-select:hover,
    .settings-select:focus {
      border-color: rgba(196, 181, 253, 0.6);
      background: rgba(139, 92, 246, 0.12);
      box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.15);
    }

    .settings-select option {
      background: #0f172a;
      color: #fff;
    }

    /* Apple Tarzı Switch — Büyütüldü (Mobil dostu) */
    /* ─── TERS NET (TERSİNE MÜHENDİSLİK) GELİŞMİŞ SİSTEM STİLLERİ ─── */
    .rev-card-wrapper {
      background: rgba(20, 24, 38, 0.6) !important;
      border: 1px solid rgba(167, 139, 250, 0.18) !important;
      border-radius: 18px !important;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
      backdrop-filter: blur(16px) !important;
    }

    .rev-input-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin-bottom: 24px;
    }

    .rev-input-box {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 14px 16px;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .rev-input-box:focus-within {
      background: rgba(167, 139, 250, 0.06);
      border-color: rgba(167, 139, 250, 0.45);
      box-shadow: 0 0 20px rgba(167, 139, 250, 0.15);
    }

    .rev-input-label {
      font-size: 11px;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: .06em;
      color: var(--text3);
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 8px;
      font-weight: 600;
    }

    .rev-form-control {
      width: 100%;
      background: rgba(0, 0, 0, 0.25) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 10px !important;
      padding: 10px 12px !important;
      color: var(--text) !important;
      font-family: 'JetBrains Mono', monospace !important;
      font-size: 14px !important;
      font-weight: 500 !important;
      outline: none !important;
      transition: all 0.2s ease !important;
      box-sizing: border-box;
    }

    .rev-form-control:focus {
      border-color: rgba(167, 139, 250, 0.6) !important;
      box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15) !important;
    }

    .rev-input-subtext {
      font-size: 10.5px;
      color: var(--text3);
      margin-top: 6px;
      font-family: 'JetBrains Mono', monospace;
      opacity: 0.85;
    }

    .rev-kirik-badge {
      padding: 0 12px;
      font-size: 12px;
      border-radius: 10px;
      white-space: nowrap;
      height: 38px;
      display: inline-flex;
      align-items: center;
      box-sizing: border-box;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: var(--text2);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .rev-kirik-badge:hover {
      background: rgba(239, 68, 68, 0.15);
      border-color: rgba(239, 68, 68, 0.35);
      color: #fca5a5;
    }

    .rev-calc-btn {
      background: linear-gradient(135deg, rgba(167, 139, 250, 0.4) 0%, rgba(139, 92, 246, 0.55) 100%) !important;
      border: 1px solid rgba(196, 181, 253, 0.5) !important;
      color: #ffffff !important;
      backdrop-filter: blur(12px) !important;
      box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35) !important;
      border-radius: 14px !important;
      padding: 14px 44px !important;
      font-family: 'Syne', sans-serif !important;
      font-size: 15px !important;
      font-weight: 800 !important;
      letter-spacing: 0.04em !important;
      cursor: pointer !important;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 10px !important;
      justify-content: center !important;
    }

    .rev-calc-btn:hover {
      background: linear-gradient(135deg, rgba(167, 139, 250, 0.6) 0%, rgba(139, 92, 246, 0.75) 100%) !important;
      transform: translateY(-2px) scale(1.02) !important;
      box-shadow: 0 0 36px rgba(139, 92, 246, 0.55), 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    }

    .rev-result-container {
      animation: revFadeInSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes revFadeInSlideUp {
      from {
        opacity: 0;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .rev-preset-bar {
      margin-bottom: 22px;
      display: flex;
      align-items: center;
      gap: 14px;
      flex-wrap: wrap;
      justify-content: space-between;
      background: rgba(167, 139, 250, 0.06);
      padding: 12px 18px;
      border-radius: 16px;
      border: 1px solid rgba(167, 139, 250, 0.2);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .rev-preset-header {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      color: #c4b5fd;
      font-family: 'JetBrains Mono', monospace;
      letter-spacing: .06em;
      font-weight: 700;
    }

    .rev-preset-chips {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }

    .rev-preset-chip {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.1);
      color: var(--text2);
      padding: 8px 16px;
      border-radius: 20px;
      font-family: 'DM Sans', sans-serif;
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
    }

    .rev-preset-chip:hover {
      background: rgba(139, 92, 246, 0.18);
      border-color: rgba(196, 181, 253, 0.45);
      color: #c4b5fd;
      transform: translateY(-1px);
    }

    .rev-preset-chip.active {
      background: linear-gradient(135deg, rgba(139, 92, 246, 0.4) 0%, rgba(109, 40, 217, 0.3) 100%);
      border-color: rgba(196, 181, 253, 0.8);
      color: #ffffff;
      font-weight: 700;
      box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
    }

    .rev-action-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 18px;
      border-radius: 12px;
      font-family: 'Syne', sans-serif;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .rev-action-btn.primary {
      background: linear-gradient(135deg, rgba(45, 212, 191, 0.2) 0%, rgba(20, 184, 166, 0.12) 100%);
      border: 1px solid rgba(45, 212, 191, 0.4);
      color: #5eead4;
    }

    .rev-action-btn.primary:hover {
      background: linear-gradient(135deg, rgba(45, 212, 191, 0.35) 0%, rgba(20, 184, 166, 0.25) 100%);
      border-color: rgba(94, 234, 212, 0.75);
      color: #ffffff;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(45, 212, 191, 0.3);
    }

    .rev-action-btn.secondary {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: var(--text2);
    }

    .rev-action-btn.secondary:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(255, 255, 255, 0.25);
      color: #ffffff;
      transform: translateY(-2px);
    }

    .rev-multi-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
    }

    .rev-year-card {
      background: var(--bg3);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 16px;
      transition: all 0.3s ease;
    }

    .rev-year-card:hover {
      border-color: rgba(196, 181, 253, 0.4);
      transform: translateY(-2px);
    }

    .switch {
      position: relative;
      display: inline-block;
      width: 48px;
      height: 28px;
      flex-shrink: 0;
    }

    .switch input {
      display: none;
    }

    .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: rgba(255, 255, 255, 0.08);
      transition: all .3s cubic-bezier(.4, 0, .2, 1);
      border-radius: 30px;
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 20px;
      width: 20px;
      left: 3px;
      bottom: 3px;
      background-color: #fff;
      transition: all .3s cubic-bezier(.4, 0, .2, 1);
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    input:checked+.slider {
      background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
      border-color: rgba(196, 181, 253, 0.6);
      box-shadow: 0 0 16px rgba(139, 92, 246, 0.5);
    }

    input:checked+.slider:before {
      transform: translateX(20px);
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 255, 255, 0.6);
    }

    /* Alt Kısım (Footer) */
    .settings-footer {
      padding: 18px 26px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(0, 0, 0, 0.2);
      display: flex;
      justify-content: flex-end;
      flex-shrink: 0;
      position: relative;
      z-index: 1;
    }

    /* Kaydet Butonu */
    .settings-save-btn {
      background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
      color: #fff;
      border: 1px solid rgba(196, 181, 253, 0.4);
      border-radius: 12px;
      padding: 12px 28px;
      font-family: 'Syne', sans-serif;
      font-size: 14px;
      font-weight: 700;
      letter-spacing: .02em;
      cursor: pointer;
      transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
      box-shadow: 0 6px 20px rgba(109, 40, 217, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .settings-save-btn:hover {
      background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
      border-color: rgba(196, 181, 253, 0.8);
      transform: translateY(-2px);
      box-shadow: 0 10px 28px rgba(139, 92, 246, 0.5), 0 0 16px rgba(196, 181, 253, 0.3);
    }

    /* ── MOBİL UYARLAMALAR (Responsive) ── */
    @media (max-width: 640px) {
      .settings-modal {
        width: 94%;
        max-width: 100%;
        border-radius: 18px;
        max-height: 90vh;
      }

      .settings-header {
        padding: 16px 18px;
      }

      .settings-header h3 {
        font-size: 16px;
      }

      .settings-body {
        padding: 16px 18px;
      }

      .settings-footer {
        padding: 14px 18px;
      }

      .settings-profile-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }

      .profile-upload-btn {
        width: 100%;
      }

      .setting-item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
      }

      .setting-info {
        padding-right: 8px;
      }

      .settings-select {
        min-width: 110px;
        padding: 8px 12px;
        font-size: 13px;
      }

      .settings-save-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
      }
    }

    /* ══════════════════════════════════════════════════════
   PERFORMANCE MODE — DÜŞÜK GÜÇ MODU (GÜÇLENDİRİLMİŞ)
   Tüm animasyon, geçiş, blur, gölge, parlama (glow) ve
   gradyen kaynaklarını tamamen devre dışı bırakır.
   Bu blok dışında hiçbir yer değiştirilmemiştir.
══════════════════════════════════════════════════════ */

    /* 1) Evrensel kill-switch: animasyon / geçiş / filter / blur / gölge */
    body.performance-mode *,
    body.performance-mode *::before,
    body.performance-mode *::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
      filter: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      box-shadow: none !important;
      text-shadow: none !important;
      will-change: auto !important;
    }

    /* 2) Arka plan: sabit, düz renk — hue-rotate animasyonu ve gradyen yok */
    body.performance-mode {
      background: var(--bg) !important;
      background-image: none !important;
      background-attachment: initial !important;
    }

    /* Neon gaz-bulutu orb'ları ve nokta ızgarası tamamen kapalı */
    body.performance-mode::before,
    body.performance-mode::after {
      opacity: 0 !important;
      background: none !important;
      background-image: none !important;
    }

    /* 3) Gradyen (degrade) metinler → düz renk */
    body.performance-mode h1,
    body.performance-mode .site-brand,
    body.performance-mode .results-title,
    body.performance-mode .modal-title-prog {
      background: none !important;
      -webkit-text-fill-color: var(--text) !important;
      color: var(--text) !important;
    }

    body.performance-mode .header-main-title span {
      text-shadow: none !important;
    }

    /* 4) Saf dekoratif parlama / ışık huzmesi / cam yansıması katmanları → tamamen kapalı */
    body.performance-mode .site-brand::after,
    body.performance-mode .section-card::before,
    body.performance-mode .diploma-section::before,
    body.performance-mode .subject-item::before,
    body.performance-mode .filter-bar::before,
    body.performance-mode .calc-btn::before,
    body.performance-mode .calc-btn::after,
    body.performance-mode .calc-btn-glow,
    body.performance-mode .karne-btn::before,
    body.performance-mode .karne-btn::after,
    body.performance-mode .karne-btn-glow,
    body.performance-mode .net-summary-card::before,
    body.performance-mode .rsim-total-card::before,
    body.performance-mode .net-item-row::after {
      opacity: 0 !important;
      background: none !important;
      background-image: none !important;
    }

    /* 5) Bilgi taşıyan renkli göstergeler (kategori/durum rengi) → gradyen değil düz renk olarak korunur */
    body.performance-mode .results-divider {
      background: rgba(255, 255, 255, 0.08) !important;
    }

    body.performance-mode .score-card.tyt::before {
      background: var(--tyt-color) !important;
    }

    body.performance-mode .score-card.say::before {
      background: var(--say-color) !important;
    }

    body.performance-mode .score-card.soz::before {
      background: var(--soz-color) !important;
    }

    body.performance-mode .score-card.ea::before {
      background: var(--ea-color) !important;
    }

    body.performance-mode .score-card.dil::before {
      background: var(--dil-color) !important;
    }

    body.performance-mode .score-card.tyt .score-bar-fill {
      background: var(--tyt-color) !important;
    }

    body.performance-mode .score-card.say .score-bar-fill {
      background: var(--say-color) !important;
    }

    body.performance-mode .score-card.soz .score-bar-fill {
      background: var(--soz-color) !important;
    }

    body.performance-mode .score-card.ea .score-bar-fill {
      background: var(--ea-color) !important;
    }

    body.performance-mode .score-card.dil .score-bar-fill {
      background: var(--dil-color) !important;
    }

    body.performance-mode .net-summary-card.tyt-summary::after,
    body.performance-mode .rsim-total-card.tyt::after {
      background: rgba(196, 181, 253, 0.8) !important;
    }

    body.performance-mode .net-summary-card.ayt-summary::after,
    body.performance-mode .rsim-total-card.ayt::after {
      background: rgba(96, 165, 250, 0.8) !important;
    }

    body.performance-mode .net-summary-card.ydt-summary::after,
    body.performance-mode .rsim-total-card.ydt::after {
      background: rgba(236, 72, 153, 0.8) !important;
    }

    body.performance-mode .net-summary-card.tyt-summary,
    body.performance-mode .rsim-total-card.tyt {
      background: rgba(15, 23, 48, 0.6) !important;
    }

    body.performance-mode .net-summary-card.ayt-summary,
    body.performance-mode .rsim-total-card.ayt {
      background: rgba(15, 23, 48, 0.6) !important;
    }

    body.performance-mode .net-summary-card.ydt-summary,
    body.performance-mode .rsim-total-card.ydt {
      background: rgba(15, 23, 48, 0.6) !important;
    }

    body.performance-mode .prog-card.kesin::before {
      background: #10b981 !important;
    }

    body.performance-mode .prog-card.muhtemel::before {
      background: #f59e0b !important;
    }

    body.performance-mode .prog-card.riskli::before {
      background: #ef4444 !important;
    }

    body.performance-mode .prog-card.sandbox::before {
      background: #8b5cf6 !important;
    }

    /* 6) Düğme / kart / rozet gradyenleri → düz (tek renk) yüzeyler */
    body.performance-mode .tfl-btn,
    body.performance-mode .tfl-btn:hover {
      background: rgba(139, 92, 246, 0.18) !important;
    }

    body.performance-mode .header-btn-tercih,
    body.performance-mode .header-btn-tercih:hover {
      background: rgba(109, 40, 217, 0.16) !important;
    }

    body.performance-mode .header-btn-saat,
    body.performance-mode .header-btn-saat:hover {
      background: rgba(14, 165, 233, 0.16) !important;
    }

    body.performance-mode .filter-search-btn,
    body.performance-mode .filter-search-btn:hover {
      background: rgba(139, 92, 246, 0.22) !important;
    }

    body.performance-mode .tab-btn.active,
    body.performance-mode .robot-level-btn.active,
    body.performance-mode .robot-pt-btn.active {
      background: rgba(139, 92, 246, 0.18) !important;
    }

    body.performance-mode .calc-btn,
    body.performance-mode .calc-btn:hover {
      background: rgba(109, 40, 217, 0.28) !important;
    }

    body.performance-mode .karne-btn,
    body.performance-mode .karne-btn:hover {
      background: rgba(37, 99, 235, 0.28) !important;
    }

    body.performance-mode #panel-reverse button[onclick="tersineHesapla()"],
    body.performance-mode #panel-reverse button[onclick="tersineHesapla()"]:hover {
      background: rgba(139, 92, 246, 0.35) !important;
    }

    body.performance-mode .prog-modal-content {
      background: rgba(13, 17, 28, 0.92) !important;
    }

    body.performance-mode .uni-logo-circle {
      background: rgba(255, 255, 255, 0.06) !important;
    }

    body.performance-mode .mstat-card.puan-card,
    body.performance-mode .mstat-card.rank-card,
    body.performance-mode .mstat-card.quota-card {
      background: rgba(15, 23, 42, 0.4) !important;
    }

    body.performance-mode .mstat-card.yok-card,
    body.performance-mode .mstat-card.yok-card:hover {
      background: rgba(15, 23, 42, 0.4) !important;
    }

    body.performance-mode .rank-box-highlight {
      background: rgba(255, 255, 255, 0.03) !important;
    }

    body.performance-mode input[type="range"] {
      background: rgba(139, 92, 246, 0.25) !important;
    }

    /* 7) Genel yüzeyler (cam efekti) → blur/gölge olmadan sade panel */
    body.performance-mode .glass,
    body.performance-mode .section-card,
    body.performance-mode .score-card,
    body.performance-mode .tabs,
    body.performance-mode .obp-bar,
    body.performance-mode .ranking-section,
    body.performance-mode .net-detail-section,
    body.performance-mode .settings-overlay,
    body.performance-mode .settings-modal {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      box-shadow: none !important;
      text-shadow: none !important;
    }

    /* 8) Hover yükselme / büyüme efektleri kaldırıldı */
    body.performance-mode *:hover {
      transform: none !important;
      box-shadow: none !important;
      filter: none !important;
    }

    /* 9) Metin üzerindeki tüm parlama (accent-text, rank-text vb.) kapalı */
    body.performance-mode .accent-text,
    body.performance-mode .rank-text,
    body.performance-mode .calc-btn-text,
    body.performance-mode .karne-btn-text {
      text-shadow: none !important;
    }

    /* 10) Yerleştirme Sıralaması Rozeti — Düşük Güç / Performans Modu (Sade Tasarım) */
    body.performance-mode .yerlestirme-rank-badge,
    body.low-perf-mode .yerlestirme-rank-badge {
      background: rgba(168, 85, 247, 0.12) !important;
      border: 1px solid rgba(168, 85, 247, 0.3) !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      box-shadow: none !important;
      transform: none !important;
    }

    body.performance-mode .yerlestirme-rank-badge::before,
    body.low-perf-mode .yerlestirme-rank-badge::before {
      display: none !important;
      opacity: 0 !important;
    }

    body.performance-mode .yerlestirme-rank-badge:hover,
    body.low-perf-mode .yerlestirme-rank-badge:hover {
      transform: none !important;
      box-shadow: none !important;
      background: rgba(168, 85, 247, 0.18) !important;
    }

    body.performance-mode .yerlestirme-rank-badge .yer-rank-num,
    body.low-perf-mode .yerlestirme-rank-badge .yer-rank-num {
      text-shadow: none !important;
      color: #e9d5ff !important;
    }

/* Karne Ayarları Butonu (Karne Butonunun Yanında) */
.karne-settings-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: 12px;
  color: #c4b5fd;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.15);
}
.karne-settings-btn:hover {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.6);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}

/* Ayarlar Modalı Kırık OBP İkon Butonu (Yazısız, Sadece Kırmızı İkon) */
.setting-kirik-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.15);
  flex-shrink: 0;
}

.setting-kirik-icon-btn:hover {
  background: rgba(239, 68, 68, 0.25);
  border-color: rgba(239, 68, 68, 0.65);
  color: #ffffff;
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.3);
}

.setting-kirik-icon-btn.active {
  background: rgba(239, 68, 68, 0.38) !important;
  border-color: rgba(239, 68, 68, 0.85) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.45) !important;
}