 /* Light mode (default) */
        html,
        body {
            margin: 0;
            padding-top: 0;
            height: 100%;
            background: #f9f9f9;
            color: #444;
            font-family: "JetBrains Mono", monospace;
            text-align: center;
            display: flex;
            flex-direction: column;
            background-size: 10px 10px;
            background-image: repeating-linear-gradient(
                45deg,
                #efefef 0,
                #efefef 1px,
                #f9f9f9 0,
                #f9f9f9 50%
            );
            line-height: 1.4rem;
        }
        img {
            padding: 1.3rem;
        }
        article::after {
            content: "⁓";
            color: #8c1ac4;
        }
        h2 {
            color: black;
        }
        header,
        main {
            padding: 4rem;
        }
        article {
            padding: 1rem;
        }
        a {
            text-decoration-color: darkgoldenrod;
            text-decoration-style: wavy;
        }
        main {
            flex: 1;
        }
        footer {
            padding: 10px;
            background: #f3f3f3;
            border-top: 1px solid #ccc;
            text-align: center;
        }
        h1 {
            color: #8c1ac4;
            font: bold 3rem "JetBrains Mono", monospace;
        }
        input,
        button {
            font-size: 1.2rem;
            padding: 0.5rem;
            border-radius: 8px;
            border: 2px solid #8c1ac4;
            margin: 5px;
            background: white;
            color: #444;
        }
        input:focus,
        button:hover {
            outline: none;
            border-color: #a640d4;
            box-shadow: 0 0 8px rgba(140, 26, 196, 0.3);
        }
        table {
            margin: 0 auto;
            border-collapse: collapse;
            border-radius: 5px;
            -moz-border-radius: 5px;
        }
        th,
        td {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 300px;
            text-align: left;
            border: 1px solid #8c1ac4;
            padding: 8px;
            vertical-align: middle;
            background: white;
        }
        th {
            background: #f8f8f8;
            color: #8c1ac4;
        }
        form {
            margin: 20px auto;
            display: inline-block;
            text-align: left;
        }
        :root {
            --success: #22c55e;
            --failure: darkred;
        }
        .failure {
            background-color: var(--failure);
        }

        /* Dark mode with enhanced stripes */
        @media (prefers-color-scheme: dark) {
            html,
            body {
                background: #1a1a1a;
                color: #e0e0e0;
                /* Enhanced stripes - much more visible contrast */
                background-image: repeating-linear-gradient(
                    45deg,
                    #333333 0,
                    #333333 1px,
                    #1a1a1a 0,
                    #1a1a1a 50%
                );
            }
            /* Only invert small icons in table cells, not the header logo */
            td img {
                filter: invert(1) brightness(0.9);
            }
            article::after {
                color: #bd5eff;
            }
            h2 {
                color: #f0f0f0;
            }
            a {
                color: #ffd700;
                text-decoration-color: #ffa500;
            }
            footer {
                background: #2a2a2a;
                border-top: 1px solid #444;
            }
            h1 {
                color: #bd5eff;
            }
            input,
            button {
                border: 2px solid #bd5eff;
                background: #2a2a2a;
                color: #e0e0e0;
            }
            input:focus,
            button:hover {
                border-color: #d68fff;
                box-shadow: 0 0 8px rgba(189, 94, 255, 0.3);
            }
            th,
            td {
                border: 1px solid #bd5eff;
                background: #2a2a2a;
            }
            th {
                background: #3a3a3a;
                color: #bd5eff;
            }
            :root {
                --failure: #dc2626;
            }
        }
