
      html,
      body {
        height: 100%;
        margin: 0;
      }

      body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: azure;
        overflow: hidden; /* prevent scrolling */
        pointer-events: none; /* clicks disabled outside input */
      }

      .glitter-script {
        font-family: "Fredoka One", sans-serif;
        font-size: clamp(1rem, 12vw, 20vh); /* shrinks aggressively on small screens */
        padding: 0.4em 0.2em;
        background-image: url("https://i.pinimg.com/originals/25/58/38/255838ab52d1741c8843d641b1094354.gif");
        background-repeat: no-repeat;
        background-size: cover;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        max-width: 95vw; /* never exceed viewport width */
        line-height: 1;
      }

      input[type="text"] {
        font-family: "Montserrat", sans-serif;
        font-weight: bold;
        border: none;
        background: transparent;
        outline: none;
        caret-color: black;
        color: black;

        width: 90vw; /* fills small screens, scales down */
        max-width: 20ch; /* still allows 20 characters on larger screens */
        font-size: clamp(0.8rem, 5vw, 2.5rem); /* shrinks on small screens */

        text-align: center;
        margin-top: 1rem;
        pointer-events: auto;

        overflow-x: hidden;
        white-space: nowrap;

        background-color: rgba(0, 0, 0, 0.05); /* light translucent gray */
        border-radius: 0.5rem; /* rounded corners */
        padding: 0.5em 1em; /* space inside the box */
      }
    