
      :root {--bg-color: #f0f0f0;
             --container-prim: #0a0a0a; 
             --container-sec: #1a1a1a;  
             --bg-screen: #fff;
             --box-shadow: 0 15px 35px rgba(0,0,0,0.4);
             --shadow-light: rgba(255, 255, 255, 0.12); 
             --shadow-dark: rgba(0, 0, 0, 0.85);       
             --shadow-deep: rgba(0, 0, 0, 0.95);  
             --border: #333;
      }
      [data-theme="dark"] {--bg-color: #202020;
             --container-prim: #000000;
             --container-sec: #111111;
             --bg-screen: #fff;
             --shadow-light: rgba(255, 255, 255, 0.08);
             --shadow-dark: rgba(0, 0, 0, 0.9);
             --shadow-deep: rgba(0, 0, 0, 1);
             --border: #222;
             --box-shadow: 0 15px 35px rgba(0,0,0,0.6);
             }
      
    [data-theme="dark"] body {
      background-image: none;
    }
      
        /* --- GENEL AYARLAR --- */
      body {
        background-color: var(--bg-color);
        background-image: radial-gradient(circle at 30% 30%, #e0e0e0 0%, #c0c0c0 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        margin: 0;
        user-select: none;
        
      }

      /* --- MOBİL --- */
      .ipod-container {
        width: 300px;
        height: 500px;
        background: linear-gradient(135deg, var(--container-prim) 0%, var(--container-sec) 100%);
        border-radius: 45px;
        border: none;
        
        box-shadow:
        15px 15px 40px var(--shadow-dark),
        -5px -5px 20px rgba(255, 255, 255, 0.05), 
        
        inset 2px 2px 6px var(--shadow-light),
        inset -2px -2px 6px var(--shadow-deep),
        inset 0 0 25px rgba(0, 0, 0, 0.6);
        
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 22px;
        position: relative;
        transition: all 0.3s ease;
      }

      
      .ipod-container::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        border-radius: 45px;
        box-shadow:
        15px 15px 40px var(--shadow-dark),
        -5px -5px 20px rgba(255, 255, 255, 0.05), 
        
        inset 2px 2px 6px var(--shadow-light),
        inset -2px -2px 6px var(--shadow-deep),
        inset 0 0 25px rgba(0, 0, 0, 0.6);
        
        pointer-events: none;
        z-index: 1;
      }
      .screen {
        width: 240px;
        height: 200px;
        background-color: var(--bg-screen);
        border: 1px solid #333;
        border-radius: 12px;
        margin-bottom: 35px;
        overflow: hidden;
        position: relative;
        z-index: 2;
        box-shadow: 
        inset 0 0 15px rgba(0,0,0,0.4), 
        0 5px 15px rgba(0,0,0,0.4); 
      }

     

      .click-wheel {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: linear-gradient(145deg, #000000, #1a1a1a);
        border: 1px solid #111;
        position: relative;
        z-index: 2;
        box-shadow: 
        8px 8px 20px var(--shadow-dark),
        -4px -4px 10px rgba(255, 255, 255, 0.05),
        inset 2px 2px 5px var(--shadow-light),
        inset -2px -2px 5px var(--shadow-deep),
        inset 0 0 10px rgba(0, 0, 0, 0.8);
        touch-action: none;
      }
        
      
      .wheel-center {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--container-sec) 0%, var(--container-prim) 100%);
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border: 1px solid #000;
        box-shadow: 
        3px 3px 8px var(--shadow-dark),
        -2px -2px 5px rgba(255, 255, 255, 0.05),
        inset 1px 1px 2px var(--shadow-dark);
        cursor: pointer;
        z-index: 3;
      }

      /* Tekerlek basıldığında efekt */
      .wheel-center:active {
        transform: translate(-50%, -50%) scale(0.96);
        box-shadow: 
          inset 3px 3px 8px var(--shadow-deep),
          inset -2px -2px 5px rgba(255, 255, 255, 0.02),
          inset 0 0 10px rgba(0, 0, 0, 0.9);
      }
      
      .wheel-label {
        position: absolute;
        color: #555;
        font-size: 16px; 
        font-weight: bold;
        text-transform: uppercase;
        text-shadow: 0 1px 0 rgba(255,255,255,0.05);
      }
      [data-theme="dark"] .wheel-label { color: #777; }
      .lbl-menu { top: 20px; left: 50%; transform: translateX(-50%); }
      .lbl-prev { left: 20px; top: 50%; transform: translateY(-50%); }
      .lbl-next { right: 20px; top: 50%; transform: translateY(-50%); }
      .lbl-play { bottom: 20px; left: 50%; transform: translateX(-50%); }

      /* Liste ve Player Stilleri (Ortak) */
      .screen-header {
  background: #c0c0c0; 
  color: #333333;      
  padding: 3px 6px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 20px;
  border-bottom: 1px solid #999; 
  font-family: "Chicago", "Geneva", sans-serif;
  letter-spacing: -0.5px; 
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); 
}
      
      
      .battery-status-container {
  display: flex;
  align-items: center;
  gap: 2px; 
}
      
      .rotated-battery {
  font-size: 11px;
  line-height: 1;
  transform: rotate(90deg);
  transform-origin: center;
  display: inline-block;
  filter: grayscale(50%); 
}

