/* ==========================================================================
   Taller de Mnemotecnia, Palacio de la Memoria y Sistema Mayor - Estilos
   Canónicos para Fijate Tools
   ========================================================================== */

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #182234;
  --bg-card-hover: #1f2d44;
  --border-color: #2a3850;
  --border-focus: #3b82f6;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #cbd5e1;
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: rgba(59, 130, 246, 0.15);
  --accent: #8b5cf6;
  --accent-light: rgba(139, 92, 246, 0.15);
  --success: #10b981;
  --success-light: rgba(16, 185, 129, 0.15);
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #f1f5f9;
  --bg-card-hover: #e2e8f0;
  --border-color: #cbd5e1;
  --border-focus: #2563eb;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #334155;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: rgba(37, 99, 235, 0.1);
  --accent: #7c3aed;
  --accent-light: rgba(124, 58, 237, 0.1);
  --success: #059669;
  --success-light: rgba(5, 150, 105, 0.1);
  --warning: #d97706;
  --danger: #dc2626;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.mono-font {
  font-family: 'JetBrains Mono', monospace;
}

/* Layout canónico */
.tool-layout {
  max-width: 1200px;
  width: 100%;
  margin: 1.5rem auto 3rem;
  padding: 0 1rem;
  flex: 1;
}

.tool-with-sidebar {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

.tool-main-content {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
}

/* Pestañas de navegación de la suite */
.suite-nav-wrapper {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.suite-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.suite-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  flex: 1 1 auto;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
  background: var(--primary-light);
}

.tab-btn.active {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.tab-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Contenedores de pestañas */
.tab-content {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-content.active {
  display: block;
}

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

/* Tarjetas y módulos */
.card-main {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.card-title-group h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Inputs y controles de formulario canónicos */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-subtle);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-height: 44px;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.form-select option {
  background-color: var(--bg-secondary);
  color: var(--text-main);
}

/* Botones canónicos táctiles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--text-muted);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
}

.btn-accent:hover {
  filter: brightness(1.1);
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  filter: brightness(0.9);
}

.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  min-height: 36px;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   MÓDULO 1: SISTEMA MAYOR
   ========================================================================== */
.major-input-box {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.major-input {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.6rem 1rem;
  flex: 1;
}

.major-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

/* Desglose fonético por dígitos */
.digits-phonetic-breakdown {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.digit-chip {
  flex: 1 1 90px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  text-align: center;
  transition: var(--transition);
}

.digit-chip .digit-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.digit-chip .digit-letters {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.25rem;
}

.digit-chip .digit-sound {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Resultados y sugerencias del Sistema Mayor */
.conversion-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  transition: var(--transition);
}

.result-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.result-card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.result-word-primary {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
}

.result-visual-scene {
  background: var(--bg-secondary);
  border-left: 3px solid var(--accent);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.result-alternatives {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.alt-chip {
  font-size: 0.8rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-subtle);
  cursor: pointer;
  transition: var(--transition);
}

.alt-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--text-main);
}

/* Presets rápidos para opositores */
.presets-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.5rem;
}

.presets-chips-container {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.preset-chip {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-subtle);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.preset-chip:hover {
  border-color: var(--primary);
  color: var(--text-main);
  background: var(--primary-light);
}

.preset-code {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--primary);
}

/* ==========================================================================
   SUBMODAL / GIMNASIO MATRIZ 00-99
   ========================================================================== */
.trainer-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  max-width: 550px;
  margin: 1.5rem auto;
}

.trainer-stats-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.stat-item .stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-item .stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.flashcard-3d-wrapper {
  perspective: 1000px;
  width: 100%;
  max-width: 380px;
  height: 220px;
  margin: 0 auto 1.5rem;
  cursor: pointer;
}

.flashcard-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.flashcard-inner.flipped {
  transform: rotateY(180deg);
}

.flashcard-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border: 2px solid var(--border-color);
}

.flashcard-front {
  background: var(--bg-secondary);
}

.flashcard-back {
  background: var(--bg-card-hover);
  transform: rotateY(180deg);
}

.card-big-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
}

