    html {
        margin: 0;
        padding: 0;
        background: black;
        color: white;
        font-family: 'Russo One', sans-serif;
        min-height: 100vh;
        overflow-y: auto;
    }

    body {
        margin: 0;
        padding: 0;
        background: black;
        color: white;
        font-family: 'Russo One', sans-serif;
        min-height: 100vh;
        overflow-y: auto;
    }

    html.modal-locked {
        overflow: hidden;
        height: 100%;
    }

    body.modal-locked {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        overflow: hidden;
        width: 100%;
    }

    .highlighted {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-track {
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #444;
        border-radius: 4px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #666;
    }

    video.overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        object-fit: cover;
        z-index: 0;
        pointer-events: none;
    }

    canvas#noise {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 1;
        pointer-events: none;
        mix-blend-mode: difference;
        opacity: 0.1;
    }

    .calendar {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .month {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .month h3 {
        color: #f55;
        margin-bottom: 0.5rem;
        text-align: center;
        width: 100%;
    }

    .days {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        gap: 0.3rem;
        font-size: 0.8rem;
        width: 100%;
    }

    .day {
        text-align: center;
        padding: 4px;
        cursor: pointer;
        border-radius: 4px;
        transition: background 0.2s;
    }

    .day:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .day.inactive {
        opacity: 0.2;
        pointer-events: none;
    }

    .day.today {
        color: #ff5555 !important;
        background-color: rgba(255, 85, 85, 0.2);
        border: 1px solid #ff5555;
        font-weight: bold;
    }

    .day.today.inactive {
        color: #ff5555;
        opacity: 0.3;
        border: 1px solid #ff5555;
    }

    .day.highlighted {
        background-color: rgba(180, 180, 180, 0.15) !important;
        border: 1px solid rgba(180, 180, 180, 0.4);
        color: white;
        font-weight: bold;
    }

    .day.highlighted.first,
    .day.highlighted.last {
        background-color: rgba(180, 180, 180, 0.1) !important;
        border: 1px solid rgba(180, 180, 180, 0.3);
        color: white !important;
        font-weight: bold;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .swiper-pagination-bullet {
        color: #aaa !important;
        background-color: #888 !important;
        opacity: 0.8;
    }

    .swiper-pagination-bullet-active {
        background-color: #ccc !important;
    }

    .swiper-pagination {
        position: static !important;
        margin-top: 0.5rem;
        text-align: center;
    }

    .day.highlight-range {
        background-color: rgba(255, 85, 85, 0.35) !important;
        border: 1px solid rgba(255, 85, 85, 0.6);
        color: white;
        font-weight: bold;
    }

    .modal-image {
        height: 60vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
        gap: 0.5rem;
    }

    .swiper {
        width: 100%;
        height: 60vh !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .swiper-wrapper {
        height: 100%;
    }

    .swiper-slide {
        height: 100% !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .media-wrapper {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .media-wrapper img,
    .media-wrapper video {
        height: 100%;
        width: 100%;
        object-fit: contain;
        display: block;
        border-radius: 6px;
    }

    .modal {
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.85);
        z-index: 1000;
        padding: 1rem;
        box-sizing: border-box;
        overflow-y: auto;
    }


    .modal.show {
        opacity: 1;
        pointer-events: auto;
    }

    .modal-content {
        transform: scale(0.95);
        transition: transform 0.3s ease;
        opacity: 0;
        background: #111;
        border-radius: 10px;
        width: 100%;
        max-width: 600px;
        color: white;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        box-sizing: border-box;
        max-height: 100%;
        overflow-y: auto;
        padding: 1rem;
        margin: 0 auto;
        position: relative;
    }

    .modal.show .modal-content {
        transform: scale(1);
        opacity: 1;
    }

    .modal-content::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23666' fill-opacity='0.03'%3E%3Ccircle cx='4' cy='4' r='1.5'/%3E%3Ccircle cx='32' cy='32' r='1.5'/%3E%3Ccircle cx='60' cy='60' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
        background-repeat: repeat;
        opacity: 0.2;
        z-index: 0;
        border-radius: 10px;
    }

    .modal-close {
        text-align: right;
        cursor: pointer;
        font-size: 1.2rem;
        align-self: flex-end;
        z-index: 1;
    }

    #modal-body {
        width: 100%;
        overflow-wrap: break-word;
        z-index: 1;
    }

    .modal-content form {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 0.5rem;
        box-sizing: border-box;
        z-index: 1;
        color: #ccc;
    }

    .modal-text {
        padding-bottom: clamp(1.5rem, max(env(safe-area-inset-bottom, 0px), 4vh), 5vh);
    }

    .modal-text h2 {
        margin: 2rem 0 0.25rem 0;
        padding: 0 0.5rem;
        font-size: 1.2rem;
        box-sizing: border-box;
        z-index: 1;
    }

    .modal-text h4 {
        margin: 0.25rem 0 1.5rem 0;
        padding: 0 0.5rem;
        font-size: 0.8rem;
        font-style: italic;
        font-weight: bold;
        color: #b1b1b148;
        box-sizing: border-box;
        z-index: 1;
    }

    .modal-text p {
        margin: 0.25rem 0 0.5rem;
        padding: 0 0.5rem;
        font-size: 0.95rem;
        font-weight: 400;
        color: #ccc;
        font-family: 'Inter', sans-serif;
        line-height: 1.5;
        font-style: normal;
        box-sizing: border-box;
        z-index: 1;
    }

    .modal-content button {
        padding: 0.75rem;
        background: #f55;
        color: white;
        font-family: 'Russo One', sans-serif;
        font-size: 0.95rem;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .modal-noise {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        bottom: 0;
        min-height: 100%;
        opacity: 0.05;
        z-index: 0;
        pointer-events: none;
        mix-blend-mode: difference;
        border-radius: 10px;
    }

    .quote-container {
        position: relative;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        padding: 0.75rem 1.25rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
        border: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 8px;
        overflow: hidden;
        text-align: center;

        max-width: 80vw;
        box-sizing: border-box;
    }

    .quote-wrapper {
        display: flex;
        justify-content: center;
        margin: 2rem 0 2.5rem 0;
    }

    .quote-container::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg width='64' height='64' viewBox='0 0 64 64' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='4' cy='4' r='1.5'/%3E%3Ccircle cx='32' cy='32' r='1.5'/%3E%3Ccircle cx='60' cy='60' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
        background-repeat: repeat;
        opacity: 0.2;
        z-index: 0;
        pointer-events: none;
    }

    .quote-container>* {
        position: relative;
        z-index: 1;
    }

    #quote-text {
        display: inline-block;
        position: relative;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.75);
        text-shadow:
            1px 0 red,
            -1px 0 cyan,
            0 0 4px rgba(255, 255, 255, 0.2);
    }

    #quote-symbol {
        font-size: 1rem;
        margin-right: 0.4rem;
        opacity: 0.5;
    }

    .quote-author {
        font-size: 0.55rem;
        color: #6b6b6b6d;
        margin-top: 0.25rem;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    .quote-author a {
        color: #88888888;
        text-decoration: none;
        font-weight: normal;
        transition: color 0.3s ease;
    }

    .quote-author a:hover {
        color: #ccc;
        text-decoration: underline;
    }

    .quote-separator {
        width: 70vw;
        height: 1.5px;
        margin: 0.7rem auto 1.5rem;
        background: linear-gradient(to right, #ff0050, #00f6ff);
        opacity: 0.35;
        border-radius: 2px;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    }

    .glitch {
        position: relative;
        display: inline-block;
        color: #ccc;
    }

    .glitch::before,
    .glitch::after {
        content: attr(data-text);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        pointer-events: none;
        opacity: 0.4;
    }

    .glitch::before {
        color: #ff0050;
        z-index: -1;
        transform: translate(-1px, 0);
    }

    .glitch::after {
        color: #00f6ff;
        z-index: -2;
        transform: translate(1px, 0);
    }

    .glitch-text {
        position: relative;
        display: inline-block;
        color: white;
        animation: none;
    }

    .glitch-text.glitch-on::before,
    .glitch-text.glitch-on::after {
        content: attr(data-text);
        position: absolute;
        left: 0;
        top: 0;
        pointer-events: none;
        width: 100%;
        height: 100%;
        z-index: 1;
        font-weight: bold;
    }

    .glitch-text.glitch-on::before {
        color: #ff00c8;
        transform: translate(-1.5px, 0);
        opacity: 0.5;
    }

    .glitch-text.glitch-on::after {
        color: #00fff9;
        transform: translate(1.5px, 0);
        opacity: 0.5;
    }

    .glitch-text.glitch-on {
        animation: minor-shake 0.25s ease;
    }

    #fade-overlay {
        position: fixed;
        inset: 0;
        background: black;
        z-index: 9999;
        opacity: 1;
        pointer-events: none;
        transition: opacity 1.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .fade-text {
        color: white;
        font-family: 'Press Start 2P', cursive;
        font-size: 0.8rem;
        letter-spacing: 1px;
        opacity: 0.3;
        animation: fade-blink 1.6s ease-in-out infinite;
        user-select: none;
    }

    .image-placeholder {
        width: 100%;
        height: 100%;
        background: #222;
        border-radius: 6px;
        animation: shimmer 1.2s infinite ease-in-out;
        opacity: 0.2;
    }

    @keyframes fade-blink {

        0%,
        100% {
            opacity: 0.3;
        }

        50% {
            opacity: 0.6;
        }
    }

    @keyframes shimmer {
        0% {
            opacity: 0.2;
        }

        50% {
            opacity: 0.4;
        }

        100% {
            opacity: 0.2;
        }
    }

    @font-face {
        font-family: 'Georgia';
        src: local('Georgia');
    }

    img.fade-in {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    img.fade-in[src] {
        opacity: 1;
    }

    .year-wheel-wrapper {
        position: relative;
        width: 100%;
        margin: 3rem 0;
        z-index: 4;
        display: flex;
        align-items: center;
        justify-content: center;
        pointer-events: auto;
    }

    .year-wheel-container {
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 80vw;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        display: flex;
        padding: 0 20vw;
        position: relative;
        z-index: 3;
        mask-image: linear-gradient(to right, transparent 0%, white 30%, white 70%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, white 30%, white 70%, transparent 100%);
        scrollbar-width: none;
    }

    .year-wheel-container::-webkit-scrollbar {
        display: none;
    }

    .year-wheel {
        display: flex;
        gap: 2.5rem;
        align-items: center;
    }

    .year-item {
        scroll-snap-align: center;
        font-family: 'Russo One', sans-serif;
        font-size: 1.1rem;
        color: #666;
        opacity: 0.2;
        transition: all 0.3s ease;
        cursor: pointer;
        user-select: none;
        white-space: nowrap;
        min-width: 3.5rem;
        padding: 0.5rem 0.6rem;
        text-align: center;
        transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
        display: inline-block;
    }

    .year-item:hover {
        opacity: 0.6;
    }

    .year-item.active {
        font-size: 2rem;
        color: #f55;
        opacity: 1;
        transform: scale(1.3);
    }

    .modal-audio {
        margin-top: 2rem;
        padding: 0;
    }

    .audio-track {
        margin-bottom: 1.5rem;
        text-align: center;
        opacity: 0.6;
    }

    .audio-title {
        font-size: 0.85rem;
        color: #888;
        font-style: italic;
        margin-bottom: 0.25rem;
    }

    .audio-track audio {
        width: 100%;
        filter: grayscale(1);
        opacity: 0.6;
    }

    .audio-track audio:hover {
        opacity: 0.9;
        filter: grayscale(0.7);
    }

    @keyframes minor-shake {
        0% {
            transform: translate(0, 0);
        }

        20% {
            transform: translate(-0.5px, 0.5px);
        }

        40% {
            transform: translate(0.5px, -0.5px);
        }

        60% {
            transform: translate(-0.5px, -0.5px);
        }

        80% {
            transform: translate(0.5px, 0.5px);
        }

        100% {
            transform: translate(0, 0);
        }
    }

    @keyframes glitch-shake {
        0% {
            transform: none;
        }

        20% {
            transform: translate(1px, -1px);
        }

        40% {
            transform: translate(-1px, 2px);
        }

        60% {
            transform: translate(1px, 1px);
        }

        80% {
            transform: translate(-2px, -1px);
        }

        100% {
            transform: none;
        }
    }

    @keyframes glitch {

        0%,
        100% {
            transform: translate(0);
        }

        20% {
            transform: translate(-0.5px, 0.5px);
        }

        40% {
            transform: translate(-1.5px, -0.5px);
        }

        60% {
            transform: translate(0.5px, 1.5px);
        }

        80% {
            transform: translate(1.5px, -0.5px);
        }
    }

    .event-rating {
        position: relative;
        width: 100%;
        max-width: 400px;
        height: 60px;
        margin: 0 auto;
    }

    .event-rating canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .lens-wrapper {
        position: relative;
        width: 400px;
        height: 60px;
        margin: 0 auto;
    }

    #textCanvas,
    #lensCanvas {
        position: absolute;
        top: 0;
        left: 0;
    }

    .rating-wrapper {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        margin-bottom: 1rem;
        background-color: transparent;
    }

    .rating-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        background-image: url("../assets/wall-grunge.png");
        background-size: cover;
        background-position: center;
        backdrop-filter: blur(2px);

        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%, black 60%, transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, black 40%, black 60%, transparent 100%);

        opacity: 0.15;
        filter: brightness(0.7);
        z-index: 0;
        pointer-events: none;
    }

    .rating-wrapper>* {
        position: relative;
        z-index: 1;
    }

    .modal-placeholder {
        position: absolute;
        inset: 0;
        background: #111;
        z-index: 9999;
        overflow: hidden;
        border-radius: 16px;
        pointer-events: all;
        mask-image: linear-gradient(to bottom, black 0%, black 100%);
        mask-size: 100% 100%;
        mask-repeat: no-repeat;
        transition: opacity 0.3s ease;
    }

    .loading-overlay::after {
        content: "";
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: 200%;
        background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
        animation: shimmer 1s infinite;
    }

    .modal-placeholder.fade-out {
        animation: fadeMask 1s forwards;
    }

    @keyframes shimmer {
        0% {
            top: -100%;
        }

        100% {
            top: 100%;
        }
    }


    @keyframes fadeMask {
        0% {
            mask-image: linear-gradient(to bottom, black 0%, black 100%);
            opacity: 1;
        }

        100% {
            mask-image: linear-gradient(to bottom, transparent 0%, black 50%, transparent 100%);
            opacity: 0;
        }
    }