:root {
    --bg: #070b14;
    --panel: #0f1625;
    --panel2: #111a2b;
    --text: #f5f7fb;
    --muted: #98a5ba;
    --line: rgba(255,255,255,.1);
    --accent: #8068ff;
    --accent2: #20d7a4
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter,system-ui,sans-serif;
    line-height: 1.6
}

.container {
    width: min(1160px,calc(100% - 40px));
    margin: auto
}

.bg-orb {
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: .14;
    pointer-events: none;
    z-index: -1
}

.orb-a {
    background: #7657ff;
    top: -260px;
    left: -200px
}

.orb-b {
    background: #12c99c;
    right: -250px;
    top: 35%
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(7,11,20,.8);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line)
}

.nav {
    height: 74px;
    display: flex;
    align-items: center;
    gap: 30px
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 18px
}

.brand>span:last-child span {
    color: #8a6cff
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(135deg,#8b6cff,#4e3bd6);
    font-weight: 800
}

.nav nav {
    display: flex;
    gap: 25px;
    margin-left: auto
}

.nav nav a,color:var(--muted);text-decoration: none;
font-size:13px}

.nav nav a:hover {
    color: #fff
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.lang {
    position: relative
}

.lang button {
    background: transparent;
    color: #fff;
    border: 1px solid var(--line);
    padding: 9px 12px;
    border-radius: 10px;
    cursor: pointer
}

.lang-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 44px;
    background: #111a2b;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 20px 50px #0008;
    grid-template-columns: repeat(2,1fr);
    min-width: 130px
}

.lang-menu.open {
    display: grid
}

.lang-menu a {
    color: #dfe5f0;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px
}

.lang-menu a:hover {
    background: #ffffff10
}

.hero {
    padding: 100px 0 75px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 70px;
    align-items: center
}

.badge,.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a99cff;
    font-size: 10px;
    letter-spacing: .15em;
    font-weight: 800
}

.badge {
    padding: 8px 11px;
    border: 1px solid #8a76ff44;
    background: #8a76ff0d;
    border-radius: 99px
}

.badge span {
    width: 6px;
    height: 6px;
    background: var(--accent2);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent2)
}

h1 {
    font-size: clamp(44px,6vw,72px);
    line-height: 1.02;
    letter-spacing: -.055em;
    margin: 20px 0
}

.hero h1 span {
    color: #8c73ff
}

.hero-copy>p {
    font-size: 18px;
    color: var(--muted);
    max-width: 620px
}

.hero-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: #c3cada;
    font-size: 12px;
    margin-top: 25px
}

.upload-card {
    background: linear-gradient(180deg,#111a2b,#0c1321);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 30px 90px #0006
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.card-top small,.metrics span {
    display: block;
    color: var(--muted);
    font-size: 10px
}

.card-top strong {
    font-size: 15px
}

.price-pill {
    font-size: 11px;
    color: #bdb2ff;
    background: #8068ff15;
    border: 1px solid #8068ff35;
    padding: 7px 10px;
    border-radius: 99px
}

.progress {
    height: 4px;
    background: #ffffff0a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 14px
}

.progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg,#8068ff,#20d7a4);
    border-radius: inherit
}

.drop {
    position: relative;
    border: 1.5px dashed #6d7890;
    border-radius: 18px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 25px;
    cursor: pointer;
    transition: .2s
}

.drop:hover,.drop.drag,.drop.selected {
    border-color: #8b75ff;
    background: #8b75ff08
}

.drop input {
    display: none
}

.upload-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #8b75ff18;
    color: #a896ff;
    display: grid;
    place-items: center;
    font-size: 27px;
    margin-bottom: 12px
}

.drop h2 {
    font-size: 17px;
    margin: 0 0 5px
}

.drop p,.drop small {
    color: var(--muted);
    margin: 0
}

.drop small {
    font-size: 10px;
    margin-top: 13px
}

.file-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff07;
    border: 1px solid var(--line);
    padding: 12px 14px;
    border-radius: 12px;
    margin-top: 12px;
    font-size: 13px
}

.file-info b {
    display: block;
    max-width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.file-info span {
    color: var(--muted);
    font-size: 10px
}

.file-info button,.modal-close {
    border: 0;
    background: transparent;
    color: #9eabc0;
    font-size: 23px;
    cursor: pointer
}

.metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px
}

.metrics>div {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px
}

.metrics b {
    font-size: 14px
}

.primary {
    width: 100%;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg,#8b72ff,#6249e8);
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    margin-top: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px #6249e833
}

