:root {
    color-scheme: dark;
    --bg: #08090c;
    --card: #11131a;
    --line: #292d38;
    --text: #f4f6fb;
    --muted: #9ca3b1;
    --green: #b7ff4a
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: radial-gradient(circle at 50% -10%, #222832, #08090c 45%);
    color: var(--text);
    font: 16px system-ui, -apple-system, Segoe UI, sans-serif
}

.wrap {
    width: min(920px, calc(100% - 32px));
    margin: auto;
    padding: 55px 0 80px
}

header {
    text-align: center;
    margin-bottom: 32px
}

.logo {
    font-weight: 800;
    margin-bottom: 28px
}

h1 {
    font-size: clamp(35px, 6vw, 60px);
    line-height: 1.02;
    letter-spacing: -.04em;
    margin: 0 auto 18px;
    max-width: 850px
}

header p {
    color: var(--muted)
}

.card,
.help {
    background: #11131add;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 18px 60px #0005
}

.drop {
    min-height: 225px;
    border: 1.5px dashed #414754;
    border-radius: 16px;
    background: #0d0f14;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 18px;
}

.drop:hover,
.drop.drag {
    border-color: var(--green);
    background: #12170d
}

.drop input {
    display: none
}

.music {
    font-size: 50px
}

.drop small,
.info,
header p,
.help {
    color: var(--muted)
}

.hidden {
    display: none !important
}

label[for=track] {
    display: block;
    margin: 20px 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase
}

select,
textarea {
    width: 100%;
    background: #090b0f;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit
}

select {
    padding: 13px
}

button {
    border: 0;
    border-radius: 11px;
    padding: 12px 18px;
    background: var(--green);
    color: #090c06;
    font-weight: 850;
    cursor: pointer
}

#convert {
    width: 100%;
    margin-top: 14px
}

.top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px
}

.green {
    color: var(--green);
    font-weight: 900;
    letter-spacing: .1em
}

h2 {
    margin: 5px 0 0
}

.stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 22px 0
}

.stats div {
    background: #171a22;
    border-radius: 12px;
    padding: 12px
}

.stats small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase
}

.stats b {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.warning {
    border: 1px solid #5b4242;
    color: #ff9c9c;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 14px
}

textarea {
    height: 330px;
    padding: 14px;
    font: 13px/1.5 ui-monospace, Consolas, monospace;
    resize: vertical
}

#status {
    text-align: right;
    color: var(--green);
    min-height: 24px;
    padding-top: 8px
}

.help li {
    margin: 8px 0
}

.help h2 {
    color: var(--text)
}

@media(max-width:700px) {
    .stats {
        grid-template-columns: repeat(2, 1fr)
    }

    .top {
        flex-direction: column;
        align-items: stretch
    }

    .top button {
        width: 100%
    }
}
.site-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
}
.site-nav a {
    color: var(--muted);
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 9px 14px;
    border-radius: 999px;
}
.site-nav a.active,
.site-nav a:hover {
    color: var(--text);
    border-color: #555c6c;
    background: #171a22;
}
.studio-link p { color: var(--muted); }
.studio-button {
    display: inline-block;
    background: var(--green);
    color: #090c06;
    text-decoration: none;
    font-weight: 850;
    padding: 11px 16px;
    border-radius: 11px;
}
