    /* CSS Sıfırlama ve Temel Ayarlar */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      /* Yazı seçimini ve rastgele yazı imleci çıkmasını engeller */
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
    }

    :root {
      font-size: 16px;
      --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
      --color-p1: #3B82F6;
      --color-p2: #EC4899;
      --bg-gradient: radial-gradient(circle at center, #1e1b4b 0%, #090d16 100%);
    }

    body {
      font-family: var(--font-family);
      background: var(--bg-gradient);
      min-height: 100vh;
      color: #f1f5f9;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      padding: 0 0.5rem;
      position: relative;
      overflow-x: hidden;
      cursor: default;
    }

    @media (min-width: 640px) { body { padding: 0 1rem; } }
    @media (min-width: 1024px) { body { padding: 0 1.5rem; } }

    /* SVG Porte & Nota Stilleri - ORİJİNAL SABİT YAPI */
    .staff-line {
      stroke: #ef4444; 
      stroke-width: 4.5;
    }
    .ledger-line {
      stroke: #ef4444; 
      stroke-width: 4.5;
    }
    .note-head {
      fill: none;
      stroke: #f8fafc;
      stroke-width: 6.5;
      filter: drop-shadow(0rem 0.25rem 0.5rem rgba(0,0,0,0.8));
      transition: all 0.25s ease;
    }

    /* Animasyonlar */
    @keyframes bounce {
      0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
      50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
    }

    /* Sabit / Yüzen Butonlar */
    .btn-fixed {
      position: fixed;
      top: 0.75rem;
      z-index: 50;
      display: flex;
      align-items: center;
      justify-content: center;
      height: 2.75rem;
      gap: 0.5rem;
      background-color: rgba(2, 6, 23, 0.85);
      border: 1px solid rgba(51, 65, 85, 0.8);
      border-radius: 1rem;
      padding: 0 0.875rem;
      font-size: 0.875rem;
      font-weight: 800;
      color: #e2e8f0;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
      backdrop-filter: blur(12px);
      transition: all 0.2s ease;
      cursor: pointer;
      text-decoration: none;
    }
    .btn-fixed:hover {
      background-color: #0f172a;
      color: #ffffff;
    }
    .btn-fixed:active { transform: scale(0.95); }
    #settings-btn { left: 0.75rem; }
    #home-btn { left: 50%; transform: translateX(-50%); }
    #fullscreen-btn { right: 0.75rem; }

    /* Modallar */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 100;
      background-color: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(12px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }
    .modal-content {
      background-color: #0f172a;
      border: 2px solid #334155;
      border-radius: 1.5rem;
      max-width: 28rem;
      width: 100%;
      padding: 1.5rem;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      position: relative;
    }
    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #1e293b;
      padding-bottom: 0.75rem;
    }
    .modal-close-btn {
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 0.75rem;
      background-color: #1e293b;
      color: #94a3b8;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      font-weight: 700;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
    }
    .modal-close-btn:hover { background-color: #334155; color: #fff; }

    .setting-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: rgba(2, 6, 23, 0.7);
      padding: 1rem;
      border-radius: 1rem;
      border: 1px solid #1e293b;
    }

    /* Switch Stili */
    .switch {
      position: relative;
      display: inline-block;
      width: 3.5rem;
      height: 1.75rem;
    }
    .switch input { opacity: 0; width: 0; height: 0; }
    .slider {
      position: absolute;
      cursor: pointer;
      inset: 0;
      background-color: #1e293b;
      transition: .4s;
      border-radius: 2rem;
    }
    .slider:before {
      position: absolute;
      content: "";
      height: 1.5rem;
      width: 1.5rem;
      left: 2px;
      bottom: 2px;
      background-color: white;
      transition: .4s;
      border-radius: 50%;
    }
    input:checked + .slider { background-color: #4f46e5; }
    input:checked + .slider:before { transform: translateX(1.75rem); }

    /* Ana Kart Konteyner */
    #main-card {
      width: 100%;
      background-color: rgba(15, 23, 42, 0.9);
      backdrop-filter: blur(24px);
      border: 1px solid rgba(51, 65, 85, 0.8);
      border-radius: 1.5rem;
      box-shadow: 0 0 3.125rem rgba(0,0,0,0.8);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: all 0.3s ease;
      margin-top: 3.75rem;
      position: relative;
    }
    .max-w-4xl { max-width: 56rem; }
    .max-w-full-custom { max-width: 98%; }

    /* Oyun Alanı Temel Stilleri */
    main {
      padding: 0;
      padding-bottom: 0.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      width: 100%;
      margin: 0 auto;
      flex: 1;
    }
    @media (min-width: 640px) { main { padding: 0; padding-bottom: 0.5rem; } }

    /* Seçim Butonları Stili */
    .mode-btn {
      padding: 1.25rem 1.1rem;
      border-radius: 1rem;
      box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
      transition: all 0.2s;
      text-align: left;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      position: relative;
    }
    .mode-btn-active-single {
      background: linear-gradient(to bottom right, rgba(49, 46, 129, 0.9), rgba(15, 23, 42, 0.9));
      border: 4px solid #818cf8;
      box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3);
    }
    .mode-btn-active-team {
      background: linear-gradient(to bottom right, rgba(88, 28, 135, 0.9), rgba(15, 23, 42, 0.9));
      border: 4px solid #c084fc;
      box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.3);
    }
    .mode-btn-inactive {
      background: linear-gradient(to bottom right, rgba(2, 6, 23, 0.7), rgba(15, 23, 42, 0.8));
      border: 2px solid rgba(51, 65, 85, 0.5);
      opacity: 0.8;
    }
    .mode-btn-inactive:hover { border-color: #64748b; opacity: 1; }

    /* Grid Yapıları - Esnek & Dörderli Düzen */
    .grid-2col {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      width: 100%;
      max-width: 44rem;
      margin-bottom: 1rem;
    }

    .options-grid {
      width: 100%;
      max-width: 56rem;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: clamp(0.2rem, 1vw, 0.75rem);
      margin-top: 0.2rem;
    }

    /* Şık Butonları */
    .note-btn {
      padding: clamp(0.4rem, 1.2vh, 0.9rem) clamp(0.15rem, 0.8vw, 0.5rem);
      background-color: rgba(30, 41, 59, 0.9);
      border: 2px solid #334155;
      border-radius: clamp(0.5rem, 1vw, 1rem);
      font-weight: 900;
      font-size: clamp(0.95rem, 1.6vw, 1.75rem);
      color: #f1f5f9;
      transition: all 0.2s;
      box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      text-align: center;
      white-space: nowrap;
    }

    .note-btn:hover { background-color: rgba(79, 70, 229, 0.4); border-color: #6366f1; }
    .note-btn:active { transform: scale(0.95); }
    .note-btn:disabled { opacity: 0.4; pointer-events: none; }

    /* Skor ve Oyun Düzeni */
    .game-layout {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 0.625rem;
      align-items: stretch;
      justify-content: space-between;
    }
    @media (min-width: 1024px) { .game-layout { flex-direction: row; } }

    .score-column {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: clamp(0.3rem, 1vh, 0.625rem);
    }
    @media (min-width: 1024px) { .score-column { width: clamp(9rem, 12vw, 13rem); } }

    .mobile-scores-wrapper {
      display: flex;
      width: 100%;
      gap: 0.5rem;
    }

    .mobile-nav-wrapper {
      display: flex;
      width: 100%;
      gap: 0.5rem;
    }

    /* Skor Kartları */
    .score-card {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: clamp(0.75rem, 2vh, 1.75rem) 0.5rem;
      border-radius: 1rem;
      background-color: rgba(2, 6, 23, 0.8);
      border: 4px solid transparent;
      transition: all 0.2s;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
      gap: 0.5rem;
    }
    @media (min-width: 1024px) { 
      .score-card { 
        flex-direction: column; 
      } 
    }

    .score-card #p1-score, .score-card #p2-score {
      font-size: clamp(2rem, 3.5vw, 3.25rem) !important;
    }

    /* Navigasyon Butonları */
    .nav-btn {
      width: 100%;
      padding: clamp(0.8rem, 2.2vh, 2rem) 0.5rem;
      background-color: #1e293b;
      border: 2px solid #475569;
      color: #f1f5f9;
      font-weight: 900;
      font-size: clamp(1rem, 1.3vw, 1.35rem);
      border-radius: 1rem;
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      cursor: pointer;
    }
    .nav-btn:hover { background-color: rgba(67, 56, 202, 0.6); border-color: #818cf8; }
    .nav-btn:active { transform: scale(0.95); }
    .nav-btn:disabled { opacity: 0.3; pointer-events: none; transform: none; }

    .hidden { display: none !important; }
    .flex { display: flex !important; }
    .badge {
      font-size: 0.85rem;
      font-weight: 900;
      padding: 0.3rem 0.75rem;
      border-radius: 9999px;
      letter-spacing: 0.05em;
    }
    .bg-p1 { background-color: var(--color-p1); }
    .bg-p2 { background-color: var(--color-p2); }
    .border-p1 { border-color: var(--color-p1); }
    .border-p2 { border-color: var(--color-p2); }
    .text-p1 { color: var(--color-p1); }
    .text-p2 { color: var(--color-p2); }
    .pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

    footer {
      padding: 0.75rem 1rem;
      background: linear-gradient(to right, #020617, rgba(30, 27, 75, 0.8), #020617);
      border-top: 2px solid rgba(99, 102, 241, 0.3);
      text-align: center;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }

    @media (max-width: 1023px) {
      .footer-separator { display: none !important; }
    }

    @media (max-width: 1023px) {
      #main-card { margin-top: 3.8rem; }
      .btn-fixed {
        top: 0.4rem;
        height: 2.2rem;
        padding: 0 0.5rem;
        border-radius: 0.75rem;
      }
      .btn-text { display: none !important; }
      #settings-btn { left: 0.4rem; }
      #home-btn { left: 50%; transform: translateX(-50%); }
      #fullscreen-btn { right: 0.4rem; }
      .score-column { display: none !important; }
      .mobile-scores-wrapper {
        display: flex !important;
        flex-direction: row;
        width: 100%;
        gap: 0.5rem;
      }
      .mobile-scores-wrapper .score-card {
        flex: 1;
        padding: 0.5rem !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 0.5rem !important;
      }
      .mobile-scores-wrapper .score-card > div:nth-child(2) {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }
      .mobile-scores-wrapper .score-card #p1-score, 
      .mobile-scores-wrapper .score-card #p2-score {
        font-size: 1.5rem !important;
      }
      .mobile-nav-wrapper {
        display: flex !important;
        flex-direction: row;
        width: 100%;
        gap: 0.5rem;
      }
      .mobile-nav-wrapper .nav-btn {
        flex: 1;
        padding: 0.75rem 0.5rem !important;
        font-size: 1.1rem !important;
      }
      #game-screen > div:first-child {
        padding: 0.75rem 1rem !important;
      }
      #feedback-msg { font-size: 1.6rem !important; }
    }

    /* DİKEY EKRAN (PORTRAIT) SETUP SCREEN & GENEL KÜÇÜLTME UYARLAMALARI */
    @media (max-width: 1023px) and (orientation: portrait) {
      #start-screen {
        padding: 0.6rem 0.75rem 0.75rem !important;
      }

      /* İkon Kapsayıcısı */
      #start-screen-logo-container {
        width: 3.2rem !important;
        height: 3.2rem !important;
        font-size: 1.75rem !important;
        margin-bottom: 0.3rem !important;
      }

      /* Başlık ve Açıklama */
      #start-screen-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.2rem !important;
      }
      #start-screen-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 0.6rem !important;
        line-height: 1.25 !important;
      }

      /* Mod Seçim Grid ve Butonları */
      #start-screen .grid-2col {
        gap: 0.5rem !important;
        margin-bottom: 0.6rem !important;
      }
      #start-screen .mode-btn {
        padding: 0.65rem 0.6rem !important;
        gap: 0.3rem !important;
        border-radius: 0.75rem !important;
      }
      #start-screen .mode-btn .badge {
        font-size: 0.7rem !important;
        padding: 0.15rem 0.4rem !important;
      }
      #start-screen .mode-btn-title {
        font-size: 1rem !important;
      }
      #start-screen .mode-btn-desc {
        font-size: 0.75rem !important;
      }
      #start-screen .mode-btn-icon {
        font-size: 1.25rem !important;
      }

      /* Künye Kartı */
      #start-screen-credits {
        padding: 0.5rem 0.75rem !important;
        margin-bottom: 0.6rem !important;
        border-radius: 0.75rem !important;
      }
      #start-screen-credits-content {
        gap: 0.3rem !important;
      }
      .credit-item-label {
        font-size: 0.75rem !important;
      }
      .credit-item-name {
        font-size: 0.8rem !important;
      }

      /* Oyuna Başla Butonu */
      #start-game-btn {
        padding: 0.65rem 1.75rem !important;
        font-size: 1.05rem !important;
        border-radius: 0.75rem !important;
      }

      /* Porte SVG Görünümü */
      #music-staff-svg {
        transform: scaleY(1.5);
        transform-origin: center;
        margin: 1.8rem 0;
      }
      #music-staff-svg-container { padding: 3rem 0 !important; }
    }

    @media (min-width: 1024px) {
      .mobile-scores-wrapper, .mobile-nav-wrapper { display: none !important; }
    }

