/* ==========================================================================
   Digital Garden — terminal Esper
   ========================================================================== */

@font-face {
    font-family: "Brink BR Shape";
    src: url("../../../uploads/et-fonts/Brink-BR-Shape-Regular.ttf") format("truetype");
    font-display: swap;
}

:root {
    --gt-amber: #ffb347;
    --gt-amber-dim: rgba(255, 179, 71, 0.55);
    --gt-amber-faint: rgba(255, 179, 71, 0.18);
    --gt-cyan: #5fd4e0;
    --gt-bg: #050403;
    --gt-screen: #0d0805;
    --gt-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
    --gt-display: "Brink BR Shape", var(--gt-mono);
    --gt-glow: 0 0 6px rgba(255, 179, 71, 0.45), 0 0 18px rgba(255, 140, 40, 0.15);
}

/* Reset de la page (Divi imprime encore quelques styles inline) */
html,
body.garden {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    background: var(--gt-bg) !important;
    color: var(--gt-amber);
    overflow: hidden;
}

body.garden {
    font-family: var(--gt-mono);
}

/* Liste statique (sans JS) ; masquée visuellement mais lisible par les lecteurs d'écran une fois le terminal monté */
#garden-static {
    max-width: 40rem;
    margin: 0 auto;
    padding: 2rem 16px;
    line-height: 1.6;
}

#garden-static h1 {
    font-family: var(--gt-display);
    font-weight: 400;
}

/* Avec un navigateur capable de lancer le terminal, la liste est masquée dès le premier rendu (pas de flash) */
.garden-js #garden-static,
.gt-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

#garden-room {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   Écran du terminal
   ========================================================================== */

.gt-screen {
    position: relative;
    box-sizing: border-box;
    width: 960px;
    height: 720px;
    padding: 28px 34px;
    display: grid;
    grid-template-columns: 170px 1fr 290px;
    grid-template-rows: auto 1fr 150px auto;
    grid-template-areas:
        "head head head"
        "index viewer viewer"
        "index log log"
        "index prompt prompt";
    gap: 14px 22px;
    background:
        radial-gradient(ellipse at 50% 45%, rgba(255, 150, 60, 0.07), transparent 70%),
        var(--gt-screen);
    color: var(--gt-amber);
    font: 15px/1.45 var(--gt-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: var(--gt-glow);
    overflow: hidden;
    animation: gt-flicker 7s infinite steps(1);
}

.gt-screen *,
.gt-screen *::before,
.gt-screen *::after {
    box-sizing: border-box;
}

.gt-screen.is-open {
    grid-template-areas:
        "head head head"
        "index viewer sheet"
        "index log log"
        "index prompt prompt";
}

/* Lignes de balayage et vignettage */
.gt-screen::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.28) 0 1px, transparent 1px 3px),
        radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 5;
}

.gt-screen :is(h1, h2, h3, h4, h5, h6, p) {
    color: inherit;
    padding: 0;
}

.gt-screen button,
.gt-screen input,
.gt-screen a {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-shadow: inherit;
}

.gt-screen button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.gt-screen :focus-visible {
    outline: 1px solid var(--gt-cyan);
    outline-offset: 2px;
}

/* Conteneurs qui reçoivent le focus par programme (changement de vue) : pas de cadre */
.gt-screen .gt-viewer:focus,
.gt-screen .gt-profile:focus {
    outline: none;
}

/* --- En-tête --- */
.gt-head {
    grid-area: head;
    display: flex;
    gap: 2rem;
    align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gt-amber-faint);
    font-size: 12px;
    color: var(--gt-amber-dim);
}

.gt-brand {
    font-family: var(--gt-display);
    font-size: 15px;
    color: var(--gt-amber);
    letter-spacing: 0.12em;
}

.gt-clock {
    margin-left: auto;
    color: var(--gt-cyan);
    text-shadow: 0 0 6px rgba(95, 212, 224, 0.5);
}

/* --- Index --- */
.gt-index {
    grid-area: index;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 14px;
    border-right: 1px solid var(--gt-amber-faint);
}

.gt-dir {
    padding: 5px 8px !important;
    font-size: 13px;
    white-space: nowrap;
}

