:root {
      --bg-deep: #070d19;
      --bg-panel: #0d1627;
      --gold: #f59e0b;
      --gold-light: #fbbf24;
      --cyan: #38bdf8;
      --blue: #2563eb;
      --emerald: #10b981;
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      user-select: none;
    }

    html, body {
      width: 100vw;
      height: 100vh;
      overflow: hidden !important;
      background: radial-gradient(circle at 15% 15%, #0f203c 0%, #070d19 60%, #040811 100%);
      color: var(--text-main);
      font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
      -webkit-font-smoothing: antialiased;
    }

    #hem-ekran-sahne {
      position: fixed;
      left: 0;
      top: 0;
      width: 1920px;
      height: 956px;
      transform-origin: 0 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding: 16px 24px;
      gap: 13px;
    }

    /* TOP HEADER BAR */
    .vitrin-topbar {
      height: 74px;
      min-height: 74px;
      background: linear-gradient(135deg, rgba(16, 27, 48, 0.95), rgba(10, 18, 33, 0.95));
      border: 1px solid rgba(56, 189, 248, 0.22);
      border-radius: 18px;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .brand-left {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .brand-logo-box {
      width: 58px;
      height: 58px;
      border-radius: 16px;
      background: radial-gradient(circle at 30% 25%, #1e3a8a 0%, #0f172a 65%, #070d19 100%);
      padding: 3px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 6px 22px rgba(56, 189, 248, 0.25), 0 0 18px rgba(245, 158, 11, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.2);
      border: 1.5px solid rgba(56, 189, 248, 0.45);
      position: relative;
      overflow: hidden;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .brand-logo-box:hover {
      transform: scale(1.05) rotate(-1deg);
      box-shadow: 0 8px 28px rgba(56, 189, 248, 0.4), 0 0 22px rgba(245, 158, 11, 0.4);
      border-color: var(--gold-light);
    }

    .brand-logo-svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .brand-titles {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .brand-headline {
      font-size: 21px;
      font-weight: 800;
      letter-spacing: -0.3px;
      color: #ffffff;
    }

    .brand-headline span {
      color: var(--gold-light);
    }

    .brand-subline {
      font-size: 12.5px;
      font-weight: 600;
      color: var(--cyan);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .topbar-center-stats {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .stat-pill {
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(148, 163, 184, 0.2);
      padding: 7px 14px;
      border-radius: 999px;
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 12.5px;
      font-weight: 700;
      color: #e2e8f0;
    }

    .stat-pill strong {
      color: var(--gold-light);
      font-size: 13.5px;
    }

    .stat-pill.live-radar {
      background: rgba(6, 78, 59, 0.45);
      border-color: rgba(16, 185, 129, 0.45);
      color: #6ee7b7;
    }

    .pulse-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #34d399;
      display: inline-block;
      flex-shrink: 0;
      animation: pulseGlow 1.5s infinite ease-in-out;
    }

    @keyframes pulseGlow {
      0%, 100% {
        background: #6ee7b7;
        box-shadow: 0 0 12px 3px rgba(52, 211, 153, 0.95), 0 0 20px 6px rgba(16, 185, 129, 0.6);
        transform: scale(1.12);
        opacity: 1;
      }
      50% {
        background: #047857;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
        transform: scale(0.85);
        opacity: 0.2;
      }
    }

    .topbar-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn-kayit {
      text-decoration: none;
      padding: 10px 18px;
      border-radius: 999px;
      font-size: 13.5px;
      font-weight: 700;
      color: #e2e8f0;
      background: rgba(30, 41, 59, 0.85);
      border: 1px solid rgba(56, 189, 248, 0.35);
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: all 0.2s ease;
    }

    .btn-kayit:hover {
      background: rgba(37, 99, 235, 0.25);
      border-color: var(--cyan);
      transform: translateY(-1px);
    }

    .btn-giris-ana {
      text-decoration: none;
      padding: 11px 26px;
      border-radius: 999px;
      font-size: 14.5px;
      font-weight: 800;
      color: #090d16;
      background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #ea580c 100%);
      border: 1px solid rgba(254, 243, 199, 0.65);
      box-shadow: 0 6px 22px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.2s ease;
      cursor: pointer;
    }

    .btn-giris-ana:hover {
      transform: translateY(-2px) scale(1.02);
      box-shadow: 0 10px 28px rgba(245, 158, 11, 0.65);
      filter: brightness(1.06);
    }

    /* MAIN HERO GRID (FULL-WIDTH 81-PROVINCE MAP IN RIGHT CARD, NO RANKING SIDEBAR) */
    .vitrin-hero-grid {
      display: grid;
      grid-template-columns: 620px 1fr;
      gap: 15px;
      height: 616px;
      min-height: 616px;
    }

    .vitrin-card {
      background: linear-gradient(160deg, rgba(16, 26, 46, 0.92), rgba(9, 16, 30, 0.96));
      border: 1px solid rgba(56, 189, 248, 0.18);
      border-radius: 20px;
      padding: 20px 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
      position: relative;
      overflow: hidden;
    }

    /* LEFT HERO CARD */
    .eyebrow-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      color: var(--gold-light);
      background: rgba(245, 158, 11, 0.12);
      border: 1px solid rgba(245, 158, 11, 0.32);
      padding: 5px 12px;
      border-radius: 999px;
      width: fit-content;
    }

    .hero-main-title {
      font-size: 33px;
      font-weight: 900;
      line-height: 1.15;
      letter-spacing: -0.5px;
      color: #ffffff;
      margin-top: 8px;
    }

    .hero-main-title .cyan-grad {
      background: linear-gradient(90deg, #38bdf8, #60a5fa, #a855f7);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      font-size: 14px;
      line-height: 1.48;
      color: #cbd5e1;
      margin-top: 6px;
    }

    .course-demo-box {
      background: rgba(8, 14, 28, 0.85);
      border: 1px solid rgba(56, 189, 248, 0.24);
      border-radius: 15px;
      padding: 13px 15px;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .course-demo-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12.5px;
      font-weight: 800;
      color: var(--cyan);
    }

    .course-demo-header span.sub {
      font-size: 11px;
      color: #94a3b8;
      font-weight: 600;
    }

    .course-btn-group {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    .course-chip {
      background: rgba(30, 41, 59, 0.75);
      border: 1px solid rgba(148, 163, 184, 0.25);
      color: #e2e8f0;
      padding: 7px 11px;
      border-radius: 9px;
      font-size: 12.2px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.18s ease;
    }

    .course-chip:hover {
      border-color: var(--cyan);
      color: #ffffff;
    }

    .course-chip.active {
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.42), rgba(14, 165, 233, 0.28));
      border-color: var(--cyan);
      color: #ffffff;
      box-shadow: 0 0 14px rgba(56, 189, 248, 0.28);
    }

    .course-selected-result {
      background: rgba(245, 158, 11, 0.1);
      border: 1px solid rgba(245, 158, 11, 0.35);
      border-radius: 9px;
      padding: 8px 11px;
      font-size: 12.2px;
      font-weight: 700;
      color: var(--gold-light);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .course-selected-result .go-link {
      color: #38bdf8;
      text-decoration: none;
      font-size: 11.5px;
      font-weight: 800;
      white-space: nowrap;
    }

    .mini-feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 9px;
    }

    .mini-feat-card {
      background: rgba(15, 23, 42, 0.78);
      border: 1px solid rgba(148, 163, 184, 0.16);
      border-radius: 12px;
      padding: 10px;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .mini-feat-title { font-size: 13px; font-weight: 800; }
    .mini-feat-title.cyan { color: var(--cyan); }
    .mini-feat-title.gold { color: var(--gold-light); }
    .mini-feat-title.emerald { color: #34d399; }
    .mini-feat-sub { font-size: 11px; color: #94a3b8; font-weight: 600; }

    .left-cta-row {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .btn-cta-wide {
      flex: 1;
      text-decoration: none;
      padding: 12px 16px;
      border-radius: 12px;
      background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
      border: 1px solid rgba(56, 189, 248, 0.55);
      color: #ffffff;
      font-size: 13.5px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
      transition: all 0.2s ease;
    }

    .btn-cta-wide:hover { transform: translateY(-2px); filter: brightness(1.08); }

    .btn-cta-gold {
      text-decoration: none;
      padding: 12px 18px;
      border-radius: 12px;
      background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      border: 1px solid rgba(254, 243, 199, 0.55);
      color: #090d16;
      font-size: 13.5px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
      transition: all 0.2s ease;
    }

    .btn-cta-gold:hover { transform: translateY(-2px); filter: brightness(1.06); }

    /* RIGHT HERO CARD: FULL-WIDTH 81-PROVINCE INTERACTIVE TURKEY MAP */
    .map-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .map-title-block {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .map-eyebrow {
      font-size: 11.5px;
      font-weight: 800;
      color: var(--gold-light);
      letter-spacing: 0.6px;
      text-transform: uppercase;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .map-main-heading {
      font-size: 17px;
      font-weight: 800;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .map-controls-right {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .il-quick-select {
      background: rgba(15, 23, 42, 0.92);
      border: 1px solid rgba(56, 189, 248, 0.35);
      color: #f8fafc;
      font-size: 12.5px;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: 9px;
      outline: none;
      cursor: pointer;
    }

    .bolge-filter-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      margin-top: 5px;
    }

    .bolge-pills {
      display: flex;
      align-items: center;
      gap: 5px;
      flex-wrap: nowrap;
    }

    .bolge-btn {
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(148, 163, 184, 0.22);
      color: #cbd5e1;
      font-size: 11.5px;
      font-weight: 700;
      padding: 5px 11px;
      border-radius: 999px;
      cursor: pointer;
      transition: all 0.16s ease;
    }

    .bolge-btn:hover {
      border-color: var(--cyan);
      color: #ffffff;
    }

    .bolge-btn.active {
      background: linear-gradient(135deg, rgba(37, 99, 235, 0.45), rgba(56, 189, 248, 0.3));
      border-color: var(--cyan);
      color: #ffffff;
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
    }

    .map-legend {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 11px;
      font-weight: 700;
      color: #94a3b8;
    }

    .legend-item {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .legend-swatch {
      width: 10px;
      height: 10px;
      border-radius: 3px;
      display: inline-block;
    }

    /* FULL-WIDTH SVG MAP STAGE */
    .tr-map-stage {
      position: relative;
      flex: 1;
      margin: 8px 0;
      background: radial-gradient(ellipse at center, rgba(14, 35, 68, 0.68) 0%, rgba(7, 13, 25, 0.95) 100%);
      border: 1px solid rgba(56, 189, 248, 0.24);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.65);
    }

    .tr-map-svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Province Polygons */
    .tr-il-path {
      stroke: rgba(125, 211, 252, 0.48);
      stroke-width: 0.72;
      stroke-linejoin: round;
      cursor: pointer;
      transition: fill 0.18s ease, stroke 0.18s ease, opacity 0.22s ease, filter 0.18s ease;
    }

    .tr-il-path.tier-1 { fill: #122b4a; }
    .tr-il-path.tier-2 { fill: #163e6c; }
    .tr-il-path.tier-3 { fill: #1b5694; }
    .tr-il-path.tier-4 { fill: #0284c7; }
    .tr-il-path.tier-5 { fill: #0ea5e9; }

    .tr-il-path:hover {
      fill: #f59e0b !important;
      stroke: #fef08a !important;
      stroke-width: 1.45 !important;
      filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.65));
    }

    .tr-il-path.dimmed {
      opacity: 0.12;
      pointer-events: none;
    }

    .tr-il-label-g {
      pointer-events: none;
      transition: opacity 0.2s ease;
    }

    .tr-il-label-g.dimmed {
      opacity: 0.08;
    }

    .tr-il-dot { fill: rgba(56, 189, 248, 0.88); }
    .tr-il-plaka {
      font-size: 6.4px;
      font-weight: 800;
      fill: rgba(254, 240, 138, 0.95);
      text-anchor: middle;
      paint-order: stroke;
      stroke: rgba(7, 13, 25, 0.92);
      stroke-width: 2.1px;
    }
    .tr-il-isim {
      font-size: 6.8px;
      font-weight: 700;
      fill: #f8fafc;
      text-anchor: middle;
      paint-order: stroke;
      stroke: rgba(7, 13, 25, 0.95);
      stroke-width: 2.2px;
    }

    .map-overlay-hint {
      position: absolute;
      left: 14px;
      bottom: 12px;
      background: rgba(8, 14, 28, 0.9);
      border: 1px solid rgba(56, 189, 248, 0.35);
      border-radius: 10px;
      padding: 6px 12px;
      font-size: 11.5px;
      font-weight: 700;
      color: #e2e8f0;
      pointer-events: none;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* FLOATING TOOLTIP ON MAP HOVER */
    .map-tooltip {
      position: absolute;
      pointer-events: none;
      background: rgba(9, 15, 29, 0.96);
      border: 1px solid var(--gold-light);
      border-radius: 11px;
      padding: 8px 12px;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
      z-index: 30;
      opacity: 0;
      transform: translate(-50%, -115%);
      transition: opacity 0.12s ease;
      min-width: 205px;
    }

    .map-tooltip.show { opacity: 1; }
    .tt-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-size: 13px;
      font-weight: 800;
      color: #ffffff;
      border-bottom: 1px solid rgba(148, 163, 184, 0.2);
      padding-bottom: 3px;
      margin-bottom: 4px;
    }
    .tt-plaka {
      background: var(--gold);
      color: #090d16;
      font-size: 10.5px;
      font-weight: 900;
      padding: 1px 6px;
      border-radius: 5px;
    }
    .tt-stats { font-size: 11px; font-weight: 700; color: var(--cyan); margin-bottom: 2px; }
    .tt-courses { font-size: 10.5px; color: #fde047; font-weight: 700; line-height: 1.3; }

    /* BOTTOM SELECTED SUMMARY BAR IN RIGHT CARD */
    .map-selected-bar {
      background: rgba(8, 14, 28, 0.9);
      border: 1px solid rgba(56, 189, 248, 0.28);
      border-radius: 13px;
      padding: 8px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .sel-il-left {
      display: flex;
      align-items: center;
      gap: 11px;
      min-width: 0;
    }

    .sel-plaka-badge {
      width: 36px;
      height: 36px;
      min-width: 36px;
      border-radius: 10px;
      background: linear-gradient(135deg, #f59e0b, #ea580c);
      color: #090d16;
      font-size: 14.5px;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    }

    .sel-il-info {
      display: flex;
      flex-direction: column;
      gap: 1px;
      min-width: 0;
    }

    .sel-il-title-row {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13.5px;
      font-weight: 800;
      color: #ffffff;
    }

    .sel-il-bolge-tag {
      font-size: 10.5px;
      font-weight: 700;
      color: var(--cyan);
      background: rgba(56, 189, 248, 0.14);
      border: 1px solid rgba(56, 189, 248, 0.3);
      padding: 1px 7px;
      border-radius: 999px;
    }

    .sel-il-sub-row {
      font-size: 11.8px;
      color: #cbd5e1;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .sel-il-sub-row strong { color: var(--gold-light); }

    .sel-il-metrics {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .sel-metric-box {
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.2);
      border-radius: 9px;
      padding: 4px 10px;
      text-align: center;
    }

    .sel-metric-val { font-size: 13px; font-weight: 900; color: var(--gold-light); }
    .sel-metric-lbl { font-size: 9.5px; font-weight: 700; color: #94a3b8; text-transform: uppercase; }

    /* BOTTOM 3 BENTO SHOWCASE CARDS */
    .vitrin-bento-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 15px;
      flex: 1;
      min-height: 0;
    }

    .bento-card {
      background: linear-gradient(160deg, rgba(15, 25, 45, 0.9), rgba(9, 15, 28, 0.95));
      border: 1px solid rgba(56, 189, 248, 0.16);
      border-radius: 17px;
      padding: 14px 18px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
      transition: border-color 0.2s ease, transform 0.2s ease;
    }

    .bento-card:hover {
      border-color: rgba(56, 189, 248, 0.42);
      transform: translateY(-2px);
    }

    .bento-title-group { display: flex; flex-direction: column; gap: 3px; }
    .bento-badge {
      font-size: 10.5px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      padding: 2px 8px;
      border-radius: 999px;
      width: fit-content;
    }
    .bento-badge.cyan { background: rgba(56, 189, 248, 0.15); color: var(--cyan); border: 1px solid rgba(56, 189, 248, 0.3); }
    .bento-badge.gold { background: rgba(245, 158, 11, 0.15); color: var(--gold-light); border: 1px solid rgba(245, 158, 11, 0.3); }
    .bento-badge.emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

    .bento-title { font-size: 16px; font-weight: 800; color: #ffffff; }
    .bento-desc { font-size: 12.2px; color: #94a3b8; line-height: 1.38; }
    .bento-chips {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-top: 6px;
      border-top: 1px solid rgba(148, 163, 184, 0.14);
    }
    .bento-pill-list { display: flex; flex-wrap: wrap; gap: 5px; }
    .bento-mini-tag {
      font-size: 11px;
      font-weight: 700;
      color: #e2e8f0;
      background: rgba(30, 41, 59, 0.8);
      border: 1px solid rgba(148, 163, 184, 0.2);
      padding: 3px 8px;
      border-radius: 6px;
    }
    .bento-action-link {
      text-decoration: none;
      font-size: 12px;
      font-weight: 800;
      color: var(--gold-light);
      white-space: nowrap;
    }

    /* ============================================================================
       SEPARATE POPUP WINDOW (MODAL) WHEN A PROVINCE IS CLICKED:
       Left: Zoomed District Map of the Province | Right: ALL Courses & Filter
       ============================================================================ */
    .il-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(3, 7, 16, 0.84);
      backdrop-filter: blur(8px);
      z-index: 200;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 28px;
    }

    .il-modal-backdrop.open {
      display: flex;
      animation: modalFadeIn 0.2s ease-out;
    }

    @keyframes modalFadeIn {
      from { opacity: 0; transform: scale(0.97); }
      to { opacity: 1; transform: scale(1); }
    }

    .il-modal-window {
      width: 1740px;
      height: 850px;
      background: linear-gradient(160deg, #0d182c 0%, #070d19 100%);
      border: 1.5px solid rgba(56, 189, 248, 0.4);
      border-radius: 24px;
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85), 0 0 40px rgba(56, 189, 248, 0.15);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .il-modal-header {
      height: 74px;
      min-height: 74px;
      padding: 0 26px;
      background: rgba(15, 25, 45, 0.95);
      border-bottom: 1px solid rgba(56, 189, 248, 0.22);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .il-modal-title-left {
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .il-modal-plaka {
      width: 48px;
      height: 48px;
      border-radius: 13px;
      background: linear-gradient(135deg, #fbbf24, #ea580c);
      color: #090d16;
      font-size: 20px;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
    }

    .il-modal-headings {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .il-modal-main-title {
      font-size: 22px;
      font-weight: 900;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .il-modal-bolge-badge {
      font-size: 12px;
      font-weight: 800;
      color: var(--cyan);
      background: rgba(56, 189, 248, 0.15);
      border: 1px solid rgba(56, 189, 248, 0.35);
      padding: 3px 10px;
      border-radius: 999px;
    }

    .il-modal-sub {
      font-size: 13px;
      color: #94a3b8;
      font-weight: 600;
    }

    .il-modal-header-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .modal-stat-chip {
      background: rgba(8, 14, 28, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.25);
      padding: 8px 15px;
      border-radius: 12px;
      font-size: 13px;
      font-weight: 700;
      color: #cbd5e1;
      display: flex;
      align-items: center;
      gap: 7px;
    }

    .modal-stat-chip strong {
      color: var(--gold-light);
      font-size: 15px;
      font-weight: 900;
    }

    .btn-modal-kapat {
      background: rgba(239, 68, 68, 0.18);
      border: 1px solid rgba(239, 68, 68, 0.5);
      color: #fca5a5;
      padding: 10px 20px;
      border-radius: 12px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      transition: all 0.18s ease;
    }

    .btn-modal-kapat:hover {
      background: #ef4444;
      color: #ffffff;
    }

    /* MODAL BODY: LEFT = ZOOMED DISTRICT MAP, RIGHT = ALL COURSES LIST */
    .il-modal-body {
      flex: 1;
      display: grid;
      grid-template-columns: 1fr 640px;
      gap: 18px;
      padding: 18px 24px;
      min-height: 0;
      overflow: hidden;
    }

    .modal-map-col {
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 0;
    }

    .modal-ilce-stage {
      position: relative;
      flex: 1;
      background: radial-gradient(ellipse at center, rgba(16, 40, 78, 0.72) 0%, rgba(6, 12, 24, 0.96) 100%);
      border: 1px solid rgba(56, 189, 248, 0.28);
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.7);
    }

    .modal-ilce-svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .tr-ilce-path {
      stroke: #061224;
      stroke-linejoin: round;
      cursor: pointer;
      transition: fill 0.16s ease, stroke 0.16s ease, filter 0.16s ease;
    }

    .tr-ilce-path:hover {
      fill: #fbbf24 !important;
      stroke: #ffffff !important;
      filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.7));
    }

    .tr-ilce-path.active {
      fill: #f59e0b !important;
      stroke: #ffffff !important;
      filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.9));
    }

    .tr-ilce-label {
      pointer-events: none;
      font-weight: 800;
      fill: #ffffff;
      text-anchor: middle;
      paint-order: stroke;
      stroke: rgba(6, 12, 24, 0.95);
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .tr-ilce-sub-count {
      pointer-events: none;
      font-weight: 800;
      fill: #fde047;
      text-anchor: middle;
      paint-order: stroke;
      stroke: rgba(6, 12, 24, 0.95);
    }

    /* District chips bar below modal map */
    .modal-ilce-chips-wrap {
      background: rgba(10, 18, 34, 0.92);
      border: 1px solid rgba(56, 189, 248, 0.22);
      border-radius: 14px;
      padding: 10px 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
      max-height: 92px;
      overflow-y: auto;
    }

    .ilce-pill-btn {
      background: rgba(20, 32, 54, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.26);
      color: #cbd5e1;
      font-size: 12px;
      font-weight: 700;
      padding: 5px 11px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .ilce-pill-btn:hover {
      border-color: var(--cyan);
      color: #ffffff;
    }

    .ilce-pill-btn.active {
      background: linear-gradient(135deg, #f59e0b, #ea580c);
      border-color: #fef08a;
      color: #090d16;
      font-weight: 900;
    }

    /* RIGHT COLUMN IN MODAL: ALL COURSES LIST + SEARCH */
    .modal-courses-col {
      background: rgba(10, 18, 34, 0.94);
      border: 1px solid rgba(56, 189, 248, 0.28);
      border-radius: 18px;
      padding: 16px 18px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      min-height: 0;
      overflow: hidden;
    }

    .modal-courses-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    }

    .modal-courses-title {
      font-size: 16px;
      font-weight: 800;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .modal-courses-badge {
      background: var(--gold-light);
      color: #090d16;
      font-size: 12px;
      font-weight: 900;
      padding: 4px 11px;
      border-radius: 999px;
      white-space: nowrap;
    }

    .modal-search-wrap {
      position: relative;
      display: flex;
      align-items: center;
    }

    .modal-course-search {
      width: 100%;
      background: rgba(15, 25, 45, 0.95);
      border: 1px solid rgba(56, 189, 248, 0.32);
      border-radius: 11px;
      padding: 10px 14px;
      color: #ffffff;
      font-size: 13px;
      font-weight: 600;
      outline: none;
    }

    .modal-course-search:focus {
      border-color: var(--gold-light);
      box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
    }

    .modal-courses-scroll {
      flex: 1;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 7px;
      padding-right: 4px;
    }

    .modal-course-item {
      background: rgba(17, 28, 50, 0.85);
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 11px;
      padding: 10px 13px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      cursor: pointer;
      transition: all 0.15s ease;
    }

    .modal-course-item:hover {
      border-color: var(--cyan);
      background: rgba(30, 45, 75, 0.95);
      transform: translateX(2px);
    }

    .mc-left {
      display: flex;
      flex-direction: column;
      gap: 3px;
      min-width: 0;
    }

    .mc-name {
      font-size: 13.5px;
      font-weight: 800;
      color: #f8fafc;
      line-height: 1.3;
    }

    .mc-sub {
      font-size: 11.5px;
      color: #94a3b8;
      font-weight: 600;
    }

    .mc-right {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .mc-count-badge {
      background: rgba(56, 189, 248, 0.15);
      border: 1px solid rgba(56, 189, 248, 0.35);
      color: var(--cyan);
      font-size: 12px;
      font-weight: 800;
      padding: 4px 10px;
      border-radius: 8px;
      white-space: nowrap;
    }

    .mc-plan-btn {
      background: rgba(245, 158, 11, 0.18);
      border: 1px solid rgba(245, 158, 11, 0.45);
      color: var(--gold-light);
      font-size: 11.5px;
      font-weight: 800;
      padding: 4px 9px;
      border-radius: 8px;
      white-space: nowrap;
      transition: all 0.15s ease;
    }

    .modal-course-item:hover .mc-plan-btn {
      background: linear-gradient(135deg, #fbbf24, #d97706);
      color: #090d16;
      border-color: #fde68a;
      box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
    }

    /* ==========================================================================
       AYRI KURS DETAY PENCERESİ (PLANA GİT TIKLANDIĞINDA AÇILAN E-YAYGIN BİLGİ KARTI)
       ========================================================================== */
    .kurs-detay-backdrop {
      position: fixed;
      inset: 0;
      z-index: 260;
      background: rgba(4, 9, 20, 0.82);
      backdrop-filter: blur(10px);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 24px;
    }

    .kurs-detay-backdrop.open {
      display: flex;
      animation: kdFadeIn 0.18s ease-out;
    }

    @keyframes kdFadeIn {
      from { opacity: 0; transform: scale(0.97); }
      to { opacity: 1; transform: scale(1); }
    }

    .kurs-detay-window {
      width: 680px;
      max-width: 94vw;
      max-height: 88vh;
      background: linear-gradient(165deg, rgba(13, 23, 42, 0.98) 0%, rgba(8, 15, 30, 0.99) 100%);
      border: 1.5px solid rgba(56, 189, 248, 0.42);
      border-radius: 22px;
      box-shadow: 0 28px 75px rgba(0, 0, 0, 0.88), 0 0 38px rgba(14, 165, 233, 0.22);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .kd-header {
      padding: 16px 22px;
      background: linear-gradient(90deg, rgba(15, 29, 54, 0.96), rgba(11, 20, 38, 0.96));
      border-bottom: 1px solid rgba(56, 189, 248, 0.25);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
    }

    .kd-header-left {
      display: flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .kd-icon-badge {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #090d16;
      font-size: 18px;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
      flex-shrink: 0;
    }

    .kd-title-wrap {
      display: flex;
      flex-direction: column;
      gap: 2px;
      min-width: 0;
    }

    .kd-eyebrow {
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.7px;
      color: var(--cyan);
      text-transform: uppercase;
    }

    .kd-main-title {
      font-size: 16.5px;
      font-weight: 900;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .btn-kd-close {
      background: rgba(239, 68, 68, 0.16);
      border: 1px solid rgba(239, 68, 68, 0.45);
      color: #fca5a5;
      padding: 7px 14px;
      border-radius: 10px;
      font-size: 12.5px;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.15s ease;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .btn-kd-close:hover {
      background: #ef4444;
      color: #ffffff;
    }

    /* Aktif Sınıf Seçici Sekmeler (Birden fazla aktif kurs varsa) */
    .kd-sinif-bar {
      padding: 10px 22px;
      background: rgba(9, 16, 31, 0.92);
      border-bottom: 1px solid rgba(148, 163, 184, 0.16);
      display: flex;
      align-items: center;
      gap: 8px;
      overflow-x: auto;
    }

    .kd-sinif-bar-lbl {
      font-size: 11.5px;
      font-weight: 800;
      color: #94a3b8;
      white-space: nowrap;
      margin-right: 4px;
    }

    .kd-sinif-pill {
      background: rgba(20, 33, 58, 0.9);
      border: 1px solid rgba(56, 189, 248, 0.28);
      color: #cbd5e1;
      padding: 5px 11px;
      border-radius: 999px;
      font-size: 11.5px;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.15s ease;
    }

    .kd-sinif-pill:hover {
      border-color: var(--cyan);
      color: #ffffff;
    }

    .kd-sinif-pill.active {
      background: linear-gradient(135deg, #fbbf24, #d97706);
      color: #090d16;
      border-color: #fde68a;
      font-weight: 900;
      box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
    }

    /* Kurs Bilgi Tablosu (Görseldeki 10 Satırlık Yapı) */
    .kd-body {
      padding: 20px 26px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .kd-info-card {
      background: rgba(15, 25, 46, 0.85);
      border: 1px solid rgba(148, 163, 184, 0.2);
      border-radius: 16px;
      padding: 6px 20px;
      display: flex;
      flex-direction: column;
    }

    .kd-row {
      display: grid;
      grid-template-columns: 175px 1fr;
      align-items: center;
      gap: 16px;
      padding: 10.5px 4px;
      border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    }

    .kd-row:last-child {
      border-bottom: none;
    }

    .kd-lbl {
      font-size: 13px;
      font-weight: 700;
      color: #7c93b2;
      letter-spacing: 0.4px;
      text-transform: uppercase;
    }

    .kd-val {
      font-size: 15px;
      font-weight: 700;
      color: #f1f5f9;
      line-height: 1.35;
      word-break: break-word;
    }

    .kd-val.highlight-no {
      color: #38bdf8;
      font-family: 'Outfit', sans-serif;
      font-weight: 800;
      letter-spacing: 0.5px;
    }

    .kd-val.highlight-kurs {
      color: #fbbf24;
      font-weight: 800;
    }

    /* Alt Aksiyon Butonları (Görseldeki "Başvur" + "Plana Git / Evrak Hazırla") */
    .kd-footer {
      padding: 16px 26px 20px;
      background: rgba(10, 18, 34, 0.95);
      border-top: 1px solid rgba(56, 189, 248, 0.2);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .btn-kd-basvur {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: linear-gradient(135deg, #0d5c75 0%, #0a4659 100%);
      border: 1.5px solid rgba(56, 189, 248, 0.55);
      color: #ffffff;
      font-size: 14.5px;
      font-weight: 800;
      padding: 10px 28px;
      border-radius: 999px;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(8, 76, 97, 0.5);
      transition: all 0.16s ease;
    }

    .btn-kd-basvur:hover {
      background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
      border-color: #7dd3fc;
      transform: translateY(-1px);
      box-shadow: 0 8px 22px rgba(14, 165, 233, 0.4);
    }

    .btn-kd-plan-hazirla {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      border: 1px solid #fde68a;
      color: #090d16;
      font-size: 13.5px;
      font-weight: 900;
      padding: 10px 20px;
      border-radius: 999px;
      text-decoration: none;
      cursor: pointer;
      box-shadow: 0 6px 18px rgba(245, 158, 11, 0.32);
      transition: all 0.16s ease;
    }

    .btn-kd-plan-hazirla:hover {
      filter: brightness(1.08);
      transform: translateY(-1px);
    }

    /* ==========================================================================
       MOBIL & TABLET UYUMLULUK (<= 960px) — MASAÜSTÜ (1920x956) HİÇ DEĞİŞMEZ
       ========================================================================== */
    @media (max-width: 960px) {
      * {
        user-select: auto;
      }

      html, body {
        width: 100% !important;
        height: auto !important;
        min-height: 100dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch;
      }

      #hem-ekran-sahne {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100dvh !important;
        transform: none !important;
        overflow: visible !important;
        padding: 12px 12px 32px !important;
        gap: 14px !important;
      }

      .vitrin-topbar {
        height: auto !important;
        min-height: 0 !important;
        padding: 14px !important;
        border-radius: 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
      }

      .brand-left {
        gap: 12px !important;
      }

      .brand-logo-box {
        width: 50px !important;
        height: 50px !important;
        border-radius: 14px !important;
        flex-shrink: 0 !important;
      }

      .brand-headline {
        font-size: 17.5px !important;
        line-height: 1.25 !important;
      }

      .brand-subline {
        font-size: 11px !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        line-height: 1.35 !important;
      }

      .topbar-actions {
        order: 2 !important;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
      }

      .btn-kayit,
      .btn-giris-ana {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 10px !important;
        font-size: 13.5px !important;
        border-radius: 12px !important;
        text-align: center !important;
      }

      .topbar-center-stats {
        order: 3 !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
      }

      .stat-pill {
        justify-content: center !important;
        padding: 7px 8px !important;
        font-size: 11.5px !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
      }

      .stat-pill strong {
        font-size: 12.5px !important;
      }

      .vitrin-hero-grid {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 0 !important;
        gap: 14px !important;
      }

      .vitrin-card {
        padding: 16px !important;
        border-radius: 18px !important;
        gap: 14px !important;
      }

      .hero-main-title {
        font-size: 24px !important;
        line-height: 1.22 !important;
        margin-bottom: 8px !important;
      }

      .hero-lead {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 12px !important;
      }

      .course-demo-box {
        padding: 12px !important;
      }

      .course-chips-row {
        flex-wrap: wrap !important;
        gap: 6px !important;
      }

      .course-chip {
        font-size: 12px !important;
        padding: 7px 10px !important;
      }

      .hero-mini-pillars {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin-top: 10px !important;
      }

      .mini-pillar {
        padding: 10px 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
        gap: 10px !important;
      }

      .map-card-top {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
      }

      .map-header-controls {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
      }

      .il-quick-select {
        width: 100% !important;
        padding: 10px 12px !important;
        font-size: 13.5px !important;
        border-radius: 10px !important;
      }

      .hem-total-badge {
        align-self: flex-start !important;
      }

      .bolge-filter-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
      }

      .bolge-pills {
        overflow-x: auto !important;
        padding-bottom: 4px !important;
        -webkit-overflow-scrolling: touch;
      }

      .bolge-btn {
        flex-shrink: 0 !important;
        padding: 7px 12px !important;
        font-size: 12px !important;
      }

      .map-legend {
        justify-content: center !important;
        flex-wrap: wrap !important;
      }

      .tr-map-stage {
        min-height: 220px !important;
        height: 50vw !important;
        max-height: 340px !important;
        margin: 4px 0 !important;
      }

      .map-overlay-hint {
        font-size: 10.5px !important;
        padding: 5px 10px !important;
        max-width: 94% !important;
        white-space: normal !important;
        text-align: center !important;
        bottom: 6px !important;
      }

      .map-bottom-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        padding: 12px !important;
      }

      .sel-il-metrics {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
        width: 100% !important;
      }

      .metric-box {
        padding: 6px 4px !important;
        text-align: center !important;
      }

      .metric-val {
        font-size: 14px !important;
      }

      .vitrin-bento-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: 0 !important;
        gap: 12px !important;
      }

      .bento-card {
        padding: 16px !important;
        gap: 10px !important;
      }

      /* MOBİLDE İL & İLÇE & KURSLAR PENCERESİ (TAM EKRAN SHEET) */
      .il-modal-backdrop {
        padding: 0 !important;
        align-items: stretch !important;
      }

      .il-modal-window {
        width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
      }

      .il-modal-header {
        padding: 12px 14px !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 30 !important;
        background: rgba(11, 20, 38, 0.98) !important;
      }

      .il-modal-plaka {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
      }

      .il-modal-main-title {
        font-size: 15.5px !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
      }

      .il-modal-sub {
        font-size: 11.5px !important;
      }

      .il-modal-header-right {
        width: 100% !important;
        justify-content: space-between !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
      }

      .modal-stat-chip {
        padding: 5px 9px !important;
        font-size: 11.5px !important;
      }

      .modal-stat-chip strong {
        font-size: 13px !important;
      }

      .btn-modal-kapat {
        padding: 7px 14px !important;
        font-size: 12.5px !important;
        margin-left: auto !important;
      }

      .il-modal-body {
        display: flex !important;
        flex-direction: column !important;
        padding: 12px !important;
        gap: 12px !important;
        overflow: visible !important;
        flex: none !important;
      }

      .modal-map-col {
        flex: none !important;
      }

      .modal-ilce-stage {
        min-height: 230px !important;
        height: 58vw !important;
        max-height: 310px !important;
        flex: none !important;
      }

      .modal-ilce-chips-bar {
        max-height: 96px !important;
        overflow-y: auto !important;
      }

      .modal-courses-col {
        flex: none !important;
        min-height: 360px !important;
      }

      .modal-courses-scroll {
        max-height: 52dvh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
      }

      .modal-course-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
      }

      .mc-right {
        width: 100% !important;
        justify-content: space-between !important;
      }

      .kurs-detay-backdrop {
        padding: 12px !important;
      }

      .kurs-detay-window {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 92dvh !important;
        border-radius: 18px !important;
      }

      .kd-header {
        padding: 12px 14px !important;
      }

      .kd-main-title {
        font-size: 14px !important;
        white-space: normal !important;
      }

      .kd-body {
        padding: 14px !important;
      }

      .kd-info-card {
        padding: 4px 14px !important;
      }

      .kd-row {
        grid-template-columns: 130px 1fr !important;
        gap: 10px !important;
        padding: 9px 2px !important;
      }

      .kd-lbl {
        font-size: 11.5px !important;
      }

      .kd-val {
        font-size: 13.5px !important;
      }

      .kd-footer {
        padding: 12px 14px 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
      }

      .btn-kd-basvur,
      .btn-kd-plan-hazirla {
        width: 100% !important;
      }
    }

.stat-pill, .btn-kayit, .btn-giris-ana { white-space: nowrap; flex-shrink: 0; }

/* VİTRİN SOL KART CANLI VİDEO KAPAK KARTI (.vvt-thumb-card) */
.vvt-thumb-card {
  display: grid;
  grid-template-columns: 186px 1fr;
  gap: 14px;
  align-items: center;
  background: linear-gradient(135deg, rgba(12, 22, 42, 0.94) 0%, rgba(18, 33, 61, 0.94) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.34);
  border-radius: 14px;
  padding: 10px 13px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.vvt-thumb-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.26), 0 0 18px rgba(56, 189, 248, 0.24);
}

.vvt-media-box {
  position: relative;
  width: 186px;
  height: 98px;
  border-radius: 10px;
  overflow: hidden;
  background: #050b16;
  border: 1.5px solid rgba(251, 191, 36, 0.48);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.vvt-preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.04);
  transition: transform 0.28s ease, filter 0.28s ease;
}

.vvt-thumb-card:hover .vvt-preview-video {
  transform: scale(1.04);
  filter: brightness(1.02) contrast(1.06);
}

.vvt-media-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 13, 25, 0.18) 0%, rgba(7, 13, 25, 0.62) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vvt-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #ea580c 100%);
  color: #090d16;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.65), 0 0 0 4px rgba(245, 158, 11, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vvt-thumb-card:hover .vvt-play-badge {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.85), 0 0 0 6px rgba(245, 158, 11, 0.32);
}

.vvt-duration-chip {
  position: absolute;
  right: 6px;
  bottom: 5px;
  background: rgba(7, 13, 25, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #f8fafc;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
}

.vvt-info-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.vvt-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.vvt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.4px;
}

.vvt-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  display: inline-block;
}

.vvt-sound-pill {
  font-size: 11px;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.vvt-title {
  font-size: 15px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.vvt-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.vvt-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 7px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #e2e8f0;
  white-space: nowrap;
}

.vvt-tag.cyan { color: var(--cyan); border-color: rgba(56, 189, 248, 0.32); }
.vvt-tag.gold { color: var(--gold-light); border-color: rgba(245, 158, 11, 0.32); }
.vvt-tag.emerald { color: #34d399; border-color: rgba(16, 185, 129, 0.32); }
.vvt-tag.blue { color: #93c5fd; border-color: rgba(96, 165, 250, 0.32); }

/* VİTRİN SESLİ TANITIM VİDEOSU SİNEMA / TAM EKRAN MODALI */
.vvt-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 17, 0.86);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.vvt-modal-backdrop.open {
  display: flex;
}

.vvt-modal-window {
  width: 1320px;
  max-width: 96vw;
  background: linear-gradient(160deg, #0d182c 0%, #070d19 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.38);
  border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.8), 0 0 35px rgba(56, 189, 248, 0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vvt-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.92);
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
}

.vvt-modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vvt-modal-icon {
  font-size: 24px;
}

.vvt-modal-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: var(--gold-light);
}

.vvt-modal-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.vvt-modal-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vvt-ctrl-btn {
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.vvt-ctrl-btn:hover {
  border-color: var(--cyan);
  color: #ffffff;
}

.vvt-ctrl-btn.play {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-color: rgba(56, 189, 248, 0.6);
  color: #ffffff;
}

.vvt-ctrl-btn.speed.active {
  background: rgba(245, 158, 11, 0.22);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.vvt-ctrl-btn.fullscreen {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.45);
  color: #6ee7b7;
}

.vvt-ctrl-btn.close {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(248, 113, 113, 0.45);
  color: #fca5a5;
}

.vvt-ctrl-btn.close:hover {
  background: #dc2626;
  color: #ffffff;
}

.vvt-modal-video-wrap {
  width: 100%;
  background: #02060d;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
}

.vvt-modal-video {
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.vvt-modal-chapters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding: 12px 16px;
  background: rgba(10, 18, 34, 0.96);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
}

.vvt-chapter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
}

.vvt-chapter-btn:hover,
.vvt-chapter-btn.active {
  background: rgba(37, 99, 235, 0.24);
  border-color: var(--cyan);
  color: #ffffff;
}

.vvt-chap-time {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 6px;
  flex-shrink: 0;
}

.vvt-chap-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .vvt-thumb-card {
    grid-template-columns: 1fr !important;
  }
  .vvt-media-box {
    width: 100% !important;
    height: 150px !important;
  }
  .vvt-modal-chapters {
    grid-template-columns: 1fr !important;
  }
}

.hem-skip-link {
  position: fixed;
  left: -9999px;
  top: 8px;
  z-index: 999999;
  background: #f59e0b;
  color: #0f172a;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
.hem-skip-link:focus {
  left: 12px;
}

.btn-fiyat-politikasi {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  color: #065f46;
  border: 1.5px solid #4ade80;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(74, 222, 128, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-fiyat-politikasi:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(74, 222, 128, 0.38);
}

.legend-swatch.sw-t5 { background: #0ea5e9; }
.legend-swatch.sw-t4 { background: #0284c7; }
.legend-swatch.sw-t3 { background: #1b5694; }
.legend-swatch.sw-gold { background: #f59e0b; }

.kd-sinif-bar:not(.is-open) {
  display: none !important;
}
