/* ============================================
   GGIGGL.com — Pixel-Art Wilderness Terminal
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --volcanic-soil: #1C1410;
    --humus-brown: #2D2418;
    --amber-dusk: #3D3222;
    --birch-parchment: #E8D5B7;
    --chanterelle-orange: #D4793A;
    --magma-coral: #C7443E;
    --spore-green: #7AB648;
    --mineral-teal: #4A8B7F;
    --pollen-gold: #E8B83D;

    --font-heading: 'Silkscreen', cursive;
    --font-body: 'Chakra Petch', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    --tile-size: 16px;
    --tile-scale: 4;
    --elastic: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: auto;
}

body {
    background: var(--volcanic-soil);
    color: var(--birch-parchment);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
    image-rendering: pixelated;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
}

/* --- Main Scroll Container --- */
#biome-container {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

/* --- Biome Sections --- */
.biome {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Tile Layers (parallax backgrounds) --- */
.tile-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    pointer-events: none;
}

/* Canopy Biome Tiles */
#biome-canopy {
    background-color: var(--amber-dusk);
}

#biome-canopy .tile-bg {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 63px, rgba(232, 213, 183, 0.03) 63px, rgba(232, 213, 183, 0.03) 64px),
        repeating-linear-gradient(90deg, transparent, transparent 63px, rgba(232, 213, 183, 0.03) 63px, rgba(232, 213, 183, 0.03) 64px);
    background-size: 64px 64px;
}

#biome-canopy .tile-mid {
    /* Leaf canopy dithered pattern */
    background-image:
        radial-gradient(circle 2px at 8px 8px, rgba(122, 182, 72, 0.15) 0%, transparent 100%),
        radial-gradient(circle 2px at 40px 24px, rgba(122, 182, 72, 0.12) 0%, transparent 100%),
        radial-gradient(circle 2px at 56px 48px, rgba(122, 182, 72, 0.18) 0%, transparent 100%),
        radial-gradient(circle 3px at 24px 40px, rgba(232, 184, 61, 0.1) 0%, transparent 100%);
    background-size: 64px 64px;
}

#biome-canopy .tile-fg {
    /* Dappled light pixels */
    background-image:
        radial-gradient(circle 1px at 16px 16px, rgba(232, 184, 61, 0.25) 0%, transparent 2px),
        radial-gradient(circle 1px at 48px 32px, rgba(232, 184, 61, 0.2) 0%, transparent 2px),
        radial-gradient(circle 1px at 32px 56px, rgba(232, 184, 61, 0.15) 0%, transparent 2px);
    background-size: 64px 64px;
    animation: dappled-light 4s steps(4) infinite;
}

@keyframes dappled-light {
    0%, 100% { opacity: 0.6; }
    25% { opacity: 0.8; }
    50% { opacity: 0.5; }
    75% { opacity: 0.9; }
}

/* Understory Biome Tiles */
#biome-understory {
    background-color: #352B1E;
}

#biome-understory .tile-bg {
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 63px, rgba(212, 121, 58, 0.04) 63px, rgba(212, 121, 58, 0.04) 64px),
        repeating-linear-gradient(90deg, transparent, transparent 63px, rgba(212, 121, 58, 0.04) 63px, rgba(212, 121, 58, 0.04) 64px);
    background-size: 64px 64px;
}

#biome-understory .tile-mid {
    /* Filtered light streaks */
    background-image:
        linear-gradient(170deg, transparent 40%, rgba(232, 184, 61, 0.05) 41%, rgba(232, 184, 61, 0.05) 42%, transparent 43%),
        linear-gradient(170deg, transparent 60%, rgba(232, 184, 61, 0.04) 61%, rgba(232, 184, 61, 0.04) 62%, transparent 63%),
        linear-gradient(165deg, transparent 25%, rgba(232, 184, 61, 0.03) 26%, rgba(232, 184, 61, 0.03) 27%, transparent 28%);
}