.card-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.card-revealed-word {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
}

.card-revealed-scene {
  font-size: 0.88rem;
  color: var(--text-subtle);
  margin-top: 0.5rem;
  text-align: center;
  line-height: 1.4;
}

.flashcard-controls {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   MÓDULO 2: PALACIO DE LA MEMORIA (MÉTODO LOCI)
   ========================================================================== */
.palace-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.stations-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.station-row {
  display: grid;
  grid-template-columns: 50px 1.5fr 2fr 44px;
  gap: 0.75rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  transition: var(--transition);
}

.station-row:hover {
  border-color: var(--border-focus);
}

.station-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.station-locus-input, .station-concept-input {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  color: var(--text-main);
  min-height: 40px;
}

.station-delete-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.station-delete-btn:hover {
  color: var(--danger);
  background: rgba(239, 68, 68, 0.15);
}

/* Modo Paseo Loci (Inmersivo) */
.loci-walk-overlay {
  display: none;
  background: var(--bg-secondary);
  border: 2px solid var(--border-focus);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 0.3s ease;
}

.walk-progress-bar-bg {
  width: 100%;
  height: 8px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.walk-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.walk-station-display {
  text-align: center;
  margin-bottom: 2rem;
}

.walk-station-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.walk-locus-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.walk-concept-box {
  background: var(--bg-card);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-width: 500px;
  margin: 1.5rem auto 0;
  transition: var(--transition);
}

.walk-concept-box.revealed {
  border-style: solid;
  border-color: var(--success);
  background: var(--success-light);
}

.walk-concept-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  filter: blur(8px);
  user-select: none;
  transition: filter 0.3s ease;
}

.walk-concept-box.revealed .walk-concept-text {
  filter: none;
  user-select: text;
}

.walk-controls-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   MÓDULO 3: GENERADOR DE ACRÓNIMOS Y CADENAS
   ========================================================================== */
.chain-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.chain-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chain-step-content {
  flex: 1;
}

.chain-link-action {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-top: 0.5rem;
  background: var(--bg-secondary);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.acronym-display-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.acronym-word {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   MÓDULO 4: TABLA CANÓNICA Y CHULETA
   ========================================================================== */
.phonetic-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.phonetic-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.phonetic-table th, .phonetic-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.phonetic-table th {
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.phonetic-table td {
  background: var(--bg-secondary);
  font-size: 0.95rem;
}

.phonetic-table tr:hover td {
  background: var(--bg-card-hover);
}

.phonetic-table .td-digit {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  width: 60px;
}

.phonetic-table .td-letters {
  font-weight: 700;
  color: var(--text-main);
  font-family: 'JetBrains Mono', monospace;
}

/* Matriz 00-99 Completa Grid */
.matrix-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.matrix-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.matrix-cell:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.matrix-cell-num {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--primary);
}

.matrix-cell-word {
  color: var(--text-main);
  font-weight: 600;
}

/* ==========================================================================
   MODALES ACCESIBLES (SIN WINDOW.ALERT)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.modal-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.modal-body {
  color: var(--text-subtle);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Móvil y Escritorio)
   ========================================================================== */
@media (max-width: 768px) {
  .tool-layout {
    margin: 1rem auto 2rem;
    padding: 0 0.75rem;
  }

  .card-main {
    padding: 1.25rem;
  }

  .station-row {
    grid-template-columns: 36px 1fr 36px;
    grid-template-rows: auto auto;
    row-gap: 0.5rem;
  }

  .station-concept-input {
    grid-column: 1 / -1;
  }

  .major-input-box {
    flex-direction: column;
  }

  .major-input {
    width: 100%;
    font-size: 1.4rem;
  }

  .flashcard-3d-wrapper {
    height: 190px;
  }

  .card-big-num {
    font-size: 3rem;
  }

  .acronym-word {
    font-size: 2rem;
  }
}