/* =====================================================================
   TELEFON GÖRÜNÜMÜ (639px ve altı) – sadece bu oyun
   ===================================================================== */
@media (max-width: 639px) {
  /* Üst bilgi çubuğu: "Bireysel Mod" / "1. Takımın Sırası" ve "Soru 1/20"
     iki satıra bölünmez; yer daralınca önce yazı küçülür. */
  #game-screen > div:first-child {
    gap: 0.5rem;
    padding: 0.6rem 0.75rem !important;
  }
  #turn-badge {
    white-space: nowrap;
    font-size: clamp(0.72rem, 4.4vw, 1.125rem) !important;
    padding: 0.4rem clamp(0.6rem, 4vw, 1.5rem) !important;
  }
  #question-count {
    white-space: nowrap;
    font-size: clamp(0.8rem, 4.9vw, 1.25rem) !important;
  }
  /* Doğru/yanlış alanı iki satırı tam alacak yükseklikte (yazı kesilmez) */
  #game-screen > div:nth-child(2) {
    min-height: 4rem !important;
    max-height: 4rem !important;
  }
}

/* Çok dar ekranlar (400px ve altı): doğru/yanlış yazısı bir miktar küçülür,
   iki satıra geçerse de alanına tam sığar. */
@media (max-width: 400px) {
  #feedback-msg { font-size: clamp(1.05rem, 6vw, 1.6rem) !important; }
}