#biome-understory .tile-fg {
    /* Mushroom spore particles */
    background-image:
        radial-gradient(circle 1px at 20px 30px, rgba(212, 121, 58, 0.3) 0%, transparent 2px),
        radial-gradient(circle 1px at 50px 10px, rgba(212, 121, 58, 0.2) 0%, transparent 2px),
        radial-gradient(circle 1px at 35px 55px, rgba(212, 121, 58, 0.25) 0%, transparent 2px);
    background-size: 64px 64px;
    animation: spore-drift 6s steps(6) infinite;
}

@keyframes spore-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-64px); }
}

/* Forest Floor Biome Tiles */
#biome-floor {
    background-color: var(--humus-brown);
}

#biome-floor .tile-bg {
    /* Humus texture - dark soil dither */
    background-image:
        repeating-conic-gradient(var(--humus-brown) 0% 25%, #342A1D 25% 50%) 0 0 / 4px 4px,
        repeating-linear-gradient(0deg, transparent, transparent 63px, rgba(199, 68, 62, 0.03) 63px, rgba(199, 68, 62, 0.03) 64px),
        repeating-linear-gradient(90deg, transparent, transparent 63px, rgba(199, 68, 62, 0.03) 63px, rgba(199, 68, 62, 0.03) 64px);
    background-size: 4px 4px, 64px 64px, 64px 64px;
}

#biome-floor .tile-mid {
    /* Root network lines */
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(122, 182, 72, 0.08) 49%, rgba(122, 182, 72, 0.08) 51%, transparent 52%),
        linear-gradient(-30deg, transparent 48%, rgba(122, 182, 72, 0.06) 49%, rgba(122, 182, 72, 0.06) 51%, transparent 52%);
    background-size: 128px 128px;
}

#biome-floor .tile-fg {
    /* Bioluminescent glow spots */
    background-image:
        radial-gradient(circle 3px at 24px 40px, rgba(199, 68, 62, 0.15) 0%, transparent 100%),
        radial-gradient(circle 2px at 56px 16px, rgba(199, 68, 62, 0.1) 0%, transparent 100%);
    background-size: 64px 64px;
    animation: biolumi-pulse 3s steps(3) infinite alternate;
}

@keyframes biolumi-pulse {
    0% { opacity: 0.4; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

/* Subterranean Biome Tiles */
#biome-subterranean {
    background-color: var(--volcanic-soil);
}

#biome-subterranean .tile-bg {
    /* Deep earth dithered texture */
    background-image:
        repeating-conic-gradient(var(--volcanic-soil) 0% 25%, #231A14 25% 50%) 0 0 / 4px 4px,
        repeating-linear-gradient(0deg, transparent, transparent 63px, rgba(74, 139, 127, 0.04) 63px, rgba(74, 139, 127, 0.04) 64px),
        repeating-linear-gradient(90deg, transparent, transparent 63px, rgba(74, 139, 127, 0.04) 63px, rgba(74, 139, 127, 0.04) 64px);
    background-size: 4px 4px, 64px 64px, 64px 64px;
}

#biome-subterranean .tile-mid {
    /* Mycelium highway lines */
    background-image:
        linear-gradient(60deg, transparent 48%, rgba(122, 182, 72, 0.1) 49%, rgba(122, 182, 72, 0.1) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 47%, rgba(74, 139, 127, 0.08) 48%, rgba(74, 139, 127, 0.08) 50%, transparent 51%),
        linear-gradient(20deg, transparent 49%, rgba(122, 182, 72, 0.06) 49.5%, rgba(122, 182, 72, 0.06) 50.5%, transparent 51%);
    background-size: 96px 96px, 128px 128px, 64px 64px;
}

#biome-subterranean .tile-fg {
    /* Mineral vein glows */
    background-image:
        radial-gradient(circle 2px at 32px 32px, rgba(74, 139, 127, 0.2) 0%, transparent 100%),
        radial-gradient(circle 1px at 10px 50px, rgba(74, 139, 127, 0.15) 0%, transparent 100%),
        radial-gradient(circle 3px at 55px 20px, rgba(232, 184, 61, 0.1) 0%, transparent 100%);
    background-size: 64px 64px;
    animation: mineral-shimmer 5s steps(5) infinite alternate;
}

@keyframes mineral-shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 0.9; }
    100% { opacity: 0.6; }
}

