@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&family=Rajdhani:wght@400;600&display=swap');

/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,*::before,*::after{box-sizing:border-box}
*{margin:0}
@media (prefers-reduced-motion:no-preference){html{interpolate-size:allow-keywords}}
img,picture,video,canvas,svg{display:block;max-width:100%}
/* input,button,textarea,select{font:inherit} */
p,h1,h2,h3,h4,h5,h6{overflow-wrap:break-word}
p{text-wrap:pretty}
h1,h2,h3,h4,h5,h6{text-wrap:balance}
#root,#__next{isolation:isolate}

:root {
    color-scheme: dark;
    /* Core palette */
    --bg-deep: #03040c;
    --bg-panel: rgba(4, 8, 24, 0.78);
    --bg-overlay: rgba(0, 13, 40, 0.5);
    --bg-overlay-strong: rgba(0, 2, 9, 0.8);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.15);
    --text-primary: #e2fcff;
    --text-weak: rgba(200, 232, 255, 0.7);
    --text-subtle: rgba(185, 232, 255, 0.55);
    --accent-cyan: #00f0ff;
    --accent-magenta: #ff00e0;
    --accent-emerald: #00ffd5;
    --accent-pink: #ff53e0;
    --active-hue: 200;
    --active-hue-2: 260;

    /* Glows / shadows */
    --glow-soft: 0 0 18px rgba(0, 240, 255, 0.35);
    --glow-strong: 0 20px 60px hsla(var(--active-hue-2), 100%, 60%, 0.45);
    --glow-inset: inset 0 0 60px rgba(0, 0, 0, 0.6);

    /* Shapes & spacing */
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-pill: 60px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 18px;
    --space-xl: 30px;

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', 'Segoe UI', sans-serif;
    --letter-wide: 0.08em;

    /* Motion */
    --transition-fast: 0.15s ease;
    --transition-med: 0.22s ease;
    --playing-fade-in: 0.32s;
    --playing-fade-out: 0.16s;
    --playing-fade: var(--playing-fade-in);
}

body {
    margin: 0; padding: 0; overflow: hidden;
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 10% 20%, hsla(var(--active-hue), 100%, 60%, 0.26), transparent 50%),
        radial-gradient(circle at 90% 10%, hsla(var(--active-hue-2), 100%, 60%, 0.24), transparent 40%);
    color: var(--text-primary); font-family: var(--font-body);
    touch-action: none; user-select: none;
    letter-spacing: var(--letter-wide);
    position: relative;
}

#play-area {
    width: 100vw; height: 100vh; height: 100dvh; position: relative;
    background: radial-gradient(circle at 30% 20%, #101b3d, #050a1d 60%) fixed;
    cursor: pointer;
    box-shadow: var(--glow-inset);
}

@keyframes energyPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.08); }
}

#grid-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; height: 100dvh;
    pointer-events: none; z-index: 2;
    overflow-y: hidden;
}

.fret-line {
    position: absolute; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, hsla(var(--active-hue), 100%, 60%, 0.4) 30%, hsla(var(--active-hue-2), 100%, 60%, 0.3) 70%, transparent 100%);
    display: flex; align-items: center;
    box-shadow: var(--glow-soft);
    transition: opacity var(--playing-fade), box-shadow var(--playing-fade), background var(--playing-fade), height var(--playing-fade);
}
.fret-line.root-note {
    background: linear-gradient(90deg, transparent 0%, hsla(var(--active-hue), 100%, 60%, 0.9) 40%, hsla(var(--active-hue-2), 100%, 60%, 0.8) 60%, transparent 100%);
    height: 2px;
    box-shadow: 0 0 25px hsla(var(--active-hue), 100%, 60%, 0.6), 0 0 10px hsla(var(--active-hue-2), 100%, 60%, 0.4);

    filter: drop-shadow(0 0 6px hsla(var(--active-hue), 100%, 60%, 0.7));
}
body.playing #grid-container .fret-line {
    background: linear-gradient(90deg, transparent 0%, hsla(var(--active-hue), 100%, 60%, 0.4) 30%, hsla(var(--active-hue-2), 100%, 60%, 0.3) 70%, transparent 100%);
    box-shadow: var(--glow-soft);
    opacity: 0.6;
}

