#level-twelve-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: none;
    opacity: 0;
    z-index: 1000;
    overflow: hidden;
}
#level-twelve-container .level12-level-box {
    position: fixed;
    top: 20px;
    left: 20px;
    min-width: 200px;
    background: transparent;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    display: inline-grid;
    grid-template-columns: min-content;
    grid-template-rows: min-content;
    align-items: center;
    justify-items: center;
    justify-content: center;
    user-select: none;
    z-index: 1001;
    pointer-events: none;
}
#level-twelve-container .level12-level-box-border {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    margin: 0;
    padding: 0;
    background: #000000;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    line-height: 1;
    white-space: pre;
    display: block;
}
#level-twelve-container .level12-level-text {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 2;
    justify-self: center;
    align-self: center;
    font-size: 2em;
    font-weight: 800;
    letter-spacing: 3px;
    padding-left: 1.5px;
    margin: 0;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    transform: translateY(-0.04em);
    text-shadow:
        -1px 0 0 #ffffff,
         1px 0 0 #ffffff,
         0 -1px 0 #ffffff,
         0  1px 0 #ffffff,
        -1px -1px 0 #ffffff,
         1px -1px 0 #ffffff,
        -1px  1px 0 #ffffff,
         1px  1px 0 #ffffff;
    color: #000000;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    background: transparent;
    text-transform: uppercase;
}
#level-twelve-container .audio-btn,
.audio-popup-backdrop.theme-12 .audio-popup {
    --ac-color: #ffffff;
    --ac-bg: #000000;
    --ac-border-w: 0px;
    --ac-border-style: solid;
    --ac-glow: 0 0 15px rgba(0, 0, 0, 0.2);
    --ac-font: 'Courier New', monospace;
    --ac-symbols: '▓ ▒ ░ ·';
}
.audio-popup .audio-popup-level12-frame {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
    background: transparent;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    line-height: 1;
    white-space: pre;
    box-sizing: border-box;
}
.audio-popup-backdrop.theme-12 .audio-popup {
    position: relative;
    overflow: visible;
}
.audio-popup-backdrop.theme-12 .audio-popup > :not(.audio-popup-level12-frame) {
    position: relative;
    z-index: 1;
}
#level-twelve-container .audio-btn-level12-wrap {
    position: absolute;
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    z-index: 5;
    pointer-events: none;
}
#level-twelve-container .audio-btn-level12-border {
    position: relative;
    margin: 0;
    padding: 0;
    background: #000000;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    line-height: 1;
    white-space: pre;
    display: block;
    pointer-events: none;
}
#level-twelve-container .audio-btn-level12-wrap .audio-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none;
    margin: 0;
    pointer-events: auto;
}
#loading-screen .level12-ascii-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    pointer-events: none;
}
#loading-screen .level12-ascii-art {
    font-family: 'Courier New', monospace;
    font-size: 3px !important;
    line-height: 1;
    white-space: pre;
    color: #ffffff;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    max-width: 50vw;
    max-height: 50vh;
    overflow: hidden;
    word-break: keep-all;
    letter-spacing: 0;
    box-sizing: border-box;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    height: auto !important;
}
#level-twelve-container .ascii-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
#level-twelve-container .ascii-art {
    font-family: 'Courier New', monospace;
    font-size: 6px;
    line-height: 1;
    white-space: pre;
    color: #ffffff;
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: left;
    width: fit-content;
    max-width: 100vw;
    overflow: hidden;
    word-break: keep-all;
    letter-spacing: 0;
}
#level-twelve-container .speech-bubble {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: #ffffff;
    padding: 0;
    margin: 0;
    border: none;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    white-space: pre;
    width: fit-content;
    max-width: 95%;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#level-twelve-container #bubbleText {
    background: #000000;
    color: #ffffff;
    display: inline-block;
    padding: 0;
    margin: 0;
    width: auto;
    height: fit-content;
    text-align: left;
    box-sizing: border-box;
}
@keyframes level12-blink {
    0%, 49% {
        background: #000000;
        color: #ffffff;
    }
    50%, 100% {
        background: #ffffff;
        color: #000000;
    }
}
#level-twelve-container .speech-bubble.fading {
    animation: level12-fadeOut 1.7s ease-out forwards;
}
@keyframes level12-fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
#level-twelve-container .speech-bubble.blinking .password-input {
    animation: level12-blinkText 0.5s ease-in-out 6;
}
@keyframes level12-blinkText {
    0%, 49% {
        color: #ffffff;
        caret-color: #ffffff;
    }
    50%, 100% {
        color: #000000;
        caret-color: #000000;
    }
}
#level-twelve-container .password-container {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#level-twelve-container .password-container.visible {
    display: block;
}
#level-twelve-container .password-input {
    position: absolute;
    background: transparent !important;
    color: #ffffff;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Courier New', monospace;
    font-size: clamp(0.7rem, 1.2vw, 1rem);
    outline: none !important;
    text-align: center;
    letter-spacing: 2px;
    pointer-events: auto;
    caret-color: #ffffff;
    width: 100%;
    height: 1em;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}
#level-twelve-container .password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}
#level-twelve-container .error-message {
    display: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #ff4444;
    font-size: 0.8rem;
    margin-top: 5px;
}
@keyframes level12-slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#level-twelve-container .password-input {
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 20px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    outline: none;
    width: 100%;
    max-width: 400px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5),
                inset 0 0 10px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
#level-twelve-container .password-input:focus {
    border-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7),
                inset 0 0 15px rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}
#level-twelve-container .password-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
#level-twelve-container .speech-bubble.password-mode .password-input {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border-color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 0 10px rgba(0, 0, 0, 0.05);
}
#level-twelve-container .speech-bubble.password-mode .password-input:focus {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5),
                inset 0 0 15px rgba(0, 0, 0, 0.1);
}
#level-twelve-container .speech-bubble.password-mode .password-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}
#level-twelve-container .error-message {
    color: #ff4444;
    margin-top: 12px;
    font-size: 0.95rem;
    font-weight: bold;
    animation: level12-shake 0.5s ease;
}
@keyframes level12-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
#level-twelve-container .speech-bubble.shaking {
    animation: level12-shakeBubble 0.1s ease-in-out infinite;
}
@keyframes level12-shakeBubble {
    0%, 100% { transform: translate(-50%, 0) translateX(0); }
    10% { transform: translate(-50%, 0) translateX(-3px) translateY(-2px); }
    20% { transform: translate(-50%, 0) translateX(3px) translateY(2px); }
    30% { transform: translate(-50%, 0) translateX(-3px) translateY(2px); }
    40% { transform: translate(-50%, 0) translateX(3px) translateY(-2px); }
    50% { transform: translate(-50%, 0) translateX(-2px) translateY(-1px); }
    60% { transform: translate(-50%, 0) translateX(2px) translateY(1px); }
    70% { transform: translate(-50%, 0) translateX(-2px) translateY(1px); }
    80% { transform: translate(-50%, 0) translateX(2px) translateY(-1px); }
    90% { transform: translate(-50%, 0) translateX(-1px); }
}