/* component/tic-tac-toe/tic-tac-toe.css */
tic-tac-toe {
  display: block;
  margin: 20px auto;
  font-family: system-ui, sans-serif;
  mix-blend-mode: difference;
}
tic-tac-toe .board {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  grid-template-rows: repeat(3, 64px);
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px #0002;
}
tic-tac-toe .cell {
  width: 64px;
  height: 64px;
  font-size: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid #eee;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
tic-tac-toe .cell:hover {
  background: #f2f2fa;
}
tic-tac-toe .cell[disabled] {
  color: #aaa;
  pointer-events: none;
}
tic-tac-toe .controls {
  margin: 14px 0;
  display: flex;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
}
tic-tac-toe button {
  font-size: 1em;
  padding: 6px 14px;
  border-radius: 6px;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s;
}
tic-tac-toe button:active {
  background: #ccc;
}
tic-tac-toe .history {
  font-size: 0.96em;
  color: #445;
  margin: 0.5em;
  text-align: center;
}
tic-tac-toe .quantum-warning {
  color: #b22;
  font-size: .92em;
  margin-bottom: 0.6em;
  text-align: center;
}
tic-tac-toe .cell {
  transition: background-color 0.6s ease;
}
tic-tac-toe .cell.win-x {
  background: #22c55e;
}
tic-tac-toe .cell.win-o {
  background: #facc15;
}
tic-tac-toe .cell.cats-game {
  background: #e5e7eb;
  opacity: 0.6;
}
tic-tac-toe .cell.win-x.overlap {
  background: color-mix(in srgb, #22c55e 80%, black 20%);
}
tic-tac-toe .cell.win-o.overlap {
  background: color-mix(in srgb, #facc15 80%, black 20%);
}
#brute {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 820px;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  font-family: system-ui, sans-serif;
}
#brute::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.4);
  z-index: -1;
}
#brute h4 {
  margin: 0 0 .5rem 0;
  font-size: 1.1rem;
}
#brute .example {
  color: #fff;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
#brute .example .history {
  display: none;
}
#brute progress-histogram {
  display: block;
  margin-top: .25rem;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
#brute button {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: .4rem .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  mix-blend-mode: screen;
}
#brute button:hover {
}
#brute [style*="text-align:right"] {
  margin-top: .5rem;
}
@media (max-width: 720px) {
  #brute {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  #brute .example {
    align-self: center;
  }
  #brute h4 {
    text-align: center;
  }
  #brute [style*="text-align:right"] {
    text-align: center !important;
  }
}
tic-tac-toe .commentary {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
  background: color-mix(in srgb, var(--surface, #111) 80%, #fff 5%);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-sizing: border-box;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-muted, #ddd);
  overflow-y: auto;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
tic-tac-toe .commentary .turn {
  margin-bottom: 1rem;
  padding: 0.4rem 0.6rem;
  border-left: 2px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
tic-tac-toe .commentary .turn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: #4fdf6a;
  border-radius: 0.25rem;
}
tic-tac-toe .commentary .move-line {
  font-weight: 500;
  color: var(--text-strong, #fafafa);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 600;
}
tic-tac-toe .commentary .turn-num {
  color: #9fe2ff;
  margin-right: 0.4rem;
}
tic-tac-toe .commentary .move-symbol {
  font-size: 1rem;
}
tic-tac-toe .commentary .move-coord {
  letter-spacing: 0.03em;
}
tic-tac-toe .commentary .move-suffix {
  color: #9fe2ff;
  font-weight: 400;
  font-size: 0.9rem;
}
tic-tac-toe .commentary .comment-line {
  margin-left: 1.75em;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-style: italic;
  opacity: 0.9;
}
tic-tac-toe .commentary .comment b {
  font-style: normal;
  margin-right: 0.25rem;
}
@media (max-width: 640px) {
  tic-tac-toe .game-flex {
    flex-direction: column;
    align-items: center;
  }
  tic-tac-toe .commentary {
    max-width: 100%;
    margin-top: 1rem;
  }
}
tic-tac-toe .move-symbol.live,
tic-tac-toe .move-coord.live,
tic-tac-toe .comment.live {
  font-weight: 700;
  color: var(--accent, #4fdf6a);
}
tic-tac-toe .comment-live {
  background: color-mix(in srgb, var(--accent, #4fdf6a) 12%, transparent);
  border-left: 3px solid var(--accent, #4fdf6a);
  padding-left: 0.6em;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
}
tic-tac-toe .game-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  margin-block: 1rem;
}
tic-tac-toe .game-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
tic-tac-toe .controls {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
tic-tac-toe .history {
  font-size: 0.9rem;
  opacity: 0.75;
  text-align: center;
}
@media (max-width: 640px) {
  tic-tac-toe .game-row {
    flex-direction: column;
  }
  tic-tac-toe .commentary {
    max-width: none;
  }
}
/*# sourceMappingURL=tic-tac-toe-4MFE52ZX.css.map */