.gt-dir-profile {
    margin-top: auto;
    border-top: 1px solid var(--gt-amber-faint) !important;
    color: var(--gt-cyan);
    text-shadow: 0 0 6px rgba(95, 212, 224, 0.45);
}

.gt-dir.is-empty {
    opacity: 0.4;
}

.gt-dir:hover,
.gt-dir.is-active {
    background: var(--gt-amber) !important;
    color: var(--gt-screen);
    text-shadow: none;
}

/* --- Visualiseur --- */
.gt-viewer {
    grid-area: viewer;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.gt-label {
    font-size: 12px;
    color: var(--gt-amber-dim);
    margin-bottom: 10px;
}

.gt-viewer-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--gt-amber-dim) transparent;
}

.gt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
}

.gt-thumb {
    position: relative;
    display: flex !important;
    flex-direction: column;
    gap: 6px;
    padding: 6px !important;
    border: 1px solid var(--gt-amber-faint) !important;
}

.gt-thumb:hover,
.gt-thumb:focus-visible {
    border-color: var(--gt-amber) !important;
    box-shadow: 0 0 12px rgba(255, 179, 71, 0.25);
}

.gt-thumb .gt-img,
.gt-thumb .gt-noise,
.gt-thumb canvas {
    aspect-ratio: 4 / 3;
    width: 100%;
}

.gt-thumb-id {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0 4px;
    font-size: 11px;
    background: rgba(5, 4, 3, 0.75);
}

.gt-thumb-star {
    position: absolute;
    top: 10px;
    right: 12px;
    color: var(--gt-cyan);
}

.gt-thumb-title {
    font-size: 12px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gt-empty {
    color: var(--gt-amber-dim);
}

/* Visuels : filtre CSS par défaut (le shader WebGL prend le relais quand il est disponible) */
.gt-img {
    overflow: hidden;
    background: #000;
}

.gt-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) sepia(0.6) contrast(1.2);
    mix-blend-mode: screen;
}

.gt-noise {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 80px;
    background-color: #120b06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .7 0 0 0 0 .28 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: gt-noise 0.6s steps(4) infinite;
    font-size: 10px;
    text-align: center;
    color: var(--gt-amber);
}

.gt-noise span {
    padding: 2px 6px;
    background: rgba(5, 4, 3, 0.8);
}

/* --- Vue d'analyse (ENHANCE) --- */
.gt-focus {
    position: relative;
    height: 100%;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #000;
}

.gt-focus .gt-img,
.gt-focus .gt-noise,
.gt-focus canvas {
    width: 100%;
    height: 100%;
}

.gt-focus .gt-img img,
.gt-focus .gt-gl canvas {
    object-fit: contain;
}

.gt-gl canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.gt-frame {
    --t: 0;
    position: absolute;
    inset: calc(var(--t) * 18%) calc(var(--t) * 22%);
    border: 1px solid var(--gt-cyan);
    box-shadow: 0 0 10px rgba(95, 212, 224, 0.35);
    opacity: calc(1 - var(--t) * 0.6);
    pointer-events: none;
}

.gt-frame::before,
.gt-frame::after {
    content: "";
    position: absolute;
    background: var(--gt-cyan);
    opacity: 0.6;
}

.gt-frame::before {
    left: 50%;
    top: -8px;
    bottom: -8px;
    width: 1px;
}

.gt-frame::after {
    top: 50%;
    left: -8px;
    right: -8px;
    height: 1px;
}

.gt-coords {
    position: absolute;
    left: 8px;
    bottom: 6px;
    font-size: 11px;
    color: var(--gt-cyan);
    text-shadow: 0 0 6px rgba(95, 212, 224, 0.5);
}

/* --- Fiche --- */
.gt-sheet {
    grid-area: sheet;
    display: none;
    overflow: auto;
    font-size: 13px;
    scrollbar-width: thin;
    scrollbar-color: var(--gt-amber-dim) transparent;
}

.is-open .gt-sheet {
    display: block;
}

.gt-title {
    margin: 4px 0 12px;
    font: 400 22px/1.15 var(--gt-display);
    letter-spacing: 0.06em;
    text-transform: none;
    outline: none;
}

.gt-row {
    display: flex;
    gap: 0.6em;
    padding: 2px 0;
}

.gt-key {
    color: var(--gt-amber-dim);
}

.gt-star {
    color: var(--gt-cyan);
    text-shadow: 0 0 6px rgba(95, 212, 224, 0.5);
}

