/* ============================================
   DISC GAMES - Shared Styles for Dilemma & Clash
   Dark premium theme matching main site
   ============================================ */

/* ---------- Variables (inherit from styles.css) ---------- */
:root {
  --bg-0: #08080f;
  --bg-1: #0d0d18;
  --bg-2: #141422;
  --bg-3: #1c1c30;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --text: #f0f0f8;
  --text-secondary: #b0b0c8;
  --text-muted: #7878a0;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --disc-d: #ef4444;
  --disc-i: #f59e0b;
  --disc-s: #10b981;
  --disc-c: #3b82f6;
  --accent: #8b5cf6;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Game Container ---------- */
.game-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 80px;
  min-height: calc(100vh - 72px);
}

/* ============================================
   DISC DILEMMA STYLES
   ============================================ */

/* -- Start Screen -- */
.dilemma-start {
  text-align: center;
  padding: 48px 0;
}

.dilemma-logo {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--disc-d), var(--disc-i), var(--disc-s), var(--disc-c));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.dilemma-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 24px;
}

.dilemma-profile-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 0 auto 24px;
  max-width: 480px;
}

.dilemma-meta {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.dilemma-meta-item {
  text-align: center;
}

.dilemma-meta-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
}

.dilemma-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

/* -- Buttons -- */
.dilemma-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.dilemma-btn:hover {
  transform: translateY(-2px);
}

.dilemma-btn:active {
  transform: translateY(0);
}

.dilemma-btn-start {
  background: linear-gradient(135deg, var(--disc-d), #b91c1c);
  color: #fff;
  font-size: 1.1rem;
  padding: 16px 40px;
}

.dilemma-btn-start:hover {
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.3);
}

.dilemma-btn-share {
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border);
  margin-left: 12px;
}

.dilemma-btn-assess {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  margin-left: 12px;
}

/* -- Scenario Screen -- */
.dilemma-scene {
  padding: 24px 0;
}

.dilemma-progress-bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  margin-bottom: 12px;
  overflow: hidden;
}

.dilemma-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--disc-d), var(--disc-i), var(--disc-s), var(--disc-c));
  border-radius: 2px;
  transition: width 0.4s ease;
}

.dilemma-counter {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
}

.dilemma-category-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 auto 16px;
  text-align: center;
  display: block;
  width: fit-content;
}

.dilemma-situation {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.5;
  margin-bottom: 28px;
  padding: 0 8px;
}

.dilemma-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dilemma-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.dilemma-option:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.dilemma-option:disabled {
  cursor: default;
  transform: none;
}

.dilemma-option-letter {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-3);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.dilemma-option-text {
  flex: 1;
}

.dilemma-option-selected {
  border-color: var(--accent) !important;
  background: rgba(139, 92, 246, 0.08) !important;
}

.dilemma-type-reveal {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.dilemma-instinct-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 20px;
  font-style: italic;
}

/* -- Results Screen -- */
.dilemma-results {
  padding: 32px 0;
  text-align: center;
}

.dilemma-results-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 3px solid;
  background: var(--bg-2);
  margin-bottom: 24px;
}

.dilemma-results-letter {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
}

.dilemma-results-name {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.dilemma-authenticity {
  margin-bottom: 24px;
}

.dilemma-auth-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
}

.dilemma-auth-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.dilemma-auth-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

.dilemma-match {
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 16px auto 24px;
  max-width: 500px;
}