.primary:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none
}

.primary span {
    float: right
}

.fineprint {
    font-size: 10px;
    color: #68758b;
    text-align: center;
    margin-top: 10px
}

.section {
    padding: 90px 0
}

.section.alt {
    background: #0a101c;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.section-head {
    text-align: center;
    margin: 0 auto 38px;
    max-width: 760px
}

.section h2,.pricing-box h2 {
    font-size: 38px;
    letter-spacing: -.04em;
    margin: 10px 0
}

.section-head p,.cards p,.steps p,.pricing-box p {
    color: var(--muted)
}

.cards {
    display: grid;
    gap: 15px
}

.cards.three {
    grid-template-columns: repeat(3,1fr)
}

.cards.four {
    grid-template-columns: repeat(4,1fr)
}

.cards article,.steps article {
    background: #0d1422;
    border: 1px solid var(--line);
    padding: 27px;
    border-radius: 18px
}

.card-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #8b75ff13;
    color: #a897ff;
    font-size: 20px
}

.cards h3,.steps h3 {
    font-size: 16px;
    margin: 18px 0 7px
}

.cards p,.steps p {
    font-size: 13px;
    margin: 0
}

.steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px
}

.steps span {
    color: #8d78ff;
    font-size: 12px;
    font-weight: 800
}

.programs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px
}

.programs span {
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0d1422;
    color: #c7cfdd;
    font-size: 12px
}

.pricing-box {
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 35px;
    background: #0d1422;
    border: 1px solid var(--line);
    padding: 40px;
    border-radius: 24px
}

.price-card {
    border: 1px solid #8a76ff44;
    background: #8a76ff0b;
    border-radius: 18px;
    padding: 25px
}

.price-big {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -.05em
}

.price-big small {
    font-size: 18px
}

.price-free {
    color: #82e4c6;
    font-size: 12px;
    margin-top: 15px
}

.price-list {
    display: grid;
    gap: 8px;
    margin-top: 22px
}

.price-list div {
    display: grid;
    grid-template-columns: 35px 1fr auto;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px
}

.price-list b {
    color: #8d78ff;
    font-size: 11px
}

.price-list span {
    color: #c9d1df;
    font-size: 12px
}

.price-list strong {
    font-size: 13px
}

.trust {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 25px 0;
    color: #aab5c7;
    font-size: 12px;
    text-align: center
}

.payment-info {
    padding: 11px 13px;
    border: 1px solid #20d7a433;
    background: #20d7a40b;
    border-radius: 11px;
    color: #a9dfd0;
    font-size: 11px
}

.hidden {
    display: none!important
}

footer {
    padding: 30px 0;
    color: #68758b;
    font-size: 11px
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.footer-links {
    display: flex;
    gap: 18px
}

.footer a {
    color: #8d99ad;
    text-decoration: none
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: #02050bb8;
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    padding: 20px
}

.modal-box {
    position: relative;
    width: min(460px,100%);
    background: #101929;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 30px 100px #0009
}

.modal-close {
    position: absolute;
    right: 17px;
    top: 12px
}

.modal-box h2 {
    font-size: 27px;
    line-height: 1.1;
    margin: 10px 0
}

.modal-box p {
    color: var(--muted);
    font-size: 13px
}

.pay-total {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
    margin: 20px 0
}

.pay-total strong {
    font-size: 21px
}

.toast {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #172238;
    border: 1px solid var(--line);
    padding: 12px 18px;
    border-radius: 12px;
    opacity: 0;
    transition: .25s;
    z-index: 80;
    font-size: 12px
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

@media(max-width: 900px) {
    .hero-grid {
        grid-template-columns:1fr;
        gap: 40px
    }

    .hero {
        padding-top: 55px
    }

    .nav nav {
        display: none
    }

    .hero-copy {
        text-align: center
    }

    .hero-meta {
        justify-content: center
    }

    .cards.three,.cards.four,.steps {
        grid-template-columns: 1fr 1fr
    }

    .pricing-box {
        grid-template-columns: 1fr
    }
}

@media(max-width: 560px) {
    .container {
        width:min(100% - 24px,1160px)
    }

    .nav {
        height: 64px
    }

    .hero h1 {
        font-size: 45px
    }

    .hero-copy>p {
        font-size: 15px
    }

    .upload-card {
        padding: 14px
    }

    .drop {
        min-height: 230px
    }

    .cards.three,.cards.four,.steps,.trust-grid {
        grid-template-columns: 1fr
    }

    .section {
        padding: 60px 0
    }

    .pricing-box {
        padding: 25px
    }

    .footer {
        flex-direction: column;
        text-align: center
    }
}

nav a {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0;
    text-decoration: none
}

.usage-note {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 10px;
    margin: -4px 2px 10px
}

.usage-note span:last-child {
    color: #c7d0df;
    font-variant-numeric: tabular-nums
}

/* Modern mobile slide-out navigation */
.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    background: #ffffff08;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: .2s
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.62);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 39
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible
}

