@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');
:root{
  --bg:#f6f9fc;
  --card:#ffffff;
  --accent:#1976d2;
  --accent-2:#0b5ed7;
  --muted:#6b7280;
  --text:#111;
  --border:#e3eafc;
  --pad:14px;
  --radius:10px;
  --container-bg: linear-gradient(135deg, #e3eafc 0%, #f6f9fc 100%);
  --input-bg: #fff;
  --input-border: #edf2f7;
  --banner-bg: #fff3cd;
  --banner-border: #ffecb5;
  --banner-text: #664d03;
  --cal-cell-bg: #f9fbff;
  --cal-title-bg: #e8f1ff;
  --cal-title-text: #003d99;
  --btn-bg: #fff;
  --btn-text: #1976d2;
  --btn-border: #1976d2;
  --btn-hover-bg: #1976d2;
  --btn-hover-text: #fff;
  --btn-primary-text: #fff;
}

/* Avoid light flash on initial paint by matching background to theme early */
html{background:var(--bg); touch-action: manipulation;}
body{background:var(--bg); color:var(--text); touch-action: manipulation;} 

[data-theme="dark"] {
  --bg: #121212;
  --card: #1e1e1e;
  --accent: #64b5f6;
  --accent-2: #42a5f5;
  --muted: #a0a0a0;
  --text: #e0e0e0;
  --border: #333;
  --container-bg: linear-gradient(135deg, #1e1e1e 0%, #121212 100%);
  --input-bg: #2d2d2d;
  --input-border: #444;
  --banner-bg: #3e3005;
  --banner-border: #5c4b08;
  --banner-text: #ffe69c;
  --cal-cell-bg: #252525;
  --cal-title-bg: #333;
  --cal-title-text: #90caf9;
  --btn-bg: #2d2d2d;
  --btn-text: #64b5f6;
  --btn-border: #64b5f6;
  --btn-hover-bg: #64b5f6;
  --btn-hover-text: #121212;
  --btn-primary-text: #121212;
}

*{box-sizing:border-box}
html{height:100%}
body{min-height:100%;font-family:Inter,Segoe UI, Roboto, Arial, sans-serif; margin:0; background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased; transition: background 0.3s, color 0.3s; position:relative;}
.container{
  max-width:1400px;
  margin:38px auto;
  padding:32px 18px;
  background: var(--container-bg);
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  border: 1.5px solid var(--border);
  position: relative;
}
.card{background:var(--card);border-radius:var(--radius);box-shadow:0 6px 20px rgba(0,0,0,0.1);padding:var(--pad); color:var(--text);}

/* Login / Logout card special coloring */
#loginCard{
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(37,99,235,0.25);
}
#loginCard h3{color:#fff;}
#loginCard .muted{color: rgba(255,255,255,0.9);} 
#loginCard.logout-state {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  box-shadow: 0 10px 30px rgba(239,68,68,0.25);
  border-color: rgba(255,255,255,0.18);
}
/* 管理頁面帳號列表美化 */
.user-row {
  background: var(--card);
  border: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 18px 18px 12px 18px;
  transition: box-shadow .2s;
}
.user-row:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}
.user-row strong {
  font-size: 17px;
  overflow-wrap: anywhere;
  color: var(--text);
}
.user-row .muted {
  font-size: 14px;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.edit-form {
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin-top: 8px;
}
.edit-form input, .edit-form select {
  width: auto;
  min-width: 120px;
  margin-top: 0;
}
.edit-form button {
  min-width: 70px;
  width: auto;
  margin-top: 0;
}
.user-msg {
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
/* 返回按鈕美化 */
/* 統一主要操作按鈕樣式 */
.main-btn, .back-btn {
  background: var(--btn-bg);
  border: 2px solid var(--btn-border);
  color: var(--btn-text);
  border-radius: 999px;
  padding: 8px 22px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(25,118,210,0.07);
  transition: background .2s, color .2s, transform .18s;
  cursor: pointer;
}
.main-btn:hover, .back-btn:hover {
  background: var(--btn-hover-bg);
  color: var(--btn-hover-text);
  transform: translateY(-2px) scale(1.04);
}

/* Preview Button Custom Color */
.pv-btn {
  background: #10b981 !important; /* Emerald 500 */
  border-color: #10b981 !important;
  color: white !important;
}
.pv-btn:hover {
  background: #059669 !important; /* Emerald 600 */
  border-color: #059669 !important;
}

.brand{display:flex;align-items:center;gap:12px}
.brand h1{font-size:20px;margin:0}
.logo{width:40px;height:40px;border-radius:8px;background:linear-gradient(135deg,var(--accent),var(--accent-2));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700}
.form-center{max-width:460px;margin:18px auto}
form input, form button, form select, form textarea{width:100%;padding:12px;border:1px solid var(--input-border);border-radius:8px;margin-top:10px;background:var(--input-bg);color:var(--text)}
input:focus, textarea:focus, select:focus{outline:none;box-shadow:0 0 0 3px rgba(25,118,210,0.08);border-color:var(--accent-2)}
button.primary{background:var(--accent);color:var(--btn-primary-text);border:none;padding:12px 14px;cursor:pointer;border-radius:8px;font-weight:600}
button.ghost{background:transparent;border:1px solid var(--border);color:var(--accent);padding:10px;border-radius:8px}
.muted{color:var(--muted);font-size:13px}
#who {
  font-size: 16px;
  font-weight: 700;
  color: #1976d2;
  letter-spacing: 0.5px;
  display: inline-block;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.topbar .actions{display:flex;align-items:center;gap:10px}
.tasks-grid{display:grid;grid-template-columns:1fr;gap:18px}
.task{border-left:4px solid var(--accent);padding:12px;background:var(--card);border-radius:8px;margin-bottom:10px}
.task h4{margin:0 0 6px 0}
.task .meta{color:var(--muted);font-size:13px}
.admin-panel{margin-top:12px}
.footer{margin-top:28px;text-align:center;color:var(--muted);font-size:13px}
.date-badge{background:var(--cal-title-bg);color:var(--cal-title-text);padding:6px 10px;border-radius:999px;font-weight:600}
.empty{padding:18px;text-align:center;color:var(--muted)}

.banner{display:flex;gap:10px;align-items:center;padding:10px;border-radius:8px;background:var(--banner-bg);border:1px solid var(--banner-border);color:var(--banner-text);margin-bottom:12px}
.banner strong{color:var(--banner-text)}
.logo svg{width:100%;height:100%}

.easter-egg-btn{
  position:fixed;
  left:18px;
  bottom:18px;
  width:46px;
  height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  background:linear-gradient(135deg, rgba(30,41,59,0.92), rgba(15,23,42,0.96));
  color:#a5b4fc;
  box-shadow:0 8px 24px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.06);
  backdrop-filter:blur(6px);
  cursor:pointer;
  z-index:9998;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .18s ease, box-shadow .18s ease, color .18s ease;
}
.easter-egg-btn:hover{
  transform:translateY(-2px) scale(1.04);
  color:#e0e7ff;
  box-shadow:0 12px 28px rgba(99,102,241,0.22), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.easter-egg-btn span{font-size:20px;line-height:1;filter:drop-shadow(0 0 8px rgba(129,140,248,0.45));}

[data-theme="light"] .easter-egg-btn{
  background:linear-gradient(135deg, rgba(15,23,42,0.88), rgba(30,41,59,0.92));
  color:#c7d2fe;
}

/* Reserve space for chat dock so mobile scroll content isn't covered */
.has-chat { padding-bottom: 110px; }
@media (max-width: 640px) {
  .has-chat { padding-bottom: 200px !important; }
}

/* Make admin add-user form stack on mobile to avoid overflow */
@media (max-width: 640px) {
  #addUserForm { grid-template-columns: 1fr !important; }
}

/* 月曆樣式 - TimeTree Style */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0; /* Remove gap for continuous look */
  font-size: 12px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: var(--card);
}

.calendar-cell {
  background: var(--cal-cell-bg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  min-height: 100px;
  padding: 4px 0; /* Remove horizontal padding to allow full width bars */
  display: flex;
  flex-direction: column;
  position: relative;
}

.calendar-cell:hover {
  background: rgba(25, 118, 210, 0.04);
}

.calendar-cell.empty {
  background: var(--bg); /* Distinguish empty cells */
}

.calendar-cell.today {
  background: rgba(25, 118, 210, 0.08);
}

.calendar-cell.today .cal-day {
  color: var(--accent);
  background: rgba(25, 118, 210, 0.15);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-day {
  font-weight: 700;
  color: var(--text);
  font-size: 13px;
  margin-left: 6px;
  margin-bottom: 4px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

.cal-items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  position: relative;
}

.cal-badge {
  height: 20px;
  line-height: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 0 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.2s;
}

.cal-badge:hover {
  opacity: 0.9;
  z-index: 10;
}

/* Connector Styles */
.cal-badge.is-start {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  margin-left: 4px;
}

.cal-badge.is-end {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  margin-right: 4px;
}

.cal-badge.early { background: #e65100; }
.cal-badge.noon { background: #1565c0; }
.cal-badge.night { background: #6a1b9a; }

.cal-more {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  margin-left: 6px;
  margin-top: 2px;
  position: absolute;
  bottom: 2px;
}

/* 月曆詳情 Modal */
.hidden{display:none}
.cal-modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:9999}
.cal-modal.hidden{display:none}
.cal-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,0.45)}
.cal-modal-content{position:relative;z-index:1;background:var(--card);border-radius:14px;box-shadow:0 14px 38px rgba(0,0,0,0.18);padding:18px;max-width:520px;width:92%;max-height:80vh;overflow:auto; color:var(--text);}
.cal-modal-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.cal-modal-header h4{margin:0;font-size:18px;color:var(--accent)}
.cal-modal-close{background:transparent;border:none;font-size:20px;cursor:pointer;color:var(--muted);padding:4px 8px;border-radius:6px}
.cal-modal-close:hover{background:var(--bg)}
.cal-modal-list{display:flex;flex-direction:column;gap:10px;color:var(--text)}
.cal-modal-item{border:1px solid var(--border);border-radius:10px;padding:12px;background:var(--bg);color:var(--text); position: relative; overflow: hidden;}
.cal-modal-item.early { border-left: 5px solid #e65100; }
.cal-modal-item.noon { border-left: 5px solid #1565c0; }
.cal-modal-item.night { border-left: 5px solid #6a1b9a; }
.cal-modal-item h5{margin:0 0 6px 0;font-size:15px;color:var(--accent)}
.cal-modal-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:12px;color:var(--muted)}
.cal-meta-pill{background:var(--bg);color:var(--accent);padding:4px 8px;border-radius:999px;font-weight:600;border:1px solid var(--border)}
.cal-note{margin-top:6px;color:var(--text);font-size:13px;line-height:1.5}

/* 待辦事項與使用者列表溢出處理 */
.todo-item{min-width:0}
.todo-content{flex:1;min-width:0;overflow-wrap:anywhere}
.todo-details{min-width:0;overflow-wrap:anywhere}

#usersList .user-row>div:last-child{flex-wrap:wrap;gap:8px}
#usersList .user-row button{flex:1 0 auto}

/* Dark Mode Toggle Button */
.theme-toggle {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card);
  border: 2px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 99998;
  transition: transform 0.2s;
}
.theme-toggle:hover {
  transform: scale(1.05);
}

/* Fishing easter egg entry */
.fish-egg{
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99997;
  opacity: 0.65;
}
.fish-egg:hover{opacity:0.95}

/* 管理表單在小螢幕自動換行 */
@media(max-width:820px){
  #addUserForm{grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) !important}
}
@media(max-width:620px){
  #addUserForm{grid-template-columns:1fr !important}
  #who{max-width:100%}
  .calendar-cell{min-height:76px}
  .cal-badge.cal-title{font-size:11px}
}



@media(max-width:1200px){
  .main-grid{grid-template-columns:1fr !important}
}

@media(max-width:900px){
  .tasks-grid{grid-template-columns:1fr}
  .main-grid{grid-template-columns:1fr !important}
  .container{padding:12px;margin:12px}
  .topbar{flex-direction:column;gap:12px;align-items:flex-start}
  .topbar .actions{flex-wrap:wrap;width:100%}
  .card{padding:12px}
  form input, form button, form select, form textarea{font-size:16px}
  .todo-item{font-size:14px}
  button{padding:10px 14px !important;font-size:13px !important}
}

/* Teaching Page Styles */
.teach-grid{display:flex;flex-direction:column;gap:12px}
.breadcrumb{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;align-items:center; color: var(--text);}
.breadcrumb a{text-decoration:none;color:var(--accent);font-weight:600}
.teach-list{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.teach-item{
    border:1px solid var(--border);
    border-radius:10px;
    padding:10px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:8px;
    align-items:center;
    background:var(--card);
    color: var(--text);
}
.teach-item h4{margin:0;font-size:15px;overflow-wrap:anywhere; color: var(--text);}
.teach-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--muted)}
.teach-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.chip{background:var(--bg);color:var(--accent);padding:4px 8px;border-radius:8px;font-weight:600;font-size:12px; border: 1px solid var(--border);}

/* Modal Styles (Previewer) */
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.8);display:none;align-items:center;justify-content:center;z-index:9999;padding:0}
.modal{background:var(--card);border-radius:0;width:100%;height:100%;display:flex;flex-direction:column;box-shadow:0 12px 48px rgba(0,0,0,0.18);overflow:hidden}
.modal-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--border); background: var(--card); color: var(--text);}
.modal-body{flex:1;min-height:0;background:#111}
.modal-body iframe{border:0;width:100%;height:100%;background:#fff}
.close-btn{border:1px solid var(--border);padding:6px 12px;border-radius:8px;background:var(--bg);cursor:pointer;font-weight:600; color: var(--text);}

@media(max-width:640px){.teach-item{grid-template-columns:1fr;align-items:flex-start}.teach-actions{justify-content:flex-start}}

.admin-box {
  margin-bottom: 20px;
  background: var(--cal-cell-bg);
  border-radius: 12px;
  padding: 20px;
  border: 1.5px solid var(--border);
}
.admin-box h4 {
  margin-top: 0;
  color: var(--accent);
}

.form-box {
  background: var(--cal-cell-bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.form-box h4 {
  margin: 0 0 12px 0;
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 12px;
  color: var(--text);
}
.legend-early {
  background: #fff3e0;
  border-color: #ffe0b2;
  color: #e65100;
}
.legend-noon {
  background: #e3f2fd;
  border-color: #bbdefb;
  color: #1565c0;
}
.legend-night {
  background: #f3e5f5;
  border-color: #e1bee7;
  color: #6a1b9a;
}

[data-theme="dark"] .legend-early {
  background: #3e2723;
  border-color: #5d4037;
  color: #ffcc80;
}
[data-theme="dark"] .legend-noon {
  background: #0d47a1;
  border-color: #1565c0;
  color: #bbdefb;
}
[data-theme="dark"] .legend-night {
  background: #4a148c;
  border-color: #7b1fa2;
  color: #e1bee7;
}

/* Mobile Responsive Fixes */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

@media (max-width: 480px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  
  /* Ensure container doesn't overflow */
  .container {
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
  }
  
  /* Fix calendar card padding on mobile */
  .card {
    padding: 12px;
  }
}

/* ===== 釣魚遊戲彩色按鈕美化 ===== */

/* 主操作按鈕 - 釣魚 */
.fish-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: 2px solid #1d4ed8;
  color: #fff;
  border-radius: 12px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.fish-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.fish-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.fish-btn-primary:hover::before {
  left: 100%;
}

.fish-btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 功能按鈕 - 賣出、升級 */
.fish-btn-success {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  border: 2px solid #047857;
  color: #fff;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.fish-btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #065f46 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.fish-btn-success:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

/* 屬性按鈕 */
.fish-btn-attr {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  border: 2px solid #6d28d9;
  color: #fff;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(139, 92, 246, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.fish-btn-attr:hover:not(:disabled) {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.4);
}

.fish-btn-attr:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

/* 購買/升級按鈕 - 需要花費 */
.fish-btn-buy {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 2px solid #d97706;
  color: #fff;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.fish-btn-buy:hover:not(:disabled) {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

.fish-btn-buy:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

/* 特殊按鈕 - 重生、離線掛機 */
.fish-btn-special {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  border: 2px solid #be185d;
  color: #fff;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 3px 12px rgba(236, 72, 153, 0.3);
  transition: all 0.25s ease;
  cursor: pointer;
}

.fish-btn-special:hover:not(:disabled) {
  background: linear-gradient(135deg, #db2777 0%, #9d174d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.4);
}

.fish-btn-special:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.25);
}

/* 禁用狀態 */
.fish-btn-primary:disabled,
.fish-btn-success:disabled,
.fish-btn-attr:disabled,
.fish-btn-buy:disabled,
.fish-btn-special:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Dark mode 顏色調整 */
[data-theme="dark"] {
  --fish-blue: #60a5fa;
  --fish-green: #34d399;
  --fish-purple: #a78bfa;
  --fish-amber: #fbbf24;
  --fish-pink: #f472b6;
}

[data-theme="dark"] .fish-btn-primary {
  background: linear-gradient(135deg, #1e3a8a 0%, #0c4a6e 100%);
  border-color: #60a5fa;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
}

[data-theme="dark"] .fish-btn-success {
  background: linear-gradient(135deg, #064e3b 0%, #042f2e 100%);
  border-color: #34d399;
  box-shadow: 0 3px 12px rgba(52, 211, 153, 0.2);
}



