/* __ Reset & Base __ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  overflow: hidden;
  position: fixed;
  width: 100%;
  overscroll-behavior: none;
}

body {
  font-family: Outfit, system-ui, sans-serif;
  background: #0a0a1a;
  color: #f0f0ff;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  top: -100px; left: -100px;
}

.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, #0ea5e9, transparent 70%);
  bottom: -80px; right: -80px;
  animation-delay: -5s;
}

.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, #f43f5e, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -9s;
  animation-duration: 18s;
}

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-20px, 40px) scale(0.95); }
}

.glass-card {
  width: 100%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

/* Top-Bar */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(env(safe-area-inset-top) + 18px) 20px 16px;
  background: rgba(10,10,26,0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-title {
  flex: 1;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #f0f0ff;
}

.topbar-title .accent {
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-badge {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: white;
  box-shadow: 0 3px 12px rgba(124,58,237,0.5);
  flex-shrink: 0;
}

.logo-badge.large  { width: 48px; height: 48px; border-radius: 14px; font-size: 0.8rem; }
.logo-badge.xlarge { width: 64px; height: 64px; border-radius: 18px; font-size: 1rem; }

/* Burger Button */
#menu-btn {
  width: 40px; height: 40px;
  border: none;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  transition: background 0.2s;
}

#menu-btn:active { background: rgba(255,255,255,0.15); }

#menu-btn span {
  display: block;
  width: 18px; height: 2px;
  background: rgba(255,255,255,0.75);
  border-radius: 2px;
}

/* Menu Overlay */
#menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#menu-overlay.open { opacity: 1; pointer-events: all; }

/* Side Menu */
#side-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 300;
  width: 280px;
  background: rgba(14,14,32,0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-right: 1px solid rgba(255,255,255,0.1);
  padding: max(20px, env(safe-area-inset-top)) 0 max(20px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.25,0.46,0.45,0.94);
  box-shadow: 4px 0 32px rgba(0,0,0,0.4);
}

#side-menu.open { transform: translateX(0); }

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}

.menu-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
}

.menu-logo strong { font-weight: 900; color: #f0f0ff; }

#menu-close {
  width: 34px; height: 34px;
  border: none;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s;
}

#menu-close:active { background: rgba(255,255,255,0.14); color: white; }

.menu-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 12px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: background 0.18s, color 0.18s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-item:active  { background: rgba(255,255,255,0.06); }
.menu-item.active  { background: rgba(124,58,237,0.2); color: #f0f0ff; font-weight: 600; }

.menu-icon { font-size: 1.2rem; width: 28px; text-align: center; flex-shrink: 0; }

/* Page System */
.page {
  display: none;
  position: fixed;
  inset: 0;
  padding-top: calc(env(safe-area-inset-top) + 78px);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1;
}

.page.active { display: flex; }

/* Game Page */
#page-game { align-items: center; justify-content: center; cursor: pointer; }

.game-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
  max-width: 380px;
  padding: 16px 24px;
}

.timer-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

/* Timer Wrap */
.timer-wrap {
  position: relative;
  width: 260px; height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#timer-ring {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

#timer-ring svg { width: 100%; height: 100%; }
#timer-ring.active { opacity: 1; }

.ring-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 4; }

.ring-fg {
  fill: none;
  stroke: url(#ringGrad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 628.3;
  stroke-dashoffset: 628.3;
  transform: rotate(-90deg);
  transform-origin: 110px 110px;
  transition: stroke-dashoffset 0.05s linear;
}

#timer-display {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 1px;
  font-family: Outfit, sans-serif;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: transform 0.08s ease;
  line-height: 1;
}

#timer-display:active { transform: scale(0.94); }

#timer-seconds {
  font-size: 5.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #f0f0ff;
  transition: color 0.3s;
  font-variant-numeric: tabular-nums;
}

.timer-dot { font-size: 4.5rem; font-weight: 900; color: rgba(255,255,255,0.3); margin: 0 1px; }

#timer-centis {
  font-size: 3.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}

.timer-unit {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,0.3);
  margin-left: 4px;
  align-self: flex-end;
  margin-bottom: 10px;
}

