/* ==========================================================================
   web/quiz/css/quiz.css
   Klasse 9e - Minimalist Kahoot Design System & Responsive Styles
   Milestone 1 Implementation
   ========================================================================== */

:root {
  /* ==========================================================================
     Kahoot Canonical Colors & Interactive States
     ========================================================================== */
  --kahoot-red: #e21b3c;
  --kahoot-red-hover: #c01431;
  --kahoot-red-active: #9c0e25;
  --kahoot-red-shadow: #8f0d23;
  --kahoot-red-rgb: 226, 27, 60;

  --kahoot-blue: #1368ce;
  --kahoot-blue-hover: #0f52a5;
  --kahoot-blue-active: #0c3e7c;
  --kahoot-blue-shadow: #0b3770;
  --kahoot-blue-rgb: 19, 104, 206;

  --kahoot-yellow: #d89e00;
  --kahoot-yellow-hover: #b88600;
  --kahoot-yellow-active: #946c00;
  --kahoot-yellow-shadow: #7e5c00;
  --kahoot-yellow-rgb: 216, 158, 0;

  --kahoot-green: #26890c;
  --kahoot-green-hover: #1e6d09;
  --kahoot-green-active: #165207;
  --kahoot-green-shadow: #124305;
  --kahoot-green-rgb: 38, 137, 12;

  /* Tile Text & Icon Colors */
  --kahoot-white: #ffffff;
  --kahoot-tile-text: #ffffff;

  /* Tactile 3D Depths */
  --kahoot-tile-radius: 14px;
  --kahoot-tile-border: 2px solid rgba(255, 255, 255, 0.12);
  --kahoot-shadow-normal: 0 6px 0 var(--tile-shadow, rgba(0, 0, 0, 0.28)), 0 8px 16px rgba(0, 0, 0, 0.24);
  --kahoot-shadow-hover: 0 8px 0 var(--tile-shadow, rgba(0, 0, 0, 0.28)), 0 12px 24px rgba(0, 0, 0, 0.32);
  --kahoot-shadow-active: 0 2px 0 var(--tile-shadow, rgba(0, 0, 0, 0.28)), 0 3px 6px rgba(0, 0, 0, 0.2);

  /* Quiz System Badges & Accents */
  --quiz-accent: #38bdf8;
  --quiz-accent-glow: rgba(56, 189, 248, 0.25);
  --quiz-pending-badge-bg: rgba(234, 179, 8, 0.15);
  --quiz-pending-badge-text: #fef08a;
  --quiz-approved-badge-bg: rgba(34, 197, 94, 0.15);
  --quiz-approved-badge-text: #bbf7d0;

  /* Typography Scale */
  --quiz-font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Navigation Tabs Bar
   ========================================================================== */
.quiz-nav-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 24px auto;
  padding: 6px;
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: 999px;
  overflow-x: auto;
  max-width: fit-content;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.quiz-nav-tabs::-webkit-scrollbar {
  display: none;
}

.quiz-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary, #94a3b8);
  font-family: var(--quiz-font-family);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.quiz-tab-btn:hover {
  color: var(--text-primary, #f8fafc);
  background: var(--bg-card-hover, #1a1e2b);
}

.quiz-tab-btn.active {
  background: var(--accent-primary, #f8fafc);
  color: var(--accent-primary-text, #0a0c10);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.quiz-badge-count {
  background: var(--kahoot-red);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.2;
}

/* ==========================================================================
   Geometric Shapes & Badges
   ========================================================================== */
.kahoot-shape-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.kahoot-svg-shape {
  width: 26px;
  height: 26px;
  fill: #ffffff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.shape-red { background: rgba(226, 27, 60, 0.25); }
.shape-blue { background: rgba(19, 104, 206, 0.25); }
.shape-yellow { background: rgba(216, 158, 0, 0.25); }
.shape-green { background: rgba(38, 137, 12, 0.25); }

/* ==========================================================================
   Kahoot Tile Grid & 4-Color Answer Tiles
   ========================================================================== */
.kahoot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 24px;
}

.kahoot-grid.grid-true-false {
  grid-template-columns: 1fr 1fr;
}

.kahoot-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  min-height: 120px;
  border-radius: var(--kahoot-tile-radius);
  border: var(--kahoot-tile-border);
  color: var(--kahoot-tile-text);
  font-family: var(--quiz-font-family);
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 700;
  text-align: left;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.2s ease, opacity 0.2s ease;
  overflow: hidden;
  box-sizing: border-box;
}

/* Individual Tile Themes */
.tile-red, .kahoot-tile-red {
  background-color: var(--kahoot-red);
  --tile-shadow: var(--kahoot-red-shadow);
  box-shadow: var(--kahoot-shadow-normal);
}
.tile-red:hover:not(:disabled), .kahoot-tile-red:hover:not(:disabled) {
  background-color: var(--kahoot-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--kahoot-shadow-hover);
}
.tile-red:active:not(:disabled), .kahoot-tile-red:active:not(:disabled) {
  background-color: var(--kahoot-red-active);
  transform: translateY(4px);
  box-shadow: var(--kahoot-shadow-active);
}

.tile-blue, .kahoot-tile-blue {
  background-color: var(--kahoot-blue);
  --tile-shadow: var(--kahoot-blue-shadow);
  box-shadow: var(--kahoot-shadow-normal);
}
.tile-blue:hover:not(:disabled), .kahoot-tile-blue:hover:not(:disabled) {
  background-color: var(--kahoot-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--kahoot-shadow-hover);
}
.tile-blue:active:not(:disabled), .kahoot-tile-blue:active:not(:disabled) {
  background-color: var(--kahoot-blue-active);
  transform: translateY(4px);
  box-shadow: var(--kahoot-shadow-active);
}

.tile-yellow, .kahoot-tile-yellow {
  background-color: var(--kahoot-yellow);
  --tile-shadow: var(--kahoot-yellow-shadow);
  box-shadow: var(--kahoot-shadow-normal);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.tile-yellow:hover:not(:disabled), .kahoot-tile-yellow:hover:not(:disabled) {
  background-color: var(--kahoot-yellow-hover);
  transform: translateY(-2px);
  box-shadow: var(--kahoot-shadow-hover);
}
.tile-yellow:active:not(:disabled), .kahoot-tile-yellow:active:not(:disabled) {
  background-color: var(--kahoot-yellow-active);
  transform: translateY(4px);
  box-shadow: var(--kahoot-shadow-active);
}

.tile-green, .kahoot-tile-green {
  background-color: var(--kahoot-green);
  --tile-shadow: var(--kahoot-green-shadow);
  box-shadow: var(--kahoot-shadow-normal);
}
.tile-green:hover:not(:disabled), .kahoot-tile-green:hover:not(:disabled) {
  background-color: var(--kahoot-green-hover);
  transform: translateY(-2px);
  box-shadow: var(--kahoot-shadow-hover);
}
.tile-green:active:not(:disabled), .kahoot-tile-green:active:not(:disabled) {
  background-color: var(--kahoot-green-active);
  transform: translateY(4px);
  box-shadow: var(--kahoot-shadow-active);
}

.kahoot-tile-text {
  flex: 1;
  word-break: break-word;
}

/* Reveal State: Correct vs Incorrect */
.kahoot-tile.tile-correct {
  filter: brightness(1.1);
  box-shadow: 0 0 0 4px #ffffff, var(--kahoot-shadow-normal);
}

.kahoot-tile.tile-incorrect {
  opacity: 0.32;
  filter: grayscale(40%);
}

.tile-status-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin-left: auto;
}

.tile-correct .tile-status-icon::after {
  content: '✓';
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-incorrect .tile-status-icon::after {
  content: '✕';
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-result-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 8px;
  background: rgba(255, 255, 255, 0.65);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 4px 4px 0;
}

/* ==========================================================================
   Catalog View & Card Grid
   ========================================================================== */
.quiz-catalog-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.quiz-catalog-search {
  flex: 1;
  min-width: 220px;
}

.quiz-catalog-filters {
  display: flex;
  gap: 8px;
}

.quiz-catalog-grid, .quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.quiz-card {
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  text-align: left;
}

.quiz-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus, #94a3b8);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.quiz-card-header {
  margin-bottom: 14px;
}

.quiz-card-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.quiz-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-primary, #f8fafc);
  background: var(--bg-elevated, #1e2230);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-color, #2a2e3d);
}

.quiz-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary, #f8fafc);
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.quiz-card-description {
  font-size: 0.88rem;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.quiz-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  padding: 12px 0;
  margin: 14px 0;
  border-top: 1px solid var(--border-color, #2a2e3d);
  border-bottom: 1px solid var(--border-color, #2a2e3d);
  font-size: 0.825rem;
  color: var(--text-secondary, #94a3b8);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-icon {
  font-size: 0.95rem;
}

.stat-val {
  overflow: hidden;
  text-overflow: ellipsis;
}

.quiz-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  flex-wrap: wrap;
}

.quiz-card-actions .btn {
  flex: 1;
  min-width: 120px;
  font-size: 0.875rem;
  padding: 9px 12px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-export-csv {
  flex: 0 0 auto !important;
  min-width: unset !important;
  padding: 8px 12px !important;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.775rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.status-pill.status-approved, .status-pill.success {
  background: var(--quiz-approved-badge-bg);
  color: var(--quiz-approved-badge-text);
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.status-pill.status-pending, .status-pill.warning {
  background: var(--quiz-pending-badge-bg);
  color: var(--quiz-pending-badge-text);
  border: 1px solid rgba(234, 179, 8, 0.4);
}

.badge-role-teacher {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-role-student {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Empty & Error States */
.empty-catalog-state, .catalog-error-state {
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-card, #12151e);
  border: 1px dashed var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  margin-top: 20px;
}

.empty-icon, .error-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.empty-catalog-state h3, .catalog-error-state h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-primary, #f8fafc);
}

.empty-catalog-state p, .catalog-error-state p {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 20px auto;
}

/* Loading Skeleton */
.catalog-loading-skeleton {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.skeleton-card {
  height: 240px;
  background: linear-gradient(90deg, var(--bg-card, #12151e) 25%, var(--bg-elevated, #1e2230) 50%, var(--bg-card, #12151e) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s infinite;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border-color, #2a2e3d);
}

@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   Quiz Creator Mask & Editor Components
   ========================================================================== */
.creator-meta-card, .creator-question-card, .creator-question-box {
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  padding: 22px;
  margin-bottom: 20px;
  box-sizing: border-box;
  text-align: left;
}

.creator-meta-card {
  border-top: 4px solid var(--quiz-accent, #38bdf8);
}

.creator-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.creator-header-tools {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.creator-question-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.creator-question-card:hover {
  border-color: var(--border-focus, #94a3b8);
}

.question-box-header, .creator-question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color, #2a2e3d);
}

.question-number-badge {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-primary, #f8fafc);
  background: var(--bg-elevated, #1e2230);
  padding: 4px 10px;
  border-radius: var(--radius-sm, 6px);
  border: 1px solid var(--border-color, #2a2e3d);
}

.type-segmented-control {
  display: inline-flex;
  background: var(--bg-input, #0e1118);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.type-segmented-control .type-btn {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-secondary, #94a3b8);
  transition: all 0.15s ease;
  user-select: none;
}

.type-segmented-control .type-btn.active {
  background: var(--accent-primary, #f8fafc);
  color: var(--accent-primary-text, #0a0c10);
}

.type-segmented-control input[type="radio"] {
  display: none;
}

/* Time Limit Pills */
.time-limit-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-input, #0e1118);
  border: 1px solid var(--border-color, #2a2e3d);
  padding: 3px;
  border-radius: 8px;
}

.time-btn {
  padding: 4px 9px;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-secondary, #94a3b8);
  cursor: pointer;
  transition: all 0.15s ease;
}

.time-btn:hover {
  color: var(--text-primary, #f8fafc);
}

.time-btn.active {
  background: var(--accent-primary, #f8fafc);
  color: var(--accent-primary-text, #0a0c10);
}

/* Option Rows (Creation Editor) */
.options-container, .creator-answers-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.creator-option-card, .option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: var(--radius-md, 10px);
  background: var(--bg-elevated, #1e2230);
  border: 1px solid var(--border-color, #2a2e3d);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.creator-option-card.opt-red, .option-row.opt-red { border-left: 6px solid var(--kahoot-red); }
.creator-option-card.opt-blue, .option-row.opt-blue { border-left: 6px solid var(--kahoot-blue); }
.creator-option-card.opt-yellow, .option-row.opt-yellow { border-left: 6px solid var(--kahoot-yellow); }
.creator-option-card.opt-green, .option-row.opt-green { border-left: 6px solid var(--kahoot-green); }

.opt-shape-symbol {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
  font-weight: 900;
}

.correct-checkbox-wrapper {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  user-select: none;
  white-space: nowrap;
}

.correct-checkbox-wrapper input[type="checkbox"],
.correct-checkbox-wrapper input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #10b981;
}

.btn-remove-option {
  background: transparent;
  border: none;
  color: var(--text-secondary, #94a3b8);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s ease, background 0.15s ease;
}

.btn-remove-option:hover {
  color: var(--kahoot-red);
  background: rgba(226, 27, 60, 0.15);
}

/* Role Notice Banners */
.creator-role-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md, 10px);
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.5;
  box-sizing: border-box;
}

.creator-role-banner.banner-student {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.35);
  color: #fef08a;
}

.creator-role-banner.banner-teacher, .creator-role-banner.banner-admin {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
}

/* Validation Errors Banner */
.creator-errors-banner {
  background: rgba(226, 27, 60, 0.15);
  border: 1px solid rgba(226, 27, 60, 0.45);
  color: #fca5a5;
  padding: 14px 18px;
  border-radius: var(--radius-md, 10px);
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-align: left;
}

.creator-errors-banner strong {
  color: #fecaca;
  display: block;
  margin-bottom: 6px;
}

.creator-errors-banner ul {
  margin: 0;
  padding-left: 20px;
}

.creator-errors-banner li {
  margin-bottom: 4px;
}

.has-error {
  border-color: var(--kahoot-red) !important;
  box-shadow: 0 0 0 2px rgba(226, 27, 60, 0.35) !important;
}

/* ==========================================================================
   Countdown Timer Ring
   ========================================================================== */
.quiz-timer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 16px 0;
}

.quiz-timer-circle {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 6px solid var(--accent-primary, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-primary, #f8fafc);
  box-shadow: 0 0 20px var(--quiz-accent-glow);
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.quiz-timer-circle.timer-warning {
  border-color: #f59e0b;
  color: #f59e0b;
  animation: timer-pulse 0.8s infinite;
}

.quiz-timer-circle.timer-critical {
  border-color: var(--kahoot-red);
  color: var(--kahoot-red);
  animation: timer-shake 0.4s infinite;
}

@keyframes timer-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes timer-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* ==========================================================================
   Mobile Buzzer Buttons (Full-Viewport Mode)
   ========================================================================== */
.buzzer-screen {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100dvh;
  background-color: var(--bg-main, #0a0c10);
  overflow: hidden;
  padding: 12px;
  box-sizing: border-box;
}

.buzzer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  margin-bottom: 10px;
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-md, 10px);
  font-weight: 700;
  font-size: 1rem;
}

.buzzer-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  width: 100%;
  height: 100%;
}

.buzzer-grid.grid-true-false {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}

.kahoot-buzzer {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg, 16px);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.08s ease, filter 0.15s ease;
  position: relative;
  user-select: none;
}

.buzzer-red {
  background-color: var(--kahoot-red);
  box-shadow: inset 0 -6px 0 var(--kahoot-red-shadow);
}
.buzzer-blue {
  background-color: var(--kahoot-blue);
  box-shadow: inset 0 -6px 0 var(--kahoot-blue-shadow);
}
.buzzer-yellow {
  background-color: var(--kahoot-yellow);
  box-shadow: inset 0 -6px 0 var(--kahoot-yellow-shadow);
}
.buzzer-green {
  background-color: var(--kahoot-green);
  box-shadow: inset 0 -6px 0 var(--kahoot-green-shadow);
}

.kahoot-buzzer:active {
  transform: scale(0.96);
  filter: brightness(0.9);
}

.buzzer-svg-shape {
  width: clamp(52px, 15vw, 92px);
  height: clamp(52px, 15vw, 92px);
  fill: #ffffff;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.kahoot-buzzer.selected {
  outline: 6px solid #ffffff;
  outline-offset: -6px;
  animation: buzzer-pulse 1s infinite alternate;
}

.kahoot-buzzer.dimmed {
  opacity: 0.25;
  pointer-events: none;
}

@keyframes buzzer-pulse {
  from { filter: brightness(1); }
  to { filter: brightness(1.2); }
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */
.quiz-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  animation: modal-fade-in 0.2s ease;
}

.quiz-modal-card {
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  width: 100%;
  max-width: 520px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  animation: modal-scale-up 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.quiz-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.quiz-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary, #f8fafc);
}

.quiz-modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-secondary, #94a3b8);
  cursor: pointer;
  padding: 0 4px;
}

.mode-selection-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mode-select-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md, 10px);
  background: var(--bg-elevated, #1e2230);
  border: 1px solid var(--border-color, #2a2e3d);
  color: var(--text-primary, #f8fafc);
  text-decoration: none;
  transition: all 0.2s ease;
}

.mode-select-option:hover {
  background: var(--bg-card-hover, #1a1e2b);
  border-color: var(--accent-primary, #f8fafc);
  transform: translateY(-2px);
}

.mode-select-option .mode-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.mode-desc strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.mode-desc p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary, #94a3b8);
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-scale-up {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Toast Notification Styling
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
  max-width: 420px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md, 10px);
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  color: var(--text-primary, #f8fafc);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  word-break: break-word;
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--text-secondary, #94a3b8);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.toast-success {
  border-left: 5px solid #10b981;
}
.toast-success .toast-icon {
  color: #10b981;
}

.toast-danger, .toast-error {
  border-left: 5px solid var(--kahoot-red);
}
.toast-danger .toast-icon, .toast-error .toast-icon {
  color: var(--kahoot-red);
}

.toast-warning {
  border-left: 5px solid #f59e0b;
}
.toast-warning .toast-icon {
  color: #f59e0b;
}

.toast-info {
  border-left: 5px solid #38bdf8;
}
.toast-info .toast-icon {
  color: #38bdf8;
}

.animate-slide-in {
  animation: toast-slide-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-fade-out {
  transform: translateX(30px);
  opacity: 0;
}

@keyframes toast-slide-in {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   Responsive & Smartboard Whiteboard Breakpoints
   ========================================================================== */

/* Mobile Portrait (<= 640px) */
@media (max-width: 640px) {
  .kahoot-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .kahoot-tile {
    min-height: 90px;
    padding: 16px 20px;
    font-size: 1.15rem;
  }

  .quiz-catalog-grid, .quiz-grid {
    grid-template-columns: 1fr;
  }

  .quiz-card-actions {
    flex-direction: column;
  }

  .quiz-card-actions .btn {
    width: 100%;
  }

  .quiz-nav-tabs {
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--radius-md, 10px);
  }

  .time-limit-group {
    flex-wrap: wrap;
  }
}

/* Tablet & Intermediate (641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .kahoot-tile {
    min-height: 110px;
    font-size: 1.25rem;
  }
}

/* Smartboard & 1080p / 4K Classroom Display Optimization (>= 1400px) */
@media (min-width: 1400px) {
  .quiz-game-container {
    max-width: 1400px;
    padding: 32px;
  }

  .quiz-question-title {
    font-size: clamp(2.2rem, 3.2vw, 3.6rem);
    line-height: 1.25;
    margin-bottom: 32px;
  }

  .kahoot-grid {
    gap: 24px;
    margin-top: 32px;
  }

  .kahoot-tile {
    min-height: 160px;
    padding: 28px 36px;
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    border-radius: 18px;
  }

  .kahoot-shape-badge {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .kahoot-svg-shape {
    width: 38px;
    height: 38px;
  }

  .host-pin-code {
    font-size: clamp(4.5rem, 8vw, 7.5rem);
    letter-spacing: 14px;
  }

  .quiz-timer-circle {
    width: 110px;
    height: 110px;
    font-size: 2.8rem;
    border-width: 8px;
  }
}

/* ==========================================================================
   Admin Review Panel & Moderation Styles (Milestone 2)
   ========================================================================== */

/* 1. Navigation Badge Pulse */
.quiz-badge-count.badge-pulse {
  animation: badge-pulse-glow 1.8s infinite;
}

@keyframes badge-pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(226, 27, 60, 0.6);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(226, 27, 60, 0);
  }
}

/* 2. Non-Admin Lock Screen */
.admin-lock-screen {
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  padding: 48px 24px;
  text-align: center;
  max-width: 580px;
  margin: 30px auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.lock-icon-container {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(234, 179, 8, 0.12);
  border: 2px solid rgba(234, 179, 8, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
}

.lock-shield-icon {
  font-size: 2.4rem;
}

.lock-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary, #f8fafc);
  margin: 0 0 6px 0;
}

.lock-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fef08a;
  margin: 0 0 16px 0;
}

.lock-description {
  color: var(--text-secondary, #94a3b8);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 24px auto;
}

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

/* 3. Admin Review Panel Layout */
.admin-review-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-review-header {
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  text-align: left;
}

.admin-header-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 8px #facc15;
  margin-right: 4px;
}

.admin-toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.admin-search-wrapper {
  flex: 1;
  min-width: 240px;
}

.admin-filter-buttons {
  display: flex;
  gap: 8px;
}

.admin-quizzes-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

/* 4. Admin Quiz Card & Actions */
.admin-quiz-card {
  border-left: 6px solid #eab308; /* Amber pending accent */
}

.admin-quiz-card.border-approved {
  border-left: 6px solid #10b981; /* Green approved accent */
}

.admin-quiz-summary-bar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.summary-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg-elevated, #1e2230);
  border: 1px solid var(--border-color, #2a2e3d);
  color: var(--text-secondary, #94a3b8);
}

.summary-chip.chip-quiz { color: #fca5a5; }
.summary-chip.chip-tf { color: #93c5fd; }
.summary-chip.chip-time { color: #fde047; }

.admin-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color, #2a2e3d);
}

.admin-card-actions .btn {
  font-size: 0.85rem;
  padding: 8px 12px;
  white-space: nowrap;
}

/* Tactile Kahoot Action Buttons */
.btn-admin-approve {
  background-color: var(--kahoot-green, #26890c) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 0 var(--kahoot-green-shadow, #124305) !important;
  font-weight: 700;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-admin-approve:hover:not(:disabled) {
  background-color: var(--kahoot-green-hover, #1e6d09) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--kahoot-green-shadow, #124305) !important;
}

.btn-admin-approve:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--kahoot-green-shadow, #124305) !important;
}

.btn-admin-reject, .btn-outline-danger {
  color: var(--kahoot-red, #e21b3c) !important;
  border-color: rgba(226, 27, 60, 0.45) !important;
  background: transparent !important;
}

.btn-admin-reject:hover:not(:disabled), .btn-outline-danger:hover:not(:disabled) {
  background: rgba(226, 27, 60, 0.15) !important;
  border-color: var(--kahoot-red, #e21b3c) !important;
}

.btn-danger {
  background-color: var(--kahoot-red, #e21b3c) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 0 var(--kahoot-red-shadow, #8f0d23) !important;
}

.btn-danger:hover:not(:disabled) {
  background-color: var(--kahoot-red-hover, #c1122f) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--kahoot-red-shadow, #8f0d23) !important;
}

/* 5. Zero-State Moderation Empty View */
.admin-empty-state {
  background: var(--bg-card, #12151e);
  border: 1px dashed var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  padding: 56px 24px;
  text-align: center;
}

.empty-icon-shield {
  font-size: 3.5rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 12px rgba(234, 179, 8, 0.3));
}

/* 6. Modal Overlays & Question Inspection Preview */
.quiz-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.quiz-modal-card {
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  width: 100%;
  max-width: 680px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1001;
  padding: 24px;
  box-sizing: border-box;
  animation: modal-enter 0.2s ease-out;
}

@keyframes modal-enter {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.admin-preview-dialog {
  max-width: 760px !important;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.preview-questions-list {
  overflow-y: auto;
  max-height: calc(88vh - 170px);
  padding-right: 8px;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.preview-questions-list::-webkit-scrollbar {
  width: 6px;
}
.preview-questions-list::-webkit-scrollbar-thumb {
  background: var(--border-color, #2a2e3d);
  border-radius: 999px;
}

.preview-question-box {
  background: var(--bg-elevated, #1e2230);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-md, 12px);
  padding: 18px;
  text-align: left;
}

.preview-question-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.preview-type-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.preview-type-pill.pill-quiz { background: rgba(226, 27, 60, 0.15); color: #fca5a5; }
.preview-type-pill.pill-tf { background: rgba(19, 104, 206, 0.15); color: #93c5fd; }

.preview-time-pill {
  font-size: 0.75rem;
  color: var(--text-secondary, #94a3b8);
  margin-left: auto;
}

.preview-question-prompt {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary, #f8fafc);
  margin-bottom: 14px;
  line-height: 1.4;
}

.preview-answers-grid {
  display: grid;
  gap: 8px;
}

.preview-answers-grid.grid-quiz,
.preview-answers-grid.grid-tf {
  grid-template-columns: 1fr 1fr;
}

.preview-option-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm, 8px);
  background: var(--bg-input, #0e1118);
  border: 1px solid var(--border-color, #2a2e3d);
  font-size: 0.9rem;
  color: var(--text-primary, #f8fafc);
  position: relative;
}

.preview-option-pill .opt-symbol {
  font-weight: 900;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

.preview-option-pill.opt-red .opt-symbol { color: var(--kahoot-red, #e21b3c); }
.preview-option-pill.opt-blue .opt-symbol { color: var(--kahoot-blue, #1368ce); }
.preview-option-pill.opt-yellow .opt-symbol { color: var(--kahoot-yellow, #d89e00); }
.preview-option-pill.opt-green .opt-symbol { color: var(--kahoot-green, #26890c); }

.preview-option-pill.is-correct {
  border: 2px solid #10b981 !important;
  background: rgba(16, 185, 129, 0.12) !important;
}

.correct-indicator {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
}

.preview-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-color, #2a2e3d);
  flex-wrap: wrap;
  gap: 10px;
}

/* 7. Responsive Breakpoints */
@media (max-width: 640px) {
  .admin-quizzes-container {
    grid-template-columns: 1fr;
  }
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-filter-buttons {
    width: 100%;
    justify-content: space-between;
  }
  .preview-answers-grid.grid-quiz,
  .preview-answers-grid.grid-tf {
    grid-template-columns: 1fr;
  }
  .admin-card-actions {
    flex-direction: column;
  }
  .admin-card-actions .btn {
    width: 100%;
  }
}



/* ==========================================================================
   Milestone 3 Extensions: Interactive Game Modes (Mode 1, 2, 3)
   ========================================================================== */

/* ==========================================================================
   Mode 1: Smartboard Standalone Mode Styling
   ========================================================================== */

.smartboard-body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-main, #0a0c10);
  color: var(--text-primary, #f8fafc);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
  font-family: var(--quiz-font-family, 'Inter', sans-serif);
}

.smartboard-container {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 20px 32px;
  max-width: 1600px;
  margin: 0 auto;
}

.smartboard-view {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

/* Smartboard Top HUD Header */
.sb-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sb-hud-left, .sb-hud-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-pill-counter {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
}

.sb-pill-type {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.sb-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card, #12151e);
  border: 2px solid var(--border-color, #2a2e3d);
  padding: 8px 24px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.sb-timer-val {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.sb-timer-unit {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 700;
  color: var(--text-secondary, #94a3b8);
}

.sb-score-badge {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900;
  padding: 8px 20px;
  background: rgba(216, 158, 0, 0.15);
  border: 2px solid rgba(216, 158, 0, 0.4);
  color: #fbbf24;
  border-radius: 999px;
}

.sb-streak-badge {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 800;
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  border-radius: 999px;
}

.sb-icon-btn {
  width: 52px;
  height: 52px;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  color: var(--text-primary, #f8fafc);
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s ease;
}

.sb-icon-btn:hover {
  background: var(--bg-card-hover, #1a1e2b);
  border-color: var(--text-primary, #f8fafc);
}

/* Full-Width Countdown Progress Bar */
.sb-timer-bar-track {
  width: 100%;
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.sb-timer-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8, #0ea5e9);
  border-radius: 999px;
  transition: width 0.05s linear, background-color 0.3s ease;
}

.sb-timer-bar-fill.warning {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.sb-timer-bar-fill.critical {
  background: linear-gradient(90deg, #ef4444, #dc2626);
  animation: pulse-glow-red 0.5s infinite alternate;
}

@keyframes pulse-glow-red {
  from { box-shadow: 0 0 8px rgba(239, 68, 68, 0.6); }
  to { box-shadow: 0 0 20px rgba(239, 68, 68, 1); }
}

/* Smartboard Question Prompt Box */
.sb-question-box {
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  padding: clamp(24px, 4vh, 48px) clamp(24px, 4vw, 48px);
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sb-question-text {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary, #f8fafc);
}

/* Large Interactive Kahoot Tiles Grid */
.sb-answers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  flex: 1;
  width: 100%;
}

.sb-answers-grid.grid-true-false {
  grid-template-columns: 1fr 1fr;
}

.sb-tile {
  min-height: clamp(130px, 16vh, 200px);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  font-size: clamp(1.3rem, 2.2vw, 2.0rem);
  font-weight: 700;
  border: 3px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease, opacity 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.sb-tile:active:not(:disabled), .sb-tile.tile-tapped {
  transform: translateY(6px);
}

.sb-tile.tile-correct {
  border: 4px solid #22c55e !important;
  box-shadow: 0 0 35px rgba(34, 197, 94, 0.85) !important;
  opacity: 1 !important;
  transform: scale(1.02);
  z-index: 2;
}

.sb-tile.tile-incorrect {
  border: 4px solid #ef4444 !important;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.85) !important;
  opacity: 1 !important;
}

.sb-tile.tile-dimmed {
  opacity: 0.28 !important;
  filter: grayscale(60%) !important;
}

.sb-tile-badge {
  width: clamp(52px, 5vw, 68px);
  height: clamp(52px, 5vw, 68px);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sb-tile-text {
  flex: 1;
  text-align: left;
  line-height: 1.3;
}

/* Floating Reveal Banner */
.sb-reveal-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1200px);
  background: rgba(18, 21, 30, 0.95);
  backdrop-filter: blur(12px);
  border: 2px solid var(--border-color, #2a2e3d);
  border-radius: 20px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  z-index: 100;
  animation: slide-up 0.25s ease-out;
}

@keyframes slide-up {
  from { transform: translate(-50%, 40px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.sb-reveal-feedback {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sb-reveal-icon {
  font-size: 2.8rem;
}

.sb-reveal-headline {
  font-size: clamp(1.4rem, 2.2vw, 2.0rem);
  font-weight: 800;
}

.sb-reveal-subtext {
  font-size: clamp(1.0rem, 1.5vw, 1.25rem);
  color: var(--text-secondary, #94a3b8);
  font-weight: 600;
}

.sb-btn-next {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 800;
  padding: 16px 36px;
  border-radius: 14px;
  border: none;
  background: var(--text-primary, #f8fafc);
  color: #0a0c10;
  cursor: pointer;
  touch-action: manipulation;
  transition: all 0.15s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.sb-btn-next:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Standalone Intro & Selector */
.sb-header-bar, .sb-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.sb-btn-back, .sb-link-subtle {
  color: var(--text-secondary, #94a3b8);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.15s ease;
}

.sb-btn-back:hover, .sb-link-subtle:hover {
  color: var(--quiz-accent, #38bdf8);
}

.sb-top-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sb-intro-card {
  max-width: 900px;
  margin: auto;
  text-align: center;
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.sb-topic-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.sb-main-heading {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 900;
  margin: 0 0 16px 0;
  line-height: 1.25;
}

.sb-main-desc {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--text-secondary, #94a3b8);
  max-width: 700px;
  margin: 0 auto 32px auto;
  line-height: 1.5;
}

.sb-intro-meta-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.sb-meta-pill {
  padding: 10px 20px;
  background: var(--bg-elevated, #1e2230);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
}

.sb-guidelines-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border-color, #2a2e3d);
  border-radius: 16px;
  padding: 24px;
  max-width: 600px;
  margin: 0 auto 36px auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sb-guideline-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.1rem;
  font-weight: 600;
}

.sb-btn-primary {
  background: linear-gradient(135deg, var(--quiz-accent, #38bdf8), #0284c7);
  color: #0a0c10;
  font-weight: 800;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.15s ease;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

.sb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.5);
}

.sb-btn-large {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  padding: 18px 48px;
}

.sb-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  border: 2px solid var(--border-color, #2a2e3d);
  color: var(--text-primary, #f8fafc);
  font-weight: 800;
  border-radius: 16px;
  transition: all 0.15s ease;
}

.sb-btn-outline:hover {
  background: var(--bg-card-hover, #1a1e2b);
  border-color: var(--text-primary, #f8fafc);
}

/* Standalone Selector Screen */
.sb-selector-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.sb-search-wrap {
  margin-bottom: 24px;
}

.sb-search-input {
  width: 100%;
  padding: 16px 24px;
  border-radius: 16px;
  background: var(--bg-card, #12151e);
  border: 2px solid var(--border-color, #2a2e3d);
  color: var(--text-primary, #f8fafc);
  font-size: 1.25rem;
  box-sizing: border-box;
}

.sb-search-input:focus {
  outline: none;
  border-color: var(--quiz-accent, #38bdf8);
}

.sb-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

/* Standalone Summary Screen */
.sb-summary-card {
  max-width: 900px;
  margin: auto;
  text-align: center;
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.sb-celebration-badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.sb-summary-heading {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  margin: 0 0 16px 0;
}

.sb-final-score-display {
  margin: 24px 0;
}

.sb-score-number {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  color: #fbbf24;
  text-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
  line-height: 1;
}

.sb-score-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-secondary, #94a3b8);
  margin-top: 8px;
}

.sb-rating-badge {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fde68a;
  margin-bottom: 24px;
}

.sb-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.sb-metric-box {
  background: var(--bg-elevated, #1e2230);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: 14px;
  padding: 20px;
}

.sb-metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.sb-metric-lbl {
  font-size: 0.95rem;
  color: var(--text-secondary, #94a3b8);
}

.sb-review-section {
  text-align: left;
  margin: 32px 0;
}

.sb-review-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.sb-review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
}

.sb-review-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-elevated, #1e2230);
  border-radius: 12px;
  border-left: 6px solid #ef4444;
}

.sb-review-row.is-correct {
  border-left-color: #22c55e;
}

.sb-summary-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Mode 2: Tafel-Display Host & Smartboard Whiteboard Styles
   ========================================================================== */

.host-body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-main, #0a0c10);
  color: var(--text-primary, #f8fafc);
  overflow-x: hidden;
  font-family: var(--quiz-font-family, 'Inter', sans-serif);
}

.host-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 16px 32px 32px 32px;
  max-width: 1600px;
  margin: 0 auto;
}

.host-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  margin-bottom: 24px;
}

.host-topbar-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.host-title-text {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
}

.host-topbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Host Lobby Layout */
.host-lobby-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.host-pin-hero {
  background: var(--bg-card, #12151e);
  border: 2px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 20px);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.host-pin-label {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-secondary, #94a3b8);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.host-pin-code {
  font-size: clamp(3.8rem, 6.5vw, 6rem);
  font-weight: 900;
  letter-spacing: 12px;
  color: var(--quiz-accent, #38bdf8);
  margin: 12px 0 20px 0;
  text-shadow: 0 0 30px var(--quiz-accent-glow);
  font-variant-numeric: tabular-nums;
}

.host-join-url {
  font-size: 1.1rem;
  color: var(--text-secondary, #94a3b8);
  margin: 12px 0;
}

.host-join-url strong {
  color: var(--text-primary, #f8fafc);
}

.host-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 16px;
  background: #ffffff;
  border-radius: 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.host-qr-canvas {
  width: 180px;
  height: 180px;
  display: block;
}

.host-players-panel {
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 20px);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.host-players-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color, #2a2e3d);
}

.host-players-roster {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
  flex: 1;
  min-height: 280px;
  max-height: 480px;
  overflow-y: auto;
  padding: 8px 4px;
}

.host-player-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-elevated, #1e2230);
  border: 1px solid var(--border-color, #2a2e3d);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary, #f8fafc);
  animation: popIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.host-player-chip .kick-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary, #94a3b8);
  cursor: pointer;
  padding: 0 4px;
  font-size: 1.1rem;
}
.host-player-chip .kick-btn:hover {
  color: var(--kahoot-red);
}

/* Host Question Display */
.host-question-screen {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.host-question-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.host-question-title {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
  font-weight: 800;
  text-align: center;
  line-height: 1.28;
  margin: 20px 0 32px 0;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Answer Distribution Histogram */
.distribution-bars-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 140px;
  margin-bottom: 16px;
  align-items: flex-end;
}

.distribution-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  gap: 8px;
}

.distribution-bar {
  width: 56px;
  border-radius: 8px 8px 0 0;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 8px;
}

.distribution-bar-red { background: var(--kahoot-red, #e21b3c); }
.distribution-bar-blue { background: var(--kahoot-blue, #1368ce); }
.distribution-bar-yellow { background: var(--kahoot-yellow, #d89e00); }
.distribution-bar-green { background: var(--kahoot-green, #26890c); }

.distribution-count {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
}

/* Host Intermediate Leaderboard */
.host-leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
  margin: 24px auto;
  width: 100%;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  background: var(--bg-card, #12151e);
  border: 1px solid var(--border-color, #2a2e3d);
  border-radius: var(--radius-lg, 16px);
  font-size: 1.3rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.leaderboard-row.rank-1 {
  border-left: 8px solid #fbbf24;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.12) 0%, var(--bg-card, #12151e) 40%);
}
.leaderboard-row.rank-2 {
  border-left: 8px solid #94a3b8;
}
.leaderboard-row.rank-3 {
  border-left: 8px solid #d97706;
}

.leaderboard-rank-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  background: var(--bg-elevated, #1e2230);
}

.leaderboard-delta {
  margin-left: auto;
  font-size: 1.05rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 4px 10px;
  border-radius: 999px;
  animation: deltaBounce 0.4s ease;
}

@keyframes deltaBounce {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Kahoot 3D Podium Ceremony
   ========================================================================== */
.podium-stage {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  height: 440px;
  max-width: 960px;
  margin: 40px auto 30px auto;
  width: 100%;
}

.podium-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 220px;
  position: relative;
}

.podium-pillar-1 { order: 2; height: 100%; }
.podium-pillar-2 { order: 1; height: 75%; }
.podium-pillar-3 { order: 3; height: 55%; }

.podium-avatar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 14px;
}

.podium-avatar-bubble {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-card, #12151e);
  border: 4px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.podium-crown {
  font-size: 2.2rem;
  margin-bottom: -10px;
  z-index: 2;
  filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.6));
}

.podium-block {
  width: 100%;
  flex: 1;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.podium-block-1 {
  background: linear-gradient(180deg, #f59e0b 0%, #b45309 100%);
  border-top: 4px solid #fde68a;
}
.podium-block-2 {
  background: linear-gradient(180deg, #94a3b8 0%, #475569 100%);
  border-top: 4px solid #f1f5f9;
}
.podium-block-3 {
  background: linear-gradient(180deg, #d97706 0%, #78350f 100%);
  border-top: 4px solid #fed7aa;
}

.podium-place-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
}

/* ==========================================================================
   Mode 3: Mobile Buzzer Controller Styles
   ========================================================================== */
.play-body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-main, #0a0c10);
  color: var(--text-primary, #f8fafc);
  overflow: hidden;
  font-family: var(--quiz-font-family, 'Inter', sans-serif);
}

.play-viewport {
  width: 100vw;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main, #0a0c10);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

.play-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: var(--bg-card, #12151e);
  border-bottom: 1px solid var(--border-color, #2a2e3d);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.play-card-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  overflow-y: auto;
}

.play-buzzer-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  box-sizing: border-box;
  width: 100%;
  height: calc(100dvh - 54px);
}

.play-buzzer-grid.grid-tf {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}

.play-buzzer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg, 18px);
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  position: relative;
  transition: transform 0.08s ease, filter 0.12s ease;
  width: 100%;
  height: 100%;
}

.play-buzzer-btn:active {
  transform: scale(0.95);
  filter: brightness(0.9);
}

.play-buzzer-btn.selected {
  outline: 6px solid #ffffff;
  outline-offset: -6px;
  filter: brightness(1.15);
}

.play-buzzer-btn.dimmed {
  opacity: 0.2;
  pointer-events: none;
}

.play-buzzer-shape {
  width: clamp(64px, 12vw, 120px);
  height: clamp(64px, 12vw, 120px);
  color: #ffffff;
}

.play-feedback-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #ffffff;
}

.play-feedback-card.is-correct {
  background-color: #10b981;
}

.play-feedback-card.is-incorrect {
  background-color: #e21b3c;
}

.play-feedback-card.is-timeout {
  background-color: #f59e0b;
}

.play-feedback-icon {
  font-size: 5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.play-feedback-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin: 0 0 10px 0;
}

.play-feedback-points {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}