.gt-analyse-key {
    margin-top: 12px;
}

.gt-analyse {
    margin: 4px 0 12px;
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.gt-link,
.gt-back {
    display: block;
    margin-top: 8px;
    text-decoration: none;
}

.gt-link:hover,
.gt-back:hover {
    color: var(--gt-cyan);
}

/* Fiche d'identité : photo d'archive à gauche, champs à droite */
.gt-profile {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 22px;
    align-items: start;
    font-size: 13px;
}

.gt-photo {
    aspect-ratio: 3 / 4;
    border: 1px solid var(--gt-amber-faint);
    padding: 6px;
    position: relative;
}

.gt-photo .gt-img,
.gt-photo canvas,
.gt-photo .gt-photo-missing {
    width: 100%;
    height: 100%;
}

.gt-photo .gt-img img,
.gt-photo canvas {
    object-fit: cover;
}

.gt-photo-missing {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-bottom: 10px;
    background:
        linear-gradient(var(--gt-amber-faint) 1px, transparent 1px) 0 0 / 100% 12px,
        linear-gradient(90deg, var(--gt-amber-faint) 1px, transparent 1px) 0 0 / 12px 100%,
        #0a0604;
    font-size: 10px;
    text-align: center;
}

.gt-photo-missing svg {
    width: 62%;
    fill: none;
    stroke: var(--gt-amber-dim);
    stroke-width: 1.5;
}

.gt-id .gt-row {
    padding: 3px 0;
    border-bottom: 1px dashed var(--gt-amber-faint);
}

.gt-id .gt-key {
    min-width: 13em;
}

/* --- Journal et invite --- */
.gt-log {
    grid-area: log;
    overflow: auto;
    padding-top: 8px;
    border-top: 1px solid var(--gt-amber-faint);
    font-size: 13px;
    scrollbar-width: none;
}

/* Bouton du journal repliable : mobile uniquement */
.gt-log-toggle {
    display: none;
}

.gt-line {
    white-space: pre-wrap;
    min-height: 1.45em;
}

.gt-echo {
    color: var(--gt-cyan);
    text-shadow: 0 0 6px rgba(95, 212, 224, 0.45);
}

.gt-prompt {
    grid-area: prompt;
    display: flex;
    gap: 0.6em;
    align-items: center;
    margin: 0;
}

.gt-prompt input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    caret-color: var(--gt-amber);
    padding: 2px 0;
}

/* --- Allumage et extinction du tube --- */
.gt-screen.gt-off {
    animation: gt-crt-off 2s forwards cubic-bezier(0.7, 0, 0.3, 1);
}

.gt-screen.gt-on {
    animation: gt-crt-on 0.9s both cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes gt-crt-off {
    0% { transform: scale(1, 1); filter: brightness(1); opacity: 1; }
    55% { transform: scale(1, 0.004); filter: brightness(3); opacity: 1; }
    85% { transform: scale(0.002, 0.004); filter: brightness(5); opacity: 1; }
    100% { transform: scale(0, 0); opacity: 0; }
}

@keyframes gt-crt-on {
    0% { transform: scale(0, 0.004); filter: brightness(5); opacity: 0; }
    30% { transform: scale(1, 0.004); filter: brightness(4); opacity: 1; }
    100% { transform: scale(1, 1); filter: brightness(1); opacity: 1; }
}

@keyframes gt-flicker {
    0%, 100% { opacity: 1; }
    41% { opacity: 0.985; }
    42% { opacity: 1; }
    77% { opacity: 0.97; }
    78% { opacity: 1; }
}

@keyframes gt-noise {
    0% { background-position: 0 0; }
    25% { background-position: -40px 20px; }
    50% { background-position: 30px -50px; }
    75% { background-position: -20px -10px; }
}

/* ==========================================================================
   Mode 3D : le terminal est monté sur l'écran de la pièce
   ========================================================================== */

.garden-css3d {
    position: fixed !important;
    inset: 0;
    pointer-events: none;
}

.garden-css3d .gt-screen {
    pointer-events: auto;
}

/* Verre bombé du tube : coins arrondis, ombre interne sur les bords, reflet diffus */
.garden--room:not(.garden--flat) .gt-screen {
    border-radius: 26px / 22px;
    box-shadow:
        inset 0 0 70px rgba(0, 0, 0, 0.85),
        inset 0 0 18px rgba(0, 0, 0, 0.9),
        0 0 40px rgba(255, 150, 60, 0.12);
}

.garden--room:not(.garden--flat) .gt-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
    border-radius: inherit;
    background:
        radial-gradient(ellipse 60% 40% at 28% 18%, rgba(255, 255, 255, 0.07), transparent 70%),
        linear-gradient(115deg, transparent 55%, rgba(255, 255, 255, 0.025) 62%, transparent 70%);
}

