/* [project]/apps/web/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #090b12;
  --surface: #11151f;
  --surface-2: #181d29;
  --surface-3: #202635;
  --border: #2b3242;
  --border-soft: #202635;
  --text: #f7f8fa;
  --muted: #929bad;
  --accent: #f6c945;
  --accent-ink: #171303;
  --up: #42d990;
  --up-soft: #153c2c;
  --down: #ff6577;
  --down-soft: #451f2a;
  --info: #66a7ff;
  --max-width: 760px;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
}

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
}

button, a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
}

a {
  text-decoration: none;
}

.app-shell {
  min-height: 100dvh;
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}

.app-header {
  border-bottom: 1px solid var(--border-soft);
  height: calc(62px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 18px 0;
  z-index: 20;
  background: #090b12f0;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: sticky;
  top: 0;
}

.app-header > * {
  flex-shrink: 0;
}

.wordmark {
  cursor: pointer;
  background: none;
  align-items: center;
  gap: 8px;
  padding: 0;
  font-size: 20px;
  font-weight: 850;
  display: flex;
}

.brand-mark {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 31px;
  height: 31px;
  display: inline-flex;
}

.header-actions, .connection {
  align-items: center;
  display: flex;
}

.header-actions {
  gap: 12px;
}

.connection {
  color: var(--up);
  gap: 6px;
  font-size: 12px;
  font-weight: 750;
}

.connection-dot {
  background: currentColor;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px #42d99017;
}

.connection.offline {
  color: var(--down);
}

.avatar-button {
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--accent);
  cursor: pointer;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 11px;
  font-weight: 850;
}

.view {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.play-view {
  gap: 12px;
  padding: 12px;
  display: grid;
}

.round-bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 11px 13px;
  display: grid;
}

.round-identity {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.asset-icon {
  color: #fff;
  background: #8b74ff;
  border-radius: 50%;
  flex: 0 0 39px;
  justify-content: center;
  align-items: center;
  height: 39px;
  font-size: 9px;
  font-weight: 900;
  display: flex;
}

.eyebrow {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  line-height: 1.3;
}

.round-number {
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 750;
  overflow: hidden;
}

.round-times {
  text-align: right;
  gap: 3px;
  display: grid;
}

.round-times span {
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.round-times small {
  color: var(--muted);
  font-size: 10px;
}

.countdown {
  border-left: 1px solid var(--border);
  text-align: right;
  min-width: 74px;
  padding-left: 13px;
  display: grid;
}

.countdown span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.countdown strong {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-size: 21px;
  line-height: 1.1;
}

.countdown.closing strong {
  color: var(--down);
}

.market-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 16px 15px 12px;
  overflow: hidden;
}

.price-header {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.live-label {
  color: var(--up);
  align-items: center;
  gap: 5px;
  display: flex;
}

.current-price {
  margin-top: 7px;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.price-change {
  grid-template-columns: auto auto;
  place-items: flex-end end;
  margin-top: 16px;
  display: grid;
}

.price-change svg {
  grid-row: 1;
}

.price-change strong {
  grid-row: 1;
  font-size: 15px;
}

.price-change span {
  color: var(--muted);
  grid-column: 1 / 3;
  margin-top: 2px;
  font-size: 11px;
}

.price-change.up, .direction-copy.up {
  color: var(--up);
}

.price-change.down, .direction-copy.down {
  color: var(--down);
}

.chart {
  color: var(--up);
  height: 226px;
  margin: 14px -2px 0;
  position: relative;
}

.chart.down {
  color: var(--down);
}

.chart svg {
  width: 100%;
  height: 210px;
  overflow: visible;
}

.grid-lines line {
  stroke: var(--border-soft);
  stroke-width: 1px;
}

.start-line {
  stroke: #c6cad3;
  stroke-dasharray: 5 6;
  stroke-opacity: .65;
  stroke-width: 1px;
}

.price-line {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3px;
}

.last-point {
  fill: var(--surface);
  stroke: currentColor;
  stroke-width: 4px;
}

.start-label {
  background: var(--surface-3);
  color: #c6cad3;
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 8px;
  font-weight: 850;
  position: absolute;
  left: 5px;
  transform: translateY(-50%);
}

.time-axis {
  color: var(--muted);
  justify-content: space-between;
  width: 100%;
  font-size: 9px;
  display: flex;
  position: absolute;
  bottom: 0;
}

.chart-footer {
  border-top: 1px solid var(--border-soft);
  justify-content: space-between;
  align-items: center;
  padding-top: 11px;
  font-size: 11px;
  display: flex;
}

.chart-footer > span {
  color: var(--muted);
}

.chart-footer strong {
  color: var(--text);
}

.direction-copy {
  align-items: center;
  gap: 4px;
  font-weight: 750;
  display: flex;
}

.prediction-zone {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 15px;
}

.prediction-heading {
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 13px;
  display: flex;
}

.prediction-heading h1 {
  margin: 3px 0 0;
  font-size: 18px;
}

.streak-chip {
  color: var(--accent);
  background: #352914;
  border: 1px solid #5a4721;
  border-radius: 5px;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 750;
  display: flex;
}

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

.prediction-button {
  cursor: pointer;
  text-align: left;
  border-radius: 7px;
  align-items: center;
  gap: 11px;
  min-height: 68px;
  padding: 11px 13px;
  transition: transform .14s, border-color .14s;
  display: flex;
}

.prediction-button:not(:disabled):active {
  transform: scale(.98);
}

.prediction-button.up {
  background: var(--up-soft);
  color: var(--up);
  border: 1px solid #28704f;
}

.prediction-button.down {
  background: var(--down-soft);
  color: var(--down);
  border: 1px solid #7b3342;
}

.prediction-button > span {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.prediction-button strong {
  font-size: 13px;
}

.prediction-button small {
  color: #c1c6cf;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  overflow: hidden;
}

.prediction-button:disabled {
  cursor: default;
  opacity: .48;
}

.prediction-button.selected {
  opacity: 1;
  box-shadow: inset 0 0 0 2px;
}

.prediction-status {
  color: var(--muted);
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding-top: 9px;
  font-size: 10px;
  display: flex;
}

.prediction-status.locked {
  color: var(--accent);
}

.spin {
  animation: .9s linear infinite spin;
}

.active-prediction-banner {
  color: var(--info);
  background: #1a2130;
  border: 1px solid #2e405e;
  border-radius: 7px;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  display: flex;
}

.active-prediction-banner div {
  gap: 2px;
  display: grid;
}

.active-prediction-banner strong {
  text-transform: uppercase;
  font-size: 12px;
}

.active-prediction-banner span {
  color: #b8c4d5;
  font-size: 10px;
}

.result-banner {
  border: 1px solid;
  border-radius: 7px;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  display: flex;
}

.result-banner div {
  gap: 2px;
  display: grid;
}

.result-banner strong {
  text-transform: uppercase;
  font-size: 13px;
}

.result-banner span {
  color: #c5cad3;
  font-size: 10px;
}

.result-banner.won {
  background: var(--up-soft);
  color: var(--up);
  border-color: #28704f;
}

.result-banner.lost {
  background: var(--down-soft);
  color: var(--down);
  border-color: #7b3342;
}

.result-banner.void {
  color: var(--info);
  background: #1a2130;
  border-color: #2e405e;
}

.bottom-nav {
  border-top: 1px solid var(--border);
  height: calc(68px + env(safe-area-inset-bottom));
  padding: 4px max(10px, calc((100vw - var(--max-width)) / 2)) env(safe-area-inset-bottom);
  z-index: 30;
  background: #11151ff7;
  grid-template-columns: repeat(4, 1fr);
  display: grid;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}

.bottom-nav button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  position: relative;
}

.bottom-nav button.active {
  color: var(--accent);
}

.bottom-nav button.active:before {
  background: var(--accent);
  content: "";
  border-radius: 0 0 3px 3px;
  width: 30px;
  height: 3px;
  position: absolute;
  top: -4px;
}

.content-view {
  gap: 16px;
  padding: 24px 14px;
  display: grid;
}

.view-heading > span, .profile-hero > div > span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
}

.view-heading h1, .profile-hero h1 {
  margin: 4px 0 5px;
  font-size: 28px;
}

.view-heading p, .profile-hero p {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.summary-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  grid-template-columns: repeat(3, 1fr);
  padding: 13px 0;
  display: grid;
}

.summary-strip div {
  border-right: 1px solid var(--border);
  gap: 4px;
  padding: 0 16px;
  display: grid;
}

.summary-strip div:last-child {
  border: 0;
}

.summary-strip span {
  color: var(--muted);
  font-size: 10px;
}

.summary-strip strong {
  font-size: 19px;
}

.list-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}

.history-row {
  border-bottom: 1px solid var(--border-soft);
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 10px 13px;
  display: grid;
}

.history-row:last-child {
  border: 0;
}

.direction-icon {
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  width: 37px;
  height: 37px;
  display: flex;
}

.direction-icon.up {
  background: var(--up-soft);
  color: var(--up);
}

.direction-icon.down {
  background: var(--down-soft);
  color: var(--down);
}

.history-main, .outcome {
  gap: 4px;
  display: grid;
}

.history-main strong {
  text-transform: uppercase;
  font-size: 12px;
}

.history-main span, .outcome span {
  color: var(--muted);
  font-size: 9px;
}

.outcome {
  justify-items: end;
}

.outcome strong, .latest-call > b {
  text-transform: uppercase;
  font-size: 10px;
}

.outcome.won strong, .latest-call > b.won {
  color: var(--up);
}

.outcome.lost strong, .latest-call > b.lost {
  color: var(--down);
}

.outcome.void strong, .latest-call > b.void {
  color: var(--info);
}

.outcome.pending strong, .latest-call > b.pending {
  color: var(--accent);
}

.load-more {
  background: var(--surface-3);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 6px;
  align-self: center;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 750;
  display: flex;
}

.load-more:disabled {
  cursor: default;
  opacity: .6;
}

.data-state {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
  border-radius: 7px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 150px;
  padding: 24px;
  display: flex;
}

.data-state > span {
  font-size: 11px;
  line-height: 1.5;
}

.data-state > button {
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  border-radius: 6px;
  min-height: 38px;
  padding: 0 14px;
  font-size: 11px;
  font-weight: 800;
}

.metric-tabs {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  grid-template-columns: repeat(2, 1fr);
  padding: 4px;
  display: grid;
}

.metric-tabs button {
  color: var(--muted);
  cursor: pointer;
  background: none;
  border-radius: 5px;
  min-height: 40px;
  font-size: 11px;
  font-weight: 800;
}

.metric-tabs button.active {
  background: var(--surface-3);
  color: var(--accent);
}

.podium {
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 8px;
  min-height: 190px;
  padding-top: 12px;
  display: grid;
}

.podium-player {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px 7px 0 0;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
  padding: 17px 5px 0;
  display: flex;
  position: relative;
}

.podium-player svg {
  color: #a9b2c3;
}

.podium-player strong {
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 11px;
  overflow: hidden;
}

.podium-player span {
  color: var(--muted);
  font-size: 9px;
}

.podium-player b {
  color: var(--muted);
  font-size: 22px;
  position: absolute;
  bottom: 8px;
}

.podium-player.place-1 {
  border-color: #665526;
  height: 185px;
}

.podium-player.place-1 svg, .podium-player.place-1 b {
  color: var(--accent);
}

.podium-player.place-2 {
  height: 153px;
}

.podium-player.place-3 {
  height: 132px;
}

.leader-row {
  border-bottom: 1px solid var(--border-soft);
  grid-template-columns: 28px 34px minmax(0, 1fr) auto 35px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 12px;
  display: grid;
}

.leader-row:last-child {
  border: 0;
}

.leader-row > b {
  color: var(--muted);
  font-size: 11px;
}

.mini-avatar {
  background: var(--surface-3);
  color: var(--accent);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  font-size: 9px;
  font-weight: 850;
  display: flex;
}

.leader-row > strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  overflow: hidden;
}

.leader-row > span:not(.mini-avatar) {
  font-size: 10px;
  font-weight: 750;
}

.leader-row small {
  color: var(--muted);
  justify-content: flex-end;
  align-items: center;
  gap: 2px;
  font-size: 9px;
  display: flex;
}

.current-player {
  background: #242315;
}

.current-player em {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 3px;
  padding: 2px 3px;
  font-size: 7px;
  font-style: normal;
}

.profile-hero {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 15px;
  padding-bottom: 20px;
  display: flex;
}

.profile-avatar {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
  flex: 0 0 62px;
  justify-content: center;
  align-items: center;
  height: 62px;
  font-size: 19px;
  font-weight: 900;
  display: flex;
}

.profile-hero h1 {
  font-size: 23px;
}

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

.stat-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  gap: 6px;
  min-height: 111px;
  padding: 14px;
  display: grid;
}

.stat-tile svg {
  color: var(--muted);
}

.stat-tile span {
  color: var(--muted);
  font-size: 10px;
}

.stat-tile strong {
  font-size: 23px;
}

.stat-tile strong.rank-pair {
  font-size: 15px;
  line-height: 1.35;
}

.stat-tile.accent {
  background: #242315;
  border-color: #5c5027;
}

.stat-tile.accent svg, .stat-tile.accent strong {
  color: var(--accent);
}

.profile-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 14px;
}

.section-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

.section-heading h2 {
  margin: 0;
  font-size: 13px;
}

.section-heading span {
  color: var(--muted);
  font-size: 9px;
}

.latest-call {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  display: grid;
}

.latest-call > div {
  gap: 4px;
  display: grid;
}

.latest-call strong {
  text-transform: uppercase;
  font-size: 11px;
}

.latest-call small {
  color: var(--muted);
  font-size: 9px;
}

.profile-empty {
  color: var(--muted);
  padding: 8px 0;
  font-size: 11px;
  display: block;
}

.loading-shell {
  min-height: 100dvh;
  padding: env(safe-area-inset-top) 20px env(safe-area-inset-bottom);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  display: flex;
}

.loading-shell strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.loading-emblem {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  width: 82px;
  height: 82px;
  animation: 1.35s linear infinite spin;
  display: flex;
  box-shadow: 0 0 0 8px #f6c94514;
}

.gate-shell {
  min-height: 100dvh;
  padding: calc(24px + env(safe-area-inset-top)) 20px calc(18px + env(safe-area-inset-bottom));
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.gate-brand {
  align-items: center;
  gap: 9px;
  font-size: 21px;
  display: flex;
}

.gate-content {
  text-align: center;
  flex-direction: column;
  align-items: center;
  max-width: 380px;
  display: flex;
}

.gate-icon {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  display: flex;
}

.gate-content h1 {
  margin: 7px 0 9px;
  font-size: 27px;
}

.gate-content p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.gate-action {
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 45px;
  margin-top: 22px;
  padding: 0 17px;
  font-weight: 800;
  display: flex;
}

.gate-footnote {
  color: var(--muted);
  font-size: 10px;
}

.empty-state {
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  border-radius: 7px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 30px;
  display: flex;
}

.empty-state > span {
  color: var(--down);
}

.empty-state h2 {
  margin: 12px 0 7px;
  font-size: 20px;
}

.empty-state p {
  color: var(--muted);
  max-width: 330px;
  font-size: 12px;
  line-height: 1.5;
}

.empty-state button {
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  border-radius: 6px;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 14px;
  font-weight: 750;
  display: flex;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-emblem, .spin {
    animation: none;
  }

  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media (max-width: 520px) {
  .app-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .round-bar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .round-times {
    display: none;
  }

  .current-price {
    font-size: 32px;
  }

  .chart {
    height: 206px;
  }

  .chart svg {
    height: 190px;
  }

  .prediction-button {
    min-height: 72px;
    padding: 9px;
  }

  .prediction-button > svg {
    flex: none;
  }

  .prediction-heading h1 {
    font-size: 16px;
  }
}

@media (max-width: 350px) {
  .wordmark {
    font-size: 17px;
  }

  .connection span {
    display: none;
  }

  .play-view {
    padding: 9px;
  }

  .prediction-buttons {
    grid-template-columns: 1fr;
  }

  .prediction-button {
    min-height: 58px;
  }

  .leader-row {
    grid-template-columns: 24px 30px minmax(0, 1fr) auto;
  }

  .leader-row small {
    display: none;
  }
}

@media (min-width: 840px) {
  .app-shell {
    border-left: 1px solid var(--border-soft);
    border-right: 1px solid var(--border-soft);
    max-width: 820px;
    margin: 0 auto;
  }

  .app-header {
    max-width: 820px;
    margin: 0 auto;
  }

  .play-view {
    padding: 18px 30px;
  }

  .content-view {
    padding: 32px 30px;
  }
}

/*# sourceMappingURL=apps_web_app_globals_1lkgh9-.css.map*/