/* ------------------ 基本設定 ------------------ */
body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Noto Serif JP", "Noto Serif SC", "Noto Sans SC", serif;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

/* ------------------ 日間模式 - 統一使用首頁背景樣式 ------------------ */
/* 背景由 homemode.css 控制，此處不覆蓋 */
body.day-mode {
  /* 背景由 homemode.css 統一控制 */
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
  color: #000000 !important;
}

/* 確保 html 也有白色背景 */
html.day-mode {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
}

/* 白色背景層 - 確保在最底層 */
html.day-mode::before {
  content: "";
  position: fixed !important;
  inset: 0 !important;
  background: #FFFFFF !important;
  z-index: -3 !important;
  pointer-events: none !important;
}

/* 覆蓋 home.css 中的深色背景設置（如果有的話） */
body.language-select-page.day-mode {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
}

html.language-select-page.day-mode {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
}

/* 更強制性的覆蓋，確保在所有情況下都是白色 */
body.language-select-page.day-mode,
html.language-select-page.day-mode body.day-mode {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  background-image: none !important;
}

body.day-mode .sun {
  opacity: 1; /* 顯示太陽 */
}

body.day-mode .stars {
  opacity: 0; /* 隱藏星星 */
}

/* ------------------ 夜間模式 - 統一使用首頁背景樣式 ------------------ */
/* 背景由 homemode.css 控制，此處不覆蓋 */
body.night-mode {
  position: relative;
  /* 背景由 homemode.css 統一控制 */
  color: #FFFFFF;
}

body.night-mode::after {
  /* 背景由 homemode.css 統一控制 */
  content: "";
  position: fixed;
  inset: 0;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

body.night-mode .sun {
  opacity: 0; /* 夜晚隱藏太陽 */
}

body.night-mode .stars {
  opacity: 1; /* 顯示星星 */
}

/* 六角形太陽粒子容器 */
.sun-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

/* 六角形樣式 */
.hex {
  position: absolute;
  background: rgba(255, 255, 180, 0.5); /* 淺黃色帶透明 */
  clip-path: polygon(
    50% 0%, 93% 25%, 93% 75%, 
    50% 100%, 7% 75%, 7% 25%
  );

  /* 六角形 */
  border-radius: 6px; /* 稍微圓角，看起來更柔和 */
  
  /* 光暈效果 */
  box-shadow: 0 0 15px rgba(255, 255, 200, 0.9),
              0 0 30px rgba(255, 255, 180, 0.6);

    animation: hexTwinkle infinite ease-in-out;

}

@keyframes hexTwinkle {
  0%   { opacity: 0.3; transform: scale(0.5); box-shadow: 0 0 1px 15px rgba(255, 255, 180, 0.7); }
  50%  { opacity: 1;   transform: scale(1.2); box-shadow: 0 0 3px 20px rgba(255, 255, 180, 0.5); }
  100% { opacity: 0.3; transform: scale(0.5); box-shadow: 0 0 1px 30px rgba(255, 255, 180, 0.2); }
}

/* 星星容器 */
.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

/* 星星 */
.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: twinkle infinite ease-in-out;
}