.note-label  {
    margin-left: 12px; font-size: 13px; color: rgba(217, 255, 255, 0.6);
    text-shadow: 0 0 6px hsla(var(--active-hue), 100%, 60%, 0.35);
    font-family: var(--font-display);
    transition: color var(--playing-fade), text-shadow var(--playing-fade);
}
.root-note .note-label {
    color: #ffffff; font-size: 15px;
}
body.is-playing .root-note .note-label {
    color: rgba(217, 255, 255, 0.85);
}
body.playing { --playing-fade: var(--playing-fade-out); }

#freq-debug {
    position: fixed; top: 14px; left: 14px;
    padding: 8px 12px;
    background: rgba(0, 10, 30, 0.64);
    border: 1px solid var(--glass);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.05em;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    opacity: 0; transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    pointer-events: none;
    z-index: 80;
}
#freq-debug.show { opacity: 1; transform: translateY(0); }

#vfx-canvas {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; height: 100dvh;
    pointer-events: none; z-index: 1;
    filter: blur(1px) saturate(1.2);
}

#overlay {
    position: absolute; top: 0; left: 0; bottom: 0; right: 0;
    background: radial-gradient(circle at top, var(--bg-overlay), var(--bg-overlay-strong));
    display: flex; flex-direction: column;
    justify-content: center; align-items: center; z-index: 20;
    backdrop-filter: blur(8px);
    text-align: center;
    padding: 0 var(--space-xl);
    opacity: 1;
    transition: opacity 0.4s ease-out, filter 0.3s ease-out;
}
#overlay.hide {
    opacity: 0;
    filter: blur(8px);
    pointer-events: none;
}
.share-fab {
    position: fixed;
    right: 18px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: linear-gradient(135deg,
        hsla(var(--active-hue), 100%, 70%, 0.16),
        hsla(var(--active-hue-2), 100%, 70%, 0.12));
    border: 1px solid var(--glass);
    border-radius: 14px;
    color: rgba(226, 252, 255, 0.92);
    text-decoration: none;
    letter-spacing: 0.06em;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
    z-index: 40;
    opacity: 1;
}
.share-fab svg {
    width: 18px;
    height: 18px;
}
.share-fab:hover {
    transform: translateY(-1px);
    border-color: hsla(var(--active-hue), 100%, 60%, 0.45);
}
body.playing .share-fab {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px) scale(0.9);
    filter: blur(4px);
}
.overlay-content {
    padding: 96px 40px 48px;
    /* border: 1px solid var(--glass); */
    /* border-radius: var(--radius-lg); */
    /* background: rgba(2, 10, 28, 0.42); */
    /* box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); */
}
.overlay-eyebrow {
    font-size: 14px; letter-spacing: 0.35em;
    color: hsla(var(--active-hue), 100%, 75%, 0.82);
    text-shadow: 0 0 12px hsla(var(--active-hue), 100%, 60%, 0.45);
    margin-bottom: 0;
}
.overlay-title {
    font-size: clamp(34px, 10vw, 68px);
    font-family: var(--font-display);
    margin: 0;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 25px hsla(var(--active-hue), 100%, 60%, 0.5);
    letter-spacing: .1em;
    white-space: nowrap;
    max-width: 92vw;
}
.overlay-tagline {
    margin: 8px 0 32px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 4vw, 16px);
    font-size: clamp(12px, 3.5vw, 18px);
    font-feature-settings: "palt";
    letter-spacing: .15em;
}
.hero-tones {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; flex-wrap: wrap;
    margin-bottom: 24px;
    scale: 1.1;
    transform-origin: bottom center;
}
.hero-tone {
    display: flex; align-items: center; justify-content: center;
}
.hero-tone .tone-shape {
    width: 52px; height: 52px;
}
.hero-tone.saw { --tone-hue: 200; --tone-hue-2: 260; }
.hero-tone.triangle { --tone-hue: 160; --tone-hue-2: 220; }
.hero-tone.square { --tone-hue: 32; --tone-hue-2: 92; }
.hero-tone.sine { --tone-hue: 305; --tone-hue-2: 5; }
.hero-tones .tone-shape {
    box-shadow:
        0 0 0 1px hsla(var(--tone-hue, var(--active-hue)), 100%, 70%, 0.32),
        0 10px 28px hsla(var(--tone-hue, var(--active-hue)), 100%, 60%, 0.32),
        0 0 36px hsla(var(--tone-hue-2, var(--active-hue-2)), 100%, 60%, 0.3),
        0 0 56px hsla(var(--tone-hue, var(--active-hue)), 100%, 60%, 0.24);
}
.hero-tones .tone-shape svg {
    filter:
        drop-shadow(0 0 7px hsla(var(--tone-hue, var(--active-hue)), 100%, 65%, 0.4))
        drop-shadow(0 0 14px hsla(var(--tone-hue-2, var(--active-hue-2)), 100%, 60%, 0.36))
        drop-shadow(0 0 24px hsla(var(--tone-hue, var(--active-hue)), 100%, 60%, 0.26));
}
.overlay-tagline-separator {
    display: block;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    box-shadow: 0 0 8px hsla(var(--active-hue), 100%, 60%, 0.3);
    width: 1px;
    height: 16px;
}
.overlay-sound-notice {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 24px auto 0;
    padding: 10px 18px;
    background:
        linear-gradient(135deg,
            hsla(var(--active-hue), 100%, 70%, 0.12),
            hsla(var(--active-hue-2), 100%, 70%, 0.09)),
        rgba(255, 255, 255, 0.03);
    /* border: 1px solid hsla(var(--active-hue), 100%, 70%, 0.22); */
    border-radius: 10px;
    backdrop-filter: blur(12px);
    box-shadow:
        0 16px 28px rgba(0, 0, 0, 0.16),
        0 0 14px hsla(var(--active-hue), 100%, 55%, 0.16);
}
.overlay-sound-notice .sound-icon {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: hsl(var(--active-hue) 100% 42%);
}
.overlay-sound-notice .sound-text {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
    font-size: 14px;
}
.overlay-instructions {
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
    color: rgba(185, 240, 255, 0.8);
    font-size: 15px;
}
.overlay-instructions span {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.overlay-instructions span::before {
    content: '>';
    color: hsla(var(--active-hue), 100%, 65%, 0.85);
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
}
.overlay-note {
    margin-top: 18px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
}
.overlay-button {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 18px;
}
.button {
    padding: 18px 46px; background: linear-gradient(120deg, hsl(var(--active-hue) 100% 60%), hsl(var(--active-hue-2) 100% 60%));
    border: none;
    border-radius: var(--radius-pill); color: #05060f; font-weight: 600; cursor: pointer;
    position: relative; overflow: hidden; z-index: 0;
    box-shadow: 0 10px 45px hsla(var(--active-hue), 100%, 60%, 0.38);
    transition: transform var(--transition-fast), box-shadow var(--transition-med);
    appearance: none;
}
.button::after {
    content: ''; position: absolute; inset: 3px;
    border-radius: 60px; background: rgba(255, 255, 255, 0.15);
    mix-blend-mode: screen; filter: blur(4px); z-index: -1;
}
.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px hsla(var(--active-hue), 100%, 60%, 0.45);
}
.button:active { transform: scale(0.97); }