.battery-text {
  font-family: "Chicago", "Geneva", sans-serif;
  font-weight: bold;
  font-size: 11px;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4); 
}

      .surah-list {
        list-style: none;
        padding: 0;
        margin: 0;
        height: 160px;
        overflow-y: auto;
        font-size: 13px;
      }

      .surah-item {
        padding: 5px 8px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
      }

      .surah-item.active {
        background-color: #007aff;
        color: white;
      }

      .player-view {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        text-align: center;
        background: #fff;
      }

      /* Player ekranındaki önceki/sonraki butonlarını gizle */
#btn-prev-track,
#btn-next-track {
  display: none !important;
}

      
      .now-playing-title {
        font-weight: bold;
        font-size: 14px;
        margin-bottom: 5px;
        padding: 0 10px;
      }

      .now-playing-reciter {
        font-size: 11px;
        color: #666;
        margin-bottom: 15px;
      }

      .progress-container {
        width: 70%;
        height: 5px;
        background: #eee;
        border-radius: 3px;
        margin: 10px 0;
        position: relative;
      }

      .progress-bar {
        width: 0%;
        height: 100%;
        background: #007aff;
        border-radius: 3px;
        transition: width 0.2s;
      }

      /* --- DURUM MESAJLARI --- */
      .status-msg {
        position: absolute;
        font-size: 12px;
        color: #888;
        white-space: nowrap;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 10;
        background: rgba(255,255,255,0.9);
        padding: 4px 8px;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
      }

      /* Farklı Mesaj Konumları */
      .msg-loading {
        top: 55%;
        left: 50%;
        transform: translateX(-50%);
      }

      .msg-player {
        top: 53.5%;
        right: 25px;
        left: auto;
        transform: translateY(-50%);
      }

      .msg-skip {
        top: 20%;
        right: 20px;
        left: auto;
        transform: translateY(-50%);
        font-weight: bold;
        color: var(--container-prim);
      }

      .msg-volume {
        top: 15%;
        left: 50%;
        transform: translateX(-50%);
        font-weight: bold;
        color: var(--container-prim);
      }

      .msg-repeat {
        top: 30%;
        right: 20px;
        left: auto;
        transform: translateY(-50%);
        color: var(--container-prim);
        font-weight: bold;
      }

      .msg-shuffle {
        top: 30%;
        right: 20px;
        left: auto;
        transform: translateY(-50%);
        color: var(--container-prim);
        font-weight: bold;
      }

      .msg-speed {
        top: 60%;
        left: 50%;
        transform: translateX(-50%);
        font-weight: bold;
        color: var(--container-prim);
      }

      .msg-info {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: bold;
      }
      
      [data-theme="dark"] .status-msg {
        color: #ccc;
        background: rgba(30,30,30,0.9);
        border: 1px solid #555;
      }
      


      /* --- AYARLAR BUTONLARI --- */
      .settings-btn {
        background: #343434;
        border: 1px solid #ccc;
        border-radius: 20px;
        padding: 5px;
        font-size: 12px;
        color: #fff;
        cursor: pointer;
        transition: all 0.2s;
        font-family: inherit;
      }
      
      .settings-btn:hover {
        background: #1a1a1a;
        border-color: #ccc;
      }


      [data-theme="dark"] .settings-btn {
        background: #343434;
        color: #fff;
        border-color: #ccc;
      }

      [data-theme="dark"] .settings-btn:hover {
        background: #1a1a1a;
      }
      
      #btn-theme i {
  margin-right: 6px;
}

/* --- AYARLAR GÖRÜNÜMÜ (Scrollable) --- */
#settings-view {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; 
  height: 100%;
  text-align: center;
  background: #fff;
  overflow-y: auto; 
  padding: 20px 10px;
  box-sizing: border-box;
}

/* Scrollbar stili */
#settings-view::-webkit-scrollbar {
  width: 6px;
}

#settings-view::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

#settings-view::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}



      /* --- MASAÜSTÜ --- */ 
      @media (min-width: 769px) {
        .ipod-container {
          width: 400px;
          height: 600px;
          border-radius: 40px;
          padding: 20px;
          
        }

        .screen {
          width: 340px;
          height: 300px;
          margin-bottom: 50px;
        }

        .click-wheel {
          width: 300px;
          height: 400px; 
          border-radius: 50%; 
        }

        .wheel-center {
          width: 120px;
          height: 120px;
        }

        .wheel-label {
          font-size: 18px; 
        }
        .lbl-menu { top: 35px; }
        .lbl-prev { left: 35px; }
        .lbl-next { right: 35px; }
        .lbl-play { bottom: 35px; }

        .surah-list {
          height: 260px;
          font-size: 14px;
        }

        .surah-item {
          padding: 6px 10px;
        }

        .now-playing-title {
          font-size: 25px;
        }

        .now-playing-reciter {
          font-size: 12px;
        }

        .progress-container {
          width: 80%;
          height: 6px;
        }
        
        #status-msg {
          font-size: 12px;
          right: 25px;
        }
        
        /* --- AYARLAR BUTONLARI --- */
      .settings-btn {
        border-radius: 20px;
        padding: 10px;
        font-size: 14px; }
      }

