/* =============================================
   极简测量 PWA — styles.css
   ============================================= */

/* ---------- CSS Variables ---------- */
:root {
  --theme: #f4258c;
  --theme-10: rgba(244, 37, 140, 0.10);
  --theme-15: rgba(244, 37, 140, 0.15);
  --theme-05: rgba(244, 37, 140, 0.05);
  --theme-30: rgba(244, 37, 140, 0.30);
  --bg: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-section: #F1F5F9;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-faint: #94A3B8;
  --border: #F1F5F9;
  --border-dark: #E2E8F0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Noto Sans SC', sans-serif;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  overflow: hidden;
  height: 100dvh;
  width: 100%;
  position: fixed;
  top: 0; left: 0;
}

#app {
  width: 100%;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* ---------- Page System ---------- */
.page {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  pointer-events: none;
  will-change: transform, opacity;
  overflow: hidden;
}

.page.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 10;
}

.page.exit-left {
  opacity: 1;
  transform: translateX(-30%);
  pointer-events: none;
  z-index: 5;
}

.page.enter-from-left {
  transform: translateX(-100%);
}

.page.enter-from-left.active {
  transform: translateX(0);
}

/* ---------- Header ---------- */
.header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  height: 56px;
  flex-shrink: 0;
  position: relative;
}

.header-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.btn-back {
  width: 44px; height: 44px;
  border: none;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-secondary);
  transition: background 0.2s;
  flex-shrink: 0;
}

.btn-back:active {
  background: var(--bg-section);
}

.header-spacer {
  width: 44px;
  flex-shrink: 0;
}

/* ---------- HOME PAGE ---------- */
.home-page {
  background: var(--bg);
}

.home-header {
  padding: 32px 24px 24px;
}

.home-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.home-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.home-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-header-left {
  flex: 1;
}

.btn-theme {
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--theme-10);
  color: var(--theme);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}

.btn-theme:active {
  transform: scale(0.9);
}

.home-cards {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px 24px;
  -webkit-overflow-scrolling: touch;
}

.feature-card {
  width: 100%;
  padding: 24px;
  background: var(--theme-05);
  border: 1px solid var(--theme-10);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-bottom: 16px;
}

.feature-card:active {
  transform: scale(0.97);
}

.feature-card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 24px;
  color: var(--theme);
}

.feature-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.feature-card-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Bottom branding */
.home-footer {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: var(--text-faint);
  flex-shrink: 0;
}

/* ---------- CALIBRATION PAGE ---------- */
.calibration-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
}

.cal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px dashed var(--theme-30);
  background: var(--theme-05);
  border-radius: var(--radius-md);
  margin-top: 32px;
  margin-bottom: 24px;
  transition: width 0.1s ease, height 0.1s ease;
  padding: 24px;
  flex-shrink: 0;
}

.cal-card-icon {
  font-size: 36px;
  color: var(--theme);
  opacity: 0.6;
}

.cal-card-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.cal-card-ratio {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.cal-hint {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 22px;
  padding: 0 16px;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.slider-box {
  width: 100%;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  flex-shrink: 0;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.slider-label {
  font-size: 14px;
  font-weight: 700;
}

.slider-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--theme);
  background: var(--theme-10);
  padding: 2px 8px;
  border-radius: 4px;
}

.slider-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.slider-range-labels span {
  font-size: 10px;
  color: var(--text-faint);
  font-weight: 700;
}

/* Custom range input */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-dark);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--theme);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border: 3px solid white;
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.2);
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--theme);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border: 3px solid white;
}

/* ---------- Page Footer (sticky bottom button) ---------- */
.page-footer {
  padding: 16px 24px;
  padding-bottom: calc(16px + var(--safe-bottom));
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.btn-primary {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: var(--radius-md);
  background: var(--theme);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: var(--font);
}

.btn-primary:active {
  opacity: 0.85;
  transform: scale(0.98);
}

/* ---------- RING PAGE ---------- */
.ring-tabs {
  display: flex;
  margin: 0 16px 12px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  padding: 4px;
  flex-shrink: 0;
}

.ring-tab {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  font-family: var(--font);
}

.ring-tab.active {
  background: var(--bg-card);
  color: var(--theme);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.ring-display {
  text-align: center;
  padding: 16px 0;
  flex-shrink: 0;
}

.ring-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--theme);
}

.ring-value span {
  font-size: 20px;
  font-weight: 600;
}