#timer-display.running #timer-seconds { color: #a78bfa; }
#timer-display.running #timer-centis  { color: rgba(167,139,250,0.6); }
#timer-display.success #timer-seconds { color: #34d399; }
#timer-display.success #timer-centis  { color: rgba(52,211,153,0.7); }
#timer-display.success .timer-dot     { color: rgba(52,211,153,0.5); }

.status-text {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  text-align: center;
  min-height: 1.4em;
  transition: color 0.3s;
}

.status-text.highlight { color: #a78bfa; }
.status-text.success   { color: #34d399; }
.status-text.error     { color: #f87171; }

.attempt-badge { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; }
.attempt-badge .attempt-num { font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,0.65); }

/* Name Card */
.name-card { display: flex; flex-direction: column; gap: 14px; max-width: 340px; cursor: default; }

#name-prompt { font-size: 1rem; font-weight: 600; color: #34d399; text-align: center; }

.input-row { display: flex; gap: 10px; }

#name-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  color: #f0f0ff;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

#name-input::placeholder { color: rgba(255,255,255,0.25); }
#name-input:focus { border-color: rgba(167,139,250,0.6); background: rgba(255,255,255,0.12); }

#name-submit {
  width: 48px; height: 48px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.1s, opacity 0.1s;
  box-shadow: 0 4px 14px rgba(124,58,237,0.4);
}

#name-submit:active { transform: scale(0.92); opacity: 0.85; }

/* Scrollable sub-pages */
.page-content {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding: 24px 20px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-content::-webkit-scrollbar { display: none; }

#page-stats,
#page-install,
#page-about,
#page-settings { overflow-y: auto; -webkit-overflow-scrolling: touch; justify-content: flex-start; }

#page-highscore {
  overflow: hidden;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: column;
}

.hs-fixed-top {
  flex-shrink: 0;
  padding: 24px 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

#page-highscore .page-content {
  flex: 1;
  min-height: 0;
  padding-top: 0;
  align-self: stretch;
}

.page-header { display: flex; align-items: center; gap: 12px; padding: 0 4px 4px; }
.page-icon   { font-size: 1.6rem; line-height: 1; }
.page-header h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: #f0f0ff; }

/* Highscore tabs */
.hs-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}
.hs-tabs::-webkit-scrollbar { display: none; }

.hs-tab {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.45);
  font-family: Outfit, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.hs-tab.active {
  background: linear-gradient(135deg, rgba(124,58,237,0.55), rgba(14,165,233,0.45));
  border-color: rgba(167,139,250,0.55);
  color: #fff;
}

/* Highscore */
.highscore-card { padding: 20px; }

#highscore-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }

#highscore-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 0.95rem;
}

#highscore-list li .hs-rank { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.3); width: 20px; text-align: center; flex-shrink: 0; }
#highscore-list li .hs-name { flex: 1; font-weight: 600; color: #f0f0ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#highscore-list li .hs-score { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.4); flex-shrink: 0; }

#highscore-list li:first-child { background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(14,165,233,0.15)); border-color: rgba(167,139,250,0.3); }
#highscore-list li:first-child .hs-rank  { color: #fbbf24; }
#highscore-list li:first-child .hs-name  { color: #fff; }
#highscore-list li:first-child .hs-score { color: #a78bfa; }
#highscore-list li:nth-child(2) .hs-rank { color: #94a3b8; }
#highscore-list li:nth-child(3) .hs-rank { color: #b45309; }

.empty { justify-content: center; color: rgba(255,255,255,0.25) !important; font-size: 0.9rem !important; font-weight: 400 !important; border: none !important; background: none !important; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.stat-card { padding: 20px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }

.stat-value { font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; background: linear-gradient(135deg, #a78bfa, #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-variant-numeric: tabular-nums; }

.stat-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); text-transform: uppercase; }

.danger-btn {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(244,63,94,0.3);
  background: rgba(244,63,94,0.1);
  color: rgba(251,113,133,0.85);
  font-family: Outfit, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s;
}

.danger-btn:active { background: rgba(244,63,94,0.22); color: #fb7185; }

/* Per-difficulty stats */
.diff-stats-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }

.diff-stats-list { display: flex; flex-direction: column; gap: 10px; }

.diff-stat-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, border-color 0.2s;
}

