:root {
  --bg: #000;
  --bg2: #0d0d0d;
  --card: #111;
  --border: #1e1e1e;
  --border2: #2a2a2a;
  --primary: #dc2626;
  --primary-d: #b91c1c;
  --primary-m: rgba(220,38,38,0.15);
  --fg: #fff;
  --fg2: #e4e4e7;
  --muted: #71717a;
  --muted2: #3f3f46;
  --r: 16px;
  --r-sm: 10px;
  --r-pill: 999px;
  --spring: cubic-bezier(0.34,1.56,0.64,1);
  --smooth: cubic-bezier(0.4,0,0.2,1);
  --out: cubic-bezier(0,0,0.2,1);
  --sheet: cubic-bezier(0.32,0.72,0,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { height: 100%; }
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { font-family: inherit; }
::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }

.screen { position: fixed; inset: 0; display: none; flex-direction: column; overflow: hidden; }
.screen.active { display: flex; }

#content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;
  padding-bottom: calc(68px + env(safe-area-inset-bottom));
}

#tabbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 500;
  transition: color 150ms var(--smooth);
}
.tab.active { color: var(--primary); }
.tab:disabled { opacity: 0.3; cursor: default; }
.tab svg { transition: transform 150ms var(--spring); }
.tab.active svg { transform: translateY(-1px); }

#login {
  background: #000;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.login-wrap {
  width: 100%;
  max-width: 340px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.login-logo {
  text-align: center;
  animation: fadeUp 0.5s var(--out) 0.05s both;
}

.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 18px;
  display: block;
}

.logo-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.logo-title span { color: var(--primary); }

.logo-sub {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.8rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeUp 0.5s var(--out) 0.18s both;
}

.field-group {
  background: #0f0f0f;
  border: 1px solid #1c1c1c;
  border-radius: 14px;
  overflow: hidden;
}

.field {
  padding: 14px 16px 12px;
  position: relative;
}

.field + .field {
  border-top: 1px solid #1c1c1c;
}

.field-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.field input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  color: #fff;
  font-size: 1rem;
  outline: none;
  font-family: inherit;
}
.field input::placeholder { color: #333; }

.btn-login {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms, transform 120ms;
  animation: fadeUp 0.5s var(--out) 0.3s both;
}
.btn-login:active { transform: scale(0.97); background: var(--primary-d); }

.login-alt {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  animation: fadeUp 0.5s var(--out) 0.4s both;
}

.link-btn {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  padding: 0;
}

.tab-page {
  animation: tabEnter 0.22s var(--out) both;
  padding-top: 52px;
  padding-bottom: 16px;
}

.px { padding-left: 16px; padding-right: 16px; }

.page-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
}

.card-primary {
  background: var(--primary);
  border-radius: var(--r);
  padding: 16px;
}

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.prog-bar {
  height: 6px;
  background: var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.prog-fill {
  height: 100%;
  background: var(--primary);
  border-radius: var(--r-pill);
  transition: width 0.8s var(--out);
  will-change: width;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 600;
}
.badge-red { background: var(--primary-m); color: var(--primary); }
.badge-muted { background: var(--card); color: var(--muted); border: 1px solid var(--border); }

.stat-label { font-size: 0.75rem; color: var(--muted); margin-bottom: 4px; }
.stat-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.stat-unit { font-size: 0.72rem; color: var(--muted); margin-top: 3px; }
.stat-label-w { font-size: 0.75rem; color: rgba(255,255,255,0.7); margin-bottom: 4px; }
.stat-value-w { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.stat-unit-w { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 3px; }

.chart-wrap { width: 100%; overflow: hidden; margin-top: 8px; }

.percentile-text { text-align: center; font-size: 1rem; color: var(--fg2); line-height: 1.5; }
.percentile-text strong { color: var(--primary); font-size: 1.1rem; }

.section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease both;
}

.popup-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 24px;
  width: 100%;
  max-width: 320px;
  animation: popIn 0.3s var(--spring) both;
}

.popup-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-m);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

.popup-title {
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}

.popup-sub {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.55;
}

