/* Earth Time page shell */
/* ---------------------------------------------------------- */
/* Theme and page reset                                       */
/* ---------------------------------------------------------- */
:root {
    color-scheme: dark;
    --ink: #e6eefb;
    --faint: #5f7592;
    --cyan: #7dd3fc;
    --gold: #fbbf24;
    --gold-bright: #ffd54f;
    --line: rgba(125, 211, 252, 0.16);
    --sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
    --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    overflow: hidden;
    background: #02040a;
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ---------------------------------------------------------- */
/* Starfield backdrop and WebGL canvas                        */
/* ---------------------------------------------------------- */
.scene-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 16%, rgba(37, 99, 235, 0.20), transparent 34%),
        radial-gradient(circle at 82% 76%, rgba(8, 145, 178, 0.14), transparent 42%),
        radial-gradient(circle at 56% 48%, rgba(30, 64, 175, 0.08), transparent 52%),
        linear-gradient(180deg, #030712 0%, #02040a 50%, #010308 100%);
}

.scene-backdrop::before {
    content: "";
    position: absolute;
    inset: -40px;
    background-image:
        radial-gradient(1.2px 1.2px at 25px 35px, rgba(255, 255, 255, 0.95), transparent 70%),
        radial-gradient(1px 1px at 122px 92px, rgba(201, 229, 255, 0.75), transparent 70%),
        radial-gradient(1.6px 1.6px at 211px 164px, rgba(255, 255, 255, 0.62), transparent 70%),
        radial-gradient(0.9px 0.9px at 74px 202px, rgba(186, 230, 253, 0.60), transparent 70%),
        radial-gradient(1px 1px at 306px 46px, rgba(255, 255, 255, 0.42), transparent 70%),
        radial-gradient(1.3px 1.3px at 176px 286px, rgba(219, 234, 254, 0.55), transparent 70%);
    background-size: 340px 340px, 430px 430px, 520px 520px, 390px 390px, 610px 610px, 470px 470px;
    opacity: 0.72;
    animation: star-drift 90s linear infinite;
}

.scene-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 47%, transparent 36%, rgba(0, 0, 0, 0.22) 70%, rgba(0, 0, 0, 0.58) 100%),
        linear-gradient(180deg, rgba(2, 4, 10, 0.10), transparent 18%, transparent 78%, rgba(2, 4, 10, 0.62));
    pointer-events: none;
}

#globe {
    position: fixed;
    inset: 0;
    z-index: 1;
}

#globe canvas {
    display: block;
    cursor: grab;
    touch-action: none;
    outline: none;
}

#globe canvas:active {
    cursor: grabbing;
}

/* ---------------------------------------------------------- */
/* HUD shell, brand and status                                */
/* ---------------------------------------------------------- */
.hud {
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    padding: 26px 32px;
}

.topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.brand-sun {
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 38% 34%, #fff7d6 0%, #ffd54f 27%, #f59e0b 58%, rgba(245, 158, 11, 0.18) 72%, transparent 74%);
    box-shadow:
        0 0 18px rgba(251, 191, 36, 0.34),
        0 0 46px rgba(251, 191, 36, 0.15);
}

.brand-sun::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 50%;
    transform: rotate(-22deg) scaleY(0.52);
}

.brand-kicker {
    margin-bottom: 3px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.brand h1 {
    margin: 0;
    color: #f8fbff;
    font-family: var(--sans);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.status {
    display: none;
    align-items: center;
    gap: 9px;
    max-width: min(480px, 48vw);
    padding: 8px 13px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: rgba(5, 11, 24, 0.58);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    color: #a9bed7;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.03em;
    line-height: 1.4;
    backdrop-filter: blur(14px);
}

.status-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #64748b;
    box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.12);
}

.status-dot.is-loading {
    background: var(--gold);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.14), 0 0 12px rgba(251, 191, 36, 0.55);
    animation: dot-pulse 1.6s ease-in-out infinite;
}

.status-dot.is-ready {
    background: #67e8f9;
    box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.13), 0 0 12px rgba(103, 232, 249, 0.55);
}

.status-dot.is-warn {
    background: #fbbf24;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.13), 0 0 12px rgba(251, 191, 36, 0.42);
}

.status-dot.is-error {
    background: #fb7185;
    box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.13), 0 0 12px rgba(251, 113, 133, 0.48);
}