.diff-stat-row.current {
  background: rgba(124,58,237,0.12);
  border-color: rgba(167,139,250,0.25);
}

.diff-stat-header { display: flex; align-items: center; gap: 8px; }

.diff-stat-name { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.75); flex: 1; }
.diff-stat-row.current .diff-stat-name { color: #fff; }

.diff-stat-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  background: rgba(124,58,237,0.25);
  color: #a78bfa;
}
.diff-stat-row.godmode .diff-stat-badge { background: rgba(251,191,36,0.15); color: #fbbf24; }

.diff-stat-nums { display: flex; gap: 6px; }

.diff-stat-num {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}

.dsn-val {
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
}

.diff-stat-row.godmode .dsn-val {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
}

.dsn-lbl { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.3); }

/* Settings */
.settings-card { padding: 20px; display: flex; flex-direction: column; gap: 16px; }

.settings-section-title { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }

.settings-hint { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

.current-diff-display { display: flex; align-items: center; gap: 12px; padding: 8px 0; }

#current-diff-name { font-size: 1.2rem; font-weight: 700; color: #fff; }

.current-diff-ms {
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.difficulty-list { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }

.difficulty-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.difficulty-item.active {
  background: rgba(124,58,237,0.18);
  border-color: rgba(167,139,250,0.4);
}

.difficulty-item input[type="radio"] { display: none; }

.diff-info { display: flex; flex-direction: column; flex: 1; gap: 3px; }

.diff-name { font-size: 0.95rem; font-weight: 600; color: rgba(255,255,255,0.65); }
.difficulty-item.active .diff-name { color: #fff; }

.diff-ms { font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.3); }
.difficulty-item.active .diff-ms { color: #a78bfa; }

.diff-check { font-size: 1rem; color: #a78bfa; opacity: 0; transition: opacity 0.18s; }
.difficulty-item.active .diff-check { opacity: 1; }

.difficulty-item.godmode.active { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.4); }
.difficulty-item.godmode.active .diff-name { color: #fef3c7; }
.difficulty-item.godmode.active .diff-ms { color: #fbbf24; }
.difficulty-item.godmode.active .diff-check { color: #fbbf24; }

/* Install */
.install-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.install-os-title { font-size: 1rem; font-weight: 700; color: #f0f0ff; }

.install-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.step-num {
  min-width: 28px; height: 28px;
  background: rgba(124,58,237,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #a78bfa;
  flex-shrink: 0;
  margin-top: 1px;
}

.install-step strong { color: rgba(255,255,255,0.88); font-weight: 700; }

.install-step code {
  font-family: Outfit, monospace;
  background: rgba(255,255,255,0.1);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 0.84rem;
  color: #38bdf8;
  white-space: nowrap;
}

.install-cta {
  width: 100%;
  padding: 16px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  color: white;
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s, transform 0.1s;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}

.install-cta:active { opacity: 0.85; transform: scale(0.98); }

.ios-hint { width: 100%; text-align: center; font-size: 0.9rem; color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 14px 16px; line-height: 1.7; }
.ios-hint strong { color: rgba(255,255,255,0.75); font-weight: 700; }

/* About */
.about-card { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.about-logo { display: flex; align-items: center; gap: 16px; }
.about-name { font-size: 1.4rem; font-weight: 900; color: #f0f0ff; }
.about-version { font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.35); margin-top: 2px; }
.about-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 0 -4px; }
.about-section h3 { font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
.about-section p { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.about-section p strong { color: rgba(255,255,255,0.8); }
.about-section code { font-family: Outfit, monospace; background: rgba(255,255,255,0.1); padding: 1px 6px; border-radius: 5px; font-size: 0.82rem; color: #38bdf8; }

/* Utils */
.hidden { display: none !important; }

@keyframes pulse-success {
  0%, 100% { filter: drop-shadow(0 0 0px #34d399); }
  50%       { filter: drop-shadow(0 0 18px #34d399); }
}

.timer-wrap.pulse #timer-display { animation: pulse-success 0.7s ease 2; }
