/* src/styles.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #000;
  background: #fff;
  font-family: SF Mono, Monaco, Inconsolata, Roboto Mono, monospace;
  font-size: 13px;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

header {
  margin-bottom: 80px;
}

h1 {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #999;
  font-size: 13px;
  font-weight: 400;
}

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

@media (width <= 800px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .container {
    padding: 40px 24px;
  }
}

section h2 {
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #999;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
  padding-bottom: 12px;
  font-size: 11px;
  font-weight: 400;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.item {
  display: block;
}

.title {
  color: #000;
  margin-bottom: 12px;
  font-weight: 500;
}

.outcomes {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.outcome {
  display: flex;
  color: #666;
  justify-content: space-between;
}

.price {
  color: #000;
  font-weight: 500;
}

.more {
  color: #ccc;
  margin-top: 4px;
  font-size: 11px;
}

.status {
  display: flex;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .1em;
  justify-content: center;
  align-items:  center;
  height: 100vh;
  font-size: 11px;
}

.status.error {
  color: #c00;
}

.tabs {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}

.tabs button {
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 1px solid #0000;
  padding: 8px 0;
  font-family: inherit;
  font-size: 11px;
}

.tabs button:hover {
  color: #666;
}

.tabs button.active {
  color: #000;
  border-bottom-color: #000;
}

.controls {
  display: flex;
  border-bottom: 1px solid #eee;
  align-items:  center;
  gap: 24px;
  margin-bottom: 40px;
  padding-bottom: 16px;
}

.controls label {
  display: flex;
  color: #666;
  text-transform: uppercase;
  letter-spacing: .1em;
  align-items:  center;
  gap: 12px;
  font-size: 11px;
}

.controls input[type="range"] {
  width: 120px;
}

.match-count {
  color: #999;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.match-card {
  border: 1px solid #eee;
  padding: 20px;
}

.match-header {
  display: flex;
  text-transform: uppercase;
  letter-spacing: .1em;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 11px;
}

.similarity {
  color: #666;
}

.price-diff {
  color: #999;
}

.price-diff.significant {
  color: #c00;
  font-weight: 500;
}

.match-markets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (width <= 600px) {
  .match-markets {
    grid-template-columns: 1fr;
  }
}

.match-market {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.platform-label {
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #999;
  margin-bottom: 4px;
  font-size: 10px;
}

.market-title {
  color: #000;
  font-weight: 500;
}

.market-subtitle {
  color: #666;
  font-size: 12px;
}

.market-price {
  color: #000;
  margin-top: 4px;
  font-weight: 500;
}

.section-title {
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #999;
  margin-bottom: 24px;
  font-size: 11px;
  font-weight: 400;
}

.game-title {
  color: #000;
  font-weight: 500;
}

.volume {
  color: #666;
  margin-bottom: 8px;
  font-size: 11px;
}

.trader-info {
  display: flex;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: #f8f8f8;
  align-items:  center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px 20px;
  font-size: 11px;
}

.trader-label {
  color: #999;
}

.trader-name {
  color: #000;
  font-weight: 500;
}

.trader-pnl {
  margin-left: auto;
}

.trader-pnl.positive {
  color: #080;
}

.trader-vol {
  color: #666;
}

.trader-bet {
  text-transform: uppercase;
  letter-spacing: .1em;
  background: #f0f0f0;
  padding: 4px 8px;
  font-size: 10px;
}

.trader-bet.positive {
  color: #080;
  background: #e8f5e8;
}

.trader-bet.negative {
  color: #c00;
  background: #fde8e8;
}