/* --- Dithered Transitions Between Biomes --- */
.biome::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 128px;
    pointer-events: none;
    z-index: 2;
}

#biome-canopy::after {
    background-image:
        repeating-conic-gradient(var(--amber-dusk) 0% 25%, #352B1E 25% 50%);
    background-size: 4px 4px;
    opacity: 0.7;
    mask-image: linear-gradient(to bottom, transparent, black);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
}

#biome-understory::after {
    background-image:
        repeating-conic-gradient(#352B1E 0% 25%, var(--humus-brown) 25% 50%);
    background-size: 4px 4px;
    opacity: 0.7;
    mask-image: linear-gradient(to bottom, transparent, black);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
}

#biome-floor::after {
    background-image:
        repeating-conic-gradient(var(--humus-brown) 0% 25%, var(--volcanic-soil) 25% 50%);
    background-size: 4px 4px;
    opacity: 0.7;
    mask-image: linear-gradient(to bottom, transparent, black);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
}

/* --- Biome Content --- */
.biome-content {
    position: relative;
    z-index: 5;
    max-width: 640px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* --- Typography --- */
.biome-title {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--birch-parchment);
    text-align: center;
    -webkit-font-smoothing: none;
    -moz-osx-font-smoothing: unset;
    image-rendering: pixelated;
}

.wordmark {
    font-size: 64px;
    color: var(--pollen-gold);
    text-shadow: 4px 4px 0 rgba(28, 20, 16, 0.6);
}

/* --- Dialog Boxes (RPG style) --- */
.dialog-box {
    width: 100%;
    transform: scale(0);
    transition: transform 0.5s var(--elastic);
}

.dialog-box.visible {
    transform: scale(1);
}

.dialog-border {
    border: 2px solid var(--birch-parchment);
    background: rgba(28, 20, 16, 0.85);
    padding: 24px;
    position: relative;
    clip-path: polygon(
        0 8px, 8px 8px, 8px 0,
        calc(100% - 8px) 0, calc(100% - 8px) 8px, 100% 8px,
        100% calc(100% - 8px), calc(100% - 8px) calc(100% - 8px), calc(100% - 8px) 100%,
        8px 100%, 8px calc(100% - 8px), 0 calc(100% - 8px)
    );
}

.dialog-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--birch-parchment);
    min-height: 48px;
}

.dialog-text .cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--pollen-gold);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursor-blink 0.6s steps(2) infinite;
}

.dialog-text .cursor.fade-out {
    animation: cursor-fade 0.5s ease forwards;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes cursor-fade {
    to { opacity: 0; }
}

/* --- Minimap --- */
#minimap {
    position: fixed;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 128px;
    background: rgba(28, 20, 16, 0.9);
    border: 2px solid var(--humus-brown);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    padding: 8px 0;
    clip-path: polygon(
        0 4px, 4px 4px, 4px 0,
        calc(100% - 4px) 0, calc(100% - 4px) 4px, 100% 4px,
        100% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 100%,
        4px 100%, 4px calc(100% - 4px), 0 calc(100% - 4px)
    );
}

.minimap-dot {
    width: 8px;
    height: 8px;
    border: 1px solid var(--birch-parchment);
    transition: all 0.3s var(--elastic);
}

.minimap-dot.active {
    background: var(--pollen-gold);
    border-color: var(--pollen-gold);
    transform: scale(1.5);
    box-shadow: 0 0 6px var(--pollen-gold);
}

.minimap-dot[data-biome="0"] { background: transparent; }
.minimap-dot[data-biome="1"] { background: transparent; }
.minimap-dot[data-biome="2"] { background: transparent; }
.minimap-dot[data-biome="3"] { background: transparent; }

.minimap-label {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mineral-teal);
    margin-top: 4px;
}

/* --- CRT Overlay --- */
#crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 90;
    opacity: 0;
    transition: opacity 0.1s;
}

#crt-overlay.active {
    opacity: 1;
    animation: crt-scan 0.4s linear forwards;
}

