    /* 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: #14b8a6;
      --color-p2: #f97362;
      --bg-gradient: radial-gradient(circle at center, #fff4ee 0%, #ffe0d1 100%);
    }

    body {
      font-family: var(--font-family);
      background: var(--bg-gradient);
      min-height: 100vh;
      color: #5c3a2e;
      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; } }

    /* 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(255, 239, 230, 0.85);
      border: 1px solid rgba(224, 186, 167, 0.8);
      border-radius: 1rem;
      padding: 0 0.875rem;
      font-size: 0.875rem;
      font-weight: 800;
      color: #5c3a2e;
      box-shadow: 0 20px 25px -5px rgba(158, 78, 55, 0.035);
      backdrop-filter: blur(12px);
      transition: all 0.2s ease;
      cursor: pointer;
      text-decoration: none;
    }
    .btn-fixed:hover {
      background-color: #fffaf7;
      color: #4a2a1f;
    }
    .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(158, 78, 55, 0.262);
      backdrop-filter: blur(12px);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1rem;
    }
    .modal-content {
      background-color: #fffaf7;
      border: 2px solid #fbd3bf;
      border-radius: 1.5rem;
      max-width: 28rem;
      width: 100%;
      padding: 1.5rem;
      box-shadow: 0 25px 50px -12px rgba(158, 78, 55, 0.087);
      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 #ffefe6;
      padding-bottom: 0.75rem;
    }
    .modal-close-btn {
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 0.75rem;
      background-color: #ffefe6;
      color: #93685a;
      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: #fbd3bf; color: #4a2a1f; }

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

    /* 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: #fbd3bf;
      transition: .4s;
      border-radius: 2rem;
    }
    .slider:before {
      position: absolute;
      content: "";
      height: 1.5rem;
      width: 1.5rem;
      left: 2px;
      bottom: 2px;
      background-color: white;
      box-shadow: 0 1px 4px rgba(158, 78, 55, 0.45);
      transition: .4s;
      border-radius: 50%;
    }
    input:checked + .slider { background-color: #f2724f; }
    input:checked + .slider:before { transform: translateX(1.75rem); }

    /* Ana Kart Konteyner */
    #main-card {
      width: 100%;
      background-color: rgba(255, 250, 247, 0.9);
      backdrop-filter: blur(24px);
      border: 1px solid rgba(224, 186, 167, 0.8);
      border-radius: 1.5rem;
      box-shadow: 0 0 3.125rem rgba(158, 78, 55, 0.28);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      /* genişlik animasyonu yok: ekran değişirken öğeler itilmez */
      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(158, 78, 55, 0.035);
      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(220, 240, 235, 0.9), rgba(255, 250, 247, 0.9));
      border: 4px solid #f2724f;
      box-shadow: 0 0 0 4px rgba(251, 154, 122, 0.3);
    }
    .mode-btn-active-team {
      background: linear-gradient(to bottom right, rgba(254, 230, 225, 0.9), rgba(255, 250, 247, 0.9));
      border: 4px solid #fba99e;
      box-shadow: 0 0 0 4px rgba(249, 115, 98, 0.3);
    }
    .mode-btn-inactive {
      background: linear-gradient(to bottom right, rgba(255, 239, 230, 0.7), rgba(255, 250, 247, 0.8));
      border: 4px solid rgba(224, 186, 167, 0.5);
      opacity: 0.8;
    }
    .mode-btn-inactive:hover { border-color: #c4a599; 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(255, 239, 230, 0.9);
      border: 2px solid #fbd3bf;
      border-radius: clamp(0.5rem, 1vw, 1rem);
      font-weight: 900;
      font-size: clamp(0.95rem, 1.6vw, 1.75rem);
      color: #5c3a2e;
      transition: all 0.2s;
      box-shadow: 0 10px 15px -3px rgba(158, 78, 55, 0.035);
      cursor: pointer;
      text-align: center;
      white-space: nowrap;
    }

    .note-btn:hover { background-color: rgba(253, 202, 184, 0.4); border-color: #fb9a7a; }
    .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: 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: 1.25rem 0.5rem;
      border-radius: 1rem;
      background-color: rgba(255, 239, 230, 0.8);
      border: 4px solid transparent;
      transition: all 0.2s;
      box-shadow: 0 20px 25px -5px rgba(158, 78, 55, 0.035);
      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: 1.1rem 0.5rem;
      background-color: #ffefe6;
      border: 2px solid #e0baa7;
      color: #5c3a2e;
      font-weight: 900;
      font-size: clamp(1rem, 1.3vw, 1.35rem);
      border-radius: 1rem;
      box-shadow: 0 20px 25px -5px rgba(158, 78, 55, 0.035);
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      cursor: pointer;
    }
    .nav-btn:hover { background-color: rgba(254, 221, 210, 0.6); border-color: #f2724f; }
    .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, #ffefe6, rgba(255, 240, 234, 0.8), #ffefe6);
      border-top: 2px solid rgba(251, 154, 122, 0.3);
      text-align: center;
      box-shadow: 0 25px 50px -12px rgba(158, 78, 55, 0.087);
    }

    @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;
      }

    }

    @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; }
}

