* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  background: #0a0e17;
  color: #c8d6e5;
  min-height: 100vh;
  padding: 24px;
}
h1 { font-size: 18px; color: #f5a623; margin-bottom: 4px; letter-spacing: 1px; }
.subtitle { font-size: 12px; color: #576574; margin-bottom: 24px; }

.futures-price {
  display: inline-block;
  background: #1a1f2e;
  border: 1px solid #2d3548;
  border-radius: 6px;
  padding: 10px 18px;
  margin-bottom: 24px;
}
.futures-price .label { font-size: 11px; color: #576574; text-transform: uppercase; }
.futures-price .value { font-size: 28px; color: #48dbfb; font-weight: bold; }

.summary {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.summary-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 8px;
  padding: 12px 18px;
  min-width: 120px;
}
.summary-card .sc-label { font-size: 10px; color: #576574; text-transform: uppercase; letter-spacing: 1px; }
.summary-card .sc-value { font-size: 20px; font-weight: bold; margin-top: 4px; }
.summary-card .sc-value.pos { color: #10b981; }
.summary-card .sc-value.neg { color: #ef4444; }
.summary-card .sc-value.neu { color: #48dbfb; }

.section-title {
  font-size: 12px;
  color: #576574;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Matrix table */
.table-wrap { overflow-x: auto; margin-bottom: 28px; }

table.matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 500px;
}
table.matrix th {
  text-align: center;
  padding: 6px 12px;
  background: #1a1f2e;
  color: #576574;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 1px;
}
table.matrix th.th-strike {
  background: #1e2536;
  color: #8395a7;
  min-width: 100px;
}
table.matrix td {
  padding: 6px 12px;
  border-bottom: 1px solid #1a1f2e;
  text-align: center;
}
table.matrix tr:hover td { background: #1a1f2e40; }

.strike-cell {
  font-weight: bold;
  color: #8395a7;
  background: #141a28;
}
.strike-cell.itm { color: #f5a623; background: #f5a62315; }
.strike-cell.futures { color: #48dbfb; background: #48dbfb20; }

.itm-cell { background-color: rgba(245, 166, 35, 0.25) !important; }
.border-top td { border-top: 3px solid #48dbfb !important; }
.border-bottom td { border-bottom: 3px solid #48dbfb !important; }

.net-qty { font-weight: bold; }
.positive { color: #10b981; }
.negative { color: #ef4444; }
.neutral { color: #2d3548; }

@media (max-width: 600px) {
  body { padding: 12px; }
  h1 { font-size: 15px; }
  .futures-price .value { font-size: 22px; }
  .summary { gap: 8px; }
  .summary-card { min-width: 0; flex: 1; padding: 8px 10px; }
  .summary-card .sc-value { font-size: 16px; }
  table.matrix { font-size: 11px; min-width: 320px; }
  table.matrix th,
  table.matrix td { padding: 5px 6px; }
  table.matrix th { font-size: 9px; }
}