@keyframes crt-scan {
    0% {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(232, 213, 183, 0.08) 0%,
            rgba(232, 213, 183, 0.08) 1%,
            transparent 1.5%,
            transparent 33%,
            rgba(232, 213, 183, 0.08) 33%,
            rgba(232, 213, 183, 0.08) 34%,
            transparent 34.5%,
            transparent 66%,
            rgba(232, 213, 183, 0.08) 66%,
            rgba(232, 213, 183, 0.08) 67%,
            transparent 67.5%,
            transparent 100%
        );
    }
    100% {
        background: linear-gradient(
            to bottom,
            transparent 0%,
            transparent 98%,
            rgba(232, 213, 183, 0.08) 98.5%,
            rgba(232, 213, 183, 0.08) 99.5%,
            transparent 100%
        );
    }
}

/* Static CRT scanlines (always visible, subtle) */
#biome-container::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 80;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 2px,
        rgba(0, 0, 0, 0.06) 2px,
        rgba(0, 0, 0, 0.06) 4px
    );
}

/* --- Mycelium SVG --- */
#mycelium-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

#mycelium-svg path {
    fill: none;
    stroke: var(--spore-green);
    stroke-width: 1;
    opacity: 0.5;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 1.5s ease;
}

#mycelium-svg path.grown {
    stroke-dashoffset: 0;
}

/* --- Pixel Creatures --- */
.pixel-creature {
    position: absolute;
    image-rendering: pixelated;
    z-index: 8;
    pointer-events: none;
}

/* Firefly */
.firefly {
    width: 4px;
    height: 4px;
    background: var(--pollen-gold);
    box-shadow: 0 0 8px var(--pollen-gold), 0 0 2px var(--pollen-gold);
    border-radius: 0;
    animation: firefly-float 4s steps(8) infinite;
}

#firefly-1 {
    top: 25%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 5s;
}
#firefly-2 {
    top: 40%;
    left: 70%;
    animation-delay: 1.5s;
    animation-duration: 6s;
}
#firefly-3 {
    top: 60%;
    left: 45%;
    animation-delay: 3s;
    animation-duration: 4s;
}

@keyframes firefly-float {
    0%, 100% { opacity: 0; transform: translate(0, 0); }
    10% { opacity: 1; }
    25% { transform: translate(16px, -8px); opacity: 1; }
    50% { transform: translate(-8px, -16px); opacity: 0.3; }
    75% { transform: translate(8px, 8px); opacity: 1; }
    90% { opacity: 1; }
}

/* Mushroom Cluster */
.mushroom-cluster {
    width: 32px;
    height: 32px;
}

#mushroom-1 {
    bottom: 128px;
    left: 15%;
}

#mushroom-2 {
    bottom: 96px;
    right: 20%;
}

.mushroom-cluster::before {
    content: '';
    display: block;
    width: 16px;
    height: 12px;
    background: var(--chanterelle-orange);
    border-radius: 8px 8px 0 0;
    margin: 0 auto;
    image-rendering: pixelated;
}

.mushroom-cluster::after {
    content: '';
    display: block;
    width: 4px;
    height: 12px;
    background: var(--birch-parchment);
    margin: 0 auto;
    opacity: 0.7;
}

/* Beetle */
.beetle {
    width: 8px;
    height: 6px;
    background: var(--humus-brown);
    border: 1px solid var(--chanterelle-orange);
    bottom: 64px;
    left: 0;
    animation: beetle-crawl 12s steps(24) infinite;
}

@keyframes beetle-crawl {
    0% { left: -16px; }
    100% { left: 100%; }
}

/* Bioluminescent Fungi */
.biolumi-fungi {
    width: 6px;
    height: 6px;
    background: var(--magma-coral);
    box-shadow: 0 0 12px var(--magma-coral), 0 0 4px var(--magma-coral);
    animation: biolumi-glow 2s steps(3) infinite alternate;
}

#biolumi-1 { top: 30%; left: 12%; animation-delay: 0s; }
#biolumi-2 { top: 55%; right: 18%; animation-delay: 0.7s; }
#biolumi-3 { bottom: 20%; left: 60%; animation-delay: 1.4s; }

