    :root {
      --bg-primary: #0d0f14;
      --bg-secondary: #161920;
      --bg-elevated: #222630;
      --border-subtle: rgba(255, 255, 255, 0.11);
      --accent-emerald: #10b981;
      --accent-gold: #f59e0b;
      --accent-blue: #3b82f6;
      --text-white: #f8fafc;
      --text-light: #d1d5db;
      --text-muted: #9ca3af;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }

    html, body {
      width: 100%;
      height: 100%;
      height: -webkit-fill-available;
      overflow: hidden;
      background: var(--bg-primary);
      color: var(--text-white);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      letter-spacing: -0.012em;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    body {
      height: 100vh;
      height: 100dvh;
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }

    svg {
      display: block;
      flex-shrink: 0;
    }

    /* KURUMSAL ÜST VE ALT REKLAM ALANLARI (ŞİMDİLİK TÜM SİTEDE GİZLİ) */
    .ad-banner,
    .ad-top,
    .ad-bottom {
      display: none !important;
    }

    /* ÜST KONTROL ÇUBUĞU (5 KURUMSAL BUTON TAM SIĞACAK ŞEKİLDE) */
    .control-bar {
      background: var(--bg-primary);
      padding: 6px 8px;
      border-bottom: 1px solid var(--border-subtle);
      z-index: 900;
      flex-shrink: 0;
    }

    .quick-actions-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 5px;
      width: 100%;
    }

    .action-btn {
      background: var(--bg-secondary);
      color: var(--text-light);
      border: 1px solid rgba(255, 255, 255, 0.12);
      padding: 7px 4px;
      border-radius: 8px;
      font-family: inherit;
      font-size: 10.5px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      white-space: nowrap;
      transition: all 0.15s ease;
    }

    .action-btn:active {
      transform: scale(0.97);
      background: var(--bg-elevated);
    }

    .action-btn.active-mode {
      background: rgba(59, 130, 246, 0.18);
      border-color: #3b82f6;
      color: #60a5fa;
    }

    .action-btn.pharmacy-btn {
      background: rgba(239, 68, 68, 0.14);
      border-color: rgba(239, 68, 68, 0.45);
      color: #fca5a5;
    }

    .action-btn.live-refresh-btn {
      background: rgba(16, 185, 129, 0.12);
      border-color: rgba(16, 185, 129, 0.4);
      color: #34d399;
    }

    .live-dot {
      width: 6px;
      height: 6px;
      background: #10b981;
      border-radius: 50%;
      animation: pulse 1.5s infinite;
      flex-shrink: 0;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
      70% { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
      100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    }

    /* HARİTA ALANI */
    .map-wrap {
      position: relative;
      flex: 1 1 auto;
      min-height: 180px;
      width: 100%;
      overflow: hidden;
    }

    #map {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    /* HARİTA ÜZERİ KURUMSAL DOLMUŞ İKONLARI (VEKTÖREL + YÖN OKLU) */
    .bus-anchor-point {
      position: relative;
      width: 0;
      height: 0;
    }

    .bus-dir-rotor {
      position: absolute;
      left: 0;
      top: 0;
      width: 48px;
      height: 48px;
      margin-left: -24px;
      margin-top: -24px;
      pointer-events: none;
      z-index: 2;
    }

    .bus-dir-arrow {
      position: absolute;
      top: -9px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-bottom: 13px solid #ffffff;
      filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
    }

    .bus-dir-arrow-inner {
      position: absolute;
      top: -6px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      border-bottom: 10px solid #10b981;
    }

    .bus-icon-circle {
      position: absolute;
      left: 0;
      top: 0;
      transform: translate(-50%, -50%);
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: #10b981;
      border: 2px solid #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.65);
      z-index: 3;
    }

    .bus-name-tag {
      position: absolute;
      left: 0;
      bottom: 22px;
      transform: translateX(-50%);
      background: rgba(9, 13, 22, 0.94);
      color: #ffffff;
      border: 1.5px solid #10b981;
      border-radius: 6px;
      padding: 2.5px 7px;
      font-size: 10.5px;
      font-weight: 800;
      letter-spacing: 0.1px;
      white-space: nowrap;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
      display: flex;
      align-items: center;
      gap: 4px;
      z-index: 4;
      pointer-events: none;
    }

    /* KOMPAKT HİSARÖNÜ DURAK PANELİ */
    .eta-panel {
      background: var(--bg-primary);
      border-top: 1px solid var(--border-subtle);
      padding: 6px 12px;
      z-index: 900;
      flex-shrink: 0;
    }

    .eta-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 4px;
    }

    .eta-stop-title {
      font-size: 11px;
      font-weight: 700;
      color: var(--text-light);
      display: flex;
      align-items: center;
      gap: 5px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .eta-stop-title svg {
      color: var(--accent-emerald);
    }

    .eta-count-badge {
      font-size: 10px;
      color: var(--text-muted);
      font-weight: 600;
      white-space: nowrap;
    }

    .eta-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-height: 88px;
      max-height: 118px;
      overflow-y: auto;
    }

    /* HARİTA ÜSTÜ SÜRÜŞ ROTASI BİLGİ BANDI */
    .route-banner {
      position: absolute;
      top: 8px;
      left: 10px;
      right: 10px;
      background: rgba(9, 13, 22, 0.94);
      border: 1.5px solid #ef4444;
      border-radius: 9px;
      padding: 7px 10px;
      display: none;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      z-index: 800;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.65);
      font-size: 11.5px;
    }

    .route-banner.show {
      display: flex;
    }

    .route-banner-clear {
      background: rgba(239, 68, 68, 0.22);
      border: 1px solid rgba(239, 68, 68, 0.6);
      color: #fecaca;
      border-radius: 6px;
      padding: 4px 8px;
      font-family: inherit;
      font-size: 10.5px;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
    }

    .eta-card {
      background: var(--bg-secondary);
      border: 1px solid rgba(16, 185, 129, 0.45);
      border-radius: 8px;
      padding: 6px 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      cursor: pointer;
    }

    .eta-left {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    .route-pill {
      background: rgba(16, 185, 129, 0.18);
      border: 1px solid rgba(16, 185, 129, 0.5);
      color: #34d399;
      font-weight: 800;
      font-size: 10px;
      letter-spacing: 0.4px;
      padding: 3px 7px;
      border-radius: 5px;
      white-space: nowrap;
    }

    .eta-info {
      min-width: 0;
    }

    .eta-title {
      font-size: 12px;
      font-weight: 700;
      color: var(--text-white);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .eta-sub {
      font-size: 10px;
      color: var(--text-muted);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .eta-right {
      text-align: right;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .eta-min {
      font-size: 13px;
      font-weight: 800;
      color: #34d399;
      line-height: 1.1;
    }

    .eta-stops {
      font-size: 9.5px;
      color: var(--text-muted);
    }

    /* RENS YAZILIM - EREN YENER KURUMSAL LOGOLU İMZA BAR */
    .brand-footer {
      background: #05080f;
      border-top: 1px solid rgba(168, 85, 247, 0.25);
      padding: 4px 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      text-decoration: none;
      color: #e2e8f0;
      font-size: 10.5px;
      font-weight: 600;
      letter-spacing: 0.3px;
      z-index: 1000;
      flex-shrink: 0;
    }

    .brand-logo {
      width: 19px;
      height: 19px;
      object-fit: contain;
      filter: drop-shadow(0 0 6px rgba(168, 85, 247, 0.55));
    }

    .brand-name {
      font-weight: 800;
      font-size: 10.5px;
      letter-spacing: 0.6px;
      color: #ffffff;
    }

    .brand-sep {
      color: #64748b;
    }

    .brand-author {
      color: #c084fc;
      font-weight: 700;
    }

    /* SAATLER, ANALİZ, EZAN, BROŞÜR VE ÜRÜN İNCELEME MODAL PENCERELERİ (100% TAM EKRAN) */
    .modal-backdrop {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: #090d16;
      z-index: 99970;
      display: none;
      align-items: stretch;
      justify-content: center;
      padding: 0;
    }

    .modal-backdrop.open {
      display: flex;
    }

    .modal-box {
      background: #090d16;
      border: none;
      border-radius: 0;
      max-width: none;
      width: 100vw;
      height: 100vh;
      height: 100dvh;
      max-height: none;
      margin: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .modal-head,
    .modal-header {
      padding: 10px 12px;
      background: var(--bg-primary);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      font-weight: 800;
      font-size: clamp(11.5px, 3.3vw, 13.5px);
      border-bottom: 1px solid var(--border-subtle);
      flex-shrink: 0;
    }

    .modal-head-title,
    .modal-title {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .modal-close {
      background: rgba(255, 255, 255, 0.08);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 7px;
      min-width: 28px;
      height: 28px;
      padding: 0 8px;
      font-family: inherit;
      font-size: 15px;
      font-weight: 900;
      line-height: 1;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      flex-shrink: 0;
    }

    .modal-body {
      padding: 10px;
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
      overscroll-behavior: contain;
      font-size: 12px;
      line-height: 1.42;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .modal-body > * {
      flex-shrink: 0;
    }

    .timetable-card {
      background: var(--bg-primary);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      overflow: hidden;
      flex-shrink: 0;
    }

    .timetable-header {
      background: #1a3a6c;
      color: #ffffff;
      text-align: center;
      font-weight: 800;
      font-size: 13px;
      letter-spacing: 0.5px;
      padding: 8px 10px;
      text-transform: uppercase;
    }

    .timetable-table {
      width: 100%;
      border-collapse: collapse;
      text-align: center;
      font-size: 11.5px;
    }

    .timetable-table th {
      background: #283747;
      color: #e2e8f0;
      font-size: 10.5px;
      font-weight: 800;
      padding: 6px 4px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      width: 33.33%;
    }

    .timetable-table th.active-day-col {
      color: #34d399;
      background: rgba(16, 185, 129, 0.16);
    }

    .timetable-table td {
      padding: 5px 4px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
      font-weight: 700;
      color: #f1f5f9;
    }

    .timetable-table tr:nth-child(even) td {
      background: rgba(255, 255, 255, 0.03);
    }

    .timetable-table td.next-dep-cell {
      background: rgba(16, 185, 129, 0.22) !important;
      color: #34d399;
      font-weight: 900;
    }

    .ota-badge {
      display: inline-block;
      font-size: 8.5px;
      font-weight: 800;
      color: #60a5fa;
      margin-right: 3px;
      letter-spacing: -0.2px;
    }

    .schedule-note {
      font-size: 10.5px;
      color: var(--text-muted);
      text-align: center;
      padding: 2px 4px;
    }

    /* GELİŞMİŞ SEGMENTED PILL SEKME BARI (TÜM KATEGORİLER & ALTIN PANOSU) */
    .pharm-filter-bar {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
      gap: 4px;
      background: rgba(9, 13, 22, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      padding: 3.5px;
      box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.55);
    }

    .pharm-filter-btn {
      background: transparent;
      color: #94a3b8;
      border: 1px solid transparent;
      border-radius: 7.5px;
      padding: 6.5px 5px;
      font-family: inherit;
      font-size: clamp(9.5px, 2.65vw, 10.8px);
      font-weight: 800;
      letter-spacing: -0.1px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 3.5px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .pharm-filter-btn:hover {
      color: #e2e8f0;
      background: rgba(255, 255, 255, 0.04);
    }

    .pharm-filter-btn:active {
      transform: scale(0.96);
    }

    .pharm-filter-btn.active {
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(5, 150, 105, 0.36));
      border-color: rgba(52, 211, 153, 0.65);
      color: #ecfdf5;
      box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    }

    .pharm-filter-bar.gold-theme {
      border-color: rgba(251, 191, 36, 0.28);
      background: rgba(12, 16, 24, 0.96);
    }

    .pharm-filter-bar.gold-theme .pharm-filter-btn.active {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.32), rgba(180, 83, 9, 0.42));
      border-color: rgba(251, 191, 36, 0.8);
      color: #fef08a;
      box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
    }

    .pharm-card {
      background: var(--bg-primary);
      border: 1px solid rgba(239, 68, 68, 0.35);
      border-radius: 10px;
      padding: 11px 12px;
      display: flex;
      flex-direction: column;
      gap: 7px;
    }

    .pharm-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 8px;
    }

    .pharm-title-wrap {
      display: flex;
      align-items: center;
      gap: 7px;
      min-width: 0;
    }

    .pharm-e-badge {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      background: #dc2626;
      border: 1.5px solid #ffffff;
      color: #ffffff;
      font-weight: 900;
      font-size: 13px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      box-shadow: 0 2px 6px rgba(220, 38, 38, 0.5);
    }

    .pharm-name {
      font-size: 13px;
      font-weight: 800;
      color: #ffffff;
      line-height: 1.2;
    }

    .pharm-region {
      font-size: 10px;
      font-weight: 700;
      color: #fca5a5;
      margin-top: 1px;
    }

    .pharm-dist-pill {
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #cbd5e1;
      font-size: 10px;
      font-weight: 700;
      padding: 3px 7px;
      border-radius: 6px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .pharm-row {
      display: flex;
      align-items: flex-start;
      gap: 6px;
      font-size: 11.5px;
      color: #cbd5e1;
      line-height: 1.35;
    }

    .pharm-row svg {
      color: #ef4444;
      margin-top: 2px;
    }

    .pharm-actions {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      margin-top: 3px;
    }

    .pharm-act-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      padding: 7px 6px;
      border-radius: 7px;
      font-family: inherit;
      font-size: 11px;
      font-weight: 800;
      text-decoration: none;
      cursor: pointer;
      border: 1px solid rgba(255, 255, 255, 0.14);
      background: var(--bg-secondary);
      color: #f8fafc;
      transition: all 0.15s ease;
    }

    .pharm-act-btn.call-btn {
      background: rgba(16, 185, 129, 0.18);
      border-color: rgba(16, 185, 129, 0.5);
      color: #34d399;
    }

    .pharm-act-btn.map-btn {
      background: rgba(59, 130, 246, 0.18);
      border-color: rgba(59, 130, 246, 0.5);
      color: #60a5fa;
    }

    .pharm-act-btn.nav-btn {
      background: rgba(239, 68, 68, 0.16);
      border-color: rgba(239, 68, 68, 0.45);
      color: #fca5a5;
    }

    .pharm-map-pin {
      width: 24px;
      height: 24px;
      border-radius: 6px;
      background: #dc2626;
      border: 2px solid #ffffff;
      color: #ffffff;
      font-weight: 900;
      font-size: 13px;
      font-family: "Inter", sans-serif;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
      transform: translate(-50%, -50%);
    }

    /* PROFESYONEL & İNTERAKTİF CANLI METEOROLOJİ, DENİZ VE DÖVİZ İSTASYON BARI */
    .weather-bar {
      position: relative;
      background: linear-gradient(180deg, #171a24 0%, #11141c 100%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.11);
      padding: 5px 8px;
      font-size: 10px;
      font-weight: 700;
      color: var(--text-light);
      z-index: 980;
      flex-shrink: 0;
      user-select: none;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    }

    .weather-compact-strip {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: nowrap;
      gap: 4px;
      width: 100%;
      cursor: pointer;
      overflow: hidden;
    }

    .wx-compact-left {
      display: flex;
      align-items: center;
      flex-wrap: nowrap;
      gap: 4px;
      min-width: 0;
      flex: 1 1 auto;
      overflow: hidden;
    }

    .wx-status-capsule {
      display: inline-flex;
      align-items: center;
      flex-wrap: nowrap;
      gap: 4px;
      background: rgba(255, 255, 255, 0.045);
      border: 1px solid rgba(255, 255, 255, 0.11);
      border-radius: 7px;
      padding: 3px 6px;
      font-size: 9.8px;
      font-weight: 700;
      white-space: nowrap;
      color: #f1f5f9;
      font-variant-numeric: tabular-nums;
      flex-shrink: 0;
    }

    .wx-metric-inline {
      display: inline-flex;
      align-items: center;
      flex-wrap: nowrap;
      gap: 4px;
      white-space: nowrap;
    }

    .wx-sep-dot {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.28);
      display: inline-block;
      flex-shrink: 0;
    }

    .wx-icon-badge {
      width: 17px;
      height: 17px;
      border-radius: 5px;
      background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(245, 158, 11, 0.08));
      border: 1px solid rgba(251, 191, 36, 0.4);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    @media (max-width: 410px) {
      .wx-hide-xs {
        display: none !important;
      }
      .weather-bar {
        padding: 4px 6px;
      }
      .wx-status-capsule {
        padding: 3px 5px;
        font-size: 9.4px;
        gap: 3.5px;
      }
      .wx-expand-btn {
        padding: 4px 6px !important;
        font-size: 9.2px !important;
      }
    }

    .weather-temp {
      color: #fbbf24;
      font-weight: 800;
    }

    .weather-wind {
      color: #38bdf8;
      font-weight: 800;
    }

    .wx-expand-btn {
      display: inline-flex;
      align-items: center;
      gap: 3px;
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.16), rgba(16, 185, 129, 0.14));
      border: 1px solid rgba(56, 189, 248, 0.4);
      color: #e0f2fe;
      border-radius: 7px;
      padding: 4px 7px;
      font-size: 9.5px;
      font-weight: 800;
      white-space: nowrap;
      flex-shrink: 0;
      transition: all 0.2s ease;
    }

    .weather-bar.open .wx-expand-btn {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.5);
      color: #fecaca;
    }

    .wx-chevron {
      transition: transform 0.22s ease;
    }

    .weather-bar.open .wx-chevron {
      transform: rotate(180deg);
    }

    .weather-detail-drawer {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: rgba(17, 20, 28, 0.98);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-bottom: 1.5px solid rgba(56, 189, 248, 0.35);
      padding: 10px 11px 12px;
      flex-direction: column;
      gap: 9px;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
      z-index: 995;
      animation: wxSlideDown 0.2s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .weather-bar.open .weather-detail-drawer {
      display: flex;
    }

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

    .wx-drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      padding-bottom: 5px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .wx-drawer-title {
      font-size: 10px;
      font-weight: 800;
      color: #93c5fd;
      letter-spacing: 0.3px;
      display: flex;
      align-items: center;
      gap: 5px;
    }

    .weather-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 6px;
      width: 100%;
    }

    .wx-pill {
      background: #181c26;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 9px;
      padding: 7px 9px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 3px;
      overflow: hidden;
    }

    .wx-pill-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
    }

    .wx-pill-label {
      font-size: 9px;
      font-weight: 700;
      color: #9ca3af;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .wx-pill-val {
      font-size: 13px;
      font-weight: 900;
      color: #f8fafc;
      font-variant-numeric: tabular-nums;
    }

    .wx-pill-sub {
      font-size: 9.2px;
      font-weight: 600;
      color: #94a3b8;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .wx-hourly-strip {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 4px;
      background: #141720;
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 8px;
      padding: 6px;
    }

    .wx-hour-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
      padding: 3px 2px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.025);
    }

    .wx-hour-time {
      font-size: 8.8px;
      color: #9ca3af;
      font-weight: 700;
    }

    .wx-hour-temp {
      font-size: 11px;
      font-weight: 800;
      color: #fbbf24;
    }

    .wx-hour-wind {
      font-size: 8px;
      color: #38bdf8;
      font-weight: 700;
    }

    .currency-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 5px;
      width: 100%;
    }

    .fx-pill {
      background: #181c26;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 8px;
      padding: 6px 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      font-size: 10px;
      white-space: nowrap;
      font-variant-numeric: tabular-nums;
    }

    .fx-code {
      color: #9ca3af;
      font-weight: 800;
      letter-spacing: 0.2px;
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }

    .fx-val {
      color: #34d399;
      font-weight: 900;
      font-size: 11px;
    }

    .fx-converter-row {
      display: flex;
      align-items: center;
      gap: 6px;
      background: #141720;
      border: 1px solid rgba(16, 185, 129, 0.3);
      border-radius: 8px;
      padding: 6px 8px;
    }

    .fx-conv-input {
      width: 72px;
      background: #0d1017;
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #ffffff;
      border-radius: 6px;
      padding: 4px 7px;
      font-size: 11px;
      font-weight: 800;
      font-family: inherit;
      outline: none;
    }

    .fx-conv-select {
      background: #0d1017;
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #38bdf8;
      border-radius: 6px;
      padding: 4px 6px;
      font-size: 10.5px;
      font-weight: 800;
      font-family: inherit;
      outline: none;
    }

    .fx-conv-result {
      flex: 1;
      text-align: right;
      font-size: 11.5px;
      font-weight: 900;
      color: #34d399;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .action-btn.guide-btn {
      background: rgba(245, 158, 11, 0.14);
      border-color: rgba(245, 158, 11, 0.45);
      color: #fcd34d;
    }

    .eta-header-right {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .eta-live-pill {
      background: rgba(16, 185, 129, 0.14);
      border: 1px solid rgba(16, 185, 129, 0.4);
      color: #34d399;
      border-radius: 6px;
      padding: 2px 6px;
      font-family: inherit;
      font-size: 9.5px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
    }

    .guide-card {
      background: var(--bg-primary);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 9px;
      padding: 9px 11px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    .guide-card.highlight-hisaronu {
      border-color: rgba(16, 185, 129, 0.65);
      background: rgba(16, 185, 129, 0.08);
    }

    .guide-title {
      font-size: 12.5px;
      font-weight: 800;
      color: #ffffff;
    }

    .guide-sub {
      font-size: 10.5px;
      color: var(--text-muted);
      margin-top: 1px;
    }

    .guide-call-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(16, 185, 129, 0.18);
      border: 1px solid rgba(16, 185, 129, 0.5);
      color: #34d399;
      font-size: 11px;
      font-weight: 800;
      padding: 6px 10px;
      border-radius: 7px;
      text-decoration: none;
      white-space: nowrap;
      flex-shrink: 0;
    }

    /* CANLI ELEKTRİK & SU KESİNTİSİ PİLL VE KART STİLLERİ */
    .outage-pill-btn {
      background: rgba(245, 158, 11, 0.16);
      border: 1px solid rgba(245, 158, 11, 0.5);
      color: #fbbf24;
      border-radius: 6px;
      padding: 2px 7px;
      font-family: inherit;
      font-size: 9.5px;
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      white-space: nowrap;
      transition: all 0.15s ease;
    }

    .outage-pill-btn.has-active {
      background: rgba(239, 68, 68, 0.22);
      border-color: rgba(239, 68, 68, 0.75);
      color: #fecaca;
    }

    .outage-card {
      background: var(--bg-primary);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 9px;
      padding: 10px 11px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      flex-shrink: 0;
    }

    .outage-card.active-outage {
      border-color: rgba(239, 68, 68, 0.65);
      background: rgba(239, 68, 68, 0.07);
    }

    .outage-card.planned-outage {
      border-color: rgba(245, 158, 11, 0.55);
      background: rgba(245, 158, 11, 0.06);
    }

    .outage-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .outage-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 9.5px;
      font-weight: 800;
      padding: 2.5px 7px;
      border-radius: 5px;
      letter-spacing: 0.2px;
      white-space: nowrap;
    }

    .outage-badge.status-active {
      background: rgba(239, 68, 68, 0.22);
      color: #fca5a5;
      border: 1px solid rgba(239, 68, 68, 0.55);
    }

    .outage-badge.status-planned {
      background: rgba(245, 158, 11, 0.2);
      color: #fde68a;
      border: 1px solid rgba(245, 158, 11, 0.5);
    }

    .outage-badge.status-done {
      background: rgba(148, 163, 184, 0.15);
      color: #cbd5e1;
      border: 1px solid rgba(148, 163, 184, 0.3);
    }

    .outage-meta {
      font-size: 10.5px;
      color: #cbd5e1;
      line-height: 1.38;
    }

    .outage-streets {
      font-size: 10px;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.03);
      padding: 5px 7px;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.06);
    }

    /* MUĞLAKART BAKİYE SORGULAMA VE DEPREM KART STİLLERİ */
    .card-query-box {
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(15, 23, 42, 0.95));
      border: 1.5px solid rgba(16, 185, 129, 0.45);
      border-radius: 10px;
      padding: 11px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      flex-shrink: 0;
    }

    .card-input-row {
      display: flex;
      gap: 6px;
    }

    .card-input {
      flex: 1;
      background: rgba(9, 13, 22, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 7px;
      color: #ffffff;
      font-family: inherit;
      font-size: 12px;
      font-weight: 700;
      padding: 8px 10px;
      outline: none;
    }

    .card-input:focus {
      border-color: #10b981;
    }

    .card-submit-btn {
      background: #10b981;
      color: #052e16;
      border: none;
      border-radius: 7px;
      padding: 8px 12px;
      font-family: inherit;
      font-size: 11.5px;
      font-weight: 900;
      cursor: pointer;
      white-space: nowrap;
    }

    .card-balance-result {
      background: rgba(9, 13, 22, 0.85);
      border: 1px solid rgba(16, 185, 129, 0.5);
      border-radius: 8px;
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .eq-mag-badge {
      min-width: 38px;
      height: 34px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 900;
      flex-shrink: 0;
    }

    .eq-mag-badge.mag-high {
      background: rgba(239, 68, 68, 0.22);
      border: 1px solid rgba(239, 68, 68, 0.6);
      color: #fca5a5;
    }

    .eq-mag-badge.mag-mid {
      background: rgba(245, 158, 11, 0.22);
      border: 1px solid rgba(245, 158, 11, 0.6);
      color: #fde68a;
    }

    .eq-mag-badge.mag-low {
      background: rgba(168, 85, 247, 0.2);
      border: 1px solid rgba(168, 85, 247, 0.5);
      color: #e9d5ff;
    }

    .leaflet-control-attribution a[href*="leaflet"] {
      display: none !important;
    }

    /* YENİ SÜPER-PORTAL ANA SAHNE & 4X2 ANİMASYONLU KARŞILAMA EKRANI (KOYU GRİ & HD GÖRSELLİ) */
    .app-stage {
      position: relative;
      flex: 1 1 auto;
      min-height: 0;
      width: 100%;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      background: #101217;
    }

    .welcome-screen {
      position: absolute;
      inset: 0;
      z-index: 950;
      display: flex;
      flex-direction: column;
      padding: 6px 9px 7px;
      gap: 6px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      background: radial-gradient(circle at 50% 0%, #1d2028 0%, #101217 82%);
      transition: opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, transform;
    }

    .welcome-screen.hidden {
      opacity: 0;
      transform: scale(0.95) translateY(-10px);
      pointer-events: none;
    }

    .welcome-header {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: center;
      padding: 0 1px;
      gap: 5px;
      flex-shrink: 0;
    }

    @keyframes emblemPopGlow {
      0% {
        opacity: 0;
        transform: scale(0.45) rotate(-8deg);
        filter: brightness(1.8) drop-shadow(0 0 18px rgba(16, 185, 129, 0.9));
      }
      70% {
        opacity: 1;
        transform: scale(1.08) rotate(0deg);
      }
      100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
      }
    }

    @keyframes wingRevealLeft {
      0% {
        opacity: 0;
        transform: translateX(22px) scaleX(0.88);
        filter: blur(3px);
      }
      100% {
        opacity: 1;
        transform: translateX(0) scaleX(1);
        filter: blur(0);
      }
    }

    @keyframes wingRevealRight {
      0% {
        opacity: 0;
        transform: translateX(-22px) scaleX(0.88);
        filter: blur(3px);
      }
      100% {
        opacity: 1;
        transform: translateX(0) scaleX(1);
        filter: blur(0);
      }
    }

    @keyframes prayerPillSlideUp {
      0% {
        opacity: 0;
        transform: translateY(8px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .welcome-brand-row {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 6px;
      width: 100%;
      padding: 2px 1px;
      position: relative;
    }

    .welcome-side-graph-btn {
      flex-shrink: 0;
      height: 36px;
      background: linear-gradient(180deg, #0f131c 0%, #07090e 100%);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 9px;
      padding: 3px 8px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: #ffffff;
      font-family: inherit;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
      transition: transform 0.15s ease, border-color 0.2s ease;
    }

    .welcome-side-graph-btn:active {
      transform: scale(0.95);
    }

    .welcome-center-brand {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      min-width: 0;
      padding: 0 4px;
    }

    .welcome-center-titles {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      text-align: left;
      line-height: 1.14;
      min-width: 0;
    }

    .welcome-emblem-wrap {
      position: relative;
      width: 34px;
      height: 34px;
      background: transparent;
      border: none;
      box-shadow: none;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      animation: emblemPopGlow 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    }

    .welcome-logo {
      width: 34px;
      height: 34px;
      object-fit: contain;
      background: transparent;
      display: block;
      flex-shrink: 0;
      filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
    }

    .welcome-title {
      font-size: clamp(10.8px, 3.1vw, 13px);
      font-weight: 900;
      letter-spacing: 0.35px;
      color: #ffffff;
      text-transform: uppercase;
      line-height: 1.15;
      white-space: nowrap;
    }

    .welcome-title .gold-tint {
      color: #fbbf24;
    }

    .welcome-sub {
      font-size: clamp(8.3px, 2.35vw, 9.5px);
      font-weight: 700;
      color: #94a3b8;
      margin-top: 2px;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      white-space: nowrap;
    }

    .welcome-grid {
      flex: 1 1 auto;
      min-height: 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(14, calc((100% - 14px) / 3)) auto;
      grid-auto-rows: auto;
      gap: 7px;
      overflow-y: auto;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
      overscroll-behavior: contain;
      padding-bottom: 12px;
    }

    .welcome-seo-directory {
      grid-column: 1 / -1;
      height: auto !important;
      min-height: max-content;
      margin-top: 6px;
      padding: 14px 13px;
      border-radius: 14px;
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(11, 15, 25, 0.96) 100%);
      border: 1px solid rgba(148, 163, 184, 0.22);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
      color: #cbd5e1;
      font-size: 11.5px;
      line-height: 1.5;
    }

    .seo-dir-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 6px;
    }

    .seo-dir-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: rgba(245, 158, 11, 0.14);
      border: 1px solid rgba(251, 191, 36, 0.4);
      color: #fbbf24;
      font-size: 9px;
      font-weight: 900;
      padding: 2.5px 7px;
      border-radius: 999px;
      letter-spacing: 0.3px;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .seo-dir-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 6px;
      margin-top: 10px;
      margin-bottom: 10px;
    }

    @media (min-width: 560px) {
      .seo-dir-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .seo-dir-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 7px;
      background: rgba(30, 41, 59, 0.72);
      border: 1px solid rgba(148, 163, 184, 0.24);
      color: #f1f5f9;
      padding: 6.5px 8.5px;
      border-radius: 8px;
      font-size: 10.2px;
      font-weight: 800;
      text-decoration: none;
      line-height: 1.25;
      min-width: 0;
      transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    }

    .seo-dir-link-left {
      display: flex;
      align-items: center;
      gap: 6px;
      min-width: 0;
      flex: 1;
    }

    .seo-dir-icon {
      width: 20px;
      height: 20px;
      border-radius: 5.5px;
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(255, 255, 255, 0.14);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .seo-dir-icon svg {
      width: 11.5px;
      height: 11.5px;
    }

    .seo-dir-link:hover,
    .seo-dir-link:active {
      background: rgba(51, 65, 85, 0.85);
      border-color: rgba(251, 191, 36, 0.5);
    }

    .seo-dir-link-label {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      min-width: 0;
    }

    .seo-dir-link::after {
      content: "→";
      font-size: 10px;
      color: #94a3b8;
      flex-shrink: 0;
    }

    .seo-dir-details {
      margin-top: 6px;
      border-top: 1px solid rgba(255, 255, 255, 0.09);
      padding-top: 9px;
    }

    .seo-dir-summary {
      cursor: pointer;
      font-size: 10.8px;
      font-weight: 800;
      color: #e2e8f0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      list-style: none;
      padding: 4px 2px;
    }

    .seo-dir-summary::-webkit-details-marker {
      display: none;
    }

    .seo-dir-store-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
      margin-top: 5px;
    }

    .seo-dir-store-chip {
      background: rgba(15, 23, 42, 0.85);
      border: 1px solid rgba(148, 163, 184, 0.22);
      color: #93c5fd;
      padding: 3px 7px;
      border-radius: 6px;
      font-size: 9.8px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
    }

    @keyframes cardPopIn {
      0% {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .menu-card {
      position: relative;
      background-color: #1f2229;
      background-size: cover;
      background-position: center;
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 11px;
      padding: 7px 9px 6px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 2px;
      text-align: left;
      cursor: pointer;
      overflow: hidden;
      font-family: inherit;
      color: #ffffff;
      min-width: 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
      transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
      animation: cardPopIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    }

    .menu-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(15, 19, 28, 0.38) 0%, rgba(11, 14, 21, 0.88) 100%);
      z-index: 0;
    }

    .menu-card > * {
      position: relative;
      z-index: 1;
      min-width: 0;
    }

    @keyframes goldCardPulse {
      0%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 12px rgba(245, 158, 11, 0.35); border-color: rgba(251, 191, 36, 0.65); }
      50% { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 22px rgba(245, 158, 11, 0.65); border-color: rgba(254, 240, 138, 0.95); }
    }

    .welcome-grid > .menu-card:nth-child(1) { animation: cardPopIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) 0.02s backwards; background-image: url("https://images.unsplash.com/photo-1610375461246-83df859d849d?auto=format&fit=crop&w=420&q=72&fm=webp"); border: 1px solid rgba(251, 191, 36, 0.38); }
    .welcome-grid > .menu-card:nth-child(2) { animation-delay: 0.05s; background-image: url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=420&q=72&fm=webp"); border: 1px solid rgba(148, 163, 184, 0.28); }
    .welcome-grid > .menu-card:nth-child(3) { animation-delay: 0.08s; background-image: url("cat_dolmus.jpg"); background-position: center 45%; border: 1px solid rgba(148, 163, 184, 0.28); }
    .welcome-grid > .menu-card:nth-child(4) { animation-delay: 0.11s; background-image: url("https://images.unsplash.com/photo-1527018601619-a508a2be00cd?auto=format&fit=crop&w=420&q=72&fm=webp"); border: 1px solid rgba(148, 163, 184, 0.28); }
    .welcome-grid > .menu-card:nth-child(5) { animation-delay: 0.14s; background-image: url("cat_kesinti.jpg"); background-position: center center; border: 1px solid rgba(148, 163, 184, 0.25); }
    .welcome-grid > .menu-card:nth-child(6) { animation-delay: 0.17s; background-image: url("https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=420&q=72&fm=webp"); border: 1px solid rgba(148, 163, 184, 0.25); }
    .welcome-grid > .menu-card:nth-child(7) { animation-delay: 0.20s; background-image: url("https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=420&q=72&fm=webp"); border: 1px solid rgba(148, 163, 184, 0.25); }
    .welcome-grid > .menu-card:nth-child(8) { animation-delay: 0.23s; background-image: url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=420&q=72&fm=webp"); border: 1px solid rgba(148, 163, 184, 0.25); }
    .welcome-grid > .menu-card:nth-child(9) { animation-delay: 0.26s; background-image: url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=640&q=74&fm=webp"); border: 1px solid rgba(148, 163, 184, 0.25); }
    .menu-card.store-brand-card::before { background: linear-gradient(180deg, rgba(11, 14, 21, 0.42) 0%, rgba(11, 14, 21, 0.14) 48%, rgba(8, 11, 18, 0.88) 100%); }

    @keyframes welcomeAlertSlideFadeIn {
      0% {
        opacity: 0;
        transform: translateY(11px) scale(0.985);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    @keyframes welcomeAlertSlideFadeOut {
      0% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
      100% {
        opacity: 0;
        transform: translateY(-11px) scale(0.985);
      }
    }

    @keyframes welcomeAlertProgressRun {
      0% { transform: scaleX(0); }
      100% { transform: scaleX(1); }
    }

    @keyframes bellSubtleSwing {
      0%, 82%, 100% { transform: rotate(0deg); }
      86% { transform: rotate(13deg); }
      90% { transform: rotate(-11deg); }
      94% { transform: rotate(7deg); }
      98% { transform: rotate(-4deg); }
    }

    .welcome-hot-ticker-row {
      display: block;
      margin-top: 3px;
      width: 100%;
    }

    .welcome-hot-ticker-card {
      position: relative;
      width: 100%;
      box-sizing: border-box;
      min-width: 0;
      background: rgba(15, 23, 42, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.14);
      border-left: 3px solid #f59e0b;
      border-radius: 9px;
      padding: 5.5px 9px 7px;
      cursor: pointer;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      transition: border-color 0.35s ease, background 0.35s ease;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
      font-variant-numeric: tabular-nums;
    }

    .welcome-hot-slide-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 6px;
      width: 100%;
      min-width: 0;
      will-change: transform, opacity;
    }

    .welcome-hot-slide-inner.entering {
      animation: welcomeAlertSlideFadeIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    .welcome-hot-slide-inner.exiting {
      animation: welcomeAlertSlideFadeOut 0.2s cubic-bezier(0.4, 0, 1, 1) forwards;
    }

    .welcome-hot-progress-bar {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: rgba(255, 255, 255, 0.06);
      overflow: hidden;
      pointer-events: none;
    }

    .welcome-hot-progress-fill {
      width: 100%;
      height: 100%;
      transform-origin: left center;
      animation: welcomeAlertProgressRun 5.2s linear forwards;
    }

    .welcome-notif-bell-btn {
      flex-shrink: 0;
      height: 36px;
      background: linear-gradient(180deg, #0f131c 0%, #07090e 100%);
      border: 1px solid rgba(255, 255, 255, 0.22);
      border-radius: 9px;
      padding: 3px 8px;
      display: inline-flex;
      align-items: center;
      gap: 4.5px;
      color: #ffffff;
      font-family: inherit;
      font-size: 9.4px;
      font-weight: 800;
      cursor: pointer;
      white-space: nowrap;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.75);
      transition: transform 0.15s ease, border-color 0.2s ease;
    }

    .welcome-notif-bell-btn:active {
      transform: scale(0.95);
    }

    .welcome-notif-bell-icon {
      color: #fbbf24;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transform-origin: top center;
    }

    .welcome-notif-bell-icon.has-unread {
      animation: bellSubtleSwing 4.5s ease-in-out infinite;
    }

    .welcome-notif-count-pill {
      background: linear-gradient(135deg, #ea580c, #dc2626);
      color: #ffffff;
      font-size: 8.6px;
      font-weight: 900;
      padding: 1px 4.5px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      font-variant-numeric: tabular-nums;
      line-height: 1.2;
    }

    .menu-card:active {
      transform: scale(0.97);
      border-color: rgba(255, 255, 255, 0.32);
    }

    .menu-card-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 4px;
      width: 100%;
    }

    .menu-icon-box {
      width: 26px;
      height: 26px;
      border-radius: 7px;
      background: rgba(24, 28, 38, 0.94) !important;
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #f3f4f6 !important;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .menu-icon-box svg {
      width: 15px;
      height: 15px;
    }

    .menu-badge {
      font-size: clamp(7.5px, 2.2vw, 8.5px);
      font-weight: 800;
      padding: 2px 5.5px;
      border-radius: 999px;
      letter-spacing: 0.15px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
      background: rgba(22, 26, 35, 0.94) !important;
      color: #e5e7eb !important;
      border: 1px solid rgba(255, 255, 255, 0.18) !important;
    }

    .menu-card-title {
      font-size: clamp(10.6px, 3vw, 12px);
      font-weight: 800;
      line-height: 1.16;
      color: #ffffff;
      letter-spacing: -0.2px;
      margin-top: 2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    }

    .menu-card-sub {
      font-size: clamp(8.4px, 2.38vw, 9.5px);
      font-weight: 600;
      line-height: 1.22;
      color: #d1d5db;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: 1px;
      padding-bottom: 1px;
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
    }

    /* DAR EKRANLI TELEFONLAR (iPhone 13 / mini / SE / Android) İÇİN EKSTRA OPTİMİZASYON */
    @media (max-width: 400px), (max-height: 750px) {
      .welcome-screen {
        padding: 5px 8px 6px;
        gap: 5px;
      }
      .welcome-grid {
        gap: 6px;
        grid-template-rows: repeat(14, calc((100% - 12px) / 3)) auto;
        grid-auto-rows: auto;
      }
      .menu-card {
        padding: 6px 8px 5px;
        border-radius: 10px;
      }
      .menu-icon-box {
        width: 24px;
        height: 24px;
      }
      .menu-icon-box svg {
        width: 14px;
        height: 14px;
      }
      .pharm-filter-btn {
        font-size: 9.8px !important;
        padding: 6px 3px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
      .mode-nav-bar {
        padding: 5px 6px;
        gap: 4px;
      }
      .back-menu-btn {
        padding: 5px 7px;
        font-size: 9.8px;
      }
      .mode-nav-actions .action-btn {
        padding: 5px 6px !important;
        font-size: 9.8px !important;
      }
    }

    /* AKTİF HİZMET SAHNESİ (ÜST GERİ DÖNÜŞ BARI + HARİTA + DİNAMİK ALT PANEL) */
    .service-screen {
      position: relative;
      flex: 1 1 auto;
      min-height: 0;
      width: 100%;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .service-screen.inactive {
      opacity: 0;
      transform: translateY(14px);
      pointer-events: none;
    }

    .mode-nav-bar {
      background: #0b111e;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding: 5px 7px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 5px;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      overflow: hidden;
      z-index: 910;
      flex-shrink: 0;
    }

    .back-menu-btn {
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.18);
      color: #f8fafc;
      border-radius: 7px;
      padding: 5px 8px;
      font-family: inherit;
      font-size: clamp(9.8px, 2.7vw, 10.8px);
      font-weight: 800;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0;
      transition: all 0.15s ease;
    }

    .back-menu-btn:active {
      transform: scale(0.96);
      background: rgba(255, 255, 255, 0.14);
    }

    .active-mode-title {
      display: none !important;
    }

    .mode-nav-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      gap: 4px;
      flex: 1 1 auto;
      min-width: 0;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .mode-nav-actions::-webkit-scrollbar {
      display: none;
    }
    .mode-nav-actions .action-btn {
      padding: 5px 6.5px;
      font-size: clamp(9.6px, 2.65vw, 10.5px);
      gap: 3.5px;
      flex-shrink: 0;
    }

    /* HARİTA ALTINDAKİ DİNAMİK PANEL (SEÇİLEN KATEGORİYE GÖRE DÖNÜŞÜR) */
    .dynamic-bottom-panel {
      background: var(--bg-primary);
      border-top: 1px solid rgba(255, 255, 255, 0.14);
      padding: 7px 10px;
      z-index: 900;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      height: 44%;
      min-height: 165px;
      max-height: 74%;
      transition: height 0.26s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.55);
    }

    .dynamic-bottom-panel.mode-dolmus {
      height: 31%;
      min-height: 145px;
    }

    .dynamic-bottom-panel.expanded {
      height: 68% !important;
    }

    .dynamic-panel-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
      overscroll-behavior: contain;
      display: flex;
      flex-direction: column;
      gap: 7px;
      padding-right: 2px;
    }

    .dynamic-panel-body > * {
      flex-shrink: 0;
    }

    @keyframes panelFadeSlide {
      0% {
        opacity: 0;
        transform: translateY(10px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .panel-animate {
      animation: panelFadeSlide 0.24s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* ORMAN & YANGIN RADARI ÖZEL ANİMASYONLU KARTLAR */
    @keyframes radarPulse {
      0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55); }
      70% { box-shadow: 0 0 0 8px rgba(249, 115, 22, 0); }
      100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
    }

    .fire-hero-card {
      background: #111621;
      border: 1px solid rgba(148, 163, 184, 0.22);
      border-radius: 5px;
      padding: 10px 11px;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .fire-metrics-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 5px;
    }

    .fire-metric-box {
      background: #0b0f17;
      border: 1px solid rgba(148, 163, 184, 0.14);
      border-radius: 4px;
      padding: 6px 5px;
      text-align: left;
    }

    .fire-metric-val {
      font-size: 12px;
      font-weight: 800;
      color: #f8fafc;
      font-variant-numeric: tabular-nums;
    }

    .fire-metric-lbl {
      font-size: 8.5px;
      font-weight: 700;
      color: #94a3b8;
      margin-top: 2px;
      text-transform: uppercase;
      letter-spacing: 0.2px;
    }

    .risk-bar-track {
      width: 100%;
      height: 5px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: 2px;
      overflow: hidden;
    }

    .risk-bar-fill {
      height: 100%;
      border-radius: 2px;
      transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* MARKET TAM EKRAN SEÇİM EKRANI: ANİMASYONLU ADIM SAYACI & ANA MENÜ TİPİ KARTLAR */
    @keyframes wizardBarShimmer {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    @keyframes wizardCardEnter {
      0% { opacity: 0.96; transform: translateY(4px) scale(0.995); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }

    .wizard-progress-wrap {
      background: #0d1322;
      border-bottom: 1px solid rgba(255, 255, 255, 0.12);
      padding: 8px 14px 10px;
      flex-shrink: 0;
    }

    .wizard-progress-inner {
      max-width: 640px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .wizard-progress-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .wizard-step-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(56, 189, 248, 0.14);
      border: 1px solid rgba(56, 189, 248, 0.42);
      color: #e0f2fe;
      border-radius: 999px;
      padding: 2.5px 9px;
      font-size: 10.5px;
      font-weight: 900;
      letter-spacing: 0.3px;
      flex-shrink: 0;
    }

    .wizard-step-question {
      font-size: 13px;
      font-weight: 900;
      color: #f8fafc;
      letter-spacing: -0.2px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .wizard-progress-track {
      width: 100%;
      height: 9px;
      background: rgba(15, 23, 42, 0.95);
      border: 1px solid rgba(255, 255, 255, 0.16);
      border-radius: 999px;
      overflow: hidden;
      position: relative;
      box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.6);
    }

    .wizard-progress-fill {
      height: 100%;
      width: 50%;
      border-radius: 999px;
      background: linear-gradient(90deg, #2563eb 0%, #38bdf8 35%, #34d399 65%, #2563eb 100%);
      background-size: 200% 100%;
      animation: wizardBarShimmer 2.4s linear infinite;
      transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
      box-shadow: 0 0 14px rgba(56, 189, 248, 0.65);
      position: relative;
    }

    .wizard-progress-fill::after {
      content: "";
      position: absolute;
      right: 0;
      top: 0;
      bottom: 0;
      width: 18px;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85));
      border-radius: 999px;
    }

    .wizard-progress-steps {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .wizard-step-node {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 10.5px;
      font-weight: 800;
      color: #64748b;
      transition: color 0.3s ease;
      min-width: 0;
    }

    .wizard-step-node.active {
      color: #f8fafc;
    }

    .wizard-step-node.done {
      color: #34d399;
    }

    .wizard-step-dot {
      width: 17px;
      height: 17px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 9.5px;
      font-weight: 900;
      background: #1e293b;
      border: 1.5px solid rgba(255, 255, 255, 0.2);
      color: #94a3b8;
      transition: all 0.3s ease;
      flex-shrink: 0;
    }

    .wizard-step-node.active .wizard-step-dot {
      background: #2563eb;
      border-color: #7dd3fc;
      color: #ffffff;
      box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
    }

    .wizard-step-node.done .wizard-step-dot {
      background: #059669;
      border-color: #6ee7b7;
      color: #ffffff;
    }

    .wizard-step1-grid {
      width: 100%;
      height: 100%;
      max-height: 460px;
      margin: auto 0;
      display: grid;
      grid-template-rows: repeat(2, minmax(0, 1fr));
      gap: 14px;
      animation: wizardCardEnter 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .wizard-3cards-grid {
      width: 100%;
      height: 100%;
      max-height: 550px;
      margin: auto 0;
      display: grid;
      grid-template-rows: repeat(3, minmax(0, 1fr));
      gap: 11px;
      animation: wizardCardEnter 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .wizard-popular-card {
      border: 2px solid rgba(251, 191, 36, 0.88) !important;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55), 0 0 18px rgba(245, 158, 11, 0.28) !important;
    }

    .wizard-popular-pill {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      color: #090d16;
      border: 1px solid #fef08a;
      border-radius: 999px;
      padding: 3px 9px;
      font-size: clamp(8.8px, 2.3vw, 10.2px);
      font-weight: 900;
      letter-spacing: 0.3px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
      white-space: nowrap;
    }

    .wizard-step2-grid {
      width: 100%;
      height: 100%;
      max-height: 560px;
      margin: auto 0;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-template-rows: repeat(3, minmax(0, 1fr));
      gap: 10px;
      animation: wizardCardEnter 0.26s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .wizard-menu-card {
      padding: 11px 13px 10px !important;
      border-radius: 13px !important;
      border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45) !important;
    }

    .wizard-menu-card::before {
      background: linear-gradient(180deg, rgba(10, 14, 22, 0.25) 0%, rgba(10, 14, 22, 0.42) 45%, rgba(8, 11, 18, 0.92) 100%) !important;
    }

    .wizard-menu-card .menu-icon-box {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(15, 23, 42, 0.86) !important;
      border: 1px solid rgba(255, 255, 255, 0.28);
    }

    .wizard-menu-card .menu-icon-box svg {
      width: 17px;
      height: 17px;
    }

    .wizard-menu-card .menu-badge {
      font-size: clamp(9px, 2.3vw, 10.5px);
      padding: 3.5px 8px;
      background: rgba(15, 23, 42, 0.92);
      border: 1px solid rgba(255, 255, 255, 0.3);
      color: #f8fafc;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
      white-space: nowrap;
    }

    .wizard-menu-card .menu-card-title {
      font-size: clamp(14px, 2.15vh, 18px);
      line-height: 1.2;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      display: block;
    }

    .wizard-menu-card .menu-card-sub {
      font-size: clamp(10.5px, 1.5vh, 13px);
      color: #e2e8f0;
      margin-top: 2px;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      display: block;
      line-height: 1.25;
    }

    /* 2. ADIM 4 MARKET KARTI: SOL ÜST İKON YOK, ROZET TAM ORTADA, YAZILAR KESİLMEZ (...) OLMAZ */
    .wizard-step2-grid .wizard-store-card {
      padding: 9px 8px 9px !important;
      text-align: center;
      align-items: center;
    }

    .wizard-step2-grid .wizard-store-card .menu-card-top {
      width: 100%;
      justify-content: center;
    }

    .wizard-step2-grid .wizard-store-card .menu-badge {
      font-size: clamp(8.4px, 2.35vw, 10.2px);
      padding: 3px 7px;
      white-space: normal;
      text-align: center;
      line-height: 1.2;
      max-width: 100%;
    }

    .wizard-step2-grid .wizard-store-card .menu-card-title {
      font-size: clamp(13px, 3.6vw, 16px);
      line-height: 1.18;
      text-align: center;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
    }

    .wizard-step2-grid .wizard-store-card .menu-card-sub {
      font-size: clamp(9.2px, 2.55vw, 11.2px);
      line-height: 1.22;
      text-align: center;
      white-space: normal;
      overflow: visible;
      text-overflow: clip;
      margin-top: 2px;
    }

    .wizard-span-2 {
      grid-column: span 2;
    }

    /* DÜŞÜK DONANIMLI (LOW-END) CİHAZ VE 60 FPS AKICI KAYDIRMA OPTİMİZASYONLARI */
    .market-product-card {
      content-visibility: auto;
      contain-intrinsic-size: auto 248px;
      contain: layout style paint;
    }

    .brochure-showcase-card {
      contain: layout style paint;
    }

    .welcome-screen.hidden {
      will-change: auto !important;
    }

    body.bg-animations-paused .welcome-grid > .menu-card:nth-child(1),
    body.bg-animations-paused .welcome-wing-left,
    body.bg-animations-paused .welcome-wing-right,
    body.bg-animations-paused .welcome-emblem-wrap,
    body.bg-animations-paused .live-dot {
      animation-play-state: paused !important;
    }

    body.low-end-device *,
    body.low-end-device *::before,
    body.low-end-device *::after {
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
    }

    body.low-end-device .welcome-grid > .menu-card:nth-child(1),
    body.low-end-device .wizard-progress-fill,
    body.low-end-device .live-dot {
      animation: none !important;
    }

    body.low-end-device .menu-card,
    body.low-end-device .market-product-card,
    body.low-end-device .brochure-showcase-card {
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45) !important;
    }

    /* MARKET ARAMA 1.65SN GECİKMELİ (DEBOUNCE) YÜKLEME VE LİSTELEME ANİMASYONU */
    @keyframes marketSearchSpin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    @keyframes marketDebounceFill {
      0% { width: 0%; }
      100% { width: 100%; }
    }

    @keyframes marketGridReveal {
      0% {
        opacity: 0;
        transform: translateY(10px) scale(0.99);
      }
      100% {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .market-search-spinner-ring {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      border: 2.2px solid rgba(56, 189, 248, 0.25);
      border-top-color: #38bdf8;
      border-right-color: #34d399;
      animation: marketSearchSpin 0.68s linear infinite;
      flex-shrink: 0;
    }

    .market-searching-dimmed #marketProductsGridInner {
      opacity: 0.36;
      filter: blur(1.2px);
      pointer-events: none;
      transition: opacity 0.22s ease, filter 0.22s ease;
    }

    .market-grid-animate-in {
      animation: marketGridReveal 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }

    /* TAM EKRAN BAŞLANGIÇ LOGO YÜKLEME EKRANI (TÜM CANLI VERİLER VE UYARILAR HAZIR OLANA KADAR) */
    #initialBootSplash {
      position: fixed;
      inset: 0;
      z-index: 99999;
      background: radial-gradient(circle at 50% 44%, #181d28 0%, #0b0e14 82%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 16px;
      transition: opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s ease;
    }

    #initialBootSplash.splash-hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    .boot-logo-stage {
      position: relative;
      width: 96px;
      height: 96px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .boot-logo-ring {
      position: absolute;
      inset: 0;
      border-radius: 50%;
      border: 2px solid rgba(148, 163, 184, 0.14);
      border-top-color: #10b981;
      border-right-color: #f59e0b;
      animation: marketSearchSpin 1.05s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
    }

    .boot-logo-ring-inner {
      position: absolute;
      inset: 8px;
      border-radius: 50%;
      border: 1.5px solid rgba(255, 255, 255, 0.06);
      border-bottom-color: rgba(56, 189, 248, 0.65);
      animation: marketSearchSpin 1.6s linear infinite reverse;
    }

    @keyframes bootLogoPulse {
      0%, 100% { transform: scale(0.96); filter: drop-shadow(0 4px 14px rgba(16, 185, 129, 0.25)); }
      50% { transform: scale(1.04); filter: drop-shadow(0 6px 22px rgba(245, 158, 11, 0.4)); }
    }

    .boot-logo-img {
      width: 58px;
      height: 58px;
      object-fit: contain;
      animation: bootLogoPulse 1.8s ease-in-out infinite;
    }

    #initialBootSplash.rens-theme .boot-logo-ring {
      border-top-color: #a855f7;
      border-right-color: #c084fc;
    }

    #initialBootSplash.rens-theme .boot-logo-ring-inner {
      border-bottom-color: rgba(192, 132, 252, 0.8);
    }

    #initialBootSplash.rens-theme .boot-logo-img {
      filter: drop-shadow(0 0 18px rgba(168, 85, 247, 0.65));
    }

    /* RENS YAZILIM TAM EKRAN PORTFÖY EKRANI (MİNİMALİST & KATEGORİ KARTI STİLİ) */
    @keyframes rensPortfolioFadeUp {
      0% { opacity: 0; transform: translateY(14px) scale(0.985); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }

    .rens-portfolio-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 12px;
      max-width: 680px;
      width: 100%;
      margin: 0 auto;
      padding-bottom: 18px;
    }

    @media (min-width: 640px) {
      .rens-portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .rens-portfolio-grid > .rens-port-card:first-child {
        grid-column: span 2;
      }
    }

    .rens-port-card {
      background: #11151f;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 12px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
      animation: rensPortfolioFadeUp 0.38s cubic-bezier(0.22, 1, 0.36, 1) backwards;
      transition: border-color 0.2s ease, transform 0.18s ease;
    }

    .rens-port-card:hover {
      border-color: rgba(192, 132, 252, 0.42);
    }

    /* Üst kısım: Ana menüdeki .menu-card stilinde kapak + ikon kutusu + rozet + başlık */
    .rens-port-hero {
      position: relative;
      width: 100%;
      min-height: 215px;
      background-color: #0b0e16;
      background-size: cover;
      background-position: center 46%;
      padding: 10px 11px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      text-decoration: none;
      color: #ffffff;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      overflow: hidden;
    }

    .rens-port-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(9, 13, 22, 0.55) 0%, rgba(9, 13, 22, 0.12) 42%, rgba(9, 13, 22, 0.88) 100%);
      z-index: 0;
    }

    .rens-port-hero > * {
      position: relative;
      z-index: 1;
    }

    .rens-port-body {
      padding: 10px 12px 12px;
      display: flex;
      flex-direction: column;
      gap: 9px;
      flex: 1;
      justify-content: space-between;
    }

    .rens-port-feat-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .rens-port-feat-item {
      display: flex;
      align-items: flex-start;
      gap: 7px;
      font-size: 11px;
      line-height: 1.38;
      color: #cbd5e1;
      font-weight: 600;
    }

    .rens-port-feat-icon {
      width: 18px;
      height: 18px;
      border-radius: 5px;
      background: rgba(168, 85, 247, 0.14);
      border: 1px solid rgba(192, 132, 252, 0.3);
      color: #c084fc;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .rens-port-feat-icon svg {
      width: 11px;
      height: 11px;
    }

    .rens-port-actions {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-top: 6px;
      border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .rens-port-domain {
      font-size: 10.5px;
      font-weight: 800;
      color: #94a3b8;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .rens-port-visit-btn {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: #f8fafc;
      font-size: 10.5px;
      font-weight: 800;
      padding: 5px 10px;
      border-radius: 7px;
      text-decoration: none;
      white-space: nowrap;
      transition: background 0.15s ease, border-color 0.15s ease;
    }

    .rens-port-visit-btn:active {
      transform: scale(0.97);
    }

    .boot-brand-title {
      font-size: 13px;
      font-weight: 900;
      letter-spacing: 1.4px;
      color: #f8fafc;
      text-transform: uppercase;
    }

    .boot-status-sub {
      font-size: 10px;
      font-weight: 700;
      color: #94a3b8;
      letter-spacing: 0.2px;
    }

    /* ==========================================================================
       PC / GENİŞ EKRAN ÇOKLU KART DÜZENİ (MOBİL YAPIYI <768px HİÇ DEĞİŞTİRMEZ)
       ========================================================================== */
    @media (min-width: 768px) {
      /* 1. Ana Ekran (Welcome Grid): 2 uzun sütun yerine çoklu kompakt kartlar */
      .welcome-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: none !important;
        grid-auto-rows: auto !important;
        gap: 9px !important;
        padding: 6px 14px 16px !important;
        align-content: start !important;
      }

      .welcome-grid > .menu-card {
        height: clamp(114px, 16vh, 134px) !important;
        min-height: 114px !important;
      }

      /* 2. Kategori, Ulaşım, Market ve Mağaza Seçim Sihirbazları */
      #categoryVisualPickerBody,
      #marketWizardFullBody {
        max-width: 1280px !important;
        padding: 14px 20px !important;
      }

      .wizard-step1-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: 220px !important;
        max-height: 230px !important;
        flex: 0 0 auto !important;
        margin: auto 0 !important;
        gap: 12px !important;
      }

      .wizard-3cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        grid-template-rows: 220px !important;
        max-height: 230px !important;
        flex: 0 0 auto !important;
        margin: auto 0 !important;
        gap: 12px !important;
      }

      .wizard-step2-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        grid-template-rows: 195px 125px !important;
        max-height: 340px !important;
        flex: 0 0 auto !important;
        margin: auto 0 !important;
        gap: 12px !important;
      }

      .wizard-step2-grid .wizard-span-2 {
        grid-column: 1 / -1 !important;
      }

      .pc-store-picker-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
      }

      /* 3. Mağaza & Market Ürün Vitrin Kartları + Aktüel Broşürler */
      #marmarisStoreProductsGrid,
      #marketProductsGridInner {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
      }

      #brochureShowcaseTrack {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        transform: none !important;
      }

      #brochureShowcaseTrack > div {
        flex: unset !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
      }

      #brochureShowcaseDots,
      .brochure-showcase-nav-btns {
        display: none !important;
      }

      .pc-brochure-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
      }

      #marketBrochureModal > div {
        max-width: 1180px !important;
      }

      #marketFilterModal > div {
        max-width: 760px !important;
      }

      #marmarisStoreSiteModal {
        align-items: center !important;
        padding: 20px !important;
      }

      #marmarisStoreSiteModal > div {
        max-width: 680px !important;
        border-radius: 18px !important;
      }

      /* 4. Altın & Kuyumcu Ekranı: Çoklu Kart Izgarası */
      .gold-table-head-row {
        display: none !important;
      }

      .gold-items-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 10px !important;
      }

      .gold-item-card {
        border: 1px solid rgba(251, 191, 36, 0.24) !important;
        border-radius: 9px !important;
        padding: 10px 12px !important;
        background: rgba(15, 22, 34, 0.92) !important;
      }

      .gold-item-card > div:nth-child(2)::before {
        content: "ALIŞ";
        display: block;
        font-size: 8px;
        font-weight: 800;
        color: #6ee7b7;
        letter-spacing: 0.3px;
        margin-bottom: 1px;
      }

      .gold-item-card > div:nth-child(3)::before {
        content: "SATIŞ";
        display: block;
        font-size: 8px;
        font-weight: 800;
        color: #fbbf24;
        letter-spacing: 0.3px;
        margin-bottom: 1px;
      }

      /* 5. Dolmuş, Havalimanı Saatleri & MuğlaKart PC Düzeni */
      .dynamic-bottom-panel.mode-dolmus .dynamic-panel-body {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        align-content: start !important;
      }

      .dynamic-bottom-panel.mode-dolmus .eta-card {
        margin-bottom: 0 !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
      }

      #hisaronuSchedulePopupModal > .modal-content {
        max-width: 920px !important;
      }

      #hisaronuPopupBody {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: start !important;
      }

      #hisaronuPopupBody .hisaronu-popup-summary,
      #hisaronuPopupBody .hisaronu-popup-pdf,
      #hisaronuPopupBody .timetable-card:only-of-type {
        grid-column: 1 / -1 !important;
      }

      .airport-top-grid,
      .airport-days-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        align-items: stretch !important;
      }

      .airport-pills-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
      }

      .airport-stops-grid,
      .kart-dealers-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
      }

      .kart-dealers-grid .guide-card {
        margin-bottom: 0 !important;
        height: 100% !important;
      }
    }

    @media (min-width: 1024px) {
      .welcome-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px !important;
        padding: 8px 18px 20px !important;
      }

      .pc-store-picker-grid,
      #marmarisStoreProductsGrid,
      #marketProductsGridInner,
      .pc-brochure-catalog-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      }

      #brochureShowcaseTrack {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      }

      .gold-mode-wrapper {
        display: grid !important;
        grid-template-columns: 1.15fr 1fr !important;
        gap: 10px !important;
        align-items: stretch !important;
      }

      .gold-top-vitrin-card {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-content: space-between !important;
      }

      .gold-calc-card {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: space-between !important;
      }

      .gold-led-table-card {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
      }

      .gold-items-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
      }
    }

    @media (min-width: 1280px) {
      .welcome-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
      }

      .pc-store-picker-grid,
      #marmarisStoreProductsGrid,
      #marketProductsGridInner,
      .pc-brochure-catalog-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
      }

      #brochureShowcaseTrack {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      }

      .dynamic-bottom-panel.mode-dolmus .dynamic-panel-body,
      .airport-stops-grid,
      .kart-dealers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;
      }

      .airport-pills-grid {
        grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
      }
    }

    @media (min-width: 1536px) {
      .welcome-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
      }

      #marmarisStoreProductsGrid,
      #marketProductsGridInner {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
      }

      .gold-items-grid,
      .dynamic-bottom-panel.mode-dolmus .dynamic-panel-body,
      .kart-dealers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      }
    }
