/* ==========================================================================
   scroller.css — the LED panel and its controls. Loaded only on the home page.
   ========================================================================== */

/* ==========================================================
   stage
   ========================================================== */
.stage-shell {
    padding: 18px 0 0;
}

.stage {
    position: relative;
    height: min(50vh, 400px);
    min-height: 170px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background-color: #000;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    touch-action: manipulation;
    box-shadow: 0 18px 50px -28px rgba(0, 0, 0, .9);
}

.rotor {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: center center;
    filter: brightness(var(--br, 1));
    will-change: transform;
    backface-visibility: hidden;
}

@keyframes hueCycle {
    from {
        filter: brightness(var(--br, 1)) hue-rotate(0deg);
    }

    to {
        filter: brightness(var(--br, 1)) hue-rotate(360deg);
    }
}

body[data-rainbow="on"] .rotor {
    animation: hueCycle var(--rainbow-dur, 12s) linear infinite;
}

#grid,
#led {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

body[data-render="smooth"] #grid,
body[data-render="smooth"] #led {
    display: none;
}

.dom-layer {
    position: absolute;
    inset: 0;
}

body[data-render="led"] .dom-layer {
    display: none;
}

.marquee {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.track {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap;
    min-width: max-content;
    direction: ltr;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.unit {
    flex: 0 0 auto;
    display: block;
    white-space: pre;
    font-family: var(--led-font);
    font-size: var(--led-size);
    font-weight: var(--led-weight);
    font-style: var(--led-italic, normal);
    letter-spacing: var(--led-track);
    color: var(--led-color);
    line-height: 1.25;
    padding-right: var(--led-gap);
    unicode-bidi: plaintext;
}

.bigbox {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2%;
}

.bigtext {
    font-family: var(--led-font);
    font-weight: var(--led-weight);
    font-style: var(--led-italic, normal);
    letter-spacing: var(--led-track);
    color: var(--led-color);
    line-height: 1.15;
    text-align: center;
    white-space: pre;
    font-size: 80px;
    unicode-bidi: plaintext;
}

.bigtext.wrap {
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

body[data-mode="scroller"] .bigbox {
    display: none;
}

body[data-mode="big"] .marquee {
    display: none;
}

body[data-render="smooth"] .unit,
body[data-render="smooth"] .bigtext {
    text-shadow: 0 0 calc(5px*var(--gl)) currentColor, 0 0 calc(16px*var(--gl)) currentColor, 0 0 calc(38px*var(--gl)) currentColor;
}

body[data-render="smooth"][data-glow="off"] .unit,
body[data-render="smooth"][data-glow="off"] .bigtext {
    text-shadow: none;
}

.ov {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.ov.scan {
    background-image: repeating-linear-gradient(to bottom, rgba(0, 0, 0, .5) 0 1px, rgba(0, 0, 0, 0) 1px 3px);
    opacity: 0;
}

body[data-scan="on"] .ov.scan {
    opacity: .65;
}

.ov.edge {
    box-shadow: inset 0 0 var(--edge, 0px) calc(var(--edge, 0px)/6) var(--led-color);
    z-index: 4;
    transition: box-shadow .2s;
}

.ov.vig {
    box-shadow: inset 0 0 90px 12px rgba(0, 0, 0, .45);
    z-index: 2;
}

body[data-vig="off"] .ov.vig {
    display: none;
}

@keyframes ledblink {

    0%,
    49.9% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: var(--blink-depth, .08);
    }
}

body[data-blink="on"] #led,
body[data-blink="on"] .unit,
body[data-blink="on"] .bigtext {
    animation: ledblink var(--blink-dur, .6s) steps(1, end) infinite;
}

@keyframes strobe {

    0%,
    49.9% {
        background-color: var(--led-bg);
    }

    50%,
    100% {
        background-color: var(--led-color);
    }
}

body[data-strobe="on"] .stage {
    animation: strobe var(--blink-dur, .6s) steps(1, end) infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(-4%);
    }

    50% {
        transform: translateY(4%);
    }
}

@keyframes sway {

    0%,
    100% {
        transform: translateX(-3%);
    }

    50% {
        transform: translateX(3%);
    }
}

.bigtext[data-anim="pulse"] {
    animation: pulse 1.6s ease-in-out infinite;
}

.bigtext[data-anim="bob"] {
    animation: bob 1.9s ease-in-out infinite;
}

.bigtext[data-anim="sway"] {
    animation: sway 2.4s ease-in-out infinite;
}

.stage-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 4px 0;
}

.stage-bar .spacer {
    flex: 1;
}

.hint {
    font-size: 12px;
    color: var(--dim);
    font-family: var(--mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================================
   immersive (fullscreen)
   ========================================================== */
body.immersive {
    overflow: hidden;
}

body.immersive .topbar,
body.immersive .modebar,
body.immersive .essentials,
body.immersive .advanced,
body.immersive .hero,
body.immersive .info,
body.immersive .howto,
body.immersive .article,
body.immersive .faq-block,
body.immersive .stage-bar,
body.immersive .site-foot {
    display: none;
}

body.immersive .wrap {
    padding: 0;
    max-width: none;
}

body.immersive .stage-shell {
    padding: 0;
}

body.immersive .stage {
    position: fixed;
    inset: 0;
    z-index: 999;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.fs-ui {
    position: absolute;
    z-index: 10;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
}

body.immersive .fs-ui.show {
    opacity: 1;
}

.fs-ui>* {
    pointer-events: auto;
}

.fs-close {
    position: absolute;
    top: calc(env(safe-area-inset-top, 0px) + 12px);
    inset-inline-end: calc(env(safe-area-inset-right, 0px) + 12px);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(10, 12, 16, .7);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
}

.fs-close .ico {
    width: 18px;
    height: 18px;
}

body[data-close="off"] .fs-close {
    display: none;
}

.fs-dock {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
    display: flex;
    gap: 4px;
    padding: 6px;
    background: rgba(10, 12, 16, .7);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 94vw;
    overflow: auto;
}

.fs-dock button {
    background: transparent;
    border: 0;
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #fff;
    white-space: nowrap;
}

.fs-dock button:hover {
    background: rgba(255, 255, 255, .1);
}

.tap-hint {
    position: absolute;
    left: 50%;
    top: calc(env(safe-area-inset-top, 0px) + 14px);
    transform: translateX(-50%);
    font-size: 12px;
    font-family: var(--mono);
    color: rgba(255, 255, 255, .55);
    background: rgba(10, 12, 16, .6);
    padding: 5px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ==========================================================
   mode switch
   ========================================================== */
.modebar {
    margin: 20px 0 14px;
    display: flex;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 4px;
    gap: 4px;
    box-shadow: var(--shadow);
}

.modebar input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.modebar label {
    flex: 1;
    text-align: center;
    padding: 11px 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: background .15s, color .15s;
}

.modebar label:hover {
    color: var(--text);
}

.modebar input:checked+label {
    background: var(--accent);
    color: #150F02;
}

.modebar input:focus-visible+label {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ==========================================================
   essentials
   ========================================================== */
.essentials {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 20px;
}

@media (min-width: 860px) {
    .essentials {
        grid-template-columns: 1fr 1fr;
        column-gap: 26px;
    }

    .essentials .full {
        grid-column: 1/-1;
    }
}

.field {
    display: grid;
    gap: 9px;
    align-content: start;
}

.flabel {
    display: flex;
    align-items: center;
    gap: 10px;
}

.field>.lb,
.flabel .lb {
    font-size: 13px;
    font-weight: 600;
}

.flabel .val {
    margin-inline-start: auto;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
}

.sub {
    font-size: 12px;
    color: var(--dim);
    line-height: 1.45;
}

textarea,
input[type="text"],
input[type="number"],
select.ctl {
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 12px 13px;
    font-size: 15px;
    resize: vertical;
}

input[type="number"] {
    width: 76px;
}

input.grow {
    flex: 1;
    min-width: 140px;
    width: auto;
}

textarea {
    min-height: 96px;
    line-height: 1.45;
}

textarea:focus,
input:focus,
select:focus {
    border-color: var(--accent);
    outline: none;
}

select.ctl {
    appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

input[type="file"] {
    font-size: 12px;
    max-width: 100%;
    color: var(--dim);
}

input[type="file"]::file-selector-button {
    background: var(--card-2);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 6px 10px;
    margin-inline-end: 9px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
    border-color: var(--line-2);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 26px;
    background: transparent;
    cursor: pointer;
    margin: 0;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 5px;
    background: #232935;
}

input[type="range"]::-moz-range-track {
    height: 5px;
    border-radius: 5px;
    background: #232935;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    margin-top: -7px;
    background: var(--accent);
    border: 3px solid #171104;
    box-shadow: 0 0 12px rgba(255, 176, 32, .45);
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #171104;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(255, 176, 32, .45);
}

.pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
    gap: 7px;
}

.pills input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pills label {
    text-align: center;
    padding: 10px 6px;
    border-radius: var(--r);
    background: var(--bg-2);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: .15s;
}

.pills label:hover {
    color: var(--text);
    border-color: var(--line-2);
}

.pills input:checked+label {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.pills input:focus-visible+label {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.chip {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12.5px;
    cursor: pointer;
    color: var(--muted);
    transition: .15s;
}

.chip:hover {
    color: var(--text);
    border-color: var(--line-2);
}

.chip[aria-pressed="true"] {
    border-color: var(--accent);
    color: var(--accent);
}

.swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.sw-btn {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
    padding: 0;
    transition: .15s;
}

.sw-btn:hover {
    transform: scale(1.08);
}

.sw-btn[aria-pressed="true"] {
    box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent);
}

.color-field {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

input[type="color"] {
    width: 36px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--bg-2);
    cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 3px;
}

input[type="color"]::-webkit-color-swatch {
    border: 0;
    border-radius: 6px;
}

.hexlabel {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--dim);
}

/* preset strip */
.preset-row {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 2px 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--line-2) transparent;
}

.preset-row::-webkit-scrollbar {
    height: 6px;
}

.preset-row::-webkit-scrollbar-thumb {
    background: var(--line-2);
    border-radius: 3px;
}

.preset {
    flex: 0 0 106px;
    scroll-snap-align: start;
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    background: #000;
    transition: .15s;
}

.preset:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
}

.preset .swatchbar {
    height: 40px;
    display: grid;
    place-items: center;
    font-family: "Doto", var(--mono);
    font-size: 16px;
    font-weight: 800;
}

.preset .nm {
    display: block;
    padding: 7px 4px;
    font-size: 11.5px;
    color: var(--muted);
    background: var(--card-2);
}

/* emoji */
.emoji-toggle {
    align-self: start;
}

.emoji-panel {
    display: grid;
    gap: 8px;
}

.emoji-panel[hidden] {
    display: none;
}

.emoji-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 4px;
    max-height: 160px;
    overflow-y: auto;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 8px;
}

.emoji-grid button {
    background: none;
    border: 0;
    font-size: 21px;
    line-height: 1;
    padding: 6px 0;
    cursor: pointer;
    border-radius: 8px;
}

.emoji-grid button:hover {
    background: rgba(255, 255, 255, .08);
}

.note {
    font-size: 12px;
    color: #9fe0c0;
    background: rgba(60, 220, 160, .07);
    border: 1px solid rgba(60, 220, 160, .2);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    margin: 0;
}

.note:empty {
    display: none;
}

.warn {
    font-size: 12px;
    color: #ffc98a;
    background: rgba(255, 176, 32, .07);
    border: 1px solid rgba(255, 176, 32, .2);
    border-radius: var(--r-sm);
    padding: 8px 10px;
}

/* ==========================================================
   advanced
   ========================================================== */
.advanced {
    margin-top: 14px;
}

.advanced>summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    transition: .15s;
    box-shadow: var(--shadow);
}

.advanced>summary:hover {
    color: var(--text);
    border-color: var(--line-2);
}

.advanced>summary::-webkit-details-marker {
    display: none;
}

.advanced>summary::after {
    content: "";
    margin-inline-start: auto;
    width: 7px;
    height: 7px;
    border-right: 1.7px solid var(--muted);
    border-bottom: 1.7px solid var(--muted);
    transform: rotate(45deg);
    transition: transform .2s;
}

.advanced[open]>summary {
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    color: var(--text);
}

.advanced[open]>summary::after {
    transform: rotate(-135deg);
}

.advanced>summary .ico {
    width: 16px;
    height: 16px;
}

.panels {
    padding: 12px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
}

/* ==========================================================
   settings tabs
   ========================================================== */
.tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 4px;
    margin-bottom: 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, background .15s, border-color .15s;
}

.tab:hover {
    color: var(--text);
    background: var(--card);
}

.tab.on {
    color: #150F02;
    background: var(--accent);
    border-color: var(--accent);
}

.tab.on:hover {
    background: #ffc247;
}

.tab[hidden] {
    display: none;
}

/* Each control gets its own card. Laying the settings out as bare rows in a
   grid left them ragged — a slider next to a switch next to a five-way pill
   group, all different heights with nothing to tie a label to its control.
   Cards in a track give every setting the same frame, and grid stretches the
   ones on a row to match, so the panel reads as a tidy sheet either way. */
.pane {
    display: grid;
    gap: 10px;
    align-content: start;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
}

.pane[hidden] {
    display: none;
}

.pane>.row,
.pane>.btn-row {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 13px 15px;
    align-content: start;
}

.pane>.row.inline {
    grid-template-columns: 1fr auto;
    align-content: start;
    align-items: center;
}

/* The card's own heading, as opposed to a label inside a nested row. */
.pane>.row>.lb,
.pane>.row>.row.inline .lb,
.pane>.row.inline>div>.lb {
    font-weight: 600;
}

/* Notes and warnings explain the whole group, so they run the full width. */
.pane>.sub,
.pane>.warn,
.pane>.saved-list {
    grid-column: 1/-1;
}

.pane>.sub {
    margin-top: -4px;
}


.row {
    display: grid;
    gap: 7px;
}

.row.inline {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
}

label.lb,
span.lb {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
}

.val {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--accent);
    min-width: 44px;
    text-align: end;
}

