:root {
    --toca-yellow: #FFD23F;
    --toca-pink: #FF70A6;
    --toca-coral: #FF5964;
    --toca-blue: #38BDF8;
    --toca-mint: #38D39F;
    --toca-purple: #A06CD5;
    --toca-dark: #2D3142;
    --toca-bg: #FFFDF4;
    --toca-card-bg: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Sniglet', 'Fredoka', 'Tajawal', sans-serif;
}

body.toca-theme {
    background-color: var(--toca-bg);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(255, 112, 166, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 50% 85%, rgba(255, 210, 63, 0.2) 0%, transparent 40%),
        radial-gradient(#ffd6e5 1.5px, transparent 1.5px), 
        radial-gradient(#dcfce7 1.5px, #FFFDF4 1.5px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    background-position: 0 0, 0 0, 0 0, 0 0, 15px 15px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--toca-dark);
    position: relative;
    overflow-x: hidden;
}

/* Floating Toca Characters & Stickers */
.toca-bg-stickers {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-char {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border: 4px solid #fff;
    transition: transform 0.3s ease;
    animation: float-char 4s infinite ease-in-out alternate;
}

.char-top-left {
    top: 5%;
    left: 4%;
    width: 130px;
    transform: rotate(-10deg);
}

.char-top-right {
    top: 6%;
    right: 5%;
    width: 125px;
    transform: rotate(8deg);
    animation-delay: -1.5s;
}

.char-bottom-left {
    bottom: 5%;
    left: 5%;
    width: 135px;
    transform: rotate(6deg);
    animation-delay: -2.5s;
}

.char-bottom-right {
    bottom: 4%;
    right: 4%;
    width: 140px;
    transform: rotate(-8deg);
    animation-delay: -0.8s;
}

@keyframes float-char {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(4deg); }
}

/* Toca Doodles */
.toca-doodle {
    position: absolute;
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    animation: floatDoodle 6s infinite ease-in-out alternate;
    opacity: 0.85;
}

.doodle-1 { top: 12%; left: 24%; animation-duration: 5s; }
.doodle-2 { top: 18%; right: 22%; animation-duration: 7s; }
.doodle-3 { bottom: 25%; left: 18%; animation-duration: 6s; }
.doodle-4 { bottom: 20%; right: 25%; animation-duration: 5.5s; }
.doodle-5 { top: 45%; left: 6%; animation-duration: 8s; }
.doodle-6 { top: 50%; right: 7%; animation-duration: 6.5s; }

@keyframes floatDoodle {
    0% { transform: scale(1) translateY(0); }
    100% { transform: scale(1.15) translateY(-12px); }
}

/* Card Container */
.login-container {
    width: 100%;
    max-width: 490px;
    padding: 20px;
    z-index: 2;
    position: relative;
}

.toca-card {
    background: var(--toca-card-bg);
    border: 5px solid var(--toca-dark);
    border-radius: 36px;
    padding: 35px 28px;
    box-shadow: 0 16px 0 var(--toca-dark), 0 25px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    0% { transform: scale(0.85); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Toca Boca Official Logo */
.toca-logo-container {
    margin-bottom: 15px;
}

.toca-logo {
    height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.12));
    animation: gentle-wobble 3s infinite ease-in-out;
}

@keyframes gentle-wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

/* Avatar Wrapper */
.toca-avatar-wrapper {
    position: relative;
    width: 115px;
    height: 115px;
    margin: 0 auto 16px;
    background: #FFE2E2;
    border: 4px solid var(--toca-dark);
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 6px 0 var(--toca-dark);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toca-avatar-wrapper:hover {
    transform: scale(1.08) rotate(5deg);
}

.student-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.avatar-badge-sparkle {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--toca-yellow);
    border: 3px solid var(--toca-dark);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 3px 0 var(--toca-dark);
}

.avatar-change-hint {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--toca-pink);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 14px;
    border: 2.5px solid var(--toca-dark);
    box-shadow: 0 3px 0 var(--toca-dark);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.toca-avatar-wrapper:hover .avatar-change-hint {
    background: #ff4d88;
    transform: translateX(-50%) scale(1.05);
}

/* 4 Dots Avatar Indicator */
.avatar-dots-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
}

.avatar-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E2E8F0;
    border: 2px solid var(--toca-dark);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.avatar-dot:hover {
    transform: scale(1.3);
    background: var(--toca-yellow);
}

.avatar-dot.active {
    background: var(--toca-pink);
    width: 26px;
    border-radius: 10px;
    box-shadow: 0 2px 0 var(--toca-dark);
}

/* Title & Subtitle */
.toca-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--toca-coral);
    text-shadow: 3px 3px 0 var(--toca-yellow);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.toca-subtitle {
    color: #4B5563;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 22px;
    font-weight: 600;
}