.finger-point {
    position: absolute; width: 26px; height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(var(--active-hue), 100%, 60%, 0.9) 0%, rgba(0, 0, 0, 0.1) 70%);
    transform: translate(-50%, -50%); pointer-events: none;
    z-index: 10;
    box-shadow:
        0 0 16px hsla(var(--active-hue), 100%, 60%, 0.8),
        0 0 36px hsla(var(--active-hue-2), 100%, 60%, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: cursorPulse 1.6s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.7; }
}

/* Settings UI */
#settings-toggle {
    position: fixed; top: 18px; right: 18px;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(140deg, hsla(var(--active-hue), 100%, 60%, 0.16), hsla(var(--active-hue-2), 100%, 60%, 0.18));
    border: 1px solid var(--glass);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 18px hsla(var(--active-hue), 100%, 60%, 0.45);
    display: inline-flex; align-items: center; justify-content: center;
    color: #c4f8ff; cursor: pointer; z-index: 50;
    backdrop-filter: blur(12px);
    transition:
        opacity var(--playing-fade),
        transform var(--playing-fade),
        filter var(--playing-fade),
        box-shadow var(--transition-med),
        border-color var(--transition-fast);
}
body.playing #settings-toggle {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    filter: blur(6px);
}
body.settings-open #settings-toggle {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7);
    filter: blur(4px);
}
#settings-toggle:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, 0.2); }
#settings-toggle.active { box-shadow: 0 12px 40px hsla(var(--active-hue-2), 100%, 60%, 0.35), 0 0 22px hsla(var(--active-hue), 100%, 60%, 0.6); }
#settings-toggle svg { width: 22px; height: 22px; }

