/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:    #D0437A;
  --pink-lt: #F9EEF3;
  --feed:    #E07820;
  --diaper:  #2878C8;
  --sleep:   #3A9E5F;
  --pump:    #8B6E4E;
  --note:    #7A9E2E;
  --ink:     #1a1a1a;
  --ink2:    #555;
  --bg:      #F5F5F5;
  --white:   #FFFFFF;
  --line:    #E8E8E8;
  --radius:  16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  display: flex;
  justify-content: center;
}

.screen {
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hidden { display: none !important; }

/* ── Auth ── */
.auth-hero {
  text-align: center;
  padding: 64px 24px 32px;
}
.auth-avatar {
  font-size: 64px;
  margin-bottom: 12px;
}
.auth-hero h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 6px;
}
.auth-hero p { color: var(--ink2); font-size: 15px; }

.auth-tabs {
  display: flex;
  margin: 0 24px 20px;
  background: var(--line);
  border-radius: 12px;
  padding: 3px;
}
.auth-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink2);
  transition: all .2s;
}
.auth-tab.active {
  background: var(--white);
  color: var(--pink);
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 24px;
}
.auth-form input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
  transition: border-color .2s;
  background: var(--white);
}
.auth-form input:focus { border-color: var(--pink); }

.btn-primary {
  background: var(--pink);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: opacity .2s;
}
.btn-primary:active { opacity: .85; }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink2);
  width: 100%;
}

.error-msg {
  color: #d93f3f;
  font-size: 13px;
  text-align: center;
  padding: 8px 24px;
  min-height: 20px;
}

.social-auth {
  padding: 4px 24px 0;
}

.auth-sep {
  position: relative;
  text-align: center;
  margin: 8px 0 14px;
}

.auth-sep::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid var(--line);
}

.auth-sep span {
  position: relative;
  background: var(--bg);
  padding: 0 10px;
  font-size: 12px;
  color: var(--ink2);
}

.google-auth-btn {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

/* ── View layout ── */
.view {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow-y: auto;
  padding-bottom: 90px;
}

/* ── Home Header ── */
.home-header {
  position: relative;
  height: 220px;
  background: linear-gradient(160deg, #b5c8e8 0%, #d4a8c8 50%, #e8c4a0 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 52px 16px 16px;
  color: white;
  flex-shrink: 0;
}
.menu-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: white;
}
.menu-btn svg { width: 18px; height: 18px; }

.baby-title { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.baby-title h2 { font-size: 22px; font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.baby-title p  { font-size: 13px; opacity: .9; margin-top: 2px; }

.home-nav-btns {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
}
.nav-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--pink);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.nav-circle svg { width: 18px; height: 18px; }

.home-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}

.home-section {
  background: rgba(255,255,255,.9);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(32, 56, 92, .08);
}

.section-head {
  width: 100%;
  background: none;
  border: none;
  padding: 0 0 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.static-head { cursor: default; }

.section-head h3 {
  font-size: 20px;
  color: var(--ink);
}

.section-head span {
  font-size: 13px;
  font-weight: 600;
  color: var(--pink);
}

.section-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink2);
  margin-bottom: 4px;
}

.empty-state-card {
  min-height: 120px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(212,168,200,.12), rgba(181,200,232,.08));
  border: 1px dashed rgba(208,67,122,.2);
  color: var(--ink2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.media-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 180px;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.media-strip::-webkit-scrollbar { display: none; }

.media-preview-card,
.home-record-card,
.quick-action {
  border: none;
  cursor: pointer;
}

.media-preview-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(20, 32, 56, .08);
  color: inherit;
}

.media-preview-meta {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.media-preview-meta strong,
.media-card-title,
.home-record-top strong {
  font-size: 14px;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.media-preview-meta span,
.media-card-meta,
.home-record-top span,
.home-record-bottom span,
.home-record-bottom p,
.tl-meta-row {
  font-size: 12px;
  color: var(--ink2);
}

.media-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dbe5f1;
}

.compact-thumb { aspect-ratio: 5 / 4; }

.media-thumb img,
.media-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(15, 20, 28, .68);
  color: white;
  font-size: 11px;
  font-weight: 600;
}

.home-journal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-record-card {
  background: linear-gradient(180deg, #fff7fb, #ffffff);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(208,67,122,.08);
}

.home-record-top,
.home-record-bottom,
.tl-row-top,
.tl-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-record-bottom {
  align-items: flex-start;
}

.home-record-bottom span {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--pink-lt);
  color: var(--pink);
  font-weight: 600;
}