.size-input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.size-input {
  width: 100px;
  height: 56px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--fg);
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  outline: none;
  font-family: inherit;
  transition: border-color 150ms;
}
.size-input:focus { border-color: var(--primary); }
.size-unit { font-size: 1rem; color: var(--muted); font-weight: 600; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms, opacity 120ms;
  font-family: inherit;
  width: 100%;
}
.btn:active { transform: scale(0.97); opacity: 0.88; }
.btn-red { background: var(--primary); color: #fff; }
.btn-ghost { background: var(--card); border: 1px solid var(--border); color: var(--fg); }

.hero-wrap {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  height: 176px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.hero-img-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-grad-r { position: absolute; inset: 0; background: linear-gradient(to right, rgba(220,38,38,0.5) 0%, rgba(220,38,38,0.2) 50%, transparent 100%); }
.hero-grad-b { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 60%); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.85); }
.hero-pills { display: flex; gap: 8px; }
.hero-pill { background: var(--primary); color: #fff; border-radius: var(--r-pill); padding: 6px 14px; font-size: 0.78rem; font-weight: 600; }
.hero-pill-m { background: rgba(0,0,0,0.55); color: var(--muted); border-radius: var(--r-pill); padding: 6px 12px; font-size: 0.78rem; }

.level-section { margin-bottom: 28px; }
.level-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.level-title { font-size: 1.05rem; font-weight: 700; }
.level-cnt { font-size: 0.8rem; color: var(--muted); }
.days-grid { display: flex; flex-wrap: wrap; gap: 10px; }

.day-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; }

.day-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: transform 150ms var(--spring);
  will-change: transform;
}
.day-btn:active { transform: scale(0.9); }
.day-btn.completed { background: var(--primary); cursor: default; }
.day-btn.unlocked { background: var(--card); border: 2px dashed var(--primary); }
.day-btn.locked { background: rgba(255,255,255,0.04); border: 1px solid var(--border); cursor: default; }
.day-btn.s30 { background: var(--primary-m); border: 2px solid var(--primary); cursor: pointer; }
.day-btn.s15 { background: rgba(255,255,255,0.05); border: 2px solid var(--muted2); cursor: pointer; }
.day-num { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.day-cd { font-size: 9px; color: var(--muted); text-align: center; line-height: 1.3; max-width: 58px; }

.modal-ol {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.38s var(--sheet);
  will-change: transform;
}
.modal-ol.open { transform: translateY(0); }

.modal-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 52px 16px 0;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.modal-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--fg);
}
.modal-title { font-size: 1.1rem; font-weight: 700; }
.modal-spacer { width: 36px; }

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 16px 140px;
  -webkit-overflow-scrolling: touch;
}

.warn-pill {
  background: var(--primary-m);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: var(--r-sm);
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--primary);
  text-align: center;
  font-weight: 500;
  margin-bottom: 12px;
}

.ex-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  margin-bottom: 8px;
  animation: fadeUp 0.2s var(--out) both;
}
.ex-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--primary-m);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; color: var(--primary);
  flex-shrink: 0;
}
.ex-name { flex: 1; font-size: 0.88rem; font-weight: 500; }
.ex-dur { font-size: 0.78rem; color: var(--muted); }

.modal-foot {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 80%, transparent);
}

.reward-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 60px 20px 40px;
  text-align: center;
}
.reward-trophy {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--primary);
  background: var(--primary-m);
  margin-bottom: 24px;
  animation: trophyPulse 2s ease-in-out infinite;
  color: var(--primary);
}
.reward-trophy-muted { border-color: var(--muted2); background: rgba(255,255,255,0.05); color: var(--muted); }
.reward-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
.reward-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.reward-items { width: 100%; max-width: 320px; }
.reward-item {
  background: var(--card);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: var(--r);
  padding: 16px;
  text-align: left;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  animation: fadeUp 0.3s var(--out) both;
}
.reward-item-muted { border-color: var(--border); }
.reward-icon {
  width: 40px; height: 40px;
  background: var(--primary-m);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.reward-icon-muted { background: rgba(255,255,255,0.05); color: var(--muted); }
.reward-item-title { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.reward-item-desc { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.reward-hint { font-size: 0.78rem; color: var(--muted); margin-top: 20px; }

.week-bar { display: flex; justify-content: space-between; margin-bottom: 20px; }
.week-day {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 10px; border-radius: var(--r-sm);
  transition: all 150ms;
}
.week-day.active { background: var(--primary); }
.week-day:not(.active) { opacity: 0.3; }
.week-day-num { font-size: 1rem; font-weight: 700; }
.week-day-lbl { font-size: 0.65rem; font-weight: 500; }

.streak-card { display: flex; align-items: center; justify-content: space-between; }
.streak-lbl { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 600; color: var(--primary); }
.streak-val { background: var(--primary); border-radius: var(--r-sm); padding: 6px 22px; font-size: 1.5rem; font-weight: 800; }

.task-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid transparent;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-left-color 200ms;
  animation: fadeUp 0.22s var(--out) both;
  text-align: left;
  width: 100%;
  color: var(--fg);
}
.task-item.done { border-left-color: var(--primary); }

.task-check {
  width: 24px; height: 24px;
  border-radius: 7px;
  border: 1px solid var(--border2);
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 150ms, border-color 150ms;
  color: #fff;
}
.task-item.done .task-check { background: var(--primary); border-color: var(--primary); }

.task-text { font-size: 0.88rem; color: var(--muted); flex: 1; transition: color 150ms; }
.task-item.done .task-text { color: var(--fg); }

.done-banner {
  background: var(--card);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: var(--r);
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  animation: popIn 0.3s var(--spring) both;
}
.done-title { font-size: 1.05rem; font-weight: 700; margin: 8px 0 4px; }
.cd-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 0.82rem; color: var(--muted); }
.cd-time { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--primary); }

