/* =================================
   Quiz - Sober & Minimal
   x0ne.training Charter
   ================================= */

/* Anti-cheat traps (keep) */
.ai-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
  user-select: none;
}

.question-container h3,
.option-card {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* =================================
   Quiz Modal - Full Screen Clean
   ================================= */

.quiz-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quiz-modal.show {
  opacity: 1;
  visibility: visible;
}

.quiz-modal.hidden {
  display: none;
}

/* Backdrop - Subtle hex pattern */
.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a0a0b;
  background-image: url('/img/hex-grid-dark.svg');
  background-size: 60px 60px;
  background-attachment: fixed;
  opacity: 1;
}

.modal-backdrop::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(74, 144, 217, 0.04), transparent 60%);
}

/* Modal Container - Minimal box */
.modal-container {
  position: relative;
  background: rgba(74, 144, 217, 0.04);
  border: 1px solid rgba(74, 144, 217, 0.15);
  border-radius: 8px;
  width: 95%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  animation: modalFadeIn 0.3s ease;
}

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

/* Header - Minimal info bar */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(74, 144, 217, 0.08);
  background: transparent;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-header h2 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(74, 144, 217, 0.9);
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

.header-separator {
  color: rgba(255, 255, 255, 0.15);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.header-counter {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
}

.header-progress {
  width: 50px;
  height: 1px;
  background: rgba(74, 144, 217, 0.1);
  border-radius: 0;
  overflow: hidden;
}

.header-progress-fill {
  height: 100%;
  background: rgba(74, 144, 217, 0.65);
  transition: width 0.4s ease;
}

.header-timer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  min-width: 28px;
  text-align: right;
  transition: color 0.3s ease;
}

.header-timer.warning {
  color: rgba(255, 80, 80, 0.85);
}

.modal-close {
  display: none;
}

/* Body */
.modal-body {
  padding: 3rem 2.5rem;
  overflow-y: auto;
  max-height: calc(90vh - 60px);
}

/* Security Indicator - Minimal */
.quiz-security-indicator {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  background: transparent;
  border: 1px solid rgba(217, 174, 74, 0.2);
  border-radius: 3px;
  font-size: 0.65rem;
  color: rgba(217, 174, 74, 0.6);
  font-family: var(--font-mono);
}

.security-warning {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: 4px;
  margin-bottom: 1.5rem;
  animation: warningSlide 0.25s ease;
}

