:root {
  --bg: #0b1320;
  --panel: rgba(13, 22, 36, 0.78);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #e9eef5;
  --muted: #9bb0c9;
  --accent: #4ade80;
  --accent-2: #38bdf8;
  --warning: #f97316;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(1200px 800px at 30% 10%, #142a47 0%, #0b1320 60%, #060a13 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

#app {
  display: grid;
  grid-template-rows: 56px 1fr 44px;
  height: 100vh;
}

.hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  background: var(--panel);
  border-bottom: 1px solid var(--panel-border);
  backdrop-filter: blur(8px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand .logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand .title {
  color: var(--muted);
  font-size: 13px;
}

.stats {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.stats strong {
  color: var(--text);
  font-weight: 600;
  margin-left: 4px;
}

.lesson-progress {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.10);
  color: var(--accent-2);
  border: 1px solid rgba(56, 189, 248, 0.32);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 8px;
}

.bin-load {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.10);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.32);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.bin-load.is-full {
  background: rgba(248, 113, 113, 0.18);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.5);
  animation: binPulse 1.4s ease-in-out infinite;
}

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

.score-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.10);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.32);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.score-chip.is-low {
  background: rgba(248, 113, 113, 0.18);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.5);
}

.score-chip.flash-bad {
  animation: scoreFlashBad 0.4s ease;
}

@keyframes scoreFlashBad {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.bin-full-popup {
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 12px 36px rgba(220, 38, 38, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  z-index: 50;
  pointer-events: none;
  animation: binFullIn 0.32s ease;
  min-width: 280px;
  max-width: 92vw;
}

.bin-full-popup[hidden] { display: none; }

.bin-full-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  flex: 0 0 auto;
}

.bin-full-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.bin-full-text strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bin-full-text span {
  font-size: 12.5px;
  opacity: 0.92;
  margin-top: 2px;
}

.bin-full-popup.is-pulsing {
  animation: binFullPulse 1.4s ease-in-out infinite;
}

@keyframes binFullIn {
  0%   { opacity: 0; transform: translate(-50%, -8px) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, 0)    scale(1); }
}

@keyframes binFullPulse {
  0%, 100% { transform: translate(-50%, 0)    scale(1); }
  50%      { transform: translate(-50%, 0)    scale(1.04); }
}

.delivery-toast {
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(180deg, #16a34a 0%, #166534 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 12px 36px rgba(22, 163, 74, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  z-index: 50;
  pointer-events: none;
  min-width: 200px;
  text-align: center;
  animation: deliveryToastIn 0.32s ease;
}

.delivery-toast[hidden] { display: none; }

.delivery-toast-title {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.delivery-toast-points {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  color: #ecfdf5;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease;
}

.delivery-toast-points.is-popping {
  transform: scale(1.18);
}

.delivery-toast.is-fading {
  animation: deliveryToastOut 0.32s ease forwards;
}

@keyframes deliveryToastIn {
  0%   { opacity: 0; transform: translate(-50%, -8px) scale(0.95); }
  100% { opacity: 1; transform: translate(-50%, 0)    scale(1); }
}

@keyframes deliveryToastOut {
  0%   { opacity: 1; transform: translate(-50%, 0)    scale(1); }
  100% { opacity: 0; transform: translate(-50%, -6px) scale(0.96); }
}

.celebration-root {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  pointer-events: auto;
  background: radial-gradient(
    ellipse at center,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.78) 100%
  );
  animation: celebFadeIn 0.4s ease;
}

.celebration-root[hidden] { display: none; }

.confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.celebration-modal {
  position: relative;
  width: min(440px, 92vw);
  padding: 36px 30px 28px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 100%),
    linear-gradient(180deg, #ffffff 0%, #fdf4ff 100%);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 20px 60px rgba(236, 72, 153, 0.32),
    0 8px 24px rgba(56, 189, 248, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  text-align: center;
  animation: celebPop 0.55s cubic-bezier(0.18, 0.9, 0.32, 1.28);
  overflow: hidden;
}

.celebration-modal::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 8px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(
    90deg,
    #ef4444 0%,
    #f59e0b 16%,
    #facc15 32%,
    #22c55e 50%,
    #06b6d4 66%,
    #6366f1 82%,
    #ec4899 100%
  );
  background-size: 200% 100%;
  animation: celebRainbow 3s linear infinite;
}

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

.celebration-emoji {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 12px;
  animation: celebBounce 1.6s ease-in-out infinite;
  display: inline-block;
}

@keyframes celebBounce {
  0%, 100% { transform: translateY(0)    rotate(-4deg); }
  50%      { transform: translateY(-8px) rotate(6deg); }
}

.celebration-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  background: linear-gradient(90deg, #ec4899 0%, #f59e0b 30%, #22c55e 60%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.celebration-subtitle {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.4;
}

.celebration-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.celebration-stats .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 14px;
}

.celebration-stats .stat-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.celebration-stats .stat-value {
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.celebration-next-btn {
  display: block;
  width: 100%;
  padding: 14px 18px;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, #ec4899 0%, #f59e0b 50%, #22c55e 100%);
  background-size: 200% 200%;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow:
    0 8px 20px rgba(236, 72, 153, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-position 0.6s ease;
  animation: celebBtnGlow 3.5s ease-in-out infinite;
}

.celebration-next-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(236, 72, 153, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  background-position: 100% 0;
}

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

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

.celebration-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.celebration-close-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
}

@keyframes celebFadeIn {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes celebPop {
  0%   { opacity: 0; transform: translateY(16px) scale(0.85); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0)    scale(1); }
}

.controls button {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  margin-left: 8px;
  transition: background 120ms ease, transform 120ms ease;
}

.controls button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.controls button:active {
  transform: translateY(1px);
}

.stage {
  position: relative;
  overflow: hidden;
}

#scene {
  display: block;
  width: 100%;
  height: 100%;
}