.community-wrap {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100dvh - 130px); padding: 20px; text-align: center; gap: 24px;
}
.community-icon {
  width: 80px; height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.community-title { font-size: 1.5rem; font-weight: 800; }
.community-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.6; max-width: 280px; }
.community-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  background: var(--primary); color: #fff;
  border-radius: var(--r);
  font-size: 1rem; font-weight: 700;
  text-decoration: none;
  transition: opacity 150ms, transform 120ms;
}
.community-btn:active { opacity: 0.85; transform: scale(0.97); }

.player-ol {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.38s var(--sheet);
  will-change: transform;
  background-color: #000;
}
.player-ol.open { transform: translateY(0); }
.ph1 { background-image: linear-gradient(to bottom, rgba(127,29,29,0.5) 0%, transparent 45%); }
.ph2 { background-image: linear-gradient(to bottom, rgba(153,27,27,0.6) 0%, transparent 45%); }
.ph3 { background-image: linear-gradient(to bottom, rgba(185,28,28,0.7) 0%, transparent 45%); }

.player-hdr { display: flex; align-items: center; gap: 12px; padding: 52px 16px 12px; flex-shrink: 0; }
.player-back {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--fg); flex-shrink: 0;
  transition: transform 120ms;
}
.player-back:active { transform: scale(0.92); }
.player-info { flex: 1; min-width: 0; }
.player-ex-name { font-size: 1.1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-ex-sub { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }
.player-next-hint { padding: 0 16px 8px; font-size: 0.8rem; color: var(--muted); flex-shrink: 0; min-height: 28px; }

.player-visual { flex: 1; padding: 0 16px; display: flex; align-items: center; justify-content: center; min-height: 0; }
.player-card {
  width: 100%; aspect-ratio: 1; max-height: 55vh;
  border-radius: var(--r); border: 1px solid var(--border);
  background: var(--card); position: relative; overflow: hidden;
}
.player-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  transition: opacity 0.5s ease;
  will-change: opacity;
}
.player-img.hidden { opacity: 0; }

.player-rest-card {
  width: 100%; aspect-ratio: 1; max-height: 55vh;
  border-radius: var(--r); border: 1px solid var(--border);
  background: var(--card);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
}
.rest-timer { font-size: 2.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.rest-hint { font-size: 0.85rem; color: var(--muted); }

.arrow-ol { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.arrow-ol svg { width: 100%; height: 100%; }

.player-controls { padding: 12px 16px calc(20px + env(safe-area-inset-bottom)); flex-shrink: 0; }
.ctrl-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ctrl-btn {
  flex: 1; height: 56px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--fg);
  transition: transform 120ms;
}
.ctrl-btn:active { transform: scale(0.95); }
.ctrl-timer {
  flex: 1; height: 56px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.ctrl-next {
  flex: 1; height: 56px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; color: var(--muted); padding: 0 10px; text-align: center;
}
.player-prog { height: 4px; background: rgba(255,255,255,0.12); border-radius: var(--r-pill); overflow: hidden; }
.player-prog-fill {
  height: 100%; background: var(--primary); border-radius: var(--r-pill);
  transition: width 0.5s var(--smooth); will-change: width;
}

.player-complete {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease both;
}
.complete-circle {
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  animation: popIn 0.4s var(--spring) 0.2s both;
  font-size: 2.2rem; font-weight: 900;
}
.complete-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; animation: fadeUp 0.3s var(--out) 0.4s both; }
.complete-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 32px; animation: fadeUp 0.3s var(--out) 0.5s both; }
.complete-btn { animation: fadeUp 0.3s var(--out) 0.6s both; }

.mb2 { margin-bottom: 8px; }
.mb3 { margin-bottom: 12px; }
.mb4 { margin-bottom: 16px; }
.mb5 { margin-bottom: 20px; }
.mb6 { margin-bottom: 24px; }
.mt2 { margin-top: 8px; }
.mt3 { margin-top: 12px; }
.flex-row { display: flex; align-items: center; }
.gap2 { gap: 8px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tabEnter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes trophyPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes arrDraw { 0% { stroke-dashoffset: 1; opacity: 0.4; } 50% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 1; opacity: 0.4; } }
@keyframes arrBreathe { 0%,100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes arrCirc { 0% { stroke-dashoffset: 1; opacity: 0.3; } 50% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 1; opacity: 0.3; } }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
