@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Sora:wght@400;600;700;800&display=swap');

.maze-teacher-shell,
.maze-app {
    font-family: 'Space Grotesk', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    color: #e2e8f0;
}

.maze-teacher-shell {
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 24%),
        radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.12), transparent 26%),
        linear-gradient(180deg, #06101c 0%, #081422 100%);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.45);
}

.maze-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(2, 6, 23, 0.42);
    backdrop-filter: blur(14px);
    flex-shrink: 0;
}

.maze-toolbar__back,
.maze-toolbar__action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    color: #f8fafc;
    text-decoration: none;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(96, 165, 250, 0.22);
    transition: transform .2s ease, background .2s ease;
}

.maze-toolbar__back:hover,
.maze-toolbar__action:hover {
    transform: translateY(-2px);
    background: rgba(30, 41, 59, 0.82);
}

.maze-toolbar__title-wrap {
    min-width: 0;
    text-align: center;
    flex: 1;
}

.maze-toolbar__eyebrow {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #7dd3fc;
    font-weight: 800;
}

.maze-toolbar__title {
    margin: 0.25rem 0 0;
    font-family: 'Sora', 'Space Grotesk', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: -0.05em;
    color: #f8fafc;
}

.maze-teacher-layout {
    display: grid;
    grid-template-columns: minmax(180px, 210px) 1fr minmax(180px, 210px);
    gap: 14px;
    padding: 14px;
    max-width: 100%;
    box-sizing: border-box;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.maze-main-column {
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
}

.maze-teacher-shell.is-fullscreen .maze-teacher-layout {
    grid-template-columns: minmax(140px, 180px) 1fr minmax(140px, 180px);
    gap: 10px;
    padding: 10px;
}

.maze-side-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

.maze-side-card {
    border-radius: 20px;
    padding: 12px 14px;
    background: rgba(10, 18, 31, 0.84);
    border: 1px solid rgba(94, 234, 212, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
}

.maze-side-card__label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.maze-side-card strong {
    display: block;
    font-size: 1rem;
    line-height: 1.08;
    color: #f8fafc;
}

.maze-side-card span,
.maze-side-card div {
    color: #cbd5e1;
}

.maze-app {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    height: 100%;
}

.maze-hero-band,
.maze-stage-card,
.maze-story-band {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
}

.maze-hero-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 22px 24px;
    background:
        radial-gradient(circle at 90% 20%, rgba(34,211,238,.18), transparent 26%),
        linear-gradient(145deg, rgba(30,64,175,.88), rgba(10,18,31,.98));
    border: 1px solid rgba(96, 165, 250, 0.16);
}

.maze-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 800;
    color: #dbeafe;
}

.maze-title {
    margin: 0.95rem 0 0.45rem;
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: #f8fafc;
}

.maze-subtitle {
    margin: 0;
    max-width: 62ch;
    color: rgba(226, 232, 240, 0.9);
    line-height: 1.6;
}

.maze-hero-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(290px, 100%);
}

.maze-pill-card {
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(165, 243, 252, 0.12);
}

.maze-pill-card__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 0.35rem;
}

.maze-pill-card strong {
    color: #f8fafc;
    font-size: 0.96rem;
    line-height: 1.45;
}

.maze-stage-card {
    background: rgba(8, 18, 32, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.14);
    padding: 14px;
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.32);
    max-width: 100%;
    overflow: hidden;
    overflow-y: auto;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.maze-stage-topbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.maze-stage-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(30, 41, 59, 0.86);
    border: 1px solid rgba(96, 165, 250, 0.14);
    color: #e2e8f0;
    font-size: 0.78rem;
    font-weight: 800;
}

button.maze-stage-chip--btn {
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, filter .2s ease;
}

button.maze-stage-chip--btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.maze-stage-chip--hint {
    background: rgba(34, 197, 94, 0.18);
    border-color: rgba(34, 197, 94, 0.35);
    color: #86efac;
}

.maze-stage-chip--power {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.35);
    color: #d8b4fe;
}

