/* ==========================================================================
   Sumbreak Play — Authentic Game Board Stylesheet (LinkedIn Sumbreak Design)
   Game Board Reference: LinkedIn Sumbreak
   ========================================================================== */

/* Game Shell & Layout */
.game-area-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--space-sm);
  user-select: none;
  -webkit-user-select: none;
}

/* Game Meta Header */
.game-meta-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: var(--space-sm);
  padding: 0 4px;
}

.game-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.game-puzzle-id {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.game-puzzle-date {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.game-badges-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Pause / Resume Button (WendPlay Design) */
.game-pause-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  outline: none;
}

.game-pause-btn:hover:not(:disabled) {
  background-color: var(--color-surface-hover);
  border-color: var(--color-text-muted);
  color: var(--color-text);
  transform: scale(1.06);
  box-shadow: var(--shadow-md);
}

.game-pause-btn:active:not(:disabled) {
  transform: scale(0.96);
}

.game-pause-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

.game-pause-btn.is-paused {
  background-color: var(--color-bg-alt);
  color: var(--color-accent);
  border-color: var(--color-accent);
}

[data-theme="dark"] .game-pause-btn {
  background-color: #1e2638;
  border-color: #2a3448;
}

/* ==========================================================================
   Board Pause Overlay (WendPlay Design)
   ========================================================================== */

.board-pause-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  background-color: #d6cfc5;
  border-radius: 21px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  gap: 12px;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.2s ease;
}

[data-theme="dark"] .board-pause-overlay {
  background-color: #141b27;
}

.board-pause-overlay.is-visible {
  display: flex !important;
}

.pause-resume-icon {
  color: rgba(90, 100, 120, 0.45);
  transition: transform 0.15s ease, color 0.15s ease;
}

[data-theme="dark"] .pause-resume-icon {
  color: rgba(156, 163, 175, 0.45);
}

.board-pause-overlay:hover .pause-resume-icon {
  transform: scale(1.12);
  color: var(--color-accent);
}

.pause-resume-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: -0.01em;
}

.board-pause-overlay:hover .pause-resume-text {
  color: var(--color-text);
}


.game-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-grid-size {
  background-color: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.badge-difficulty {
  background-color: rgba(27, 42, 74, 0.08);
  color: var(--color-primary);
}

[data-theme="dark"] .badge-difficulty {
  background-color: rgba(123, 163, 217, 0.15);
  color: var(--color-primary);
}

.badge-special-x2 {
  background-color: #5b5bd6;
  color: #ffffff;
}

/* Stats / Status Bar (Timer & Tile Counter) */
.game-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: var(--space-md);
  padding: 10px 16px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
}

.status-indicator svg {
  color: var(--color-text-secondary);
}

.status-timer {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.status-tiles-left {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
}

.status-tiles-left strong {
  color: var(--color-accent);
}

/* ==========================================================================
   LinkedIn Sumbreak Authentic Board Container
   ========================================================================== */

.sumbreak-board-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  border-radius: 24px;
  background-color: var(--color-border-light);
  border: 2.5px solid var(--color-primary);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding: 10px;
  touch-action: none;
  container-type: inline-size;
  overflow: hidden;
  transition: border-color var(--transition-base), background-color var(--transition-base);
}

/* ==========================================================================
   Board Start / Landing Overlay (Screenshot Design)
   ========================================================================== */

.board-start-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  background-color: var(--color-surface);
  border-radius: 21px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 5cqi, 32px);
  gap: clamp(10px, 3cqi, 18px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
  -webkit-user-select: none;
}

[data-theme="dark"] .board-start-overlay {
  background-color: #1a2233;
}

.board-start-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  display: none !important;
}

.start-preview-tiles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.8cqi, 10px);
}

.start-preview-tile {
  width: clamp(34px, 10cqi, 44px);
  height: clamp(34px, 10cqi, 44px);
  border-radius: clamp(8px, 2.2cqi, 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1rem, 3.8cqi, 1.35rem);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.09), 0 2px 5px rgba(0, 0, 0, 0.08);
}

.start-overlay-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.8rem, 6.2cqi, 2.5rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.start-overlay-date {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 2.4cqi, 0.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-secondary);
}

.start-overlay-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: clamp(0.85rem, 2.6cqi, 1rem);
  font-weight: 600;
  color: var(--color-text-secondary);
}

.start-difficulty-dots {
  display: inline-flex;
  gap: 3px;
  color: var(--color-accent);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 1px;
}

[data-theme="dark"] .start-difficulty-dots {
  color: var(--color-accent);
}

.start-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: clamp(10px, 3cqi, 14px) clamp(34px, 9cqi, 48px);
  font-size: clamp(1.05rem, 3.4cqi, 1.25rem);
  font-weight: 700;
  color: #ffffff;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(245, 78, 59, 0.4);
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  margin-top: 4px;
}

.start-play-btn:hover {
  background: var(--color-accent-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 78, 59, 0.5);
}