.mobile-drawer {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(390px,88vw);
    background: linear-gradient(180deg,#101929,#090f1b);
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 80px rgba(0,0,0,.45);
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.22,.8,.2,1);
    padding: 20px;
    overflow: auto
}

.mobile-drawer.open {
    transform: translateX(0)
}

.mobile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line)
}

.mobile-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff08;
    color: #fff;
    font-size: 25px;
    cursor: pointer
}

.mobile-tools {
    padding: 22px 0 8px
}

.mobile-label,.mobile-lang-title {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #758299;
    font-weight: 800;
    margin: 0 4px 10px
}

.mobile-tool {
    display: grid;
    grid-template-columns: 42px 1fr 18px;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 13px 10px;
    border: 1px solid transparent;
    border-radius: 15px;
    margin: 4px 0;
    transition: .2s
}

.mobile-tool:hover,.mobile-tool.active {
    background: #ffffff08;
    border-color: var(--line)
}

.mobile-tool b {
    display: block;
    font-size: 13px
}

.mobile-tool small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 2px
}

.tool-dot {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #8b75ff15;
    color: #b0a2ff;
    font-size: 12px;
    font-weight: 800
}

.mobile-tool>span:last-child {
    color: #77849a
}

.mobile-nav {
    display: grid;
    gap: 4px;
    border-top: 1px solid var(--line);
    padding: 16px 4px
}

.mobile-nav a {
    color: #d9dfeb;
    text-decoration: none;
    padding: 12px 10px;
    border-radius: 10px;
    font-size: 13px
}

.mobile-nav a:hover {
    background: #ffffff08
}

.mobile-lang-title {
    padding: 20px 4px 8px;
    border-top: 1px solid var(--line)
}

.mobile-lang-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 6px
}

.mobile-lang-grid a {
    color: #aeb9cb;
    text-decoration: none;
    text-align: center;
    padding: 9px 5px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 10px
}

.mobile-lang-grid a.active {
    color: #fff;
    background: #8068ff18;
    border-color: #8068ff55
}

body.menu-open {
    overflow: hidden
}

@media(max-width: 900px) {
    .desktop-nav {
        display:none!important
    }

    .menu-toggle {
        display: flex
    }

    .nav-actions {
        margin-left: auto
    }

    .nav {
        gap: 12px
    }
}

.back-link {
    color: #cbd3e1;
    text-decoration: none;
    border: 1px solid var(--line);
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 12px
}

.back-link:hover {
    background: #ffffff08;
    color: #fff
}

.tools-dropdown {
    position: relative
}

.tools-trigger {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    padding: 8px 0
}

.tools-trigger span {
    font-size: 12px;
    margin-left: 4px
}

.tools-menu {
    position: absolute;
    top: 38px;
    left: -380px;
    width: min(820px,calc(100vw - 32px));
    padding: 10px;
    background: #111a2b;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 20px 50px #0009;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: .18s;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 4px
}

.tools-dropdown:hover .tools-menu,.tools-dropdown:focus-within .tools-menu {
    opacity: 1;
    visibility: visible;
    transform: none
}

.tools-menu a {
    display: block!important;
    color: #fff!important;
    text-decoration: none!important;
    padding: 10px 11px;
    border-radius: 10px;
    min-width: 0
}

.tools-menu a:hover,.tools-menu a.active {
    background: #ffffff08
}

.tools-menu b {
    display: block;
    font-size: 12px;
    line-height: 1.25
}

.tools-menu small {
    display: block;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.35;
    margin-top: 4px
}

.tool-page-hero {
    padding: 78px 0 55px
}

.tool-page-grid {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 60px;
    align-items: center
}

.tool-copy p {
    color: var(--muted);
    font-size: 17px;
    max-width: 680px
}