@keyframes warningSlide {
  from { transform: translateY(-8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.security-warning.fade-out {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.warning-icon {
  font-size: 0.9rem;
}

.warning-text {
  font-size: 0.8rem;
  color: rgba(255, 107, 107, 0.7);
  font-family: var(--font-mono);
}

/* =================================
   Question - Clear & Central
   ================================= */

.question-container {
  text-align: center;
  margin-bottom: 2.5rem;
}

.question-container h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 650px;
  letter-spacing: -0.01em;
}

/* =================================
   Code Block - For code questions
   ================================= */

.question-code-block {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  text-align: left;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(74, 144, 217, 0.15);
  border-radius: 8px;
  overflow: hidden;
}

.question-code-block .code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(74, 144, 217, 0.08);
  border-bottom: 1px solid rgba(74, 144, 217, 0.1);
}

.question-code-block .code-lang {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(74, 144, 217, 0.7);
  text-transform: lowercase;
  letter-spacing: 0.05em;
}

.question-code-block pre {
  margin: 0;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  background: transparent;
}

.question-code-block code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  white-space: pre;
  tab-size: 4;
}

/* Syntax highlighting - minimal */
.question-code-block code .keyword { color: #c792ea; }
.question-code-block code .string { color: #c3e88d; }
.question-code-block code .comment { color: rgba(255, 255, 255, 0.45); font-style: italic; }
.question-code-block code .number { color: #f78c6c; }
.question-code-block code .function { color: #82aaff; }

/* =================================
   Options - Grid 2x2
   ================================= */

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 700px;
  margin: 0 auto;
}

.option-card {
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  line-height: 1.5;
}

.option-card:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(74, 144, 217, 0.3);
  color: rgba(255, 255, 255, 0.85);
}

.option-card.selected {
  background: rgba(74, 144, 217, 0.08);
  border-color: rgba(74, 144, 217, 0.5);
  color: rgba(255, 255, 255, 0.95);
}

.option-card.disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

/* Feedback - Minimal */
.feedback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  margin-top: 1.5rem;
  animation: feedbackFade 0.2s ease;
}

@keyframes feedbackFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.feedback-icon {
  font-size: 1.25rem;
  font-weight: 400;
  font-family: var(--font-mono);
}

.feedback.correct .feedback-icon {
  color: rgba(74, 217, 144, 0.8);
}

.feedback.incorrect .feedback-icon {
  color: rgba(255, 107, 107, 0.7);
}

/* =================================
   Completion Screen - Clean
   ================================= */

.quiz-completion {
  text-align: center;
  padding: 3rem 2rem;
}

.quiz-completion h3 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

.score-display {
  margin-bottom: 2.5rem;
}

.score-value {
  font-size: 3rem;
  font-weight: 300;
  font-family: var(--font-mono);
  color: rgba(74, 144, 217, 0.9);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.score-detail {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
}

.score-message {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

/* =================================
   Loader & Error - Minimal
   ================================= */

.quiz-loader {
  text-align: center;
  padding: 3rem 2rem;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(74, 144, 217, 0.1);
  border-top-color: rgba(74, 144, 217, 0.5);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.25rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.quiz-loader p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  text-transform: lowercase;
}

.quiz-error {
  text-align: center;
  padding: 2.5rem 2rem;
}

.error-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.quiz-error p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

/* Info Banner */
.quiz-info-banner {
  padding: 0.6rem 0.8rem;
  background: transparent;
  border: 1px solid rgba(74, 144, 217, 0.1);
  border-radius: 4px;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* =================================
   Buttons - x0ne Login Style
   ================================= */

.quiz-completion .btn-primary,
.quiz-error .btn-secondary {
  padding: 0.75rem 2rem;
  background: transparent;
  color: rgba(74, 144, 217, 0.8);
  border: 1px solid rgba(74, 144, 217, 0.3);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  transition: all 0.2s ease;
}

.quiz-completion .btn-primary:hover,
.quiz-error .btn-secondary:hover {
  background: rgba(74, 144, 217, 0.06);
  border-color: rgba(74, 144, 217, 0.5);
}

/* =================================
   Quiz Module Content (in course)
   Matching module-base.css vibe
   ================================= */

.quiz-module-content {
  max-width: 100%;
  padding: 0;
}

/* Header */
.quiz-section-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(74, 144, 217, 0.15);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  text-align: left;
}

.quiz-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(74, 144, 217, 0.9);
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
}

.quiz-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 400;
  line-height: 1.6;
}

/* Sections */
.quiz-section {
  margin-bottom: 1.75rem;
}


/* Config List - like exercises */
.quiz-config-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quiz-config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.quiz-config-item:last-child {
  border-bottom: none;
}

.config-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.config-value {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

/* Progress Display */
.quiz-progress-display {
  padding: 0;
}

.progress-stats-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.progress-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
}

.progress-value {
  font-size: 0.75rem;
  color: rgba(74, 144, 217, 0.8);
  font-family: var(--font-mono);
}

.progress-bar-container {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.progress-bar-fill {
  height: 100%;
  background: rgba(74, 144, 217, 0.6);
  transition: width 0.4s ease;
}

/* Actions Section */
.quiz-actions-section {
  padding-top: 1rem;
  border-top: 1px solid rgba(74, 144, 217, 0.1);
}

.quiz-action-btn {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: rgba(74, 144, 217, 0.8);
  border: 1px solid rgba(74, 144, 217, 0.25);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
  text-transform: lowercase;
}

.quiz-action-btn:hover {
  background: rgba(74, 144, 217, 0.06);
  border-color: rgba(74, 144, 217, 0.4);
  color: rgba(74, 144, 217, 1);
}

/* Completed Display */
.quiz-completed-display {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.completed-icon {
  color: rgba(74, 217, 144, 0.7);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.completed-text {
  color: rgba(74, 217, 144, 0.8);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.completed-detail {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

/* Locked Display */
.quiz-locked-display {
  padding: 0.5rem 0;
}

.locked-text {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-family: var(--font-mono);
}

/* =================================
   Responsive
   ================================= */

@media (max-width: 768px) {
  .modal-body {
    padding: 2rem 1.25rem;
  }
  
  .question-container h3 {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }
  
  .question-code-block {
    margin-bottom: 1.25rem;
    border-radius: 6px;
  }
  
  .question-code-block pre {
    padding: 0.75rem 1rem;
  }
  
  .question-code-block code {
    font-size: 0.75rem;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .option-card {
    padding: 1rem;
    font-size: 0.8rem;
  }
  
  .quiz-module-content {
    padding: 0;
  }
  
  .quiz-title {
    font-size: 1.1rem;
  }
  
  .quiz-config-item {
    padding: 0.5rem 0;
    gap: 0.75rem;
  }
  
  .config-label,
  .config-value {
    font-size: 0.75rem;
  }

  .quiz-skip-btn {
    font-size: 0.7rem;
    padding: 0.4rem 1rem;
  }
}

/* Skip button */
.quiz-skip-btn {
  display: block;
  margin: 1rem 0 0 auto;
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-family: inherit;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 4px;
}

.quiz-skip-btn:hover {
  color: rgba(251, 191, 36, 0.8);
  border-color: rgba(251, 191, 36, 0.3);
}

.quiz-skip-btn.disabled {
  pointer-events: none;
  opacity: 0.3;
}

/* Skip feedback */
.feedback.skipped {
  opacity: 0.6;
}

.feedback.skipped .feedback-icon {
  color: rgba(251, 191, 36, 0.8);
  font-size: 1.2rem;
}

/* Score breakdown on completion */
.score-breakdown {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.score-correct {
  color: rgba(74, 222, 128, 0.9);
}

.score-wrong {
  color: rgba(248, 113, 113, 0.8);
}

.score-skipped {
  color: rgba(251, 191, 36, 0.8);
}

.score-penalty {
  opacity: 0.6;
  font-size: 0.65rem;
}

/* =================================
   Briefing Screen
   ================================= */

.quiz-briefing {
  text-align: center;
  padding: 2rem 1rem;
  animation: modalFadeIn 0.3s ease;
}

.briefing-title {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(74, 144, 217, 0.9);
  letter-spacing: 0.03em;
  text-transform: lowercase;
  margin-bottom: 2.5rem;
}

.briefing-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.briefing-rule {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

.rule-icon {
  font-family: var(--font-mono);
  font-size: 1rem;
}

.rule-icon.correct { color: rgba(74, 217, 144, 0.8); }
.rule-icon.incorrect { color: rgba(255, 107, 107, 0.7); }
.rule-icon.skip { color: rgba(251, 191, 36, 0.7); }
.rule-icon.timeout { color: rgba(255, 255, 255, 0.25); }

.rule-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.03em;
}

.rule-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 400;
}

.rule-value.positive { color: rgba(74, 217, 144, 0.9); }
.rule-value.negative { color: rgba(255, 107, 107, 0.8); }
.rule-value.neutral { color: rgba(255, 255, 255, 0.25); }

.briefing-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.briefing-sep {
  color: rgba(255, 255, 255, 0.15);
}

.briefing-exam {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255, 107, 107, 0.6);
  border: 1px solid rgba(255, 107, 107, 0.15);
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.briefing-shortcuts {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.briefing-shortcuts kbd {
  display: inline-block;
  padding: 0.1rem 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
}

.briefing-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.briefing-start {
  padding: 0.7rem 2rem;
  background: transparent;
  color: rgba(74, 144, 217, 0.85);
  border: 1px solid rgba(74, 144, 217, 0.3);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.briefing-start:hover,
.briefing-start:focus {
  background: rgba(74, 144, 217, 0.06);
  border-color: rgba(74, 144, 217, 0.5);
  outline: none;
}

.briefing-cancel {
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.briefing-cancel:hover {
  color: rgba(255, 255, 255, 0.5);
  border-color: rgba(255, 255, 255, 0.15);
}

/* =================================
   Option Key Hints
   ================================= */

.option-key {
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.25);
  margin-right: 0.5rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* =================================
   Fullscreen Overlay
   ================================= */

.fs-overlay {
  position: absolute;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fsOverlayIn 0.3s ease;
}

@keyframes fsOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fs-overlay-content {
  text-align: center;
  max-width: 340px;
  padding: 2rem;
}

.fs-overlay-icon {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 1.2rem;
  line-height: 1;
}

.fs-overlay-msg {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.fs-overlay-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.4rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.fs-overlay-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

/* =================================
   Question Entrance Animation
   ================================= */

.q-enter {
  animation: qEnter 0.25s ease;
}

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

/* =================================
   Responsive — briefing
   ================================= */

@media (max-width: 768px) {
  .briefing-rules {
    grid-template-columns: repeat(2, 1fr);
  }
  .briefing-meta,
  .briefing-shortcuts {
    flex-wrap: wrap;
    justify-content: center;
  }
}