.dilemma-match-yes {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.dilemma-match-no {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

/* -- Score Bars -- */
.dilemma-bars {
  max-width: 420px;
  margin: 0 auto 24px;
  text-align: left;
}

.dilemma-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.dilemma-bar-label {
  width: 20px;
  font-weight: 800;
  font-size: 1rem;
}

.dilemma-bar-track {
  flex: 1;
  height: 10px;
  background: var(--bg-3);
  border-radius: 5px;
  overflow: hidden;
}

.dilemma-bar-fill {
  height: 100%;
  border-radius: 5px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dilemma-bar-pct {
  font-size: 0.78rem;
  color: var(--text-muted);
  min-width: 80px;
  text-align: right;
}

/* -- Categories -- */
.dilemma-categories {
  max-width: 420px;
  margin: 0 auto 28px;
  text-align: left;
}

.dilemma-categories h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.dilemma-cat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.dilemma-cat-name {
  color: var(--text-secondary);
}

.dilemma-cat-type {
  font-weight: 600;
}

/* -- Insights -- */
.dilemma-insights {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 500px;
  margin: 0 auto 28px;
  text-align: left;
}

.dilemma-insights h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.dilemma-insights p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* -- Actions -- */
.dilemma-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* -- Leaderboard -- */
.dilemma-leaderboard, .clash-leaderboard {
  margin-top: 32px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.dilemma-leaderboard h3, .clash-leaderboard h3 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-align: center;
}

.dilemma-lb-list, .clash-lb-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.dilemma-lb-row, .clash-lb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--border);
}

.dilemma-lb-row:last-child, .clash-lb-row:last-child {
  border-bottom: none;
}

.dilemma-lb-rank, .clash-lb-rank {
  font-weight: 700;
  color: var(--text-muted);
  width: 28px;
}

.dilemma-lb-type {
  font-weight: 700;
  width: 20px;
}

.dilemma-lb-score, .clash-lb-score {
  flex: 1;
  color: var(--text-secondary);
}

.dilemma-lb-date, .clash-lb-date, .clash-lb-rounds {
  color: var(--text-muted);
  font-size: 0.75rem;
}


/* ============================================
   TYPE CLASH STYLES
   ============================================ */

.clash-start {
  text-align: center;
  padding: 48px 0;
}

.clash-logo {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--disc-c), var(--disc-d));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

.clash-tagline {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 32px;
}

/* -- Mode Selection -- */
.clash-modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 480px;
  margin: 0 auto 32px;
}

.clash-mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
  color: var(--text);
}