/* Input Section */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toca-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

input {
    width: 100%;
    padding: 16px 20px;
    background: #F8FAFC;
    border: 4px solid var(--toca-dark);
    border-radius: 20px;
    color: var(--toca-dark);
    font-size: 1.5rem;
    font-weight: 800;
    outline: none;
    text-align: center;
    letter-spacing: 4px;
    box-shadow: inset 0 4px 6px rgba(0,0,0,0.06), 0 4px 0 var(--toca-dark);
    transition: all 0.2s ease;
}

input::placeholder {
    color: #9CA3AF;
    font-size: 1.05rem;
    letter-spacing: 1px;
    font-weight: 600;
}

input:focus {
    background: #FFF;
    border-color: var(--toca-blue);
    box-shadow: inset 0 4px 6px rgba(0,0,0,0.06), 0 4px 0 var(--toca-blue);
}

.input-icon {
    position: absolute;
    left: 18px;
    font-size: 1.3rem;
    color: #9CA3AF;
    pointer-events: none;
}

/* Toca Chunky 3D Buttons */
.toca-btn {
    width: 100%;
    padding: 16px 24px;
    border-radius: 22px;
    font-size: 1.35rem;
    font-weight: 900;
    cursor: pointer;
    border: 4px solid var(--toca-dark);
    transition: all 0.15s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.toca-btn-primary {
    background: var(--toca-mint);
    color: var(--toca-dark);
    box-shadow: 0 7px 0 var(--toca-dark);
}

.toca-btn-primary:hover:not(:disabled) {
    background: #4ae0ad;
    transform: translateY(-2px);
    box-shadow: 0 9px 0 var(--toca-dark);
}

.toca-btn-primary:active:not(:disabled) {
    transform: translateY(5px);
    box-shadow: 0 2px 0 var(--toca-dark);
}

.toca-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Error Message */
.error-msg {
    color: #EF4444;
    font-size: 0.95rem;
    font-weight: 800;
    min-height: 24px;
    opacity: 0;
    transition: opacity 0.3s;
    background: #FEF2F2;
    padding: 4px 12px;
    border-radius: 12px;
    border: 2px dashed #EF4444;
    display: inline-block;
    margin-top: 5px;
}

.error-msg.visible {
    opacity: 1;
}

.hidden {
    display: none !important;
}

/* Platforms Selection */
.platforms-group {
    animation: fadeIn 0.4s ease-out forwards;
}

.section-heading {
    font-size: 1.25rem;
    color: var(--toca-dark);
    margin-bottom: 18px;
    background: var(--toca-yellow);
    display: inline-block;
    padding: 8px 18px;
    border-radius: 18px;
    border: 3.5px solid var(--toca-dark);
    box-shadow: 0 4px 0 var(--toca-dark);
    font-weight: 900;
}

.buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.platform-btn {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-radius: 26px;
    border: 4px solid var(--toca-dark);
    color: var(--toca-dark);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 0 var(--toca-dark);
    text-align: right;
    position: relative;
    overflow: hidden;
}

.platform-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 0 var(--toca-dark);
}

.platform-btn:active {
    transform: translateY(4px);
    box-shadow: 0 2px 0 var(--toca-dark);
}

.science-btn {
    background: #EFF6FF;
    border-color: var(--toca-dark);
}
.science-btn:hover {
    background: #DBEAFE;
}

.social-btn {
    background: #FEF9C3;
    border-color: var(--toca-dark);
}
.social-btn:hover {
    background: #FEF08A;
}

/* Mascot on Platform Buttons */
.btn-char-mascot {
    width: 65px;
    height: 65px;
    background: #FFFFFF;
    border: 3px solid var(--toca-dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 var(--toca-dark);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.toca-btn-mascot-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.platform-btn:hover .toca-btn-mascot-img {
    transform: scale(1.15) rotate(5deg);
}

.btn-text-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-main-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--toca-dark);
}

