/* TOOL WRAPPER UPGRADE */

/* TOOL TITLE */

.tool-wrapper h1{
margin-bottom:20px;
font-size:32px;
font-weight:700;
line-height:1.15;
letter-spacing:-0.03em;
text-align:center;
color:var(--ust-text);
text-shadow:0 1px 0 rgba(255,255,255,0.04);
text-wrap:balance;
}

.tool-wrapper{
    max-width:900px;
    margin:40px auto;
    padding:28px;
    background:
        radial-gradient(circle at top right, rgba(103,198,255,0.14), transparent 24%),
        radial-gradient(circle at bottom left, rgba(244,181,106,0.10), transparent 26%),
        linear-gradient(180deg, rgba(19,43,69,0.94) 0%, rgba(12,29,48,0.96) 100%);
    border:1px solid var(--ust-border);
    border-radius:24px;
    box-shadow:
        var(--ust-shadow),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

/* INPUT AREA */

#input{
    width:100%;
    min-height:96px;
    padding:16px 18px;
    margin-top:12px;
    font-size:17px;
    line-height:1.6;
    font-weight:600;
    letter-spacing:0.01em;
    color:var(--ust-text);
    border:1px solid var(--ust-border);
    border-radius:18px;
    background:linear-gradient(180deg, rgba(14,33,54,0.96) 0%, rgba(11,26,43,0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04),
        inset 0 -1px 0 rgba(255,255,255,0.02);
    transition:all .2s ease;
    text-align:center;
}

#input::placeholder{
    color:var(--ust-text-muted);
    font-weight:600;
    letter-spacing:0.01em;
}

#input:focus{
    border-color:var(--ust-border-strong);
    box-shadow:
        0 0 0 4px rgba(103,198,255,0.10),
        0 16px 34px rgba(5,15,28,0.30),
        inset 0 1px 0 rgba(255,255,255,0.05);
    outline:none;
}

/* ===== STICKY SYSTEM ===== */

.tool-wrapper{
position:relative;
}

/* INPUT STICKY */

#input{
position:sticky;
top:60px;
z-index:20;
background:rgba(11,26,43,0.96);
backdrop-filter:blur(10px);
}

/* PREVIEW STICKY */

.preview-wrapper{
position:sticky;
top:120px;
z-index:15;
background:transparent;
padding-top:12px;
}