.home-record-bottom p {
  flex: 1;
  line-height: 1.45;
  text-align: right;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-action {
  padding: 14px 12px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

.qa-feed { background: var(--feed); }
.qa-media { background: linear-gradient(135deg, #4d7ea8, #d36b7a); }
.qa-diaper { background: var(--diaper); }
.qa-sleep { background: var(--sleep); }
.qa-pump { background: var(--pump); }
.qa-note { background: var(--note); }
.qa-today { background: linear-gradient(135deg, #c9709b, #8c9ccc); }

/* ── Activity Cards ── */
.activity-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.act-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 16px 20px;
  border-radius: 0;
  cursor: pointer;
  transition: filter .15s;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.act-card:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.act-card:last-child  { border-radius: 0 0 var(--radius) var(--radius); border-bottom: none; }
.act-card:active { filter: brightness(.93); }

.card-feeding { background: var(--feed); }
.card-diaper  { background: var(--diaper); }
.card-sleep   { background: var(--sleep); }
.card-pump    { background: var(--pump); }
.card-note    { background: var(--note); }

.act-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.act-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.act-icon svg { width: 22px; height: 22px; stroke: white; }

.act-info { flex: 1; min-width: 0; color: white; }
.act-time   { font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-detail { font-size: 13px; opacity: .9; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.act-stats  { font-size: 12px; opacity: .75; margin-top: 3px; }

.bell-btn {
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  opacity: .7;
}
.bell-btn svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.8); }

/* ── Today Header ── */
.today-header {
  background: var(--white);
  padding: 52px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.today-title { font-size: 20px; font-weight: 700; color: var(--pink); }
.today-nav { display: flex; gap: 14px; }
.today-nav button {
  background: none; border: none; cursor: pointer; padding: 4px;
  color: var(--ink2);
}
.today-nav button svg { width: 20px; height: 20px; display: block; }

/* ── Category Filter Bar ── */
.cat-bar {
  display: flex;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 0;
}
.cat-bar::-webkit-scrollbar { display: none; }

.cat-btn {
  flex-shrink: 0;
  border: none;
  background: transparent;
  padding: 12px 16px;
  cursor: pointer;
  color: var(--ink2);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.cat-btn svg { width: 18px; height: 18px; display: block; }
.cat-btn.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

/* ── Daily Summary ── */
.daily-summary {
  margin: 12px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.8;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.summary-date {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.summary-day-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--pink);
  line-height: 1;
}
.summary-day-label { font-size: 12px; color: var(--ink2); }
.summary-month { font-size: 12px; color: var(--ink2); }
.summary-stats { flex: 1; line-height: 2; }
.summary-stat-line { font-size: 13px; color: var(--ink); }
.summary-stat-line span { font-weight: 600; }
.summary-separator { width: 2px; background: var(--pink); border-radius: 2px; margin: 0 2px; }

/* ── Timeline ── */
.timeline {
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.timeline-item {
  background: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: transform .1s;
}
.timeline-item:active { transform: scale(.98); }

.tl-time { font-size: 13px; color: var(--ink2); min-width: 40px; }
.tl-dot  {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tl-dot svg { width: 16px; height: 16px; stroke: white; }
.dot-feeding { background: var(--feed); }
.dot-diaper  { background: var(--diaper); }
.dot-sleep   { background: var(--sleep); }
.dot-pump    { background: var(--pump); }
.dot-note    { background: var(--note); }

.tl-body { flex: 1; min-width: 0; }
.tl-title  { font-size: 14px; font-weight: 600; color: var(--pink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-sub    { font-size: 12px; color: var(--ink2); margin-top: 2px; }
.tl-arrow  { color: var(--line); font-size: 18px; }

/* ── Stats View ── */
.simple-header {
  background: var(--white);
  padding: 52px 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.back-btn {
  background: none; border: none; cursor: pointer; padding: 4px; color: var(--ink2);
}
.back-btn svg { width: 22px; height: 22px; display: block; }

.stats-content { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.stat-card h3 { font-size: 13px; color: var(--ink2); margin-bottom: 8px; }
.stat-value { font-size: 22px; font-weight: 700; color: var(--pink); }

.view-intro {
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.view-intro p {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.5;
}

.view-intro strong {
  font-size: 14px;
  color: var(--pink);
  white-space: nowrap;
}

.media-upload-card {
  margin: 16px 16px 0;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(249,238,243,.86));
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(32, 56, 92, .08);
  overflow: hidden;
}

.media-upload-head {
  padding: 16px 16px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.media-upload-head h3 {
  font-size: 20px;
  color: var(--ink);
}

.upload-status {
  font-size: 12px;
  color: var(--pink);
  font-weight: 600;
  text-align: right;
}

.media-upload-form {
  padding-top: 12px;
}

.media-upload-form input[type=file] {
  padding: 12px;
  background: var(--bg);
}

.media-upload-preview {
  margin: 0 20px;
}

.preview-shell {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(208,67,122,.08);
}

.preview-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #dbe5f1;
}

.preview-frame img,
.preview-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-meta {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-meta strong {
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-meta span {
  font-size: 12px;
  color: var(--ink2);
  white-space: nowrap;
}

.upload-progress {
  margin: 0 20px;
  height: 10px;
  border-radius: 999px;
  background: rgba(77, 126, 168, .12);
  overflow: hidden;
}

.upload-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4d7ea8, #d36b7a);
  transition: width .2s ease;
}

.media-gallery {
  padding: 0 16px 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.media-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(20, 32, 56, .08);
}

.media-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.media-tags span {
  border-radius: 999px;
  background: var(--pink-lt);
  color: var(--pink);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
}

.gallery-empty {
  grid-column: 1 / -1;
  min-height: 180px;
  flex-direction: column;
  gap: 8px;
}

.timeline-item-journal {
  flex-direction: column;
  align-items: stretch;
}

.tl-row-top {
  align-items: flex-start;
}

.tl-row-top .tl-body {
  padding-top: 4px;
}

.tl-meta-row {
  padding-left: 44px;
}

@media (max-width: 420px) {
  .media-gallery {
    grid-template-columns: 1fr;
  }

  .quick-actions {
    grid-template-columns: 1fr 1fr;
  }
}

/* ── Settings Panel ── */
.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 40;
}
.panel {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 80%;
  max-width: 300px;
  background: var(--white);
  z-index: 50;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,.15);
  transform: translateX(0);
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 16px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
}
.panel-header button {
  background: none; border: none; cursor: pointer; font-size: 20px; color: var(--ink2);
}
.panel-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 20px; }
.panel-section h3 { font-size: 13px; color: var(--ink2); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .05em; }
.panel-section select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 15px;
  margin-bottom: 10px;
  background: var(--white);
}

.mini-form { display: flex; flex-direction: column; gap: 8px; }
.mini-form input {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: var(--white);
}
.mini-form button {
  background: var(--pink);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.user-email { font-size: 13px; color: var(--ink2); margin-bottom: 10px; word-break: break-all; }

/* ── FAB ── */
.fab {
  position: fixed;
  bottom: 28px;
  right: 50%;
  transform: translateX(50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--pink);
  border: none;
  box-shadow: 0 4px 16px rgba(208,67,122,.45);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 30;
  transition: transform .15s, box-shadow .15s;
}
.fab:active {
  transform: translateX(50%) scale(.93);
  box-shadow: 0 2px 8px rgba(208,67,122,.4);
}
.fab svg { width: 28px; height: 28px; stroke: white; }

/* ── Add Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.modal-sheet {
  background: var(--white);
  width: 100%;
  max-width: 430px;
  border-radius: 20px 20px 0 0;
  padding: 0 0 32px;
  max-height: 90dvh;
  overflow-y: auto;
  position: relative;
}
.modal-handle {
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 2px;
  margin: 12px auto 8px;
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: none;
  cursor: pointer; color: var(--ink2);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}
.modal-close svg { width: 20px; height: 20px; }

.modal-cat-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}
.modal-cat-tabs::-webkit-scrollbar { display: none; }
.mcb {
  flex-shrink: 0;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all .2s;
}
.mcb.active { color: var(--pink); border-bottom-color: var(--pink); font-weight: 600; }

.add-form {
  padding: 16px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; color: var(--ink2); font-weight: 500; }
.form-row input,
.form-row select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  background: var(--white);
  outline: none;
  transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus { border-color: var(--pink); }

.toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.toggle-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  border: 1.5px solid var(--line);
  transition: all .15s;
}
.toggle-group label:has(input:checked) {
  border-color: var(--pink);
  background: var(--pink-lt);
  color: var(--pink);
  font-weight: 600;
}
.toggle-group input[type=radio] { display: none; }