.clash-mode-btn:hover {
  border-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.clash-mode-icon {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.clash-mode-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.clash-mode-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* -- Rules -- */
.clash-rules {
  text-align: left;
  max-width: 480px;
  margin: 0 auto 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.clash-rules h3 {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.clash-rules ol {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* -- Debate Screen -- */
.clash-debate {
  padding: 16px 0;
}

.clash-round-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.clash-round-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.clash-timer {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  transition: color 0.3s ease;
}

.clash-topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.clash-topic {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.clash-context {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.clash-assignment {
  border: 2px solid;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
  background: rgba(0,0,0,0.15);
}

.clash-assign-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.clash-assign-type {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.clash-assign-voice {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.clash-assign-tip {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}

.clash-textarea {
  width: 100%;
  min-height: 140px;
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color var(--transition-fast);
}

.clash-textarea:focus {
  border-color: var(--accent);
}

.clash-textarea::placeholder {
  color: var(--text-muted);
}

.clash-char-count {
  text-align: right;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin: 6px 0 12px;
}

.clash-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.clash-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.3);
}

.clash-share-btn {
  background: var(--bg-3);
  color: var(--text);
  border: 1px solid var(--border);
}

.clash-assess-btn {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* -- AI Thinking -- */
.clash-ai-thinking {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.clash-ai-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.clash-ai-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotPulse 1.4s ease-in-out infinite;
}

.clash-ai-dots span:nth-child(2) { animation-delay: 0.2s; }
.clash-ai-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotPulse {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.2); }
}

/* -- Scoring Screen -- */
.clash-scoring {
  padding: 24px 0;
  text-align: center;
}

.clash-scoring-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.clash-score-cards {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 20px;
}

.clash-score-card {
  flex: 1;
  border: 2px solid;
  border-radius: var(--radius-md);
  padding: 20px 16px;
  background: var(--bg-card);
  text-align: center;
}

.clash-sc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.clash-sc-type {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.clash-sc-score {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.clash-sc-score span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.clash-sc-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 8px;
}

.clash-sc-feedback {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.clash-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
}

.clash-running-score {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* -- Final Results -- */
.clash-final {
  padding: 32px 0;
  text-align: center;
}

.clash-final-banner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--disc-d), var(--disc-i));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.clash-final-scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.clash-final-score {
  text-align: center;
}

.clash-fs-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.clash-fs-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.clash-fs-winner {
  color: var(--disc-i) !important;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.clash-final-vs {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-muted);
}

.clash-empathy-note {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  max-width: 500px;
  margin: 0 auto 24px;
  text-align: left;
}

.clash-empathy-note h3 {
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.clash-empathy-note p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* -- Rounds Review -- */
.clash-rounds-review {
  max-width: 500px;
  margin: 0 auto 28px;
  text-align: left;
}

.clash-rounds-review h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.clash-round-review {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 8px;
}

.clash-rr-header {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.clash-rr-scores {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.clash-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}


/* ============================================
   TOOLKIT EXPANSION STYLES
   (for the 5 new tools in the report)
   ============================================ */

/* -- Quick Type Guide Card -- */
.qtg-container {
  margin-top: 16px;
}

.qtg-type-select {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.qtg-type-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.qtg-type-btn:hover, .qtg-type-btn.active {
  border-color: var(--accent);
  color: var(--text);
}

.qtg-card-preview {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.qtg-card-preview canvas, .qtg-card-preview svg {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.qtg-download-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.qtg-download-btn:hover {
  transform: translateY(-2px);
}

/* -- Meeting Cheat Sheet -- */
.mcs-container {
  margin-top: 16px;
}

.mcs-attendees {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.mcs-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.mcs-check-label:has(input:checked) {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(139, 92, 246, 0.08);
}

.mcs-check-label input {
  display: none;
}

.mcs-check-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid var(--border);
  transition: all var(--transition-fast);
}

.mcs-check-label:has(input:checked) .mcs-check-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.mcs-generate-btn {
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-bottom: 20px;
  transition: transform var(--transition-fast);
}

.mcs-generate-btn:hover {
  transform: translateY(-2px);
}

.mcs-output {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mcs-section {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mcs-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.mcs-section-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

.mcs-section-content {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.mcs-section-content ul {
  padding-left: 18px;
  margin-top: 6px;
}

.mcs-section-content li {
  margin-bottom: 4px;
}

/* -- Email Templates -- */
.et-container {
  margin-top: 16px;
}

.et-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.et-tab {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.et-tab:hover, .et-tab.active {
  border-color: var(--accent);
  color: var(--text);
}

.et-template {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.et-template-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.et-template-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
}

.et-copy-btn {
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.et-copy-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.et-copy-btn.copied {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #34d399;
}

.et-template-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  white-space: pre-line;
}

/* -- Weekly Reflection Journal -- */
.wrj-container {
  margin-top: 16px;
}

.wrj-week-select {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.wrj-week-btn {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.wrj-week-btn:hover, .wrj-week-btn.active {
  border-color: var(--accent);
  color: var(--text);
}

.wrj-week-btn .wrj-saved-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.wrj-prompt {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}

.wrj-prompt-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.wrj-prompt-text {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 10px;
  font-weight: 500;
}

.wrj-textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: border-color var(--transition-fast);
}

.wrj-textarea:focus {
  border-color: var(--accent);
}

.wrj-save-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-3);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  transition: all var(--transition-fast);
}

.wrj-save-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.wrj-save-btn.saved {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #34d399;
}

.wrj-past-entries {
  margin-top: 16px;
}

.wrj-past-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 8px;
}

.wrj-past-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.wrj-past-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* -- Bookmark Generator -- */
.bookmark-container {
  margin-top: 16px;
  text-align: center;
}

.bookmark-preview canvas, .bookmark-preview svg {
  display: block;
  margin: 0 auto 16px;
  border-radius: var(--radius-sm);
}

.bookmark-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}


/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 600px) {
  .dilemma-logo, .clash-logo {
    font-size: 2.2rem;
  }

  .dilemma-meta {
    gap: 20px;
  }

  .dilemma-meta-num {
    font-size: 1.4rem;
  }

  .dilemma-situation {
    font-size: 1.15rem;
  }

  .clash-modes {
    grid-template-columns: 1fr;
  }

  .clash-score-cards {
    flex-direction: column;
  }

  .clash-vs-divider {
    padding: 8px 0;
  }

  .clash-timer {
    font-size: 1.4rem;
  }

  .clash-final-scores {
    gap: 16px;
  }

  .clash-fs-num {
    font-size: 2.2rem;
  }

  .dilemma-actions, .clash-final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dilemma-btn-share, .dilemma-btn-assess {
    margin-left: 0;
  }

  .mcs-attendees {
    gap: 8px;
  }

  .mcs-check-label {
    flex: 1 1 calc(50% - 4px);
  }

  .et-tabs {
    gap: 6px;
  }

  .qtg-type-select {
    gap: 6px;
  }
}