/* ---------------------------------------------------------- */
/* Panel shell and mobile panel toggle                        */
/* ---------------------------------------------------------- */
.panel-toggle-button {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 4;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 999px;
    background: rgba(5, 11, 24, 0.76);
    color: #d9f2ff;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.02em;
    cursor: pointer;
    pointer-events: auto;
    backdrop-filter: blur(14px);
}

.panel-toggle-button:hover {
    border-color: rgba(125, 211, 252, 0.42);
    background: rgba(125, 211, 252, 0.1);
}

.panel-toggle-icon {
    color: var(--cyan);
    font-size: 13px;
    line-height: 1;
}

.panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(12, 25, 46, 0.86), rgba(4, 10, 22, 0.76));
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.36),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

.solar-panel {
    position: absolute;
    top: 96px;
    left: 32px;
    width: 302px;
    padding: 19px;
}

.panel-eyebrow {
    margin: 0;
    color: #86a4c5;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.coords {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.coord {
    min-width: 0;
    padding: 10px 11px 9px;
    border: 1px solid rgba(125, 211, 252, 0.09);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
}

.coord-label {
    display: block;
    margin-bottom: 4px;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.coord-value {
    display: block;
    overflow: hidden;
    color: #f8fbff;
    font-family: var(--mono);
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.solar-note {
    margin: 11px 0 0;
    color: #7890ab;
    font-size: 11.5px;
    line-height: 1.5;
}

.panel-divider {
    height: 1px;
    margin: 16px 0 14px;
    background: linear-gradient(90deg, rgba(125, 211, 252, 0.18), rgba(125, 211, 252, 0.02));
}

/* ---------------------------------------------------------- */
/* Layer and motion buttons                                   */
/* ---------------------------------------------------------- */
.controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 10px;
}

.controls button {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 39px;
    padding: 8px 8px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.028);
    color: #a8bdd5;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.controls button span:last-child {
    white-space: nowrap;
}

.controls button:hover {
    border-color: rgba(125, 211, 252, 0.34);
    background: rgba(125, 211, 252, 0.075);
    color: #e9f5ff;
}

.controls button:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.6);
    outline-offset: 2px;
}

.controls button[aria-pressed="true"] {
    border-color: rgba(125, 211, 252, 0.33);
    background: rgba(125, 211, 252, 0.10);
    color: #d9f2ff;
    box-shadow: inset 0 0 18px rgba(125, 211, 252, 0.04);
}

#center-sun {
    border-color: rgba(251, 191, 36, 0.22);
    color: #e9d79c;
}

#center-sun:hover {
    border-color: rgba(251, 191, 36, 0.46);
    background: rgba(251, 191, 36, 0.08);
    color: #fff4cb;
}

.button-icon {
    width: 14px;
    flex: 0 0 14px;
    color: var(--cyan);
    font-size: 14px;
    line-height: 1;
    text-align: center;
}

#center-sun .button-icon {
    color: var(--gold-bright);
}

/* ---------------------------------------------------------- */
/* Sun-relative day ribbon                                    */
/* ---------------------------------------------------------- */
.day-ribbon {
    position: absolute;
    right: 32px;
    bottom: 24px;
    left: 32px;
    padding: 10px 20px 8px;
    overflow: visible;
    background:
        linear-gradient(145deg, rgba(10, 21, 40, 0.78), rgba(4, 10, 22, 0.64));
}

.ribbon-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
}

.ribbon-title {
    min-width: 0;
}

.ribbon-subtitle {
    margin: 4px 0 0;
    color: #647b99;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ribbon-utc-time {
    flex: 0 0 auto;
    color: #f8fbff;
    font-family: var(--mono);
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.025em;
    line-height: 1;
    text-shadow: 0 0 24px rgba(125, 211, 252, 0.17);
    white-space: nowrap;
}

.ribbon-scroll {
    position: relative;
    margin-top: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-color: rgba(125, 211, 252, 0.18) transparent;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.ribbon-scroll::-webkit-scrollbar {
    height: 4px;
}

.ribbon-scroll::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: rgba(125, 211, 252, 0.18);
}

.ribbon-track {
    position: relative;
    height: 96px;
    margin: 0 2px;
}

.ribbon-scale {
    position: absolute;
    top: 0;
    right: 34px;
    bottom: 0;
    left: 34px;
}

.ribbon-loading {
    position: absolute;
    top: 42px;
    left: 50%;
    color: var(--faint);
    font-family: var(--mono);
    font-size: 10px;
    transform: translateX(-50%);
    white-space: nowrap;
}

.ribbon-gridline {
    position: absolute;
    top: 44px;
    bottom: 12px;
    z-index: 1;
    width: 1px;
    background: rgba(125, 211, 252, 0.055);
    transform: translateX(-50%);
}

