 
        body {
            margin: 0;
            font-family: 'Arial', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: black;
            touch-action: none;
            overflow: auto;
        }
        #lock-screen, #gallery {
            display: none;
            flex-direction: column;
            align-items: center;
            background: black;
            padding: 3rem;
            border-radius: 15px;
            box-shadow: navy;
            transform: scale(1.2);
            max-width: 90vw;
            max-height: 90vh;
            box-sizing: border-box;
        }
        #lock-screen.active, #gallery.active {
            display: flex;
        }
        .slot-machine {
            background: navy;
            border: 5px solid navy;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: navy;
        }
        .wheel-container {
            display: flex;
            gap: 1rem;
            margin: 2rem 0;
        }
        .wheel {
            width: 80px;
            height: 120px;
            background: navy;
            border: 3px solid navy;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            box-shadow: navy;
        }
        .wheel .number {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 3rem;
            font-weight: bold;
            color: white;
            text-shadow: 0 0 5px #ffd700;
            user-select: none;
        }
        .wheel .number.spin-up {
            animation: spinUp 0.2s ease-out;
        }
        .wheel .number.spin-down {
            animation: spinDown 0.2s ease-out;
        }
        @keyframes spinUp {
            0% { transform: translateY(50%); opacity: 0; }
            100% { transform: translateY(-50%); opacity: 1; }
        }
        @keyframes spinDown {
            0% { transform: translateY(-150%); opacity: 0; }
            100% { transform: translateY(-50%); opacity: 1; }
        }
        .button-container {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }
        #lever, #reset-code {
            background: cyan;
            color: black;
            padding: 1rem 2rem;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.5rem;
            border: none;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        }
        #create-note-button {
            background: navy;
            color: white;
            padding: 1.5rem 3rem;
            border-radius: 10px;
            font-size: 2rem;
            font-weight: bold;
            border: none;
            cursor: pointer;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
            margin-bottom: 1rem;
            width: 80%;
            text-align: center;
        }
        #message {
            color: cyan;
            margin: 1rem 0;
            font-size: 1.5rem;
            text-align: center;
            max-width: 80vw;
        }
        #lock-title, #gallery h2 {
            color: cyan;
            text-shadow: 0 0 5px black;
            font-size: 2rem;
        }
        #gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
            max-width: 80vw;
            max-height: 60vh;
            overflow-y: auto;
            margin: 1rem 0;
        }
        .gallery-item {
            position: relative;
            cursor: pointer;
            background: #333;
            border-radius: 10px;
            padding: 10px;
            border: 2px solid black;
            height: 150px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .gallery-item .note-preview {
            color: white;
            font-size: 1rem;
            text-align: center;
            white-space: pre-wrap;
            word-break: break-word;
            max-height: 100%;
            overflow: hidden;
        }
        #full-view {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: black;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        #note-textarea {
            width: 90vw;
            height: 80vh;
            background: #333;
            color: white;
            border: 2px solid navy;
            border-radius: 10px;
            padding: 15px;
            font-size: 1.2rem;
            resize: none;
        }
        #full-view .button-container {
            position: absolute;
            bottom: 2rem;
            display: flex;
            gap: 1rem;
        }
        #full-view button {
            background: cyan;
            color: black;
            padding: 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.2rem;
            border: none;
        }
        @media (max-aspect-ratio: 9/16) {
            #lock-screen, #gallery {
                transform: scale(0.9);
                padding: 2rem;
            }
            .wheel {
                width: 60px;
                height: 100px;
            }
            .wheel .number {
                font-size: 2.5rem;
            }
            #gallery-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
                max-height: 65vh;
            }
            .gallery-item {
                height: 120px;
            }
            .gallery-item .note-preview {
                font-size: 0.9rem;
            }
            #lever, #reset-code {
                padding: 0.8rem 1.5rem;
                font-size: 1.2rem;
            }
            #create-note-button {
                padding: 1rem 2rem;
                font-size: 1.5rem;
                width: 90%;
            }
            #message {
                font-size: 1.2rem;
            }
        }
    