.btn-sub-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4B5563;
    line-height: 1.3;
}

.btn-action-pill {
    background: var(--toca-mint);
    color: var(--toca-dark);
    font-weight: 900;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 16px;
    border: 2.5px solid var(--toca-dark);
    box-shadow: 0 3px 0 var(--toca-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.arrow-icon {
    font-size: 0.85rem;
}

/* Expiration Section */
.expiration-group {
    animation: fadeIn 0.4s ease-out forwards;
}

.icon-container-expired {
    width: 80px;
    height: 80px;
    background: #FEE2E2;
    border: 4px solid var(--toca-dark);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #EF4444;
    box-shadow: 0 6px 0 var(--toca-dark);
}

.expired-title {
    color: #EF4444;
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.expired-msg {
    color: #4B5563;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 700;
}

.toca-contact-btn {
    background: #3B82F6;
    color: #FFF;
    box-shadow: 0 6px 0 var(--toca-dark);
}

.toca-contact-btn:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 8px 0 var(--toca-dark);
}

/* Responsive */
@media (max-width: 900px) {
    .bg-char {
        opacity: 0.25;
        width: 100px;
    }
}

@media (max-width: 480px) {
    .toca-card {
        padding: 28px 18px;
        border-radius: 28px;
    }
    .toca-title {
        font-size: 2rem;
    }
    .bg-char {
        display: none;
    }
}

/* ========================================================
   TOCA BOCA SCIENCE MINI-LAB MODAL GAME
   ======================================================== */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(45, 49, 66, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.modal-content.toca-lab-box {
    width: 94%;
    max-width: 820px;
    max-height: 92vh;
    overflow-y: auto;
    background: #FFFDF7;
    border: 5px solid var(--toca-dark);
    border-radius: 36px;
    padding: 32px 28px 24px;
    position: relative;
    box-shadow: 0 16px 0 var(--toca-dark), 0 30px 60px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal:not(.hidden) .toca-lab-box {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    background: var(--toca-coral);
    color: white;
    border: 3px solid var(--toca-dark);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 0 var(--toca-dark);
    transition: all 0.15s;
    z-index: 20;
}

.close-btn:hover {
    transform: scale(1.1) rotate(90deg);
}

.close-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--toca-dark);
}

/* Lab Header */
.lab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3.5px dashed #E2E8F0;
    padding-bottom: 18px;
    margin-bottom: 20px;
    gap: 15px;
}

.lab-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lab-toca-logo {
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.lab-main-title {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--toca-coral);
    text-shadow: 1.5px 1.5px 0 var(--toca-yellow);
    line-height: 1.3;
}

.lab-subtitle {
    font-size: 0.92rem;
    color: #4B5563;
    font-weight: 700;
}

.lab-score-pill {
    background: #FEF08A;
    border: 3px solid var(--toca-dark);
    border-radius: 20px;
    padding: 6px 16px;
    box-shadow: 0 3.5px 0 var(--toca-dark);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--toca-dark);
    white-space: nowrap;
}

/* Lab Workbench Grid */
.lab-workbench {
    display: grid;
    grid-template-columns: 200px 1fr 220px;
    gap: 20px;
    align-items: center;
    background: #FFF9E6;
    border: 4px solid var(--toca-dark);
    border-radius: 28px;
    padding: 24px 18px;
    box-shadow: 0 8px 0 var(--toca-dark);
    position: relative;
    overflow: hidden;
}

/* 1. Mascot Zone */
.lab-mascot-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.lab-speech-bubble {
    background: #FFFFFF;
    border: 3px solid var(--toca-dark);
    border-radius: 18px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--toca-dark);
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 4px 0 var(--toca-dark);
    position: relative;
}

.lab-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #FFFFFF;
}

.lab-mascot-img {
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.18));
}

