  /* ================== SONUÇ / BARAJ EKRANI ================== */
  .completion-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    text-align: center;
    gap: 16px;
  }

  .trophy-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  }

  .trophy-badge.failed {
    background: linear-gradient(135deg, #EF4444 0%, #991B1B 100%);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
  }

  .trophy-badge.passed-jump {
    background: linear-gradient(135deg, #8B5CF6 0%, #6D28D9 100%);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
  }

  .comp-title { font-size: 21px; font-weight: 900; color: #FFFFFF; }
  .comp-subtitle { font-size: 12px; color: var(--text-secondary); line-height: 1.45; }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
    margin: 6px 0;
  }

  .stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .stat-card-val { font-size: 16px; font-weight: 800; }
  .stat-card-val.xp-val { color: #38BDF8; }
  .stat-card-val.acc-val { color: #34D399; }
  .stat-card-val.time-val { color: #FBBF24; }
  .stat-card-val.fail-val { color: #EF4444; }

  .stat-card-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .stat-card-lbl {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .queue-pill {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--accent-green);
    color: #A7F3D0;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
  }

  .queue-pill.failed-pill {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--accent-red);
    color: #FCA5A5;
  }

  .bottom-nav {
    display: flex;
    justify-content: space-around;
    padding: 12px 10px 16px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
    z-index: 10;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
  }

  .nav-item.active { color: var(--accent-blue); }
  .nav-icon { font-size: 18px; }

  /* ================== IN-APP CUSTOM MODAL ================== */
  .modal-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
  }
  .modal-overlay.open { display: flex; }
  .modal-card {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    width: 100%;
    max-width: 330px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  @keyframes popIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
  .modal-icon {
    font-size: 38px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.15);
    border: 2px solid #E11D48;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal-title { font-size: 18px; font-weight: 800; color: #FFFFFF; }
  .modal-desc { font-size: 12.5px; color: var(--text-secondary); line-height: 1.45; }
  .modal-features {
    background: #0F172A;
    border: 1px solid #334155;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    width: 100%;
    text-align: left;
    font-size: 11.5px;
    color: #CBD5E1;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .modal-features span { display: flex; align-items: center; gap: 6px; }
  .modal-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
  }
  .btn-secondary {
    flex: 1;
    background: #334155;
    color: var(--text-secondary);
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  .btn-primary-jump {
    flex: 1.4;
    background: linear-gradient(135deg, #E11D48 0%, #BE123C 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.4);
  }

  /* ================== DERS BASAMAK MODAL STİLLERİ ================== */
  .level-modal-card {
    max-width: 380px;
    max-height: 90dvh;
    overflow-y: auto;
    padding: 18px;
    text-align: left;
    align-items: stretch;
  }
  .modal-level-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent-blue);
    background: rgba(62, 99, 153, 0.15);
    border: 1px solid rgba(62, 99, 153, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
  }
  .close-btn-modal {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 2px 6px;
    border-radius: 4px;
  }
  .close-btn-modal:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
  }
  .level-status-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 4px;
  }
  .level-step-indicator {
    font-size: 12px;
    font-weight: 800;
    color: #38BDF8;
  }
  .level-step-indicator.crown {
    color: #FBBF24;
  }
  .modal-step-bar {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
  }
  .modal-step-seg {
    flex: 1;
    height: 7px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease;
  }
  [data-theme="light"] .modal-step-seg {
    background: #CBD5E1;
  }
  .modal-step-seg.active {
    background: linear-gradient(90deg, #38BDF8, #2563EB);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
  }
  .modal-step-seg.green {
    background: linear-gradient(90deg, #10B981, #059669) !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.45) !important;
  }
  .modal-step-seg.red {
    background: linear-gradient(90deg, #EF4444, #DC2626) !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.5) !important;
  }
  .modal-step-seg.gold {
    background: linear-gradient(90deg, #F59E0B, #D97706) !important;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5) !important;
  }
  .level-avg-badge {
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
  }
  .level-avg-badge.good {
    color: #34D399;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
  }
  .level-avg-badge.warning {
    color: #F87171;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
  }
  .level-avg-badge.neutral {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
  }
  .notice-banner {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    line-height: 1.45;
  }
  .notice-banner.makeup {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #FCA5A5;
  }
  .notice-banner.review {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #FCD34D;
  }
  .modal-actions-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 12px;
  }
  .secondary-btn-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 1.5px solid var(--accent-blue);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
  }
  .secondary-btn-outline:hover:not(.disabled-btn) {
    background: rgba(62, 99, 153, 0.1);
  }
  .disabled-btn {
    opacity: 0.55 !important;
    border-color: var(--text-muted) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
  }
  .primary-btn.blue {
    background: var(--accent-blue);
    box-shadow: 0 4px 0 var(--accent-blue-dark), 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  /* ================== IN-APP ÜST BİLDİRİM KUTUCUĞU (TOP BANNER TOAST) ================== */
  .top-notification-banner {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    user-select: none;
    touch-action: pan-y;
  }

  .top-notification-banner.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .top-notification-banner.swiping {
    transition: none; /* Sürüklerken animasyonsuz anlık takip */
  }

  .banner-swipe-handle {
    width: 32px;
    height: 3.5px;
    border-radius: 2px;
    background: var(--text-muted);
    margin: 6px auto 2px;
    opacity: 0.6;
    cursor: grab;
  }

  .banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 10px 14px;
  }

  .banner-icon {
    font-size: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .banner-text-wrap {
    flex: 1;
    min-width: 0;
  }

  .banner-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
  }

  .banner-message {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.35;
    word-break: break-word;
  }

  .banner-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
  }
  .banner-close-btn:hover {
    color: var(--text-primary);
  }

  .banner-progress-track {
    width: 100%;
    height: 2.5px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
  }

  .banner-progress-fill {
    width: 100%;
    height: 100%;
    background: var(--accent-blue);
    transition: width 7s linear;
  }

  .top-notification-banner.type-success .banner-progress-fill { background: var(--accent-green); }
  .top-notification-banner.type-warning .banner-progress-fill { background: var(--accent-amber); }
  .top-notification-banner.type-error .banner-progress-fill { background: var(--accent-red); }

  /* In-App Confirm Card */
  .in-app-confirm-card {
    max-width: 340px;
    text-align: center;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .confirm-icon {
    font-size: 34px;
    margin-bottom: 2px;
  }

  .confirm-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
  }

  .confirm-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .confirm-actions {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .confirm-actions button {
    flex: 1;
    font-size: 13px;
    padding: 11px 12px;
  }
