/* ===== テーマ切り替えシステム用CSS ===== */

/* SVG背景 */
.background-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.background-svg stop {
  transition: stop-color 0.5s ease;
}

/* テーマ切り替えパネル */
.theme-panel {
  position: fixed;
  bottom: 20px;
  right: 200px;
  background: var(--color-bg-elevated);
  padding: var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  z-index: 1000;
  border: 1px solid var(--color-border);
}

.theme-panel h4 {
  margin: 0 0 var(--space-sm) 0;
  font-size: var(--font-size-base);
  color: var(--color-fg);
  font-weight: 600;
}

.theme-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
}

.theme-btn {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-bg-elevated);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.theme-btn.active {
  border-color: var(--color-fg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* テーマカラーのグラデーション */
.theme-orange { background: linear-gradient(135deg, #FFB366, #FF8C42); }
.theme-blue { background: linear-gradient(135deg, #66B3FF, #4285FF); }
.theme-green { background: linear-gradient(135deg, #66FFB3, #42FF8C); }
.theme-purple { background: linear-gradient(135deg, #B366FF, #8542FF); }
.theme-pink { background: linear-gradient(135deg, #FF66B3, #FF4285); }
.theme-teal { background: linear-gradient(135deg, #66FFF0, #42FFE0); }

/* レスポンシブ対応 */
/* モバイルファースト: デフォルトはモバイル（〜767px） */
@media (max-width: 767px) {
  .theme-panel {
    bottom: 10px;
    right: 10px;
    padding: var(--space-sm);
  }
  
  .theme-panel h4 {
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
  }
  
  .theme-btn {
    width: 32px;
    height: 32px;
  }
}

