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

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

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

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

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

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a1628 0%, #13203a 30%, #1a2a4a 60%, #0d1a30 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  color: #1e1e2e;
  line-height: 1.7;
  min-height: 100vh;
  padding: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26, 122, 122, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 880px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.2rem;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.6s ease;
}

/* Top Navigation */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.2px;
  transition: opacity 0.2s;
}

.nav-brand:hover { opacity: 0.85; }

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a7a7a, #0f4a4a);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-title {
  background: linear-gradient(135deg, #e8e0d0, #c9a96e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 500;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  opacity: 0.8;
}

.nav-code {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.nav-code img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  opacity: 0.6;
}

/* Steps Bar */
.steps-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0 1.2rem;
  gap: 0;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  flex-shrink: 0;
  position: relative;
}

.step-dot.active {
  background: #1a7a7a;
  border-color: #1a7a7a;
  color: #fff;
  box-shadow: 0 0 20px rgba(26, 122, 122, 0.4);
  animation: pulse 2s ease infinite;
}

.step-dot.done {
  background: rgba(26, 122, 122, 0.3);
  border-color: #1a7a7a;
  color: #fff;
}

.step-line {
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.step-line.done {
  background: rgba(26, 122, 122, 0.5);
}

/* Header */
header {
  margin-bottom: 1.8rem;
  text-align: center;
  animation: fadeInUp 0.5s ease;
}

h1 {
  font-size: 1.9rem;
  color: #f0ede8;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #1e1e2e;
  font-weight: 700;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
  color: #2d2d3f;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  padding: 2rem 2.4rem;
  box-shadow:
    0 8px 32px rgba(0,0,0,0.18),
    0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.5s ease both;
  backdrop-filter: blur(10px);
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

/* Hint / Info block */
.hint {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
  padding: 0.8rem 1.2rem;
  background: #f8f6f0;
  border-radius: 12px;
  border-left: 4px solid #c9a96e;
}

/* Questions */
.question {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #ece8e0;
  animation: fadeInUp 0.4s ease both;
}

.question:nth-child(1) { animation-delay: 0.02s; }
.question:nth-child(2) { animation-delay: 0.04s; }
.question:nth-child(3) { animation-delay: 0.06s; }
.question:nth-child(4) { animation-delay: 0.08s; }
.question:nth-child(5) { animation-delay: 0.1s; }
.question:nth-child(6) { animation-delay: 0.12s; }
.question:nth-child(7) { animation-delay: 0.14s; }
.question:nth-child(8) { animation-delay: 0.16s; }
.question:nth-child(9) { animation-delay: 0.18s; }
.question:nth-child(10) { animation-delay: 0.2s; }
.question:nth-child(11) { animation-delay: 0.22s; }
.question:nth-child(12) { animation-delay: 0.24s; }
.question:nth-child(13) { animation-delay: 0.26s; }
.question:nth-child(14) { animation-delay: 0.28s; }
.question:nth-child(15) { animation-delay: 0.3s; }

.question:last-child { border-bottom: none; }

.question label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: #1e1e2e;
}

.scale {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.scale-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-width: 48px;
  background: transparent;
}

.scale-label:hover {
  background: #f0ebe0;
  border-color: #c9a96e;
  transform: translateY(-2px);
}

input[type="radio"] { transform: scale(1.3); cursor: pointer; accent-color: #1a7a7a; }

.scale-label input[type="radio"]:checked + span {
  background: linear-gradient(135deg, #1a7a7a, #0f4a4a);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 122, 122, 0.3);
}

.scale-label span {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: #666;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
  transition: all 0.2s ease;
}

.scale-label:hover span {
  background: #ddd6c8;
}

/* Forms */
.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: #1e1e2e;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid #d8d0c0;
  border-radius: 12px;
  font-size: 1.1rem;
  background: #fefcf8;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1a7a7a;
  box-shadow: 0 0 0 4px rgba(26, 122, 122, 0.12);
}

.form-row { display: flex; gap: 1.2rem; }
.form-row .form-group { flex: 1; }

/* Quit button */
.quit-btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #ff4444;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  border: 2px solid #ff4444;
  transition: all 0.2s;
  background: rgba(255, 50, 50, 0.12);
}

.quit-btn-nav:hover {
  color: #fff;
  background: #ff4444;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: linear-gradient(135deg, #1a7a7a, #0f4a4a);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  background-size: 200% 100%;
  transition: background-position 0.5s;
  pointer-events: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 122, 122, 0.3);
}

.btn:hover::after {
  background-position: 100% 0;
}

