html, body {
    height: 100%;
    margin: 0;
    background: black;
    color: white;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

body {
    background: black;
    color: white;
}

.app-shell {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 16px;
    box-sizing: border-box;
    text-align: center;
    background: black;
    color: white;
    overflow: hidden;
}

.intro-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 700px;
    padding: 0 12px;
    box-sizing: border-box;
}

.logo-image {
    max-width: min(220px, 60vw);
    width: 100%;
    height: auto;
    display: block;
}

.intro-text {
    color: white;
    font-size: clamp(0.95rem, 2.5vw, 1rem);
    line-height: 1.6;
    text-align: center;
    margin: 0;
    max-width: 600px;
}

.prompt-stage {
    flex: 1;
    width: 100%;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.prompt-scale-box {
    transform-origin: center center;
    display: inline-block;
    position: relative;
}

.prompt-measure {
    position: absolute;
    inset: 0 auto auto 0;
    visibility: hidden;
    pointer-events: none;
    margin: 0;
    white-space: pre;
    color: transparent;
    background: transparent;
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.1;
}

.prompt-source {
    display: none;
}

.prompt-output {
    color: white;
    background: black;
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
    line-height: 1.1;
    margin: 0;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: pre;
}

.prompt-line {
    white-space: pre;
}


.generate-button {
    background: white;
    color: black;
    border: none;
    padding: 14px 24px;
    font-size: clamp(1rem, 3vw, 1.1rem);
    cursor: pointer;
    border-radius: 999px;
    transition: transform 120ms ease, opacity 120ms ease, box-shadow 120ms ease;
}

    .generate-button:hover {
        opacity: 0.95;
        transform: translateY(-1px);
    }

    .generate-button:active {
        transform: scale(0.96);
    }

@media (max-width: 700px) {
    .app-shell {
        gap: 12px;
        padding: 12px;
    }

    .prompt-output {
        font-size: 12px;
        line-height: 1.05;
    }

    .generate-button {
        padding: 12px 20px;
    }
}