.maze-stage-grid {
    display: grid;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

.maze-board-wrap {
    padding: 12px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top left, rgba(59,130,246,.15), transparent 24%),
        linear-gradient(180deg, rgba(15,23,42,.94), rgba(8, 16, 28, 1));
    border: 1px solid rgba(34, 211, 238, 0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maze-game-canvas {
    width: min(100%, var(--maze-board-display-size, 100%));
    max-width: 100%;
    min-height: 0;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(125, 211, 252, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
    align-self: center;
    flex: 0 0 auto;
    /* Evitar white space excesivo: superponer los componentes de carga usando position absolute */
    position: relative;
}

.maze-game-canvas canvas {
    display: block;
    width: 100% !important;
    height: auto !important;
    position: relative;
    z-index: 1;
}

.maze-game-loader {
    min-height: var(--maze-board-display-size, 420px);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px;
    box-sizing: border-box;
    color: #e0f2fe;
    text-align: center;
    position: absolute;
    inset: 0;
    z-index: 5;
    background: inherit;
}

.maze-game-loader[hidden] {
    display: none !important;
}

.maze-game-loader strong {
    color: #f8fafc;
    font-size: 1rem;
}

.maze-game-loader small {
    color: #bae6fd;
}

.maze-game-loader__spinner {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 3px solid rgba(186, 230, 253, 0.24);
    border-top-color: #38bdf8;
    animation: maze-loader-spin 0.8s linear infinite;
}

.maze-game-loader.is-error {
    min-height: 140px;
    color: #fecaca;
}

@keyframes maze-loader-spin {
    to { transform: rotate(360deg); }
}

.maze-stage-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    width: min(100%, var(--maze-board-display-size, 100%));
    justify-content: center;
}

.maze-action-btn,
.maze-question-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border: 0;
    border-radius: 16px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.maze-action-btn,
.maze-question-btn {
    background: linear-gradient(135deg, #22c55e, #0f766e);
    color: #f8fafc;
}

.maze-action-btn:hover,
.maze-question-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.maze-action-btn--alt,
.maze-question-btn--ghost {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.16);
    color: #e2e8f0;
}

.maze-story-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.maze-story-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(10, 18, 31, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
}

.maze-story-pill span {
    font-size: 1.25rem;
}

.maze-story-pill strong {
    font-size: 0.9rem;
    line-height: 1.55;
    font-weight: 700;
}

.maze-question-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.maze-question-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.74);
    backdrop-filter: blur(12px);
}

.maze-question-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    overflow: auto;
    margin: 0;
    padding: 22px;
    border-radius: 28px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: #0f172a;
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.45);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    border: 2px solid transparent;
}

.maze-question-dialog.is-correct {
    background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%) !important;
    border-color: #22c55e !important;
    transform: scale(1.02);
}

.maze-question-dialog.is-wrong {
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%) !important;
    border-color: #ef4444 !important;
    animation: maze-shake 0.4s ease-in-out;
}

@keyframes maze-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    50% { transform: translateX(8px); }
    75% { transform: translateX(-4px); }
}

.maze-question-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 1rem;
}

.maze-question-dialog__eyebrow {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1d4ed8;
}

.maze-question-dialog h2 {
    margin: 0;
    font-family: 'Sora', 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    line-height: 1.05;
}

.maze-question-dialog__icon {
    font-size: 2rem;
}

.maze-question-dialog__context,
.maze-question-hint {
    color: #475569;
    line-height: 1.6;
}

.maze-question-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.maze-choice-grid {
    display: grid;
    gap: 12px;
}

.maze-choice-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(148, 163, 184, 0.24);
    cursor: pointer;
    transition: all 0.2s ease;
}

.maze-choice-card:hover {
    border-color: rgba(29, 78, 216, 0.4);
    background: #fff;
}

.maze-choice-card.is-correct-choice {
    background: #dcfce7 !important;
    border-color: #22c55e !important;
    color: #166534 !important;
}

.maze-choice-card.is-wrong-choice {
    background: #fee2e2 !important;
    border-color: #ef4444 !important;
    color: #991b1b !important;
}

.maze-choice-card input {
    accent-color: #1d4ed8;
}

.maze-choice-card__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dbeafe;
    font-size: 1.2rem;
}

.maze-text-input,
.maze-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #fff;
    font-size: 0.96rem;
    color: #0f172a;
}

.maze-sort-list {
    display: grid;
    gap: 10px;
}

.maze-sort-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(219, 234, 254, 0.5);
    border: 1px dashed rgba(29, 78, 216, 0.24);
    cursor: move;
    user-select: none;
}

.maze-sort-item__grip {
    color: #1d4ed8;
    font-weight: 900;
}

.maze-match-grid {
    display: grid;
    gap: 10px;
}

.maze-match-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.maze-question-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.maze-completion-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1rem 0 1.2rem;
}

.maze-completion-stats .maze-side-card {
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.maze-completion-stats .maze-side-card__label {
    color: #64748b;
}

.maze-completion-stats .maze-side-card strong {
    color: #0f172a;
}

.maze-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
}

.maze-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    color: #e2e8f0;
    line-height: 1.4;
    font-size: 0.8rem;
}

.maze-meter {
    margin-top: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
    overflow: hidden;
}

.maze-meter__fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    transition: width .25s ease;
}

.maze-meter--energy .maze-meter__fill {
    background: linear-gradient(90deg, #22c55e, #0f766e);
}

.maze-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    max-width: min(340px, calc(100vw - 30px));
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(10, 18, 31, 0.96);
    color: #f8fafc;
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow: 0 24px 50px rgba(2, 6, 23, 0.45);
    z-index: 12000;
}