#settings-backdrop {
    position: fixed; inset: 0; background: rgba(0, 3, 12, 0.45);
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
    z-index: 45;
}
#settings-backdrop.show {
    opacity: 1;
    pointer-events: auto;
    backdrop-filter: blur(4px);
}

#settings-panel {
    position: fixed; top: 0; right: 0;
    width: 400px;
    padding: 24px 24px 24px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    background:
        linear-gradient(140deg,
            hsla(var(--active-hue), 100%, 60%, 0.12),
            hsla(var(--active-hue-2), 100%, 60%, 0.12)),
        var(--bg-panel);
    border: 1px solid var(--glass);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.5), 0 0 28px hsla(var(--active-hue), 100%, 60%, 0.18);
    backdrop-filter: blur(16px);
    color: var(--text-primary); z-index: 55;
    /* 18px + 48 / 2 */
    transform-origin: calc(100% - 42px) 42px;
    transform: scale(0.4);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--playing-fade);
    max-width: 100vw;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
}
#settings-panel.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.settings-header {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.settings-title {
    margin: 0; font-size: 20px; letter-spacing: var(--letter-wide); text-transform: uppercase;
    font-family: var(--font-display);
}
.settings-eyebrow {
    margin: 0; color: hsla(var(--active-hue), 100%, 75%, 0.78); font-size: 12px; letter-spacing: 0.25em;
}
.settings-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
    color: #dffbff; border-radius: 12px; width: 48px; height: 48px; cursor: pointer;
    display: grid; place-items: center;
    transition: background var(--transition-fast), transform 0.1s ease, opacity var(--transition-fast);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
.settings-close:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }

