.rarity-tier-basic {
    color: #d8ddea;
    text-shadow: 0 0 6px rgba(220, 230, 255, 0.25), 0 0 2px rgba(14, 22, 38, 0.75);
}

.rarity-tier-epic {
    color: #815482;
    text-shadow: 0 0 8px rgba(129, 84, 130, 0.32), 0 0 2px rgba(15, 6, 24, 0.8);
}

.rarity-tier-unique {
    color: #dba738;
    text-shadow: 0 0 10px rgba(219, 167, 56, 0.35), 0 0 3px rgba(32, 16, 0, 0.82);
}

.rarity-tier-legendary {
    color: #3df1cf;
    text-shadow: 0 0 12px rgba(61, 241, 207, 0.35), 0 0 3px rgba(0, 22, 18, 0.78);
}

.rarity-tier-mythic {
    color: #df1ab0;
    text-shadow: 0 0 14px rgba(223, 26, 176, 0.38), 0 0 4px rgba(30, 0, 22, 0.82);
}

.rarity-tier-exalted {
    color: #10477c;
    text-shadow: 0 0 12px rgba(16, 71, 124, 0.35), 0 0 3px rgba(0, 12, 28, 0.85);
}

.sigil-outline-empty {
    color: #080808;
    text-shadow:
        0 0 12px rgba(16, 71, 124, 0.35),
        0 0 3px rgba(0, 12, 28, 0.85),
        1px 0 0 rgba(255, 255, 255, 0.72),
        -1px 0 0 rgba(255, 255, 255, 0.72),
        0 1px 0 rgba(255, 255, 255, 0.62),
        0 -1px 0 rgba(255, 255, 255, 0.62);
}

.rarity-tier-glorious {
    color: #851010;
    text-shadow: 0 0 12px rgba(133, 16, 16, 0.4), 0 0 3px rgba(26, 0, 0, 0.8);
}

.rarity-tier-transcendent {
    color: #b7f5f5;
    text-shadow: 0 0 14px rgba(183, 245, 245, 0.42), 0 0 3px rgba(18, 30, 36, 0.72);
}

