/* Official mobile styles — shares neu language with player-mobile */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; background: #2B2344;
  font-family: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.of-phone {
  width: 390px; height: 820px; border-radius: 42px;
  background: var(--bg-canvas);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.5),
    0 0 0 12px #141022,
    0 0 0 14px #2B2344;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.of-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 28px; background: #141022; border-radius: 999px; z-index: 20;
}
.of-statusbar {
  height: 44px; padding: 0 28px; display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 600; color: var(--fg-1); flex-shrink: 0;
}
.of-scroll { flex: 1; overflow-y: auto; padding: 16px 20px 110px; }
.of-scroll::-webkit-scrollbar { display: none; }

.of-tabbar {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  padding: 8px; background: var(--bg-canvas);
  border-radius: 24px; box-shadow: var(--neu-raised-lg);
  display: flex; gap: 4px; z-index: 15;
}
.of-tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 0; border-radius: 16px; color: var(--fg-3); cursor: pointer;
  transition: all 180ms cubic-bezier(0.2,0.7,0.2,1);
  position: relative;
}
.of-tab.active { color: var(--purple-500); box-shadow: var(--neu-inset-sm); }
.of-tab span { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; }
.of-tab .badge {
  position: absolute; top: 6px; right: 22%;
  background: #C64A5B; color: #fff; font-size: 9px; font-weight: 700;
  padding: 1px 5px; border-radius: 999px; min-width: 14px; text-align: center;
}

.of-card {
  background: var(--bg-canvas); border-radius: var(--radius-xl);
  box-shadow: var(--neu-raised-md); padding: 18px;
}
.of-card-lg { border-radius: 28px; box-shadow: var(--neu-raised-lg); padding: 22px; }
.of-pressable { transition: box-shadow 120ms, transform 120ms; cursor: pointer; }
.of-pressable:active { box-shadow: var(--neu-pressed); transform: scale(0.995); }

.of-btn-primary {
  width: 100%; padding: 16px; border: none; border-radius: 18px;
  background: var(--purple-500); color: #fff; font-weight: 600; font-size: 16px;
  font-family: inherit; cursor: pointer; box-shadow: var(--shadow-cta);
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.of-btn-primary:active { transform: scale(0.98); }
.of-btn-primary:disabled { background: var(--clay-200); color: var(--fg-4); box-shadow: none; }

.of-btn-secondary {
  width: 100%; padding: 14px; border: none; border-radius: 16px;
  background: var(--bg-canvas); color: var(--purple-500); font-weight: 600; font-size: 15px;
  font-family: inherit; cursor: pointer; box-shadow: var(--neu-raised-sm);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}

.of-input-well {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px;
  background: var(--bg-canvas); box-shadow: var(--neu-inset-sm);
}
.of-input-well input, .of-input-well .ghost {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 15px; color: var(--fg-1);
  font-variant-numeric: tabular-nums;
}
.of-input-well .unit { color: var(--fg-3); font-size: 13px; font-weight: 600; }
.of-input-label {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-3); margin-bottom: 6px; display: block;
}

.of-stat-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.of-stat-pill .d { width: 6px; height: 6px; border-radius: 999px; }

.of-num { font-variant-numeric: tabular-nums; letter-spacing: -0.015em; font-weight: 600; }
.of-micro {
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg-3);
}
.of-row { display: flex; align-items: center; gap: 12px; }
.of-divider { height: 1px; background: rgba(86,71,135,0.08); margin: 12px 0; }

.of-fade-in { animation: ofFade 360ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes ofFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.of-segment {
  display: flex; padding: 4px; border-radius: 14px;
  background: var(--bg-canvas); box-shadow: var(--neu-inset-sm);
  gap: 4px;
}
.of-segment > div {
  flex: 1; padding: 9px 0; text-align: center;
  font-size: 12.5px; font-weight: 600; border-radius: 10px;
  color: var(--fg-2); cursor: pointer;
}
.of-segment > div.active {
  color: var(--purple-500); background: var(--bg-canvas);
  box-shadow: var(--neu-raised-sm);
}

.of-fab {
  position: absolute; right: 18px; bottom: 100px;
  width: 60px; height: 60px; border-radius: 999px;
  background: var(--purple-500); color: #fff; border: none;
  box-shadow: var(--shadow-cta); cursor: pointer; z-index: 14;
  display: flex; align-items: center; justify-content: center;
}

/* Calendar pip dots */
.of-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.of-cal .day {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--fg-2);
  position: relative; cursor: pointer;
}
.of-cal .day.muted { color: var(--fg-4); }
.of-cal .day.today { color: var(--purple-500); box-shadow: var(--neu-inset-sm); }
.of-cal .day.has::after {
  content: ''; position: absolute; bottom: 6px;
  width: 4px; height: 4px; border-radius: 999px; background: var(--purple-500);
}
.of-cal .day.selected { background: var(--purple-500); color: #fff; box-shadow: var(--shadow-cta); }
.of-cal .head { font-size: 10px; color: var(--fg-3); font-weight: 600; text-align: center; padding: 6px 0; text-transform: uppercase; letter-spacing: 0.06em; }

.of-position-row {
  display: grid; grid-template-columns: 36px 1fr auto;
  align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(86,71,135,0.08);
}
.of-position-row:last-child { border-bottom: none; }
.of-position-row .ico {
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--bg-canvas); box-shadow: var(--neu-inset-sm);
  display: flex; align-items: center; justify-content: center; color: var(--purple-500);
}
