:root {
  --accent-red: #8B0000;
  --bg-dark: #111;
  --bg-darker: #1b1b1b;
  --text-light: #f2f2f2;
  --text-muted: #aaa;
  --border-dark: #333;
}

.kinky-poker-session {
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  max-width: 800px;
  margin: auto;
  padding: 1rem;
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: 12px;
  border: 1px solid var(--border-dark);
}

.kinky-poker-session h1,
.kinky-poker-session h2 {
  color: var(--accent-red);
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 0.5rem;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.kinky-poker-leaderboard {
  list-style: none;
  padding: 1rem;
  background: var(--bg-darker);
  border-radius: 0.5rem;
  border: 1px solid var(--border-dark);
  margin: 0 0 1rem 0;
  text-align: center;
}

.kinky-poker-leaderboard li {
  display: inline-block;
  background: #222;
  color: var(--text-light);
  padding: 0.4em 0.8em;
  border-radius: 999px;
  margin: 0.2em;
  font-weight: 500;
  font-size: 0.95em;
}

.kinky-poker-leaderboard li:first-child {
  background: var(--accent-red);
  color: white;
  font-weight: 700;
}

.kinky-poker-round {
  list-style: none;
  margin: 2rem 0;
  background: var(--bg-darker);
  border-radius: 0.75rem;
  border: 1px solid var(--border-dark);
  overflow: hidden;
  padding: 0;
}
.kinky-poker-round .kinky-poker-player:nth-child(even) {
  background-color: #151515;
}

.kinky-poker-round h2 {
  cursor: pointer;
  margin: 0;
  padding: 1rem 1.5rem;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-red);
}

.kinky-poker-round h2::after {
  content: '▶';
  font-size: 0.9em;
  transition: transform 0.2s ease;
  color: var(--accent-red);
}

.kinky-poker-round:not(.collapsed) h2::after {
  transform: rotate(90deg);
}

.kinky-poker-round.collapsed .kinky-poker-round-content {
  max-height: 0;
  overflow: hidden;
}

.kinky-poker-round-content {
  padding: 1rem;
}

.kinky-poker-round-content > ul {
  margin: 0;
  padding: 0;
}

.kinky-poker-player {
  border-top: 1px solid var(--border-dark);
  padding: 0;
  list-style: none;
}

.kinky-poker-player:first-child {
  border-top: none;
}

.kinky-poker-player ul {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.kinky-poker-player .name {
  font-size: 20px;
  margin: 1rem 0 0 1rem;
  color: var(--text-light);
}

.kinky-chip-line {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-dark);
  background: var(--bg-dark);
}

.kinky-poker-round .kinky-chip-line:last-child {
  border-bottom: none;
}

.kinky-chip-line .chip-icon {
  flex: 0 0 auto;
  width: 1.5em;
  height: 1.5em;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-color: #ccc;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  margin-top: 0.2em;
}

.kinky-chip-line .chip-info {
  flex: 1 1 10%;
  font-weight: 500;
  font-size: 90%;
  margin-top: 0.2em;
  color: var(--text-light);
}

.offer-box {
  flex: 1 1 66%;
  background: var(--bg-darker);
  color: var(--text-light);
  font-family: Georgia, serif;
  padding: 0.75em 1em;
  border-left: 4px solid var(--accent-red);
  border-radius: 6px;
  line-height: 1.4;
  margin-top: 0.25em;
}

.offer-box .offer-title {
  display: block;
  font-weight: bold;
  color: var(--accent-red);
  margin-bottom: 0.5em;
  font-style: italic;
}

.offer-box .offer-text {
  display: block;
  font-size: 90%;
  color: #ddd;
}

.no-win {
  color: var(--text-muted);
  font-style: italic;
  padding: 1rem;
  display: block;
}

/* Optional chip colors */
.chip-white  { background-color: #fff; border-color: #888; }
.chip-red    { background-color: #8B0000; }
.chip-green  { background-color: #006400; }
.chip-blue   { background-color: #1e90ff; }
.chip-purple { background-color: #4b0082; }

/* Mobile responsive */
@media (max-width: 600px) {
  .kinky-poker-session {
    padding: 0.5rem;
  }

  .kinky-poker-session h1,
  .kinky-poker-session h2 {
    font-size: 1.25rem;
  }

  .chip-icon {
    top: 0.2em;
    width: 1em;
    height: 1em;
  }

  .kinky-poker-round h2 {
    font-size: 1rem;
    color: var(--accent-red);
  }

  .kinky-poker-player .name {
    font-size: 18px;
    margin-left: 0.5rem;
  }

  .kinky-chip-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-box {
    flex: 1 1 100%;
  }
}
.kinky-poker-leaderboard .chip-icon {
  width: 1.25em;
  height: 1.25em;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5em;
  border: 2px solid #444;
  vertical-align: middle;
}
