        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box
        }

        html {
            scroll-behavior: smooth
        }

        body {
            background: #0a0a0a;
            color: #fff;
            font-family: sans-serif;
            line-height: 1.5;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .credits {
            position: absolute;
            right: 2rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1rem;
            color: #ccc;
            z-index: 5
        }

        .credits .byline {
            color: #ddd;
            font-size: 1.2rem
        }

        .credits a {
            display: inline-flex;
            align-items: center;
            background-color: #000;
            border-radius: 10px;
            padding: 0.6rem 0.8rem;
            text-decoration: none;
            transition: background-color 0.2s;
            color: #fff;
            font-size: 0.95rem
        }

        .credits a:hover {
            background-color: #111
        }

        .credits a img {
            width: 1.4rem;
            height: 1.4rem;
        }

        .header {
            position: relative;
            text-align: center;
            padding: 1rem 0;
            border-bottom: 1px solid #222;
            background-color: #0a0a0a;
            overflow: hidden;
            z-index: 100
        }

        .header h1 {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            letter-spacing: 2px;
            color: #fff;
            position: relative;
            z-index: 4
        }

        .rain-layer,
        .rain-layer-back,
        .mist-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none
        }

        .rain-drop {
            position: absolute;
            top: -25%;
            background: rgba(255, 255, 255, 0.2);
            filter: blur(1px);
            opacity: 0.9;
            animation: drop linear infinite
        }

        .rain-drop.back {
            background: rgba(255, 255, 255, 0.08);
            width: 1px;
            height: 10%;
            opacity: 0.5;
            animation: drop-back linear infinite
        }

        @keyframes drop {
            to {
                transform: translateY(120vh) translateX(20px) rotate(8deg);
            }
        }

        @keyframes drop-back {
            to {
                transform: translateY(130vh) translateX(10px) rotate(6deg);
            }
        }

        .mist-cloud {
            position: absolute;
            left: -100%;
            background: rgba(255, 255, 255, 0.02);
            filter: blur(14px);
            animation: mistDrift linear infinite, mistPulse ease-in-out infinite alternate
        }

        .mist-border {
            position: absolute;
            left: 0;
            width: 100%;
            pointer-events: none;
            z-index: 3
        }

        .mist-border.top {
            top: 0;
            height: 30%;
            background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
            filter: blur(12px);
        }

        .mist-border.bottom {
            bottom: 0;
            height: 30%;
            background: linear-gradient(to top, rgba(255, 255, 255, 0.05), transparent);
            filter: blur(12px);
        }

        @keyframes mistDrift {
            to {
                transform: translateX(200%);
            }
        }

        @keyframes mistPulse {
            from {
                opacity: 0.01;
            }

            to {
                opacity: 0.04;
            }
        }

        .chapter-select {
            background: #000;
            color: #fff;
            padding: .6rem 1rem;
            margin: 1rem auto;
            font-size: 1rem;
            border: none;
            border-radius: 4px;
            display: block
        }

        .viewer {
            flex: 1;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: auto
        }

        .viewer img {
            max-width: 100vw;
            max-height: 100vh;
            width: auto;
            height: auto;
            image-rendering: -webkit-optimize-contrast
        }

        .viewer img.zoomed {
            transform: scale(1.5)
        }

        .coming-soon {
            font-size: 2rem;
            text-align: center;
            color: #888
        }

        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 3rem;
            color: rgba(255, 255, 255, 0.5);
            padding: 1rem;
            cursor: pointer;
            user-select: none;
            z-index: 10;
            transition: color .2s
        }

        .nav-arrow:hover {
            color: rgba(255, 255, 255, 0.8)
        }

        .nav-arrow.left {
            left: 0
        }

        .nav-arrow.right {
            right: 0
        }

        .volume-control {
            position: absolute;
            left: 2rem;
            top: 50%;
            transform: translateY(-50%);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            z-index: 5;
        }

        #volume-toggle {
            background: none;
            border: 2px solid rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            width: 2rem;
            height: 2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: border-color 0.2s, transform 0.1s;
        }

        #volume-toggle:hover {
            border-color: rgba(255, 255, 255, 0.8);
            transform: scale(1.05);
        }

        #volume-icon {
            font-size: 1.2rem;
            pointer-events: none;
        }

        #master-volume {
            -webkit-appearance: none;
            appearance: none;
            width: 8rem;
            height: 0.4rem;
            cursor: pointer;
            background: transparent;
        }

        #master-volume::-webkit-slider-runnable-track {
            width: 100%;
            height: 0.4rem;
            border-radius: 0.2rem;
            background: rgba(255, 255, 255, 0.2);
        }

        #master-volume::-moz-range-track {
            width: 100%;
            height: 0.4rem;
            border-radius: 0.2rem;
            background: rgba(255, 255, 255, 0.2);
        }

        #master-volume::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 1rem;
            height: 1rem;
            margin-top: -0.3rem;
            border-radius: 50%;
            background: #67e8f9;
            border: 2px solid #22d3ee;
            box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
            transition: transform 0.1s;
        }

        #master-volume:active::-webkit-slider-thumb {
            transform: scale(1.1);
        }

        #master-volume::-moz-range-thumb {
            width: 1rem;
            height: 1rem;
            border-radius: 50%;
            background: #67e8f9;
            border: 2px solid #22d3ee;
            box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
            transition: transform 0.1s;
        }

        #master-volume:active::-moz-range-thumb {
            transform: scale(1.1);
        }

        @media(max-width:600px) {
            .header h1 {
                font-size: 2rem
            }

            .credits {
                position: static;
                transform: none;
                justify-content: center;
                margin-top: .5rem
            }

            .chapter-select {
                width: 90vw
            }

            .nav-arrow {
                display: none !important
            }

            .volume-control {
                left: 1rem;
            }

            #master-volume {
                width: 5rem;
            }

            #volume-toggle {
                width: 1.8rem;
                height: 1.8rem;
            }

            #volume-icon {
                font-size: 1rem;
            }
        }

        @media (max-width: 950px) and (orientation: landscape) {
            .credits {
                flex-direction: row;
                align-items: flex-start;
                flex-wrap: wrap;
                justify-content: flex-end;
                gap: 0.5rem 1rem;
                margin-top: .5rem;
            }

            .credits .byline {
                width: auto;
                flex-basis: 100%;
                text-align: right;
                padding-right: 0.2rem;
            }
        }

        #lang-toggle {
            background-color: #0a0a0a;
            color: #ccc;
            border: 1px solid #222;
            padding: 0.4rem 0.8rem;
            font-size: 0.9rem;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.2s, color 0.2s;
        }

        #lang-toggle:hover {
            background-color: #111;
            color: #fff;
        }