.member-dashboard-shell {
  padding: 40px 0 88px;
  background:
    radial-gradient(circle at top right, rgba(118, 196, 171, 0.18), transparent 24%),
    radial-gradient(circle at top left, rgba(255, 215, 109, 0.18), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #fffdf9 100%);
}

.member-topbar,
.member-roster-panel,
.member-spotlight-panel,
.member-mini-panel,
.member-interest-panel,
.member-recommend-panel,
.member-record-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e6eef4;
  box-shadow: 0 18px 42px rgba(25, 61, 92, 0.08);
}

.member-topbar,
.member-roster-panel,
.member-spotlight-panel,
.member-mini-panel,
.member-interest-panel,
.member-recommend-panel,
.member-record-panel {
  border-radius: 28px;
}

.member-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  padding: 26px 28px;
  margin-bottom: 20px;
}

.member-topbar-kicker,
.member-panel-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #6a8094;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.member-topbar-copy h1 {
  margin: 0 0 10px;
  color: #183047;
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  line-height: 1.2;
}

.member-topbar-copy p {
  margin: 0;
  color: #65798b;
  font-size: 1rem;
  line-height: 1.8;
}

.member-topbar-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.member-quick-action {
  display: block;
  padding: 16px 18px;
  border-radius: 20px;
  background: #f4f9fd;
  color: #183047;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.member-quick-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(30, 83, 129, 0.12);
}

.member-quick-action strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.member-quick-action span {
  color: #698094;
  font-size: 0.92rem;
  line-height: 1.7;
}

