/**
 * poker-odds.css — mobile first
 */
#btf-odds-calc { margin: 0; }

/* Presets */
.oc-presets {
  display: flex; flex-wrap: nowrap; gap: 6px; margin-bottom: 16px;
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  mask-image: linear-gradient(to right, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
}
.oc-presets::-webkit-scrollbar { display: none; }
.oc-preset {
  padding: 5px 12px; border-radius: 100px; border: 1px solid var(--rule);
  background: var(--bg); font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem; font-weight: 600; color: var(--ink3);
  cursor: pointer; transition: all 0.15s; white-space: nowrap; flex-shrink: 0;
}
.oc-preset:hover { border-color: var(--felt); color: var(--felt); background: var(--felt-bg); }

/* Hands */
.oc-hands { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.oc-hand {
  background: var(--bg); border: 2px solid var(--rule); border-radius: var(--radius-sm);
  padding: 12px; text-align: center; cursor: pointer; transition: border-color 0.15s;
}
.oc-hand.oc-active { border-color: var(--felt); box-shadow: 0 0 0 3px var(--felt-bg); }
.oc-hand-label {
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--ink4); margin-bottom: 6px;
}
.oc-hand-cards { display: flex; justify-content: center; gap: 4px; }
.oc-chip {
  font-family: 'JetBrains Mono', monospace; font-size: 1rem; font-weight: 800;
  padding: 3px 7px; background: var(--surface); border: 1px solid var(--rule);
  border-radius: 5px;
}
.oc-empty { font-size: 1rem; color: var(--ink4); padding: 3px 7px; }
.oc-pct {
  font-family: 'JetBrains Mono', monospace; font-size: 1.4rem; font-weight: 800;
  margin-top: 6px; color: var(--ink3);
}
.oc-pct-win { color: var(--felt); }
.oc-pct-lose { color: var(--red); }

/* Equity bar */
.oc-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--bg2); margin-bottom: 4px; }
.oc-bar-p0 { background: var(--felt); transition: width 0.4s; }
.oc-bar-tie { background: #D4A017; transition: width 0.4s; }
.oc-bar-p1 { background: var(--red); transition: width 0.4s; }
.oc-bar-labels {
  display: flex; justify-content: space-between; margin-bottom: 14px;
  font-size: 0.7rem; font-weight: 600; font-family: 'JetBrains Mono', monospace; color: var(--ink4);
}

/* Board */
.oc-board {
  display: flex; align-items: center; gap: 6px; padding: 10px 12px;
  background: var(--bg); border: 2px solid var(--rule); border-radius: var(--radius-sm);
  margin-bottom: 14px; cursor: pointer; transition: border-color 0.15s;
}
.oc-board.oc-active { border-color: var(--felt); box-shadow: 0 0 0 3px var(--felt-bg); }
.oc-board-label {
  font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--ink4); margin-right: 4px;
}

/* Card grid */
.oc-grid {
  display: grid; grid-template-columns: repeat(13, 1fr);
  gap: 2px; margin-bottom: 14px;
}
.oc-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1; border: 1px solid var(--rule); border-radius: 3px;
  background: var(--surface); cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; font-weight: 700;
  line-height: 1; padding: 0; transition: transform 0.1s, box-shadow 0.1s;
}
.oc-card span { font-size: 0.55rem; }
.oc-card:hover:not(.oc-used) { transform: scale(1.15); z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.oc-card.oc-used { opacity: 0.15; cursor: default; }
.suit-s { color: #1C1814; }
.suit-h { color: #8B2D2D; }
.suit-d { color: #3d6d8f; }
.suit-c { color: #1B3A2D; }

/* Buttons */
.oc-btns { display: flex; gap: 8px; }
.oc-calc {
  flex: 1; padding: 13px; background: var(--felt); color: #fff; border: none;
  border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 700;
  cursor: pointer; transition: background 0.15s;
}
.oc-calc:hover:not(:disabled) { background: var(--felt2); }
.oc-calc:disabled { opacity: 0.4; cursor: default; }
.oc-clear {
  padding: 13px 18px; background: transparent; color: var(--ink4);
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.oc-clear:hover { border-color: var(--ink3); color: var(--ink3); }

/* Desktop */
@media (min-width: 640px) {
  .oc-card { font-size: 0.78rem; }
  .oc-card span { font-size: 0.62rem; }
}