.ring-size-text {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.ring-measure-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Ring mode — circle */
.ring-circle-container {
  width: 256px; height: 256px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring-guide-circle {
  position: absolute;
  width: 256px; height: 256px;
  border-radius: 50%;
  border: 2px dashed var(--border-dark);
}

.ring-crosshair-h {
  position: absolute;
  width: 256px; height: 1px;
  background: var(--theme);
  opacity: 0.2;
}

.ring-crosshair-v {
  position: absolute;
  width: 1px; height: 256px;
  background: var(--theme);
  opacity: 0.2;
}

.ring-circle {
  border-radius: 50%;
  border: 3px solid var(--theme);
  box-shadow: 0 0 15px var(--theme-30);
  transition: width 0.1s ease, height 0.1s ease;
}

.ring-hint {
  font-size: 14px;
  color: var(--text-faint);
  text-align: center;
  margin-top: 32px;
  padding: 0 32px;
}

/* String mode — ruler */
.string-tip {
  font-size: 12px;
  color: #2563EB;
  background: #EFF6FF;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin: 0 16px 24px;
  line-height: 1.6;
}

.ruler-container {
  width: calc(100% - 32px);
  margin: 0 auto;
  height: 128px;
  background: var(--bg);
  padding: 0 16px;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 4px;
  overflow: hidden;
}

.ruler-bg {
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 48px;
  background: var(--theme-10);
  border-radius: 4px;
  top: 50%;
  transform: translateY(-50%);
}

.ruler-bar {
  position: absolute;
  left: 16px;
  height: 4px;
  background: var(--theme);
  box-shadow: 0 0 10px var(--theme-30);
  border-radius: 2px;
  transition: width 0.1s ease;
  top: 50%;
  transform: translateY(-50%);
}

.ruler-mark {
  position: absolute;
  width: 2px;
  height: 48px;
  background: var(--theme);
  top: 50%;
  transform: translateY(-50%);
  transition: left 0.1s ease;
}

.ruler-mark-left {
  left: 16px;
}

/* Slider footer area */
.slider-footer {
  padding: 16px 24px;
  padding-bottom: calc(16px + var(--safe-bottom));
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.slider-controls input[type="range"] {
  flex: 1;
}

.btn-round {
  width: 40px; height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--bg-section);
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
  font-family: var(--font);
  font-weight: 600;
}

.btn-round:active {
  background: var(--border-dark);
}

.footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.footer-recommend {
  font-size: 13px;
  color: var(--theme);
  font-weight: 500;
}

.btn-reset {
  font-size: 14px;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 4px 8px;
}

/* ---------- NAIL PAGE ---------- */
.nail-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  padding: 0 16px;
}

.nail-tab {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 12px 0 10px;
  cursor: pointer;
  position: relative;
  border: none;
  background: transparent;
  font-family: var(--font);
  transition: color 0.2s;
}

.nail-tab.active {
  color: var(--theme);
  font-weight: 700;
}

.nail-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 3px;
  background: var(--theme);
  border-radius: 1.5px;
}

.nail-display {
  text-align: center;
  padding: 32px 0 16px;
  flex-shrink: 0;
}

.nail-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.nail-value-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
}

.nail-value-unit {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-left: 4px;
}

.nail-size-hint {
  font-size: 14px;
  color: var(--theme);
  font-weight: 500;
  margin-top: 4px;
}

.nail-guide-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Nail measurement area */
.nail-measure-area {
  flex: 1;
  margin: 0 24px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  background: var(--bg);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 200px;
}

.nail-fingerprint {
  width: 192px; height: 192px;
  border-radius: 50%;
  background: rgba(0,0,0,0.03);
  position: absolute;
}

.nail-band {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--theme-05);
  transition: width 0.1s ease;
}

.nail-dashed {
  position: absolute;
  top: 0;
  height: 100%;
  border-right: 2px dashed var(--theme);
  transition: left 0.1s ease;
}

.nail-calibration-note {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-secondary);
}

.nail-calibration-dot {
  width: 24px; height: 24px;
  background: var(--border-dark);
  border-radius: 4px;
  flex-shrink: 0;
}

/* ---------- MEMO PAGE ---------- */
.memo-content {
  flex: 1;
  overflow-y: auto;
  background: var(--bg);
  padding: 16px;
  -webkit-overflow-scrolling: touch;
}

.memo-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  overflow: hidden;
}

.memo-card-header {
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
}

.memo-card-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--theme-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--theme);
  flex-shrink: 0;
}

.memo-card-info {
  flex: 1;
}

.memo-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.memo-card-sub {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 2px;
}

.memo-card-sub.highlight {
  color: var(--theme);
  font-weight: 500;
}