@keyframes twinkle {
  0%   { opacity: 0.3; transform: scale(0.5); box-shadow: 0 0 1px 0.5px #fff; }
  50%  { opacity: 1;   transform: scale(1.2); box-shadow: 0 0 3px 1.5px #fff; }
  100% { opacity: 0.3; transform: scale(0.5); box-shadow: 0 0 1px 0.5px #fff; }
}

/* ------------------ 容器 ------------------ */
.container {
  max-width: 1200px;
  width: 90%;
  min-height: 500px;
  padding: 40px 20px;
  border-radius: 0;
  box-shadow: none;
  margin: 20px auto;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  gap: 30px;
  text-align: center;
}

body.day-mode .container {
  background-color: transparent;
  border: none;
  box-shadow: none;
  /* 背景由 homemode.css 統一控制，與首頁一致 */
}

body.night-mode .container {
  background-color: transparent;
  border: none;
  box-shadow: none;
}

/* 內容區域背景框（不包含LOGO） */
.content-box {
  width: 100%;
  max-width: 500px;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0 auto;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  gap: 40px;
  text-align: center;
}

body.day-mode .content-box {
  background-color: transparent;
  border: none;
}

body.night-mode .content-box {
  background-color: transparent;
  border: none;
}

/* ------------------ LOGO ------------------ */
.logo {
  position: relative;
  width: 100%;
  margin-bottom: 0;
  z-index: 2;
  flex-shrink: 0;
}

.logo img {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: filter 0.3s ease;
  object-fit: contain;
}

/* 深色模式下 logo 改成白色 */
body.night-mode .logo img {
  filter: brightness(0) invert(1); /* 將 logo 變成白色 */
}

/* ------------------ 標題卡片 ------------------ */
.title-card {
  margin-bottom: 0;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ------------------ 標題文字 ------------------ */
.welcome {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: inherit;
  text-align: center;
  width: 100%;
  line-height: 1.2;
  letter-spacing: 0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-family: "Noto Serif JP", "Noto Serif SC", "Noto Sans SC", serif;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.subtitle {
  font-size: 24px;
  font-weight: 700;
  color: inherit;
  text-align: center;
  width: 100%;
  line-height: 1.4;
  letter-spacing: 0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-family: "Noto Serif JP", "Noto Serif SC", "Noto Sans SC", serif;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body.day-mode .welcome {
  color: #000000 !important;
}

body.day-mode .subtitle {
  color: #000000 !important;
}

/* ------------------ 語言選擇下拉選單 ------------------ */
.custom-select {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  cursor: pointer;
  user-select: none;
  position: relative;
  border-radius: 15px;
  border: 2px solid rgba(70, 86, 92, 0.5);
  background-color: #FFFFFF;
  box-sizing: border-box;
  z-index: 100;
}

.custom-select:focus-within {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.select-wrapper {
  position: relative;
}

.selected {
  padding: 12px 40px 12px 20px;
  font-size: 18px;
  text-align: center;
  color: #46565C;
  position: relative;
  z-index: 2;
  border-bottom: none;
  font-family: "Noto Serif JP", "Noto Serif SC", "Noto Sans SC", serif;
  font-weight: 600;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: nowrap;
}

body.day-mode .selected {
  color: #000000 !important;
}

/* 箭頭 */
.selected::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 15px solid #46565C;
  pointer-events: none;
  z-index: 3;
  transition: transform 0.3s ease;
}

body.day-mode .selected::after {
  border-top-color: #000000 !important;
}

.custom-select:focus-within .selected::after {
  transform: translateY(-50%) rotate(180deg);
}

.options {
  display: none;
  flex-direction: column;
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  border: 2px solid rgba(70, 86, 92, 0.5);
  border-top: none;
  border-radius: 0 0 15px 15px;
  z-index: 101;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-height: 300px;
  overflow-y: auto;
  box-sizing: border-box;
}

.options.show {
  display: flex;
}

.option {
  font-size: 18px;
  padding: 12px 20px;
  text-align: center;
  color: #46565C;
  cursor: pointer;
  font-family: "Noto Serif JP", "Noto Serif SC", "Noto Sans SC", serif;
  font-weight: 600;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(70, 86, 92, 0.1);
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-wrap: break-word;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.day-mode .option {
  color: #000000 !important;
}

.option:last-child {
  border-bottom: none;
}

.option:hover {
  background-color: rgba(70, 86, 92, 0.1);
}

/* 夜間模式：語言選擇下拉選單 */
body.night-mode .custom-select {
  border: 2px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(70, 86, 92, 0.3);
}

body.night-mode .selected {
  color: #FDFCFA;
}

body.night-mode .selected::after {
  border-top-color: #FDFCFA;
}

body.night-mode .options {
  background-color: rgba(70, 86, 92, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: none;
}

body.night-mode .option {
  color: #FDFCFA;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.night-mode .option:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ------------------ 简体中文對齊優化 ------------------ */
/* 確保简体中文文字正確對齊 */
[lang="zh-CN"],
[data-lang="zh-CN"],
.option[data-value="zh-CN"],
.selected[data-value="zh-CN"] {
  font-family: "Noto Sans SC", "Noto Serif SC", "Noto Serif JP", serif;
  text-align: center;
  letter-spacing: 0.01em;
  word-spacing: 0.05em;
}

/* 简体中文標題對齊 */
.welcome:lang(zh-CN),
.subtitle:lang(zh-CN) {
  font-family: "Noto Sans SC", "Noto Serif SC", "Noto Serif JP", serif;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ------------------ 確定按鈕 ------------------ */
.confirm-btn {
  position: relative;
  width: 180px;
  height: 70px;
  margin: 0 auto;
  cursor: pointer;
  z-index: 50;
}

.confirm-btn .btn-backdrop {
  position: absolute;
  inset: 0;
  background: #FFFFFF;
  border-radius: 50px;
  border: 3px solid #46565C;
}

body.night-mode .confirm-btn .btn-backdrop {
  border-color: #FDFCFA;
}

.confirm-btn .btn-front {
  position: absolute;
  inset: 5px;
  background: #46565C;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  font-family: "Noto Serif JP", "Noto Serif SC", "Noto Sans SC", serif;
  transition: background 0.3s, color 0.3s;
}

body.night-mode .confirm-btn .btn-front {
  background: #FDFCFA;
  color: #42588A;
}

.confirm-btn:hover .btn-front {
  transform: scale(0.98);
}

/* ------------------ 日夜滑塊 - 與首頁一致 ------------------ */
.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0;
  height: 40px;
  position: relative;
}

.toggle-container {
  position: relative;
  --toggle-width: 80px;
  --toggle-height: 20px; /* 軌道高度：細細的 */
  --circle-size: 40px; /* 按鈕大小：比軌道大 */
  --toggle-border: 3px;
  width: var(--toggle-width);
  height: var(--toggle-height);
  cursor: pointer;
  z-index: 2;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center; /* 垂直居中對齊 */
}

/* Tooltip 提示 - 顯示在下方 */
.toggle-container::before {
  content: '點擊切換主題色';
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.toggle-container::after {
  content: '';
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.8); /* 改為向下指 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.toggle-container:hover::before,
.toggle-container:hover::after {
  opacity: 1;
}

/* 日間模式：左側淺灰軌道（按鈕下方），右側深藍灰軌道 */
.toggle-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #D0D0D0 0%, #D0D0D0 var(--circle-size), #46565C var(--circle-size), #46565C 100%); /* 左側淺灰，右側深灰 */
  border: none; /* 移除邊框，軌道更細 */
  border-radius: 12px; /* 圓角稍微小一點 */
  transition: background 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.toggle-circle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(0); /* 垂直居中，水平從左開始，不旋轉 */
  width: var(--circle-size);
  height: var(--circle-size);
  background: #FAFAFA; /* 灰白色按鈕（日間模式，更白一點） */
  border: 2px solid #46565C; /* 添加深色邊框以增加對比度 */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  z-index: 1; /* 確保按鈕在軌道上方 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加陰影以增加立體感 */
}

/* 夜間模式：右側深藍灰按鈕，左側淺灰軌道 */
.toggle-container.night .toggle-bg {
  background: linear-gradient(to right, #D0D0D0 0%, #D0D0D0 calc(100% - var(--circle-size)), #FDFCFA calc(100% - var(--circle-size)), #FDFCFA 100%); /* 左側淺灰，右側淺灰（被按鈕覆蓋） */
  border: none; /* 移除邊框 */
}

.toggle-container.night .toggle-circle {
  transform: translateY(-50%) translateX(calc(var(--toggle-width) - var(--circle-size))); /* 垂直居中，水平移到右側，不旋轉 */
  background: #29304C; /* 深藍灰色按鈕（夜間模式） */
  border: none; /* 移除外圍邊框 */
}

.toggle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  display: none;
  pointer-events: none;
}

.toggle-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 日間圖標：黑色太陽 */
.day-icon {
  display: flex;
}

.day-icon svg path {
  stroke: #46565C; /* 黑色太陽（在白色背景上） */
  fill: none;
}

/* 夜間圖標：白色月亮和星星 */
.night-icon {
  display: none;
}

.toggle-container.night .day-icon {
  display: none;
}

.toggle-container.night .night-icon {
  display: flex;
}

/* 夜間模式 icon 容器 */
.toggle-container.night .night-icon .night-icon-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 彎月（位置在左下角） */
.toggle-container.night .night-icon .crescent {
  width: 22px; /* 從 18px 增加到 22px */
  height: 22px; /* 從 18px 增加到 22px */
  background-color: #ffffff;
  border-radius: 50%;
  position: absolute;
  bottom: 8px; /* 在底部 */
  left: 6px; /* 更靠左 */
  transform: rotate(0deg); /* 不旋轉 */
}

.toggle-container.night .night-icon .crescent::after {
  content: "";
  width: 17px; /* 從 14px 增加到 17px */
  height: 17px; /* 從 14px 增加到 17px */
  background-color: #29304C; /* 與按鈕背景同色，創建新月效果 */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 4px; /* 控制彎月厚度，凹面朝左 */
  transform: translateY(-50%);
}

/* 十字星星（橫豎交叉） */
.toggle-container.night .night-icon .dot-star {
  width: 6px; /* 橫條寬度：從 4px 增加到 6px */
  height: 1.5px; /* 橫條高度：從 1px 增加到 1.5px */
  background-color: #ffffff;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

/* 十字星星的豎條 */
.toggle-container.night .night-icon .dot-star::before {
  content: "";
  position: absolute;
  width: 1.5px; /* 豎條寬度：從 1px 增加到 1.5px */
  height: 6px; /* 豎條高度：從 4px 增加到 6px */
  background-color: #ffffff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 第一顆星星（在月亮右上方） */
.toggle-container.night .night-icon .dot-star-1 {
  top: 6px; /* 在月亮上方 */
  left: 20px; /* 在月亮右側 */
}

/* 第二顆星星（在第一顆星星右側，稍微下方） */
.toggle-container.night .night-icon .dot-star-2 {
  top: 12px; /* 稍微下方，與第一顆星星錯開 */
  left: 26px; /* 在第一顆星星右側 */
}

.toggle-container::after {
  content: '';
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.8); /* 改為向下指 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.toggle-container:hover::before,
.toggle-container:hover::after {
  opacity: 1;
}

/* 日間模式：左側淺灰軌道（按鈕下方），右側深藍灰軌道 */
.toggle-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #D0D0D0 0%, #D0D0D0 var(--circle-size), #46565C var(--circle-size), #46565C 100%); /* 左側淺灰，右側深灰 */
  border: none; /* 移除邊框，軌道更細 */
  border-radius: 12px; /* 圓角稍微小一點 */
  transition: background 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.toggle-circle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%) translateX(0); /* 垂直居中，水平從左開始，不旋轉 */
  width: var(--circle-size);
  height: var(--circle-size);
  background: #FAFAFA; /* 灰白色按鈕（日間模式，更白一點） */
  border: 2px solid #46565C; /* 添加深色邊框以增加對比度 */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: transform 0.2s ease, background 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  z-index: 1; /* 確保按鈕在軌道上方 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加陰影以增加立體感 */
}

/* 夜間模式：右側深藍灰按鈕，左側淺灰軌道 */
.toggle-container.night .toggle-bg {
  background: linear-gradient(to right, #D0D0D0 0%, #D0D0D0 calc(100% - var(--circle-size)), #FDFCFA calc(100% - var(--circle-size)), #FDFCFA 100%); /* 左側淺灰，右側淺灰（被按鈕覆蓋） */
  border: none; /* 移除邊框 */
}

.toggle-container.night .toggle-circle {
  transform: translateY(-50%) translateX(calc(var(--toggle-width) - var(--circle-size))); /* 垂直居中，水平移到右側，不旋轉 */
  background: #29304C; /* 深藍灰色按鈕（夜間模式） */
  border: none; /* 移除外圍邊框 */
}

.toggle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  display: none;
  pointer-events: none;
}

.toggle-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* 日間圖標：黑色太陽 */
.day-icon {
  display: flex;
}

.day-icon svg path {
  stroke: #46565C; /* 黑色太陽（在白色背景上） */
  fill: none;
}

/* 夜間圖標：白色月亮和星星 */
.night-icon {
  display: none;
}

.toggle-container.night .day-icon {
  display: none;
}

.toggle-container.night .night-icon {
  display: flex;
}

/* 夜間模式 icon 容器 */
.toggle-container.night .night-icon .night-icon-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 彎月（位置在左下角） */
.toggle-container.night .night-icon .crescent {
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  border-radius: 50%;
  position: absolute;
  bottom: 15px; /* 在底部 */
  left: 1.5px; /* 更靠左 */
  transform: rotate(deg); /* 不旋轉 */
}

.toggle-container.night .night-icon .crescent::after {
  content: "";
  width: 14px;
  height: 14px;
  background-color: #29304C; /* 與按鈕背景同色，創建新月效果 */
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 4px; /* 控制彎月厚度，凹面朝左 */
  transform: translateY(-5%);
}

/* 十字星星（橫豎交叉） */
.toggle-container.night .night-icon .dot-star {
  width: 6px; /* 橫條寬度：從 4px 增加到 6px */
  height: 1.5px; /* 橫條高度：從 1px 增加到 1.5px */
  background-color: #ffffff;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

/* 十字星星的豎條 */
.toggle-container.night .night-icon .dot-star::before {
  content: "";
  position: absolute;
  width: 5px; /* 豎條寬度：從 1px 增加到 1.5px */
  height: 10px; /* 豎條高度：從 4px 增加到 6px */
  background-color: #ffffff;
  top: 60%;
  left: 70%;
  transform: translate(-50%, -50%);
}

/* 第一顆星星（在月亮右上方） */
.toggle-container.night .night-icon .dot-star-1 {
  top: 4px; /* 在月亮上方 */
  left: 10px; /* 在月亮右側 */
}

/* 第二顆星星（在第一顆星星右側） */
.toggle-container.night .night-icon .dot-star-2 {
  top: 12px; /* 與第一顆星星同一水平線 */
  left: 20px; /* 在第一顆星星右側 */
}
  height: 1.5px; /* 橫條高度：從 1px 增加到 1.5px */
  background-color: #ffffff;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

/* 十字星星的豎條 */
.toggle-container.night .night-icon .dot-star::before {
  content: "";
  position: absolute;
  width: 5px; /* 豎條寬度：從 1px 增加到 1.5px */
  height: 10px; /* 豎條高度：從 4px 增加到 6px */
  background-color: #ffffff;
  top: 60%;
  left: 70%;
  transform: translate(-50%, -50%);
}

/* 第一顆星星（在月亮右上方） */
.toggle-container.night .night-icon .dot-star-1 {
  top: 4px; /* 在月亮上方 */
  left: 10px; /* 在月亮右側 */
}

/* 第二顆星星（在第一顆星星右側） */
.toggle-container.night .night-icon .dot-star-2 {
  top: 12px; /* 與第一顆星星同一水平線 */
  left: 20px; /* 在第一顆星星右側 */
}