@keyframes biolumi-glow {
    0% { opacity: 0.3; box-shadow: 0 0 4px var(--magma-coral); }
    100% { opacity: 1; box-shadow: 0 0 16px var(--magma-coral), 0 0 6px var(--magma-coral); }
}

/* Worm */
.worm {
    width: 32px;
    height: 4px;
    bottom: 40%;
    left: 30%;
    background: repeating-linear-gradient(
        90deg,
        var(--spore-green) 0px,
        var(--spore-green) 4px,
        transparent 4px,
        transparent 6px
    );
    animation: worm-wiggle 3s steps(6) infinite;
}

@keyframes worm-wiggle {
    0%, 100% { transform: translateX(0) scaleX(1); }
    25% { transform: translateX(8px) scaleX(0.9); }
    50% { transform: translateX(16px) scaleX(1.1); }
    75% { transform: translateX(8px) scaleX(0.95); }
}

/* Crystal */
.crystal {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 16px solid var(--mineral-teal);
    opacity: 0.7;
    filter: drop-shadow(0 0 6px var(--mineral-teal));
    animation: crystal-glow 4s steps(4) infinite alternate;
}

#crystal-1 { bottom: 20%; right: 25%; }
#crystal-2 { bottom: 30%; left: 18%; transform: rotate(15deg); animation-delay: 2s; }

@keyframes crystal-glow {
    0% { opacity: 0.5; }
    100% { opacity: 0.9; }
}

/* --- Tech Overlays --- */
.tech-overlay {
    position: absolute;
    z-index: 7;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--mineral-teal);
    opacity: 0.6;
}

.tech-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Coordinate grid overlay */
.coord-grid {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent calc(25% - 1px), rgba(74, 139, 127, 0.06) calc(25% - 1px), rgba(74, 139, 127, 0.06) 25%),
        repeating-linear-gradient(90deg, transparent, transparent calc(25% - 1px), rgba(74, 139, 127, 0.06) calc(25% - 1px), rgba(74, 139, 127, 0.06) 25%);
    pointer-events: none;
}

/* Oscilloscope */
.oscilloscope {
    bottom: 32px;
    left: 32px;
    background: rgba(28, 20, 16, 0.8);
    border: 1px solid var(--mineral-teal);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.oscilloscope canvas {
    display: block;
    image-rendering: pixelated;
}

/* Binary counter */
.binary-counter {
    top: 32px;
    right: 80px;
    background: rgba(28, 20, 16, 0.8);
    border: 1px solid var(--mineral-teal);
    padding: 8px 12px;
    display: flex;
    gap: 8px;
}

.binary-value {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--spore-green);
    letter-spacing: 0.15em;
}

/* Depth readout */
.depth-readout {
    top: 32px;
    right: 80px;
    background: rgba(28, 20, 16, 0.8);
    border: 1px solid var(--mineral-teal);
    padding: 8px 12px;
    display: flex;
    gap: 8px;
}

.depth-value {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--mineral-teal);
    letter-spacing: 0.15em;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    animation: scroll-pulse 2s steps(4) infinite;
}

.scroll-arrow {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--birch-parchment);
    opacity: 0.6;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(4px); }
}

/* --- Dialog Final (Subterranean extra) --- */
.dialog-final {
    position: absolute;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 90%;
    max-width: 640px;
}

.dialog-final.visible {
    transform: translateX(-50%) scale(1);
}

/* --- Hover States (elastic) --- */
.pixel-creature:hover,
.dialog-box:hover .dialog-border {
    transition: transform 0.3s var(--elastic);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .wordmark {
        font-size: 40px;
    }

    .biome-title {
        font-size: 24px;
    }

    .dialog-border {
        padding: 16px;
    }

    .dialog-text {
        font-size: 14px;
    }

    #minimap {
        width: 36px;
        height: 96px;
        top: 8px;
        right: 8px;
    }

    .minimap-dot {
        width: 6px;
        height: 6px;
    }

    .tech-overlay {
        font-size: 10px;
    }

    .oscilloscope {
        bottom: 16px;
        left: 16px;
    }

    .binary-counter,
    .depth-readout {
        right: 60px;
        top: 16px;
    }
}