/* 2. Reaction Zone (Flask) */
.lab-reaction-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.particles-holder {
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.floating-lab-particle {
    position: absolute;
    top: 50%;
    font-size: 1.6rem;
    animation: floatParticleUp 1.2s ease-out forwards;
}

@keyframes floatParticleUp {
    0% { transform: translate(0, 0) scale(0.5); opacity: 1; }
    100% { transform: translate(var(--dx), -140px) scale(1.4); opacity: 0; }
}

.giant-flask {
    width: 140px;
    height: 175px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.flask-wobble {
    animation: flaskShake 0.4s ease;
}

@keyframes flaskShake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
    75% { transform: rotate(-4deg); }
}

.flask-neck {
    width: 44px;
    height: 45px;
    background: rgba(255,255,255,0.7);
    border: 4px solid var(--toca-dark);
    border-bottom: none;
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 2;
}

.flask-neck::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -8px;
    right: -8px;
    height: 8px;
    background: #FFFFFF;
    border: 3px solid var(--toca-dark);
    border-radius: 10px;
}

.flask-body {
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.65);
    border: 4.5px solid var(--toca-dark);
    border-radius: 20px 20px 55px 55px;
    position: relative;
    overflow: hidden;
    margin-top: -4px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.06);
}

.flask-body::after {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 14px;
    height: 45px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transform: rotate(25deg);
}

.flask-liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(180deg, #BAE6FD 0%, #38BDF8 100%);
    border-top: 3px solid rgba(0,0,0,0.15);
    transition: height 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.4s ease;
}

.liquid-bubbles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
}

.liquid-bubbles span {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: riseBubble 2s infinite ease-in;
}

.liquid-bubbles span:nth-child(1) { width: 10px; height: 10px; left: 20%; animation-duration: 1.8s; }
.liquid-bubbles span:nth-child(2) { width: 14px; height: 14px; left: 45%; animation-duration: 2.3s; animation-delay: 0.5s; }
.liquid-bubbles span:nth-child(3) { width: 8px; height: 8px; left: 70%; animation-duration: 1.5s; animation-delay: 0.8s; }
.liquid-bubbles span:nth-child(4) { width: 12px; height: 12px; left: 82%; animation-duration: 2.1s; animation-delay: 0.2s; }

@keyframes riseBubble {
    0% { transform: translateY(60px); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(-10px); opacity: 0; }
}

.flask-pedestal {
    width: 145px;
    height: 14px;
    background: #E2E8F0;
    border: 3.5px solid var(--toca-dark);
    border-radius: 12px;
    margin-top: 3px;
    box-shadow: 0 4px 0 var(--toca-dark);
}

.reaction-status {
    margin-top: 14px;
    background: #FFFFFF;
    border: 2.5px solid var(--toca-dark);
    border-radius: 16px;
    padding: 6px 14px;
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--toca-dark);
    box-shadow: 0 3px 0 var(--toca-dark);
    text-align: center;
    max-width: 90%;
}

/* 3. Shelves / Items Zone */
.lab-shelf-zone {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shelf-heading {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--toca-dark);
    text-align: center;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.lab-item-btn {
    background: #FFFFFF;
    border: 3px solid var(--toca-dark);
    border-radius: 16px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    box-shadow: 0 4px 0 var(--toca-dark);
    transition: all 0.15s ease;
}

.lab-item-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 0 var(--toca-dark);
}

.lab-item-btn:active {
    transform: translateY(3px);
    box-shadow: 0 1px 0 var(--toca-dark);
}

.item-icon {
    font-size: 1.6rem;
}

.item-label {
    font-size: 0.78rem;
    font-weight: 900;
    color: var(--toca-dark);
    text-align: center;
}

.item-red { background: #FFE4E6; }
.item-blue { background: #E0F2FE; }
.item-yellow { background: #FEF08A; }
.item-green { background: #DCFCE7; }
.item-volcano { background: #FED7AA; }
.item-spark { background: #E9D5FF; }

.lab-reset-btn {
    background: #F1F5F9;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 14px;
    margin-top: 6px;
    box-shadow: 0 4px 0 var(--toca-dark);
}

/* Footer Action */
.lab-footer-action {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.lab-enter-science-btn {
    max-width: 440px;
    font-size: 1.25rem;
    padding: 16px 28px;
    background: var(--toca-mint);
    color: var(--toca-dark);
    box-shadow: 0 7px 0 var(--toca-dark);
    border-radius: 24px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .lab-workbench {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .lab-mascot-zone {
        flex-direction: row;
        justify-content: center;
    }
    .lab-mascot-img {
        height: 100px;
    }
    .lab-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