.ribbon-band {
    position: absolute;
    top: 52px;
    right: 0;
    left: 0;
    z-index: 2;
    height: 16px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(2, 6, 23, 0.96) 0%,
        rgba(3, 10, 25, 0.96) 19%,
        rgba(7, 18, 38, 0.94) 24%,
        rgba(120, 71, 32, 0.58) 26.5%,
        rgba(251, 146, 60, 0.38) 28%,
        rgba(12, 55, 88, 0.78) 31%,
        rgba(12, 55, 88, 0.78) 69%,
        rgba(251, 146, 60, 0.38) 72%,
        rgba(120, 71, 32, 0.58) 73.5%,
        rgba(7, 18, 38, 0.94) 76%,
        rgba(3, 10, 25, 0.96) 81%,
        rgba(2, 6, 23, 0.96) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 24px rgba(56, 189, 248, 0.06);
}

.ribbon-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: calc(100% / 24) 100%;
    opacity: 0.7;
}

.ribbon-hour {
    position: absolute;
    top: 74px;
    color: #526885;
    font-family: var(--mono);
    font-size: 8.5px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    pointer-events: none;
    transform: translateX(-50%);
    white-space: nowrap;
}

.ribbon-hour.is-start {
    transform: none;
}

.ribbon-hour.is-end {
    transform: translateX(-100%);
}

.ribbon-now {
    position: absolute;
    top: 38px;
    bottom: 12px;
    z-index: 3;
    width: 1px;
    background: linear-gradient(180deg, rgba(125, 211, 252, 0), rgba(125, 211, 252, 0.72) 24%, rgba(125, 211, 252, 0.3) 100%);
    pointer-events: none;
    transform: translateX(-50%);
}

.ribbon-now::before {
    content: "";
    position: absolute;
    top: 21px;
    left: -3px;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: var(--cyan);
    box-shadow:
        0 0 0 3px rgba(125, 211, 252, 0.1),
        0 0 14px rgba(125, 211, 252, 0.55);
    transform: rotate(45deg);
}

.ribbon-city {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 4;
    width: 0;
}

.ribbon-city-label {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 84px;
    padding: 3px 2px;
    border-radius: 7px;
    transform: translateX(-50%);
}

.ribbon-city.row-b .ribbon-city-label {
    top: 22px;
}

.ribbon-city-name {
    display: block;
    overflow: hidden;
    color: #b5c8dd;
    font-size: 9.5px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ribbon-city-time {
    display: block;
    margin-top: 1px;
    color: #f3f8ff;
    font-family: var(--mono);
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    line-height: 1.15;
    white-space: nowrap;
}

.ribbon-dot {
    position: absolute;
    top: 56px;
    left: -4px;
    z-index: 5;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(2, 6, 23, 0.82);
    border-radius: 50%;
    background: var(--cyan);
    box-shadow:
        0 0 0 3px rgba(125, 211, 252, 0.1),
        0 0 14px rgba(125, 211, 252, 0.42);
    transition: background 200ms ease, box-shadow 200ms ease;
}

.ribbon-city.is-day .ribbon-dot {
    background: var(--gold-bright);
    box-shadow:
        0 0 0 3px rgba(251, 191, 36, 0.1),
        0 0 16px rgba(251, 191, 36, 0.58);
}

.ribbon-city.is-night .ribbon-dot {
    background: #7dd3fc;
}

.ribbon-city.is-clipped .ribbon-city-label {
    opacity: 0;
    visibility: hidden;
}

.hover-note {
    margin: 10px 0 0;
    color: #647b99;
    font-size: 10.5px;
    line-height: 1.5;
}

.touch-note {
    display: none;
    margin: 8px 0 0;
    color: #647b99;
    font-size: 10px;
    line-height: 1.4;
}

/* ---------------------------------------------------------- */
/* Timezone hover tooltip                                     */
/* ---------------------------------------------------------- */
.tz-tooltip {
    position: fixed;
    z-index: 30;
    min-width: 178px;
    max-width: 290px;
    padding: 10px 13px 11px;
    border: 1px solid rgba(253, 224, 71, 0.28);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(10, 20, 38, 0.95), rgba(4, 10, 22, 0.92));
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.48),
        0 0 26px rgba(253, 224, 71, 0.055),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
    pointer-events: none;
    backdrop-filter: blur(16px);
}