/* =====================================================================
   İNCE Mİ KALIN MI? – oyuna özel bölümler
   ===================================================================== */

/* Başlat butonu sesler yüklenirken */
#start-game-btn:disabled { opacity: 0.6; cursor: wait; }

/* ---- Dinleme sahnesi (ortadaki koyu kutu) ---- */
#dinleme-sahnesi {
  flex: 1;
  width: 100%;
  background: rgba(255, 239, 230, 0.9);
  border: 2px solid rgba(224, 186, 167, 0.8);
  border-radius: 1rem;
  box-shadow: inset 0 0.25rem 1.25rem rgba(158, 78, 55, 0.315);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.9rem;
  padding: 3rem 0.75rem;
  position: relative;
  overflow: hidden;
}

.nota-sirasi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 5vw, 4rem);
  width: 100%;
}

.nota-kutusu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.45s cubic-bezier(.34,1.56,.64,1);
}

.nota-daire {
  width: clamp(6.5rem, 12.5vw, 10.75rem);
  height: clamp(6.5rem, 12.5vw, 10.75rem);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.8rem, 5.6vw, 4.75rem);
  font-weight: 900;
  color: #93685a;
  background: rgba(255, 239, 230, 0.9);
  border: 4px solid #fbd3bf;
  box-shadow: 0 10px 25px -5px rgba(158, 78, 55, 0.21);
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nota-daire.adli { font-size: clamp(1.6rem, 3.2vw, 2.75rem); color: #4a2a1f; }
.nota-daire.adli.uzun { font-size: clamp(1.2rem, 2.2vw, 1.95rem); }

/* Çalarken parlar */
#nota-1 .nota-daire.caliyor {
  background: rgba(20, 184, 166, 0.35);
  border-color: #66cfc2;
  color: #4a2a1f;
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.25), 0 0 40px rgba(20, 184, 166, 0.6);
  transform: scale(1.08);
}
#nota-2 .nota-daire.caliyor {
  background: rgba(249, 115, 98, 0.35);
  border-color: #f97362;
  color: #4a2a1f;
  box-shadow: 0 0 0 6px rgba(249, 115, 98, 0.25), 0 0 40px rgba(249, 115, 98, 0.6);
  transform: scale(1.08);
}

.nota-etiket {
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-weight: 900;
  color: #764f42;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nota-ok {
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: #c4a599;
  font-weight: 900;
  min-width: 2.2rem;
  text-align: center;
  transition: color 0.2s;
}

/* Tekrar Dinle */
#tekrar-dinle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem clamp(1.5rem, 3.4vw, 2.75rem);
  background: #ffefe6;
  border: 2px solid #e0baa7;
  color: #5c3a2e;
  font-weight: 900;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(158, 78, 55, 0.105);
}
#tekrar-dinle-btn:hover { background-color: rgba(254, 221, 210, 0.6); border-color: #f2724f; }
#tekrar-dinle-btn:active { transform: scale(0.95); }
#tekrar-dinle-btn:disabled { opacity: 0.45; pointer-events: none; }