/* =====================================================================
   SATIR İÇİ STİLLERDEN TAŞINAN KURALLAR (katı CSP için)
   HTML'deki data-st="..." değeri bu kurallarla eşleşir. Değerler, eski
   style="..." öznitelikleriyle birebir aynıdır. Seçicideki :not(#_#_#_#_#_)
   eki, kuralın eski satır içi stil kadar öncelikli olmasını sağlar
   (aynı öğeye dosyadaki diğer kurallar eskiden olduğu gibi işlemez).
   ===================================================================== */
[data-st="nb1"]:not(#_#_#_#_#_) { font-size: 1.125rem; }  /* span */
[data-st="nb2"]:not(#_#_#_#_#_) { display: flex; align-items: center; gap: 0.75rem; }  /* div */
[data-st="nb3"]:not(#_#_#_#_#_) { font-size: 1.5rem; }  /* span */
[data-st="nb4"]:not(#_#_#_#_#_) { font-size: 1.5rem; font-weight: 900; color: #fff; }  /* h3 */
[data-st="nb5"]:not(#_#_#_#_#_) { display: flex; flex-direction: column; gap: 1rem; }  /* div */
[data-st="nb6"]:not(#_#_#_#_#_) { display: flex; flex-direction: column; }  /* div */
[data-st="nb7"]:not(#_#_#_#_#_) { font-weight: 800; color: #fff; font-size: 1rem; }  /* span */
[data-st="nb8"]:not(#_#_#_#_#_) { font-size: 0.75rem; color: #94a3b8; }  /* span */
[data-st="nb9"]:not(#_#_#_#_#_) { display: flex; align-items: center; gap: 0.5rem; background: #0f172a; border: 1px solid #334155; padding: 0.375rem; border-radius: 0.75rem; }  /* div */
[data-st="nb10"]:not(#_#_#_#_#_) { width: 2rem; height: 2rem; border-radius: 0.5rem; background: #1e293b; color: #fff; font-weight: 900; font-size: 1.125rem; border: none; cursor: pointer; }  /* button */
[data-st="nb11"]:not(#_#_#_#_#_) { padding: 0 0.5rem; font-weight: 900; color: #818cf8; font-size: 1.125rem; min-width: 2.5rem; text-align: center; }  /* span#delay-display-val */
[data-st="nb12"]:not(#_#_#_#_#_) { width: 100%; padding: 0.875rem; background: rgba(225, 29, 72, 0.9); border: 1px solid #f43f5e; color: #fff; font-weight: 900; font-size: 1rem; border-radius: 0.75rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }  /* button */
[data-st="nb13"]:not(#_#_#_#_#_) { width: 100%; padding: 0.75rem; background: #1e293b; color: #e2e8f0; font-weight: 700; font-size: 1rem; border-radius: 0.75rem; border: none; cursor: pointer; }  /* button */
[data-st="nb14"]:not(#_#_#_#_#_) { text-align: center; padding: 1rem 1.5rem 1.25rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100%; max-width: 56rem; margin: 0 auto; }  /* div#start-screen */
[data-st="nb15"]:not(#_#_#_#_#_) { width: 4.5rem; height: 4.5rem; background: rgba(79, 70, 229, 0.2); border-radius: 9999px; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(99, 102, 241, 0.4); font-size: 2.5rem; margin-bottom: 0.5rem; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }  /* div#start-screen-logo-container */
[data-st="nb16"]:not(#_#_#_#_#_) { font-size: 2.8rem; font-weight: 900; margin-bottom: 0.3rem; color: #fff; letter-spacing: -0.025em; }  /* h2#start-screen-title */
[data-st="nb17"]:not(#_#_#_#_#_) { color: #cbd5e1; max-width: 46rem; font-size: 1.35rem; margin-bottom: 1rem; line-height: 1.4; font-weight: 600; }  /* p#start-screen-subtitle */
[data-st="nb18"]:not(#_#_#_#_#_) { display: flex; align-items: center; justify-content: space-between; width: 100%; }  /* div */
[data-st="nb19"]:not(#_#_#_#_#_) { font-size: 1.75rem; }  /* span */
[data-st="nb20"]:not(#_#_#_#_#_) { color: #fff; }  /* span#badge-single */
[data-st="nb21"]:not(#_#_#_#_#_) { font-size: 1.4rem; font-weight: 900; color: #a5b4fc; }  /* div */
[data-st="nb22"]:not(#_#_#_#_#_) { font-size: 0.95rem; color: #cbd5e1; font-weight: 600; }  /* div */
[data-st="nb23"]:not(#_#_#_#_#_) { background: #a855f7; color: #fff; }  /* span#badge-team */
[data-st="nb24"]:not(#_#_#_#_#_) { font-size: 1.4rem; font-weight: 900; color: #d8b4fe; }  /* div */
[data-st="nb25"]:not(#_#_#_#_#_) { background: rgba(30, 27, 75, 0.6); border: 2px solid rgba(99, 102, 241, 0.4); border-radius: 1rem; padding: 0.75rem 1.25rem; margin-bottom: 1rem; max-width: 38rem; width: 100%; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); backdrop-filter: blur(12px); }  /* div#start-screen-credits */
[data-st="nb26"]:not(#_#_#_#_#_) { display: flex; flex-direction: column; gap: 0.5rem; font-size: 1.15rem; }  /* div#start-screen-credits-content */
[data-st="nb27"]:not(#_#_#_#_#_) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; }  /* div */
[data-st="nb28"]:not(#_#_#_#_#_) { color: #818cf8; font-weight: 800; }  /* span */
[data-st="nb29"]:not(#_#_#_#_#_) { color: #fff; font-weight: 900; }  /* span */
[data-st="nb30"]:not(#_#_#_#_#_) { height: 1px; background: rgba(99, 102, 241, 0.3); width: 70%; margin: 0.2rem auto; }  /* div */
[data-st="nb31"]:not(#_#_#_#_#_) { color: #f472b6; font-weight: 800; }  /* span */
[data-st="nb32"]:not(#_#_#_#_#_) { padding: 1rem 3.25rem; background: linear-gradient(to right, #2563eb, #4f46e5, #9333ea); color: #fff; font-weight: 900; font-size: 1.45rem; border-radius: 1rem; box-shadow: 0 0.5rem 1.5rem rgba(79,70,229,0.5); border: none; cursor: pointer; transition: all 0.2s; }  /* button#start-game-btn */
[data-st="nb33"]:not(#_#_#_#_#_) { width: 100%; flex-direction: column; align-items: center; gap: 0.4rem; margin: auto; }  /* div#game-screen */
[data-st="nb34"]:not(#_#_#_#_#_) { width: 100%; display: flex; align-items: center; justify-content: space-between; background: rgba(2, 6, 23, 0.7); padding: 0.75rem 1.5rem; border-radius: 0 0 1rem 1rem; border-bottom: 1px solid #1e293b; border-left: 1px solid #1e293b; border-right: 1px solid #1e293b; border-top: none; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }  /* div */
[data-st="nb35"]:not(#_#_#_#_#_) { font-size: 1.25rem; color: #e2e8f0; font-weight: 700; }  /* span#question-count */
[data-st="nb36"]:not(#_#_#_#_#_) { width: 100%; display: flex; align-items: center; justify-content: center; min-height: 3.6rem; max-height: 3.6rem; overflow: hidden; text-align: center; }  /* div */
[data-st="nb37"]:not(#_#_#_#_#_) { width: 1rem; height: 1rem; border-radius: 9999px; background-color: var(--color-p1); }  /* div */
[data-st="nb38"]:not(#_#_#_#_#_) { text-align: center; }  /* div */
[data-st="nb39"]:not(#_#_#_#_#_) { font-size: 1rem; color: #cbd5e1; font-weight: 900; }  /* div */
[data-st="nb40"]:not(#_#_#_#_#_) { font-size: 1.5rem; font-weight: 900; color: var(--color-p1); }  /* div */
[data-st="nb41"]:not(#_#_#_#_#_) { opacity: 0.5; }  /* div#mob-p2-score-card */
[data-st="nb42"]:not(#_#_#_#_#_) { width: 1rem; height: 1rem; border-radius: 9999px; background-color: var(--color-p2); }  /* div */
[data-st="nb43"]:not(#_#_#_#_#_) { font-size: 1.5rem; font-weight: 900; color: var(--color-p2); }  /* div */
[data-st="nb44"]:not(#_#_#_#_#_) { width: 1.25rem; height: 1.25rem; border-radius: 9999px; background-color: var(--color-p1); }  /* div */
[data-st="nb45"]:not(#_#_#_#_#_) { font-size: 1.15rem; color: #cbd5e1; font-weight: 900; letter-spacing: 0.05em; }  /* div#p1-title */
[data-st="nb46"]:not(#_#_#_#_#_) { font-weight: 900; color: var(--color-p1); line-height: 1.2; }  /* div */
[data-st="nb47"]:not(#_#_#_#_#_) { font-size: 0.95rem; color: #94a3b8; font-weight: 500; }  /* div#p1-subtitle */
[data-st="nb48"]:not(#_#_#_#_#_) { flex: 1; width: 100%; background: rgba(2, 6, 23, 0.9); border: 2px solid rgba(51, 65, 85, 0.8); border-radius: 1rem; padding: 1.5rem 0; box-shadow: inset 0 0.25rem 1.25rem rgba(0,0,0,0.9); display: flex; justify-content: center; align-items: center; position: relative; overflow: hidden; }  /* div#music-staff-svg-container */
[data-st="nb49"]:not(#_#_#_#_#_) { width: 100%; height: auto; max-height: 25rem; overflow: visible; }  /* svg#music-staff-svg */
[data-st="nb50"]:not(#_#_#_#_#_) { opacity: 0; }  /* line#ledger-line */
[data-st="nb51"]:not(#_#_#_#_#_) { width: 1.25rem; height: 1.25rem; border-radius: 9999px; background-color: var(--color-p2); }  /* div */
[data-st="nb52"]:not(#_#_#_#_#_) { font-weight: 900; color: var(--color-p2); line-height: 1.2; }  /* div */
[data-st="nb53"]:not(#_#_#_#_#_) { text-align: center; padding: 3rem 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 42rem; margin: auto; }  /* div#end-screen */
[data-st="nb54"]:not(#_#_#_#_#_) { font-size: 4.5rem; margin-bottom: 1.5rem; animation: bounce 1s infinite; }  /* div#winner-icon */
[data-st="nb55"]:not(#_#_#_#_#_) { font-size: 2.5rem; font-weight: 900; margin-bottom: 0.75rem; color: #fff; }  /* h2#winner-title */
[data-st="nb56"]:not(#_#_#_#_#_) { color: #cbd5e1; font-size: 1.25rem; margin-bottom: 2rem; font-weight: 500; }  /* p#winner-subtitle */
[data-st="nb57"]:not(#_#_#_#_#_) { width: 100%; background: rgba(2, 6, 23, 0.8); border: 2px solid #1e293b; border-radius: 1.5rem; padding: 2rem; margin-bottom: 2rem; display: flex; justify-content: space-around; align-items: center; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }  /* div */
[data-st="nb58"]:not(#_#_#_#_#_) { text-align: center; flex: 1; }  /* div */
[data-st="nb59"]:not(#_#_#_#_#_) { font-size: 1.25rem; color: #cbd5e1; font-weight: 900; margin-bottom: 0.5rem; }  /* div#final-p1-title */
[data-st="nb60"]:not(#_#_#_#_#_) { font-size: 2.5rem; font-weight: 900; color: var(--color-p1); }  /* div#final-p1-score */
[data-st="nb61"]:not(#_#_#_#_#_) { height: 4rem; width: 1px; background: #1e293b; margin: 0 0.5rem; }  /* div */
[data-st="nb62"]:not(#_#_#_#_#_) { font-size: 2.5rem; font-weight: 900; color: var(--color-p2); }  /* div#final-p2-score */
[data-st="nb63"]:not(#_#_#_#_#_) { display: flex; gap: 0.75rem; width: 100%; }  /* div */
[data-st="nb64"]:not(#_#_#_#_#_) { flex: 1; padding: 1.25rem; background: linear-gradient(to right, #4f46e5, #9333ea); color: #fff; font-weight: 900; font-size: 1.25rem; border-radius: 1rem; border: none; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }  /* button */
[data-st="nb65"]:not(#_#_#_#_#_) { flex: 1; padding: 1.25rem; background: #1e293b; border: 2px solid #334155; color: #fff; font-weight: 900; font-size: 1.25rem; border-radius: 1rem; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }  /* button */
[data-st="nb66"]:not(#_#_#_#_#_) { display: flex; align-items: center; justify-content: center; gap: 1rem; font-weight: 700; flex-wrap: wrap; }  /* div */
[data-st="nb67"]:not(#_#_#_#_#_) { display: flex; align-items: center; gap: 0.5rem; }  /* div */
[data-st="nb68"]:not(#_#_#_#_#_) { color: #818cf8; font-weight: 800; font-size: 0.9rem; white-space: nowrap; }  /* span */
[data-st="nb69"]:not(#_#_#_#_#_) { color: #fff; font-size: 0.9rem; font-weight: 900; background: rgba(49, 46, 129, 0.7); padding: 0.35rem 0.85rem; border-radius: 0.5rem; border: 1px solid rgba(99, 102, 241, 0.4); white-space: nowrap; }  /* span */
[data-st="nb70"]:not(#_#_#_#_#_) { color: rgba(99, 102, 241, 0.5); font-size: 1.25rem; }  /* span */
[data-st="nb71"]:not(#_#_#_#_#_) { color: #f472b6; font-weight: 800; font-size: 0.9rem; white-space: nowrap; }  /* span */
[data-st="nb72"]:not(#_#_#_#_#_) { color: #fff; font-size: 0.9rem; font-weight: 900; background: rgba(131, 24, 67, 0.7); padding: 0.35rem 0.85rem; border-radius: 0.5rem; border: 1px solid rgba(244, 114, 182, 0.4); white-space: nowrap; }  /* span */

/* ---- Öğretmen modu ---- */
#start-screen .grid-2col { grid-template-columns: repeat(3, 1fr); max-width: 60rem; }   /* Bireysel, 2 Takımlı, Öğretmen */
.mode-btn-active-teacher {
  background: linear-gradient(to bottom right, rgba(6, 78, 59, 0.9), rgba(15, 23, 42, 0.9));
  border: 4px solid #34d399;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
}
.mode-btn-title-ogretmen { font-size: 1.4rem; font-weight: 900; color: #6ee7b7; }
.badge-ogretmen { background: #10b981; color: #fff; }
#music-staff-svg .ogr-cizgi-vurgu { stroke: #facc15; stroke-width: 9; stroke-linecap: round; }
#music-staff-svg .ogr-aralik-vurgu { fill: rgba(250, 204, 21, 0.28); stroke: #facc15; stroke-width: 2; }
#music-staff-svg .ogr-nota-adi { fill: #f8fafc; font-size: 30px; font-weight: 900; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
#music-staff-svg .ogr-nota-secili.note-head { stroke: #34d399; }
#music-staff-svg text.ogr-nota-secili { fill: #34d399; }
.note-btn.ogr-vurgu { background-color: rgba(16, 185, 129, 0.25); border-color: #34d399; }
.note-btn.ogr-soluk { opacity: 0.4; }
.note-btn.ogr-secili { background-color: #10b981; color: #fff; }
@media (max-width: 639px) {
  #start-screen .grid-2col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #music-staff-svg .ogr-nota-adi { font-size: 26px; }
}
