:root {
  --primary: #166534;
  --primary-light: #22c55e;
  --primary-soft: #dcfce7;
  --secondary: #0369a1;
  --secondary-soft: #e0f2fe;
  --ai-purple: #7c3aed;
  --ai-soft: #f3e8ff;
  --vr-rose: #e11d48;
  --dark: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --bg: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--dark);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 60px;
}

/* Header Cortariu-Cadí */
.gamelab-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--primary-soft);
  padding: 0.7rem 3%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.brand-title span {
  font-size: 0.72rem;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.nav-tabs {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.nav-tab-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-tab-btn:hover {
  border-color: var(--primary-light);
  background: var(--primary-soft);
}

.nav-tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(22, 101, 52, 0.25);
}

.creator-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid #86efac;
}

.xp-tag {
  background: #fef08a;
  color: #854d0e;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Container */
.gamelab-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2.5%;
}

/* Level Selector Bar (I3 to Adults) */
.level-selector-bar {
  background: linear-gradient(135deg, #166534 0%, #0369a1 100%);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.level-pills-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.level-pill-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.level-pill-btn strong {
  font-size: 0.92rem;
}

.level-pill-btn small {
  font-size: 0.76rem;
  opacity: 0.9;
}

.level-pill-btn.active {
  background: #ffffff;
  color: var(--primary);
  border-color: #fde047;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

.level-desc-banner {
  font-size: 0.86rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
}

/* AI Prompt School Bar (All Levels) */
.ai-prompt-school-card {
  background: linear-gradient(135deg, #faf5ff 0%, #eff6ff 100%);
  border: 2px solid #c084fc;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.08);
}

.ai-prompt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.ai-prompt-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #5b21b6;
  font-size: 1rem;
}

.prompt-stars-badge {
  background: #fef9c3;
  border: 1px solid #facc15;
  color: #854d0e;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
}

.ai-prompt-input-row {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.ai-prompt-input {
  flex: 1;
  min-width: 240px;
  padding: 0.75rem 1rem;
  border: 2px solid #a855f7;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.btn-voice-mic {
  background: #f3e8ff;
  color: #6b21a8;
  border: 2px solid #c084fc;
  border-radius: 12px;
  padding: 0 1rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-voice-mic.recording {
  background: #fee2e2;
  color: #dc2626;
  border-color: #ef4444;
  animation: pulseMic 1s infinite;
}

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

.btn-ai-compile {
  background: linear-gradient(135deg, #7c3aed 0%, #db2777 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.35rem;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-ai-compile:hover {
  filter: brightness(1.08);
}

.prompt-coach-msg {
  font-size: 0.85rem;
  color: #4c1d95;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.prompt-pillars-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.prompt-pillar-chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
}

.prompt-pillar-chip.pillar-ok {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.prompt-pillar-chip.pillar-missing {
  background: #fff;
  color: #6b21a8;
  border-color: #d8b4fe;
}

.prompt-pillar-chip.pillar-missing:hover {
  background: #f3e8ff;
}

.ai-compilation-summary {
  margin-top: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  border-left: 4px solid #7c3aed;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 0.83rem;
}

.ai-exp-line {
  margin-bottom: 3px;
}

/* Interactive Tutorial Step-by-Step Drawer */
.active-tutorial-drawer {
  background: #fffbeb;
  border: 2px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.tut-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tut-drawer-badge {
  color: #fff;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-right: 8px;
}

.tut-progress-bar {
  height: 8px;
  background: #fde68a;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.tut-progress-fill {
  height: 100%;
  transition: width 0.3s ease;
}

.tut-drawer-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tut-step-info {
  flex: 1;
  min-width: 260px;
}

.tut-step-info h4 {
  color: #92400e;
  margin-bottom: 0.25rem;
}

.tut-step-info p {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.tut-hint {
  color: #b45309;
  display: block;
}

.btn-tut-action {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
  margin-bottom: 0.4rem;
}

.tut-nav-btns {
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

/* Studio Split Grid */
.studio-split-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .studio-split-grid {
    grid-template-columns: 1fr;
  }
}

/* Game Stage Column */
.stage-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stage-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}

.studio-game-title-input {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  border: 1px dashed #cbd5e1;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  flex: 1;
  min-width: 180px;
}

.stage-hud-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0f172a;
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 12px 12px 0 0;
  font-weight: 700;
  font-size: 0.9rem;
}

.hud-mode-badge {
  background: var(--vr-rose);
  color: #fff;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.viewport-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #090d16;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
}

#gameCanvas2D,
#gameWebGLContainer {
  width: 100%;
  height: 100%;
  display: block;
}

.game-result-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(6px);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  color: #fff;
  z-index: 20;
}

.game-result-overlay h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #fde047;
}

.game-result-overlay p {
  margin-bottom: 1.1rem;
  max-width: 420px;
}

/* Virtual Mobile / Tablet Gamepad */
.virtual-gamepad-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0.4rem 0.25rem;
  gap: 0.5rem;
  user-select: none;
}

.dpad-cluster {
  display: flex;
  gap: 6px;
  align-items: center;
}

.vpad-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #cbd5e1;
  background: #f8fafc;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 0 #cbd5e1;
  touch-action: manipulation;
}

.vpad-btn.active {
  transform: translateY(2px);
  background: var(--primary-soft);
  border-color: var(--primary);
}

.vpad-action-cluster {
  display: flex;
  gap: 8px;
}

.vpad-jump-btn {
  background: #dcfce7;
  border-color: #22c55e;
  color: #166534;
  width: auto;
  padding: 0 14px;
  font-size: 0.9rem;
}

.vpad-laser-btn {
  background: #fee2e2;
  border-color: #f87171;
  color: #991b1b;
  width: auto;
  padding: 0 14px;
  font-size: 0.9rem;
}

/* VR & Face Camera Toolbar */
.special-tools-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.btn-tool-face {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #f472b6;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.btn-tool-vr {
  background: #fff1f2;
  color: #be123c;
  border: 1px solid #fda4af;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

/* Programming Workspace Column */
.workspace-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.quick-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1rem;
  background: #f8fafc;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.quick-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 3px;
}

.quick-field select {
  width: 100%;
  padding: 0.42rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 0.84rem;
}

/* Level 1 Icon Blocks */
.icon-blocks-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.icon-palette-btn {
  background: #fff;
  border: 3px solid #16a34a;
  border-radius: 14px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  min-width: 74px;
}

.icon-big {
  font-size: 1.75rem;
}

.icon-lbl {
  font-size: 0.72rem;
  font-weight: 800;
}

.icon-blocks-train {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: #f0fdf4;
  border: 2px dashed #4ade80;
  padding: 0.9rem;
  border-radius: 14px;
  min-height: 92px;
}

.icon-train-item {
  color: #fff;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.train-arrow {
  font-weight: 900;
  color: #16a34a;
}

/* Level 2 & 3 Scratch Blocks */
.scratch-palette-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  max-height: 210px;
  overflow-y: auto;
  margin-bottom: 0.85rem;
  padding-right: 4px;
}