.start-play-btn:active {
  transform: scale(0.98);
}

[data-theme="dark"] .start-play-btn {
  background: var(--color-accent);
  box-shadow: 0 4px 16px rgba(245, 78, 59, 0.45);
}

[data-theme="dark"] .start-play-btn:hover {
  background: var(--color-accent-hover);
}


[data-theme="dark"] .sumbreak-board-container {
  background-color: #0d121a;
  border-color: #3b5278;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 12px rgba(0, 0, 0, 0.4);
}

.sumbreak-grid {
  display: grid;
  width: 100%;
  height: 100%;
  gap: 7px;
  position: relative;
}

/* Grid Dimension Classes */
.grid-3x3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; }
.grid-4x4 { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 8px; }
.grid-5x5 { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 6px; }
.grid-6x6 { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 5px; }

/* Cell Slot (Empty State by Default) */
.sumbreak-cell {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background-color: rgba(27, 42, 74, 0.05);
  border: 1px solid rgba(27, 42, 74, 0.08);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .sumbreak-cell {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Valid Move Target Highlight */
.sumbreak-cell.valid-target {
  background-color: rgba(245, 78, 59, 0.15);
  border: 2px dashed var(--color-accent);
  animation: pulse-target 1.2s infinite alternate;
}

@keyframes pulse-target {
  0% { transform: scale(0.98); opacity: 0.8; }
  100% { transform: scale(1.02); opacity: 1; }
}

/* ==========================================================================
   Tactile Number Tiles (LinkedIn Sumbreak Authentic Appearance)
   ========================================================================== */

.sumbreak-tile {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: grab;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.09), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  z-index: 2;
  user-select: none;
  -webkit-user-select: none;
}

.sumbreak-tile:active {
  cursor: grabbing;
}

/* Tile font sizing based on digits and container size */
.sumbreak-tile {
  font-size: 7cqi;
}
.grid-4x4 .sumbreak-tile { font-size: 8.5cqi; }
.grid-5x5 .sumbreak-tile { font-size: 7cqi; }
.grid-6x6 .sumbreak-tile { font-size: 5.8cqi; }

.sumbreak-tile.digits-3 { font-size: 5.2cqi; }
.sumbreak-tile.digits-4 { font-size: 4.2cqi; }

/* Selected State */
.sumbreak-tile.is-selected {
  transform: scale(1.06);
  box-shadow: 0 0 0 3px var(--color-accent), 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Dragging State */
.sumbreak-tile.is-dragging {
  opacity: 0.85;
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  z-index: 100;
  pointer-events: none;
}

/* Merge Pop Animation */
.sumbreak-tile.merge-pop {
  animation: tile-pop 0.22s ease-out forwards;
}

@keyframes tile-pop {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1.0); }
}

/* Hint Visual System (Prominent On-Board Merge Indicator) */
.hint-source-glow {
  box-shadow: 0 0 0 4px #F59E0B, 0 0 24px rgba(245, 158, 11, 0.85) !important;
  z-index: 25 !important;
  animation: hint-pulse-source 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
  cursor: grab;
}

.hint-target-glow {
  box-shadow: 0 0 0 4px #10B981, 0 0 24px rgba(16, 185, 129, 0.85) !important;
  z-index: 25 !important;
  animation: hint-pulse-target 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
}

@keyframes hint-pulse-source {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.08); box-shadow: 0 0 0 5px #F59E0B, 0 0 32px rgba(245, 158, 11, 0.95) !important; }
}

@keyframes hint-pulse-target {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.05); box-shadow: 0 0 0 5px #10B981, 0 0 32px rgba(16, 185, 129, 0.95) !important; }
}

/* Directional Arrow / Badge on Source Tile */
.hint-direction-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #F59E0B;
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 30;
}

.hint-dir-right { animation: hint-bounce-right 0.7s infinite alternate ease-in-out; }
.hint-dir-left  { animation: hint-bounce-left 0.7s infinite alternate ease-in-out; }
.hint-dir-down  { animation: hint-bounce-down 0.7s infinite alternate ease-in-out; }
.hint-dir-up    { animation: hint-bounce-up 0.7s infinite alternate ease-in-out; }

@keyframes hint-bounce-right {
  0%   { transform: translate(-50%, -50%) translateX(-4px); }
  100% { transform: translate(-50%, -50%) translateX(10px); }
}

@keyframes hint-bounce-left {
  0%   { transform: translate(-50%, -50%) translateX(4px); }
  100% { transform: translate(-50%, -50%) translateX(-10px); }
}

@keyframes hint-bounce-down {
  0%   { transform: translate(-50%, -50%) translateY(-4px); }
  100% { transform: translate(-50%, -50%) translateY(10px); }
}

@keyframes hint-bounce-up {
  0%   { transform: translate(-50%, -50%) translateY(4px); }
  100% { transform: translate(-50%, -50%) translateY(-10px); }
}

