html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background:
      radial-gradient(circle at 20% 20%, #263d5c 0%, rgba(38, 61, 92, 0) 38%),
      radial-gradient(circle at 82% 78%, #5b2f4b 0%, rgba(91, 47, 75, 0) 40%),
      linear-gradient(160deg, #0b1420 0%, #0f1c2c 45%, #11192a 100%);
    color: #f2e9db;
    font-family: "Avenir Next", "Trebuchet MS", "Gill Sans", sans-serif;
    position: relative;
}

canvas {
    display: block;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    mix-blend-mode: screen;
    opacity: 0.32;
}

ul li {
    display: inline;
    margin: 11px;
}

p {
    font-family: monospace;
    font-size: 17px;
    color: #000000;
}

a  {
    text-decoration: none;
    color: #777777;
}

a:hover {
    text-decoration: none;
    color: #000000;
}

#captureProgress {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: 420px;
    margin: 0 auto;
    background: rgba(12, 20, 36, 0.78);
    border: 1px solid rgba(194, 228, 255, 0.28);
    border-radius: 14px;
    padding: 10px 12px;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 1000;
}

#captureProgress.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.captureProgressText {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.captureProgressLabel {
    color: #f7f2ea;
    font-family: "Courier New", monospace;
    font-size: 13px;
}

.captureProgressStatus {
    color: #bccee6;
    font-family: "Courier New", monospace;
    font-size: 12px;
}

.captureProgressTrack {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.captureProgressFill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #f2ba72, #8fd7ff, #9de6b1);
    border-radius: 999px;
    transition: width 100ms linear;
}