.tool-panel {
    background: linear-gradient(180deg,#111a2b,#0c1321);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 30px 90px #0006
}

.tool-panel textarea {
    width: 100%;
    min-height: 280px;
    resize: vertical;
    background: #09101c;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: #fff;
    padding: 17px;
    font: inherit;
    outline: none
}

.tool-panel textarea:focus {
    border-color: #8068ff88;
    box-shadow: 0 0 0 3px #8068ff12
}

.voice-picker {
    display: grid;
    grid-template-columns: 1fr 42px;
    gap: 7px
}

.voice-preview {
    border: 1px solid var(--line);
    background: #8b75ff12;
    color: #c5baff;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    transition: .18s
}

.voice-preview:hover {
    background: #8b75ff22;
    border-color: #8b75ff66
}

.voice-preview:active {
    transform: scale(.97)
}

.voice-preview-status {
    min-height: 14px;
    color: #77849a;
    font-size: 9px;
    margin: 5px 2px 0
}

.voice-preview-status:empty {
    display: none
}

.tool-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px
}

.tool-controls label {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-bottom: 5px
}

.tool-controls select {
    width: 100%;
    background: #0b1321;
    border: 1px solid var(--line);
    color: #fff;
    border-radius: 11px;
    padding: 11px
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 10px;
    margin: 9px 2px
}

.tool-result {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff06
}

.tool-result audio {
    width: 100%
}

.tool-suite-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px
}

.tool-suite-card {
    background: #0d1422;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 25px
}

.tool-suite-card a {
    color: #fff;
    text-decoration: none
}

.tool-suite-card p {
    color: var(--muted);
    font-size: 13px
}

.tool-paywall {
    margin-top: 15px
}

.tool-usage {
    margin: -4px 2px 14px;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 10px
}

.tool-usage strong {
    color: #fff
}

.tool-error {
    color: #ff9eae;
    font-size: 11px;
    margin-top: 8px;
    min-height: 16px
}

@media(max-width: 900px) {
    .tool-page-grid {
        grid-template-columns:1fr
    }

    .tool-suite-cards {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width: 560px) {
    .tool-page-hero {
        padding:50px 0 35px
    }

    .tool-controls {
        grid-template-columns: 1fr
    }

    .tool-suite-cards {
        grid-template-columns: 1fr
    }
}

/* Free browser audio suite */
.free-tool-links {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px
}

.free-tool-links .tool-link {
    display: block;
    background: #0d1422;
    border: 1px solid var(--line);
    padding: 27px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
}

.free-tool-links .tool-link b {
    display: block
}

.free-tool-links .tool-link small {
    display: block;
    margin-top: 5px
}

@media(max-width: 800px) {
    .free-tool-links {
        grid-template-columns:1fr 1fr
    }
}

@media(max-width: 520px) {
    .free-tool-links {
        grid-template-columns:1fr
    }
}

@media(max-width: 900px) {
    .tools-menu {
        left:-360px;
        width: min(720px,calc(100vw - 24px));
        grid-template-columns: repeat(2,minmax(0,1fr))
    }
}

/* V6: compact three-column tools menu */
.tools-menu small {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 27px
}

@media(max-width: 900px) {
    .tools-menu small {
        min-height:0
    }
}
/* Mobile: Dateiname sauber kÃ¼rzen */
@media (max-width: 700px) {
  .wave-head > div:first-child {
    min-width: 0;
    max-width: calc(100% - 42px);
  }

  .wave-head strong,
  #waveFileName {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .wave-head {
    min-width: 0;
  }

  .file-clear {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    padding: 0;
  }
}

.wave-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.wave-head > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
  width: 0;
  /* overflow: hidden; */
}

.wave-head > div:first-child strong,
.wave-head #waveFileName {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wave-meta {
  flex: 0 0 auto;
  white-space: nowrap;
  max-width: 45%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-clear {
  flex: 0 0 24px;
}

@media (max-width: 700px) {
  .wave-head {
    gap: 8px;
  }

  .wave-head > div:first-child {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
  }

  .wave-meta {
    max-width: 32%;
    font-size: 11px;
  }

  .file-clear {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }
}


/* Unified AI tool badges in the main tools menu */
.tools-menu .tool-name {
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
}
.tools-menu .tool-name b {
    min-width:0;
}
.tools-menu .ai-badge,
.mobile-tool .ai-badge {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    padding:2px 5px;
    border:1px solid rgba(139,92,246,.55);
    border-radius:5px;
    background:rgba(139,92,246,.16);
    color:#c4b5fd;
    font-size:8px;
    font-weight:800;
    line-height:1;
    letter-spacing:.04em;
    text-transform:uppercase;
    vertical-align:middle;
}
.mobile-tool .ai-badge {
    margin-left:5px;
    position:relative;
    top:-1px;
}