/* ==========================================================================
   Tile Color System (Official LinkedIn Palette)
   ========================================================================== */

.tile-val-1    { background-color: #E0E7FF; color: #312E81; }
.tile-val-2    { background-color: #BAE6FD; color: #0C4A6E; }
.tile-val-4    { background-color: #99F6E4; color: #134E4A; }
.tile-val-8    { background-color: #86EFAC; color: #14532D; }
.tile-val-16   { background-color: #D9F99D; color: #365314; }
.tile-val-32   { background-color: #FDE047; color: #713F12; }
.tile-val-64   { background-color: #FDBA74; color: #7C2D12; }
.tile-val-128  { background-color: #FCA5A5; color: #7F1D1D; }
.tile-val-256  { background-color: #F9A8D4; color: #831843; }
.tile-val-512  { background-color: #C4B5FD; color: #4C1D95; }
.tile-val-1024 { background-color: #A5B4FC; color: #312E81; }
.tile-val-2048 { background-color: #5EEAD4; color: #134E4A; }
.tile-val-4096 { background-color: #FED7AA; color: #9A3412; }

/* Special Multiplier Tile */
.tile-special-x2 {
  background-color: #5B5BD6 !important;
  color: #FFFFFF !important;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.2), 0 3px 8px rgba(91, 91, 214, 0.35) !important;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   Game Controls Bar (Hint, Undo, Reset)
   ========================================================================== */

.game-controls-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  width: 100%;
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  background-color: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.control-btn:hover:not(:disabled) {
  background-color: var(--color-surface-hover);
  border-color: var(--color-text-muted);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.control-btn:active:not(:disabled) {
  transform: translateY(0);
}

.control-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

.control-btn svg {
  width: 18px;
  height: 18px;
}

.control-btn-hint {
  color: var(--color-warning);
  border-color: rgba(212, 160, 23, 0.3);
}

.control-btn-hint:hover:not(:disabled) {
  background-color: rgba(212, 160, 23, 0.08);
}

/* Hint Count Badge */
.hint-badge {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background-color: rgba(212, 160, 23, 0.2);
  color: var(--color-warning);
}

/* Hint Alert Banner */
.hint-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 16px;
  margin-bottom: var(--space-md);
  background-color: rgba(212, 160, 23, 0.12);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--color-text);
}

.hint-banner.show {
  display: flex;
}

/* Game Dead-End Message */
.dead-end-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: var(--space-md);
  background-color: rgba(192, 64, 64, 0.12);
  border: 1px solid rgba(192, 64, 64, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-danger);
  font-size: 0.92rem;
  font-weight: 500;
}

.dead-end-banner.show {
  display: flex;
}

/* Progress saves automatically text */
.progress-saves-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-left: 8px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

/* ==========================================================================
   Date Navigation & WendPlay Countdown Pill
   ========================================================================== */

.puzzle-nav-divider {
  width: 100%;
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-md) 0 var(--space-sm) 0;
}

.puzzle-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.puzzle-nav-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.puzzle-nav-link:hover {
  text-decoration: underline;
}

.puzzle-nav-link.today-link {
  color: var(--color-primary);
}

[data-theme="dark"] .puzzle-nav-link.today-link {
  color: var(--color-primary);
}

.puzzle-nav-link.disabled {
  color: var(--color-text-muted);
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
  text-decoration: none !important;
}

.puzzle-nav-sep {
  color: var(--color-border);
  font-size: 0.85rem;
}

/* WendPlay-Style Countdown Pill */
.countdown-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 24px;
  border: 1.5px solid var(--color-accent);
  border-radius: var(--radius-full);
  background-color: rgba(245, 78, 59, 0.04);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 auto;
  box-shadow: 0 1px 4px rgba(245, 78, 59, 0.08);
}

[data-theme="dark"] .countdown-pill {
  background-color: rgba(245, 78, 59, 0.08);
  border-color: var(--color-accent);
}

.countdown-pill svg {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
}

/* ==========================================================================
   Daily Page Lower Sections (WendPlay Design)
   ========================================================================== */

.daily-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .daily-feature-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.daily-feature-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.daily-feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: rgba(245, 78, 59, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xs);
}

.daily-action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-md);
  margin-bottom: var(--space-2xl);
}

/* Daily FAQ Accordion */
.daily-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 760px;
  margin: var(--space-lg) auto var(--space-2xl) auto;
}

.faq-accordion-item {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-accordion-item[open] {
  border-color: var(--color-accent);
}

.faq-accordion-header {
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-accordion-header::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--color-text-secondary);
  transition: transform 0.2s ease;
}

.faq-accordion-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.faq-accordion-content {
  padding: 0 18px 16px 18px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* Bottom Editorial Box */
.daily-editorial-box {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.7;
}

.daily-editorial-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.daily-editorial-box p {
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}


/* Solution Player Elements (for /answers/ and Win Modal) */
.solution-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.solution-step-info {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--space-sm);
  text-align: center;
}