.btn:active {
  transform: translateY(-1px);
}

.btn-report {
  background: linear-gradient(135deg, #1a6b3c, #0f4a2a);
}

.btn-report:hover {
  box-shadow: 0 8px 24px rgba(26, 107, 60, 0.3);
}

.btn-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.btn-group .btn {
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fefcf8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

th, td {
  padding: 0.85rem;
  text-align: left;
  border-bottom: 1px solid #ece8e0;
  font-size: 0.9rem;
}

th {
  background: linear-gradient(135deg, #0f1b2d, #1a2a4a);
  color: #f0ede8;
  font-weight: 600;
}

tr:last-child td { border-bottom: none; }
tr:hover td { background: #f5f0e8; }

/* Error */
.error {
  color: #c0392b;
  font-size: 0.95rem;
  margin: 0.8rem 0;
  padding: 0.6rem 1rem;
  background: #fdecea;
  border-radius: 10px;
  border-left: 4px solid #c0392b;
}

/* Footer */
footer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  padding: 2rem 1rem 1.5rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 1rem;
}

.author-credit {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
}

.author-credit strong {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

ol { margin-left: 1.8rem; margin-bottom: 1.2rem; }
ol li { margin-bottom: 0.4rem; }

.instruction-block {
  background: #f8f6f0;
  border-left: 4px solid #c9a96e;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.instruction-block h3 { margin-top: 0; }

/* Digit Span */
.digit-display {
  font-size: 6rem;
  font-weight: 800;
  text-align: center;
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f1b2d;
  margin: 1rem 0;
  transition: opacity 0.1s;
  letter-spacing: 0.1rem;
}

.digit-show { opacity: 1; animation: fadeIn 0.1s ease; }
.digit-hide { opacity: 0; }

.info-text {
  text-align: center;
  color: #888;
  font-size: 1rem;
  margin: 0.5rem 0;
}

.recall-input {
  display: block;
  width: 280px;
  margin: 1rem auto;
  padding: 1rem;
  font-size: 1.8rem;
  text-align: center;
  border: 2px solid #d8d0c0;
  border-radius: 12px;
  letter-spacing: 0.3rem;
  background: #fefcf8;
  transition: all 0.25s ease;
}

.recall-input:focus {
  outline: none;
  border-color: #1a7a7a;
  box-shadow: 0 0 0 4px rgba(26, 122, 122, 0.12);
}

.feedback {
  text-align: center;
  font-size: 1.1rem;
  margin: 1rem 0;
  min-height: 2rem;
}

.results-box {
  background: #f8f6f0;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: center;
  line-height: 2;
  border: 1px solid #ece8e0;
}

/* Hero section */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero-images img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-images img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.hero-image-wide {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
  transition: transform 0.4s ease;
}

.hero-image-wide:hover {
  transform: scale(1.01);
}

/* Done / Celebration page */
.celebration {
  text-align: center;
  padding: 1rem 0;
}

.celebration-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(26, 122, 122, 0.2);
  border: 3px solid rgba(26, 122, 122, 0.2);
  animation: pulse 2s ease infinite;
}

.celebration h2 {
  font-size: 1.8rem;
  color: #1a6b3c;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.celebration p {
  font-size: 1.1rem;
  color: #555;
  max-width: 500px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, #f8f6f0, #e8e0d0);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 1rem;
  color: #1e1e2e;
  border: 2px solid #c9a96e;
  margin: 1rem 0;
  font-weight: 600;
}

/* Login page */
.login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
}

.login-brand {
  margin-bottom: 1.5rem;
}

.login-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.login-brand h2 {
  font-size: 1.6rem;
  color: #f0ede8;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.login-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.login-card {
  max-width: 400px;
  width: 100%;
  padding: 2.5rem 2rem;
}

.login-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

.login-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.login-card .form-group input {
  font-size: 1rem;
}

/* Stroop inline overrides */
.stroop-container { text-align: center; }

.stimulus-box {
  width: 300px;
  height: 150px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  border-radius: 14px;
  user-select: none;
  background: #fefcf8;
  border: 2px solid #e0dcd0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.color-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.color-btn {
  width: 120px;
  height: 80px;
  border: 3px solid #e0dcd0;
  border-radius: 14px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  transition: all 0.2s ease;
  background: #fff;
}

.color-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.color-btn:active { transform: scale(0.95); }
.color-btn.red { background: linear-gradient(135deg, #ff4444, #cc2222); color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.color-btn.blue { background: linear-gradient(135deg, #4488ff, #2266dd); color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.color-btn.green { background: linear-gradient(135deg, #44cc44, #22aa22); color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.color-btn.yellow { background: linear-gradient(135deg, #ffd700, #e6b800); color: #333; }
.color-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.block-header { font-size: 1.1rem; margin-bottom: 0.5rem; color: #666; font-weight: 600; }

.progress-bar { width: 100%; height: 6px; background: #ece8e0; border-radius: 3px; margin: 1rem 0; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, #1a7a7a, #0f4a4a); border-radius: 3px; transition: width 0.3s ease; }

.fixation { font-size: 2rem; color: #ccc; margin: 3rem auto; }

/* TMT overrides */
.tmt-area {
  position: relative;
  width: 650px;
  height: 480px;
  margin: 1rem auto;
  border: 2px solid #e0dcd0;
  border-radius: 14px;
  background: #fafaf8;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.04);
}

.tmt-circle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid #1a7a7a;
  background: #fff;
  transition: all 0.2s ease;
  user-select: none;
  transform: translate(-50%, -50%);
}

.tmt-circle:hover { transform: translate(-50%, -50%) scale(1.15); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.tmt-circle.done { background: linear-gradient(135deg, #1a7a7a, #0f4a4a); color: #fff; cursor: default; border-color: #1a7a7a; }
.tmt-circle.next-target { border-color: #00cc00; box-shadow: 0 0 0 4px rgba(0,204,0,0.2); animation: pulse 1s ease infinite; }
.tmt-circle.error-flash { border-color: #ff3333; background: #ffe0e0; }

.tmt-timer {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #0f1b2d;
  margin: 0.5rem 0;
}

/* N-Back overrides */
.nback-stimulus {
  width: 200px;
  height: 200px;
  margin: 2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: bold;
  background: #f8f6f0;
  border-radius: 24px;
  border: 3px solid #e0dcd0;
  transition: all 0.15s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.nback-stimulus.target { border-color: #4488ff; background: #e8f0ff; box-shadow: 0 0 24px rgba(68,136,255,0.15); }
.nback-stimulus.go { border-color: #00cc00; background: #e8ffe8; box-shadow: 0 0 24px rgba(0,204,0,0.2); }
.nback-stimulus.nogo { border-color: #ff3333; background: #ffe8e8; box-shadow: 0 0 24px rgba(255,51,51,0.2); }

.nback-score { font-size: 0.95rem; color: #888; margin: 0.3rem; }
.nback-rt { font-size: 2rem; font-weight: bold; color: #0f1b2d; min-height: 3rem; }

/* RT overrides */
.rt-area {
  width: 400px;
  height: 300px;
  margin: 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  font-size: 3rem;
  font-weight: bold;
  border: 3px solid #e0dcd0;
  background: #fafaf8;
  transition: all 0.2s ease;
  user-select: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.rt-area.waiting { background: #fff8e0; border-color: #e6c200; color: #856404; }
.rt-area.ready { background: #e0f0ff; border-color: #3399ff; color: #004085; }
.rt-area.stimulus { background: #daf0da; border-color: #28a745; color: #155724; animation: pulse 1s ease; }
.rt-area.error { background: #f8d7da; border-color: #dc3545; color: #721c24; }
.rt-area.premature { background: #ffe8e0; border-color: #ff6347; color: #8b0000; }

.rt-timer { font-size: 2.5rem; font-weight: bold; color: #0f1b2d; min-height: 3rem; }
.rt-score { font-size: 0.9rem; color: #888; margin: 0.2rem; }

.arrow-hint { font-size: 5rem; }

/* Responsive */
@media (max-width: 600px) {
  .container { padding: 0 0.8rem; }
  .card { padding: 1.2rem; border-radius: 14px; }
  .scale { gap: 0.2rem; }
  .scale-label { min-width: 40px; padding: 0.3rem; }
  h1 { font-size: 1.4rem; }
  .hero-images { grid-template-columns: 1fr; }
  .hero-images img { height: 160px; }
  .btn { padding: 0.8rem 1.5rem; font-size: 1rem; }
  .top-nav { flex-wrap: wrap; gap: 0.5rem; }
  .steps-bar { flex-wrap: wrap; }
  .step-line { width: 16px; }
  .tmt-area { width: 100%; height: 360px; }
  .rt-area { width: 100%; height: 220px; }
  .stimulus-box { width: 220px; height: 120px; font-size: 2.2rem; }
  .color-btn { width: 80px; height: 60px; font-size: 0.9rem; }
}