/* Écran éteint pendant l'arrivée ; s'allume avec le flash */
.garden--room:not(.garden--ready) .gt-screen {
    visibility: hidden;
}

.garden--room:not(.garden--flat) #garden-terminal {
    display: contents;
}

/* Bouton son, en coin, hors de l'écran */
.garden-sound {
    position: fixed;
    top: 12px;
    right: 16px;
    z-index: 20;
    padding: 4px 8px;
    background: rgba(5, 4, 3, 0.6);
    border: 1px solid var(--gt-amber-faint);
    color: var(--gt-amber-dim);
    font: 11px/1.2 var(--gt-mono);
    letter-spacing: 0.1em;
    cursor: pointer;
}

.garden-sound:hover,
.garden-sound[aria-pressed="true"] {
    color: var(--gt-amber);
    border-color: var(--gt-amber-dim);
}

.garden-sound:focus-visible {
    outline: 1px solid var(--gt-cyan);
}

.garden--flat .gt-clock {
    margin-right: 84px;
}

/* ==========================================================================
   Mode terminal seul (pas de WebGL, mouvements réduits, ?flat)
   ========================================================================== */

.garden--flat #garden-room {
    display: none;
}

.garden--flat #garden-terminal {
    position: fixed;
    inset: 0;
}

.garden--flat .gt-screen {
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-width: 1280px;
    margin: 0 auto;
}

/* --- Écran étroit : une seule colonne --- */
@media (max-width: 767px) {
    .gt-screen,
    .gt-screen.is-open {
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
        display: flex;
        flex-direction: column;
        gap: 10px;
        font-size: 14px;
    }

    .gt-head {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .gt-subject {
        display: none;
    }

    .gt-index {
        flex-direction: row;
        flex-shrink: 0;
        overflow-x: auto;
        padding: 0 0 8px;
        border-right: 0;
        border-bottom: 1px solid var(--gt-amber-faint);
        scrollbar-width: none;
    }

    .gt-viewer {
        flex: 1 1 auto;
        min-height: 40%;
    }

    .is-open .gt-viewer {
        flex: 0 0 auto;
        height: 34vh;
    }

    .is-open .gt-sheet {
        flex: 1 1 auto;
        min-height: 0;
    }

    .gt-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gt-profile {
        grid-template-columns: 1fr;
    }

    .gt-photo {
        width: 55%;
    }

    .gt-id .gt-key {
        min-width: 0;
    }

    .gt-log {
        flex: 0 0 auto;
        height: 92px;
    }
}

/* ==========================================================================
   Mobile : terminal compact dans l'écran de la pièce
   (calque plat : position et taille posées en ligne par screen-overlay.js)
   ========================================================================== */

/* La page ne défile jamais, même quand l'invite prend le focus */
body.garden--mobile {
    position: fixed;
    inset: 0;
    overscroll-behavior: none;
}

.garden--room.garden--mobile .gt-screen,
.garden--room.garden--mobile .gt-screen.is-open {
    position: fixed;
    z-index: 2;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: 0.02em;
    border-radius: 12px / 10px;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.85),
        inset 0 0 8px rgba(0, 0, 0, 0.9),
        0 0 24px rgba(255, 150, 60, 0.12);
}

/* Petits libellés : 10 px (texte courant 11 px) pour lire la fiche sans trop défiler */
.garden--mobile .gt-head,
.garden--mobile .gt-label,
.garden--mobile .gt-dir,
.garden--mobile .gt-thumb-id,
.garden--mobile .gt-thumb-title,
.garden--mobile .gt-coords,
.garden--mobile .gt-noise span,
.garden--mobile .gt-log,
.garden--mobile .gt-log-toggle {
    font-size: 10px;
}