.rarity-tier-dimensional {
    background: linear-gradient(270deg, #5747f0, #e406e9, #e406e9, #5747f0, #97e6f0, #97e6f0, #5747f0);
    background-size: 4000% 100%;
    animation: wiki-BloatedAnimation 4s linear infinite reverse;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-family: Sarpanch, sans-serif;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: uppercase;
    text-shadow: none;
    filter: drop-shadow(1px 0 0 black) drop-shadow(0 1px 0 black) drop-shadow(-.5px 0 0 black) drop-shadow(0 -.5px 0 black);
}

body.quality-no-roll-sigil-animations .rarity-tier-dimensional {
    animation: none;
}

@media (prefers-reduced-motion: reduce) {
    .rarity-tier-dimensional { animation: none; }
}

.rarity-tier-limbo {
    color: #d7d7d7;
    text-shadow:
        0 0 6px rgba(40, 40, 40, 0.95),
        0 0 12px rgba(10, 10, 10, 0.9),
        1px 1px 0 rgba(0, 0, 0, 0.95),
        -1px 1px 0 rgba(0, 0, 0, 0.95),
        1px -1px 0 rgba(0, 0, 0, 0.95),
        -1px -1px 0 rgba(0, 0, 0, 0.95);
}

.sigil-subtitle {
    display: block;
    font-size: 0.85em;
    letter-spacing: 0.08em;
    text-transform: none;
    color: var(--text-secondary);
    font-style: italic;
}

.sigil-event-text {
    --event-sigil-fill: #f5fbff;
    --event-sigil-outline: #7fe3ff;
    --event-sigil-edge: #123e5a;
    --event-sigil-accent: rgba(127, 227, 255, 0.9);
    --event-sigil-depth: rgba(0, 20, 38, 0.86);
    color: var(--event-sigil-fill) !important;
    -webkit-text-fill-color: var(--event-sigil-fill) !important;
    -webkit-text-stroke-width: clamp(1px, 0.095em, 1.9px);
    -webkit-text-stroke-color: var(--event-sigil-outline);
    paint-order: stroke fill;
    text-shadow:
        1px 0 0 var(--event-sigil-edge),
        -1px 0 0 var(--event-sigil-edge),
        0 1px 0 var(--event-sigil-edge),
        0 -1px 0 var(--event-sigil-edge),
        0 0 0.3em var(--event-sigil-accent),
        0 0.12em 0.08em var(--event-sigil-depth);
}

.sigil-outline-day,
.sigil-outline-night,
.sigil-outline-heaven,
.sigil-outline-windy,
.sigil-outline-snowy,
.sigil-outline-rainy,
.sigil-outline-sandstorm,
.sigil-outline-starfall,
.sigil-outline-hell,
.sigil-outline-corruption,
.sigil-outline-null,
.sigil-outline-glitch,
.sigil-outline-dreamspace,
.sigil-outline-cyberspace,
.sigil-outline-singularity,
.sigil-outline-limbo,
.sigil-outline-lost-forest,
.sigil-outline-radiant-forest {
    color: var(--biome-sigil-fill) !important;
    -webkit-text-fill-color: var(--biome-sigil-fill) !important;
    -webkit-text-stroke: clamp(1px, 0.095em, 1.9px) var(--biome-sigil-outline);
    paint-order: stroke fill;
    text-shadow:
        1px 0 0 var(--biome-sigil-edge),
        -1px 0 0 var(--biome-sigil-edge),
        0 1px 0 var(--biome-sigil-edge),
        0 -1px 0 var(--biome-sigil-edge),
        0 0 0.3em var(--biome-sigil-accent),
        0 0.12em 0.08em var(--biome-sigil-depth);
    text-rendering: optimizeLegibility;
}

.sigil-outline-day {
    --biome-sigil-fill: #fff8bf;
    --biome-sigil-outline: #ffe35a;
    --biome-sigil-edge: #6f5c00;
    --biome-sigil-accent: rgba(255, 227, 90, 0.9);
    --biome-sigil-depth: rgba(55, 43, 0, 0.82);
}

.sigil-outline-night {
    --biome-sigil-fill: #f1eaff;
    --biome-sigil-outline: #a86cff;
    --biome-sigil-edge: #32105e;
    --biome-sigil-accent: rgba(168, 108, 255, 0.9);
    --biome-sigil-depth: rgba(18, 0, 42, 0.86);
}

.sigil-outline-heaven {
    --biome-sigil-fill: #fff8ce;
    --biome-sigil-outline: #ffd65a;
    --biome-sigil-edge: #725600;
    --biome-sigil-accent: rgba(255, 214, 90, 0.9);
    --biome-sigil-depth: rgba(78, 50, 0, 0.82);
}

.sigil-outline-windy {
    --biome-sigil-fill: #e8f9ff;
    --biome-sigil-outline: #43b9ff;
    --biome-sigil-edge: #075c96;
    --biome-sigil-accent: rgba(67, 185, 255, 0.92);
    --biome-sigil-depth: rgba(0, 48, 86, 0.84);
}

.sigil-outline-snowy {
    --biome-sigil-fill: #fff;
    --biome-sigil-outline: #aaf7ff;
    --biome-sigil-edge: #3a8b99;
    --biome-sigil-accent: rgba(170, 247, 255, 0.94);
    --biome-sigil-depth: rgba(35, 91, 103, 0.8);
}

.sigil-outline-rainy {
    --biome-sigil-fill: #eaf2ff;
    --biome-sigil-outline: #4d8dff;
    --biome-sigil-edge: #153a78;
    --biome-sigil-accent: rgba(77, 141, 255, 0.92);
    --biome-sigil-depth: rgba(8, 37, 85, 0.84);
}

.sigil-outline-sandstorm {
    --biome-sigil-fill: #fff0bd;
    --biome-sigil-outline: #e9a43a;
    --biome-sigil-edge: #64370e;
    --biome-sigil-accent: rgba(233, 164, 58, 0.92);
    --biome-sigil-depth: rgba(73, 36, 4, 0.84);
}

.sigil-outline-starfall {
    --biome-sigil-fill: #f6ecff;
    --biome-sigil-outline: #a875ff;
    --biome-sigil-edge: #3a1679;
    --biome-sigil-accent: rgba(168, 117, 255, 0.92);
    --biome-sigil-depth: rgba(28, 5, 70, 0.86);
}

.sigil-outline-hell {
    --biome-sigil-fill: #ffe3d7;
    --biome-sigil-outline: #ff4d2e;
    --biome-sigil-edge: #6f0c02;
    --biome-sigil-accent: rgba(255, 77, 46, 0.94);
    --biome-sigil-depth: rgba(79, 5, 0, 0.88);
}

.sigil-outline-corruption {
    --biome-sigil-fill: #f7e8ff;
    --biome-sigil-outline: #ce4dff;
    --biome-sigil-edge: #51006e;
    --biome-sigil-accent: rgba(206, 77, 255, 0.94);
    --biome-sigil-depth: rgba(55, 0, 77, 0.88);
}

.sigil-outline-null {
    --biome-sigil-fill: #f2f5f5;
    --biome-sigil-outline: #93a6ae;
    --biome-sigil-edge: #1b252a;
    --biome-sigil-accent: rgba(147, 166, 174, 0.9);
    --biome-sigil-depth: rgba(7, 12, 15, 0.9);
}

.sigil-outline-glitch {
    --biome-sigil-fill: #d7c2ff;
    --biome-sigil-outline: #190d25;
    --biome-sigil-edge: #6e2bb6;
    --biome-sigil-accent: rgba(151, 75, 255, 0.92);
    --biome-sigil-depth: rgba(0, 0, 0, 0.92);
}

.sigil-outline-dreamspace {
    --biome-sigil-fill: #fff0fc;
    --biome-sigil-outline: #ff5ecb;
    --biome-sigil-edge: #710650;
    --biome-sigil-accent: rgba(255, 94, 203, 0.92);
    --biome-sigil-depth: rgba(85, 4, 62, 0.86);
}

.sigil-outline-cyberspace {
    --biome-sigil-fill: #eaf5ff;
    --biome-sigil-outline: #58a8ff;
    --biome-sigil-edge: #073d7a;
    --biome-sigil-accent: rgba(88, 168, 255, 0.92);
    --biome-sigil-depth: rgba(5, 27, 68, 0.86);
}

.sigil-outline-singularity {
    --biome-sigil-fill: #fff0df;
    --biome-sigil-outline: #ff7b32;
    --biome-sigil-edge: #6d1906;
    --biome-sigil-accent: rgba(255, 123, 50, 0.94);
    --biome-sigil-depth: rgba(54, 9, 13, 0.88);
}

.sigil-outline-limbo {
    --biome-sigil-fill: #070707;
    --biome-sigil-outline: #f0f0f0;
    --biome-sigil-edge: #555;
    --biome-sigil-accent: rgba(240, 240, 240, 0.8);
    --biome-sigil-depth: rgba(0, 0, 0, 0.92);
}

.sigil-outline-lost-forest {
    --biome-sigil-fill: #eaf5ff;
    --biome-sigil-outline: #01811b;
    --biome-sigil-edge: #026a40;
    --biome-sigil-accent: rgba(13, 95, 6, 0.92);
    --biome-sigil-depth: rgba(5, 50, 2, 0.86);
}

.sigil-outline-radiant-forest {
    --biome-sigil-fill: #eaf5ff;
    --biome-sigil-outline: #9613c5;
    --biome-sigil-edge: #69077a;
    --biome-sigil-accent: rgba(230, 88, 255, 0.92);
    --biome-sigil-depth: rgba(65, 5, 68, 0.86);
}

.sigil-outline-edict {
    font-family: "Playfair Display", "Times New Roman", serif;
    font-weight: bold;
    font-style: italic;
    display: inline-block;
    position: relative;
    white-space: nowrap;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: linear-gradient(175deg, #48291a 37%, #c59568 40%, #fffaf4 42%, #fffaf4 53%, #c99f76 55%, #6b4023 58%, #2a2225 71%);
}

.sigil-outline-edict::before,
.sigil-outline-edict::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.sigil-outline-edict::before {
    -webkit-text-stroke: 2px #3e1500;
}

.sigil-outline-edict::after {
    -webkit-text-stroke: 1px #dcb79a;
}

.sigil-outline-halloween,
.sigil-outline-valentine-2024,
.sigil-outline-valentine-2026,
.sigil-outline-easter-2026,
.sigil-outline-april,
.sigil-outline-summer,
.sigil-outline-innovator,
.sigil-outline-winter,
.sigil-outline-winter-2026,
.sigil-outline-blood {
    color: var(--event-sigil-fill) !important;
    -webkit-text-fill-color: var(--event-sigil-fill) !important;
    -webkit-text-stroke-width: clamp(1px, 0.095em, 1.9px);
    -webkit-text-stroke-color: var(--event-sigil-outline);
    paint-order: stroke fill;
    text-shadow:
        1px 0 0 var(--event-sigil-edge),
        -1px 0 0 var(--event-sigil-edge),
        0 1px 0 var(--event-sigil-edge),
        0 -1px 0 var(--event-sigil-edge),
        0 0 0.3em var(--event-sigil-accent),
        0 0.12em 0.08em var(--event-sigil-depth);
    text-rendering: optimizeLegibility;
}

.sigil-outline-halloween {
    --event-sigil-fill: #fff0dc;
    --event-sigil-outline: #ff8b24;
    --event-sigil-edge: #7a2d00;
    --event-sigil-accent: rgba(255, 139, 36, 0.95);
    --event-sigil-depth: rgba(60, 20, 0, 0.84);
}

.sigil-outline-xyz {
    text-shadow:
        0 0 4px rgba(80, 170, 255, 0.85),
        0 0 8px rgba(20, 110, 220, 0.7),
        1px 1px 0 rgba(5, 40, 120, 0.9),
        -1px 1px 0 rgba(5, 40, 120, 0.9),
        1px -1px 0 rgba(5, 40, 120, 0.9),
        -1px -1px 0 rgba(5, 40, 120, 0.9);
}

.sigil-outline-xc {
    text-shadow:
        0 0 4px rgba(255, 80, 80, 0.85),
        0 0 8px rgba(220, 20, 20, 0.7),
        1px 1px 0 rgba(120, 5, 5, 0.9),
        -1px 1px 0 rgba(120, 5, 5, 0.9),
        1px -1px 0 rgba(120, 5, 5, 0.9),
        -1px -1px 0 rgba(120, 5, 5, 0.9);
}

.sigil-outline-valentine-2024 {
    --event-sigil-fill: #fff0f9;
    --event-sigil-outline: #ff6fbd;
    --event-sigil-edge: #731450;
    --event-sigil-accent: rgba(255, 111, 189, 0.94);
    --event-sigil-depth: rgba(70, 8, 45, 0.84);
}

.sigil-outline-valentine-2026 {
    --event-sigil-fill: #ffe9f7;
    --event-sigil-outline: #ff58b4;
    --event-sigil-edge: #85195f;
    --event-sigil-accent: rgba(255, 88, 180, 0.95);
    --event-sigil-depth: rgba(90, 10, 58, 0.84);
}

.sigil-outline-easter-2026 {
    --event-sigil-fill: #effff9;
    --event-sigil-outline: #52e8b6;
    --event-sigil-edge: #0b6a50;
    --event-sigil-accent: rgba(82, 232, 182, 0.94);
    --event-sigil-depth: rgba(5, 75, 58, 0.82);
}

.sigil-outline-april {
    --event-sigil-fill: #fff;
    --event-sigil-outline: #b9c0ca;
    --event-sigil-edge: #444;
    --event-sigil-accent: rgba(210, 216, 224, 0.92);
    --event-sigil-depth: rgba(35, 35, 35, 0.84);
}

.sigil-effect-astrald {
    color: #333355;
    text-shadow:
        0 0 4px rgba(190, 190, 190, 0.85),
        0 0 8px rgba(140, 140, 140, 0.75),
        1px 1px 0 rgba(80, 80, 80, 0.9),
        -1px 1px 0 rgba(80, 80, 80, 0.9),
        1px -1px 0 rgba(80, 80, 80, 0.9),
        -1px -1px 0 rgba(80, 80, 80, 0.9);
}

.sigil-outline-summer {
    --event-sigil-fill: #fffed4;
    --event-sigil-outline: #f2ef3d;
    --event-sigil-edge: #777c00;
    --event-sigil-accent: rgba(242, 239, 61, 0.96);
    --event-sigil-depth: rgba(77, 82, 0, 0.84);
}

.sigil-outline-innovator {
    --event-sigil-fill: #f4e8ff;
    --event-sigil-outline: #bc73ff;
    --event-sigil-edge: #461478;
    --event-sigil-accent: rgba(188, 115, 255, 0.95);
    --event-sigil-depth: rgba(45, 8, 80, 0.84);
}

.sigil-outline-winter {
    --event-sigil-fill: #edf9ff;
    --event-sigil-outline: #79cfff;
    --event-sigil-edge: #285a8c;
    --event-sigil-accent: rgba(121, 207, 255, 0.95);
    --event-sigil-depth: rgba(15, 55, 95, 0.84);
}

.sigil-outline-winter-2026 {
    --event-sigil-fill: #eaffff;
    --event-sigil-outline: #46d9ff;
    --event-sigil-edge: #196b98;
    --event-sigil-accent: rgba(70, 217, 255, 0.96);
    --event-sigil-depth: rgba(15, 70, 105, 0.84);
}

.sigil-outline-cryogenic {
    color: #e9f8ff;
    text-shadow:
        0 0 6px rgba(150, 230, 255, 0.95),
        0 0 14px rgba(90, 190, 255, 0.9),
        2px 2px 0 rgba(20, 110, 160, 0.95),
        -2px 2px 0 rgba(20, 110, 160, 0.95),
        2px -2px 0 rgba(20, 110, 160, 0.95),
        -2px -2px 0 rgba(20, 110, 160, 0.95);
}

.sigil-outline-blood {
    --event-sigil-fill: #ffe8e8;
    --event-sigil-outline: #ff4651;
    --event-sigil-edge: #730707;
    --event-sigil-accent: rgba(255, 70, 81, 0.95);
    --event-sigil-depth: rgba(45, 0, 0, 0.86);
}

@supports not (-webkit-text-stroke: 1px #000) {
    .sigil-event-text,
    .sigil-outline-halloween,
    .sigil-outline-valentine-2024,
    .sigil-outline-valentine-2026,
    .sigil-outline-easter-2026,
    .sigil-outline-april,
    .sigil-outline-summer,
    .sigil-outline-innovator,
    .sigil-outline-winter,
    .sigil-outline-winter-2026,
    .sigil-outline-blood {
        text-shadow:
            1px 0 0 var(--event-sigil-outline, #7fe3ff),
            -1px 0 0 var(--event-sigil-outline, #7fe3ff),
            0 1px 0 var(--event-sigil-outline, #7fe3ff),
            0 -1px 0 var(--event-sigil-outline, #7fe3ff),
            2px 0 0 var(--event-sigil-edge, #123e5a),
            -2px 0 0 var(--event-sigil-edge, #123e5a),
            0 2px 0 var(--event-sigil-edge, #123e5a),
            0 -2px 0 var(--event-sigil-edge, #123e5a);
    }
}

.sigil-outline-illusionary {
    color: #f7fbff;
    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.95),
        0 0 22px rgba(176, 216, 255, 0.88),
        4px 0 0 rgba(255, 255, 255, 0.95),
        -4px 0 0 rgba(134, 194, 255, 0.95),
        0 4px 0 rgba(255, 255, 255, 0.92),
        0 -4px 0 rgba(134, 194, 255, 0.92),
        6px 2px 0 rgba(255, 255, 255, 0.8),
        -6px -2px 0 rgba(176, 216, 255, 0.82);
    animation: illusionary-glitch 1.8s infinite steps(2, end);
}

@keyframes illusionary-glitch {
    0% {
        text-shadow:
            0 0 12px rgba(255, 255, 255, 0.95),
            0 0 22px rgba(176, 216, 255, 0.88),
            5px 1px 0 rgba(255, 255, 255, 0.95),
            -3px -1px 0 rgba(134, 194, 255, 0.95),
            1px 6px 0 rgba(255, 255, 255, 0.92),
            -1px -6px 0 rgba(134, 194, 255, 0.92),
            7px -3px 0 rgba(255, 255, 255, 0.78),
            -7px 3px 0 rgba(176, 216, 255, 0.82);
    }
    50% {
        text-shadow:
            0 0 12px rgba(255, 255, 255, 0.95),
            0 0 22px rgba(176, 216, 255, 0.88),
            3px -2px 0 rgba(255, 255, 255, 0.95),
            -5px 2px 0 rgba(134, 194, 255, 0.95),
            -2px 6px 0 rgba(255, 255, 255, 0.9),
            2px -6px 0 rgba(134, 194, 255, 0.92),
            6px 3px 0 rgba(255, 255, 255, 0.82),
            -6px -3px 0 rgba(176, 216, 255, 0.84);
    }
    100% {
        text-shadow:
            0 0 12px rgba(255, 255, 255, 0.95),
            0 0 22px rgba(176, 216, 255, 0.88),
            6px 0 0 rgba(255, 255, 255, 0.95),
            -2px 0 0 rgba(134, 194, 255, 0.95),
            0 6px 0 rgba(255, 255, 255, 0.9),
            0 -6px 0 rgba(134, 194, 255, 0.92),
            8px -2px 0 rgba(255, 255, 255, 0.8),
            -8px 2px 0 rgba(176, 216, 255, 0.85);
    }
}

.bulletClass {
    color: #ffffff;
    text-shadow:
        0 0 4px rgba(152, 255, 139, 0.85),
        0 0 8px rgba(152, 255, 118, 0.75),
        1px 1px 0 rgba(104, 176, 87, 0.9),
        -1px 1px 0 rgba(101, 167, 91, 0.9),
        1px -1px 0 rgba(87, 136, 72, 0.9),
        -1px -1px 0 rgba(77, 159, 81, 0.9);
}

.bigClass {
    font-size: xx-large !important;
}

.largeClass {
    font-size: larger !important;
}

.largestClass {
    font-size: x-large !important;
}

.noClass {
    text-decoration: none;
    text-transform: none;
}

.greenClass {
    color: #79ff96;
}

.sigil-outline-mastermind {
    font-family: Fondamento;
    font-weight: bold;
    text-transform: uppercase;
    color: #050505;
    -webkit-text-fill-color: #050505;
    -webkit-text-stroke: clamp(0.7px, 0.055em, 1.1px) #fcfcfc;
    paint-order: stroke fill;
    text-shadow: 0 0.085em 0.07em rgba(0, 0, 0, 0.8);
}

.biome-sigil--hyperspace-realm,
.biome-sigil--red-full-moon,
.biome-sigil--citadel-of-orders {
    font-family: Sarpanch, sans-serif;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.biome-sigil--hyperspace-realm {
    color: #0d1d4a !important;
    -webkit-text-fill-color: #0d1d4a !important;
    -webkit-text-stroke: 0.2px #344382;
}

.biome-sigil--null-existence {
    color: #000 !important;
    font-family: Fondamento, serif;
    font-weight: 700;
    background: #fcfcfc;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: #000 !important;
    -webkit-text-stroke: 0.8px transparent;
    letter-spacing: normal;
    text-transform: none;
}

.biome-sigil--red-full-moon {
    color: #0d0000 !important;
    -webkit-text-fill-color: #0d0000 !important;
    -webkit-text-stroke: 0.2px #a90303;
}

.biome-sigil--citadel-of-orders {
    color: #e7c698 !important;
    -webkit-text-fill-color: #e7c698 !important;
    -webkit-text-stroke: 0.2px #a90303;
}

.sigil-outline-leviathan {
    font-family: "Playfair Display", serif;
    text-transform: uppercase;
    background-clip: text !important;
    -webkit-text-fill-color: rgb(0 0 0 / 50%);
    background: linear-gradient(178deg, #4dd0cc 30%, #153a3e 38%, #9dfdfd 40%, #9af8fb 48%, #124245 50%, #2ed4d2 52%, #23454e 65%, #62cac6 67%, #518488 80%);
    -webkit-text-stroke: .1em transparent;
    letter-spacing: .15em;
}

.sigil-outline-monarch {
    font-family: Kings;
    text-transform: uppercase;
    background-clip: text !important;
    -webkit-text-fill-color: rgb(32 7 82 / 84%);
    background: linear-gradient(177deg, #e4a4ff 18%, #ffe0ff 20%, #7133f9 27%, #fac0ff 37%, #a364ff 47%, #fff3ff 65%, #6736e6 68%, #d3a5ff 74%);
    -webkit-text-stroke: 2px transparent;
    letter-spacing: .35em;
}

.sigil-border-breakthrough {
    background: linear-gradient(150deg, transparent 15%, #00000d 25%);
    background-clip: padding-box;
    border: 1px solid transparent;
    border-image: linear-gradient(290deg, #666680 5%, #636c88 10%, transparent 20%, transparent 90%, rgb(132 135 157 / 70%) 95%) 1;
    padding: .1em;
}

.sigil-effect-breakthrough {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    transform-origin: center;
}

.sigil-effect-breakthrough__title,
.sigil-effect-breakthrough__suffix,
.sigil-effect-breakthrough__detail {
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sigil-effect-breakthrough__title,
.sigil-effect-breakthrough__suffix,
.sigil-effect-breakthrough__detail {
    background: linear-gradient(175deg, #f2fdfe 10%, #cfd5e3 19%, #252a48 20%, #312d40 35%, #cdd0e9 35%, #c4c6e9 40%, #bac3f1 45%, #272930 50%, #d0d5f1 55%, #30303e 70%, #eef4fa 71%, #e0e6ef 75%, #e9ebfc 80%);
}

.sigil-effect-breakthrough__title {
    letter-spacing: .1em;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
}

.sigil-effect-clockwork {
    font-family: Fondamento;
    display: inline-block;
    font-weight: bold;
    font-style: italic;
    letter-spacing: .23em;
    white-space: nowrap;
    position: relative;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: linear-gradient(to bottom, #04080c 25%, #707b8c 45%, #ced5e1 55%, #ffffff 55%, #fdffff 60%, #010407 60%, #a7b1bf 67%, #ffffff 72%);
}

.sigil-effect-clockwork::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background-clip: text !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .8px transparent;
    background: linear-gradient(to bottom, #fbfeff 25%, #d0d7e1 50%, #070c11 60%, #ffffff 60%, #cbd2dd 65%, #03090d 69%);
    pointer-events: none;
}

.sigil-outline-winter-garden,
.sigil-effect-winter-garden {
    letter-spacing: .25px;
    overflow-wrap: break-word;
    font-family: Parisienne;
    display: inline-block;
    font-size: 125%;
    white-space: nowrap;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(to bottom, #7ef1ff 22%, #8980ff 35%, #7c68cf 50%, #e0d8fa 75%);
    -webkit-text-stroke: .05em transparent;
}

.sigil-outline-dream-traveler {
    font-family: Jura;
    font-size: 125%;
    font-weight: bold;
    font-style: italic;
    display: inline-block;
    animation: dream-traveler-gradient 5s ease-in-out infinite;
}

@keyframes dream-traveler-gradient {
    0% {
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        background-image: linear-gradient(170deg, #2e1885 27%, #c5aefe 33%, #41307a 42%, #fdeef4 46%, #f3daf3 52%, #6f1930 70%, #c26181 75%, #f1a9cb 90%);
        background-size: 200% 200%;
        background-position: 0% 50%;
    }
    50% {
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        background-image: linear-gradient(170deg, #2e1885 27%, #c5aefe 33%, #41307a 42%, #fdeef4 46%, #f3daf3 52%, #6f1930 70%, #c26181 75%, #f1a9cb 90%);
        background-size: 200% 200%;
        background-position: 100% 50%;
    }
    100% {
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        background-image: linear-gradient(170deg, #2e1885 27%, #c5aefe 33%, #41307a 42%, #fdeef4 46%, #f3daf3 52%, #6f1930 70%, #c26181 75%, #f1a9cb 90%);
        background-size: 200% 200%;
        background-position: 0% 50%;
    }
}

.sigil-outline-frostveil {
    font-family: Kings;
    font-size: 120%;
    background-clip: text !important;
    -webkit-text-fill-color: #02316d;
    background: linear-gradient(to bottom, #a9afff 35%, #7594f9 50%, #a2dbff 70%);
    -webkit-text-stroke: 2.5px transparent;
}

.sigil-outline-erebus {
    font-family: Noto Serif TC;
    background-clip: text !important;
    -webkit-text-fill-color: rgba(0, 0, 0, 0.7);
    background: linear-gradient(to bottom, #523123 20%, #661f03 22%, #8c3e30 24%, #882b19 30%, #6b170c 37%, #801b1b 45%, #c03946 50%, #63182d 55%, #6c1730 60%, #6c1730 67%, #850546 75%);
    -webkit-text-stroke: 2px transparent;
    clip-path: inset(.21em 0em .245em 0em);
    text-transform: uppercase;
}

.sigil-outline-lamenthyr {
    font-family: Kings;
    font-style: italic;
    display: inline-block;
    position: relative;
    white-space: nowrap;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: linear-gradient(178deg, #420000 35%, #420000 45%, #ffc3b6 50%, #420000 60%);
    text-transform: uppercase;
}

.sigil-outline-lamenthyr::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: linear-gradient(178deg, #e53a2d 20%, #ffb4a3 26%, #950d05 35%, #950d05 45%, #ffbab0 48%, #950d05 51%, #ffbab0 54%, #ff7069 59%, #630400 65%, #ff837e 79%);
    -webkit-text-stroke: 0.1em transparent;
    pointer-events: none;
}

.sigil-effect-lamenthyr {
    display: inline-flex;
    align-items: baseline;
    font-family: Kings;
    font-style: italic;
    white-space: nowrap;
}

.sigil-effect-lamenthyr__title,
.sigil-effect-lamenthyr__suffix {
    position: relative;
    display: inline-block;
}

.sigil-effect-lamenthyr__text {
    display: inline-block;
}

.sigil-effect-lamenthyr__text--shadow {
    position: absolute;
    inset: 0;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: linear-gradient(178deg, #e53a2d 20%, #ffb4a3 26%, #950d05 35%, #950d05 45%, #ffbab0 48%, #950d05 51%, #ffbab0 54%, #ff7069 59%, #630400 65%, #ff837e 79%);
    -webkit-text-stroke: 0.1em transparent;
}

.sigil-effect-lamenthyr__text--shine {
    position: relative;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: linear-gradient(178deg, #420000 35%, #420000 45%, #ffc3b6 50%, #420000 60%);
}

@keyframes class-gradient-vert {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 0% 350%;
    }
}

.sigil-effect-oblivion,
.sigil-effect-memory,
.sigil-effect-neferkhaf,
.sigil-outline-赤月の破片,
.sigil-effect-pixelation,
.sigil-effect-luminosity,
.sigil-effect-equinox,
.sigil-effect-megaphone {
    display: inline-block;
    position: relative;
}

.sigil-effect-oblivion {
    background: linear-gradient(92deg, #bb7aff 0%, #401768 40%, #26063c 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 16px rgba(187, 122, 255, 0.45);
}

.sigil-effect-memory {
    background: linear-gradient(110deg, #f3d9ff 0%, #a26bff 45%, #3b1061 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(200, 140, 255, 0.55);
}

.sigil-effect-neferkhaf {
    background: linear-gradient(125deg, #0b0805 0%, #f1d7a5 33%, #c7903e 66%, #0b0805 100%);
    background-size: 300% 300%;
    animation: class-gradient 3.5s linear infinite;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow:
        0 0 6px rgba(12, 9, 6, 0.85),
        0 0 18px rgba(200, 152, 70, 0.6);
}

.sigil-outline-赤月の破片 {
    background: linear-gradient(-135deg, #0b0505 0%, #6a0000 55%, #df0000 100%);
    background-size: 300% 300%;
    animation: class-gradient 3.5s linear infinite;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow:
        0 0 6px rgba(28, 11, 11, 0.85),
        0 0 18px rgba(102, 27, 27, 0.6);
}

.sigil-effect-pixelation {
    color: #ff004c;
    animation: aura-pixelation-rgb 0.75s linear infinite, aura-pixelation-sway 1.1s ease-in-out infinite;
    font-family: "Press Start 2P", "Sarpanch", sans-serif;
    font-size: 0.65em;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    -webkit-font-smoothing: none;
    font-smooth: never;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.85),
        -1px 1px 0 rgba(0, 0, 0, 0.85),
        1px -1px 0 rgba(0, 0, 0, 0.85),
        -1px -1px 0 rgba(0, 0, 0, 0.85),
        0 0 8px rgba(255, 255, 255, 0.55);
}

@keyframes aura-pixelation-rgb {
    0% { color: #ff004c; }
    33% { color: #00fffb; }
    66% { color: #7bff00; }
    100% { color: #ff004c; }
}

@keyframes aura-pixelation-sway {
    0% { transform: rotate(-6deg); }
    50% { transform: rotate(6deg); }
    100% { transform: rotate(-6deg); }
}

.sigil-effect-luminosity {
    font-family: Noto Serif TC;
    font-weight: bold;
    font-style: italic;
    background: linear-gradient(90deg, #a2b3eb 30%, #b6bcde 40%, #c3c9d7, #b1bdc9 65%, #abbad9, #c0ceeb);
    background-clip: text !important;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.sigil-effect-outline-glitch {
    background: linear-gradient(to bottom, black, #4e4e4e);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glitchText 1s steps(1, end) infinite;
    font-weight: bold;
    font-size: .9em;
    -webkit-text-stroke: .7px rgba(0, 0, 0, .7);
}

@keyframes glitchText {
    0% {
        font-family: 'Patrick Hand', cursive;
        font-size: 1em;
    }
    7% {
        font-family: 'Michroma', sans-serif;
        font-size: .6em;
    }
    14% {
        font-family: 'Oswald', sans-serif;
        font-size: 1em;
    }
    21% {
        font-family: 'Cinzel', serif;
        font-size: 1em;
    }
    28% {
        font-family: 'Press Start 2P', monospace;
        font-size: .6em;
    }
    35% {
        font-family: 'Fondamento', cursive;
        font-size: 1em;
    }
    42% {
        font-family: 'Amatic SC', cursive;
        font-size: 1em;
    }
    49% {
        font-family: 'Luckiest Guy', cursive;
        font-size: 1em;
    }
    56% {
        font-family: 'Overpass', sans-serif;
        font-size: 1em;
    }
    63% {
        font-family: 'Roboto Flex', sans-serif;
        font-size: 1em;
    }
    70% {
        font-family: 'Roboto', sans-serif;
        font-size: 1em;
    }
    77% {
        font-family: 'Merriweather', serif;
        font-size: 1em;
    }
    84% {
        font-family: 'Grenze Gotisch', cursive;
        font-size: 1em;
    }
    91% {
        font-family: 'Comic Neue', cursive;
        font-size: 1em;
    }
    100% {
        font-family: 'Creepster', cursive;
        font-size: 1em;
    }
}

.sigil-effect-glitch__title {
    position: relative;
    display: inline-block;
    min-width: 12em;
    color: transparent;
    font-family: 'Press Start 2P', monospace;
    letter-spacing: .4em;
    line-height: 1.25;
    text-transform: uppercase;
    white-space: nowrap;
    -webkit-text-fill-color: transparent;
}

.sigil-effect-glitch__title::after {
    position: absolute;
    top: 0;
    left: 0;
    width: max-content;
    content: "GLITCH";
    background-image: linear-gradient(to bottom, #131323 41%, #4f3d91 42%, #1b0f47 45%, #4a3e7a 50%, #040b22 55%, #21135c 60%, #02011a 62%, #422d8e 75%);
    background-clip: text !important;
    font: inherit;
    letter-spacing: .2em;
    line-height: inherit;
    pointer-events: none;
    filter: saturate(2);
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: #000;
    -webkit-text-stroke: 2px transparent;
    animation:
        glitch-title-stroke 3s steps(1, end) infinite,
        glitch-title-content 3s steps(1, end) infinite;
}

@keyframes glitch-title-stroke {
    0%,
    25%,
    50%,
    75%,
    100% {
        background-image: linear-gradient(to bottom, #131323 41%, #4f3d91 42%, #1b0f47 45%, #4a3e7a 50%, #040b22 55%, #21135c 60%, #02011a 62%, #422d8e 75%);
    }

    5%,
    30%,
    55%,
    80% {
        background-image: linear-gradient(to bottom, #173424 25%, #030a03 41%, #2e5540 42%, #030a03 45%, #23372d 50%, #030a03 55%, #204c35 60%, #091106 62%, #204c35 75%);
    }

    10%,
    35%,
    60%,
    85% {
        background-image: linear-gradient(to bottom, #662b39 25%, #1b030a 41%, #905062 42%, #220002 45%, #7a4c57 50%, #220002 55%, #773c4a 60%, #220002 62%, #762c3c 75%);
    }

    15%,
    40%,
    65%,
    90% {
        background-image: linear-gradient(to bottom, #1b0b1c 25%, #050a09 41%, #6d3479 42%, #30083a 45%, #5c3966 50%, #1c0223 55%, #53265a 60%, #0b0b12 62%, #6e2d8c 75%);
    }

    20%,
    45%,
    70%,
    95% {
        background-image: linear-gradient(to bottom, #3a3c3e 25%, #050a09 41%, #787c7a 42%, #232323 45%, #6d7175 50%, #050a09 55%, #5e625c 60%, #010202 62%, #6d7175 75%);
    }
}

@keyframes glitch-title-content {
    0% { content: "glI/T_C&h-"; }
    4.3% { content: "GL4ITCH"; }
    8.6% { content: "GLIt.ch"; }
    12.9% { content: "GLi(Tc-H"; }
    17.2% { content: "glitCh"; }
    21.5% { content: "G''liTcH}"; }
    25.8% { content: "GL'it+'CH"; }
    30.1% { content: "GL,IT(cH"; }
    34.4% { content: "gLit^CH"; }
    38.7% { content: "GLitC%h#"; }
    43% { content: "G<(litch''"; }
    47.3% { content: "gLi@TCH'"; }
    51.6% { content: "GLi(Tc-H"; }
    55.9% { content: "glitch"; }
    60.2% { content: "g}L>I*tc/H"; }
    64.5% { content: "gLIt=CH"; }
    68.8% { content: "GLi(Tc-H"; }
    73.1% { content: "g?liTc'h|"; }
    77.4% { content: "G''lItC[h/"; }
    81.7% { content: "g#LiT/cH"; }
    86% { content: "g.lIT|cH&"; }
    90.3% { content: "gliTCH"; }
    94.6% { content: "g*Lit%CH"; }
    98.9% { content: "GLITch^"; }
    100% { content: "g;lI*TC_H"; }
}

body.quality-no-roll-sigil-animations .sigil-effect-glitch__title::after {
    content: "GLITCH";
    animation: none;
}

body.quality-no-roll-sigil-animations .sigil-effect-glitch__title {
    min-width: 0;
}

.sigil-glitch-flicker {
    transform: translateX(0.025em);
    filter: contrast(1.18) saturate(1.2);
}

body.quality-no-roll-sigil-animations .sigil-glitch-flicker {
    transform: none;
    filter: none;
}

.sigil-outline-pythios {
    font-family: Kings;
    text-transform: uppercase;
    background-clip: text !important;
    -webkit-text-stroke: 1.8px transparent;
    background-image: linear-gradient(172deg, #ff6668 17%, #e41b1b 20%, #ff8383 30%, #ff5152 35%, #ffb7b7 43%, #da1f1f 48%, #ff9a9a 53%, #ff1f1f 59%, #aa1414 60%, #ff4547 65%, #ff9698 72%, #ff7677 80%);
    -webkit-text-fill-color: #340000;
    font-weight: 700;
}

.sigil-outline-borealis {
    font-family: Tangerine;
    background-clip: text !important;
    -webkit-text-fill-color: rgb(0 0 0 / 20%);
    -webkit-text-stroke: 2px transparent;
    background: linear-gradient(to bottom, #e8b5f8 6%, #fde2ff 8%, #ec96fa 90%);
    font-size: 140%;
    letter-spacing: .2em;
}

.sigil-outline-oppression {
    font-family: PT Serif;
    letter-spacing: 0.3125em;
    display: inline-block;
    animation: oppressionGradient 2s linear infinite;
    background: #fff;
    background-clip: text !important;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none !important;
}

@keyframes oppressionGradient {
    0% {
        background: linear-gradient(90deg, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, white, white, white, white, white, white, black, black, black, white, white, white);
    }

    5% {
        background: linear-gradient(90deg, black, black, black, white, white, white, black, black, black, white, white, white, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white);
    }
    10% {
        background: linear-gradient(90deg, white, white, white, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, white, white, white, white, white, white, white, white, white);
    }
    15% {
        background: linear-gradient(90deg, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black);
    }
    20% {
        background: linear-gradient(90deg, black, black, black, black, black, black, black, black, black, black, black, black, white, white, white, black, black, black, black, black, black, black, black, black, black, black, black, white, white, white, black, black, black, white, white, white);
    }
    25% {
        background: linear-gradient(90deg, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, black, white, white, white, white, white);
    }
    30% {
        background: linear-gradient(90deg, black, black, black, black, black, black, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, white, white, white, white, white, white, white, white, white, black, black, black, white, white, white);
    }
    35% {
        background: linear-gradient(90deg, white, white, white, white, white, white, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, black, black, black, black, black, black, black, black, black, black, black, black);
    }
    40% {
        background: linear-gradient(90deg, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black, white, white, white, white, white, white, white, white, white);
    }
    45% {
        background: linear-gradient(90deg, black, black, black, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white);
    }
    50% {
        background: linear-gradient(90deg, white, white, white, white, white, white, black, black, black, white, white, white, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black);
    }
    55% {
        background: linear-gradient(90deg, black, black, black, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black, white, white, white, white, white, white, white, white, white, black, black, black, white, white, white);
    }
    60% {
        background: linear-gradient(90deg, black, black, black, white, white, white, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black);
    }
    65% {
        background: linear-gradient(90deg, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, black, black, black, white, white, white, black, black, black, black, black, black);
    }
    70% {
        background: linear-gradient(90deg, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, white, white, white, white, white, white, black, black, black, white, white, white);
    }
    75% {
        background: linear-gradient(90deg, black, black, black, black, black, black, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black);
    }
    80% {
        background: linear-gradient(90deg, black, black, black, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white);
    }
    85% {
        background: linear-gradient(90deg, black, black, black, black, black, black, black, black, black, black, black, black, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black);
    }
    90% {
        background: linear-gradient(90deg, white, white, white, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black, white, white, white);
    }
    95% {
        background: linear-gradient(90deg, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, white, white, white, white, white, white);
    }
    100% {
        background: linear-gradient(90deg, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, white, white, white, black, black, black, black, black, black, black, black, black, white, white, white, black, black, black, black, black, black);
    }
}

.sigil-outline-dreammetric {
    font-family: Playfair Display;
    background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(176deg, #fd94ff 35%, #f152f3 40%, #feb1ff 60%, #fc64fc 70%, #ea55ec 80%);
    -webkit-text-stroke: 0.5px transparent;
    letter-spacing: 0.14em;
}

.sigil-effect-megaphone {
    font-family: "Press Start 2P", "Sarpanch", monospace;
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 0.9em;
    color: #8bf7d0;
    text-shadow:
        0 0 5px rgba(91, 255, 204, 0.55),
        0 0 12px rgba(58, 214, 178, 0.48),
        0 0 18px rgba(18, 140, 115, 0.35),
        1px 1px 0 rgba(0, 40, 32, 0.8),
        -1px 1px 0 rgba(0, 40, 32, 0.8),
        1px -1px 0 rgba(0, 40, 32, 0.8),
        -1px -1px 0 rgba(0, 40, 32, 0.8);
    filter: drop-shadow(0 0 10px rgba(34, 190, 168, 0.55));
    background: linear-gradient(90deg, rgba(61, 255, 206, 0.7), rgba(115, 255, 224, 0.82));
    -webkit-background-clip: text;
    background-clip: text;
    padding: 2px 4px;
    border-radius: 6px;
}

@keyframes aura-luminosity-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sigil-effect-nyctophobia {
    position: relative;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.08em;
    color: #000000;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.86),
        0 0 14px rgba(255, 255, 255, 0.42),
        1px 1px 0 rgba(0, 0, 0, 0.85),
        -1px 1px 0 rgba(0, 0, 0, 0.85),
        1px -1px 0 rgba(0, 0, 0, 0.85),
        -1px -1px 0 rgba(0, 0, 0, 0.85);
}

.sigil-effect-nyctophobia::after {
    content: 'Nyctophobia';
    position: absolute;
    inset: 0;
    color: #000000;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.86),
        0 0 14px rgba(255, 255, 255, 0.42),
        1px 1px 0 rgba(0, 0, 0, 0.85),
        -1px 1px 0 rgba(0, 0, 0, 0.85),
        1px -1px 0 rgba(0, 0, 0, 0.85),
        -1px -1px 0 rgba(0, 0, 0, 0.85);
    animation:
        aura-nyctophobia-words 0.2s steps(1, end) infinite,
        aura-nyctophobia-flicker 1.8s ease-in-out infinite;
    white-space: nowrap;
    transform-origin: center;
}

@keyframes aura-nyctophobia-words {
    0%, 19% {
        content: 'N̵̮̖͎͐Y̸̱̝͕̏̔͆C̶̫̒̀͌T̵̻̪̓͛̕O̸̪͗͌͝P̷̳̙̏͘H̶͔̮͒̓͝O̵̱̲̎̽͗B̸̗̤̅͐͝I̷͎̫̠̐̏͝Ḁ̶̯̺͋';
    }
    20%, 39% {
        content: 'N̵̗̙̊̒Y̴̢͕͕͋̑͠C̵̘͛̐͘T̴̢͉͂͌O̷̺͇̐̕̚P̵̮̾̅̓H̸̦̫̑̀͠O̸̘͚̾͂B̵̨̮̈́͌Ḭ̵̱̇̓͠A̸̯̼̓̊';
    }
    40%, 59% {
        content: 'N̸̺̯̓̑Y̷̪͓̆̿͝C̷̼̫̍̿̚T̸̯̘̿̿̕Ǫ̶̖̅͘P̵̨̩͋͌̕H̴̰̺̎͘͝O̵̠̺̒͛͝B̴̖͕̾̑̕I̵̙̖̐͠A̵̤͕͗̒̕';
    }
    60%, 79% {
        content: 'Ṅ̷̢̤̗Y̷̡̯͂̎͝C̷̢̛̘̏͗T̴̥͚̽̋O̷̢͖͌͘P̶̫̥͋̿H̶̖̦͂̓́O̵̪͂̍̈́B̴̥̃̔̔I̵̪̩͒̕A̷̯̞͗͠';
    }
    80%, 100% {
        content: 'N̵͚̠̟̯͂Ỵ̷̱̊̌C̸̣̈́Ṱ̸̣̌̂̉͂O̵P̷̬͒Ḩ̷̤̉̾̀O̶͈͙̕B̸̻͑I̸͓̩̥͐̈́͝A̶̱̣̟̝̎';
    }
}

@keyframes aura-nyctophobia-flicker {
    0%, 100% { transform: translateY(0) scale(1); opacity: 1; }
    22% { transform: translateY(-1px) scale(1.01); opacity: 0.92; }
    47% { transform: translateY(1px) scale(0.99); opacity: 0.96; }
    73% { transform: translateY(-1px) scale(1.015); opacity: 0.9; }
}


.sigil-effect-equinox {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: "Noto Serif TC", "Noto Serif", "Songti TC", "PMingLiU", serif;
    font-style: normal;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 0.28em 0.9em;
    color: #ffffff;
    text-shadow:
        0 1px 0 rgba(99, 99, 99, 0.9),
        0 6px 18px rgba(12, 21, 43, 0.58),
        0 18px 38px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 5px 18px rgba(8, 15, 34, 0.72));
    transform: skewX(-6deg) scale3d(0.98, 0.98, 1);
    animation:
        aura-equinox-beat calc(60s / 180) linear infinite,
        aura-equinox-chroma calc(120s / 180) steps(2, jump-end) infinite;
    will-change: transform, color;
}

.sigil-effect-equinox::before,
.sigil-effect-equinox::after {
    font-family: "Noto Serif TC", "Noto Serif", "Songti TC", "PMingLiU", serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0;
    color: currentColor;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 5px 12px rgba(12, 21, 43, 0.48);
}

.sigil-effect-equinox::before {
    content: '『';
    margin-right: 0.2em;
    transform: skewX(5deg) translateY(-0.06em);
    text-shadow:
        0 1px 0 rgba(99, 99, 99, 0.9),
        0 6px 18px rgba(12, 21, 43, 0.58),
        0 18px 38px rgba(0, 0, 0, 0.4);
}

.sigil-effect-equinox::after {
    content: '』';
    margin-left: 0.2em;
    transform: skewX(-5deg) translateY(-0.06em);
    text-shadow:
        0 1px 0 rgba(99, 99, 99, 0.9),
        0 6px 18px rgba(12, 21, 43, 0.58),
        0 18px 38px rgba(0, 0, 0, 0.4);
}

.moreClass {
    color: #ffffff;
    text-shadow:
        0 1px 0 rgba(99, 99, 99, 0.9),
        0 6px 18px rgba(12, 21, 43, 0.58),
        0 18px 38px rgba(0, 0, 0, 0.4);
    animation:
        aura-equinox-chroma calc(120s / 180) steps(2, jump-end) infinite;
}

@keyframes aura-equinox-beat {
    0% {
        transform: skewX(-6deg) scale3d(0.96, 0.96, 1);
        animation-timing-function: cubic-bezier(0.26, 0.0, 0.42, 1);
    }
    18% {
        transform: skewX(-6deg) scale3d(1.16, 1.16, 1);
        animation-timing-function: cubic-bezier(0.55, 0.02, 0.44, 1);
    }
    46% {
        transform: skewX(-6deg) scale3d(0.98, 0.98, 1);
        animation-timing-function: cubic-bezier(0.25, 0.55, 0.38, 1);
    }
    100% {
        transform: skewX(-6deg) scale3d(1, 1, 1);
    }
}

@keyframes aura-equinox-chroma {
    0%,
    49.999% {
        color: #f7f7f7;
    }
    50%,
    100% {
        color: #050505;
    }
}

@keyframes logo-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
    .interface-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "results results"
            "controls controls"
            "side side";
    }

    .interface-header {
        flex-direction: column;
        align-items: stretch;
    }

    .masthead__brand {
        width: 100%;
    }

    .masthead__controls {
        width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .surface--side,
    .surface--results,
    .surface--controls {
        width: 100%;
    }
}

@media (max-width: 900px) {
    body {
        padding: clamp(12px, 4vw, 20px);
        align-items: flex-start;
    }

    .interface-layout {
        grid-template-columns: 1fr;
        grid-template-areas:
            "results"
            "controls"
            "side";
    }

    .interface-layout > .surface {
        width: 100%;
    }

    .masthead__controls {
        width: 100%;
        margin-left: 0;
        align-self: stretch;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        justify-content: stretch;
    }

    .interface-header {
        flex-direction: column;
        align-items: stretch;
    }

    .masthead__controls > .interface-toggle,
    .masthead__controls > .options-menu {
        width: 100%;
        min-width: 0;
    }

    .masthead__controls .interface-toggle,
    .masthead__controls .options-menu__trigger,
    #filterMenuToggle {
        width: 100%;
        min-width: 0;
    }

    .options-menu__surface {
        left: 0;
        right: auto;
        width: min(100%, 420px);
    }

    .banner__meta {
        width: 100%;
        text-align: left;
    }

    .banner__title,
    .banner__subtitle {
        text-align: left;
    }

    .surface__title,
    .surface__subtitle {
        text-align: center;
    }

    .banner__subtitle {
        gap: 0.45em 0.7em;
        line-height: 1.4;
    }

    .banner__subtitle-divider {
        display: none;
    }

    .feed__viewport {
        min-height: 260px;
    }

    .feed__meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.surface--parameters,
.surface--presets {
    grid-area: auto;
}

@media (max-width: 1180px) {
    .interface-subgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .interface-header {
        align-items: stretch;
    }

    .masthead__controls {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        align-items: stretch;
    }

    .masthead__controls > .interface-toggle,
    .masthead__controls > .options-menu,
    .masthead__controls .options-menu__trigger,
    #filterMenuToggle {
        width: 100%;
        min-width: 0;
    }

    .options-menu__surface {
        left: 0;
        right: auto;
        width: min(100%, 420px);
    }

    .masthead__controls .options-menu__trigger {
        padding-inline: 16px 56px;
    }

    .preset-matrix--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .interface-subgrid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .interface-shell {
        gap: 14px;
    }

    .interface-header {
        align-items: stretch;
    }

    .masthead__brand {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 12px;
    }

    .banner__emblem-stack {
        width: 52px;
    }

    .banner__title {
        font-size: clamp(18px, 5.6vw, 23px);
        letter-spacing: 0.08em;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .banner__subtitle {
        font-size: clamp(10px, 2.8vw, 11px);
        letter-spacing: 0.1em;
        gap: 0.35em 0.55em;
    }

    .masthead__controls {
        grid-template-columns: 1fr;
    }

    .options-menu__trigger {
        text-align: left !important;
    }

    .options-menu__surface {
        width: min(100%, calc(100vw - 32px));
    }

    .surface {
        padding: 16px;
    }

    .form-field__combo {
        flex-direction: column;
    }

    .interface-toggle {
        width: 100%;
        text-align: center;
    }

    .quick-action-group {
        flex-direction: column;
    }

    .preset-matrix {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .preset-matrix--compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .roll-trigger {
        font-size: 18px;
    }
}

@media (max-width: 540px) {
    .preset-matrix--compact {
        grid-template-columns: minmax(0, 1fr);
    }

    .preset-matrix--compact button {
        font-size: 0.7rem;
        letter-spacing: 0.06em;
    }
}

.cutscene-warning-overlay,
.modal-overlay {
    --modal-padding: clamp(16px, 4vw, 40px);
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--modal-padding);
    background: rgba(3, 8, 18, 0.82);
    backdrop-filter: blur(6px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 260ms cubic-bezier(0.24, 0.82, 0.25, 1);
    overflow-y: auto;
}

.cutscene-warning-overlay[hidden],
.modal-overlay[hidden] {
    display: none !important;
}

.cutscene-warning-overlay[data-visible],
.modal-overlay[data-visible] {
    opacity: 1;
    pointer-events: auto;
}

.cutscene-warning-overlay[data-closing],
.modal-overlay[data-closing] {
    pointer-events: none;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: radial-gradient(circle at 30% 20%, rgba(127, 227, 255, 0.1), rgba(2, 8, 20, 0.8)),
        linear-gradient(180deg, rgba(2, 6, 14, 0.9), rgba(2, 4, 10, 0.96));
    z-index: 10000;
    overflow: hidden;
}

.intro-overlay[hidden] {
    display: none !important;
}

.intro-overlay__panel {
    width: min(680px, calc(100dvw - 20px));
    max-height: calc(100dvh - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vmin, 16px);
    padding: clamp(12px, 3vmin, 28px);
    background: linear-gradient(180deg, rgba(10, 16, 30, 0.96), rgba(4, 10, 20, 0.96));
    border: 1px solid rgba(120, 200, 255, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 32px rgba(127, 227, 255, 0.16);
    text-align: center;
    overflow-y: auto;
    scrollbar-width: thin;
}

.intro-overlay__logo {
    display: flex;
    justify-content: center;
    min-height: 0;
    max-width: 100%;
    flex: 0 1 auto;
}

.intro-overlay__logo img {
    display: block;
    width: min(400px, 60vw, 42dvh);
    max-height: min(400px, 42dvh);
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.5));
}

.intro-overlay__copy {
    margin: 0;
    color: var(--text-secondary);
    font-size: clamp(0.78rem, 2.5vmin, 1.05rem);
    letter-spacing: 0.08em;
    line-height: 1.35;
}

.intro-overlay__start-button {
    --button-scale: 1;
    --button-raise: -2px;
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    z-index: 1;
    max-width: 100%;
    padding: clamp(10px, 2.2vmin, 14px) clamp(16px, 4vmin, 26px);
    background: linear-gradient(135deg, #7fe3ff, #3792ff);
    border: 1px solid rgba(120, 200, 255, 0.6);
    color: #03101f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: clamp(0.08em, 0.35vmin, 0.16em);
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: normal;
}

.intro-overlay__start-button:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 16px rgba(127, 227, 255, 0.35);
    background: linear-gradient(135deg, #9ef0ff, #45a7ff);
}

.intro-overlay__start-button:active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.cutscene-warning-overlay[data-visible] .surface--modal,
.modal-overlay[data-visible] .surface--modal {
    --corner-size: clamp(28px, 6vw, 36px);
    --corner-thickness: 3px;
    animation: modal-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cutscene-warning-overlay[data-closing] .surface--modal,
.modal-overlay[data-closing] .surface--modal {
    animation: modal-fade-out 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.audio-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.audio-modal__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.audio-modal__title {
    margin: 0;
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: 0.18em;
}

.audio-modal__hint {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.audio-modal__controls {
    display: block;
}

.audio-modal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.audio-modal__toggles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: center;
    gap: 16px;
}

.audio-modal__toggle {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.audio-modal__toggle-label {
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--text-primary);
}

.quality-settings {
    margin-top: 8px;
    width: 100%;
}

.quality-settings__trigger {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.quality-settings__modal {
    width: min(460px, 92vw);
}

.quality-settings__menu {
    width: 100%;
    gap: 12px;
    display: grid;
    padding: 14px;
    border: 1px solid rgba(124, 205, 255, 0.42);
    border-color: rgba(124, 205, 255, 0.42);
    background: linear-gradient(180deg, rgba(5, 11, 26, 0.98), rgba(2, 6, 18, 0.98));
}

.quality-settings__item {
    border: 1px solid rgba(151, 207, 255, 0.26);
    color: #e8f5ff;
    text-align: left;
    padding: 11px 13px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.28s ease;
}

.quality-settings__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(168, 224, 255, 0.16) 45%, transparent 78%);
    transform: translateX(-130%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.quality-settings__item:hover,
.quality-settings__item:focus-visible {
    border-color: rgba(143, 222, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 9, 24, 0.42);
}

.quality-settings__item:hover::before,
.quality-settings__item:focus-visible::before {
    transform: translateX(130%);
}

.quality-settings__item--active {
    border-color: rgba(105, 236, 174, 0.74);
    background: linear-gradient(160deg, rgba(23, 72, 61, 0.92), rgba(9, 36, 32, 0.95));
    box-shadow: inset 0 0 0 1px rgba(105, 236, 174, 0.2);
}

.quality-settings__name {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.quality-settings__description {
    font-size: 0.76rem;
    color: rgba(205, 226, 246, 0.95);
    line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
    .quality-settings__item,
    .quality-settings__item::before {
        transition-duration: 0.01ms;
    }

    .quality-settings__item:hover,
    .quality-settings__item:focus-visible {
        transform: none;
    }

    .quality-settings__item:hover::before,
    .quality-settings__item:focus-visible::before {
        transform: translateX(-130%);
    }
}

.filter-modal {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: min(720px, 92vw);
}

.filter-modal__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-modal__header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.filter-modal__header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.cutscene-playback-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(116, 135, 158, 0.3);
    color: rgba(169, 181, 196, 0.7);
    background: linear-gradient(180deg, rgba(44, 52, 63, 0.65), rgba(20, 25, 32, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-transform: uppercase;
    cursor: default;
    user-select: none;
    filter: saturate(0.25);
    opacity: 0.62;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.cutscene-playback-status[data-active="true"] {
    border-color: rgba(98, 239, 204, 0.72);
    color: #dffff5;
    background: linear-gradient(180deg, rgba(20, 93, 78, 0.72), rgba(7, 49, 43, 0.9));
    box-shadow: inset 0 0 14px rgba(98, 239, 204, 0.12), 0 0 13px rgba(60, 221, 185, 0.12);
    filter: none;
    opacity: 1;
}

.cutscene-playback-status__indicator {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    background: #737d89;
    box-shadow: 0 0 0 2px rgba(10, 16, 24, 0.72);
}

.cutscene-playback-status[data-active="true"] .cutscene-playback-status__indicator {
    background: #62efcc;
    box-shadow: 0 0 0 2px rgba(10, 40, 34, 0.78), 0 0 9px rgba(98, 239, 204, 0.8);
}

.cutscene-playback-status small {
    color: inherit;
    font: inherit;
    letter-spacing: 0.04em;
    opacity: 0.75;
}

#cutsceneWarningOverlay {
    z-index: 10001;
}

@media (max-width: 620px) {
    .filter-modal__header-row,
    .filter-modal__header-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .cutscene-playback-status {
        justify-content: center;
    }
}

.filter-modal__reset {
    padding: 6px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
}

.filter-modal__disable-all {
    border-color: rgba(255, 111, 124, 0.42);
    color: #ffc9cf;
}

.filter-modal__disable-all:hover,
.filter-modal__disable-all:focus-visible {
    border-color: rgba(255, 137, 148, 0.78);
    background: rgba(112, 25, 39, 0.34);
}

.filter-modal__title {
    margin: 0;
    font-size: clamp(19px, 2vw, 24px);
    letter-spacing: 0.08em;
    font-weight: 600;
    text-transform: none;
}

.filter-modal__hint {
    margin: 0;
    color: rgba(210, 226, 248, 0.88);
    font-size: 1rem;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.filter-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow-x: hidden;
    overflow-x: clip;
}

.filter-modal__grid--scroll {
    max-height: min(60vh, 420px);
    overflow-y: auto;
    overflow-x: hidden;
    overflow-x: clip;
    padding-right: 4px;
}

.filter-modal__grid--stacked {
    grid-template-columns: minmax(0, 1fr);
}

.filter-tier-toggle {
    width: 100%;
    text-align: left;
    position: relative;
    padding-left: 44px;
    letter-spacing: 0.12em;
}

.cutscene-filter-toggle__layout {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: 0.4em;
    width: 100%;
    line-height: 1.25;
}

.cutscene-filter-toggle__aura {
    overflow-wrap: anywhere;
}

.cutscene-filter-toggle__aura .sigil-subtitle {
    margin-top: 0.25em;
}

.cutscene-filter-toggle__status {
    justify-self: end;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .filter-tier-toggle.cutscene-pause-toggle,
    .filter-tier-toggle.cutscene-playback-toggle {
        min-height: 68px;
    }
}

.filter-tier-toggle::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: rgba(140, 160, 190, 0.6);
    box-shadow: 0 0 0 2px rgba(16, 32, 52, 0.65), inset 0 0 6px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);
}

.filter-tier-toggle[aria-pressed="true"] {
    border-color: rgba(120, 235, 255, 0.95);
    color: #e9fbff;
    --button-background: linear-gradient(120deg, rgba(16, 58, 88, 0.95), rgba(8, 22, 44, 0.98));
    box-shadow: inset 0 0 18px rgba(120, 235, 255, 0.2), 0 12px 22px rgba(0, 0, 0, 0.35);
}

.filter-tier-toggle[aria-pressed="true"]::before {
    background: radial-gradient(circle, rgba(120, 235, 255, 1) 0%, rgba(92, 208, 240, 0.65) 100%, rgba(45, 92, 120, 0.4) 100%);
    box-shadow: 0 0 12px rgba(120, 235, 255, 0.6), 0 0 0 2px rgba(120, 235, 255, 0.8);
}

.filter-modal__actions {
    display: flex;
    justify-content: flex-end;
}

@property --audio-slider-progress {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 50%;
}

.audio-slider,
.audio-switch,
.audio-modal__toggle {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    background: radial-gradient(circle at 20% 20%, rgba(95, 199, 255, 0.08), transparent 40%),
        linear-gradient(180deg, rgba(16, 28, 46, 0.92), rgba(6, 12, 24, 0.96));
    border: 1px solid rgba(120, 200, 255, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.32);
    transition:
        transform 220ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.audio-slider:focus-within {
    transform: translate3d(0, -1px, 0);
    border-color: rgba(120, 220, 255, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 15px 32px rgba(0, 0, 0, 0.36);
}

.audio-slider { min-width: 0; display: grid; grid-template-rows: minmax(2.8em, 1fr) 26px; }
.audio-slider .audio-slider__label-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; min-height: 2.8em; }
.audio-slider__label { min-width: 0; line-height: 1.4; overflow-wrap: anywhere; }
.audio-slider__meta { white-space: nowrap; flex-shrink: 0; }
.audio-slider__value { min-width: calc(4ch + .56em); text-align: right; display: inline-block; }
.audio-slider--effects { grid-template-rows: auto 1fr; }
.audio-effects__sliders { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.audio-effects__channel { min-width: 0; display: grid; grid-template-rows: 1fr 26px; gap: 10px; }
.audio-effects__sliders::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px solid rgb(120 200 255 / .2); pointer-events: none; }
.audio-slider--effects .audio-slider__label-row { grid-template-columns: 1fr; gap: 4px; align-content: start; letter-spacing: .08em; }
.audio-slider--effects > .audio-slider__label { font-weight: 600; letter-spacing: .14em; }
.audio-effects__channel .audio-slider__meta { justify-self: start; }
.aura-directory-settings .audio-slider__value { min-width: calc(8ch + 1.12em); }

.audio-slider__label-row,
.audio-switch__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    letter-spacing: 0.14em;
    font-weight: 600;
}

.audio-slider__label,
.audio-switch__label {
    color: var(--text-primary);
}

.audio-slider__value,
.audio-switch__status {
    font-variant-numeric: tabular-nums;
    color: var(--accent);
}

.audio-slider__value {
    transform-origin: right center;
    transition: color 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.audio-slider:focus-within .audio-slider__value {
    transform: scale3d(1.045, 1.045, 1);
}

.audio-slider__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.audio-slider__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    transition: color 160ms ease, transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.audio-slider:focus-within .audio-slider__icon {
    transform: scale3d(1.08, 1.08, 1);
}

.audio-slider__control {
    --audio-slider-thumb-progress: 50%;
    position: relative;
    width: 100%;
    height: 26px;
}

.audio-slider__input {
    --audio-slider-progress: 50%;
    --audio-slider-fill: #55d3ff;
    --audio-slider-track: rgba(10, 18, 34, 0.92);
    --audio-slider-border: rgba(120, 200, 255, 0.42);
    appearance: none;
    display: block;
    width: 100%;
    height: 26px;
    margin: 0;
    background:
        linear-gradient(
            90deg,
            var(--audio-slider-fill) 0%,
            var(--audio-slider-fill) var(--audio-slider-progress),
            var(--audio-slider-track) var(--audio-slider-progress)
        ),
        linear-gradient(180deg, rgba(12, 24, 44, 0.92), rgba(5, 10, 20, 0.98));
    border: 2px solid var(--audio-slider-border);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.42);
    outline: none;
    cursor: pointer;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        filter 180ms ease;
}

.audio-slider__input::-webkit-slider-thumb {
    appearance: none;
    width: 26px;
    height: 26px;
    margin-top: -2px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
}

.audio-slider__input::-moz-range-thumb {
    width: 26px;
    height: 26px;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 0;
}

.audio-slider__thumb {
    position: absolute;
    top: 50%;
    left: var(--audio-slider-thumb-progress);
    width: 26px;
    height: 26px;
    pointer-events: none;
    background: linear-gradient(135deg, #c9f2ff, #4fc8ff);
    border: 2px solid rgba(12, 158, 210, 0.9);
    box-shadow:
        0 0 0 6px rgba(79, 200, 255, 0.22),
        0 10px 20px rgba(0, 0, 0, 0.48);
    transform: translate3d(calc(0% - var(--audio-slider-thumb-progress)), -50%, 0);
    transform-origin: center;
    will-change: transform;
    transition:
        transform 105ms cubic-bezier(0.2, 0.78, 0.24, 1),
        box-shadow 180ms ease,
        background 180ms ease;
}

.audio-slider__input:active + .audio-slider__thumb,
.audio-slider__input:focus-visible + .audio-slider__thumb {
    transform: translate3d(calc(0% - var(--audio-slider-thumb-progress)), calc(-50% - 1px), 0) scale3d(1.07, 1.07, 1);
    box-shadow:
        0 0 0 7px rgba(79, 200, 255, 0.3),
        0 14px 26px rgba(0, 0, 0, 0.56);
}

.audio-slider__input::-webkit-slider-runnable-track {
    height: 100%;
    background: inherit;
    border: none;
    border-radius: inherit;
}

.audio-slider__input::-moz-range-track {
    height: 100%;
    background: inherit;
    border: none;
    border-radius: inherit;
}

body.quality-no-ui-animations .audio-slider,
body.quality-no-ui-animations .audio-slider__value,
body.quality-no-ui-animations .audio-slider__icon,
body.quality-no-ui-animations .audio-slider__input,
body.quality-no-ui-animations .audio-slider__thumb {
    animation: none !important;
    transition: none !important;
}

body.quality-no-ui-animations .audio-slider__input::-webkit-slider-thumb {
    animation: none !important;
    transition: none !important;
}

body.quality-no-ui-animations .audio-slider__input::-moz-range-thumb {
    animation: none !important;
    transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .audio-slider,
    .audio-slider__value,
    .audio-slider__icon,
    .audio-slider__input,
    .audio-slider__thumb {
        animation: none !important;
        transition: none !important;
    }

    .audio-slider__input::-webkit-slider-thumb {
        animation: none !important;
        transition: none !important;
    }

    .audio-slider__input::-moz-range-thumb {
        animation: none !important;
        transition: none !important;
    }
}

.audio-switch__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.audio-switch__track {
    position: relative;
    display: block;
    width: 100%;
    height: 30px;
    background: linear-gradient(180deg, rgba(8, 18, 34, 0.92), rgba(4, 10, 20, 0.96));
    border: 2px solid rgba(120, 200, 255, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 20px rgba(0, 0, 0, 0.38);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.audio-switch__thumb {
    position: absolute;
    top: 50%;
    left: 6px;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #8de5ff, #47bfff);
    border: 2px solid rgba(12, 158, 210, 0.95);
    box-shadow: 0 0 0 8px rgba(79, 200, 255, 0.14), 0 10px 20px rgba(0, 0, 0, 0.45);
    transition: left 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.audio-switch__input:checked + .audio-switch__track {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 12px 24px rgba(0, 0, 0, 0.42);
    border-color: rgba(140, 230, 255, 0.6);
}

.audio-switch__input:checked + .audio-switch__track .audio-switch__thumb {
    left: calc(100% - 30px);
    background: linear-gradient(135deg, #c9f2ff, #7fe3ff);
    box-shadow: 0 0 0 10px rgba(127, 227, 255, 0.16), 0 12px 24px rgba(0, 0, 0, 0.5);
}

.changelog-modal {
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 3vh, 28px);
    position: relative;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.changelog-modal__close {
    position: absolute;
    top: clamp(16px, 3vw, 28px);
    right: clamp(16px, 3vw, 28px);
    z-index: 20;
}

.changelog-modal__controls {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "newer tabs older"
        "jump jump jump";
    gap: 10px;
    align-items: center;
}

.changelog-nav-button[data-changelog-nav="newer"] {
    grid-area: newer;
}

.changelog-nav-button[data-changelog-nav="older"] {
    grid-area: older;
}

.changelog-nav-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.changelog-modal__tabbar {
    grid-area: tabs;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 6px 4px;
    background: rgba(8, 15, 29, 0.5);
}

.changelog-version-picker {
    grid-area: jump;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.changelog-version-picker__label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.changelog-version-picker__select {
    min-width: min(320px, 100%);
}

.changelog-tab {
    appearance: none;
    border: none;
    background: linear-gradient(180deg, rgba(30, 42, 66, 0.95) 0%, rgba(10, 16, 32, 0.9) 100%);
    color: var(--text-secondary);
    font-family: "Sarpanch", sans-serif;
    font-size: clamp(13px, 1.6vw, 15px);
    letter-spacing: 0.16em;
    padding: 10px 14px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.1),
        0 10px 20px rgba(2, 6, 14, 0.45);
    cursor: pointer;
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease,
        color 160ms ease,
        filter 160ms ease;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.changelog-tab__title {
    white-space: nowrap;
}

.changelog-tab__subtitle {
    font-size: 1.32em;
    letter-spacing: 0.12em;
    text-transform: none;
    margin-top: -6px;
    background: linear-gradient(135deg, #ffffff, #e3eeff, #aab1ff, #7e96ff, #aab1ff, #e3eeff, #ffffff);
    background-size: 300% 300%;
    animation: class-gradient 5.25s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.changelog-tab__subtitle::before {
    content: "|- ";
}

.changelog-tab__subtitle::after {
    content: " -|";
}

.subtitleClass {
    text-transform: none;
    background: linear-gradient(135deg, #ffffff, #e3eeff, #aab1ff, #7e96ff, #aab1ff, #e3eeff, #ffffff);
    background-size: 300% 300%;
    animation: class-gradient 10s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.changelog-tab:not(.changelog-tab--active) {
    color: var(--text-tertiary);
    filter: saturate(0.6) brightness(0.9);
}

.changelog-tab:not(.changelog-tab--active):hover,
.changelog-tab:not(.changelog-tab--active):focus-visible {
    transform: translateY(-1px);
    filter: none;
    color: var(--text-secondary);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.16),
        0 14px 24px rgba(4, 12, 26, 0.52);
}

.changelog-tab:focus-visible {
    outline: none;
    box-shadow:
        inset 0 0 0 1px var(--accent-strong),
        0 22px 34px rgba(4, 12, 26, 0.68);
}

.changelog-tab--active {
    color: var(--text-primary);
    background: linear-gradient(180deg, rgb(var(--accent-rgb) / 0.78) 0%, rgb(var(--accent-rgb) / 0.2) 100%);
    transform: translateY(-1px);
    box-shadow:
        inset 0 0 0 1px rgb(var(--accent-rgb) / 0.65),
        0 14px 26px rgba(4, 12, 26, 0.62);
    filter: none;
}

.changelog-modal__panels {
    display: block;
    overflow: visible;
    transition: height 280ms cubic-bezier(0.24, 0.82, 0.25, 1);
}

.changelog-modal__panels--animating {
    overflow: hidden;
    will-change: height;
}

.changelog-modal__panel {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vh, 24px);
    z-index: 10 !important;
    max-height: min(65vh, 640px);
    overflow-y: auto;
    padding-right: 4px;
    padding-bottom: clamp(22px, 4vh, 36px);
    scroll-padding-bottom: clamp(22px, 4vh, 36px);
}

.changelog-modal__panel[hidden] {
    display: none;
}

.changelog-modal__header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.changelog-modal__title {
    margin: 0;
    font-size: clamp(20px, 3vw, 26px);
    letter-spacing: 0.1em;
}

.changelog-modal__meta {
    margin: 0;
    font-size: clamp(13px, 1.8vw, 15px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.changelog-modal__intro {
    margin: 0;
    color: var(--text-secondary);
}

.changelog-modal__list {
    margin: 0;
    padding-left: 1.4em;
    display: flex;
    flex-direction: column;
    gap: 0.65em;
    color: var(--text-primary);
}

.changelog-modal__list--sub {
    margin-top: 0.45em;
    padding-left: 1.2em;
    gap: 0.45em;
    color: var(--text-secondary);
    font-size: 0.95em;
}

.changelog-modal__list li {
    line-height: 1.5;
}

.changelog-modal__list--grouped {
    padding-left: 0;
    gap: 12px;
    list-style: none;
}

.changelog-release-group {
    position: relative;
    padding: clamp(13px, 2vw, 17px);
    border: 1px solid rgb(var(--accent-rgb) / 0.24);
    border-left-color: rgb(var(--accent-rgb) / 0.72);
    background:
        linear-gradient(90deg, rgb(var(--accent-rgb) / 0.09), transparent 42%),
        rgba(5, 12, 24, 0.46);
    box-shadow:
        inset 3px 0 0 rgb(var(--accent-rgb) / 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.changelog-release-group > .largeClass {
    display: block;
    margin-bottom: 9px;
    color: var(--accent-strong);
    letter-spacing: 0.08em;
}

.changelog-release-group__list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 1.25em;
    color: var(--text-secondary);
}

.changelog-release-group__list > li::marker {
    color: rgb(var(--accent-rgb) / 0.72);
}

.changelog-aura-list {
    line-height: 2.15;
}

.changelog-aura-sigil {
    display: inline-block;
    margin-inline: 0.08em;
    color: var(--text-primary);
    line-height: 1.45;
    vertical-align: middle;
}

.changelog-release-rarity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 14px;
    margin-top: 8px;
    padding-left: 1.15em;
}

.changelog-release-rarity-grid .tinyClass {
    display: block;
    padding-left: 0;
    line-height: 1.35;
}

.changelog-subupdates {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 16px);
    padding: clamp(14px, 2.4vw, 18px);
    margin-bottom: clamp(8px, 2vh, 16px);
    border: 1px solid rgb(var(--accent-rgb) / 0.28);
    background:
        radial-gradient(circle at 0% 0%, rgb(var(--accent-rgb) / 0.14), transparent 42%),
        linear-gradient(180deg, rgb(var(--accent-rgb) / 0.1), rgba(7, 13, 27, 0.72));
    box-shadow: inset 0 0 24px rgb(var(--accent-rgb) / 0.08);
}

.changelog-subupdates__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(var(--accent-rgb) / 0.18);
}

.changelog-subupdates__title {
    margin: 0;
    color: var(--accent-strong);
    font-size: clamp(15px, 2vw, 18px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.changelog-subupdates__title::before {
    content: "|- ";
}

.changelog-subupdates__title::after {
    content: " -|";
}

.slightSmaller {
    font-size: 10px;
}

.changelog-subupdates__title-copy.changelog-tab__subtitle,
.changelog-subupdate-card__title.changelog-tab__subtitle {
    display: inline;
    margin-top: 0;
    text-transform: none;
}

.changelog-subupdates__title-copy.changelog-tab__subtitle {
    font-size: inherit;
    letter-spacing: inherit;
}

.changelog-subupdate-card__title.changelog-tab__subtitle {
    font-size: clamp(14px, 2vw, 16px);
    letter-spacing: 0.08em;
    line-height: 1.35;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.changelog-subupdates__title-copy.changelog-tab__subtitle::before,
.changelog-subupdates__title-copy.changelog-tab__subtitle::after,
.changelog-subupdate-card__title.changelog-tab__subtitle::before,
.changelog-subupdate-card__title.changelog-tab__subtitle::after {
    content: none;
}

.changelog-subupdates__title-suffix {
    color: var(--accent-strong);
}

.changelog-subupdates__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 2px;
}

.changelog-subupdate-card {
    display: grid;
    flex: 0 1 clamp(104px, 18vw, 148px);
    gap: 0;
    min-width: 0;
    max-width: 168px;
    padding: 0;
    border: 1px solid rgb(var(--accent-rgb) / 0.22);
    background:
        linear-gradient(180deg, rgb(var(--accent-rgb) / 0.08), rgba(4, 10, 22, 0.68));
    box-shadow: inset 0 0 18px rgb(var(--accent-rgb) / 0.08);
    cursor: pointer;
    overflow: hidden;
    transition:
        flex-basis 0.28s ease,
        max-width 0.28s ease,
        padding 0.28s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        background 0.24s ease;
}

.changelog-subupdate-card:hover,
.changelog-subupdate-card:focus-visible {
    border-color: rgb(var(--accent-rgb) / 0.55);
    box-shadow: inset 0 0 18px rgb(var(--accent-rgb) / 0.12), 0 0 16px rgb(var(--accent-rgb) / 0.14);
}

.changelog-subupdate-card:focus-visible {
    outline: 2px solid var(--accent-strong);
    outline-offset: 3px;
}

.changelog-subupdate-card--open {
    flex-basis: 100%;
    max-width: none;
    gap: 12px;
    padding: clamp(12px, 2vw, 16px);
    background:
        linear-gradient(180deg, rgb(var(--accent-rgb) / 0.1), rgba(4, 10, 22, 0.72));
}

.changelog-subupdate-card__header {
    display: grid;
    justify-items: center;
    gap: 0;
    min-width: 0;
}

.changelog-subupdate-card--open .changelog-subupdate-card__header {
    justify-items: start;
    gap: 5px;
}

.changelog-subupdate-card__version {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 8px;
    border: 1px solid rgb(var(--accent-rgb) / 0.4);
    color: var(--accent-strong);
    font-size: 12px;
    letter-spacing: 0.16em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    background: rgb(var(--accent-rgb) / 0.1);
    transition: width 0.28s ease;
}

.changelog-subupdate-card--open .changelog-subupdate-card__version {
    width: fit-content;
}

.changelog-subupdate-card__title {
    display: block;
    color: var(--text-primary);
    font-size: clamp(14px, 2vw, 16px);
    letter-spacing: 0.08em;
    line-height: 1.35;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
}

.changelog-subupdate-card__title.changelog-tab__subtitle {
    display: block;
}

.changelog-subupdate-card__meta {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 0.12em;
    line-height: 1.35;
    text-transform: uppercase;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
}

.changelog-subupdate-card:not(.changelog-subupdate-card--open) > p {
    display: none;
}

.changelog-subupdate-card > .changelog-modal__intro,
.changelog-subupdate-card .changelog-modal__list--sub {
    margin-top: 0;
    margin-bottom: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-4px);
    transition: max-height 0.34s ease, opacity 0.24s ease, transform 0.3s ease;
}

.changelog-subupdate-card--open .changelog-subupdate-card__title,
.changelog-subupdate-card--open .changelog-subupdate-card__meta,
.changelog-subupdate-card--open > .changelog-modal__intro,
.changelog-subupdate-card--open .changelog-modal__list--sub {
    max-height: 42rem;
    opacity: 1;
    transform: translateY(0);
}

.changelog-subupdate-card--open > .changelog-modal__intro,
.changelog-subupdate-card--open .changelog-modal__list--sub {
    margin-top: 0.45em;
}


.changelog-modal__panel--eon128-hell {
    --accent-rgb: 255 91 48;
    --accent-strong: #ffd6c4;
}

.changelog-modal__panel--eon128-hell .changelog-modal__title {
    color: #ffe1d3;
    text-shadow: 0 0 18px rgba(255, 78, 38, 0.24);
}

.changelog-modal__panel--eon128-hell > .changelog-modal__header .changelog-tab__subtitle {
    background: linear-gradient(90deg, #ff6a3d, #ffb15e, #ffe2bd, #ff7849);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.changelog-release-group--eon128-hell {
    overflow: hidden;
    border-color: rgba(255, 83, 42, 0.34);
    border-left-color: #ff5b30;
    background:
        radial-gradient(circle at 0 0, rgba(255, 66, 28, 0.18), transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(255, 139, 51, 0.09), transparent 42%),
        repeating-linear-gradient(90deg, transparent 0 44px, rgba(255, 91, 48, 0.022) 44px 45px),
        rgba(17, 5, 5, 0.86);
    box-shadow:
        inset 3px 0 0 rgba(255, 91, 48, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        inset 0 0 30px rgba(119, 13, 2, 0.1);
}

.changelog-eon128-hell__header {
    border-bottom-color: rgba(255, 91, 48, 0.2);
}

.changelog-eon128-hell__icon {
    border-color: rgba(255, 91, 48, 0.5);
    color: #ff7044;
    background: rgba(119, 13, 2, 0.22);
    box-shadow:
        inset 0 0 16px rgba(255, 91, 48, 0.12),
        0 0 12px rgba(255, 77, 35, 0.1);
}

.changelog-eon128-hell__badge {
    border-color: rgba(255, 91, 48, 0.46);
    color: #ffd2bd;
    background: rgba(119, 13, 2, 0.18);
}

.changelog-eon128-hell__intro {
    margin: 0 0 8px;
    color: #f4d7ca;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.changelog-release-rarity-grid--eon128-hell {
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 10px;
}

.changelog-release-rarity-grid--eon128-hell > .changelog-eon128-aura-card {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid rgba(255, 91, 48, 0.18);
    border-left: 2px solid rgba(255, 91, 48, 0.62);
    background:
        linear-gradient(110deg, rgba(119, 13, 2, 0.18), transparent 58%),
        rgba(10, 6, 10, 0.58);
    box-shadow: inset 0 0 18px rgba(255, 77, 35, 0.035);
}

.changelog-release-rarity-grid--eon128-hell > .changelog-eon128-aura-card:hover {
    border-color: rgba(255, 112, 68, 0.34);
    border-left-color: #ff7044;
    background:
        linear-gradient(110deg, rgba(139, 18, 4, 0.23), transparent 60%),
        rgba(13, 7, 11, 0.66);
}

.changelog-eon128-aura-card__name {
    display: block;
    width: max-content;
    max-width: 100%;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.changelog-eon128-aura-card__odds {
    color: #f6e6df;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.035em;
}

.changelog-eon128-aura-card__native {
    color: #a99690;
    font-size: 9px;
    line-height: 1.5;
}

.changelog-eon128-hell__notes {
    margin-top: 12px;
}

.changelog-eon128-halloween-whisper {
    --event-card-rgb: 255 155 69;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    margin: -4px 0 0 auto;
    padding: 6px 30px 6px 9px;
    border: 1px solid rgb(var(--event-card-rgb) / 0.2);
    background:
        linear-gradient(110deg, rgb(var(--event-card-rgb) / 0.08), transparent 66%),
        rgba(11, 7, 15, 0.62);
    color: #b9a5a0;
    font-size: 8px;
    line-height: 1.4;
    opacity: 0.86;
}

.changelog-eon128-halloween-whisper > i {
    color: rgb(var(--event-card-rgb));
    font-size: 9px;
    filter: drop-shadow(0 0 5px rgb(var(--event-card-rgb) / 0.34));
}

.changelog-eon128-halloween-whisper strong {
    color: #f2d8ca;
    font-size: 8px;
    letter-spacing: 0.04em;
}

.changelog-eon128-halloween-whisper::after {
    content: '';
    position: absolute;
    right: 7px;
    bottom: 4px;
    width: 8px;
    height: 8px;
    border-right: 1px solid rgb(var(--event-card-rgb) / 0.24);
    border-bottom: 1px solid rgb(var(--event-card-rgb) / 0.24);
}

.changelog-modal__actions {
    display: flex;
    justify-content: center;
    padding-top: clamp(2px, 1vh, 8px);
}

.changelog-modal__close-bottom {
    min-width: 140px;
    max-width: min(240px, 100%);
    bottom: 10px;
}

.tinyClass {
    color: gray;
    font-size: small;
    padding-left: 1.2em;
}

.tinyClass-unmoved {
    color: gray;
    font-size: small;
}

.movedClass {
    padding-left: 1.2em;
}

.barelyVisibleClass {
    color: #ffffff22
}

.inline-emoji {
    vertical-align: -2px;
}

.tinyClass-colorless {
    font-size: smaller;
}

.listSpace {
    margin-top: 10px;
}

.subSpace {
    margin-left: 25px;
    padding-bottom: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .cutscene-warning-overlay,
    .modal-overlay {
        transition: none;
    }

    .cutscene-warning-overlay[data-visible] .surface--modal,
    .cutscene-warning-overlay[data-closing] .surface--modal,
    .modal-overlay[data-visible] .surface--modal,
    .modal-overlay[data-closing] .surface--modal {
        animation: none;
        transform: none;
    }

    .changelog-modal__panels {
        transition: none;
    }

    .changelog-subupdate-card,
    .changelog-subupdate-card__version,
    .changelog-subupdate-card__title,
    .changelog-subupdate-card__meta,
    .changelog-subupdate-card > .changelog-modal__intro,
    .changelog-subupdate-card .changelog-modal__list--sub {
        transition: none;
    }
}

.surface--modal {
    --corner-size: 24px;
    padding: clamp(24px, 4vw, 38px);
    width: min(540px, 90vw);
    transform-origin: center;
    max-height: calc(100vh - (var(--modal-padding, 24px) + var(--modal-padding, 24px)));
    overflow-y: none;
}

.surface--modal.changelog-modal {
    width: min(920px, 96vw);
}

@media (max-width: 760px) {
    .changelog-release-rarity-grid {
        grid-template-columns: 1fr;
    }

    .changelog-modal__controls {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "tabs tabs"
            "newer older"
            "jump jump";
    }

    .changelog-nav-button {
        width: 100%;
    }

    .changelog-version-picker {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .changelog-subupdates__header {
        align-items: stretch;
    }

    .changelog-modal__close-bottom {
        width: min(100%, 280px);
        bottom: 0;
    }
}

@media (max-height: 720px) and (orientation: landscape) {
    .modal-overlay {
        --modal-padding: clamp(8px, 2vw, 16px);
    }

    .surface--modal.changelog-modal {
        gap: clamp(8px, 1.8vh, 12px);
        height: calc(100dvh - var(--modal-padding) - var(--modal-padding));
        max-height: calc(100dvh - var(--modal-padding) - var(--modal-padding));
        overflow: hidden;
        padding: clamp(14px, 2.6vw, 22px);
    }

    .changelog-modal__panels {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    .changelog-modal__controls {
        flex: 0 0 auto;
        gap: 6px;
    }

    .changelog-modal__tabbar {
        gap: 6px;
        padding: 3px;
    }

    .changelog-nav-button,
    .changelog-tab {
        padding: 7px 10px;
    }

    .changelog-tab {
        font-size: 12px;
        letter-spacing: 0.1em;
    }

    .changelog-version-picker {
        gap: 6px;
    }

    .changelog-version-picker__label {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .changelog-modal__panel {
        gap: 10px;
        height: 100%;
        max-height: none;
        padding-bottom: 20px;
        scroll-padding-bottom: 20px;
    }

    .changelog-modal__header {
        gap: 3px;
    }

    .changelog-modal__title {
        font-size: clamp(17px, 2.8vw, 22px);
        letter-spacing: 0.08em;
    }

    .changelog-tab__subtitle {
        margin-top: -3px;
        font-size: 1.05em;
        letter-spacing: 0.08em;
    }

    .changelog-modal__meta {
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .changelog-modal__list {
        gap: 0.42em;
    }

    .changelog-modal__list li {
        line-height: 1.35;
    }

    .changelog-subupdates {
        gap: 8px;
        margin-bottom: 10px;
        padding: 10px;
    }

    .changelog-subupdates__header {
        padding-bottom: 7px;
    }

    .changelog-subupdates__grid {
        gap: 8px;
    }

    .changelog-subupdate-card {
        flex-basis: clamp(96px, 31vw, 132px);
        gap: 0;
        padding: 0;
    }

    .changelog-subupdate-card--open {
        gap: 8px;
        padding: 10px;
    }

    .changelog-subupdate-card__meta {
        letter-spacing: 0.08em;
    }

    .changelog-modal__actions {
        flex: 0 0 auto;
        padding-top: 0;
    }

    .changelog-modal__close-bottom {
        min-width: 120px;
        bottom: 0;
    }
}

.surface--modal::after {
    border-radius: 0;
}

@media (max-height: 720px) {
    .cutscene-warning-overlay,
    .modal-overlay {
        align-items: flex-start;
    }
}

.cutscene-warning {
    max-width: min(540px, 90vw);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 4vh, 28px);
    margin: 0 auto;
}

.cutscene-warning__message {
    margin: 0;
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.4;
    color: var(--text-secondary);
}

.cutscene-warning__message--subtle {
    font-size: clamp(15px, 2.6vw, 18px);
    color: var(--text-tertiary);
}

.cutscene-warning__ratio {
    font-weight: 700;
    color: var(--text-primary);
}

.cutscene-warning__note {
    font-weight: 700;
    color: #9de8ff;
}

.cutscene-warning__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rotation-prompt {
    gap: clamp(16px, 3vh, 24px);
}

.rotation-prompt__icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 4vw, 28px);
    color: var(--text-primary);
}

.rotation-prompt__icon {
    font-size: clamp(36px, 10vw, 64px);
    width: clamp(60px, 14vw, 88px);
    height: clamp(60px, 14vw, 88px);
    display: grid;
    place-items: center;
    animation: rotationPulse 2.4s ease-in-out infinite;
}

.rotation-prompt__icon--tablet {
    animation-delay: 0.22s;
}

.rotation-prompt__message {
    margin-top: -4px;
}

.rotation-prompt[data-form-factor="phone"] .rotation-prompt__icon--tablet,
.rotation-prompt[data-form-factor="tablet"] .rotation-prompt__icon--phone {
    opacity: 0.55;
}

@keyframes rotationPulse {
    0% {
        transform: rotate(0deg);
        opacity: 1;
    }
    40% {
        transform: rotate(90deg);
        opacity: 1;
    }
    55% {
        transform: rotate(90deg);
        opacity: 0;
    }
    75% {
        transform: rotate(0deg);
        opacity: 0;
    }
    100% {
        transform: rotate(0deg);
        opacity: 1;
    }
}

@keyframes modal-pop {
    0% {
        transform: scale(0.95);
    }
    60% {
        transform: scale(1.03);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes modal-fade-out {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.97);
    }
}

@media (min-width: 640px) {
    .cutscene-warning__actions {
        flex-direction: row;
        justify-content: center;
    }
}

.cutscene-warning-overlay,
.modal-overlay {
    --modal-padding: clamp(12px, 3vw, 32px);
    background:
        linear-gradient(90deg, rgba(127, 227, 255, 0.025) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(0deg, rgba(127, 227, 255, 0.02) 1px, transparent 1px) 0 0 / 32px 32px,
        radial-gradient(circle at 50% 12%, rgba(45, 151, 211, 0.14), transparent 42%),
        rgba(1, 5, 13, 0.9);
    backdrop-filter: blur(12px) saturate(0.82);
    scrollbar-gutter: stable;
}

.cutscene-warning-overlay::before,
.modal-overlay::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0 49%, rgba(127, 227, 255, 0.045) 50%, transparent 51%) 0 0 / 100% 7px,
        radial-gradient(circle at 50% 50%, transparent 42%, rgba(0, 0, 0, 0.48) 100%);
    opacity: 0.7;
}

.surface--modal {
    --popup-accent-rgb: 127 227 255;
    --popup-accent: rgb(var(--popup-accent-rgb));
    --corner-size: 18px;
    --corner-thickness: 2px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: min(640px, calc(100vw - (var(--modal-padding) * 2)));
    max-height: calc(100dvh - (var(--modal-padding) * 2));
    padding: clamp(18px, 3vw, 28px);
    background:
        linear-gradient(var(--popup-accent), var(--popup-accent)) top left / var(--corner-size) var(--corner-thickness) no-repeat,
        linear-gradient(var(--popup-accent), var(--popup-accent)) top left / var(--corner-thickness) var(--corner-size) no-repeat,
        linear-gradient(var(--popup-accent), var(--popup-accent)) top right / var(--corner-size) var(--corner-thickness) no-repeat,
        linear-gradient(var(--popup-accent), var(--popup-accent)) top right / var(--corner-thickness) var(--corner-size) no-repeat,
        linear-gradient(var(--popup-accent), var(--popup-accent)) bottom left / var(--corner-size) var(--corner-thickness) no-repeat,
        linear-gradient(var(--popup-accent), var(--popup-accent)) bottom left / var(--corner-thickness) var(--corner-size) no-repeat,
        linear-gradient(var(--popup-accent), var(--popup-accent)) bottom right / var(--corner-size) var(--corner-thickness) no-repeat,
        linear-gradient(var(--popup-accent), var(--popup-accent)) bottom right / var(--corner-thickness) var(--corner-size) no-repeat,
        linear-gradient(90deg, rgb(var(--popup-accent-rgb) / 0.028) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(0deg, rgb(var(--popup-accent-rgb) / 0.024) 1px, transparent 1px) 0 0 / 18px 18px,
        var(--surface-overlay-gradient);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.34);
    border-radius: 0;
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.72),
        0 0 0 1px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.045),
        inset 0 0 38px rgb(var(--popup-accent-rgb) / 0.07),
        0 0 34px rgb(var(--popup-accent-rgb) / 0.09);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-color: rgb(var(--popup-accent-rgb) / 0.58) rgba(4, 10, 20, 0.84);
    scrollbar-width: thin;
    isolation: isolate;
}

.surface--modal::after {
    inset: 1px;
    border-radius: 0;
    background:
        linear-gradient(180deg, rgb(var(--popup-accent-rgb) / 0.055), transparent 18%),
        radial-gradient(circle at 92% 4%, rgb(var(--popup-accent-rgb) / 0.12), transparent 30%);
    opacity: 1;
}

.surface--modal[data-popup-kind="settings"] {
    --popup-accent-rgb: 109 224 255;
}

.surface--modal[data-popup-kind="filter"] {
    --popup-accent-rgb: 137 188 255;
}

.surface--modal[data-popup-kind="archive"] {
    --popup-accent-rgb: 191 143 255;
}

.surface--modal[data-popup-kind="notice"] {
    --popup-accent-rgb: 255 205 111;
}

.popup-console__rail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 24px;
    padding-bottom: 10px;
    color: rgb(var(--popup-accent-rgb) / 0.64);
    border-bottom: 1px solid rgb(var(--popup-accent-rgb) / 0.16);
    font-size: 8px;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}

.popup-console__rail-code {
    white-space: nowrap;
}

.popup-console__rail-state {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    color: rgb(var(--popup-accent-rgb) / 0.82);
    text-align: right;
}

.popup-console__rail-state i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--popup-accent);
    background: rgb(var(--popup-accent-rgb) / 0.1);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.28);
    box-shadow: inset 0 0 9px rgb(var(--popup-accent-rgb) / 0.1);
}

.modal-overlay[data-visible] .surface--modal,
.cutscene-warning-overlay[data-visible] .surface--modal {
    --corner-size: 18px;
    --corner-thickness: 2px;
    animation: popup-console-enter 0.34s cubic-bezier(0.18, 0.88, 0.25, 1) both;
}

.modal-overlay[data-closing] .surface--modal,
.cutscene-warning-overlay[data-closing] .surface--modal {
    animation: popup-console-exit 0.22s ease both;
}

.audio-modal__header,
.filter-modal__header,
.changelog-modal__header {
    gap: 6px;
    padding: 0 0 14px;
    border-bottom: 1px solid rgb(var(--popup-accent-rgb) / 0.18);
}

.audio-modal__title,
.filter-modal__title,
.changelog-modal__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(17px, 2.3vw, 23px);
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1.25;
    text-transform: uppercase;
}

.audio-modal__title::before,
.filter-modal__title::before,
.changelog-modal__title::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    background: var(--popup-accent);
    box-shadow: 0 0 10px rgb(var(--popup-accent-rgb) / 0.76);
    transform: rotate(45deg);
}

.audio-modal__hint,
.filter-modal__hint {
    max-width: 70ch;
    color: var(--text-tertiary);
    font-size: 0.84rem;
    letter-spacing: 0.055em;
    line-height: 1.55;
}

.filter-modal,
.audio-modal {
    width: min(760px, calc(100vw - (var(--modal-padding) * 2)));
}

.audio-modal {
    width: min(840px, calc(100vw - (var(--modal-padding) * 2)));
}

.quality-settings__modal {
    width: min(760px, calc(100vw - (var(--modal-padding) * 2)));
}

.quality-settings__modal .filter-modal__header-row {
    flex-direction: row;
    align-items: center;
}

.quality-settings__modal #resetAppCacheButton {
    width: auto;
    flex-shrink: 0;
}

.rolling-settings__modal {
    width: min(720px, calc(100vw - (var(--modal-padding) * 2)));
}

.audio-modal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.audio-slider,
.audio-switch,
.audio-modal__toggle,
.quality-settings__item {
    border-radius: 0;
    background:
        linear-gradient(145deg, rgb(var(--popup-accent-rgb) / 0.07), transparent 50%),
        rgba(3, 10, 22, 0.84);
    border-color: rgb(var(--popup-accent-rgb) / 0.22);
    box-shadow: inset 0 0 16px rgb(var(--popup-accent-rgb) / 0.045);
}

.audio-modal__toggles {
    margin-top: 10px;
}

.quality-settings__menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
}

.quality-settings__item {
    min-height: 84px;
    justify-content: center;
    padding: 13px 14px;
}

.quality-settings__item--active {
    border-color: rgba(105, 236, 174, 0.68);
    background:
        radial-gradient(circle at 0 50%, rgba(105, 236, 174, 0.12), transparent 48%),
        linear-gradient(155deg, rgba(15, 52, 43, 0.92), rgba(4, 18, 20, 0.96));
}

.filter-modal__grid {
    gap: 9px;
}

.filter-tier-toggle {
    min-height: 48px;
    padding-top: 9px;
    padding-bottom: 9px;
    background: rgba(3, 10, 22, 0.78);
    border-color: rgb(var(--popup-accent-rgb) / 0.2);
}

.filter-modal__grid--scroll {
    max-height: min(56vh, 460px);
    padding: 3px 7px 3px 3px;
    background: rgba(2, 7, 16, 0.52);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.12);
}

.filter-modal__actions,
.changelog-modal__actions {
    position: sticky;
    bottom: -1px;
    z-index: 8;
    align-items: center;
    min-height: 52px;
    margin: 0 -2px -2px;
    padding: 12px 2px 2px;
    background: linear-gradient(180deg, transparent, rgba(3, 8, 18, 0.98) 34%);
    border-top: 1px solid rgb(var(--popup-accent-rgb) / 0.12);
}

.filter-modal__close,
.changelog-modal__close-bottom {
    min-width: 142px;
}

.cutscene-warning.surface--modal {
    width: min(620px, calc(100vw - (var(--modal-padding) * 2)));
    gap: 14px;
    text-align: left;
}

.cutscene-warning__message {
    padding: 16px 17px;
    color: var(--text-secondary);
    background:
        linear-gradient(90deg, rgb(var(--popup-accent-rgb) / 0.08), transparent 42%),
        rgba(3, 9, 19, 0.78);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.2);
    border-left: 3px solid rgb(var(--popup-accent-rgb) / 0.68);
    font-size: clamp(14px, 2vw, 17px);
    letter-spacing: 0.025em;
    line-height: 1.65;
    text-align: left;
}

.cutscene-warning__message--subtle {
    color: var(--text-tertiary);
    font-size: clamp(12px, 1.7vw, 14px);
}

.cutscene-warning__note {
    color: var(--popup-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cutscene-warning__ratio {
    color: #fff5d6;
}

.cutscene-warning__actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 9px;
    padding-top: 12px;
    border-top: 1px solid rgb(var(--popup-accent-rgb) / 0.15);
}

.cutscene-warning__actions .interface-button {
    width: 100%;
    min-height: 44px;
    justify-content: center;
}

.rotation-prompt__icons {
    padding: 12px;
    background: rgb(var(--popup-accent-rgb) / 0.055);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.14);
}

.surface--modal.changelog-modal {
    width: min(1040px, calc(100vw - (var(--modal-padding) * 2)));
}

.changelog-modal__controls {
    padding: 10px;
    background: rgba(3, 9, 20, 0.76);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.18);
}

.changelog-modal__panel {
    max-height: min(64vh, 680px);
    padding: 14px 12px 28px;
    background:
        linear-gradient(145deg, rgb(var(--popup-accent-rgb) / 0.045), transparent 42%),
        rgba(2, 7, 16, 0.48);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.12);
}

.changelog-modal__header {
    padding-inline: 2px;
}

@keyframes popup-console-enter {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.975);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes popup-console-exit {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
    }
}

@media (max-width: 700px) {
    .cutscene-warning-overlay,
    .modal-overlay {
        --modal-padding: 10px;
        align-items: flex-start;
    }

    .surface--modal,
    .filter-modal,
    .audio-modal,
    .quality-settings__modal,
    .rolling-settings__modal,
    .surface--modal.changelog-modal,
    .cutscene-warning.surface--modal {
        width: 100%;
        max-height: calc(100dvh - 20px);
        padding: 15px;
        gap: 12px;
    }

    .popup-console__rail-state {
        max-width: 58%;
    }

    .audio-modal__grid,
    .quality-settings__menu,
    .filter-modal__grid {
        grid-template-columns: 1fr;
    }

    .filter-modal__header-row {
        align-items: stretch;
        flex-direction: column;
    }

    .filter-modal__reset,
    .filter-modal__close,
    .changelog-modal__close-bottom,
    .audio-modal__actions .filter-modal__close {
        width: 100%;
    }

    .cutscene-warning__actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal-overlay[data-visible] .surface--modal,
    .modal-overlay[data-closing] .surface--modal,
    .cutscene-warning-overlay[data-visible] .surface--modal,
    .cutscene-warning-overlay[data-closing] .surface--modal {
        animation: none;
        filter: none;
        transform: none;
    }
}

body.quality-no-ui-animations .modal-overlay[data-visible] .surface--modal,
body.quality-no-ui-animations .modal-overlay[data-closing] .surface--modal,
body.quality-no-ui-animations .cutscene-warning-overlay[data-visible] .surface--modal,
body.quality-no-ui-animations .cutscene-warning-overlay[data-closing] .surface--modal {
    animation: none;
    filter: none;
    transform: none;
}

.feed-console {
    --feed-console-accent-rgb: 103 222 255;
    --feed-console-accent: rgb(var(--feed-console-accent-rgb));
    isolation: isolate;
    z-index: 8;
    overflow: visible;
    background:
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top left / var(--corner-size) var(--corner-thickness) no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top left / var(--corner-thickness) var(--corner-size) no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top right / var(--corner-size) var(--corner-thickness) no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top right / var(--corner-thickness) var(--corner-size) no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom left / var(--corner-size) var(--corner-thickness) no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom left / var(--corner-thickness) var(--corner-size) no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom right / var(--corner-size) var(--corner-thickness) no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom right / var(--corner-thickness) var(--corner-size) no-repeat,
        linear-gradient(90deg, rgb(var(--feed-console-accent-rgb) / 0.025) 1px, transparent 1px) 0 0 / 20px 20px,
        linear-gradient(0deg, rgb(var(--feed-console-accent-rgb) / 0.022) 1px, transparent 1px) 0 0 / 20px 20px,
        var(--surface-gradient);
}

.feed-console::after {
    border-radius: 0;
    background:
        linear-gradient(180deg, rgb(var(--feed-console-accent-rgb) / 0.055), transparent 18%),
        radial-gradient(circle at 92% 4%, rgb(var(--feed-console-accent-rgb) / 0.12), transparent 30%);
}

.feed-console__header {
    gap: 11px;
    padding-bottom: 15px;
}

.feed-console__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: rgb(var(--feed-console-accent-rgb) / 0.68);
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.feed-console__eyebrow span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.feed-console__eyebrow i,
.feed-console__eyebrow svg {
    color: var(--feed-console-accent);
}

.feed-console__heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
}

.feed-console__heading-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.feed-console__signal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 30px;
    padding: 7px 10px;
    color: rgba(190, 255, 215, 0.78);
    background: rgba(7, 27, 22, 0.72);
    border: 1px solid rgba(119, 255, 172, 0.23);
    font-size: 8px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    white-space: nowrap;
}

.feed-console__signal-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    background: #79ffad;
    box-shadow: 0 0 10px rgba(121, 255, 173, 0.8);
}

.feed-toolbar {
    position: relative;
    z-index: 60;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 12px;
    overflow: visible;
    isolation: isolate;
    background:
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top left / 12px 2px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top left / 2px 12px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom right / 12px 2px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom right / 2px 12px no-repeat,
        linear-gradient(145deg, rgb(var(--feed-console-accent-rgb) / 0.07), transparent 48%),
        rgba(3, 10, 22, 0.88);
    border: 1px solid rgb(var(--feed-console-accent-rgb) / 0.18);
    box-shadow: inset 0 0 22px rgb(var(--feed-console-accent-rgb) / 0.045);
}

.feed-toolbar__heading {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 145px;
    padding-right: 14px;
    border-right: 1px solid rgb(var(--feed-console-accent-rgb) / 0.15);
}

.feed-toolbar__index {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--feed-console-accent);
    background: rgb(var(--feed-console-accent-rgb) / 0.08);
    border: 1px solid rgb(var(--feed-console-accent-rgb) / 0.25);
    font-size: 8px;
}

.feed-toolbar__heading-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.feed-toolbar__heading-copy strong {
    color: var(--text-primary);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.feed-toolbar__heading-copy small {
    color: var(--text-tertiary);
    font-size: 7px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feed-toolbar__controls {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.feed-search__input,
.feed-sort,
.feed-share__trigger {
    min-height: 46px;
    border-radius: 0;
}

.feed-share {
    z-index: 80;
}

.feed-share__menu {
    z-index: 120;
    min-width: min(260px, calc(100vw - 32px));
    padding: 12px;
    border-radius: 0;
    background:
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top left / 12px 2px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top left / 2px 12px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top right / 12px 2px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) top right / 2px 12px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom left / 12px 2px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom left / 2px 12px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom right / 12px 2px no-repeat,
        linear-gradient(var(--feed-console-accent), var(--feed-console-accent)) bottom right / 2px 12px no-repeat,
        linear-gradient(155deg, rgba(11, 24, 44, 0.995), rgba(3, 9, 20, 0.998));
    border-color: rgb(var(--feed-console-accent-rgb) / 0.52);
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.76),
        0 0 0 1px rgba(0, 0, 0, 0.72),
        inset 0 0 24px rgb(var(--feed-console-accent-rgb) / 0.08);
}

.feed-share__item {
    min-width: 0;
    border-radius: 0;
    overflow-wrap: anywhere;
}

.feed-console__stream {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 0;
    min-height: 0;
    background: rgba(2, 8, 18, 0.72);
    border: 1px solid rgb(var(--feed-console-accent-rgb) / 0.2);
    box-shadow: inset 0 0 28px rgb(var(--feed-console-accent-rgb) / 0.055);
}

.feed-console__stream-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 9px 12px;
    color: rgb(var(--feed-console-accent-rgb) / 0.76);
    background: linear-gradient(90deg, rgb(var(--feed-console-accent-rgb) / 0.075), transparent 60%);
    border-bottom: 1px solid rgb(var(--feed-console-accent-rgb) / 0.16);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.feed-console__stream-header > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feed-console__stream-header small {
    color: var(--text-tertiary);
    font-size: 7px;
    letter-spacing: 0.1em;
}

.feed-console .feed__viewport-shell {
    z-index: 1;
    height: clamp(330px, 58vh, 680px);
    max-height: none;
}

.feed-console .feed__viewport {
    border: 0;
    border-radius: 0;
    padding: 16px;
    background:
        linear-gradient(90deg, rgb(var(--feed-console-accent-rgb) / 0.022) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(0deg, rgb(var(--feed-console-accent-rgb) / 0.018) 1px, transparent 1px) 0 0 / 18px 18px,
        linear-gradient(180deg, rgb(var(--feed-console-accent-rgb) / 0.045), rgba(2, 7, 16, 0.96));
    box-shadow: inset 0 18px 30px rgba(0, 0, 0, 0.18);
    scrollbar-gutter: stable;
}

.feed-console .live-roll-feed__entry,
.feed-console .roll-feed__result-entry {
    min-width: 0;
    padding: 9px 11px;
    overflow-wrap: anywhere;
    background: linear-gradient(90deg, rgb(var(--feed-console-accent-rgb) / 0.045), transparent 72%);
    border-left: 2px solid rgb(var(--feed-console-accent-rgb) / 0.28);
}

.feed-console .live-roll-feed__entry + .live-roll-feed__entry,
.feed-console .roll-feed__result-entry + .roll-feed__result-entry {
    margin-top: 6px;
    border-top: 0;
}

.feed-console .roll-feed__results-list {
    display: grid;
    gap: 6px;
}

.feed-console .roll-feed__results-list .roll-feed__result-entry + .roll-feed__result-entry {
    margin-top: 0;
}

.feed-console .live-roll-feed__summary {
    margin-top: 18px;
    padding: 14px 12px 0;
    border-top: 1px solid rgb(var(--feed-console-accent-rgb) / 0.3);
}

.feed-console .feed__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0;
}

.feed-console .feed__tip,
.feed-console .feed__mythic {
    min-width: 0;
    min-height: 40px;
    padding: 10px 12px;
    background: rgba(3, 9, 20, 0.62);
    border: 1px solid rgb(var(--feed-console-accent-rgb) / 0.14);
    overflow-wrap: anywhere;
}

.feed-console .feed__mythic {
    text-align: right;
}

html,
body {
    max-width: 100%;
}

body {
    overflow-x: clip;
}

.interface-shell,
.interface-layout,
.interface-subgrid,
.interface-layout > *,
.interface-subgrid > *,
.surface,
.surface > *,
.control-section,
.parameter-console__workspace,
.parameter-console__module,
.preset-console,
.preset-console__bank,
.preset-matrix,
.resource-hub,
.resource-link {
    min-width: 0;
    max-width: 100%;
}

.interface-button,
.interface-toggle,
.roll-trigger,
.roll-pause,
.roll-cancel {
    min-width: 0;
    max-width: 100%;
}

.interface-button > span,
.interface-toggle > span,
.roll-trigger > span {
    min-width: 0;
}

.parameter-console__module--actions .quick-action-group .interface-button {
    min-width: 0;
    overflow: hidden;
}

.parameter-console__module--actions .quick-action-group .interface-button > span {
    max-width: 100%;
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    .feed-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .feed-toolbar__heading {
        min-width: 0;
        padding: 0 0 10px;
        border-right: 0;
        border-bottom: 1px solid rgb(var(--feed-console-accent-rgb) / 0.15);
    }

    .feed-console .feed__viewport-shell {
        height: clamp(320px, 52dvh, 600px);
    }

    .resource-link__content,
    .simulation-method__copy,
    .potion-mode__copy,
    .parameter-console__module-copy {
        min-width: 0;
    }
}

@media (max-width: 760px) {
    body {
        padding: clamp(9px, 2.8vw, 16px);
    }

    .interface-shell,
    .interface-footer {
        width: 100%;
    }

    .surface {
        padding: clamp(13px, 3.5vw, 16px);
    }

    .surface__title {
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .surface__subtitle {
        line-height: 1.55;
        overflow-wrap: anywhere;
    }

    .feed-console__heading-row {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 10px;
    }

    .feed-console__signal {
        justify-self: start;
    }

    .feed-toolbar__controls {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .feed-sort,
    .feed-share__trigger {
        min-width: 0;
        padding-inline: 12px;
    }

    .feed-console .feed__viewport {
        padding: 13px;
        font-size: 12px;
        line-height: 1.65;
    }

    .feed-console .feed__viewport-shell {
        height: clamp(300px, 52dvh, 520px);
    }

    .parameter-console__workspace {
        padding: 10px;
    }

    .parameter-console__module {
        padding: 12px;
    }

    .parameter-console__module-header {
        grid-template-columns: 22px 34px minmax(0, 1fr);
        gap: 8px;
    }

    .parameter-console__module-icon {
        width: 34px;
        height: 34px;
    }

    .parameter-console__module-copy h3,
    .parameter-console__module-copy > span {
        overflow-wrap: anywhere;
    }

    .parameter-console__module--actions .quick-action-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .parameter-console__module--actions .quick-action-group .interface-button,
    .parameter-console__module--actions .quick-action-group .interface-button:nth-child(n + 5),
    .parameter-console__module--actions .quick-action-group .interface-button:last-child {
        grid-column: auto;
        min-height: 52px;
        padding: 8px;
        gap: 7px;
        font-size: clamp(12px, 2.35vw, 14px);
        letter-spacing: 0.07em;
    }

    .parameter-console__module--actions .quick-action-group .interface-button > i {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .form-field__select-shell,
    .interface-select,
    .interface-select__summary,
    .form-field__input {
        max-width: 100%;
    }

    .interface-select__menu {
        max-width: min(100%, calc(100vw - 28px));
    }

    .multi-potion-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
    }

    .preset-matrix,
    .preset-matrix--compact {
        grid-template-columns: repeat(auto-fit, minmax(min(155px, 100%), 1fr));
    }

    .preset-matrix button,
    .preset-console__tab,
    .simulation-method__button,
    .potion-mode__button {
        min-width: 0;
        overflow: hidden;
    }

    .options-menu__surface {
        max-width: calc(100vw - 24px);
    }
}

@media (max-width: 600px) {
    .feed-console__eyebrow,
    .feed-console__stream-header {
        align-items: flex-start;
    }

    .feed-console__stream-header {
        flex-direction: column;
        gap: 4px;
    }

    .feed-toolbar__controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .feed-sort,
    .feed-share,
    .feed-share__trigger {
        width: 100%;
    }

    .feed-share__menu {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }

    .feed-console .feed__meta {
        grid-template-columns: minmax(0, 1fr);
    }

    .feed-console .feed__mythic {
        text-align: left;
    }

    .parameter-console__module--actions .quick-action-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .parameter-console__module--actions .quick-action-group .interface-button {
        justify-content: center;
        min-height: 50px;
        padding-inline: 12px;
        text-align: center;
    }

    .parameter-console__module--actions .quick-action-group .interface-button > span {
        flex: 1 1 auto;
        text-align: center;
    }

    .multi-potion-field {
        grid-template-columns: minmax(0, 1fr) minmax(72px, 0.38fr);
        gap: 8px;
    }

    .loading-indicator {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .loading-indicator__value {
        position: static;
        justify-self: end;
        transform: none;
    }

    .loading-indicator--active .loading-indicator__value {
        transform: none;
    }
}

@media (max-width: 420px) {
    .feed-console__eyebrow {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .feed-console .feed__viewport-shell {
        height: clamp(280px, 48dvh, 440px);
    }

    .feed-console .live-roll-feed__entry,
    .feed-console .roll-feed__result-entry {
        padding: 8px 9px;
    }

    .parameter-console__module-header {
        grid-template-columns: 18px 32px minmax(0, 1fr);
        gap: 7px;
    }

    .parameter-console__module-icon {
        width: 32px;
        height: 32px;
    }

    .parameter-console__module-copy h3 {
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .parameter-console__module-copy > span {
        font-size: 7px;
        letter-spacing: 0.06em;
    }

    .multi-potion-field {
        grid-template-columns: minmax(0, 1fr);
    }

    .control-section--run-main .multi-potion-field__input {
        text-align: left;
    }
}

.feed-console {
    container-name: roll-feed-console;
    container-type: inline-size;
}

.parameter-console__module--environment {
    container-name: parameter-environment;
    container-type: inline-size;
}

.parameter-console__module--actions {
    container-name: biome-shortcuts;
    container-type: inline-size;
}

@container roll-feed-console (max-width: 760px) {
    .feed-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .feed-toolbar__heading {
        min-width: 0;
        padding: 0 0 10px;
        border-right: 0;
        border-bottom: 1px solid rgb(var(--feed-console-accent-rgb) / 0.15);
    }
}

@container roll-feed-console (max-width: 620px) {
    .feed-toolbar__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feed-search {
        grid-column: 1 / -1;
    }

    .feed-sort,
    .feed-share,
    .feed-share__trigger {
        width: 100%;
    }
}

.masthead__help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 118px;
    color: #b7e7ff;
    --button-accent: #74d7ff;
    --button-border-color: rgba(116, 215, 255, 0.38);
    --button-background: linear-gradient(110deg, rgba(48, 145, 191, 0.18), rgba(9, 20, 37, 0.94));
}

.masthead__help i {
    color: #7edcff;
    filter: drop-shadow(0 0 6px rgba(87, 206, 255, 0.32));
}

.masthead-console .masthead__mute {
    min-width: 96px;
}

.masthead-console .options-menu__trigger {
    width: 158px;
}

body.help-center-open {
    overflow: hidden;
}

.help-center__backdrop {
    position: fixed;
    z-index: 2140;
    inset: 0;
    background: rgba(1, 6, 14, 0.54);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 220ms ease;
}

.help-center__backdrop[hidden],
.help-center[hidden] {
    display: none;
}

.help-center__backdrop--open {
    opacity: 1;
}

.help-center {
    position: fixed;
    z-index: 2150;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: clamp(480px, 60dvh, 760px);
    border-top: 1px solid rgba(118, 219, 255, 0.56);
    color: #dcecf5;
    background:
        linear-gradient(90deg, rgba(79, 198, 247, 0.08), transparent 28%, transparent 72%, rgba(124, 104, 244, 0.08)),
        repeating-linear-gradient(90deg, transparent 0 52px, rgba(125, 218, 255, 0.022) 52px 53px),
        linear-gradient(180deg, rgba(7, 19, 34, 0.99), rgba(2, 8, 18, 0.995));
    box-shadow: 0 -22px 64px rgba(0, 5, 17, 0.72), inset 0 1px 0 rgba(214, 245, 255, 0.05);
    transform: translateY(102%);
    transition: transform 240ms cubic-bezier(0.22, 0.78, 0.2, 1);
}

.help-center::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 34%;
    height: 2px;
    background: linear-gradient(90deg, #74d7ff, transparent);
    box-shadow: 0 0 16px rgba(94, 216, 255, 0.42);
    pointer-events: none;
}

.help-center--open {
    transform: translateY(0);
}

.help-center__header {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 13px max(18px, calc((100vw - 1565px) / 2 + 18px));
    border-bottom: 1px solid rgba(114, 206, 243, 0.18);
    background: rgba(4, 13, 26, 0.78);
}

.help-center__header-icon {
    display: grid;
    place-items: center;
    width: 46px;
    aspect-ratio: 1;
    border: 1px solid rgba(118, 219, 255, 0.38);
    color: #9be5ff;
    background: rgba(70, 170, 216, 0.12);
    box-shadow: inset 0 0 16px rgba(94, 207, 255, 0.1);
    font-size: 18px;
}

.help-center__header-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.help-center__eyebrow {
    color: #69b9d7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.help-center__header h2 {
    margin: 0;
    color: #eefaff;
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.help-center__header p {
    margin: 0;
    color: #7895a7;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.help-center__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 104px;
}

.help-center__layout {
    display: grid;
    grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
    width: min(1565px, 100%);
    min-height: 0;
    margin-inline: auto;
}

.help-center__sidebar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 10px;
    min-width: 0;
    min-height: 0;
    padding: 14px;
    border-right: 1px solid rgba(112, 207, 244, 0.16);
    background: rgba(2, 9, 20, 0.46);
}

.help-center__search {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    min-height: 40px;
    padding: 0 11px;
    border: 1px solid rgba(112, 207, 244, 0.22);
    color: #72bdd9;
    background: rgba(2, 8, 18, 0.76);
}

.help-center__search:focus-within {
    border-color: rgba(119, 221, 255, 0.72);
    box-shadow: 0 0 0 2px rgba(86, 197, 240, 0.1);
}

.help-center__search input {
    width: 100%;
    min-width: 0;
    height: 38px;
    border: 0;
    outline: 0;
    color: #e1f3fa;
    background: transparent;
    font: inherit;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.help-center__search input::placeholder {
    color: #5e7889;
}

.help-center__nav {
    display: grid;
    align-content: start;
    gap: 4px;
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(109, 202, 239, 0.42) transparent;
}

.help-center__nav button {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 7px 9px;
    border: 1px solid transparent;
    color: #7895a7;
    background: transparent;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
}

.help-center__nav button i {
    color: #64adca;
    text-align: center;
}

.help-center__nav button:hover,
.help-center__nav button:focus-visible,
.help-center__nav button[aria-current="true"] {
    border-color: rgba(116, 214, 255, 0.28);
    color: #d6f2fc;
    background: linear-gradient(90deg, rgba(67, 167, 210, 0.15), transparent);
}

.help-center__nav button:focus-visible {
    outline: 2px solid rgba(117, 217, 255, 0.64);
    outline-offset: -2px;
}

.help-center__sidebar-note {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 9px;
    border-top: 1px solid rgba(112, 207, 244, 0.12);
    color: #5f7d8e;
    font-size: 10px;
    line-height: 1.5;
}

.help-center__sidebar-note i {
    margin-top: 2px;
    color: #75d4a9;
}

.help-center__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 10px;
    min-width: 0;
    min-height: 0;
    padding: 14px clamp(14px, 2vw, 24px) 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-top: 14px;
    scrollbar-width: thin;
    scrollbar-color: rgba(114, 209, 246, 0.46) rgba(5, 13, 25, 0.45);
}

.help-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 11px;
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(112, 205, 242, 0.13);
    background:
        linear-gradient(110deg, rgba(62, 154, 198, 0.07), transparent 46%),
        rgba(5, 14, 27, 0.72);
    scroll-margin-top: 14px;
}

.help-card--featured {
    grid-column: 1 / -1;
    border-color: rgba(116, 215, 255, 0.32);
    background:
        radial-gradient(circle at 0 0, rgba(79, 200, 247, 0.14), transparent 40%),
        linear-gradient(110deg, rgba(62, 154, 198, 0.09), transparent 50%),
        rgba(5, 14, 27, 0.78);
}

.help-card[hidden],
.help-center__nav button[hidden],
.help-center__empty[hidden] {
    display: none;
}

.help-card__index {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(112, 207, 244, 0.22);
    color: #75bed9;
    background: rgba(53, 143, 184, 0.08);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.help-card__body {
    min-width: 0;
}

.help-card__kicker {
    display: block;
    margin-bottom: 3px;
    color: #67b4d1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.help-card h3 {
    margin: 0 0 7px;
    color: #e3f4fb;
    font-size: 16px;
    letter-spacing: 0.055em;
}

.help-card p,
.help-card li {
    color: #8ea7b6;
    font-size: 13px;
    line-height: 1.6;
}

.help-card p {
    margin: 0 0 7px;
}

.help-card ul,
.help-card ol {
    display: grid;
    gap: 4px;
    margin: 0;
    padding-left: 1.25em;
}

.help-card li::marker {
    color: #69bedf;
}

.help-card strong {
    color: #cde8f3;
}

.help-card__note {
    margin-top: 9px !important;
    padding: 8px 9px;
    border-left: 2px solid rgba(124, 215, 255, 0.52);
    background: rgba(57, 151, 191, 0.08);
}

.help-card__jump {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 7px 9px;
    border: 1px solid rgba(115, 211, 249, 0.22);
    color: #9bdcf4;
    background: rgba(47, 135, 177, 0.09);
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.help-card__jump:hover,
.help-card__jump:focus-visible {
    border-color: rgba(123, 220, 255, 0.68);
    color: #e0f7ff;
    background: rgba(62, 164, 207, 0.17);
}

.help-card__jump:focus-visible {
    outline: 2px solid rgba(123, 220, 255, 0.62);
    outline-offset: 2px;
}

.help-center__empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;
    border: 1px dashed rgba(112, 207, 244, 0.22);
    color: #6b899a;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-align: center;
    text-transform: uppercase;
}

body.quality-no-ui-animations .help-center,
body.quality-no-ui-animations .help-center__backdrop {
    transition: none !important;
}

@media (max-width: 1100px) {
    .help-center {
        height: min(680px, 70dvh);
    }

    .help-center__layout {
        grid-template-columns: minmax(205px, 235px) minmax(0, 1fr);
    }

    .help-center__content {
        grid-template-columns: minmax(0, 1fr);
    }

    .help-card--featured {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    .masthead-console .masthead__controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .masthead-console .masthead__mute,
    .masthead-console .masthead__help,
    .masthead-console .options-menu,
    .masthead-console .options-menu__trigger {
        width: 100%;
        min-width: 0;
    }

    .help-center {
        height: min(760px, 78dvh);
    }

    .help-center__header {
        padding-inline: 14px;
    }

    .help-center__layout {
        grid-template-columns: minmax(185px, 220px) minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .masthead-console .masthead__controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .help-center {
        height: min(790px, 86dvh);
    }

    .help-center__header {
        grid-template-columns: 38px minmax(0, 1fr) 40px;
        gap: 9px;
        padding: 10px 12px;
    }

    .help-center__header-icon {
        width: 38px;
        font-size: 15px;
    }

    .help-center__eyebrow {
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .help-center__header h2 {
        font-size: 16px;
    }

    .help-center__header p {
        display: none;
    }

    .help-center__close {
        min-width: 40px;
        width: 40px;
        height: 38px;
        padding: 0;
    }

    .help-center__close span {
        display: none;
    }

    .help-center__layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr);
    }

    .help-center__sidebar {
        display: grid;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 9px 10px;
        border-right: 0;
        border-bottom: 1px solid rgba(112, 207, 244, 0.16);
    }

    .help-center__search {
        min-height: 36px;
    }

    .help-center__search input {
        height: 34px;
    }

    .help-center__nav {
        display: flex;
        gap: 5px;
        padding-bottom: 3px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }

    .help-center__nav button {
        grid-template-columns: 18px auto;
        flex: 0 0 auto;
        min-height: 34px;
        padding: 6px 9px;
        white-space: nowrap;
        scroll-snap-align: start;
    }

    .help-center__sidebar-note {
        display: none;
    }

    .help-center__content {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 10px 10px max(20px, env(safe-area-inset-bottom));
        scroll-padding-top: 10px;
    }

    .help-card {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 9px;
        padding: 11px;
    }

    .help-card__index {
        width: 28px;
        height: 28px;
    }

    .help-card h3 {
        font-size: 15px;
    }

    .help-card p,
    .help-card li {
        font-size: 12px;
        line-height: 1.6;
    }
}

@media (max-width: 390px) {
    .help-center {
        height: 90dvh;
    }

    .help-center__header-copy {
        gap: 0;
    }

    .help-center__eyebrow {
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .help-center,
    .help-center__backdrop {
        transition: none;
    }
}

.masthead-console {
    padding: clamp(16px, 2vw, 22px);
    background:
        linear-gradient(90deg, rgba(79, 199, 255, 0.08), transparent 28%, transparent 72%, rgba(131, 113, 255, 0.08)),
        repeating-linear-gradient(90deg, transparent 0 47px, rgba(126, 220, 255, 0.025) 47px 48px),
        var(--surface-gradient);
}

.masthead-console::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 7px;
    border-block: 1px solid rgba(116, 216, 255, 0.07);
    pointer-events: none;
}

.masthead-console .masthead__brand {
    align-items: stretch;
    min-width: 0;
}

.masthead-console .banner__emblem-stack {
    align-self: center;
    flex: 0 0 auto;
    width: clamp(120px, 8.5vw, 140px);
    margin-inline: 30px;
}

.masthead-console .banner__meta {
    flex: 1 1 auto;
    min-width: 0;
    gap: 7px;
}

.masthead-console__rail {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding-right: 150px;
    color: #72c7e8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.masthead-console__rail::after {
    content: "";
    flex: 1 1 auto;
    order: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(111, 214, 255, 0.38), transparent);
}

.masthead-console__rail > :first-child {
    order: -1;
}

.masthead-console__status {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #80efc0;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.masthead-console__status i {
    font-size: 8px;
    filter: drop-shadow(0 0 5px rgba(96, 255, 190, 0.55));
}

.masthead-console__title-row {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 22px);
    min-width: 0;
}

.masthead-console .banner__title {
    flex: 0 1 auto;
    color: #edf9ff;
    font-size: clamp(32px, 2.95vw, 40px);
    margin-top: 20px;
    margin-bottom: 20px;
    line-height: 1.05;
    letter-spacing: 0.085em;
    text-shadow: 0 0 18px rgba(113, 210, 255, 0.2);
}

.masthead-console__version {
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid rgba(114, 209, 255, 0.3);
    border-radius: 0;
    color: #9ee0ff;
    background: rgba(4, 13, 25, 0.38);
    box-shadow: none;
    text-decoration: none;
    text-align: left;
}

.masthead-console__version > span strong {
    color: #c7efff;
    font-size: 13px;
    letter-spacing: 0.055em;
    text-transform: none;
}

.masthead-console__version:hover,
.masthead-console__version:focus-visible {
    color: #e4f8ff;
    border-color: rgba(143, 226, 255, 0.82);
    background: rgba(55, 143, 185, 0.16);
    box-shadow: inset 0 0 18px rgba(92, 197, 255, 0.11);
}

.masthead-console__metadata {
    display: grid;
    grid-template-columns: repeat(4, minmax(145px, 1fr));
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.masthead-console__meta-card {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 58px;
    padding: 9px 12px;
    border: 1px solid rgba(120, 190, 224, 0.12);
    background: rgba(4, 13, 25, 0.38);
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 0.055em;
    text-transform: none;
}

.masthead-console__meta-card > i {
    color: currentColor;
    font-size: 15px;
    text-align: center;
    opacity: 0.82;
}

.masthead-console__meta-card > span {
    display: grid;
    min-width: 0;
}

.masthead-console__meta-card small {
    color: #69869b;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.masthead-console__creator-avatar-flip {
    --avatar-size: 48px;

    width: var(--avatar-size);
    height: var(--avatar-size);

    display: block;
    flex: 0 0 var(--avatar-size);

    margin: 0;
    padding: 0;

    perspective: 500px;
}

.masthead-console__creator-avatar-inner {
    position: relative;

    width: 100%;
    height: 100%;

    transform-style: preserve-3d;
    transform-origin: center center;

    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.banner__subtitle-author:hover
.masthead-console__creator-avatar-inner {
    transform: rotateY(180deg);
}

.masthead-console__creator-avatar {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    border: 1px solid rgba(137, 210, 255, 0.36);

    box-shadow:
        0 0 12px rgba(78, 175, 224, 0.12);

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;

    transform-origin: center center;
}

.masthead-console__creator-avatar--front {
    transform: rotateY(0deg);
}

.masthead-console__creator-avatar--back {
    transform: rotateY(180deg);
}


.masthead-console .banner__subtitle-author {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 0;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    box-sizing: border-box;
}

.masthead-console .banner__subtitle-author-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    flex: 1 1 0;
    min-width: 0;

    margin: 0 0 0 10px;
    padding: 0;
}

.masthead-console .banner__subtitle-author-text small {
    display: block;

    margin: 0;
    padding: 0;

    max-width: 100%;

    white-space: normal;
    overflow-wrap: anywhere;
}

.masthead-console .banner__subtitle-author-name {
    display: block;

    margin: 0;
    padding: 0;

    min-width: 0;
    max-width: 100%;

    font-size: inherit;
    letter-spacing: inherit;
    text-underline-offset: 0.25em;

    white-space: normal;
    overflow-wrap: anywhere;
}

.masthead-console .banner__subtitle-author-name a {
    display: inline;

    margin: 0;
    padding: 0;

    max-width: 100%;

    overflow-wrap: anywhere;
    word-break: normal;
}

.masthead-console .banner__subtitle-game-version {
    font-size: inherit;
    letter-spacing: inherit;
    text-underline-offset: 0.25em;
}

@media (max-width: 600px) {
    .masthead-console__creator-avatar-flip {
        --avatar-size: 34px;
    }

    .masthead-console .banner__subtitle-author {
        gap: 0;
    }

    .masthead-console .banner__subtitle-author-text {
        margin-left: 5px;
        min-width: 0;
    }

    .masthead-console .banner__subtitle-author-text small {
        font-size: 7px;
        line-height: 1.1;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .masthead-console .banner__subtitle-author-name {
        font-size: 10px;
        line-height: 1.2;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .masthead-console .banner__subtitle-author-name a {
        white-space: nowrap;
    }
}

.masthead-console .banner__subtitle-game-version,
.masthead-console .banner__subtitle-game-version > a {
    min-width: 0;
    max-width: 100%;
}

.masthead-console .banner__subtitle-game-version > a {
    display: grid;
    justify-items: start;
    gap: 5px;
    color: inherit;
    text-decoration: none;
}

.masthead-console .banner__game-version-name {
    max-width: 100%;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-thickness: 0.01em;
    text-underline-offset: 0.25em;
}

.masthead-console .banner__game-season-pill {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35em;
    max-width: 100%;
    padding: 3px 7px;
    border: 1px solid rgba(237, 231, 91, 0.4);
    border-radius: 0;
    color: #e9ef93;
    background:
        linear-gradient(90deg, rgba(237, 218, 64, 0.12), rgba(61, 177, 209, 0.08)),
        rgba(4, 13, 25, 0.68);
    box-shadow: inset 2px 0 0 rgba(244, 231, 91, 0.22);
    font-size: 0.78em;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: normal;
}

.masthead-console .masthead__controls {
    align-self: center;
    padding: 5px;
    border: 1px solid rgba(116, 209, 255, 0.14);
    background: rgba(3, 11, 23, 0.45);
}

.interface-footer {
    display: grid;
    grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
    align-items: start;
    gap: clamp(12px, 2vw, 24px);
    padding: clamp(14px, 2vw, 20px);
    text-align: left;
}

.site-footer__identity {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 56px;
}

.site-footer__mark {
    display: grid;
    place-items: center;
    width: 40px;
    aspect-ratio: 1;
    flex: 0 0 auto;
    border: 1px solid rgba(112, 210, 255, 0.3);
    color: #91dcff;
    background: rgba(51, 151, 202, 0.1);
    box-shadow: inset 0 0 14px rgba(80, 194, 248, 0.08);
}

.site-footer__eyebrow {
    margin: 0 0 4px;
    color: #6baeca;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.interface-footer .site-footer__text {
    line-height: 1.5;
}

.footer-credits {
    min-width: 0;
    margin: 0;
    border: 1px solid rgba(111, 207, 255, 0.18);
    background: rgba(3, 10, 22, 0.42);
}

.footer-credits__summary {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto 14px;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 9px 13px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.footer-credits__summary::after {
    content: none;
}

.footer-credits__summary::-webkit-details-marker {
    display: none;
}

.footer-credits__summary:hover,
.footer-credits__summary:focus-visible {
    background: rgba(83, 176, 222, 0.08);
}

.footer-credits__summary:focus-visible {
    outline: 2px solid rgba(116, 214, 255, 0.72);
    outline-offset: 2px;
}

.footer-credits__summary-icon {
    display: grid;
    place-items: center;
    width: 36px;
    aspect-ratio: 1;
    border: 1px solid rgba(119, 213, 255, 0.3);
    color: #98e0ff;
    background: rgba(65, 169, 217, 0.09);
}

.footer-credits__summary-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.footer-credits__summary-copy strong {
    color: #e9f8ff;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-credits__summary-copy > span {
    overflow: hidden;
    color: #708ca0;
    font-size: 9px;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-credits__summary-count {
    padding: 4px 7px;
    border: 1px solid rgba(119, 213, 255, 0.18);
    color: #8fb8cb;
    font-size: 8px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-credits__summary-chevron {
    color: #79bdd8;
    font-size: 10px;
    transition: transform 180ms ease;
}

.footer-credits[open] .footer-credits__summary-chevron {
    transform: rotate(180deg);
}

.footer-credits__panel {
    display: grid;
    gap: 12px;
    padding: 13px;
    border-top: 1px solid rgba(111, 207, 255, 0.14);
}

.footer-credits__featured {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-left: 2px solid rgba(255, 214, 113, 0.72);
    background: linear-gradient(90deg, rgba(255, 202, 77, 0.09), transparent);
}

.footer-credits__featured-icon {
    color: #ffd77a;
    font-size: 15px;
}

.footer-credits__featured p {
    margin: 2px 0 0;
    color: #b7cbd8;
    font-size: 10px;
    line-height: 1.45;
}

.footer-credits__featured a,
.footer-credits__item a {
    color: #9fdfff;
    text-decoration: underline;
    text-decoration-color: rgba(159, 223, 255, 0.42);
    text-underline-offset: 0.2em;
}

.footer-credits__category-label {
    color: #ffd77a;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-credits__toolbar {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto auto;
    align-items: center;
    gap: 8px;
}

.footer-credits__search {
    display: flex;
    align-items: center;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(111, 207, 255, 0.2);
    color: #73b6d3;
    background: rgba(2, 8, 18, 0.72);
}

.footer-credits__search:focus-within {
    border-color: rgba(121, 218, 255, 0.72);
    box-shadow: 0 0 0 2px rgba(79, 184, 230, 0.1);
}

.footer-credits__search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin-left: 8px;
    border: 0;
    outline: 0;
    color: #dceef7;
    background: transparent;
    font: inherit;
    font-size: 10px;
    letter-spacing: 0.04em;
}

.footer-credits__filters {
    display: flex;
    gap: 4px;
}

.footer-credits__filter {
    min-height: 32px;
    padding: 5px 9px;
    border: 1px solid rgba(111, 207, 255, 0.16);
    color: #829eae;
    background: rgba(12, 25, 40, 0.66);
    font: inherit;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.footer-credits__filter:hover,
.footer-credits__filter:focus-visible,
.footer-credits__filter.is-active {
    border-color: rgba(117, 216, 255, 0.58);
    color: #cff1ff;
    background: rgba(55, 143, 185, 0.16);
}

.footer-credits__filter:focus-visible {
    outline: 2px solid rgba(117, 216, 255, 0.62);
    outline-offset: 2px;
}

.footer-credits__result-count {
    color: #7391a4;
    font-size: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.footer-credits__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    column-count: auto;
    list-style: none;
    font-size: 10px;
}

.footer-credits__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-content: start;
    gap: 7px;
    min-width: 0;
    margin: 0;
    padding: 9px;
    border: 1px solid rgba(116, 203, 239, 0.1);
    color: #91a9b8;
    background: rgba(7, 17, 30, 0.58);
    line-height: 1.45;
}

.footer-credits__item:hover {
    border-color: rgba(116, 203, 239, 0.26);
    color: #b9ceda;
    background: rgba(16, 34, 50, 0.7);
}

.footer-credits__item[hidden] {
    display: none;
}

.footer-credits__item-kind {
    align-self: start;
    padding: 2px 4px;
    border: 1px solid rgba(111, 207, 255, 0.16);
    color: #7fbdd7;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-credits__empty {
    margin: 0;
    padding: 18px;
    border: 1px dashed rgba(111, 207, 255, 0.2);
    color: #718d9e;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.changelog-release-group--featured-ui {
    overflow: hidden;
    padding: clamp(15px, 2.6vw, 22px);
    border-color: rgba(119, 218, 255, 0.4);
    border-left-color: #78dcff;
    background:
        radial-gradient(circle at 0 0, rgba(79, 203, 255, 0.18), transparent 38%),
        radial-gradient(circle at 100% 0, rgba(132, 111, 255, 0.16), transparent 38%),
        repeating-linear-gradient(90deg, transparent 0 44px, rgba(125, 218, 255, 0.024) 44px 45px),
        rgba(5, 13, 27, 0.88);
    box-shadow:
        inset 3px 0 0 rgba(120, 220, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 38px rgba(0, 8, 22, 0.26);
}

.changelog-featured-ui__header {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 13px;
    border-bottom: 1px solid rgba(118, 215, 255, 0.18);
}

.changelog-featured-ui__icon {
    display: grid;
    place-items: center;
    width: 42px;
    aspect-ratio: 1;
    border: 1px solid rgba(126, 221, 255, 0.42);
    color: #a6e8ff;
    background: rgba(72, 178, 225, 0.13);
    box-shadow: inset 0 0 16px rgba(90, 201, 248, 0.12);
}

.changelog-featured-ui__heading {
    display: grid;
    gap: 3px;
}

.changelog-featured-ui__heading .largeClass {
    margin: 0;
    color: #c9f1ff;
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: 0.1em;
}

.changelog-featured-ui__heading > :last-child {
    color: #7e9cad;
    font-size: 10px;
    line-height: 1.4;
}

.changelog-featured-ui__badge {
    padding: 5px 8px;
    border: 1px solid rgba(130, 119, 255, 0.42);
    color: #c5bdff;
    background: rgba(111, 90, 230, 0.1);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.changelog-featured-ui__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.changelog-featured-ui__grid > li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
    border: 1px solid rgba(115, 207, 243, 0.11);
    background: rgba(4, 12, 25, 0.52);
    color: #89a6b6;
    font-size: 9px;
    line-height: 1.45;
}

.changelog-featured-ui__grid > li > i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(111, 207, 255, 0.18);
    color: #81cde9;
    background: rgba(55, 157, 202, 0.08);
}

.changelog-featured-ui__grid > li > span {
    display: grid;
    align-content: start;
    gap: 2px;
}

.changelog-featured-ui__grid strong {
    color: #d4edf7;
    font-size: 10px;
    letter-spacing: 0.05em;
}

.changelog-release-group--summer {
    overflow: hidden;
    border-color: rgba(235, 224, 91, 0.34);
    border-left-color: #efe168;
    background:
        radial-gradient(circle at 0 0, rgba(242, 218, 68, 0.16), transparent 36%),
        radial-gradient(circle at 100% 0, rgba(70, 194, 220, 0.13), transparent 42%),
        repeating-linear-gradient(90deg, transparent 0 44px, rgba(237, 224, 91, 0.022) 44px 45px),
        rgba(5, 13, 25, 0.82);
    box-shadow:
        inset 3px 0 0 rgba(239, 225, 104, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.changelog-summer__header {
    border-bottom-color: rgba(235, 224, 91, 0.18);
}

.changelog-summer__icon {
    border-color: rgba(235, 224, 91, 0.38);
    color: #f2e878;
    background: rgba(226, 203, 62, 0.1);
    box-shadow: inset 0 0 16px rgba(235, 224, 91, 0.1);
}

.changelog-summer__badge {
    border-color: rgba(235, 224, 91, 0.38);
    color: #f0e99b;
    background: rgba(226, 203, 62, 0.08);
}

.changelog-summer__intro {
    margin: 0 0 8px;
    color: #dce9ec;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
}

.changelog-release-rarity-grid--summer {
    margin: 0;
    padding: 0;
    list-style: none;
}

.changelog-release-rarity-grid--summer > li {
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(235, 224, 91, 0.11);
    background: rgba(4, 12, 24, 0.5);
    color: #dce9ec;
}

.changelog-release-rarity-grid--summer .tinyClass {
    color: #91a8b1;
}

.changelog-summer__notes {
    margin-top: 12px;
}

@media (max-width: 1100px) {
    .masthead-console {
        align-items: stretch;
        flex-direction: column;
    }

    .masthead-console .masthead__controls {
        align-self: stretch;
        justify-content: flex-end;
    }

    .interface-footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-credits__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .masthead-console .masthead__brand {
        align-items: flex-start;
    }

    .masthead-console__title-row {
        align-items: flex-start;
    }

    .masthead-console__metadata {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-credits__toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .footer-credits__search {
        grid-column: 1 / -1;
    }

    .changelog-featured-ui__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .masthead-console {
        gap: 10px;
        padding: 12px;
    }

    .masthead-console .masthead__brand {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        grid-template-areas:
            "emblem rail"
            "emblem title"
            "metadata metadata";
        align-items: center;
        gap: 4px 10px;
    }

    .masthead-console .banner__emblem-stack {
        grid-area: emblem;
        width: 56px;
        margin-inline: 0;
    }

    .masthead-console__rail {
        grid-area: rail;
        align-self: end;
        padding-right: 118px;
        font-size: 7px;
        letter-spacing: 0.13em;
    }

    .masthead-console__rail::after {
        display: none;
    }

    .masthead-console .banner__title {
        font-size: clamp(18px, 5.9vw, 22px);
        margin-top: 10px;
        margin-bottom: 10px;
        line-height: 1.08;
        text-wrap: balance;
    }

    .masthead-console__title-row {
        grid-area: title;
        align-self: start;
        gap: 6px;
    }

    .masthead-console__status {
        top: 13px;
        right: 14px;
        font-size: 7px;
    }

    .masthead-console__metadata {
        grid-area: metadata;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        margin-top: 5px;
    }

    .masthead-console__version,
    .masthead-console__meta-card {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 8px;
        min-height: 52px;
        padding: 8px;
        font-size: 11px;
    }

    .masthead-console__version > span,
    .masthead-console .banner__subtitle-author > span {
        display: grid;
        gap: 2px;
    }

    .masthead-console .banner__subtitle-updated,
    .masthead-console .banner__subtitle-eon {
        grid-column: 1 / -1;
    }

    .masthead-console__meta-card small {
        font-size: 8px;
        letter-spacing: 0.11em;
    }

    .masthead-console__version > span strong {
        font-size: 12px;
    }

    .masthead-console__meta-card > i {
        font-size: 14px;
    }

    .masthead-console .banner__subtitle-updated time {
        white-space: nowrap;
    }

    .masthead-console .options-menu__surface {
        right: 0;
        left: auto;
        width: min(292px, calc(100vw - 54px));
        min-width: 0;
        max-width: calc(100vw - 54px);
        gap: 8px;
        padding: 14px;
    }

    .masthead-console .masthead__controls,
    .masthead-console .masthead__controls > .interface-toggle,
    .masthead-console .masthead__controls > .options-menu {
        width: 100%;
    }

    .interface-footer {
        padding: 12px;
    }

    .footer-credits__summary {
        grid-template-columns: 34px minmax(0, 1fr) 12px;
        padding: 8px 10px;
    }

    .footer-credits__summary-count {
        display: none;
    }

    .footer-credits__summary-copy > span {
        font-size: 8px;
    }

    .footer-credits__toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-credits__filters {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-credits__filter {
        min-width: 0;
        padding-inline: 4px;
    }

    .footer-credits__result-count {
        text-align: center;
    }

    .footer-credits__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .changelog-featured-ui__header {
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .changelog-featured-ui__icon {
        width: 36px;
    }

    .changelog-featured-ui__badge {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@container roll-feed-console (max-width: 420px) {
    .feed-toolbar__controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .feed-search {
        grid-column: auto;
    }

    .feed-share__menu {
        left: 0;
        right: 0;
        width: 100%;
        min-width: 0;
    }
}

@container parameter-environment (max-width: 540px) {
    .parameter-console__module--environment .biome-selector-row {
        grid-template-columns: minmax(0, 1fr);
    }
}

@container biome-shortcuts (max-width: 540px) {
    .parameter-console__module--actions .quick-action-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .parameter-console__module--actions .quick-action-group .interface-button,
    .parameter-console__module--actions .quick-action-group .interface-button:nth-child(n + 5) {
        grid-column: auto;
        min-height: 52px;
        padding: 8px 10px;
        gap: 8px;
        font-size: 10px;
        letter-spacing: 0.07em;
    }

}

@container biome-shortcuts (max-width: 340px) {
    .parameter-console__module--actions .quick-action-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .parameter-console__module--actions .quick-action-group .interface-button,
    .parameter-console__module--actions .quick-action-group .interface-button:last-child {
        grid-column: auto;
        justify-content: center;
        min-height: 50px;
        text-align: center;
    }

    .parameter-console__module--actions .quick-action-group > .interface-button {
        flex-direction: column;
    }

    .parameter-console__module--actions .quick-action-group .interface-button > span {
        flex: 1 1 auto;
        text-align: center;
    }

    .parameter-console__module--actions .quick-action-group .interface-button > span > [class*="sigil-outline-"] {
        font-size: 13px;
        letter-spacing: 0.01em;
    }
}

@media (max-width: 900px) {
    .parameter-console__module--environment .biome-selector-row > .form-field:last-child .interface-select__menu {
        right: 0;
        left: auto;
        transform-origin: top right;
    }
}

@media (max-width: 600px) {
    .support-float.support-float--collapsed {
        right: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: auto;
        width: 54px;
        height: 54px;
    }

    .support-float--collapsed .support-float__toggle {
        width: 54px;
        height: 54px;
        border-radius: 0;
    }
}

.masthead-console .masthead__controls {
    display: grid;
    grid-template-columns: minmax(94px, 0.9fr) minmax(124px, 1.1fr);
    align-items: stretch;
    gap: 8px;
    width: clamp(236px, 23vw, 320px);
    max-width: 100%;
    min-width: 0;
    margin-right: clamp(0px, 0.8vw, 10px);
    margin-left: auto;
    box-sizing: border-box;
}

.masthead-console .masthead__controls > .interface-toggle,
.masthead-console .masthead__controls > .options-menu,
.masthead-console .masthead__controls .options-menu__trigger {
    width: 100%;
    min-width: 0;
}

.masthead-console .masthead__help,
.masthead-console .options-menu__trigger {
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
}

.masthead-console .masthead__controls .interface-toggle:hover,
.masthead-console .masthead__controls .interface-toggle:focus-visible,
.masthead-console .masthead__controls .interface-toggle:active {
    --button-scale: 1;
    --button-raise: 0px;
}

.masthead-console .masthead__help {
    min-width: 0;
    padding-inline: 10px;
    line-height: 1.2;
}

.masthead-console .masthead__help > span {
    min-width: 0;
}

.masthead-console .options-menu__trigger {
    padding-inline: 14px 42px;
}

.masthead-console .options-menu__trigger::after {
    right: 15px;
    width: 10px;
    height: 10px;
}

.audio-modal__toggle {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 76px;
}

.audio-modal__toggle-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.audio-modal__toggle-description {
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.4;
}

.audio-modal__master-mute {
    flex: 0 0 auto;
    width: auto;
    min-width: 108px;
    padding-inline: 14px;
}

.audio-modal__master-mute[aria-pressed="true"] {
    --button-accent: #ffb37a;
    --button-border-color: rgba(255, 158, 96, 0.72);
    color: #ffd1ad;
}

.filter-modal__actions {
    justify-content: center;
    width: 100%;
}

.filter-modal__close,
.audio-modal__actions .filter-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    text-align: center;
}

.surface--modal.changelog-modal {
    overflow: hidden;
}

.changelog-modal__panels {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.changelog-modal__panel {
    flex: 1 1 auto;
    height: auto;
    max-height: 100%;
    min-height: 0;
    padding-bottom: clamp(20px, 3vh, 30px);
    scroll-padding-bottom: clamp(20px, 3vh, 30px);
}

.changelog-modal__actions {
    position: relative;
    inset: auto;
    flex: 0 0 auto;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 12px 0 0;
    background: linear-gradient(180deg, rgba(3, 8, 18, 0.3), rgba(3, 8, 18, 0.96));
    border-top: 1px solid rgb(var(--popup-accent-rgb) / 0.16);
}

.changelog-modal__close-bottom {
    position: relative;
    inset: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    text-align: center;
}

.help-tour {
    position: relative;
    isolation: isolate;
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(111, 216, 255, 0.34);
    background:
        radial-gradient(circle at 0 0, rgba(80, 206, 255, 0.16), transparent 35%),
        linear-gradient(120deg, rgba(41, 129, 178, 0.1), transparent 50%),
        rgba(3, 12, 25, 0.9);
    box-shadow: inset 0 0 28px rgba(64, 179, 228, 0.05);
    scroll-margin-top: 14px;
}

.help-tour-confetti {
    position: absolute;
    z-index: 5;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.help-tour-confetti__piece {
    position: absolute;
    top: 52%;
    left: 50%;
    width: var(--confetti-width, 7px);
    height: var(--confetti-height, 12px);
    border-radius: 1px;
    opacity: 0;
    color: var(--confetti-color, #77d9ff);
    background: currentColor;
    box-shadow: 0 0 7px currentColor;
    will-change: transform, opacity;
    animation: help-tour-confetti-burst var(--confetti-duration, 1400ms) cubic-bezier(.16, .72, .28, 1) var(--confetti-delay, 0ms) forwards;
}

.help-tour-confetti__piece--round {
    aspect-ratio: 1;
    height: auto;
    border-radius: 50%;
}

@keyframes help-tour-confetti-burst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(.3) rotate(0);
    }

    8% {
        opacity: 1;
    }

    52% {
        opacity: 1;
        transform:
            translate(
                calc(-50% + var(--confetti-x, 0px)),
                calc(-50% + var(--confetti-rise, -100px))
            )
            scale(1)
            rotate(var(--confetti-half-rotation, 180deg));
    }

    100% {
        opacity: 0;
        transform:
            translate(
                calc(-50% + var(--confetti-end-x, 0px)),
                calc(-50% + var(--confetti-fall, 120px))
            )
            scale(.82)
            rotate(var(--confetti-rotation, 540deg));
    }
}

body.quality-no-particles .help-tour-confetti,
body.quality-no-ui-animations .help-tour-confetti,
body.reduce-motion .help-tour-confetti {
    display: none;
}

.help-tour[hidden] {
    display: none;
}

.help-tour__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.help-tour__identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.help-tour__icon,
.help-tour__lesson-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(115, 220, 255, 0.34);
    color: #96e3ff;
    background: rgba(57, 160, 205, 0.12);
    box-shadow: inset 0 0 14px rgba(93, 211, 255, 0.08);
}

.help-tour__eyebrow,
.help-tour__lesson-number {
    display: block;
    color: #65b9d8;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.help-tour__header h3 {
    margin: 2px 0 0;
    color: #e8f8ff;
    font-size: 17px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.help-tour__start,
.help-tour__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid rgba(113, 215, 255, 0.28);
    color: #9edcf2;
    background: rgba(46, 137, 178, 0.1);
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.help-tour__start:hover,
.help-tour__start:focus-visible,
.help-tour__button:hover,
.help-tour__button:focus-visible {
    border-color: rgba(124, 225, 255, 0.72);
    color: #e5f9ff;
    background: rgba(57, 163, 205, 0.18);
}

.help-tour__start:focus-visible,
.help-tour__button:focus-visible,
.help-tour__steps button:focus-visible,
.help-tour-resume:focus-visible {
    outline: 2px solid rgba(124, 222, 255, 0.7);
    outline-offset: 2px;
}

.help-tour__button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.help-tour__progress-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #718f9f;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.help-tour__progress {
    height: 4px;
    overflow: hidden;
    background: rgba(66, 105, 128, 0.22);
}

.help-tour__progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #5bbfe7, #80efc0);
    box-shadow: 0 0 10px rgba(105, 218, 255, 0.48);
    transition: width 220ms ease;
}

.help-tour__lesson {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid rgba(111, 206, 244, 0.16);
    background: rgba(2, 9, 20, 0.56);
}

.help-tour__lesson--complete {
    border-color: rgba(108, 238, 181, 0.34);
    background: rgba(34, 123, 88, 0.1);
}

.help-tour__lesson-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
    color: #829cab;
    font-size: 12px;
    line-height: 1.55;
}

.help-tour__lesson-copy > strong {
    color: #dff4fc;
    font-size: 14px;
    letter-spacing: 0.045em;
}

.help-tour__task {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 3px;
    color: #9fc9d8;
}

.help-tour__task i {
    margin-top: 2px;
    color: #72d9ae;
}

.help-tour__actions {
    display: grid;
    grid-template-columns: minmax(90px, 0.8fr) minmax(120px, 1fr) minmax(110px, 1fr);
    gap: 8px;
}

.help-tour__button--try {
    border-color: rgba(114, 213, 255, 0.46);
    color: #ccefff;
    background: rgba(50, 155, 202, 0.16);
}

.help-tour__button--complete {
    border-color: rgba(104, 229, 174, 0.36);
    color: #bcebd6;
    background: rgba(43, 143, 102, 0.12);
}

.help-tour__steps {
    display: grid;
    grid-template-columns: repeat(9, minmax(24px, 1fr));
    gap: 5px;
}

.help-tour__steps button {
    min-width: 0;
    height: 25px;
    border: 1px solid rgba(107, 195, 229, 0.18);
    color: #658394;
    background: rgba(27, 83, 111, 0.08);
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.help-tour__steps button[aria-current="step"] {
    border-color: rgba(120, 221, 255, 0.72);
    color: #dbf6ff;
    background: rgba(62, 170, 214, 0.2);
}

.help-tour__steps .help-tour__step--complete {
    border-color: rgba(105, 230, 176, 0.42);
    color: #9be5c2;
    background: rgba(41, 139, 98, 0.14);
}

.help-tour-resume {
    position: fixed;
    z-index: 4200;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-width: 190px;
    padding: 9px 12px;
    border: 1px solid rgba(119, 221, 255, 0.62);
    color: #dff7ff;
    background:
        linear-gradient(110deg, rgba(50, 161, 207, 0.28), rgba(3, 13, 27, 0.98)),
        #071426;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.52), inset 0 0 18px rgba(87, 201, 245, 0.09);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.help-tour-resume[hidden] {
    display: none;
}

.help-tour-resume > i {
    color: #81dcff;
    font-size: 17px;
    text-align: center;
}

.help-tour-resume > span {
    display: grid;
    gap: 1px;
}

.help-tour-resume small {
    color: #6fa8be;
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.help-tour-resume strong {
    font-size: 11px;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.help-tour-target {
    position: relative;
    z-index: 44 !important;
    outline: 2px solid rgba(126, 226, 255, 0.92);
    outline-offset: 5px;
    box-shadow: 0 0 0 8px rgba(71, 189, 235, 0.1), 0 0 28px rgba(79, 203, 250, 0.32) !important;
    animation: help-tour-focus 1.3s ease-in-out infinite alternate;
}

@keyframes help-tour-focus {
    from {
        outline-color: rgba(112, 214, 255, 0.55);
    }
    to {
        outline-color: rgba(157, 240, 255, 1);
    }
}

@media (max-width: 1100px) {
    .masthead-console .masthead__controls {
        align-self: flex-end;
        width: min(430px, 100%);
        margin-right: 0;
    }
}

@media (max-width: 680px) {
    .masthead-console .masthead__controls {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-self: stretch;
        width: 100%;
    }

    .help-tour__header {
        grid-template-columns: minmax(0, 1fr);
    }

    .help-tour__start {
        width: 100%;
    }

    .help-tour__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .help-tour__button--quiet {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 420px) {
    .masthead-console .masthead__controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 4px;
    }

    .masthead-console .masthead__help,
    .masthead-console .options-menu__trigger {
        height: 46px;
        min-height: 46px;
        padding-inline: 9px;
        font-size: 10px;
        letter-spacing: 0.1em;
    }

    .masthead-console .masthead__help {
        gap: 4px;
    }

    .masthead-console .masthead__help i {
        font-size: 11px;
    }

    .masthead-console .options-menu__trigger {
        padding-right: 28px;
    }

    .audio-modal__toggle--master {
        align-items: stretch;
        flex-direction: column;
    }

    .audio-modal__master-mute {
        width: 100%;
    }

    .masthead-console .options-menu__trigger::after {
        right: 10px;
        width: 8px;
        height: 8px;
    }

    .help-tour {
        padding: 11px;
    }

    .help-tour__lesson {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 9px;
    }

    .help-tour__lesson-icon {
        width: 32px;
        height: 32px;
    }

    .help-tour__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .help-tour__button--quiet {
        grid-column: auto;
        grid-row: auto;
    }

    .help-tour__steps {
        grid-template-columns: repeat(5, minmax(24px, 1fr));
    }

    .help-tour-resume {
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 10px;
        width: auto;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .help-tour__progress > span,
    .help-tour-target {
        animation: none;
        transition: none;
    }
}

body.quality-no-ui-animations .help-tour__progress > span,
body.quality-no-ui-animations .help-tour-target {
    animation: none;
    transition: none;
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .feed-console {
    --feed-console-accent-rgb: var(--accent-rgb);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .surface--modal,
body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .surface--modal[data-popup-kind] {
    --popup-accent-rgb: var(--accent-rgb);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .surface--modal[data-popup-kind="archive"] {
    --popup-accent-rgb: var(--event-secondary-rgb);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .surface--modal[data-popup-kind="notice"] {
    --popup-accent-rgb: var(--event-tertiary-rgb);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .cutscene-warning-overlay,
body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .modal-overlay {
    background:
        linear-gradient(90deg, rgb(var(--accent-rgb) / 0.03) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(0deg, rgb(var(--accent-rgb) / 0.025) 1px, transparent 1px) 0 0 / 32px 32px,
        radial-gradient(circle at 50% 12%, rgb(var(--event-secondary-rgb) / 0.14), transparent 42%),
        rgba(1, 5, 13, 0.9);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .resource-panel {
    --surface-edge-accent: var(--accent);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .intro-overlay {
    background:
        radial-gradient(circle at 28% 18%, rgb(var(--accent-rgb) / 0.14), transparent 48%),
        radial-gradient(circle at 78% 24%, rgb(var(--event-secondary-rgb) / 0.11), transparent 42%),
        linear-gradient(180deg, rgba(2, 6, 14, 0.91), rgba(2, 4, 10, 0.97));
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .intro-overlay__panel {
    border-color: rgb(var(--accent-rgb) / 0.4);
    background:
        radial-gradient(circle at 100% 0, rgb(var(--event-secondary-rgb) / 0.1), transparent 34%),
        var(--surface-overlay-gradient);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.58),
        0 0 34px rgb(var(--accent-rgb) / 0.16);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .intro-overlay__start-button {
    border-color: rgb(var(--accent-rgb) / 0.72);
    color: var(--bg-base);
    background: linear-gradient(135deg, var(--accent-strong), var(--accent));
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.56),
        0 0 18px rgb(var(--accent-rgb) / 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .intro-overlay__start-button:hover {
    background: linear-gradient(135deg, #fff, var(--accent));
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.62),
        0 0 20px rgb(var(--accent-rgb) / 0.38);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .masthead-console {
    background:
        linear-gradient(90deg, rgb(var(--accent-rgb) / 0.1), transparent 28%, transparent 70%, rgb(var(--event-secondary-rgb) / 0.11)),
        repeating-linear-gradient(90deg, transparent 0 47px, rgb(var(--accent-rgb) / 0.028) 47px 48px),
        var(--surface-gradient);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .masthead-console::before {
    border-block-color: rgb(var(--accent-rgb) / 0.09);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .masthead-console__rail,
    .masthead-console__version,
    .site-footer__mark,
    .site-footer__eyebrow,
    .footer-credits__summary-icon,
    .footer-credits__summary-chevron
) {
    color: var(--accent);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .masthead-console__rail::after {
    background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.46), transparent);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .masthead-console .banner__title {
    color: var(--accent-strong);
    text-shadow: 0 0 18px rgb(var(--accent-rgb) / 0.24);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .masthead-console__version,
    .masthead-console__meta-card,
    .masthead-console .masthead__controls,
    .footer-credits,
    .footer-credits__item
) {
    border-color: rgb(var(--accent-rgb) / 0.2);
    background-color: rgb(var(--accent-rgb) / 0.035);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .masthead-console__version:hover,
    .masthead-console__version:focus-visible,
    .footer-credits__summary:hover,
    .footer-credits__summary:focus-visible,
    .footer-credits__filter:hover,
    .footer-credits__filter:focus-visible,
    .footer-credits__filter.is-active
) {
    border-color: rgb(var(--accent-rgb) / 0.7);
    color: var(--accent-strong);
    background: rgb(var(--accent-rgb) / 0.12);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .masthead__help {
    --button-accent: var(--accent);
    --button-border-color: rgb(var(--accent-rgb) / 0.52);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .interface-select__option--checkbox,
    .interface-select__option-button,
    .toggle
) {
    --button-accent: rgb(var(--accent-rgb) / 0.48);
    --button-border-color: rgb(var(--accent-rgb) / 0.3);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .interface-select__option--checkbox::before {
    background:
        radial-gradient(circle at 15% 20%, rgb(var(--accent-rgb) / 0.2), transparent 48%),
        radial-gradient(circle at 80% 80%, rgb(var(--event-secondary-rgb) / 0.13), transparent 55%);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .interface-select__option--checkbox:hover,
    .interface-select__option--checkbox:focus-within,
    .interface-select__option--checkbox.interface-select__option--active
) {
    border-color: rgb(var(--accent-rgb) / 0.68);
    box-shadow:
        inset 0 0 0 1px rgb(var(--accent-rgb) / 0.28),
        inset 0 0 22px rgb(var(--accent-rgb) / 0.1),
        0 12px 26px rgba(4, 10, 24, 0.48);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .interface-select__option--checkbox.interface-select__option--active .interface-select__option-label {
    text-shadow: 0 0 8px rgb(var(--accent-rgb) / 0.3);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .interface-select__option--checkbox input[type="checkbox"]:checked {
    border-color: rgb(var(--accent-rgb) / 0.82);
    background: rgb(var(--accent-rgb) / 0.13);
    box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.28);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .form-field__input:focus,
    .toggle:hover,
    .toggle:focus-within
) {
    box-shadow:
        0 0 0 2px rgb(var(--accent-rgb) / 0.22),
        inset 0 0 16px rgb(var(--accent-rgb) / 0.13);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .toggle__track {
    border-color: rgb(var(--accent-rgb) / 0.3);
    box-shadow: inset 0 0 12px rgb(var(--accent-rgb) / 0.16);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .toggle__thumb,
body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .toggle__input:checked + .toggle__track + .toggle__thumb {
    background: linear-gradient(160deg, var(--accent-strong), var(--accent));
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .help-center {
    border-top-color: rgb(var(--accent-rgb) / 0.58);
    background:
        linear-gradient(90deg, rgb(var(--accent-rgb) / 0.1), transparent 28%, transparent 70%, rgb(var(--event-secondary-rgb) / 0.11)),
        repeating-linear-gradient(90deg, transparent 0 52px, rgb(var(--accent-rgb) / 0.025) 52px 53px),
        var(--surface-overlay-gradient);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .help-center::before {
    background: linear-gradient(90deg, var(--accent), transparent);
    box-shadow: 0 0 16px rgb(var(--accent-rgb) / 0.44);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .help-center__header,
    .help-center__sidebar,
    .help-center__search,
    .help-card,
    .help-tour,
    .help-tour__lesson
) {
    border-color: rgb(var(--accent-rgb) / 0.2);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .help-center__header-icon,
    .help-card__index,
    .help-tour__icon,
    .help-tour__lesson-icon
) {
    border-color: rgb(var(--accent-rgb) / 0.38);
    color: var(--accent);
    background: rgb(var(--accent-rgb) / 0.11);
    box-shadow: inset 0 0 16px rgb(var(--accent-rgb) / 0.1);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .help-center__eyebrow,
    .help-card__kicker,
    .help-tour__eyebrow,
    .help-tour__lesson-number
) {
    color: var(--accent);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .help-card li::marker {
    color: var(--accent);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .help-card--featured {
    border-color: rgb(var(--accent-rgb) / 0.4);
    background:
        radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.15), transparent 40%),
        linear-gradient(110deg, rgb(var(--event-secondary-rgb) / 0.08), transparent 52%),
        rgba(5, 14, 27, 0.78);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .help-center__nav button:hover,
    .help-center__nav button:focus-visible,
    .help-center__nav button[aria-current="true"],
    .help-card__jump:hover,
    .help-card__jump:focus-visible,
    .help-tour__start:hover,
    .help-tour__start:focus-visible,
    .help-tour__button:hover,
    .help-tour__button:focus-visible
) {
    border-color: rgb(var(--accent-rgb) / 0.58);
    color: var(--accent-strong);
    background: linear-gradient(90deg, rgb(var(--accent-rgb) / 0.16), transparent);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .help-card__note,
    .help-card__jump,
    .help-tour__start,
    .help-tour__button,
    .help-tour__steps button,
    .help-tour-resume
) {
    border-color: rgb(var(--accent-rgb) / 0.3);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .help-tour__progress > span {
    background: linear-gradient(90deg, var(--accent), rgb(var(--event-tertiary-rgb)));
    box-shadow: 0 0 10px rgb(var(--accent-rgb) / 0.5);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .help-tour-resume {
    color: var(--accent-strong);
    background:
        linear-gradient(110deg, rgb(var(--accent-rgb) / 0.24), rgba(3, 13, 27, 0.98)),
        var(--bg-base);
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.52),
        inset 0 0 18px rgb(var(--accent-rgb) / 0.1);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .help-tour-target {
    outline-color: rgb(var(--accent-rgb) / 0.92);
    box-shadow:
        0 0 0 8px rgb(var(--accent-rgb) / 0.1),
        0 0 28px rgb(var(--accent-rgb) / 0.34) !important;
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) .interface-footer {
    border-color: rgb(var(--accent-rgb) / 0.32);
    background:
        radial-gradient(circle at 0 0, rgb(var(--accent-rgb) / 0.08), transparent 32%),
        linear-gradient(110deg, rgb(var(--event-secondary-rgb) / 0.06), transparent 56%),
        var(--surface-gradient);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .site-footer__mark,
    .footer-credits,
    .footer-credits__summary-icon,
    .footer-credits__summary-count,
    .footer-credits__panel,
    .footer-credits__search,
    .footer-credits__filter,
    .footer-credits__item,
    .footer-credits__item-kind,
    .footer-credits__empty
) {
    border-color: rgb(var(--accent-rgb) / 0.24);
}

body:is(
    .theme-event-valentine,
    .theme-event-april-fools,
    .theme-event-halloween,
    .theme-event-summer,
    .theme-event-easter,
    .theme-event-winter
) :is(
    .footer-credits__featured a,
    .footer-credits__item a,
    .footer-credits__item-kind
) {
    color: var(--accent);
    text-decoration-color: rgb(var(--accent-rgb) / 0.44);
}

body.theme-event-april-fools .april-fools-copy {
    color: var(--accent-strong);
    text-decoration: underline dashed rgb(var(--event-secondary-rgb) / 0.65);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.28em;
    text-shadow:
        1px 0 rgb(var(--event-secondary-rgb) / 0.26),
        -1px 0 rgb(var(--event-tertiary-rgb) / 0.18);
}

.changelog-release-group--events {
    overflow: hidden;
    border-color: rgba(171, 157, 255, 0.35);
    border-left-color: #ae9dff;
    background:
        radial-gradient(circle at 0 0, rgba(255, 221, 110, 0.1), transparent 32%),
        radial-gradient(circle at 100% 0, rgba(168, 119, 255, 0.13), transparent 38%),
        repeating-linear-gradient(90deg, transparent 0 44px, rgba(160, 218, 255, 0.02) 44px 45px),
        rgba(5, 12, 24, 0.84);
    box-shadow:
        inset 3px 0 0 rgba(174, 157, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.changelog-events__header {
    border-bottom-color: rgba(174, 157, 255, 0.2);
}

.changelog-events__icon {
    border-color: rgba(174, 157, 255, 0.4);
    color: #c3b7ff;
    background: rgba(141, 112, 255, 0.11);
    box-shadow: inset 0 0 16px rgba(174, 157, 255, 0.1);
}

.changelog-events__badge {
    border-color: rgba(174, 157, 255, 0.4);
    color: #d5ccff;
    background: rgba(141, 112, 255, 0.09);
}

.changelog-event-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.changelog-event-card {
    --event-card-rgb: 127 227 255;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgb(var(--event-card-rgb) / 0.2);
    background:
        linear-gradient(110deg, rgb(var(--event-card-rgb) / 0.09), transparent 48%),
        rgba(4, 11, 22, 0.6);
    color: #8fa7b6;
    font-size: 9px;
    line-height: 1.5;
}

.changelog-event-card > i {
    display: grid;
    place-items: center;
    width: 28px;
    aspect-ratio: 1;
    border: 1px solid rgb(var(--event-card-rgb) / 0.3);
    color: rgb(var(--event-card-rgb));
    background: rgb(var(--event-card-rgb) / 0.08);
    filter: drop-shadow(0 0 7px rgb(var(--event-card-rgb) / 0.28));
}

.changelog-event-card > span {
    min-width: 0;
}

.changelog-event-card strong {
    display: block;
    margin-bottom: 2px;
    color: #e7f1f5;
    font-size: 10px;
    letter-spacing: 0.07em;
}

.changelog-event-card--summer {
    --event-card-rgb: 255 226 126;
}

.changelog-event-card--winter {
    --event-card-rgb: 148 221 255;
}

.changelog-event-card--valentine {
    --event-card-rgb: 255 157 198;
}

.changelog-event-card--april {
    --event-card-rgb: 220 255 114;
}

.changelog-event-card--halloween {
    --event-card-rgb: 255 155 69;
    grid-column: 1 / -1;
}

.changelog-events__note {
    margin: 11px 0 0;
    padding: 9px 10px;
    border-left: 2px solid rgba(174, 157, 255, 0.55);
    color: #91a8b7;
    background: rgba(139, 112, 255, 0.06);
    font-size: 9px;
    line-height: 1.55;
}

@media (max-width: 680px) {
    .changelog-event-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .changelog-event-card--halloween {
        grid-column: auto;
    }
}

.sigil-wiki-aura {
    display: inline !important;
    position: static !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: inherit !important;
    -webkit-text-fill-color: initial !important;
    -webkit-text-stroke: 0 transparent !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: normal !important;
    font-weight: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    filter: none !important;
    animation: none !important;
}

.sigil-wiki-aura::before,
.sigil-wiki-aura::after {
    content: none !important;
}

.sigil-wiki {
    position: relative;
    display: inline-block;
    isolation: isolate;
    white-space: nowrap;
    vertical-align: baseline;
}

.sigil-wiki__suffix {
    color: var(--text-primary, #f5f8ff) !important;
    -webkit-text-fill-color: currentColor !important;
    -webkit-text-stroke: 0 transparent !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-style: normal !important;
    font-weight: inherit !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-shadow: none !important;
    filter: none !important;
}

.sigil-wiki__layer {
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki__layer--back {
    position: absolute;
}

.sigil-wiki__layer--front {
    position: relative;
}

.sigil-wiki__text-stroke::before {
    content: attr(data-text);
    position: absolute;
    z-index: 0;
}

.sigil-wiki > .sigil-wiki__face {
    position: relative;
}

.sigil-wiki--dream-star {
    font-size: 150%;
    background: linear-gradient(to bottom, #ed77f8 25%, #eb75f7 35%, #ffebff 40%, #e064ef 50%, #ffedff 60%, #dc61ed 70%, #db5feb 75%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .6px #000;
}

.sigil-wiki--court {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 700;
}

.sigil-wiki__court-stroke::before {
    content: attr(data-text);
    position: absolute;
}

.sigil-wiki__court-stroke--outer::before {
    -webkit-text-stroke: 2px #3e1500;
}

.sigil-wiki__court-stroke--inner::before {
    -webkit-text-stroke: 1px #dcb79a;
}

.sigil-wiki--court .sigil-wiki__face {
    background: linear-gradient(175deg, #48291a 37%, #c59568 40%, #fffaf4 42%, #fffaf4 53%, #c99f76 55%, #6b4023 58%, #2a2225 71%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--empty {
    font-family: "Noto Sans TC", sans-serif;
    font-style: italic;
    background-image: linear-gradient(120deg, rgb(0 0 0 / 50%) 30%, #000 30% 50%, transparent 50%), repeating-radial-gradient(circle, #fff, #000 0.000003em);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    animation: sigil-wiki-empty 2s linear infinite;
}

@keyframes sigil-wiki-empty {
    0%, 100% {
        background-image: linear-gradient(120deg, rgb(0 0 0 / 50%) 30%, #000 30% 50%, transparent 50%), repeating-radial-gradient(circle, #fff, #000 0.000003em);
    }
    17% {
        background-image: linear-gradient(70deg, #000 40% 70%, transparent 70%), repeating-radial-gradient(circle, #fff, #000 0.000003em);
    }
    34% {
        background-image: linear-gradient(10deg, rgb(0 0 0 / 50%) 10%, transparent 10% 30%, #000 30% 70%, transparent 70% 75%, #000 75%), repeating-radial-gradient(circle, #fff, #000 0.000003em);
    }
    51% {
        background-image: linear-gradient(240deg, #000 30%, rgb(0 0 0 / 50%) 30% 70%, #000 70%), repeating-radial-gradient(circle, #fff, #000 0.000003em);
    }
    68% {
        background-image: linear-gradient(320deg, #000 10%, rgb(0 0 0 / 50%) 20% 40%, #000 40% 45%, transparent 45% 60%, #000 60%), repeating-radial-gradient(circle, #fff, #000 0.000003em);
    }
    85% {
        background-image: linear-gradient(190deg, rgb(0 0 0 / 50%) 40%, #000 40% 70%, transparent 70%), repeating-radial-gradient(circle, #fff, #000 0.000003em);
    }
}

.sigil-wiki--neferkhaf {
    font-family: Kings, serif;
    font-size: 120%;
    font-weight: 400;
    letter-spacing: .4em;
}

.sigil-wiki--neferkhaf .sigil-wiki__layer--back {
    background: linear-gradient(to bottom, #cdc4b5 36%, #fff6ef 40%, #9a8176 44%, #f6f5ec 70%);
    -webkit-text-stroke: .15em transparent;
}

.sigil-wiki--neferkhaf .sigil-wiki__layer--front {
    background: linear-gradient(178deg, #4b3116 30%, #dbc5b0 40%, #5f4630 50%, #d7c19a 60%, #9e8664 65%, #ffeacf, #4f3924 70%, #d5bda3, #492f16 90%, #d4bd9d, #8d755b, #e2ceb5, #a49078);
    background-size: 1900% 100%;
    -webkit-text-stroke: .03em #3f291c;
    animation: sigil-wiki-neferkhaf-gradient 7s ease-in-out infinite;
}

@keyframes sigil-wiki-neferkhaf-gradient {
    0%, 100% { background-position: 0 50%; }
    50% { background-position: 100% 50%; }
}

.sigil-wiki--memory {
    font-family: Merriweather, serif;
    font-style: italic;
}

.sigil-wiki--memory .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: 1px #000;
}

.sigil-wiki--memory .sigil-wiki__face {
    background: linear-gradient(to bottom, #1200a0 20%, #341ef1 30%, #5945ff 35%, #7667ff 40%, #6a36ff 50%, #3c0de3 65%, #1f0993 75%, #130565 90%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--oblivion {
    font-family: Fondamento, serif;
    font-style: italic;
    font-weight: 700;
}

.sigil-wiki--oblivion .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: 2px #000;
}

.sigil-wiki--oblivion .sigil-wiki__face {
    background: linear-gradient(10deg, #331f86 30%, #b449f3 50%, #fd85ff, #fba2ff 65%, #f8b7fb, #fed3ff, #fce8ff);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--crimson-fragment {
    font-family: "Noto Serif SC", "Noto Serif TC", serif;
    background: linear-gradient(175deg, #920302 20%, #fb4f46 46.3%, #fe998b 48.3%, #ffebbb 48.6%, #feba81 49%, #ef2712 50%, #fe7268 51%, #920302 70%);
    background-size: 2000% 100%;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 1px #fb4f4b) drop-shadow(0 0 1px #fb4f4b) drop-shadow(0 0 1.5px #cf1210) drop-shadow(0 0 1.5px #cf1210);
    animation: sigil-wiki-crimson-fragment 12s linear infinite;
}

@keyframes sigil-wiki-crimson-fragment {
    0% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

.sigil-wiki--prowler {
    font-family: Sarpanch, sans-serif;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(181deg, #0024ad 30%, #4ea3ff 40%, #1761fe 60%, #67b6ff 70%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .4px #0024ad;
}

.sigil-wiki--oppression {
    width: 10.5em;
    font-family: "PT Serif", serif;
    letter-spacing: .3125em;
    background: #fff;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    animation: oppressionGradient 2s linear infinite;
}

.sigil-wiki--illusionary {
    color: #eff4fc;
    font-family: "Roboto Mono", monospace;
    font-style: italic;
    animation: sigil-wiki-illusionary-color 1.8s steps(2, end) infinite;
}

@keyframes sigil-wiki-illusionary-color {
    0%, 100% { color: #eff4fc; text-shadow: 1px 0 0 #0302d2; }
    50% { color: #0302d2; text-shadow: -1px 0 0 #eff4fc; }
}

.sigil-wiki--clockwork {
    font-family: Fondamento, serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .23em;
}

.sigil-wiki--clockwork .sigil-wiki__layer--back {
    background: linear-gradient(to bottom, #fbfeff 25%, #d0d7e1 50%, #070c11 60%, #fff 60%, #cbd2dd 65%, #03090d 69%);
    -webkit-text-stroke: .8px transparent;
}

.sigil-wiki--clockwork .sigil-wiki__layer--front {
    background: linear-gradient(to bottom, #04080c 25%, #707b8c 45%, #ced5e1 55%, #fff 55%, #fdffff 60%, #010407 60%, #a7b1bf 67%, #fff 72%);
}

.sigil-wiki--dreammetric {
    font-family: "Playfair Display", serif;
    letter-spacing: .2em;
}

.sigil-wiki--dreammetric .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: 1.5px #ffecff;
}

.sigil-wiki--dreammetric .sigil-wiki__face {
    background: linear-gradient(to bottom, #fffcff 35%, #ffd9ff 45%, #fff1ff 50%, #ffabff 55% 65%, #ffeeff 75%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--fault {
    font-family: Zekton, Michroma, sans-serif;
}

.sigil-wiki--fault .sigil-wiki__layer--back {
    background: linear-gradient(0deg, rgb(0 32 0) 25%, rgb(0 115 0) 40%, rgb(0 148 0) 55%, rgb(0 115 0) 65%, rgb(0 32 0) 75%);
    -webkit-text-stroke: 2.9px transparent;
}

.sigil-wiki--fault .sigil-wiki__layer--front {
    background: linear-gradient(0deg, rgb(112 210 112) 20%, rgb(200 255 200) 30%, rgb(225 255 255) 50%, rgb(175 255 175) 70%, rgb(94 158 92) 75%);
}

.sigil-wiki--megaphone {
    padding: .1em;
    font-family: Silkscreen, monospace;
    background: linear-gradient(to bottom, #2faca6 30%, #49c793);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: #005257;
    -webkit-text-stroke: 1.5px transparent;
}

.sigil-wiki--meta {
    padding: .1em;
    color: #f1f4ff;
    background: #0000fc;
    font-family: "Josefin Sans", sans-serif;
}

.sigil-wiki--meta > span {
    filter: drop-shadow(1px 0 0 #09089e);
}

.sigil-wiki--cryogenic {
    font-family: Kings, serif;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .3em;
}

.sigil-wiki--cryogenic .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: 1px #7690bf;
}

.sigil-wiki--cryogenic .sigil-wiki__face {
    background: linear-gradient(to bottom, #a6c7f2 20%, #e2f1f9 50%, #cdece4 65%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--astrald {
    font-family: "Apple Garamond", Garamond, serif;
    transform: skewX(-10deg);
}

.sigil-wiki--astrald .sigil-wiki__layer--back {
    background: linear-gradient(to bottom, #b0b1ba 30%, #787983 35%, #6c6f7b 38%, #676f74 42%, #333b41 45%, #4a5053 47%, #2a2d34 55%, #97989e 57%, #6e7177 60%, #888b91 63%, #707479 66%, #abafb5 69%, #68686d 70%, #87888d 71%);
    -webkit-text-stroke: 1.5px transparent;
}

.sigil-wiki--astrald .sigil-wiki__layer--front {
    background: linear-gradient(to bottom, #31343c 25%, #ebefee 35%, #f8fcfb 58%, #010103 60%, #c5cac9 75%);
}

.sigil-wiki--crimson-seeker,
.sigil-wiki--crimson-observer {
    font-family: "Noto Serif SC", "Noto Serif TC", serif;
    font-style: italic;
}

.sigil-wiki__crimson-stroke::before {
    content: attr(data-text);
    position: absolute;
}

.sigil-wiki--crimson-seeker .sigil-wiki__crimson-stroke--outer::before { -webkit-text-stroke: 2px #963142; }
.sigil-wiki--crimson-seeker .sigil-wiki__crimson-stroke--inner::before { -webkit-text-stroke: 1px #c01a3f; }
.sigil-wiki--crimson-observer .sigil-wiki__crimson-stroke--outer::before { -webkit-text-stroke: 2px #e00c05; }
.sigil-wiki--crimson-observer .sigil-wiki__crimson-stroke--inner::before { -webkit-text-stroke: .3px #ff9f9f; }

.sigil-wiki--crimson-seeker .sigil-wiki__face,
.sigil-wiki--crimson-observer .sigil-wiki__face {
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--crimson-seeker .sigil-wiki__face {
    background-image: linear-gradient(to bottom, #8d3546 25%, #541622 30%, #982330 35%, #6a0713 40%, #e53955 80%);
}

.sigil-wiki--crimson-observer .sigil-wiki__face {
    background-image: linear-gradient(to bottom, #220000 50%, #e20c0d 80%);
}

.sigil-wiki--borealis {
    font-family: Tangerine, cursive;
    font-size: 140%;
    letter-spacing: .2em;
    background: linear-gradient(to bottom, #e8b5f8 6%, #fde2ff 8%, #ec96fa 90%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: rgb(0 0 0 / 20%);
    -webkit-text-stroke: 2px transparent;
}

.sigil-wiki--glitch {
    min-width: 12em;
}

.sigil-wiki__glitch-title::after {
    content: "GLITCH";
    position: absolute;
    background: linear-gradient(to bottom, #131323 41%, #4f3d91 42%, #1b0f47 45%, #4a3e7a 50%, #040b22 55%, #21135c 60%, #02011a 62%, #422d8e 75%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: #000;
    -webkit-text-stroke: 2px transparent;
    letter-spacing: .2em;
    filter: saturate(2);
    animation: sigil-wiki-glitch-font 4s linear infinite, glitch-title-stroke 25s linear infinite, glitch-title-content 3s linear infinite;
}

.sigil-wiki__glitch-space {
    color: transparent;
    font-family: "Press Start 2P", monospace;
    letter-spacing: .4em;
}

@keyframes sigil-wiki-glitch-font {
    0%, 60% { font-family: Jura, sans-serif; }
    8% { font-family: Michroma, sans-serif; }
    16%, 72% { font-family: Arial, sans-serif; }
    24%, 88% { font-family: Sarpanch, sans-serif; }
    32% { font-family: "Noto Serif TC", serif; }
    40% { font-family: "Comic Neue", cursive; }
    48% { font-family: "Amatic SC", cursive; }
    56% { font-family: Creepster, cursive; }
    64% { font-family: Fondamento, serif; }
    80% { font-family: "Luckiest Guy", cursive; }
    96%, 100% { font-family: "Noto Serif TC", serif; font-weight: 700; }
}

.sigil-wiki--innovator {
    font-family: Audiowide, Michroma, sans-serif;
    font-size: 125%;
    background: linear-gradient(180deg, #bc6afd, #5c41ac 40%, #8077e0 50%, #acb3ff 55%, #887dc9);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: #3b3692;
    -webkit-text-stroke: .125em transparent;
}

.sigil-wiki--monarch {
    font-family: Kings, serif;
    font-style: italic;
    letter-spacing: .25em;
}

.sigil-wiki--monarch .sigil-wiki__layer--back {
    background: linear-gradient(177deg, #ffe2ff 25%, #3f18e9 35%, #f3caff 36%, #4b1ee0 45%, #fff2ff 60%, #4623e6 61%, #924fff 70%);
    -webkit-text-stroke: 2px transparent;
}

.sigil-wiki--monarch .sigil-wiki__layer--front {
    background: linear-gradient(185deg, #04003b 20%, #2b04c5 30%, #010035 50% 65%, #3c08c9 75%);
}

.sigil-wiki--ascendant {
    font-family: "Playfair Display", serif;
    font-style: italic;
}

.sigil-wiki--ascendant .sigil-wiki__layer--back {
    background: linear-gradient(to bottom, #7c321c 22%, #2d140d 35% 42%, #f1b883 45%, #fffadd 50%, #f5bd89 55%, #3f160a 57% 58%, #e59475 61%, #ffe8d4 63%, #cd7757 66%, #220801 69%, #b74635 80%);
    -webkit-text-stroke: 1px transparent;
}

.sigil-wiki--ascendant .sigil-wiki__layer--front {
    background: linear-gradient(to bottom, #ffeddd 25%, #fffff7 30% 40%, #fff8dc 42%, #fff3d1 60%, #f3b07e 63%, #47130e 66%, #eca375 70%, #fff3d2 75%, #ffcd9b 84%);
}

.sigil-wiki--astraios {
    font-family: "Playfair Display", serif;
    font-style: italic;
    letter-spacing: .15em;
}

.sigil-wiki--astraios .sigil-wiki__layer--back {
    background: linear-gradient(to bottom, #b6b3a2 35%, #54484a 45%, #173532 65%);
    -webkit-text-stroke: 2px transparent;
}

.sigil-wiki--astraios .sigil-wiki__layer--front {
    background: linear-gradient(to bottom, #58685d 20%, #517064 35%, #42c297 50%, #67e1c1 65%);
}

.sigil-wiki--yolkegg {
    font-family: Michroma, sans-serif;
    font-style: italic;
    font-weight: bold;
}

.sigil-wiki--yolkegg .sigil-wiki__layer--back {
    background: linear-gradient(178deg, #bdc6ff 25%, #b682ff 30%, #f5ebff 40%, #cb76ff 45%, #f397ff 50%, #d8a2ff 54%, #92a2ff 60%, #bccdff 70%, #6628ff 76%);
    -webkit-text-stroke: 2px transparent;
}

.sigil-wiki--yolkegg .sigil-wiki__layer--front {
    background: linear-gradient(182deg, #9983dd 25%, #0b1adc 30%, #3c83ff 37%, #183fe9 40%, #1b0ebf 46%, #2511ff 48%, #ba6dff 55%, #401fef 62%, #0c146f 70%, #54427b 75%, #7d58af 82%);
}

.sigil-wiki--leviathan {
    font-family: "Playfair Display", serif;
    letter-spacing: .15em;
    background: linear-gradient(178deg, #4dd0cc 30%, #153a3e 38%, #9dfdfd 40%, #9af8fb 48%, #124245 50%, #2ed4d2 52%, #23454e 65%, #62cac6 67%, #518488 80%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: rgb(0 0 0 / 50%);
    -webkit-text-stroke: .1em transparent;
}

.sigil-wiki--lamenthyr {
    font-family: Kings, serif;
    font-style: italic;
}

.sigil-wiki--lamenthyr .sigil-wiki__layer--back {
    background: linear-gradient(178deg, #e53a2d 20%, #ffb4a3 26%, #950d05 35%, #950d05 45%, #ffbab0 48%, #950d05 51%, #ffbab0 54%, #ff7069 59%, #630400 65%, #ff837e 79%);
    -webkit-text-stroke: .1em transparent;
}

.sigil-wiki--lamenthyr .sigil-wiki__layer--front {
    background: linear-gradient(178deg, #420000 35%, #420000 45%, #ffc3b6 50%, #420000 60%);
}

.sigil-wiki--sky-festival {
    font-family: Tangerine, cursive;
    font-size: 170%;
    font-style: italic;
    filter: brightness(2.5);
}

.sigil-wiki--sky-festival .sigil-wiki__layer {
    background: linear-gradient(170deg, #b7a045 16%, #b79074 20%, #544334 24%, #b79a58 35%, #5a35ff 36%, #7c81ff 41%, #5e69f7 44%, #4235a2 46%, #b2916e 47% 48%, #413afc 50% 53%, #4165bd 55%, #303985 60%, #5f4cff 75%);
    -webkit-text-fill-color: rgb(0 0 0 / 50%);
}

.sigil-wiki--sky-festival .sigil-wiki__layer--back {
    transform: translate(-1.6px, 1px);
    -webkit-text-stroke: 2px rgb(0 0 0 / 50%);
}

.sigil-wiki--sky-festival .sigil-wiki__layer--front {
    -webkit-text-stroke: 2px transparent;
}

.sigil-wiki--breakthrough-frame {
    padding: .3em .15em;
    background: transparent;
    background-clip: padding-box;
    border: .06em solid transparent;
    border-image: linear-gradient(130deg, #fff 1%, transparent 1.5%, transparent 3%, #fff 3.5%, #fff 5%, transparent 5.5%, transparent 7%, #fff 7.5%, #fff 9%, #c3cfe4 9.5%, transparent 20%, transparent 94.5%, #fff 95%, #fff 95.5%, transparent 96%, transparent 96.5%, #fff 97%, #fff 98%, transparent 98.5%, transparent 99%, #fff 99.5%) 1;
}

.sigil-wiki__breakthrough-panel {
    padding: .1em;
    background: linear-gradient(140deg, #fff 4.5%, transparent 5%, transparent 6.5%, #fff 7%, #fff 7.5%, transparent 8%, transparent 8.5%, #fff 9%, #fff 9.5%, #bac7dc 10%, transparent 15%, #0a0a0a 25%);
    background-clip: padding-box;
    border: .01em solid transparent;
    border-width: .01em .01em 0;
    border-image: linear-gradient(120deg, #fff 5%, #a4b1c4 8%, transparent 25%, transparent 80%, #c8d0d1 93%) 1;
}

.sigil-wiki__breakthrough-text {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    letter-spacing: .2em;
    background: linear-gradient(174deg, #fff 17%, #0c0c0b 18%, #323a4d 25%, #0d0d0c 30%, #fff 31%, #fff 33%, #0b0b0a 34%, #0b0b0a 37%, #fefeff 38%, #fefeff 40%, #15181c 41%, #9cb2cf 49%, #0c0d0e 50%, #2d2f37 53%, #0c0c0d 57%, #9bb0ce 58%, #101215 66%, #fff 67%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .3px #d3e0f6;
    filter: drop-shadow(.5px 1px 0 #0c0c0b) drop-shadow(.5px 1px 0 #77839d);
}

.sigil-wiki--luminosity {
    font-family: Kings, serif;
    letter-spacing: .2em;
    background: linear-gradient(to bottom, #8dbbed 30%, #7e9fe1 40%, #14232c 55%, #7690c9 60%, #d2e4fb 60%, #203976 65%, #6ca1e7 70%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: #fdffff;
    -webkit-text-stroke: 2px transparent;
}

.sigil-wiki__luminosity-bracket {
    font-family: Kings, serif;
    font-size: 150%;
    background: linear-gradient(to bottom, #789fe8 10%, #d7ecff 35%, #24436d 45%, #cce9fd 45%, #405c6e 57%, #8eaad5 60%, #e3f2ff 65%, #c8dffd 70%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: #fdffff;
    -webkit-text-stroke: 2px transparent;
}

.sigil-wiki--erebus {
    font-family: "Noto Serif TC", serif;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #523123 20%, #661f03 22%, #8c3e30 24%, #882b19 30%, #6b170c 37%, #801b1b 45%, #c03946 50%, #63182d 55%, #6c1730 60%, #6c1730 67%, #850546 75%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: rgba(0, 0, 0, .7);
    -webkit-text-stroke: 2px transparent;
    clip-path: inset(.21em 0 .245em);
}

.sigil-wiki--dreamcatcher {
    font-family: Parisienne, cursive;
    font-size: 120%;
}

.sigil-wiki__dreamcatcher-dream,
.sigil-wiki__dreamcatcher-catcher {
    display: inline-block;
}

.sigil-wiki__dreamcatcher-dream {
    font-size: 60%;
    transform: translate(.3em, -2em);
}

.sigil-wiki__dreamcatcher-dream .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: .5px #7064b7;
}

.sigil-wiki__dreamcatcher-catcher .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: 1px #7064b7;
}

.sigil-wiki__dreamcatcher-dream > span:last-child,
.sigil-wiki__dreamcatcher-catcher > span:last-child {
    position: relative;
    background: linear-gradient(to bottom, #b4a7f5 20%, #fcf9ff 30%, #fff 50%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--winter-garden {
    font-family: Parisienne, cursive;
    font-size: 125%;
}

.sigil-wiki--winter-garden .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: .1em #000;
}

.sigil-wiki__winter-garden-glow,
.sigil-wiki__winter-garden-face {
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki__winter-garden-glow {
    position: absolute;
    background: linear-gradient(to bottom, #7ef1ff 22%, #513a6d 35%, #968efc 50%, #352148 75%);
    -webkit-text-stroke: .05em transparent;
}

.sigil-wiki__winter-garden-face {
    position: relative;
    background: linear-gradient(to bottom, #a2b9ea 20%, #8980ff 35%, #7c68cf 50%, #e0d8fa 75%);
}

.sigil-wiki--frostveil {
    font-family: Kings, serif;
    font-size: 120%;
}

.sigil-wiki__frostveil-sovereign {
    display: inline-block;
    filter: opacity(.5);
    transform: scale(.7) translate(-.6em, -1.7em);
}

.sigil-wiki__frostveil-sovereign .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: .8px #bef6ff;
}

.sigil-wiki__frostveil-sovereign > span:last-child {
    position: absolute;
    background: linear-gradient(to bottom, #000d28 30%, #0022ba 45%, #000d28 60%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki__frostveil-colon {
    position: absolute;
    color: transparent;
}

.sigil-wiki__frostveil-name {
    position: relative;
    background: linear-gradient(to bottom, #c4c4ff 30%, #6390ef 50%, #bdf8ff 65%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: rgb(0 21 30 / 80%);
    -webkit-text-stroke: 2.5px transparent;
}

.sigil-wiki--eggis {
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-weight: 700;
}

.sigil-wiki--eggis > .sigil-wiki__layer--back {
    background: linear-gradient(to bottom, #75c654 30%, #4a8222 45%, #61aa3b 55%, #ac994e 57%, #ae5a2f 59%, #be753c 65%);
    -webkit-text-stroke: 3px transparent;
}

.sigil-wiki--eggis > .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: 2px rgb(9 13 2 / 70%);
}

.sigil-wiki--eggis > .sigil-wiki__layer--front {
    background: linear-gradient(to bottom, #f7fff3 30%, #daffd4 38%, #4a8f46 42%, #99d294 45%, #f1ffef 50%, #c8e9bc 55%, #5a7c3b 58%, #bf5d0c 60%, #edbd6b 65%, #fffff2 70%, #f1d69a 74%, #e6c279 75%, #fffad9 80%);
}

.sigil-wiki__eggis-flower {
    position: absolute;
    z-index: 1;
    font-family: "Noto Serif TC", serif;
    font-style: normal;
    -webkit-text-stroke: 0 transparent;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki__eggis-flower--back {
    background: #eeffea;
    transform: scale(.4) translate(-.7em, -.7em) rotate(10deg);
    filter: drop-shadow(.01em .02em 0 #0a230d) drop-shadow(-.01em -.02em 0 #0a230d);
}

.sigil-wiki__eggis-flower--front {
    background: #fffbe6;
    transform: scale(.5) translate(-1.1em, .7em) rotate(10deg);
    filter: drop-shadow(-.01em -.02em 0 #0e0a04) drop-shadow(.01em .02em 0 #0e0a04);
}

.sigil-wiki--eostre {
    font-family: Tangerine, cursive;
    font-size: 170%;
    background: linear-gradient(to bottom, #d6f9c2 30%, #cbf8af 59%, #8ade5f 60%, #b3f06f 70%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--eostre > span {
    font-family: Italianno, cursive;
    font-size: 140%;
    background: linear-gradient(to bottom, #d6f9c2 26%, #cbf8af 55%, #8ade5f 56%, #b3f06f 66%);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--pukekogod {
    font-family: Jura, sans-serif;
    background: linear-gradient(to bottom, #9f0924, #b4143c, #f694b1, #a91241, #811d3a);
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .25px transparent;
    filter: drop-shadow(-.5px 1px 0 #6f2636);
}

.sigil-wiki--fools-experience {
    position: relative;
}

.sigil-wiki__fools-corners {
    position: absolute;
    color: transparent;
}

.sigil-wiki__fools-corners > span {
    position: absolute;
    width: 1.25em;
    height: 1.25em;
    background: linear-gradient(130deg, #97b9dd 10%, #dbf5fe 30%);
    background-size: cover;
    clip-path: polygon(46% 0%, 34% 20%, 49% 47%, 18% 36%, 0% 52%, 0% 0%, 5% 25%, 29% 31%, 23% 7%, 7% 8%, 0% 52%, 0% 0%);
}

.sigil-wiki__fools-corners > span:nth-child(1) { transform: translate(-.01em, -.01em); }
.sigil-wiki__fools-corners > span:nth-child(2) { transform: rotate(90deg) translate(-.01em, -9.95em); }
.sigil-wiki__fools-corners > span:nth-child(3) { transform: rotate(180deg) translate(-9.95em, -.9em); }
.sigil-wiki__fools-corners > span:nth-child(4) { transform: rotate(270deg) translate(-.9em, -.01em); }

.sigil-wiki__fools-frame {
    display: inline-block;
    padding: .09em;
    border: .125em solid #dbf0fe;
    font-family: Sarpanch, sans-serif;
    font-weight: bold;
}

.sigil-wiki__fools-frame > .sigil-wiki__text-stroke::before {
    -webkit-text-stroke: 1px #2f4d6f;
}

.sigil-wiki__fools-depth,
.sigil-wiki__fools-face {
    background-clip: text !important;
    -webkit-background-clip: text !important;
}

.sigil-wiki__fools-depth {
    position: absolute;
    background: linear-gradient(to bottom, #a6b3c9 20%, #90a4c6 52%, #4c669e 52%, #8db1e6 60%, #5880c4 65%, #3e5380 85%);
    -webkit-text-stroke: 2.5px transparent;
}

.sigil-wiki__fools-face {
    position: relative;
    background: linear-gradient(to bottom, #effdff 30%, #a8d5fd 65%);
    -webkit-text-fill-color: transparent;
}

.sigil-wiki--pixelation {
    display: inline-flex;
    margin: 1em 1em .2em .2em;
    font-family: "Press Start 2P", monospace;
    font-size: 75%;
    -webkit-text-stroke: .5px #000;
    filter: drop-shadow(2.5px 0 0 #000);
    animation: sigil-wiki-pixel-rainbow 2.7s linear infinite;
}

@keyframes sigil-wiki-pixel-rainbow {
    0% { color: rgb(226, 69, 69); }
    9% { color: rgb(226, 152, 69); }
    14% { color: rgb(226, 219, 73); }
    17% { color: rgb(200, 237, 70); }
    22% { color: rgb(170, 239, 33); }
    25% { color: rgb(142, 221, 124); }
    29% { color: rgb(129, 220, 149); }
    33% { color: rgb(129, 220, 189); }
    36% { color: rgb(129, 220, 204); }
    39% { color: rgb(33, 210, 205); }
    41% { color: rgb(73, 188, 210); }
    45% { color: rgb(81, 180, 219); }
    48% { color: rgb(64, 166, 229); }
    52% { color: rgb(64, 130, 229); }
    55% { color: rgb(64, 108, 229); }
    58% { color: rgb(64, 84, 229); }
    61% { color: rgb(79, 74, 237); }
    64% { color: rgb(100, 74, 237); }
    68% { color: rgb(115, 74, 237); }
    72% { color: rgb(124, 74, 237); }
    75% { color: rgb(148, 86, 233); }
    78% { color: rgb(170, 86, 233); }
    81% { color: rgb(192, 86, 233); }
    85% { color: rgb(200, 86, 233); }
    88% { color: rgb(215, 65, 224); }
    91% { color: rgb(211, 69, 201); }
    94% { color: rgb(211, 69, 163); }
    97% { color: rgb(211, 69, 142); }
    100% { color: rgb(226, 29, 92); }
}

.sigil-wiki--nyctophobia {
    font-family: "Roboto Mono", monospace;
    font-weight: 100;
    font-style: italic;
    letter-spacing: .4em;
    color: #f9f9fa;
    animation: sigil-wiki-nycto-shake .2s linear infinite;
}

.sigil-wiki--nyctophobia > span {
    display: inline-block;
    white-space: pre;
    animation: sigil-wiki-nycto-shake .12s linear infinite;
}

@keyframes sigil-wiki-nycto-shake {
    0%, 24.99%, 100% { transform: translate(-.9px, .9px); }
    25%, 49.99% { transform: translate(.9px, -.9px); }
    50%, 74.99% { transform: translate(-.9px, -.9px); }
    75%, 99.99% { transform: translate(.9px, .9px); }
}

.sigil-wiki--dream-traveler {
    font-family: Jura, sans-serif;
    font-weight: bold;
    font-style: italic;
}

.sigil-wiki__dream-traveler-stroke::before,
.sigil-wiki__dream-traveler-gradient::before {
    content: attr(data-text);
    position: absolute;
}

.sigil-wiki__dream-traveler-stroke::before {
    animation: sigil-wiki-dream-traveler-stroke 5s linear infinite;
}

.sigil-wiki__dream-traveler-gradient::before {
    animation: sigil-wiki-dream-traveler-gradient 5s linear infinite;
}

.sigil-wiki__dream-traveler-face {
    position: relative;
    animation: sigil-wiki-dream-traveler-transition 5s linear infinite;
}

@keyframes sigil-wiki-dream-traveler-gradient {
    0%, 50%, 100% { background: linear-gradient(170deg, #2e1885 27%, #c5aefe 33%, #41307a 42%, #fdeef4 46%, #f3daf3 52%, #6f1930 70%, #c26181 75%, #f1a9cb 90%); }
    25%, 75% { background: linear-gradient(170deg, #a7a7f6 23%, #bdbcfc 25%, #706fbc 34%, #e0e1ff 50%, #a3abf2 65%, #f0f6ff 75%); }
    0%, 25%, 50%, 75%, 100% { background-size: 50%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
}

@keyframes sigil-wiki-dream-traveler-stroke {
    0%, 50%, 100% { background: linear-gradient(170deg, #b89ffa 25%, #6a50c6 30%, #492da6 35%, #b399e9 45%, #fbedfd 47%, #cc72bd 65%, #ae5c89 70%, #f1a9cb 80%); }
    25%, 75% { background: linear-gradient(170deg, #9fd8fa 25%, #bce6ff 30%, #b5dbee 35%, #99d4e9 45%, #edfbfd 47%, #cedade 65%, #c5faff 70%, #a9d2f1 80%); }
    0%, 25%, 50%, 75%, 100% { background-size: 50%; background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: .05em transparent; filter: blur(.01em); }
}

@keyframes sigil-wiki-dream-traveler-transition {
    0%, 6.25%, 18.75%, 25%, 31.25%, 43.75%, 50%, 56.25%, 68.75%, 75%, 81.25%, 93.75%, 100% { color: transparent; -webkit-text-stroke: .05em transparent; }
    12.5%, 37.5%, 62.5%, 87.5% { color: #fff; -webkit-text-stroke: .05em #fff; }
}

.sigil-wiki--equinox {
    font-family: "Noto Serif TC", serif;
    font-style: italic;
    font-weight: bold;
    letter-spacing: .2em;
}

.sigil-wiki__equinox-stroke,
.sigil-wiki__equinox-transition,
.sigil-wiki__equinox-pulse {
    position: absolute;
    z-index: 1;
}

.sigil-wiki__equinox-stroke { z-index: 0; }

.sigil-wiki__equinox-stroke::before,
.sigil-wiki__equinox-transition::before,
.sigil-wiki__equinox-pulse::before {
    content: attr(data-text);
    display: inline-block;
}

.sigil-wiki__equinox-stroke::before {
    animation: sigil-wiki-equinox-stroke 2s linear infinite, sigil-wiki-equinox-motion 2s linear infinite;
}

.sigil-wiki__equinox-transition::before {
    animation: sigil-wiki-equinox-transition 2s linear infinite, sigil-wiki-equinox-motion 2s linear infinite;
}

.sigil-wiki__equinox-pulse::before {
    color: #fff;
    animation: sigil-wiki-equinox-pulse 2s linear infinite;
}

.sigil-wiki__equinox-face {
    position: relative;
    z-index: 0;
    display: inline-block;
    animation: sigil-wiki-equinox-face 2s linear infinite, sigil-wiki-equinox-motion 2s linear infinite;
}

@keyframes sigil-wiki-equinox-face {
    0%, 50%, 100% { background: linear-gradient(177deg, #000916 48%, #fff 50%); }
    25%, 75% { background: linear-gradient(357deg, #000916 48%, #fff 50%); }
    0%, 25%, 50%, 75%, 100% { background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
}

@keyframes sigil-wiki-equinox-stroke {
    0%, 50%, 100% { background: linear-gradient(177deg, #02070c 25%, #b9bbbe 35%, #000813 40%, #ced0d2 45%, #081521 50%, #fff 51%, #999ca0 60%, #f3f5f6 65%, #404c57 78%, #fff 80%); }
    25%, 75% { background: linear-gradient(357deg, #02070c 25%, #b9bbbe 35%, #000813 40%, #ced0d2 45%, #081521 50%, #fff 51%, #999ca0 60%, #f3f5f6 65%, #404c57 78%, #fff 80%); }
    0%, 25%, 50%, 75%, 100% { background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px transparent; }
}

@keyframes sigil-wiki-equinox-transition {
    0%, 7%, 17%, 25%, 32%, 42%, 50%, 57%, 67%, 75%, 82%, 92%, 100% { color: rgb(255 255 255 / 0%); -webkit-text-stroke: 1.5px rgb(255 255 255 / 0%); }
    12.5%, 37.5%, 62.5%, 87.5% { color: #fff; -webkit-text-stroke: 1.5px #fff; }
}

@keyframes sigil-wiki-equinox-pulse {
    0%, 100% { filter: opacity(30%); transform: scale(1.175) translate(-.5px, -.5px) rotate(-1deg); }
    12%, 37%, 62%, 87% { filter: opacity(0); transform: scale(1.175); }
    12.5%, 62.5% { filter: opacity(100%); transform: scale(1) translate(.5px, 1px) rotate(1deg); }
    25%, 50%, 75% { filter: opacity(30%); transform: scale(1.175) rotate(1deg); }
    37.5%, 87.5% { filter: opacity(100%); transform: scale(1) translateY(-1px) rotate(-1deg); }
}

@keyframes sigil-wiki-equinox-motion {
    0%, 25%, 50%, 75%, 100% { transform: scale(1); }
    12.5%, 37.5%, 62.5%, 87.5% { transform: scale(1.025); }
}

.sigil-wiki--equinox-idiot {
    font-family: "Fuzzy Bubbles", sans-serif;
    font-style: italic;
    font-weight: bold;
    animation: sigil-wiki-idiot-movement 4s linear infinite;
}

.sigil-wiki__idiot-stroke,
.sigil-wiki__idiot-face {
    background-clip: text !important;
    -webkit-background-clip: text !important;
}

.sigil-wiki__idiot-stroke {
    position: absolute;
    -webkit-text-fill-color: transparent;
    animation: sigil-wiki-idiot-stroke 1.5s linear infinite;
}

.sigil-wiki__idiot-face {
    position: relative;
    animation: sigil-wiki-idiot-face 1.5s linear infinite, sigil-wiki-idiot-transition 1.5s linear infinite;
}

.sigil-wiki__idiot-stroke > span,
.sigil-wiki__idiot-face > span {
    font-family: "Noto Serif TC", serif;
}

@keyframes sigil-wiki-idiot-face {
    0%, 50%, 100% { background: linear-gradient(172deg, #000 30%, #060606 47%, #aaa 50%, #fff 51%, #fffffd 60%, #fdfdfd 70%); }
    25%, 75% { background: linear-gradient(352deg, #000 30%, #060606 47%, #aaa 50%, #fff 51%, #fffffd 60%, #fdfdfd 70%); }
}

@keyframes sigil-wiki-idiot-stroke {
    0%, 50%, 100% { background: linear-gradient(172deg, #070807 30%, #d5d5d5 42%, #3b3b3b 45%, #f4f4f4 48%, #2e2e2e 50%, #fdfdfd 51%, #eeefee 60%, #fefefe 65%, #b0b0b0 70%, #fdfdfb 71%, #f7f7f7 85%); }
    25%, 75% { background: linear-gradient(352deg, #070807 30%, #d5d5d5 42%, #3b3b3b 45%, #f4f4f4 48%, #2e2e2e 50%, #fdfdfd 51%, #eeefee 60%, #fefefe 65%, #b0b0b0 70%, #fdfdfb 71%, #f7f7f7 85%); }
    0%, 25%, 50%, 75%, 100% { background-clip: text; -webkit-background-clip: text; -webkit-text-stroke: 2px transparent; }
}

@keyframes sigil-wiki-idiot-transition {
    0%, 6.25%, 18.75%, 31.25%, 43.75%, 56.25%, 68.75%, 81.25%, 93.75%, 100% { color: transparent; -webkit-text-stroke: 0 transparent; }
    12.5%, 37.5%, 62.5%, 87.5% { color: #fff; -webkit-text-stroke: 2.2px #fff; }
}

@keyframes sigil-wiki-idiot-movement {
    0%, 100% { transform: translate(2px, 0) rotate(8deg); }
    12.5% { transform: translate(1px, 0) rotate(4deg); }
    25% { transform: translate(0, 1px); }
    37.5% { transform: translate(-1px, 0) rotate(-6deg); }
    50% { transform: translate(-2px, 0) rotate(-8deg); }
    62.5% { transform: translate(0, -1px) rotate(-4deg); }
    75% { transform: translate(1px, -2px); }
    87.5% { transform: translate(2px, -1px) rotate(6deg); }
}

body.quality-no-roll-sigil-animations .sigil-wiki *,
body.reduce-motion .sigil-wiki *,
body.reduce-motion .sigil-wiki {
    animation: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .sigil-wiki,
    .sigil-wiki * {
        animation: none !important;
    }
}


.support-qr-modal {
    width: min(620px, calc(100vw - (var(--modal-padding) * 2)));
}

.support-qr-modal__body {
    display: grid;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(16px, 3vw, 24px);
}

.support-qr-modal__code-panel {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    background:
        linear-gradient(90deg, rgb(var(--popup-accent-rgb) / 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
        linear-gradient(0deg, rgb(var(--popup-accent-rgb) / 0.04) 1px, transparent 1px) 0 0 / 16px 16px,
        rgba(2, 8, 16, 0.78);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.22);
    border-left: 3px solid rgb(var(--popup-accent-rgb) / 0.68);
    box-shadow: inset 0 0 24px rgb(var(--popup-accent-rgb) / 0.055);
}

.support-qr-modal__code-label {
    width: 100%;
    color: rgb(var(--popup-accent-rgb) / 0.72);
    font-size: 7px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-align: left;
    text-transform: uppercase;
}

.support-qr-modal__image {
    display: block;
    width: min(200px, 100%);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.42),
        0 0 22px rgb(var(--popup-accent-rgb) / 0.1);
}

.support-qr-modal__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 4px;
}

.support-qr-modal__status {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    color: rgb(var(--popup-accent-rgb) / 0.76);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.support-qr-modal__status i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: var(--popup-accent);
    background: rgb(var(--popup-accent-rgb) / 0.1);
    border: 1px solid rgb(var(--popup-accent-rgb) / 0.28);
}

.support-qr-modal__copy h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: clamp(16px, 2.2vw, 21px);
    line-height: 1.3;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.support-qr-modal__copy p {
    margin: 0;
    color: var(--text-tertiary);
    font-size: 0.82rem;
    line-height: 1.6;
    letter-spacing: 0.04em;
}

.support-qr-modal__action {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.support-qr-modal__actions {
    justify-content: center;
}

@media (max-width: 620px) {
    .support-qr-modal__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-qr-modal__code-panel {
        padding: 12px;
    }

    .support-qr-modal__image {
        width: min(176px, 52vw);
        padding: 6px;
    }

    .support-qr-modal__copy {
        padding-block: 0;
        text-align: left;
    }
}

@media (max-height: 560px) and (orientation: landscape) {
    .support-qr-modal__body {
        grid-template-columns: minmax(140px, 170px) minmax(0, 1fr);
        gap: 16px;
    }

    .support-qr-modal__image {
        width: min(142px, 100%);
        padding: 5px;
    }

    .support-qr-modal__copy {
        gap: 7px;
    }
}

.footer-credits__list > .footer-credits__item.footer-credits__item--wiki-artwork {
    grid-column: 1 / -1 !important;
    width: 100%;
    box-sizing: border-box;
}

.footer-credits__list > .footer-credits__item.footer-credits__item--wiki-artwork:not([hidden]) {
    display: block;
}

.footer-credits__item.footer-credits__item--wiki-artwork .footer-credits__item-kind {
    display: inline-block;
    margin-right: 7px;
    vertical-align: 1px;
}

.footer-credits__item.footer-credits__item--wiki-artwork a {
    display: inline !important;
}

.changelog-eon130__overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.changelog-eon130__overview > span {
    display: grid;
    gap: 4px;
    padding: 12px 8px;
    border: 1px solid rgb(var(--accent-rgb) / 0.25);
    background: rgb(var(--accent-rgb) / 0.05);
    color: var(--text-secondary);
    text-align: center;
    font-size: 10px;
}

.changelog-eon130__overview strong { color: #bcecff; font-size: 20px; }
.changelog-eon130__section { --release-rgb: 121 215 255; --release-title: #c4efff; }
.changelog-eon130__section--radiant { --release-rgb: 188 71 255; --release-title: #bc47ff; }
.changelog-eon130__section--lost { --release-rgb: 112 255 112; --release-title: #70ff70; }
.changelog-eon130__section--moons { --release-rgb: 157 216 255; --release-title: #bde9ff; }
.changelog-eon130__section--true { --release-rgb: 126 244 201; --release-title: #a2f5da; }
.changelog-eon130__section--buffs { --release-rgb: 255 201 105; --release-title: #ffda9b; }
.changelog-eon130__section--pending { --release-rgb: 189 163 114; --release-title: #dac6a2; }

.changelog-eon130__section {
    min-width: 0;
    border-color: rgb(var(--release-rgb) / 0.3);
    border-left-color: rgb(var(--release-rgb) / 0.8);
    background: linear-gradient(110deg, rgb(var(--release-rgb) / 0.08), transparent 65%), rgba(5, 12, 24, 0.65);
    box-shadow: inset 3px 0 0 rgb(var(--release-rgb) / 0.15);
}

.changelog-eon130__section .changelog-featured-ui__header { border-bottom-color: rgb(var(--release-rgb) / 0.22); }
.changelog-eon130__section .changelog-featured-ui__heading .largeClass { color: var(--release-title); }
.changelog-eon130__section .changelog-featured-ui__icon,
.changelog-eon130__section .changelog-featured-ui__badge {
    color: var(--release-title);
    border-color: rgb(var(--release-rgb) / 0.4);
    background: rgb(var(--release-rgb) / 0.07);
    box-shadow: none;
}

.changelog-eon130__section .changelog-featured-ui__icon img { width: 34px; height: 34px; object-fit: contain; }
.changelog-eon130__section .changelog-release-group__list > li::marker { color: rgb(var(--release-rgb) / 0.8); }
.changelog-eon130__section > p { margin: 12px 0; color: var(--text-secondary); }
.changelog-eon130__facts { display: flex; flex-wrap: wrap; gap: 6px; }
.changelog-eon130__facts > span {
    padding: 5px 8px;
    color: var(--release-title);
    border: 1px solid rgb(var(--release-rgb) / 0.3);
    background: rgb(var(--release-rgb) / 0.05);
    font-size: 10px;
}

.changelog-eon130__auras,
.changelog-eon130__moons,
.changelog-eon130__natives {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
    padding: 0;
    list-style: none;
}

.changelog-eon130__auras > li {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgb(var(--release-rgb) / 0.23);
    background: rgba(3, 8, 17, 0.55);
}

.changelog-eon130__auras > li > span { color: var(--text-primary); font-size: 11px; }
.changelog-eon130__auras small { color: var(--release-title); font-size: 10px; }
.changelog-eon130__aura-name { color: inherit; overflow-wrap: anywhere; text-decoration-color: rgb(var(--release-rgb) / 0.45); text-underline-offset: 3px; }
.changelog-eon130__aura-name:hover,
.changelog-eon130__aura-name:focus-visible { color: var(--release-title); text-decoration: underline; }
.changelog-eon130__auras .changelog-eon130__aura-name { font-size: 13px; font-weight: 700; }
.changelog-eon130 .changelog-aura-sigil { margin: 0; max-width: 100%; }
.changelog-eon130__aura-name .wiki-title { max-width: 100%; font-size: inherit; white-space: normal; }
.changelog-eon130__natives { gap: 5px 12px; color: #c8e4cd; font-size: 11px; }
.changelog-eon130__moons > li { display: flex; align-items: center; gap: 9px; padding: 8px; border: 1px solid rgb(var(--release-rgb) / 0.18); }
.changelog-eon130__moons > li > :first-child { color: #a5c7ff; font-size: 17px; }
.changelog-eon130__moons > li > :last-child { min-width: 0; font-size: 11px; }
.changelog-eon130__moons > li:last-child { grid-column: 1 / -1; }
.changelog-eon130__moons small { display: block; color: #b3a0ee; font-size: 9px; }
.changelog-eon130__moon-icon { font-size: 29px; line-height: 1; }
.changelog-eon130__remember { color: #edb4f7; font: italic 700 1.15em Georgia, serif; text-shadow: 0 0 8px #bf7edb80; }
.changelog-eon130__auras--true { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 520px) {
    .changelog-eon130__auras,
    .changelog-eon130__moons { grid-template-columns: minmax(0, 1fr); }
    .changelog-eon130__natives { column-gap: 8px; font-size: 10px; }
    .changelog-eon130__section .changelog-featured-ui__header { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
    .changelog-eon130__section .changelog-featured-ui__icon { width: 36px; }
    .changelog-eon130__section .changelog-featured-ui__icon img { width: 30px; height: 30px; }
    .changelog-eon130__section .changelog-featured-ui__badge { grid-column: 2; justify-self: start; }
    .changelog-eon130__overview { gap: 5px; }
    .changelog-eon130__overview > span { font-size: 9px; padding-inline: 4px; }
}