.sw {
    position: relative;
    width: 42px;
    height: 24px;
    flex: 0 0 auto;
}

.sw input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.sw span {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #242a35;
    transition: .18s;
    border: 1px solid var(--line);
}

.sw span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #8b95a3;
    transition: .18s;
}

.sw input:checked+span {
    background: color-mix(in srgb, var(--accent) 30%, #242a35);
    border-color: #7a5310;
}

.sw input:checked+span::after {
    transform: translateX(18px);
    background: var(--accent);
}

.sw input:focus-visible+span {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.clock-readout {
    font-family: var(--mono);
    font-size: 26px;
    color: var(--accent);
    padding: 2px 0;
    line-height: 1.1;
}

.btn-row {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}

.saved-list {
    display: grid;
    gap: 7px;
}

.saved-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 8px 10px;
    font-size: 13px;
}

.saved-item b {
    font-weight: 600;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saved-item button {
    background: none;
    border: 0;
    color: var(--muted);
    cursor: pointer;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 6px;
}

.saved-item button:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .06);
}

.saved-item button.del:hover {
    color: var(--danger);
}

.empty {
    font-size: 12.5px;
    color: var(--dim);
    padding: 4px 0;
}

/* ==========================================================
   presets strip
   ========================================================== */
.preset-strip {
    margin-top: 28px;
}

.preset-strip .sub {
    margin: -6px 0 12px;
    max-width: 60ch;
}

/* ==========================================================
   info cards
   ========================================================== */
.info {
    margin-top: 36px;
}

.info-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
}

.info-grid article {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 15px 16px;
}

.info-grid h3 {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 600;
}

.info-grid p {
    margin: 0;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 640px) {
    .stage {
        height: min(36vh, 250px);
        border-radius: 15px;
    }

    .essentials {
        padding: 16px;
        gap: 17px;
    }

    .modebar label {
        padding: 12px 8px;
    }

    .stage-bar .hint.keys {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .sw span,
    .sw span::after,
    .card>summary::after,
    .preset {
        transition: none;
    }
}