/* En-tête sur une ligne */
.garden--mobile .gt-head {
    flex-wrap: nowrap;
    gap: 0.8rem;
    padding-bottom: 4px;
}

.garden--mobile .gt-brand {
    font-size: 12px;
    white-space: nowrap;
}

.garden--mobile .gt-subject {
    display: none;
}

/* Index : onglets qui défilent horizontalement */
.garden--mobile .gt-index {
    flex-direction: row;
    flex-shrink: 0;
    gap: 2px;
    overflow-x: auto;
    padding: 0 0 4px;
    border-right: 0;
    border-bottom: 1px solid var(--gt-amber-faint);
    scrollbar-width: none;
}

.garden--mobile .gt-dir {
    padding: 3px 6px !important;
}

.garden--mobile .gt-dir-profile {
    margin-top: 0;
    border-top: 0 !important;
}

/* Une seule vue à la fois */
.garden--mobile .gt-viewer {
    flex: 1 1 auto;
    min-height: 0;
}

.garden--mobile .gt-label {
    margin-bottom: 4px;
}

.garden--mobile .gt-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.garden--mobile .gt-thumb {
    gap: 3px;
    padding: 3px !important;
}

/* Souvenir ouvert : vignette à gauche, fiche défilante à droite ; l'index laisse sa place (retour : RETOUR) */
.garden--room.garden--mobile .gt-screen.is-open {
    display: grid;
    grid-template-columns: 34% minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
        "head head"
        "viewer sheet"
        "log log"
        "prompt prompt";
    column-gap: 10px;
}

.garden--mobile .is-open .gt-index,
.garden--mobile .is-open .gt-label,
.garden--mobile .is-open .gt-coords {
    display: none;
}

.garden--mobile .is-open .gt-viewer {
    height: auto;
    min-height: 0;
}

.garden--mobile .is-open .gt-sheet {
    min-height: 0;
    font-size: 11px;
}

.garden--mobile .gt-title {
    margin: 2px 0 4px;
    font-size: 14px;
}

.garden--mobile .gt-analyse {
    margin: 2px 0 6px;
    line-height: 1.4;
}

/* RETOUR reste visible en bas de la fiche pendant le défilement */
.garden--mobile .gt-sheet .gt-back {
    position: sticky;
    bottom: 0;
    width: 100%;
    margin-top: 6px;
    padding: 4px 0 !important;
    text-align: left;
    background: var(--gt-screen);
    border-top: 1px solid var(--gt-amber-faint) !important;
}

.garden--mobile .gt-profile {
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 11px;
}

.garden--mobile .gt-photo {
    width: 40%;
}

.garden--mobile .gt-id .gt-key {
    min-width: 0;
}

/* Journal : sa dernière ligne seulement ; un toucher le déplie par-dessus la vue */
.garden--mobile .gt-log {
    flex: 0 0 auto;
    height: calc(1.45em + 5px);
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    cursor: pointer;
}

.garden--mobile .gt-log > * {
    flex-shrink: 0;
}

/* Replié : une ligne entière, coupée par une ellipse plutôt que la fin d'une ligne renvoyée */
.garden--mobile .gt-log:not(.is-expanded) > * {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.garden--mobile .gt-log.is-expanded {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 34px;
    z-index: 4;
    height: 60%;
    padding: 6px;
    justify-content: flex-start;
    overflow: auto;
    border: 1px solid var(--gt-amber-faint);
    background: var(--gt-screen);
}

.garden--mobile .gt-log-toggle {
    display: block;
    position: absolute;
    right: 10px;
    bottom: 8px;
    z-index: 4;
    padding: 2px 4px !important;
    border: 1px solid var(--gt-amber-faint) !important;
    color: var(--gt-amber-dim);
}

.garden--mobile .gt-log-toggle[aria-expanded="true"] {
    color: var(--gt-amber);
}

/* 16 px : en dessous, iOS zoome la page quand le champ prend le focus */
.garden--mobile .gt-prompt {
    padding-right: 76px;
}

.garden--mobile .gt-prompt input {
    font-size: 16px;
}

@media (max-width: 329px) {
    .garden--mobile .gt-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gt-screen,
    .gt-noise {
        animation: none !important;
    }

    .gt-screen.gt-off {
        opacity: 0.1;
    }
}