.member-quick-action.is-primary {
  background: linear-gradient(135deg, #1d6eb3 0%, #42b5c8 100%);
  color: #fff;
}

.member-quick-action.is-primary span {
  color: rgba(255, 255, 255, 0.84);
}

.member-roster-panel {
  padding: 22px 24px;
  margin-bottom: 20px;
}

.member-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.member-panel-head-tight {
  margin-bottom: 14px;
}

.member-panel-head h2,
.member-panel-head h3 {
  margin: 0;
  color: #183047;
  font-size: 1.4rem;
}

.member-panel-head a {
  color: #0d6efd;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.child-roster-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.child-roster-card {
  flex: 0 0 154px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid #e1ebf3;
  border-radius: 22px;
  background: #fff;
  padding: 16px 14px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.child-roster-card.is-active {
  border-color: #7cc3de;
  box-shadow: 0 14px 26px rgba(63, 139, 182, 0.14);
  transform: translateY(-2px);
}

.child-roster-card.add-card {
  border-style: dashed;
  background: #fafdfd;
}

.child-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #183047;
  font-weight: 700;
  font-size: 1.05rem;
}

.theme-sky { background: #d9efff; }
.theme-mint { background: #dff6ef; }
.theme-sun { background: #fff0c9; }
.theme-peach { background: #ffe3d6; }
.theme-add { background: #edf3f8; }

.child-roster-name {
  color: #1f3447;
  font-weight: 700;
  font-size: 1rem;
}

.child-roster-card small {
  color: #71879a;
  font-size: 0.84rem;
}

.member-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 20px;
}

.member-spotlight-panel,
.member-interest-panel,
.member-recommend-panel,
.member-record-panel {
  padding: 26px;
}

.member-side-column {
  display: grid;
  gap: 20px;
  align-self: start;
}

.member-mini-panel {
  padding: 22px 22px 20px;
}

.member-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 16px;
}

.spotlight-profile-card,
.spotlight-focus-card,
.mini-task-card,
.benefit-card,
.recommend-card,
.record-item {
  border-radius: 24px;
}

.spotlight-profile-card {
  padding: 22px;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
  border: 1px solid #deebf4;
}

.spotlight-profile-top,
.focus-chip-row,
.record-item {
  display: flex;
}

.spotlight-profile-top {
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.spotlight-profile-top h3,
.spotlight-focus-card h3,
.recommend-card h3 {
  margin: 0 0 6px;
  color: #163049;
  font-size: 1.1rem;
}

.spotlight-profile-top p,
.spotlight-focus-card p,
.recommend-card p,
.mini-task-card p,
.benefit-card p,
.record-item p {
  margin: 0;
  color: #667b8d;
  line-height: 1.75;
}

.spotlight-status {
  padding: 6px 10px;
  border-radius: 999px;
  background: #dff4ea;
  color: #267452;
  font-size: 0.78rem;
  font-weight: 700;
}

.spotlight-profile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spotlight-profile-list div {
  padding: 14px 14px 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #e7eef4;
}

.spotlight-profile-list span {
  display: block;
  margin-bottom: 4px;
  color: #7b90a2;
  font-size: 0.82rem;
}

.spotlight-profile-list strong {
  color: #183047;
  font-size: 0.96rem;
  line-height: 1.6;
}

.spotlight-focus-card {
  padding: 22px;
  background: linear-gradient(180deg, #fff8eb 0%, #fffdf7 100%);
  border: 1px solid #f0e1bd;
}

.focus-bullet-list {
  margin: 0 0 16px;
  padding-left: 1.1rem;
}

.focus-bullet-list li {
  margin-bottom: 0.7rem;
  color: #5f6f7c;
  line-height: 1.75;
}

.focus-chip-row {
  flex-wrap: wrap;
  gap: 8px;
}

.focus-chip,
.interest-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.focus-chip {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #efd9a1;
  color: #8a6724;
  font-size: 0.82rem;
}

.mini-task-list,
.benefit-stack {
  display: grid;
  gap: 12px;
}

.mini-task-card,
.benefit-card {
  padding: 16px 16px 14px;
}

.mini-task-card strong,
.benefit-card strong,
.record-item strong {
  display: block;
  margin-bottom: 6px;
  color: #173149;
  font-size: 0.98rem;
}

.mini-task-card.warning {
  background: #fff6df;
  border: 1px solid #f0dfab;
}

.mini-task-card.info {
  background: #edf7ff;
  border: 1px solid #d6e9f9;
}

.mini-task-card.success {
  background: #eaf8ef;
  border: 1px solid #d6eddc;
}

.benefit-card {
  background: #f7fbfd;
  border: 1px solid #e3edf4;
}

.interest-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interest-tag {
  padding: 11px 16px;
  border: 1px solid #d7e3ee;
  background: #fff;
  color: #587084;
  font-size: 0.9rem;
}

.interest-tag.is-active {
  border-color: #7bc9ca;
  background: #e4f8f5;
  color: #1f6f68;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.recommend-card {
  min-height: 220px;
  padding: 20px;
  color: #183047;
}

.recommend-card.article {
  background: linear-gradient(180deg, #eef8ff 0%, #ffffff 100%);
  border: 1px solid #dcecf8;
}

.recommend-card.course {
  background: linear-gradient(180deg, #ecfbf1 0%, #ffffff 100%);
  border: 1px solid #d8efdf;
}

.recommend-card.camp {
  background: linear-gradient(180deg, #fff8e8 0%, #ffffff 100%);
  border: 1px solid #f2e4bf;
}

.recommend-type {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #5f768a;
  font-size: 0.78rem;
  font-weight: 700;
}

.record-timeline {
  display: grid;
  gap: 14px;
}

.record-item {
  gap: 14px;
  align-items: flex-start;
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #e5edf4;
}

.record-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.record-item.pending .record-dot { background: #f0b63e; }
.record-item.active .record-dot { background: #35a36b; }
.record-item.muted .record-dot { background: #9eb3c5; }

@media (max-width: 991.98px) {
  .member-topbar,
  .member-main-grid,
  .member-spotlight-grid,
  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .member-side-column {
    order: 2;
  }

  .member-interest-panel,
  .member-recommend-panel,
  .member-record-panel,
  .member-spotlight-panel {
    order: initial;
  }

  .spotlight-profile-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .member-dashboard-shell {
    padding: 24px 0 64px;
  }

  .member-topbar,
  .member-roster-panel,
  .member-spotlight-panel,
  .member-mini-panel,
  .member-interest-panel,
  .member-recommend-panel,
  .member-record-panel {
    padding-left: 18px;
    padding-right: 18px;
  }

  .member-topbar-copy h1 {
    font-size: 1.55rem;
  }

  .child-roster-card {
    flex-basis: 132px;
  }

  .member-panel-head {
    flex-direction: column;
  }
}

/* ===== Auth pages (login / register / forgot / reset) ===== */
.auth-shell {
  min-height: calc(100vh - 220px);
  padding: 64px 0 88px;
  background:
    radial-gradient(circle at top right, rgba(118, 196, 171, 0.18), transparent 24%),
    radial-gradient(circle at top left, rgba(255, 215, 109, 0.18), transparent 22%),
    linear-gradient(180deg, #f7fbff 0%, #fffdf9 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.auth-panel {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e6eef4;
  box-shadow: 0 18px 42px rgba(25, 61, 92, 0.08);
  border-radius: 28px;
  padding: 40px 36px 36px;
}
.auth-panel.wide { max-width: 540px; }
.auth-panel .auth-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #2c7a7b;
  font-weight: 600;
  margin-bottom: 6px;
}
.auth-panel h1 {
  font-size: 26px;
  font-weight: 700;
  color: #1f3a57;
  margin: 0 0 6px;
}
.auth-panel .auth-subtitle {
  color: #6b7c90;
  font-size: 14px;
  margin-bottom: 26px;
}
.auth-panel .form-label {
  font-weight: 600;
  color: #31465f;
  font-size: 14px;
}
.auth-panel .form-control {
  border-radius: 12px;
  border-color: #dde6ef;
  padding: 10px 14px;
}
.auth-panel .form-control:focus {
  border-color: #76c4ab;
  box-shadow: 0 0 0 3px rgba(118, 196, 171, 0.18);
}
.auth-submit {
  background: linear-gradient(135deg, #2c7a7b, #3fa198);
  border: 0;
  color: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 600;
  width: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(44, 122, 123, 0.18);
  color: #fff;
}
.auth-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e6eef4;
  font-size: 13px;
  color: #6b7c90;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.auth-foot a { color: #2c7a7b; text-decoration: none; font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }

/* ===== Member sub-page (profile / children / password / deactivate) ===== */
.member-subpage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.member-subpage-head h1 {
  font-size: 26px;
  font-weight: 700;
  color: #1f3a57;
  margin: 0;
}
.member-subpage-head .member-panel-kicker { margin-bottom: 4px; }

.member-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e6eef4;
  box-shadow: 0 18px 42px rgba(25, 61, 92, 0.08);
  border-radius: 24px;
  padding: 8px;
  margin-bottom: 20px;
}
.member-subnav a {
  padding: 9px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #4a5f75;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.member-subnav a:hover { background: #f1f6fb; color: #1f3a57; }
.member-subnav a.is-active {
  background: linear-gradient(135deg, #2c7a7b, #3fa198);
  color: #fff;
}
.member-subnav .ms-auto { margin-left: auto; }
.member-subnav .logout { color: #c14d4d; }

.member-form-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #e6eef4;
  box-shadow: 0 18px 42px rgba(25, 61, 92, 0.08);
  border-radius: 28px;
  padding: 28px 32px;
  margin-bottom: 20px;
}
.member-form-panel h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1f3a57;
  margin: 0 0 6px;
}
.member-form-panel .panel-desc {
  color: #6b7c90;
  font-size: 13px;
  margin-bottom: 20px;
}
.member-form-panel .form-label {
  font-weight: 600;
  color: #31465f;
  font-size: 14px;
}
.member-form-panel .form-control,
.member-form-panel .form-select {
  border-radius: 12px;
  border-color: #dde6ef;
  padding: 10px 14px;
}
.member-form-panel .form-control:focus,
.member-form-panel .form-select:focus {
  border-color: #76c4ab;
  box-shadow: 0 0 0 3px rgba(118, 196, 171, 0.18);
}
.member-form-panel .form-control[readonly] {
  background: #f5f8fb;
  color: #6b7c90;
}
.member-btn-primary {
  background: linear-gradient(135deg, #2c7a7b, #3fa198);
  border: 0;
  color: #fff;
  border-radius: 14px;
  padding: 10px 22px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.member-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(44, 122, 123, 0.18);
  color: #fff;
}
.member-btn-danger {
  background: #fff;
  border: 1.5px solid #e5a1a1;
  color: #c14d4d;
  border-radius: 14px;
  padding: 10px 22px;
  font-weight: 600;
}
.member-btn-danger:hover { background: #fdf0f0; color: #a43838; }
.member-alert {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}
.member-alert.info    { background: #eef5ff; border-color: #cfe1f5; color: #2a4e7a; }
.member-alert.warn    { background: #fff8e6; border-color: #ffe2a0; color: #8a5a00; }
.member-alert.danger  { background: #fdeded; border-color: #f3c1c1; color: #a43838; }
.member-alert.success { background: #ecf8f2; border-color: #bfe4d2; color: #2e6b4e; }

.member-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.member-table thead th {
  background: #f5f8fb;
  color: #4a5f75;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 14px;
  border-bottom: 1px solid #e6eef4;
}
.member-table tbody td {
  padding: 14px;
  border-bottom: 1px solid #f0f4f8;
  font-size: 14px;
  color: #31465f;
  vertical-align: middle;
}
.member-table tbody tr:last-child td { border-bottom: 0; }
.member-table .btn-link-danger {
  background: none;
  border: 0;
  color: #c14d4d;
  font-weight: 600;
  font-size: 13px;
}
.member-table .btn-link-danger:hover { text-decoration: underline; }
.member-empty {
  padding: 32px 0;
  text-align: center;
  color: #8a9bb0;
  font-size: 14px;
}

.deactivate-panel { border-left: 5px solid #ffb85c; }
.deactivate-panel h2 { color: #8a5a00; }
.deactivate-panel ul {
  color: #6b7c90;
  font-size: 13px;
  padding-left: 20px;
  margin-bottom: 20px;
}

/* Allow long strings (email, urls) to wrap inside profile info boxes */
.spotlight-profile-list strong {
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* ============================================================
   Parent-friendly Member Center v2
   ============================================================ */

.member-hero {
  position: relative;
  background: linear-gradient(135deg, #fff6dd 0%, #ffe7d0 45%, #dff4ea 100%);
  border-radius: 32px;
  padding: 36px 40px;
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px rgba(74, 99, 82, 0.08);
}
.member-hero::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 197, 120, 0.35), transparent 70%);
  border-radius: 50%;
}
.member-hero::after {
  content: '';
  position: absolute;
  left: -30px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(118, 196, 171, 0.3), transparent 70%);
  border-radius: 50%;
}
.member-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.member-hero-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd96a, #ffb07a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 176, 122, 0.4);
  flex-shrink: 0;
}
.member-hero-copy { flex: 1; min-width: 260px; }
.member-hero-copy .member-hero-kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 3px;
  color: #d98540;
  font-weight: 700;
  margin-bottom: 8px;
}
.member-hero-copy h1 {
  font-size: 28px;
  font-weight: 800;
  color: #3a2f23;
  margin: 0 0 6px;
  line-height: 1.35;
}
.member-hero-copy p {
  color: #6e5f4e;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.member-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.member-hero-btn {
  background: #fff;
  border: 1.5px solid #f0d9a8;
  border-radius: 18px;
  padding: 12px 20px;
  font-weight: 700;
  color: #a6651f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.member-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(166, 101, 31, 0.18);
  color: #a6651f;
}
.member-hero-btn.is-primary {
  background: linear-gradient(135deg, #ffb85c, #ff9a4d);
  border-color: transparent;
  color: #fff;
}
.member-hero-btn.is-primary:hover { color: #fff; }

/* 孩子卡片區塊（首頁 / children 頁共用） */
.kids-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.kid-card {
  background: #fff;
  border-radius: 24px;
  padding: 22px 20px 18px;
  border: 1px solid #eef3f7;
  box-shadow: 0 14px 34px rgba(25, 61, 92, 0.06);
  text-align: center;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.kid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(25, 61, 92, 0.1);
}
.kid-card .kid-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #2c5a52;
}
.kid-card .kid-avatar.c0 { background: linear-gradient(135deg, #d9efff, #b8dcfa); color: #2a5989; }
.kid-card .kid-avatar.c1 { background: linear-gradient(135deg, #dff6ef, #b6e8d5); color: #2f6e54; }
.kid-card .kid-avatar.c2 { background: linear-gradient(135deg, #fff0c9, #ffe196); color: #8a6410; }
.kid-card .kid-avatar.c3 { background: linear-gradient(135deg, #ffe3d6, #ffc7a8); color: #a6501a; }
.kid-card .kid-avatar.c4 { background: linear-gradient(135deg, #f0dcff, #d5b4f2); color: #5a3289; }
.kid-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1f3a57;
  margin: 0 0 4px;
}
.kid-card .kid-stage {
  font-size: 12px;
  color: #7b8fa5;
  margin-bottom: 10px;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  background: #f1f6fb;
}
.kid-card .kid-meta {
  font-size: 12px;
  color: #8a9bb0;
  line-height: 1.6;
  margin-bottom: 10px;
}
.kid-card .kid-meta div + div { margin-top: 2px; }
.kid-card .kid-delete {
  background: none;
  border: 0;
  color: #c17373;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 10px;
  transition: background 0.15s ease;
}
.kid-card .kid-delete:hover { background: #fdeded; }

.kid-card.add-card {
  background: repeating-linear-gradient(135deg, #f9fbfd, #f9fbfd 8px, #f2f6fa 8px, #f2f6fa 16px);
  border: 2px dashed #c9d6e3;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #6b88a3;
  min-height: 200px;
}
.kid-card.add-card:hover {
  border-color: #76c4ab;
  color: #2c7a7b;
  background: #f4faf8;
}
.kid-card.add-card .plus-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px dashed #bcd0e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #8aa3be;
  margin-bottom: 10px;
}
.kid-card.add-card:hover .plus-circle {
  border-color: #76c4ab;
  color: #2c7a7b;
}

/* 首頁底下的快捷動作 */
.quick-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.quick-tile {
  background: #fff;
  border: 1px solid #eef3f7;
  border-radius: 22px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.quick-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(25, 61, 92, 0.08);
  color: inherit;
}
.quick-tile .qt-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.quick-tile.warm  .qt-icon { background: #fff0d6; color: #d98540; }
.quick-tile.cool  .qt-icon { background: #e4f2fd; color: #2a6d98; }
.quick-tile.mint  .qt-icon { background: #dff6ef; color: #2f6e54; }
.quick-tile.plum  .qt-icon { background: #f7e9ff; color: #7a3ead; }
.quick-tile strong {
  display: block;
  font-size: 15px;
  color: #1f3a57;
  margin-bottom: 2px;
}
.quick-tile small {
  display: block;
  color: #7b8fa5;
  font-size: 12.5px;
}

/* 空狀態 */
.empty-kids {
  background: linear-gradient(135deg, #fffdf5, #f3faf7);
  border: 2px dashed #d8e2ce;
  border-radius: 28px;
  padding: 48px 24px;
  text-align: center;
  color: #6a7e6c;
}
.empty-kids .eg-emoji { font-size: 56px; margin-bottom: 12px; }
.empty-kids h3 {
  color: #3a5b42;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}
.empty-kids p {
  margin: 0 0 18px;
  color: #7b8b7d;
}