.dinle-ipucu {
  font-size: clamp(0.95rem, 1.3vw, 1.2rem);
  color: #93685a;
  font-weight: 700;
  text-align: center;
  min-height: 1.3em;
}

/* ---- Cevap butonları (Daha İnce / Daha Kalın) ---- */
.cevap-grid {
  width: 100%;
  max-width: 56rem;
  margin: 0.2rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.4rem, 1.2vw, 1rem);
}

.cevap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.2rem 0.5rem;
  border-radius: 1rem;
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  color: #4a2a1f;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(158, 78, 55, 0.105);
  white-space: nowrap;
}
.cevap-btn .cevap-simge { font-size: 1.15em; }
.cevap-ince  { background: linear-gradient(to bottom, rgba(195, 232, 247, 0.35), rgba(255, 239, 230, 0.95)); border: 3px solid #38bdf8; }
.cevap-kalin { background: linear-gradient(to top, rgba(234, 138, 28, 0.32), rgba(255, 239, 230, 0.95)); border: 3px solid #ea8a1c; }
.cevap-ince:hover  { background-color: rgba(195, 232, 247, 0.25); box-shadow: 0 0 25px rgba(56, 189, 248, 0.45); }
.cevap-kalin:hover { background-color: rgba(234, 138, 28, 0.25); box-shadow: 0 0 25px rgba(234, 138, 28, 0.45); }
.cevap-btn:active { transform: scale(0.96); }
.cevap-btn:disabled { opacity: 0.4; pointer-events: none; }

/* Cevaptan sonra: doğru şık yeşil, yanlış seçilen kırmızı (soluk olmaz) */
.cevap-btn.dogru-sik  { opacity: 1 !important; background: rgba(16,185,129,0.3); border-color: #059669; box-shadow: 0 0 0 4px rgba(52,211,153,0.25); }
.cevap-btn.yanlis-sik { opacity: 1 !important; background: rgba(244,63,94,0.28); border-color: #e11d48; box-shadow: 0 0 0 4px rgba(251,113,133,0.25); }

/* ---- Ayarlar: ses seviyesi ---- */
.ses-ayari { flex-direction: column; align-items: stretch; gap: 0.75rem; }
.ses-ayari-ust { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
#ses-yuzde { font-weight: 900; color: #f2724f; font-size: 1.125rem; min-width: 3.5rem; text-align: right; }
.ses-satiri { display: flex; align-items: center; gap: 0.75rem; }
.ses-satiri span { font-size: 1.25rem; }
#ses-seviyesi {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 0.6rem;
  border-radius: 9999px;
  background: linear-gradient(to right, #fb9a7a 0%, #fb9a7a var(--dolu, 70%), #fbd3bf var(--dolu, 70%), #fbd3bf 100%);
  outline: none;
  cursor: pointer;
}
#ses-seviyesi::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: #fffaf7;
  border: 3px solid #fb9a7a;
  box-shadow: 0 2px 8px rgba(158, 78, 55, 0.175);
}
#ses-seviyesi::-moz-range-thumb {
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: #fffaf7;
  border: 3px solid #fb9a7a;
}

/* Modal küçük ekranda kaydırılabilir */
.modal-content { max-height: calc(100vh - 2rem); overflow-y: auto; }

/* Tablet/telefon: geri bildirim alanı iki satıra kadar */
@media (max-width: 1023px) {
  #game-screen > div:nth-child(2) { height: 4rem; min-height: 4rem !important; max-height: 4rem !important; }
  #feedback-msg { white-space: normal !important; }
}

/* Telefon */
@media (max-width: 639px) {
  #game-screen > div:nth-child(2) { height: 4rem; min-height: 4rem !important; max-height: 4rem !important; padding: 0 0.25rem; }
  #feedback-msg { font-size: clamp(1.15rem, 6.2vw, 1.6rem) !important; line-height: 1.15 !important; }
  #dinleme-sahnesi { padding: 1.9rem 0.5rem 1.5rem; gap: 1.6rem; }
  .nota-daire { width: clamp(5.2rem, 28vw, 7.25rem); height: clamp(5.2rem, 28vw, 7.25rem); font-size: clamp(2.3rem, 11vw, 3.1rem); border-width: 3px; }
  .nota-daire.adli { font-size: clamp(1.25rem, 6.2vw, 1.75rem); }
  .nota-daire.adli.uzun { font-size: clamp(0.92rem, 4.5vw, 1.25rem); }
  .nota-etiket { font-size: 1rem; }
  .nota-ok { font-size: 1.9rem; min-width: 1.9rem; }
  .cevap-btn { font-size: clamp(1.05rem, 5.4vw, 1.4rem); padding: 1rem 0.3rem; gap: 0.35rem; border-radius: 0.85rem; }
}

/* Çok dar ekranlarda ayarlar penceresi */
@media (max-width: 400px) {
  .modal-content { padding: 1rem; gap: 1rem; }
  .setting-item { padding: 0.75rem; gap: 0.5rem; }
  #delay-display-val { white-space: nowrap; }
}

/* Sorunun ilk dinlemesi: "Dinle" butonu öne çıkar */
#tekrar-dinle-btn.ilk-dinleme {
  background: linear-gradient(to right, #fb7185, #fb9a7a);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0.5rem 1.5rem rgba(249, 115, 98, 0.4);
  animation: dinleNabiz 1.6s ease-in-out infinite;
}
#tekrar-dinle-btn.ilk-dinleme:hover { filter: brightness(1.05); }
#tekrar-dinle-btn.ilk-dinleme:disabled { animation: none; opacity: 0.7; }
@keyframes dinleNabiz {
  0%, 100% { box-shadow: 0 0.5rem 1.5rem rgba(249, 115, 98, 0.4), 0 0 0 0 rgba(249, 115, 98, 0.45); }
  50%      { box-shadow: 0 0.5rem 1.5rem rgba(249, 115, 98, 0.4), 0 0 0 10px rgba(249, 115, 98, 0.0); }
}

/* =====================================================================
   SABİT YERLEŞİM: hiçbir öğe değişirken diğerlerini itmez
   ===================================================================== */
/* Kaydırma çubuğu yeri hep ayrılır: tam ekrana geçince genişlik değişmez */
html { scrollbar-gutter: stable; background-color: #ffeae0; }
/* "Seçildi" rozeti gizlenince yeri korunur */
.gorunmez { visibility: hidden !important; }
/* İpucu yazısı iki satırlık sabit yer kaplar */
.dinle-ipucu {
  min-height: 2.5em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Puan kartları: rakam değişince (0→1→10) genişlik/yükseklik değişmez */
.score-card, #final-p1-score, #final-p2-score, #question-count { font-variant-numeric: tabular-nums; }
@media (max-width: 1023px) {
  .mobile-scores-wrapper .score-card { height: 3.6rem; min-width: 0; }
  .mobile-scores-wrapper .mob-p1-title-text,
  .mobile-scores-wrapper .mob-p2-title-text {
    white-space: nowrap;
    font-size: clamp(0.78rem, 3.7vw, 1rem) !important;
  }
}
/* Telefonda alt bilgi kartın dışına taşmaz */
@media (max-width: 639px) {
  #game-footer { padding: 0.6rem 0.5rem; }
  #game-footer > div { gap: 0.5rem !important; }
  #game-footer > div > div { flex-wrap: wrap; justify-content: center; gap: 0.35rem !important; }
  #game-footer span { font-size: clamp(0.72rem, 3.6vw, 0.9rem) !important; }
}

#ses-seviyesi::-webkit-slider-thumb, #ses-seviyesi::-moz-range-thumb { background: #ffffff !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="ik1"]:not(#_#_#_#_#_) { font-size: 1.125rem; }  /* span */
[data-st="ik2"]:not(#_#_#_#_#_) { display: flex; align-items: center; gap: 0.75rem; }  /* div */
[data-st="ik3"]:not(#_#_#_#_#_) { font-size: 1.5rem; }  /* span */
[data-st="ik4"]:not(#_#_#_#_#_) { font-size: 1.5rem; font-weight: 900; color: #4a2a1f; }  /* h3 */
[data-st="ik5"]:not(#_#_#_#_#_) { display: flex; flex-direction: column; gap: 1rem; }  /* div */
[data-st="ik6"]:not(#_#_#_#_#_) { display: flex; flex-direction: column; }  /* div */
[data-st="ik7"]:not(#_#_#_#_#_) { font-weight: 800; color: #4a2a1f; font-size: 1rem; }  /* span */
[data-st="ik8"]:not(#_#_#_#_#_) { font-size: 0.75rem; color: #93685a; }  /* span */
[data-st="ik9"]:not(#_#_#_#_#_) { display: flex; align-items: center; gap: 0.5rem; background: #fffaf7; border: 1px solid #fbd3bf; padding: 0.375rem; border-radius: 0.75rem; }  /* div */
[data-st="ik10"]:not(#_#_#_#_#_) { width: 2rem; height: 2rem; border-radius: 0.5rem; background: #ffefe6; color: #4a2a1f; font-weight: 900; font-size: 1.125rem; border: none; cursor: pointer; }  /* button */
[data-st="ik11"]:not(#_#_#_#_#_) { padding: 0 0.5rem; font-weight: 900; color: #f2724f; font-size: 1.125rem; min-width: 2.5rem; text-align: center; }  /* span#delay-display-val */
[data-st="ik12"]:not(#_#_#_#_#_) { width: 100%; padding: 0.875rem; background: rgba(225, 29, 72, 0.9); border: 1px solid #f43f5e; color: #ffffff; 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="ik13"]:not(#_#_#_#_#_) { width: 100%; padding: 0.75rem; background: #ffefe6; color: #5c3a2e; font-weight: 700; font-size: 1rem; border-radius: 0.75rem; border: none; cursor: pointer; }  /* button */
[data-st="ik14"]: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="ik15"]:not(#_#_#_#_#_) { width: 4.5rem; height: 4.5rem; background: rgba(253, 202, 184, 0.2); border-radius: 9999px; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(251, 154, 122, 0.4); font-size: 2.5rem; margin-bottom: 0.5rem; box-shadow: 0 25px 50px -12px rgba(158, 78, 55, 0.087); }  /* div#start-screen-logo-container */
[data-st="ik16"]:not(#_#_#_#_#_) { font-size: 2.8rem; font-weight: 900; margin-bottom: 0.3rem; color: #4a2a1f; letter-spacing: -0.025em; }  /* h2#start-screen-title */
[data-st="ik17"]:not(#_#_#_#_#_) { color: #764f42; max-width: 46rem; font-size: 1.35rem; margin-bottom: 1rem; line-height: 1.4; font-weight: 600; }  /* p#start-screen-subtitle */
[data-st="ik18"]:not(#_#_#_#_#_) { display: flex; align-items: center; justify-content: space-between; width: 100%; }  /* div */
[data-st="ik19"]:not(#_#_#_#_#_) { font-size: 1.75rem; }  /* span */
[data-st="ik20"]:not(#_#_#_#_#_) { color: #ffffff; }  /* span#badge-single */
[data-st="ik21"]:not(#_#_#_#_#_) { font-size: 1.4rem; font-weight: 900; color: #278677; }  /* div */
[data-st="ik22"]:not(#_#_#_#_#_) { font-size: 0.95rem; color: #764f42; font-weight: 600; }  /* div */
[data-st="ik23"]:not(#_#_#_#_#_) { background: #f97362; color: #ffffff; }  /* span#badge-team */
[data-st="ik24"]:not(#_#_#_#_#_) { font-size: 1.4rem; font-weight: 900; color: #bc594b; }  /* div */
[data-st="ik25"]:not(#_#_#_#_#_) { background: rgba(255, 240, 234, 0.6); border: 2px solid rgba(251, 154, 122, 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(158, 78, 55, 0.035); backdrop-filter: blur(12px); }  /* div#start-screen-credits */
[data-st="ik26"]:not(#_#_#_#_#_) { display: flex; flex-direction: column; gap: 0.5rem; font-size: 1.15rem; }  /* div#start-screen-credits-content */
[data-st="ik27"]:not(#_#_#_#_#_) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; }  /* div */
[data-st="ik28"]:not(#_#_#_#_#_) { color: #f2724f; font-weight: 800; }  /* span */
[data-st="ik29"]:not(#_#_#_#_#_) { color: #4a2a1f; font-weight: 900; }  /* span */
[data-st="ik30"]:not(#_#_#_#_#_) { height: 1px; background: rgba(251, 154, 122, 0.3); width: 70%; margin: 0.2rem auto; }  /* div */
[data-st="ik31"]:not(#_#_#_#_#_) { color: #f97362; font-weight: 800; }  /* span */
[data-st="ik32"]:not(#_#_#_#_#_) { padding: 1rem 3.25rem; background: linear-gradient(to right, #fb7185, #f2724f, #fdba74); color: #ffffff; font-weight: 900; font-size: 1.45rem; border-radius: 1rem; box-shadow: 0 0.5rem 1.5rem rgba(253, 202, 184, 0.5); border: none; cursor: pointer; transition: all 0.2s; }  /* button#start-game-btn */
[data-st="ik33"]:not(#_#_#_#_#_) { width: 100%; flex-direction: column; align-items: center; gap: 0.4rem; margin: auto; }  /* div#game-screen */
[data-st="ik34"]:not(#_#_#_#_#_) { width: 100%; display: flex; align-items: center; justify-content: space-between; background: rgba(255, 239, 230, 0.7); padding: 0.75rem 1.5rem; border-radius: 0 0 1rem 1rem; border-bottom: 1px solid #ffefe6; border-left: 1px solid #ffefe6; border-right: 1px solid #ffefe6; border-top: none; box-shadow: 0 10px 15px -3px rgba(158, 78, 55, 0.035); }  /* div */
[data-st="ik35"]:not(#_#_#_#_#_) { font-size: 1.25rem; color: #5c3a2e; font-weight: 700; }  /* span#question-count */
[data-st="ik36"]: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="ik37"]:not(#_#_#_#_#_) { width: 1rem; height: 1rem; border-radius: 9999px; background-color: var(--color-p1); }  /* div */
[data-st="ik38"]:not(#_#_#_#_#_) { text-align: center; }  /* div */
[data-st="ik39"]:not(#_#_#_#_#_) { font-size: 1rem; color: #764f42; font-weight: 900; }  /* div */
[data-st="ik40"]:not(#_#_#_#_#_) { font-size: 1.5rem; font-weight: 900; color: var(--color-p1); }  /* div */
[data-st="ik41"]:not(#_#_#_#_#_) { opacity: 0.5; }  /* div#mob-p2-score-card */
[data-st="ik42"]:not(#_#_#_#_#_) { width: 1rem; height: 1rem; border-radius: 9999px; background-color: var(--color-p2); }  /* div */
[data-st="ik43"]:not(#_#_#_#_#_) { font-size: 1.5rem; font-weight: 900; color: var(--color-p2); }  /* div */
[data-st="ik44"]:not(#_#_#_#_#_) { width: 1.25rem; height: 1.25rem; border-radius: 9999px; background-color: var(--color-p1); }  /* div */
[data-st="ik45"]:not(#_#_#_#_#_) { font-size: 1.15rem; color: #764f42; font-weight: 900; letter-spacing: 0.05em; }  /* div#p1-title */
[data-st="ik46"]:not(#_#_#_#_#_) { font-weight: 900; color: var(--color-p1); line-height: 1.2; }  /* div */
[data-st="ik47"]:not(#_#_#_#_#_) { font-size: 0.95rem; color: #93685a; font-weight: 500; }  /* div#p1-subtitle */
[data-st="ik48"]:not(#_#_#_#_#_) { width: 1.25rem; height: 1.25rem; border-radius: 9999px; background-color: var(--color-p2); }  /* div */
[data-st="ik49"]:not(#_#_#_#_#_) { font-weight: 900; color: var(--color-p2); line-height: 1.2; }  /* div */
[data-st="ik50"]: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="ik51"]:not(#_#_#_#_#_) { font-size: 4.5rem; margin-bottom: 1.5rem; animation: bounce 1s infinite; }  /* div#winner-icon */
[data-st="ik52"]:not(#_#_#_#_#_) { font-size: 2.5rem; font-weight: 900; margin-bottom: 0.75rem; color: #4a2a1f; }  /* h2#winner-title */
[data-st="ik53"]:not(#_#_#_#_#_) { color: #764f42; font-size: 1.25rem; margin-bottom: 2rem; font-weight: 500; }  /* p#winner-subtitle */
[data-st="ik54"]:not(#_#_#_#_#_) { width: 100%; background: rgba(255, 239, 230, 0.8); border: 2px solid #ffefe6; 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(158, 78, 55, 0.087); }  /* div */
[data-st="ik55"]:not(#_#_#_#_#_) { text-align: center; flex: 1; }  /* div */
[data-st="ik56"]:not(#_#_#_#_#_) { font-size: 1.25rem; color: #764f42; font-weight: 900; margin-bottom: 0.5rem; }  /* div#final-p1-title */
[data-st="ik57"]:not(#_#_#_#_#_) { font-size: 2.5rem; font-weight: 900; color: var(--color-p1); }  /* div#final-p1-score */
[data-st="ik58"]:not(#_#_#_#_#_) { height: 4rem; width: 1px; background: #ffefe6; margin: 0 0.5rem; }  /* div */
[data-st="ik59"]:not(#_#_#_#_#_) { font-size: 2.5rem; font-weight: 900; color: var(--color-p2); }  /* div#final-p2-score */
[data-st="ik60"]:not(#_#_#_#_#_) { display: flex; gap: 0.75rem; width: 100%; }  /* div */
[data-st="ik61"]:not(#_#_#_#_#_) { flex: 1; padding: 1.25rem; background: linear-gradient(to right, #f2724f, #fdba74); color: #ffffff; font-weight: 900; font-size: 1.25rem; border-radius: 1rem; border: none; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(158, 78, 55, 0.035); }  /* button */
[data-st="ik62"]:not(#_#_#_#_#_) { flex: 1; padding: 1.25rem; background: #ffefe6; border: 2px solid #fbd3bf; color: #4a2a1f; font-weight: 900; font-size: 1.25rem; border-radius: 1rem; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(158, 78, 55, 0.035); }  /* button */
[data-st="ik63"]:not(#_#_#_#_#_) { display: flex; align-items: center; justify-content: center; gap: 1rem; font-weight: 700; flex-wrap: wrap; }  /* div */
[data-st="ik64"]:not(#_#_#_#_#_) { display: flex; align-items: center; gap: 0.5rem; }  /* div */
[data-st="ik65"]:not(#_#_#_#_#_) { color: #f2724f; font-weight: 800; font-size: 0.9rem; white-space: nowrap; }  /* span */
[data-st="ik66"]:not(#_#_#_#_#_) { color: #4a2a1f; font-size: 0.9rem; font-weight: 900; background: rgba(220, 240, 235, 0.7); padding: 0.35rem 0.85rem; border-radius: 0.5rem; border: 1px solid rgba(251, 154, 122, 0.4); white-space: nowrap; }  /* span */
[data-st="ik67"]:not(#_#_#_#_#_) { color: rgba(251, 154, 122, 0.5); font-size: 1.25rem; }  /* span */
[data-st="ik68"]:not(#_#_#_#_#_) { color: #f97362; font-weight: 800; font-size: 0.9rem; white-space: nowrap; }  /* span */
[data-st="ik69"]:not(#_#_#_#_#_) { color: #4a2a1f; font-size: 0.9rem; font-weight: 900; background: rgba(254, 230, 225, 0.7); padding: 0.35rem 0.85rem; border-radius: 0.5rem; border: 1px solid rgba(249, 115, 98, 0.4); white-space: nowrap; }  /* span */