.memo-card-divider {
  width: 100%; height: 1px;
  background: var(--border);
}

.memo-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.memo-row {
  display: flex;
  align-items: center;
}

.memo-label {
  font-size: 13px;
  color: var(--text-muted);
  width: 60px;
  flex-shrink: 0;
}

.memo-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.memo-value.theme {
  color: var(--theme);
}

.memo-footer {
  display: flex;
  gap: 12px;
  padding: 16px;
  padding-bottom: calc(16px + var(--safe-bottom));
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.btn-secondary {
  flex: 1;
  height: 48px;
  border: 2px solid var(--theme);
  border-radius: var(--radius-xl);
  background: transparent;
  color: var(--theme);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font);
}

.btn-secondary:active {
  background: var(--theme-05);
}

.btn-fill {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: var(--radius-xl);
  background: var(--theme);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: var(--font);
}

.btn-fill:active {
  opacity: 0.85;
}

/* ---------- Install Banner ---------- */
.install-banner {
  margin-bottom: 16px;
  animation: bannerSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bannerSlideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.install-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--theme-10), var(--theme-05));
  border: 1px solid var(--theme-15);
  border-radius: var(--radius-md);
  position: relative;
}

.install-banner-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.install-banner-text {
  flex: 1;
  min-width: 0;
}

.install-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.install-banner-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.install-share-icon {
  display: inline-block;
  color: var(--theme);
  font-weight: 700;
}

.install-banner-btn {
  flex-shrink: 0;
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-xl);
  background: var(--theme);
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  font-family: var(--font);
}

.install-banner-btn:active {
  opacity: 0.85;
  transform: scale(0.95);
}

.install-banner-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: var(--text-faint);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.install-banner-close:active {
  background: var(--theme-10);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ---------- Utilities ---------- */
.scrollable {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Desktop centering */
@media (min-width: 481px) {
  body {
    background: #E2E8F0;
  }
  #app {
    box-shadow: 0 0 40px rgba(0,0,0,0.12);
    border-radius: 24px;
    height: calc(100dvh - 48px);
    margin-top: 24px;
    overflow: hidden;
  }
}

/* ===== CALIBRATION OUTLINE (replaces cal-card filled box) ===== */
.cal-steps {
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
  margin-bottom: 16px;
}
.cal-step-active { color: var(--theme); font-weight: 600; }
.cal-step-sep { opacity: 0.4; }

.cal-card-outline {
  position: relative;
  margin: 16px auto 20px;
  /* transparent interior so physical card is visible underneath */
  background: transparent;
  border: none;
  transition: width 0.08s ease, height 0.08s ease;
  flex-shrink: 0;
}

/* Four corner L-brackets in theme green */
.cal-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: #22c55e;
  border-style: solid;
}
.cal-tl { top: 0; left: 0;  border-width: 3px 0 0 3px; border-radius: 3px 0 0 0; }
.cal-tr { top: 0; right: 0; border-width: 3px 3px 0 0; border-radius: 0 3px 0 0; }
.cal-bl { bottom: 0; left: 0;  border-width: 0 0 3px 3px; border-radius: 0 0 0 3px; }
.cal-br { bottom: 0; right: 0; border-width: 0 3px 3px 0; border-radius: 0 0 3px 0; }

/* Dimension labels */
.cal-dim-w {
  position: absolute;
  bottom: -22px;
  left: 0; right: 0;
  text-align: center;
  font-size: 11px;
  color: #22c55e;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.cal-dim-h {
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%) rotate(90deg);
  font-size: 11px;
  color: #22c55e;
  font-weight: 500;
  white-space: nowrap;
}
/* ===== END CALIBRATION OUTLINE ===== */

/* ===== SVG ICON SYSTEM (replaces emoji) ===== */
.card-svg-icon {
  width: 36px;
  height: 36px;
  stroke: var(--theme);
  display: block;
  margin: 0 auto;
}

/* Home feature cards — align icon top */
.feature-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--theme-10);
  margin-bottom: 12px;
}
.feature-card-icon .card-svg-icon {
  width: 28px;
  height: 28px;
}

/* Memo card icon */
.memo-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--theme-10);
}
.memo-card-icon .card-svg-icon {
  width: 22px;
  height: 22px;
}

/* Install banner icon */
.install-banner-icon .card-svg-icon {
  width: 24px;
  height: 24px;
  stroke: var(--theme);
}

/* Theme toggle button — colored dot instead of 🎨 */
.theme-circle {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--theme);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
  transition: background 0.3s;
}
/* ===== END SVG ICON SYSTEM ===== */