.maze-mobile-controls {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.maze-mobile-controls__row {
    display: flex;
    gap: 10px;
}

.maze-control-btn {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    border: 0;
    background: linear-gradient(135deg, #1d4ed8, #0f766e);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 900;
    box-shadow: 0 18px 30px rgba(13, 148, 136, 0.24);
}

@media (max-width: 1180px) {
    .maze-teacher-layout {
        grid-template-columns: 1fr;
    }

    .maze-side-panel {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 8px;
    }

    .maze-side-panel::-webkit-scrollbar {
        height: 6px;
    }
    .maze-side-panel::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.24);
        border-radius: 6px;
    }

    .maze-side-card {
        flex: 0 0 auto;
        width: 130px;
        scroll-snap-align: start;
        padding: 10px;
    }
}

@media (max-width: 960px) {
    .maze-hero-band,
    .maze-story-band {
        grid-template-columns: 1fr;
    }

    .maze-mobile-controls {
        display: flex;
        gap: 4px;
        margin-top: 6px;
    }

    .maze-mobile-controls__row {
        gap: 4px;
    }

    .maze-control-btn {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.1rem;
    }
}

@media (max-width: 680px) {
    .maze-toolbar {
        flex-wrap: nowrap;
        padding: 8px 12px;
        gap: 8px;
    }

    .maze-toolbar__title-wrap {
        order: 0;
        width: auto;
    }
    
    .maze-toolbar__title {
        font-size: 1rem;
        margin: 0;
    }
    
    .maze-toolbar__eyebrow {
        display: none;
    }
    
    .maze-toolbar__back {
        font-size: 0;
        padding: 8px;
    }
    .maze-toolbar__back::before {
        content: '←';
        font-size: 1.1rem;
    }
    
    .maze-toolbar__action {
        font-size: 0;
        padding: 8px;
    }
    .maze-toolbar__action svg {
        margin: 0 !important;
    }

    .maze-story-band,
    .maze-completion-stats,
    .maze-match-row {
        grid-template-columns: 1fr;
    }

    .maze-question-dialog {
        padding: 18px;
    }

    .maze-side-card {
        width: 85px;
        padding: 6px 8px;
        border-radius: 10px;
    }
    
    .maze-side-card__label {
        font-size: 0.5rem;
        margin-bottom: 1px;
    }
    
    .maze-side-card strong {
        font-size: 0.8rem;
    }
    
    .maze-meter {
        margin-top: 6px;
        height: 6px;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   SVG Fallback — shown while Phaser.js loads
   ══════════════════════════════════════════════════════════════════════════ */

.maze-svg-fallback {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 8px;
    box-sizing: border-box;
    opacity: 0.72;
    transition: opacity 0.4s ease;
    animation: maze-svg-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

.maze-svg-fallback svg {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    filter: invert(1) hue-rotate(180deg) brightness(0.9);
}

@keyframes maze-svg-pulse {
    0%, 100% { opacity: 0.72; }
    50%       { opacity: 0.9;  }
}

/* ══════════════════════════════════════════════════════════════════════════
   CSS Grid Maze — for the Worksheet Studio block (printable)
   ══════════════════════════════════════════════════════════════════════════ */

.maze-css-grid-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.maze-css-grid {
    display: grid;
    border: 3px solid #111;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    /* columns & rows set via inline style from JS */
}

.maze-cell {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 800;
    color: #1d4ed8;
    border-top:    2px solid #111;
    border-right:  2px solid #111;
    border-bottom: 2px solid #111;
    border-left:   2px solid #111;
    transition: background 0.15s;
}

/* Remove walls where passages exist */
.maze-cell.wall-n { border-top-color:    transparent; }
.maze-cell.wall-s { border-bottom-color: transparent; }
.maze-cell.wall-e { border-right-color:  transparent; }
.maze-cell.wall-w { border-left-color:   transparent; }

.maze-entry {
    background: rgba(22, 163, 74, 0.15) !important;
}

.maze-exit {
    background: rgba(220, 38, 38, 0.12) !important;
}

.maze-entry::before {
    content: '▶';
    font-size: 0.7rem;
    color: #15803d;
    position: absolute;
}

.maze-exit::before {
    content: '★';
    font-size: 0.7rem;
    color: #b91c1c;
    position: absolute;
}

.on-solution {
    background: rgba(37, 99, 235, 0.08) !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   Worksheet Studio Block — .wks-maze-block
   ══════════════════════════════════════════════════════════════════════════ */

.wks-maze-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
}

.wks-maze-block .maze-prompt {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    text-align: center;
    margin: 0;
    width: 100%;
}

.wks-maze-block .maze-difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.7rem;
    font-weight: 800;
    border: 1px solid rgba(29,78,216,0.12);
}

/* Printable overrides */
@media print {
    [data-maze-print-controls] {
        display: none !important;
    }

    .wks-maze-block {
        break-inside: avoid;
        color: #000 !important;
        background: #fff !important;
    }

    .maze-css-grid {
        border: 2px solid #000;
        background: #fff !important;
    }

    .maze-cell {
        color: #000 !important;
        background: #fff !important;
    }

    .maze-cell.wall-n { border-top-color:    transparent; }
    .maze-cell.wall-s { border-bottom-color: transparent; }
    .maze-cell.wall-e { border-right-color:  transparent; }
    .maze-cell.wall-w { border-left-color:   transparent; }
}