.level-status {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 30;
  pointer-events: none;
  max-width: min(420px, calc(100vw - 32px));
}

.level-chip,
.objective-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.level-chip {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.objective-chip {
  background: rgba(13, 22, 36, 0.78);
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.35;
  border-radius: 14px;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(180deg, rgba(6, 10, 19, 0.55), rgba(6, 10, 19, 0.85));
  backdrop-filter: blur(6px);
  transition: opacity 240ms ease;
}

.overlay h1 {
  margin: 0 0 8px;
  font-size: 32px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.overlay p {
  margin: 4px 0;
  color: var(--muted);
  max-width: 520px;
}

.overlay .hint {
  margin-top: 12px;
  font-size: 13px;
}

.overlay button {
  margin-top: 22px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0b1320;
  border: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.25);
}

.overlay button:hover {
  filter: brightness(1.05);
}

.overlay button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--panel-border);
  box-shadow: none;
  margin-left: 10px;
}

.overlay button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

.overlay-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--panel);
  border-top: 1px solid var(--panel-border);
  font-size: 12px;
  color: var(--muted);
  backdrop-filter: blur(8px);
}

.legend .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.dot-road {
  background: #2a2f38;
}
.dot-building {
  background: #d6c3a3;
}
.dot-park {
  background: #2f9e44;
}
.dot-trash {
  background: #888888;
  border-radius: 50%;
}
.dot-car {
  background: #2e8b3d;
}

.edu-root {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.edu-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 10, 19, 0.62);
  backdrop-filter: blur(4px);
  pointer-events: auto;
  z-index: 10;
  animation: eduFadeIn 160ms ease;
}

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

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

.edu-card {
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: rgba(13, 22, 36, 0.96);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  padding: 22px 24px;
  color: var(--text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  position: relative;
}

.edu-lesson-card {
  max-width: 940px;
  padding: 24px 26px;
}

.edu-card .close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--panel-border);
  color: var(--text);
  border-radius: 8px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.edu-card .close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.edu-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.edu-lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.edu-main-column,
.edu-detail-column {
  min-width: 0;
}

.edu-detail-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 18px;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.edu-tag {
  display: inline-block;
  background: rgba(74, 222, 128, 0.14);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.32);
}

.edu-tag.sdg {
  background: rgba(56, 189, 248, 0.14);
  color: var(--accent-2);
  border-color: rgba(56, 189, 248, 0.32);
}

.edu-title {
  margin: 4px 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.edu-counter {
  margin: -4px 0 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.edu-fact {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.82;
}

.edu-question {
  margin: 6px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.edu-options {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.edu-options li label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.4;
  transition: background 120ms ease, border-color 120ms ease;
  color: var(--text);
}

.edu-options li label:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
}

.edu-options li input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--accent);
}

.edu-options li.is-correct label {
  border-color: rgba(74, 222, 128, 0.55);
  background: rgba(74, 222, 128, 0.10);
}

.edu-options li.is-wrong label {
  border-color: rgba(248, 113, 113, 0.55);
  background: rgba(248, 113, 113, 0.10);
}

.edu-explain {
  margin: 0;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(74, 222, 128, 0.08);
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text);
}

.edu-source {
  margin-top: auto;
  font-size: 11.5px;
  color: var(--muted);
  opacity: 0.85;
}

.edu-source a {
  color: var(--accent-2);
  text-decoration: none;
}

.edu-source a:hover {
  text-decoration: underline;
}

.edu-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

.edu-btn {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0b1320;
  border: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  letter-spacing: 0.02em;
}

.edu-btn:disabled {
  filter: grayscale(0.4) brightness(0.7);
  cursor: not-allowed;
}

.edu-btn.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--panel-border);
}

.edu-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.edu-grid {
  max-width: 920px;
  width: 100%;
}

.edu-grid-header {
  text-align: center;
  margin-bottom: 16px;
}

.edu-grid-header h2 {
  margin: 0 0 4px;
  font-size: 24px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.edu-grid-header p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.edu-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.edu-card-grid .topic {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  padding: 14px 14px 12px;
  color: var(--text);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  font: inherit;
}

.edu-card-grid .topic:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.edu-card-grid .topic .topic-tag {
  display: inline-block;
  background: rgba(74, 222, 128, 0.14);
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 128, 0.32);
  align-self: flex-start;
}

.edu-card-grid .topic .topic-sdg {
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.edu-card-grid .topic .topic-title {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
}

.edu-card-grid .topic .topic-cta {
  margin-top: 2px;
  color: var(--accent-2);
  font-size: 12.5px;
}

.edu-grid-footer {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

@media (max-width: 760px) {
  .level-status {
    top: 12px;
    left: 12px;
    max-width: calc(100vw - 24px);
  }

  .objective-chip {
    font-size: 12px;
  }

  .edu-lesson-card {
    max-width: 540px;
    padding: 22px 24px;
  }

  .edu-lesson-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .edu-detail-column {
    padding-left: 0;
    padding-top: 18px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .edu-question {
    font-size: 16px;
  }
}