.settings-section { margin-top: 24px; }
.settings-header + .settings-section { margin-top: 16px; }
.settings-section label {
    display: flex; align-items: baseline; gap: 8px;
    font-size: 13px; color: rgba(215, 244, 255, 0.85); letter-spacing: var(--letter-wide);
    text-transform: uppercase;
}
.settings-section small { color: var(--text-subtle); }
.settings-author {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.author-meta {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
}
.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #031018;
    background: linear-gradient(140deg, hsla(var(--active-hue), 100%, 65%, 0.9), hsla(var(--active-hue-2), 100%, 65%, 0.85));
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.author-label {
    margin: 0;
    color: rgba(224, 247, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.author-name {
    margin: 2px 0 0;
    color: #eefcff;
    font-size: 16px;
    letter-spacing: 0.04em;
    font-weight: 700;
}
.author-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e8faff;
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.author-x:hover {
    transform: translateY(-1px);
    border-color: hsla(var(--active-hue), 100%, 60%, 0.45);
    background: hsla(var(--active-hue), 100%, 60%, 0.12);
}
.author-x svg {
    width: 18px;
    height: 18px;
}
.author-message {
    position: relative;
    margin: 0;
    padding: 12px 12px 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(224, 247, 255, 0.9);
    align-self: flex-start;
    font-feature-settings: "palt";
}
.author-message::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: rgba(255, 255, 255, 0.12) transparent transparent transparent;
}
.author-article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(226, 252, 255, 0.9);
    text-decoration: none;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg,
        hsla(var(--active-hue), 100%, 70%, 0.12),
        hsla(var(--active-hue-2), 100%, 70%, 0.1));
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.author-article-link:hover {
    transform: translateY(-1px);
    border-color: hsla(var(--active-hue), 100%, 60%, 0.35);
}
.settings-field {
    margin-top: 8px;
}
.settings-field select,
.settings-field input[type="range"] {
    width: 100%; background: transparent; color: #e8faff;
}
.settings-field select {
    padding: 10px 12px; border-radius: 10px;
    background: rgba(4, 12, 26, 0.7); border: 1px solid hsla(var(--active-hue), 100%, 60%, 0.2);
    color: var(--text-primary); font-weight: 600; letter-spacing: 0.05em;
}
.tone-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.tone-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid hsla(var(--tone-hue, var(--active-hue)), 100%, 60%, 0.12);
    background: rgba(255, 255, 255, 0.02);
    color: #e8faff;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.tone-option:hover { border-color: hsla(var(--tone-hue, var(--active-hue)), 100%, 70%, 0.22); background: rgba(255, 255, 255, 0.04); transform: translateY(-1px); }
.tone-option.active {
    border-color: hsla(var(--tone-hue, var(--active-hue)), 100%, 70%, 0.38);
    background: hsla(var(--tone-hue, var(--active-hue)), 100%, 60%, 0.1);
    box-shadow: 0 0 16px hsla(var(--tone-hue, var(--active-hue)), 100%, 60%, 0.22);
}
.tone-shape {
    width: 36px; height: 36px; border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
    background: radial-gradient(circle at 30% 30%, hsla(var(--tone-hue, var(--active-hue)), 100%, 60%, 0.45), transparent 65%),
                radial-gradient(circle at 70% 70%, hsla(var(--tone-hue-2, var(--active-hue-2)), 100%, 60%, 0.3), transparent 70%);
    border: none;
}
.tone-shape svg {
    width: 76%; height: 76%;
    stroke: rgba(224, 255, 255, 0.4);
    stroke-width: 6;
    fill: rgba(224, 255, 255, 0.12);
    filter:
        drop-shadow(0 0 4px hsla(var(--tone-hue, var(--active-hue)), 100%, 60%, 0.25))
        drop-shadow(0 0 7px hsla(var(--tone-hue-2, var(--active-hue-2)), 100%, 60%, 0.18));
}
.tone-label { font-weight: 700; letter-spacing: 0.08em; font-family: 'Orbitron', sans-serif; }
.tone-label { font-family: var(--font-display); }
.settings-field input[type="range"] { accent-color: hsl(var(--active-hue), 100%, 60%); }
.range-row { display: flex; align-items: center; gap: 16px; }
.range-value { text-align: right; color: rgba(181, 234, 255, 0.9); font-variant-numeric: tabular-nums; white-space: nowrap; }
.subtext {
    margin-top: 4px; font-size: 12px; color: rgba(185, 232, 255, 0.55); letter-spacing: 0.04em;
}
