/* ── Thinking panel — shared by index.html and game.html ───────────────────── */

#thinking-panel {
  display: none;
  width: 100%;
  max-width: 560px;
  margin-top: 32px;
}
#thinking-panel.visible { display: block; }

.thinking-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  font-family: system-ui, sans-serif;
}

.thinking-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.think-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}
.think-icon svg {
  width: 22px;
  height: 22px;
}
/* three orbiting dots: different rings, speeds, directions */
.orb-1 {
  animation: orb-cw 3s linear infinite;
  transform-origin: 11px 11px;
}
.orb-2 {
  animation: orb-ccw 2.1s linear infinite -0.6s;
  transform-origin: 11px 11px;
}
.orb-3 {
  animation: orb-cw 3.7s linear infinite -1.4s;
  transform-origin: 11px 11px;
}
@keyframes orb-cw  { to { transform: rotate( 360deg); } }
@keyframes orb-ccw { to { transform: rotate(-360deg); } }

.thinking-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.thinking-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-left: auto;
}

.thought-line {
  font-size: 13px;
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  color: var(--muted);
  line-height: 1.55;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 1.6em;
}

.thought-dot {
  color: var(--accent);
  flex-shrink: 0;
}

#thought-text::after {
  content: ' ▋';
  color: var(--accent);
  animation: blink .7s step-end infinite;
  display: inline-block;
  vertical-align: baseline;
  transform: scaleX(1);
  transform-origin: left;
  line-height: 1;
}
/* cursor always visible — clears naturally when text clears between thoughts */

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