.scratch-palette-item {
  text-align: left;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}

.scratch-palette-item:hover {
  background: #f1f5f9;
}

.scratch-blocks-stack {
  background: #0f172a;
  padding: 0.85rem;
  border-radius: 12px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.scratch-block-brick {
  color: #fff;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

.brick-del-btn {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  cursor: pointer;
}

/* Level 3 & 4 Code Editor */
.js-code-textarea {
  width: 100%;
  min-height: 250px;
  background: #0f172a;
  color: #38bdf8;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.82rem;
  padding: 0.85rem;
  border-radius: 12px;
  border: 2px solid #334155;
  line-height: 1.45;
  resize: vertical;
}

/* Tutorials & Arcade Grids */
.filter-pills-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.tut-filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.tut-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.1rem;
}

.tutorial-card,
.arcade-game-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tut-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.tut-level-badge {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}

.tut-cat-tag {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
}

.tut-done-pill {
  background: #dcfce7;
  color: #166534;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
}

.tutorial-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.tutorial-card p {
  font-size: 0.86rem;
  color: var(--slate);
  margin-bottom: 0.9rem;
}

.tut-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 0.7rem;
}

.tut-meta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

/* Arcade Cards */
.arcade-game-card {
  padding: 0;
  overflow: hidden;
}

.arcade-card-banner {
  height: 115px;
  background: linear-gradient(135deg, #0284c7, #166534);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.arcade-hero-big {
  font-size: 3.4rem;
}

.arcade-mode-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.arcade-level-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.arcade-card-body {
  padding: 1rem;
}

.arcade-creator {
  font-size: 0.82rem;
  color: var(--primary);
  margin: 4px 0;
}

.arcade-desc {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 0.6rem;
}

.arcade-prompt-box {
  background: #faf5ff;
  border: 1px solid #e9d5ff;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #5b21b6;
  margin-bottom: 0.65rem;
}

.arcade-stats-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.arcade-reactions-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.arcade-reactions-bar button {
  flex: 1;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 0;
  font-weight: 700;
  cursor: pointer;
}

.arcade-actions-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary-sm {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
}

.btn-outline-sm {
  background: #fff;
  color: var(--slate);
  border: 1px solid #cbd5e1;
  padding: 0.48rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 2000;
}

.modal-dialog {
  background: #fff;
  border-radius: 20px;
  max-width: 680px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 1.4rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.face-studio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 640px) {
  .face-studio-grid {
    grid-template-columns: 1fr;
  }
}

.camera-box,
.canvas-preview-box {
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  padding: 0.8rem;
  text-align: center;
}

#faceCameraVideo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  background: #0f172a;
  border: 3px solid var(--primary-light);
}

#facePaintCanvas {
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 50%;
  cursor: crosshair;
  touch-action: none;
}

.steam-badge-pill {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  margin: 4px;
}

/* Toast */
.gamelab-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0f172a;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-left: 5px solid #22c55e;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.25s ease;
  z-index: 3000;
}

.gamelab-toast.visible {
  transform: translateY(0);
  opacity: 1;
}