.tz-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tz-tooltip-kicker {
    margin-bottom: 4px;
    color: #7d93ad;
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.tz-tooltip-zone {
    overflow: hidden;
    color: var(--cyan);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.005em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tz-tooltip-time {
    margin-top: 2px;
    color: #fff5c2;
    font-family: var(--mono);
    font-size: 24px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.035em;
    line-height: 1.1;
    white-space: nowrap;
}

.tz-tooltip-meta {
    margin-top: 5px;
    color: #9fb3c8;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: 0.015em;
    line-height: 1.35;
}

.no-script {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    background: #02040a;
    color: var(--ink);
    font-family: var(--mono);
}

/* ---------------------------------------------------------- */
/* Motion                                                     */
/* ---------------------------------------------------------- */
@keyframes star-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-34px, 17px, 0); }
}

@keyframes dot-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ---------------------------------------------------------- */
/* Mobile and tablet layout                                   */
/* ---------------------------------------------------------- */
@media (max-width: 1280px) {
    .hud {
        padding:
            calc(14px + env(safe-area-inset-top))
            calc(14px + env(safe-area-inset-right))
            calc(14px + env(safe-area-inset-bottom))
            calc(14px + env(safe-area-inset-left));
    }

    .topbar {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
    }

    .panel-toggle-button {
        display: flex;
    }

    .brand {
        gap: 10px;
    }

    .brand-sun {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .brand-kicker {
        font-size: 9px;
        letter-spacing: 0.18em;
    }

    .brand h1 {
        font-size: 19px;
        letter-spacing: 0.13em;
    }

    .status {
        max-width: 100%;
        padding: 7px 11px;
        font-size: 10px;
        line-height: 1.45;
    }

    .solar-panel {
        display: none;
        top: calc(64px + env(safe-area-inset-top));
        left: calc(12px + env(safe-area-inset-left));
        right: calc(12px + env(safe-area-inset-right));
        width: auto;
        padding: 14px;
        border-radius: 16px;
    }

    .solar-panel.is-open {
        display: block;
    }

    body.has-status .solar-panel {
        top: calc(116px + env(safe-area-inset-top));
    }

    .solar-panel .panel-eyebrow {
        font-size: 9.5px;
    }

    .coords {
        gap: 6px;
        margin-top: 8px;
    }

    .coord {
        padding: 8px 10px;
    }

    .coord-label {
        font-size: 8.5px;
    }

    .coord-value {
        font-size: 17px;
    }

    .solar-note,
    .panel-divider,
    .solar-panel .panel-divider ~ .panel-eyebrow {
        display: none;
    }

    .controls {
        margin-top: 9px;
    }

    .controls button {
        min-height: 42px;
        padding: 9px 10px;
        font-size: 10px;
    }

    .day-ribbon {
        left: calc(8px + env(safe-area-inset-left));
        right: calc(8px + env(safe-area-inset-right));
        bottom: calc(8px + env(safe-area-inset-bottom));
        padding: 10px 12px 8px;
        border-radius: 16px;
    }

    .ribbon-head {
        align-items: center;
        gap: 10px;
    }

    .ribbon-subtitle {
        display: none;
    }

    .ribbon-utc-time {
        font-size: 16px;
    }

    .ribbon-scroll {
        margin-top: 3px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
    }

    .ribbon-scroll::-webkit-scrollbar {
        display: none;
    }

    .ribbon-track {
        min-width: 600px;
        height: 80px;
    }

    .ribbon-gridline {
        top: 40px;
        bottom: 8px;
    }

    .ribbon-band {
        top: 46px;
        height: 14px;
    }

    .ribbon-hour {
        top: 64px;
        font-size: 7.5px;
    }

    .ribbon-now {
        top: 32px;
        bottom: 8px;
    }

    .ribbon-now::before {
        top: 18px;
    }

    .ribbon-city-label {
        width: 64px;
        padding: 1px 2px;
    }

    .ribbon-city.row-b .ribbon-city-label {
        top: 20px;
    }

    .ribbon-city-name {
        font-size: 8.5px;
    }

    .ribbon-city-time {
        font-size: 9.5px;
    }

    .ribbon-dot {
        top: 49px;
    }

}

/* Input-capability hint: touch-first devices see touch gestures, while
   mouse/trackpad devices keep the hover and scroll wording. */
@media (hover: none), (pointer: coarse) {
    .hover-note {
        display: none;
    }

    .touch-note {
        display: block;
    }
}

/* ---------------------------------------------------------- */
/* Reduced motion                                             */
/* ---------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .scene-backdrop::before,
    .status-dot.is-loading {
        animation: none;
    }
}
