/* --- Główny kontener uploadu --- */
.main-wrapper {
    width: 100%;
    max-width: 520px;
    z-index: 10;
    margin: 0 auto;
    position: relative;
}

/* --- Value Proposition Section (Lewy górny tekst) --- */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-icon {
    font-size: 32px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   CONCEPT A: WIDE 2-COLUMN SPLIT STUDIO HERO (AWWWARDS COCKPIT)
   ========================================================================== */
.studio-wrapper {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding: clamp(14px, 1.8vh, 26px) clamp(16px, 2.5vw, 32px) 36px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

:root {
    interpolate-size: allow-keywords;
}

/* Hero Section: Centered vertical layout shifted slightly higher for balanced composition */
.studio-split-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 0;
    gap: clamp(32px, 4.2vh, 52px);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    transition: gap 0.55s cubic-bezier(0.16, 1, 0.3, 1), padding 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ambient Luminous Aura: Expands on 2K / 27" screens, scales dynamically on laptops */
.studio-split-hero::before {
    content: '';
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(540px, 68vw, 1050px);
    height: clamp(380px, 50vh, 720px);
    background: radial-gradient(ellipse at center, rgba(52, 211, 153, 0.07) 0%, rgba(56, 189, 248, 0.05) 38%, rgba(129, 140, 248, 0.02) 60%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

/* Copy, Brand & Quick PDF Toolbox */
.studio-hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: min(920px, 94vw);
    margin: 0 auto;
    gap: clamp(16px, 2.2vh, 26px);
    width: 100%;
    box-sizing: border-box;
    animation: slideInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    max-height: min(340px, 45vh);
    opacity: 1;
    transform: translateY(0) scale(1);
    transform-origin: top center;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease,
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                margin 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                gap 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
}

/* --- FOCUS MODE (Płynne zwijanie Hero, gdy użytkownik dostosowuje transfer lub dodał plik) --- */
.studio-split-hero.focus-mode,
.studio-split-hero:has(.upload-container.has-files),
.studio-split-hero:has(.upload-container.options-forced),
.studio-split-hero:has(.upload-container.options-expanded) {
    gap: 0 !important;
    padding-top: clamp(6px, 1vh, 16px);
}

.studio-split-hero.focus-mode .studio-hero-left,
.studio-split-hero:has(.upload-container.has-files) .studio-hero-left,
.studio-split-hero:has(.upload-container.options-forced) .studio-hero-left,
.studio-split-hero:has(.upload-container.options-expanded) .studio-hero-left {
    max-height: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    transform: translateY(-20px) scale(0.97) !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.studio-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.studio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.16) 0%, rgba(56, 189, 248, 0.14) 100%);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #6EE7B7;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.22);
}

.studio-badge-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #34D399;
    box-shadow: 0 0 10px #34D399;
    animation: trustPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.studio-hero-title,
.value-title {
    font-size: clamp(30px, 2.6vw + 10px, 52px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: clamp(-0.6px, -0.012em, -0.1px);
    margin: 0 0 16px 0;
    color: #FFFFFF;
    text-align: center;
}

.studio-title-gradient,
.value-title {
    background: linear-gradient(135deg,
            #FFFFFF 0%,
            #FFFFFF 25%,
            #6EE7B7 50%,
            #38BDF8 75%,
            #C4B5FD 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
}

/* Shimmer animation */
@keyframes shine {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.studio-hero-desc,
.value-description {
    font-size: clamp(14.5px, 0.92vw + 3px, 16.5px);
    color: #CBD5E1;
    line-height: 1.65;
    letter-spacing: -0.005em;
    margin: 0 0 22px 0;
    max-width: min(840px, 92vw);
    text-align: center;
}

.studio-feature-tags,
.value-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

/* Quick PDF Hint in Hero Copy */
.hero-pdf-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 18px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 999px;
    font-size: 13px;
    color: #E0F2FE;
    backdrop-filter: blur(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-pdf-hint:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 4px 18px rgba(56, 189, 248, 0.25);
    transform: translateY(-1px);
}

.hero-pdf-link-btn {
    background: transparent;
    border: none;
    color: #38BDF8;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s ease;
    display: inline-flex;
    align-items: center;
}

.hero-pdf-link-btn:hover {
    color: #7DD3FC;
    text-decoration: underline;
}

/* Hero Uploader: Cockpit with Ambient Glow placed under text block */
.studio-hero-right {
    position: relative;
    width: 100%;
    max-width: clamp(520px, 44vw, 840px);
    margin: 0 auto;
    box-sizing: border-box;
    animation: slideInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.studio-hero-right::before {
    display: none;
}

.studio-hero-right .upload-container {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Panoramic PDF Toolbox Section (Sleek Harmonious Bento Grid) */
.toolbox-panoramic-section {
    width: 100%;
    max-width: min(680px, 92vw);
    margin: 0 auto;
    padding: clamp(22px, 2.8vh, 30px) clamp(18px, 2.2vw, 28px);
    background: linear-gradient(168deg, rgba(16, 23, 36, 0.9) 0%, rgba(9, 13, 20, 0.96) 100%);
    border: 1px solid rgba(52, 211, 153, 0.22);
    border-top: 1.5px solid rgba(52, 211, 153, 0.45);
    border-radius: 24px;
    box-shadow:
        0 24px 65px -10px rgba(0, 0, 0, 0.8),
        0 0 35px -10px rgba(52, 211, 153, 0.12);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.tb-panoramic-header {
    text-align: center;
    margin-bottom: 24px;
}

.tb-panoramic-header .tb-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.14) 0%, rgba(56, 189, 248, 0.12) 100%);
    border: 1px solid rgba(52, 211, 153, 0.35);
    border-radius: 999px;
    color: #6EE7B7;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.tb-panoramic-header .tb-title {
    font-size: clamp(20px, 1.8vw + 8px, 26px);
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 8px 0;
    letter-spacing: -0.4px;
}

.tb-panoramic-header .tb-desc {
    font-size: 13.5px;
    color: #94A3B8;
    margin: 0 auto;
    max-width: 580px;
    line-height: 1.5;
}

.tb-panoramic-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

@media (max-width: 640px) {
    .tb-panoramic-grid {
        grid-template-columns: 1fr !important;
    }
}

.tb-panoramic-grid .tb-card-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.tb-panoramic-grid .tb-card-btn:hover {
    background: rgba(52, 211, 153, 0.07);
    border-color: rgba(52, 211, 153, 0.38);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -5px rgba(0, 0, 0, 0.5), 0 0 24px rgba(52, 211, 153, 0.18);
}

.tb-panoramic-grid .tb-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.tb-panoramic-grid .tb-card-btn:hover .tb-card-icon-wrap {
    transform: scale(1.08) rotate(3deg);
}

.tb-panoramic-grid .tb-card-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.tb-panoramic-grid .tb-card-text span {
    font-size: 12px;
    color: #94A3B8;
}

.tb-panoramic-grid .tb-arrow {
    color: #64748B;
    font-size: 16px;
    transition: all 0.2s ease;
    margin-left: auto;
}

.tb-panoramic-grid .tb-card-btn:hover .tb-arrow {
    color: #34D399;
    transform: translateX(4px);
}

/* Panorama Sections below Hero */
.studio-panorama-sections {
    margin-top: clamp(60px, 8vh, 100px);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.studio-panorama-sections .trust-bar-section {
    margin-top: 0;
}

.studio-panorama-sections .trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.studio-panorama-sections .faq-section {
    margin-top: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Subtle Frameless Scroll Prompt below Hero (Bez pigułki / Czysty minimalizm) */
.hero-scroll-prompt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    position: relative;
    transition: color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.25s ease;
    font-family: inherit;
    user-select: none;
}

/* Dyskretna świetlna linia akcentu rozszerzająca się od środka pod tekstem na hoverze */
.hero-scroll-prompt::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 65%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #34D399, #38BDF8, transparent);
    box-shadow: 0 0 8px rgba(52, 211, 153, 0.6);
    border-radius: 999px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.hero-scroll-prompt:hover {
    color: #FFFFFF;
    text-shadow: 0 0 14px rgba(52, 211, 153, 0.45);
    transform: translateY(-1.5px);
    background: transparent;
    border: none;
    box-shadow: none;
}

.hero-scroll-prompt:hover::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.hero-scroll-prompt:active {
    transform: translateY(0) scale(0.98);
}

.scroll-arrow-anim {
    color: #64748B;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll-prompt:hover .scroll-arrow-anim {
    color: #34D399;
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.85));
    animation-duration: 1.1s;
    transform: translateY(2px);
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(3px);
    }
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.035);
    color: #E2E8F0;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-tag svg {
    color: #C4E7D4;
    width: 14px;
    height: 14px;
    transition: var(--transition-smooth);
}

.feature-tag:hover {
    background: rgba(196, 231, 212, 0.1);
    border-color: rgba(196, 231, 212, 0.3);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), 0 0 16px rgba(196, 231, 212, 0.12);
}

.feature-tag:hover svg {
    color: #FFFFFF;
}

/* --- Nawigacja: Logo (Lewa strona) - Ożywiony Sygnet w stylu Dropsite --- */
.nav-logo {
    position: fixed;
    top: 26px;
    left: 40px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 1000;
    cursor: pointer;
    user-select: none;
}

.nav-logo-icon-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Organiczna poświata za sygnetem - płynny puls w kolorach mięty i cyjanu */
.nav-logo-aura {
    position: absolute;
    inset: -9px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.4) 0%, rgba(56, 189, 248, 0.2) 50%, transparent 75%);
    filter: blur(8px);
    opacity: 0.65;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    animation: navAuraBreath 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes navAuraBreath {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.55;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
        filter: blur(10px);
    }
}

/* Fala uderzeniowa (Drop Ripple) rozszerzająca się przy najechaniu */
.nav-logo-ripple {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1.5px solid rgba(52, 211, 153, 0.6);
    opacity: 0;
    transform: scale(0.7);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.nav-logo:hover .nav-logo-ripple {
    animation: dropRipple 1.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes dropRipple {
    0% {
        transform: scale(0.7);
        opacity: 0.9;
        border-color: rgba(52, 211, 153, 0.85);
        box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
        border-color: rgba(56, 189, 248, 0);
        box-shadow: 0 0 20px rgba(56, 189, 248, 0);
    }
}


.nav-logo-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.55));
    transition: filter 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 0 16px rgba(52, 211, 153, 0.9)) drop-shadow(0 0 28px rgba(56, 189, 248, 0.6));
    transform: scale(1.08);
}

.nav-logo-svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
    overflow: visible;
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.4));
    transition: filter 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-logo-tray {
    transition: filter 0.3s ease;
}

/* W spoczynku: delikatna mikro-lewitacja strzałki */
.nav-logo-arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    animation: navArrowFloat 3.2s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes navArrowFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

/* Ciągły strumień transferu (Upload Stream Loop) przy najechaniu */
@keyframes uploadStreamLoop {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    45% {
        transform: translateY(-7px);
        opacity: 0;
    }
    48% {
        transform: translateY(7px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   EFEKT NA SAM NAPIS (DROPSITE) - CIĄGŁY PRZEPŁYW ŚWIATŁA W STYLU HERO
   ========================================================================== */
.nav-logo-text {
    position: relative;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.4px;
    display: inline-block;
    /* Identyczny płynący gradient jak na "Błyskawiczny transfer plików" */
    background: linear-gradient(135deg,
            #FFFFFF 0%,
            #FFFFFF 25%,
            #6EE7B7 50%,
            #38BDF8 75%,
            #C4B5FD 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite;
    transition: filter 0.3s ease;
}

/* ==========================================================================
   INTERAKCJA HOVER - BEZ PRZESUWANIA ELEMENTÓW, CZYSTE ROZŚWIETLENIE
   ========================================================================== */
/* Całość nie przesuwa się ani nie powiększa */
.nav-logo:hover {
    transform: none !important;
}

.nav-logo:hover .nav-logo-icon-box {
    transform: none !important;
}

.nav-logo:hover .nav-logo-aura {
    opacity: 0.95;
    filter: blur(8px);
    background: radial-gradient(circle, rgba(52, 211, 153, 0.55) 0%, rgba(56, 189, 248, 0.3) 50%, transparent 80%);
}

.nav-logo:hover .nav-logo-svg {
    filter: drop-shadow(0 0 10px rgba(52, 211, 153, 0.8)) drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
}

.nav-logo:hover .nav-logo-tray {
    filter: drop-shadow(0 0 5px rgba(52, 211, 153, 0.6));
}

/* Subtelny strumień uploadu w strzałce bez ruszania całego logo */
.nav-logo:hover .nav-logo-arrow {
    animation: uploadStreamLoop 0.85s cubic-bezier(0.35, 0, 0.25, 1) infinite;
}

/* Reakcja napisu: bez przesuwania, tylko przyspieszenie światła i miękki blask */
.nav-logo:hover .nav-logo-text {
    transform: none;
    animation-duration: 3s;
    filter: drop-shadow(0 0 12px rgba(52, 211, 153, 0.45));
}

/* --- Nawigacja: Linki nawigacyjne - absolutny środek ekranu --- */
/* .nav-right jest teraz tylko pojemnikiem na akcje po PRAWEJ stronie */
.nav-right {
    position: fixed;
    top: 26px;
    right: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    z-index: 1000;
}

/* Linki w środku ekranu */
.nav-links-center {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 72px;
    display: flex;
    align-items: center;
    z-index: 1000;
    pointer-events: auto;
}

/* Aurora bottom border na dolnej krawędzi całego topbara */
.nav-links-center::after {
    content: '';
    position: fixed;
    top: 71px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(94, 234, 212, 0) 5%,
        rgba(94, 234, 212, 0.35) 25%,
        rgba(56, 189, 248, 0.5) 50%,
        rgba(167, 139, 250, 0.35) 75%,
        rgba(94, 234, 212, 0) 95%,
        transparent 100%);
    background-size: 200% 100%;
    animation: auroraShift 6s linear infinite;
    pointer-events: none;
    opacity: 0.7;
}

@keyframes auroraShift {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Auto-hide przy scrollu w dół: płynne usunięcie w górę, zero kolizji z tekstem */
.nav-logo.nav-hidden,
.nav-right.nav-hidden {
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
}

.nav-links-center.nav-hidden {
    transform: translateX(-50%) translateY(-130%);
    opacity: 0;
    pointer-events: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
    position: relative;
}

/* Liquid glow indicator — płynna, aksamitna smuga światła Brand Mint pod aktywnym / najechaniem linkiem */
.nav-links::before {
    content: '';
    position: absolute;
    bottom: -2px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 231, 212, 0.85) 25%, #C4E7D4 50%, rgba(196, 231, 212, 0.85) 75%, transparent 100%);
    box-shadow: 0 0 10px rgba(196, 231, 212, 0.55), 0 0 20px rgba(196, 231, 212, 0.22);
    width: var(--glow-w, 60px);
    left: var(--glow-x, 0px);
    transition: left 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.22s ease;
    opacity: var(--glow-opacity, 1);
    pointer-events: none;
    will-change: left, width, opacity;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15.5px;
    font-weight: 600;
    transition: color 0.22s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.22s ease;
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 12px rgba(196, 231, 212, 0.3);
}

.nav-links a.active {
    color: #FFFFFF;
}

/* Usuwamy stary statyczny ::after indicator — zastąpiony przez liquid glow */
.nav-links a::after {
    display: none;
}

/* --- Menu Rozwijane Narzędzi (Dropdown na Hover) --- */
.nav-dropdown-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-item > a {
    cursor: pointer;
    user-select: none;
    gap: 4px;
}

.nav-dropdown-arrow {
    opacity: 0.6;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.nav-dropdown-item:hover .nav-dropdown-arrow,
.nav-dropdown-item.is-open .nav-dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: #C4E7D4;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(8px) scale(0.96);
    background: linear-gradient(165deg, rgba(15, 23, 42, 0.88) 0%, rgba(10, 15, 26, 0.96) 100%);
    backdrop-filter: blur(32px) saturate(190%);
    -webkit-backdrop-filter: blur(32px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 20px;
    padding: 8px;
    min-width: 330px;
    width: 340px;
    box-shadow: 0 28px 70px -10px rgba(0, 0, 0, 0.75),
                0 0 35px rgba(196, 231, 212, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1) 0.22s,
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) 0.22s,
                visibility 0.22s ease 0.22s;
}

/* Górna subtelna smuga światła z czystym akcentem Brand Mint (PDF Tools) */
.nav-dropdown-menu::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 231, 212, 0.8) 50%, transparent 100%);
    box-shadow: 0 0 12px rgba(196, 231, 212, 0.45);
    pointer-events: none;
}

/* Niewidoczny bezpieczny mostek pod myszkę łączący przycisk i dropdown */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 14px;
    pointer-events: auto;
    background: transparent;
    z-index: 10001;
}

.nav-dropdown-item:hover .nav-dropdown-menu,
.nav-dropdown-item:focus-within .nav-dropdown-menu,
.nav-dropdown-item.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    transition-delay: 0s;
}

/* MAGNETYCZNY GLIDER POD KURSOREM (ŚWIEŻY MIĘTOWY GLOW - COMPOSITOR ACCELERATED) */
.nav-dropdown-glider {
    position: absolute;
    top: 0;
    left: 7px;
    right: 7px;
    width: calc(100% - 14px);
    border-radius: 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(196, 231, 212, 0.08) 100%);
    border: 1px solid rgba(196, 231, 212, 0.18);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.18s ease;
    will-change: transform, height, opacity;
}

.nav-dropdown-link {
    display: flex !important;
    align-items: center;
    gap: 12px;
    width: 100%;
    background: transparent;
    border: none;
    color: #E2E8F0 !important;
    padding: 8.5px 10px !important;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    text-decoration: none !important;
    transition: color 0.18s ease !important;
    font-family: inherit;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.nav-dropdown-link::after {
    display: none !important;
}

.nav-dropdown-link:hover {
    color: #FFFFFF !important;
}

/* HARMONIJNE IKONY FROSTED GLASS W AKCENCIE MIĘTOWYM Z PDF STUDIO */
.nav-dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(196, 231, 212, 0.12) 0%, rgba(168, 218, 191, 0.06) 100%);
    border: 1px solid rgba(196, 231, 212, 0.22);
    color: #C4E7D4;
    box-shadow: 0 2px 10px rgba(196, 231, 212, 0.08);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s ease,
                background 0.22s ease,
                border-color 0.22s ease,
                color 0.22s ease,
                filter 0.22s ease;
}

.nav-dropdown-icon svg {
    color: inherit;
    stroke: currentColor;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Domyślny miętowy styl bazy */
.nav-dropdown-icon {
    background: linear-gradient(135deg, rgba(196, 231, 212, 0.12) 0%, rgba(168, 218, 191, 0.06) 100%);
    border: 1px solid rgba(196, 231, 212, 0.22);
    color: #C4E7D4;
    box-shadow: 0 2px 10px rgba(196, 231, 212, 0.08);
}

/* 1. Mięta PDF Studio (Narzędzia PDF) */
.nav-dropdown-icon.icon-mint {
    background: linear-gradient(135deg, rgba(196, 231, 212, 0.13) 0%, rgba(168, 218, 191, 0.06) 100%);
    border: 1px solid rgba(196, 231, 212, 0.24);
    color: #C4E7D4;
    box-shadow: 0 2px 10px rgba(196, 231, 212, 0.08);
}

/* 2. Jasny błękit / Ice Sky (Pobierz wideo HD) */
.nav-dropdown-icon.icon-sky {
    background: linear-gradient(135deg, rgba(186, 230, 253, 0.13) 0%, rgba(125, 211, 252, 0.06) 100%);
    border: 1px solid rgba(186, 230, 253, 0.24);
    color: #BAE6FD;
    box-shadow: 0 2px 10px rgba(186, 230, 253, 0.08);
}

/* 3. Jasna lawenda / Pastel Lavender (Historia transferów) */
.nav-dropdown-icon.icon-purple {
    background: linear-gradient(135deg, rgba(224, 219, 254, 0.13) 0%, rgba(196, 181, 253, 0.06) 100%);
    border: 1px solid rgba(224, 219, 254, 0.24);
    color: #DDD6FE;
    box-shadow: 0 2px 10px rgba(224, 219, 254, 0.08);
}

/* 4. Ciepłe jasne złoto / Soft Amber-Gold (Sejf Notatek & Kodów) */
.nav-dropdown-icon.icon-amber {
    background: linear-gradient(135deg, rgba(254, 240, 199, 0.13) 0%, rgba(253, 230, 138, 0.06) 100%);
    border: 1px solid rgba(254, 240, 199, 0.24);
    color: #FDE68A;
    box-shadow: 0 2px 10px rgba(254, 240, 199, 0.08);
}

/* 5. Jasny platynowy szron / Platinum Slate (Kontakt) */
.nav-dropdown-icon.icon-slate {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.12) 0%, rgba(203, 213, 225, 0.06) 100%);
    border: 1px solid rgba(226, 232, 240, 0.22);
    color: #E2E8F0;
    box-shadow: 0 2px 10px rgba(226, 232, 240, 0.08);
}

/* 6. Jasny pastelowy szmaragd / Soft Jade (Dźwięki) */
.nav-dropdown-icon.icon-emerald {
    background: linear-gradient(135deg, rgba(167, 243, 208, 0.13) 0%, rgba(110, 231, 183, 0.06) 100%);
    border: 1px solid rgba(167, 243, 208, 0.24);
    color: #A7F3D0;
    box-shadow: 0 2px 10px rgba(167, 243, 208, 0.08);
}

/* 7. Jasny pastelowy turkus / Aqua Breeze (Tryb Płynności) */
.nav-dropdown-icon.icon-cyan {
    background: linear-gradient(135deg, rgba(165, 243, 252, 0.13) 0%, rgba(103, 232, 249, 0.06) 100%);
    border: 1px solid rgba(165, 243, 252, 0.24);
    color: #A5F3FC;
    box-shadow: 0 2px 10px rgba(165, 243, 252, 0.08);
}

.nav-dropdown-link:hover .nav-dropdown-icon {
    transform: scale(1.06);
}

.nav-dropdown-link:hover .nav-dropdown-icon.icon-mint {
    background: linear-gradient(135deg, rgba(196, 231, 212, 0.24) 0%, rgba(168, 218, 191, 0.14) 100%);
    border-color: rgba(196, 231, 212, 0.45);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(196, 231, 212, 0.35);
    filter: drop-shadow(0 0 6px rgba(196, 231, 212, 0.45));
}

.nav-dropdown-link:hover .nav-dropdown-icon.icon-sky {
    background: linear-gradient(135deg, rgba(186, 230, 253, 0.24) 0%, rgba(125, 211, 252, 0.14) 100%);
    border-color: rgba(186, 230, 253, 0.45);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(186, 230, 253, 0.35);
    filter: drop-shadow(0 0 6px rgba(186, 230, 253, 0.45));
}

.nav-dropdown-link:hover .nav-dropdown-icon.icon-purple {
    background: linear-gradient(135deg, rgba(224, 219, 254, 0.24) 0%, rgba(196, 181, 253, 0.14) 100%);
    border-color: rgba(224, 219, 254, 0.45);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(224, 219, 254, 0.35);
    filter: drop-shadow(0 0 6px rgba(224, 219, 254, 0.45));
}

.nav-dropdown-link:hover .nav-dropdown-icon.icon-amber {
    background: linear-gradient(135deg, rgba(254, 240, 199, 0.24) 0%, rgba(253, 230, 138, 0.14) 100%);
    border-color: rgba(254, 240, 199, 0.45);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(254, 240, 199, 0.35);
    filter: drop-shadow(0 0 6px rgba(254, 240, 199, 0.45));
}

.nav-dropdown-link:hover .nav-dropdown-icon.icon-slate {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.24) 0%, rgba(203, 213, 225, 0.14) 100%);
    border-color: rgba(226, 232, 240, 0.45);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(226, 232, 240, 0.3);
    filter: drop-shadow(0 0 6px rgba(226, 232, 240, 0.4));
}

.nav-dropdown-link:hover .nav-dropdown-icon.icon-emerald {
    background: linear-gradient(135deg, rgba(167, 243, 208, 0.24) 0%, rgba(110, 231, 183, 0.14) 100%);
    border-color: rgba(167, 243, 208, 0.45);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(167, 243, 208, 0.35);
    filter: drop-shadow(0 0 6px rgba(167, 243, 208, 0.45));
}

.nav-dropdown-link:hover .nav-dropdown-icon.icon-cyan {
    background: linear-gradient(135deg, rgba(165, 243, 252, 0.24) 0%, rgba(103, 232, 249, 0.14) 100%);
    border-color: rgba(165, 243, 252, 0.45);
    color: #FFFFFF;
    box-shadow: 0 0 16px rgba(165, 243, 252, 0.35);
    filter: drop-shadow(0 0 6px rgba(165, 243, 252, 0.45));
}

/* DWULINIOWA STRUKTURA TEKSTU */
.nav-dropdown-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-dropdown-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.nav-dropdown-title {
    color: #F8FAFC;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.15px;
}

.nav-dropdown-desc {
    color: #94A3B8;
    font-size: 11.5px;
    font-weight: 450;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}

.nav-dropdown-link:hover .nav-dropdown-desc {
    color: #CBD5E1;
}

/* ELEGANCKIE UJEDNOLICONE BADGE (SPÓJNY MIĘTOWY AKCENT Z PDF STUDIO) */
.nav-dropdown-badge {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7.5px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 231, 212, 0.1);
    color: #C4E7D4;
    border: 1px solid rgba(196, 231, 212, 0.24);
    box-shadow: 0 0 10px rgba(196, 231, 212, 0.12);
}

.badge-mint,
.badge-pdf,
.badge-hd,
.badge-vault,
.badge-fps,
.badge-amber,
.badge-cyan {
    background: rgba(196, 231, 212, 0.1);
    color: #C4E7D4;
    border: 1px solid rgba(196, 231, 212, 0.24);
    box-shadow: 0 0 10px rgba(196, 231, 212, 0.12);
}

.badge-soon {
    background: rgba(255, 255, 255, 0.06);
    color: #94A3B8;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

/* PRZEŁĄCZNIKI SUWAKOWE iOS-STYLE (UJEDNOLICONY MIĘTOWY AKCENT, 60 FPS GPU) */
.sound-mini-switch {
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
    transform: translateZ(0);
    transition: border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Miętowy płynny gradient podkładowy pod aktywne suwaki - odcień z PDF Studio */
.sound-mini-switch::before,
#dropdownSoundSwitch::before,
#dropdownPerfSwitch::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
    background: linear-gradient(135deg, #4FA489 0%, #A8DABF 60%, #C4E7D4 100%);
}

.sound-mini-switch.is-active::before,
.sound-mini-switch.active::before {
    opacity: 1;
}

.sound-switch-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
    z-index: 1;
    transform: translateX(0) translateZ(0);
    will-change: transform;
}

/* Aktywne przełączniki (Dźwięk & Tryb Płynności ujednolicone na Brand Mint) */
.sound-mini-switch.is-active,
.sound-mini-switch.active,
#dropdownPerfSwitch.is-active,
#dropdownPerfSwitch.active {
    border-color: rgba(196, 231, 212, 0.7);
    box-shadow: 0 0 14px rgba(196, 231, 212, 0.45);
}

.sound-mini-switch.is-active .sound-switch-thumb,
.sound-mini-switch.active .sound-switch-thumb {
    transform: translateX(16px) translateZ(0);
}

.nav-dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 30%, rgba(255, 255, 255, 0.12) 70%, transparent 100%);
    margin: 5px 6px;
}

/* ==========================================================================
   MACOS CONTROL CENTER - KOKPIT NARZĘDZI (POMYSŁ 2)
   Obsidian Glass + Akcent Brand Mint (#C4E7D4)
   ========================================================================== */
.nav-dropdown-menu.cc-dropdown-cockpit {
    min-width: 410px;
    width: 410px;
    padding: 12px;
    gap: 0;
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(13, 20, 36, 0.94) 0%, rgba(8, 12, 22, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 32px 80px -12px rgba(0, 0, 0, 0.85),
                0 0 35px rgba(196, 231, 212, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(36px) saturate(190%);
    -webkit-backdrop-filter: blur(36px) saturate(190%);
}

@media (max-width: 480px) {
    .nav-dropdown-menu.cc-dropdown-cockpit {
        min-width: calc(100vw - 24px);
        width: calc(100vw - 24px);
        max-width: 410px;
        left: 50%;
        transform: translateX(-50%) translateY(8px) scale(0.96);
    }
    .nav-dropdown-item:hover .nav-dropdown-menu.cc-dropdown-cockpit,
    .nav-dropdown-item:focus-within .nav-dropdown-menu.cc-dropdown-cockpit,
    .nav-dropdown-item.is-open .nav-dropdown-menu.cc-dropdown-cockpit {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

/* 1. SEKCJE I NAGŁÓWKI */
.cc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 6px 8px 6px;
    user-select: none;
}

.cc-section-title {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748B;
}

.cc-section-tag {
    font-size: 9.5px;
    font-weight: 600;
    color: #C4E7D4;
    background: rgba(196, 231, 212, 0.08);
    border: 1px solid rgba(196, 231, 212, 0.2);
    padding: 1.5px 7px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.cc-header-secondary {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* 2. GŁÓWNE KARTY NARZĘDZI (FEATURED APPS) */
.cc-apps-stack {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cc-app-card {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 9px 11px !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #F8FAFC !important;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
    transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cc-app-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(196, 231, 212, 0.26);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35),
                0 0 16px rgba(196, 231, 212, 0.08);
}

.cc-app-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s ease,
                filter 0.22s ease;
}

.cc-app-card:hover .cc-app-icon {
    transform: scale(1.08);
}

.cc-app-icon.icon-mint {
    background: linear-gradient(135deg, rgba(196, 231, 212, 0.16) 0%, rgba(168, 218, 191, 0.06) 100%);
    border: 1px solid rgba(196, 231, 212, 0.28);
    color: #C4E7D4;
    box-shadow: 0 2px 10px rgba(196, 231, 212, 0.1);
}
.cc-app-card:hover .cc-app-icon.icon-mint {
    border-color: rgba(196, 231, 212, 0.45);
    box-shadow: 0 0 16px rgba(196, 231, 212, 0.35);
}

.cc-app-icon.icon-sky {
    background: linear-gradient(135deg, rgba(186, 230, 253, 0.16) 0%, rgba(125, 211, 252, 0.06) 100%);
    border: 1px solid rgba(186, 230, 253, 0.28);
    color: #BAE6FD;
    box-shadow: 0 2px 10px rgba(186, 230, 253, 0.1);
}
.cc-app-card:hover .cc-app-icon.icon-sky {
    border-color: rgba(186, 230, 253, 0.45);
    box-shadow: 0 0 16px rgba(186, 230, 253, 0.35);
}

.cc-app-icon.icon-amber {
    background: linear-gradient(135deg, rgba(254, 240, 199, 0.16) 0%, rgba(253, 230, 138, 0.06) 100%);
    border: 1px solid rgba(254, 240, 199, 0.28);
    color: #FDE68A;
    box-shadow: 0 2px 10px rgba(254, 240, 199, 0.1);
}
.cc-app-card:hover .cc-app-icon.icon-amber {
    border-color: rgba(254, 240, 199, 0.45);
    box-shadow: 0 0 16px rgba(254, 240, 199, 0.35);
}

.cc-app-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2.5px;
    text-align: left;
}

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

.cc-app-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #F8FAFC;
    letter-spacing: -0.15px;
}

.cc-app-badge {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 6.5px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    flex-shrink: 0;
    line-height: 1.2;
}

.badge-mint {
    background: rgba(196, 231, 212, 0.12);
    color: #C4E7D4;
    border: 1px solid rgba(196, 231, 212, 0.26);
    box-shadow: 0 0 10px rgba(196, 231, 212, 0.12);
}

.badge-sky {
    background: rgba(186, 230, 253, 0.12);
    color: #BAE6FD;
    border: 1px solid rgba(186, 230, 253, 0.26);
    box-shadow: 0 0 10px rgba(186, 230, 253, 0.12);
}

.badge-amber {
    background: rgba(254, 240, 199, 0.12);
    color: #FDE68A;
    border: 1px solid rgba(254, 240, 199, 0.26);
    box-shadow: 0 0 10px rgba(254, 240, 199, 0.12);
}

.cc-app-desc {
    font-size: 11.5px;
    color: #94A3B8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}
.cc-app-card:hover .cc-app-desc {
    color: #CBD5E1;
}

.cc-app-arrow {
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.cc-app-card:hover .cc-app-arrow {
    color: #C4E7D4;
    transform: translateX(2px);
}

/* 3. CENTRUM STEROWANIA (QUICK TILES) */
.cc-toggles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cc-quick-tile {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 12px !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #F1F5F9 !important;
    cursor: pointer;
    box-sizing: border-box;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: background 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.cc-quick-tile:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

/* KAFELEK DŹWIĘKÓW - AKTYWNY (BRAND MINT #C4E7D4) */
#navDropdownSoundBtn.is-active {
    background: linear-gradient(135deg, rgba(196, 231, 212, 0.12) 0%, rgba(79, 164, 137, 0.06) 100%);
    border-color: rgba(196, 231, 212, 0.36);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3),
                0 0 18px rgba(196, 231, 212, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#navDropdownSoundBtn.is-active .cc-tile-icon-box {
    background: #C4E7D4;
    color: #0B141E;
    border-color: #C4E7D4;
    box-shadow: 0 0 12px rgba(196, 231, 212, 0.45);
}

#navDropdownSoundBtn.is-active .cc-tile-led {
    background: #C4E7D4;
    box-shadow: 0 0 8px #C4E7D4;
}

#navDropdownSoundBtn.is-active .cc-tile-val {
    color: #C4E7D4;
}

/* KAFELEK TRYBU ECO - AKTYWNY (ICE SKY #BAE6FD) */
#navDropdownPerfBtn.is-active {
    background: linear-gradient(135deg, rgba(186, 230, 253, 0.12) 0%, rgba(56, 189, 248, 0.06) 100%);
    border-color: rgba(186, 230, 253, 0.36);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3),
                0 0 18px rgba(186, 230, 253, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#navDropdownPerfBtn.is-active .cc-tile-icon-box {
    background: #BAE6FD;
    color: #0B141E;
    border-color: #BAE6FD;
    box-shadow: 0 0 12px rgba(186, 230, 253, 0.45);
}

#navDropdownPerfBtn.is-active .cc-tile-led {
    background: #BAE6FD;
    box-shadow: 0 0 8px #BAE6FD;
}

#navDropdownPerfBtn.is-active .cc-tile-val {
    color: #BAE6FD;
}

.cc-tile-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94A3B8;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc-tile-icon-box svg {
    stroke: currentColor;
}

.cc-tile-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.cc-tile-label {
    font-size: 12px;
    font-weight: 600;
    color: #F1F5F9;
    line-height: 1.2;
}

.cc-tile-status-row {
    display: flex;
    align-items: center;
    gap: 5.5px;
}

.cc-tile-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #475569;
    display: inline-block;
    transition: all 0.25s ease;
}

.cc-tile-val {
    font-size: 10.5px;
    font-weight: 550;
    color: #94A3B8;
    transition: color 0.2s ease;
    line-height: 1;
}

/* 4. DOLNY DOCK: HISTORIA I KONTAKT */
.cc-dock-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cc-dock-pill {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 7px 10px !important;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #CBD5E1 !important;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    transition: background 0.18s ease,
                border-color 0.18s ease,
                transform 0.18s ease,
                color 0.18s ease !important;
}

.cc-dock-pill:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.cc-dock-icon {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.cc-dock-pill:hover .cc-dock-icon {
    transform: scale(1.08);
}

.cc-dock-icon.icon-purple {
    background: linear-gradient(135deg, rgba(224, 219, 254, 0.15) 0%, rgba(196, 181, 253, 0.06) 100%);
    border: 1px solid rgba(224, 219, 254, 0.26);
    color: #DDD6FE;
}

.cc-dock-icon.icon-slate {
    background: linear-gradient(135deg, rgba(226, 232, 240, 0.14) 0%, rgba(203, 213, 225, 0.06) 100%);
    border: 1px solid rgba(226, 232, 240, 0.24);
    color: #E2E8F0;
}

.cc-dock-label {
    font-size: 11.5px;
    font-weight: 550;
    color: #CBD5E1;
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cc-dock-pill:hover .cc-dock-label {
    color: #FFFFFF;
}

.cc-dock-chevron {
    color: #475569;
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}
.cc-dock-pill:hover .cc-dock-chevron {
    color: #C4E7D4;
    transform: translateX(2px);
}

/* ==========================================================================
   DOLNY PASEK SYSTEMOWY (macOS-STYLE FROSTED ACTION DOCK - KONCEPCJA 3)
   Minimalistyczna, dyskretna listwa systemowa w lewym dolnym rogu
   ========================================================================== */
.bottom-action-dock {
    position: fixed;
    bottom: 22px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 6px;
    background: rgba(13, 17, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10000;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.88;
    user-select: none;
}

.bottom-action-dock:hover {
    opacity: 1;
    background: rgba(16, 22, 34, 0.92);
    border-color: rgba(52, 211, 153, 0.28);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 
                0 0 24px rgba(52, 211, 153, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Gwarancja ukrywania elementów z display: none (np. Admin dla zwykłego usera lub Login gdy zalogowany) */
.bottom-action-dock [style*="display: none"],
.bottom-action-dock [hidden] {
    display: none !important;
}

/* Cienki, świetlny separator systemowy */
.dock-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 3px;
    flex-shrink: 0;
}

/* Pojedynczy prostokątny element akcji w doku */
.dock-item,
.bottom-action-dock .btn-user-panel,
.bottom-action-dock .btn-login,
.bottom-action-dock .btn-mod-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    color: #94A3B8;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-decoration: none;
    margin: 0;
}

.dock-item:hover,
.bottom-action-dock .btn-user-panel:hover,
.bottom-action-dock .btn-login:hover,
.bottom-action-dock .btn-mod-open:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    transform: none;
}

.dock-item .dock-icon,
.bottom-action-dock svg {
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.dock-item:hover .dock-icon,
.bottom-action-dock button:hover svg {
    transform: scale(1.1);
}

.dock-icon.icon-mint,
.bottom-action-dock .btn-user-panel svg,
.bottom-action-dock .dock-files-btn svg {
    color: #34D399;
}

.dock-icon.icon-cyan,
.bottom-action-dock .btn-login svg,
.bottom-action-dock .dock-login-btn svg {
    color: #38BDF8;
}

.dock-icon.icon-gold,
.bottom-action-dock .btn-mod-open svg,
.bottom-action-dock .dock-admin-btn svg {
    color: #FFBC39;
}

.dock-icon.icon-amber,
.bottom-action-dock .dock-vault-btn svg {
    color: #FBBF24;
}

.dock-icon.icon-user {
    color: #38BDF8;
}

/* Segment Zalogowanego Użytkownika */
.dock-user-group {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.dock-user-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.18s ease;
}

.dock-user-info:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(52, 211, 153, 0.25);
}

.dock-username {
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dock-pro-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: rgba(255, 188, 57, 0.15);
    color: #FFBC39;
    border: 1px solid rgba(255, 188, 57, 0.35);
    box-shadow: 0 0 8px rgba(255, 188, 57, 0.2);
    margin-left: 2px;
}

/* Dyskretny przycisk wyjścia (Logout) */
.dock-logout-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
    padding: 0;
}

.dock-logout-btn:hover {
    background: rgba(239, 68, 68, 0.16);
    color: #EF4444;
    transform: scale(1.08);
}

/* ==========================================================================
   RESPONSYWNOŚĆ DLA MNIEJSZYCH EKRANÓW (DIVY UKŁADAJĄ SIĘ PŁYNNIE)
   ========================================================================== */
@media (max-width: 1200px) {
    .nav-logo {
        top: 20px;
        left: 24px;
        font-size: 19px;
    }

    .nav-right {
        top: 20px;
        right: 24px;
        gap: 16px;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a {
        font-size: 14.5px;
    }

    .studio-split-hero {
        gap: clamp(14px, 2vh, 22px);
    }

    .studio-hero-left {
        max-width: min(860px, 92vw);
        margin: 0 auto;
        text-align: center;
    }

    .studio-hero-copy {
        align-items: center;
    }

    .studio-hero-title {
        font-size: 36px;
    }

    .studio-hero-desc {
        max-width: min(800px, 90vw);
        margin-left: auto;
        margin-right: auto;
    }

    .studio-feature-tags {
        justify-content: center;
    }

    .studio-hero-right {
        max-width: 620px;
        margin: 0 auto;
    }

    .studio-hero-right .upload-container {
        max-width: 100%;
    }

    .studio-panorama-sections .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   SKALOWANIE W PIONIE (VIEWPORT-HEIGHT RESPONSIVENESS)
   Zapewnia idealną "wizytówkę" 1-ekranową na FullHD (1080p), laptopach 15"/13" i 2K
   Zachowuje pełny oddech i przestronne odstępy między elementami dzięki zoom
   ========================================================================== */

/* 1. Standardowe ekrany FullHD 1080p (wysokość okna 901px - 1040px) */
@media (min-width: 769px) and (min-height: 901px) and (max-height: 1040px) {
    .nav-logo {
        top: 22px;
        left: 32px;
    }

    .nav-right {
        top: 22px;
        right: 40px;
    }

    .studio-wrapper {
        zoom: 0.88;
        padding-top: clamp(4px, 0.8vh, 12px);
        padding-bottom: 18px;
    }

    .studio-split-hero {
        padding-top: 0;
        gap: clamp(26px, 3.4vh, 38px);
    }

    .studio-hero-left {
        gap: 14px;
        max-width: 880px;
    }

    .studio-badge {
        margin-bottom: 14px;
        padding: 6px 16px;
        font-size: 11.5px;
    }

    .studio-hero-title,
    .value-title {
        font-size: clamp(30px, 2.5vw + 8px, 42px);
        margin-bottom: 15px;
        line-height: 1.18;
    }

    .studio-hero-desc,
    .value-description {
        font-size: 14.5px;
        line-height: 1.6;
        margin-bottom: 18px;
        max-width: 820px;
    }

    .studio-feature-tags {
        gap: 12px;
    }

    .feature-tag {
        padding: 6px 14px;
        font-size: 12px;
    }

    .hero-pdf-hint {
        margin-top: 16px;
        padding: 7px 18px;
        font-size: 12.5px;
    }

    .hero-pdf-link-btn {
        font-size: 12.5px;
    }

    /* siri-glow-frame uses full container width on desktop */
    .siri-glow-frame { max-width: 100% !important; }

    .siri-fluid-plasma {
        inset: -20px;
        filter: blur(26px);
    }

    .studio-hero-right { max-width: clamp(520px, 44vw, 840px) !important; }

    .studio-hero-right .upload-container,
    .upload-container {
        padding: 26px 30px 24px;
        max-width: 100%;
        border-radius: 22px;
    }

    .upload-header {
        margin-bottom: 20px;
    }

    .upload-header h1,
    .upload-header h2,
    .upload-header .upload-title {
        font-size: 23px;
    }

    .upload-header p {
        font-size: 13px;
        margin: 6px 0 0;
    }

    .studio-hero-right .dropzone,
    .dropzone {
        min-height: 140px;
        padding: 18px 22px;
        margin-bottom: 18px;
        gap: 10px;
        border-radius: 18px;
    }

    .upload-icon-bubble {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        margin-bottom: 4px;
    }

    .upload-icon-bubble svg {
        width: 24px;
        height: 24px;
    }

    .drop-text {
        font-size: 14.5px;
    }

    .drop-subtext {
        font-size: 12px;
    }

    .btn-select {
        padding: 7px 20px;
        font-size: 12px;
        margin-top: 5px;
    }

    .custom-slug-wrap,
    .custom-adv-wrap {
        margin: 8px 0;
    }

    .slug-toggle-header {
        padding: 6px 0;
        font-size: 13px;
    }

    .options-container {
        margin-top: 14px;
    }

    .options-label {
        font-size: 12.5px;
        margin-bottom: 8px;
    }

    .options-radios {
        gap: 8px;
    }

    .option-item > span {
        padding: 8px 8px;
        font-size: 12px;
    }

    .studio-hero-right .btn-primary,
    .btn-primary {
        margin-top: 20px;
        padding: 15px 24px;
        font-size: 15px;
        border-radius: 14px;
    }

    .studio-hero-right .file-status-box {
        margin-bottom: 14px;
        min-height: 48px;
    }

    .hero-scroll-prompt {
        margin-top: 18px;
        padding: 8px 18px;
        font-size: 12.5px;
    }

    .bottom-action-dock {
        bottom: 22px;
        left: 26px;
    }

    .btn-login {
        padding: 9px 18px;
        font-size: 13px;
    }
}

/* 2. Ekrany laptopów 15" i standardowe okna robocze (wysokość okna 781px - 900px) */
@media (min-width: 769px) and (min-height: 781px) and (max-height: 900px) {
    .nav-logo {
        top: 18px;
        left: 28px;
    }

    .nav-right {
        top: 18px;
        right: 34px;
    }

    .studio-wrapper {
        zoom: 0.78;
        padding-top: clamp(2px, 0.5vh, 8px);
        padding-bottom: 14px;
    }

    .studio-split-hero {
        padding-top: 0;
        gap: clamp(24px, 3.2vh, 36px);
    }

    .studio-hero-left {
        gap: 14px;
        max-width: 860px;
    }

    .studio-badge {
        margin-bottom: 14px;
        padding: 6px 16px;
        font-size: 11px;
    }

    .studio-hero-title,
    .value-title {
        font-size: clamp(28px, 2.4vw + 6px, 38px);
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .studio-hero-desc,
    .value-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 18px;
        max-width: 800px;
    }

    .studio-feature-tags {
        gap: 12px;
    }

    .feature-tag {
        padding: 6px 14px;
        font-size: 11.5px;
    }

    .hero-pdf-hint {
        margin-top: 16px;
        padding: 7px 18px;
        font-size: 12px;
    }

    .hero-pdf-link-btn {
        font-size: 12px;
    }

    /* siri-glow-frame uses full container width on desktop */
    .siri-glow-frame { max-width: 100% !important; }

    .siri-fluid-plasma {
        inset: -18px;
        filter: blur(24px);
    }

    .studio-hero-right { max-width: clamp(520px, 44vw, 840px) !important; }

    .studio-hero-right .upload-container,
    .upload-container {
        padding: 26px 30px 24px;
        max-width: min(580px, 92vw);
        border-radius: 22px;
    }

    .upload-header {
        margin-bottom: 20px;
    }

    .upload-header h1,
    .upload-header h2,
    .upload-header .upload-title {
        font-size: 22px;
    }

    .upload-header p {
        display: block;
        font-size: 13px;
        margin: 6px 0 0;
    }

    .studio-hero-right .dropzone,
    .dropzone {
        min-height: 136px;
        padding: 18px 20px;
        margin-bottom: 20px;
        gap: 10px;
        border-radius: 16px;
    }

    .upload-icon-bubble {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        margin-bottom: 4px;
    }

    .upload-icon-bubble svg {
        width: 22px;
        height: 22px;
    }

    .drop-text {
        font-size: 14.5px;
    }

    .drop-subtext {
        font-size: 12px;
    }

    .btn-select {
        padding: 6px 18px;
        font-size: 12px;
        margin-top: 4px;
    }

    .custom-slug-wrap,
    .custom-adv-wrap {
        margin: 10px 0;
    }

    .slug-toggle-header {
        padding: 6px 0;
        font-size: 13px;
    }

    .options-container {
        margin-top: 16px;
    }

    .options-label {
        font-size: 12.5px;
        margin-bottom: 8px;
    }

    .options-radios {
        gap: 8px;
    }

    .option-item > span {
        padding: 8px 6px;
        font-size: 12px;
    }

    .studio-hero-right .btn-primary,
    .btn-primary {
        margin-top: 22px;
        padding: 15px 24px;
        font-size: 15px;
        border-radius: 14px;
    }

    .studio-hero-right .file-status-box {
        margin-bottom: 14px;
        min-height: 46px;
    }

    .hero-scroll-prompt {
        margin-top: 20px;
        padding: 7px 18px;
        font-size: 12px;
    }

    .bottom-action-dock {
        bottom: 18px;
        left: 22px;
    }

    .btn-login {
        padding: 8px 16px;
        font-size: 12.5px;
    }
}

/* 3. Laptopy 15" ze skalowaniem 125% Windows oraz laptopy 14" (wysokość okna 671px - 780px)
      Kluczowe: skalowanie 0.69 gwarantuje, że cały przycisk Upload oraz "Odkryj narzędzia"
      mieszczą się w całości na ekranie z zachowaniem pełnego oddechu i proporcji */
@media (min-width: 769px) and (min-height: 671px) and (max-height: 780px) {
    .nav-logo {
        top: 14px;
        left: 24px;
    }

    .nav-right {
        top: 14px;
        right: 28px;
    }

    .studio-wrapper {
        zoom: 0.69;
        padding-top: 2px;
        padding-bottom: 12px;
    }

    .studio-split-hero {
        padding-top: 0;
        gap: 28px;
    }

    .studio-hero-left {
        gap: 12px;
        max-width: 860px;
    }

    .studio-badge {
        margin-bottom: 12px;
        padding: 6px 16px;
        font-size: 11px;
    }

    .studio-hero-title,
    .value-title {
        font-size: clamp(28px, 2.4vw + 6px, 38px);
        margin-bottom: 14px;
        line-height: 1.2;
    }

    .studio-hero-desc,
    .value-description {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 16px;
        max-width: 800px;
    }

    .studio-feature-tags {
        gap: 12px;
    }

    .feature-tag {
        padding: 6px 14px;
        font-size: 11.5px;
    }

    .hero-pdf-hint {
        margin-top: 14px;
        padding: 7px 18px;
        font-size: 12px;
    }

    .hero-pdf-link-btn {
        font-size: 12px;
    }

    /* siri-glow-frame uses full container width on desktop */
    .siri-glow-frame { max-width: 100% !important; }

    .siri-fluid-plasma {
        inset: -18px;
        filter: blur(24px);
    }

    .studio-hero-right { max-width: clamp(520px, 44vw, 840px) !important; }

    .studio-hero-right .upload-container,
    .upload-container {
        padding: 26px 30px 24px;
        max-width: min(580px, 92vw);
        border-radius: 22px;
    }

    .upload-header {
        margin-bottom: 20px;
    }

    .upload-header h1,
    .upload-header h2,
    .upload-header .upload-title {
        font-size: 22px;
    }

    .upload-header p {
        display: block;
        font-size: 13px;
        margin: 6px 0 0;
    }

    .studio-hero-right .dropzone,
    .dropzone {
        min-height: 136px;
        padding: 18px 20px;
        margin-bottom: 20px;
        gap: 10px;
        border-radius: 16px;
    }

    .upload-icon-bubble {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        margin-bottom: 4px;
    }

    .upload-icon-bubble svg {
        width: 22px;
        height: 22px;
    }

    .drop-text {
        font-size: 14.5px;
    }

    .drop-subtext {
        font-size: 12px;
    }

    .btn-select {
        padding: 6px 18px;
        font-size: 12px;
        margin-top: 4px;
    }

    .custom-slug-wrap,
    .custom-adv-wrap {
        margin: 10px 0;
    }

    .slug-toggle-header {
        padding: 6px 0;
        font-size: 13px;
    }

    .options-container {
        margin-top: 16px;
    }

    .options-label {
        font-size: 12.5px;
        margin-bottom: 8px;
    }

    .options-radios {
        gap: 8px;
    }

    .option-item > span {
        padding: 8px 6px;
        font-size: 12px;
    }

    .studio-hero-right .btn-primary,
    .btn-primary {
        margin-top: 20px;
        padding: 15px 24px;
        font-size: 15px;
        border-radius: 14px;
    }

    .studio-hero-right .file-status-box {
        margin-bottom: 14px;
        min-height: 46px;
    }

    .hero-scroll-prompt {
        margin-top: 18px;
        padding: 7px 18px;
        font-size: 12px;
    }

    .bottom-action-dock {
        bottom: 14px;
        left: 20px;
    }

    .btn-login {
        padding: 7px 14px;
        font-size: 12px;
    }
}

/* 4. Małe ekrany laptopów 13" i zredukowane okna (wysokość okna <= 670px) */
@media (min-width: 769px) and (max-height: 670px) {
    .nav-logo {
        top: 10px;
        left: 20px;
    }

    .nav-right {
        top: 10px;
        right: 22px;
    }

    .studio-wrapper {
        zoom: 0.60;
        padding-top: 0;
        padding-bottom: 8px;
    }

    .studio-split-hero {
        padding-top: 0;
        gap: 20px;
    }

    .studio-hero-left {
        gap: 10px;
        max-width: 820px;
    }

    .studio-badge {
        margin-bottom: 8px;
        padding: 5px 14px;
        font-size: 10.5px;
    }

    .studio-hero-title,
    .value-title {
        font-size: 28px;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .studio-hero-desc,
    .value-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
        max-width: 760px;
    }

    .studio-feature-tags {
        gap: 8px;
    }

    .feature-tag {
        padding: 5px 12px;
        font-size: 11px;
    }

    .hero-pdf-hint {
        margin-top: 10px;
        padding: 6px 14px;
        font-size: 11.5px;
    }

    /* siri-glow-frame uses full container width on desktop */
    .siri-glow-frame { max-width: 100% !important; }

    .studio-hero-right { max-width: clamp(520px, 44vw, 840px) !important; }

    .studio-hero-right .upload-container,
    .upload-container {
        padding: 20px 24px 18px;
        max-width: min(560px, 92vw);
        border-radius: 20px;
    }

    .upload-header {
        margin-bottom: 16px;
    }

    .upload-header h1,
    .upload-header h2,
    .upload-header .upload-title {
        font-size: 20px;
    }

    .upload-header p {
        display: block;
        font-size: 12px;
        margin: 4px 0 0;
    }

    .studio-hero-right .dropzone,
    .dropzone {
        min-height: 115px;
        padding: 14px 16px;
        margin-bottom: 14px;
        gap: 8px;
        border-radius: 14px;
    }

    .upload-icon-bubble {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        margin-bottom: 2px;
    }

    .upload-icon-bubble svg {
        width: 20px;
        height: 20px;
    }

    .drop-text {
        font-size: 13.5px;
    }

    .drop-subtext {
        font-size: 11.5px;
    }

    .btn-select {
        padding: 5px 16px;
        font-size: 11.5px;
        margin-top: 2px;
    }

    .options-container {
        margin-top: 12px;
    }

    .studio-hero-right .btn-primary,
    .btn-primary {
        margin-top: 16px;
        padding: 13px 20px;
        font-size: 14px;
        border-radius: 12px;
    }

    .hero-scroll-prompt {
        margin-top: 14px;
        padding: 6px 14px;
        font-size: 11.5px;
    }

    .bottom-action-dock {
        bottom: 10px;
        left: 16px;
    }

    .btn-login {
        padding: 6px 12px;
        font-size: 11.5px;
    }
}

@media (max-width: 768px) {
    /* --- EKRAN MOBILNY: PŁYWAJĄCE LOGO I PRZYCISKI W JEDNEJ LINII Z OBSŁUGĄ SAFE-AREA --- */
    .nav-logo {
        position: fixed !important;
        top: max(10px, env(safe-area-inset-top, 10px)) !important;
        left: max(12px, env(safe-area-inset-left, 12px)) !important;
        margin: 0 !important;
        z-index: 1002 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        transform: none !important;
        will-change: auto !important;
    }

    .nav-logo.nav-hidden {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-logo-text {
        font-size: 16.5px !important;
        font-weight: 700 !important;
    }

    .nav-logo-icon-box {
        width: 26px !important;
        height: 26px !important;
    }

    .nav-logo-img {
        width: 24px !important;
        height: 24px !important;
    }

    .nav-logo-svg {
        width: 19px !important;
        height: 19px !important;
    }

    .nav-right {
        position: fixed !important;
        top: max(10px, env(safe-area-inset-top, 10px)) !important;
        right: max(12px, env(safe-area-inset-right, 12px)) !important;
        margin: 0 !important;
        z-index: 1002 !important;
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
        transform: none !important;
        will-change: auto !important;
    }

    .nav-right.nav-hidden {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-action-group {
        display: flex !important;
        align-items: center !important;
        gap: 5px !important;
    }

    .nav-links {
        display: none !important;
    }

    /* Na telefonie chowamy dźwięki i historię z belki (są w wysuwanym menu) */
    .nav-right .sound-btn,
    .nav-right .history-btn {
        display: none !important;
    }

    .nav-right .lang-btn,
    .lang-btn {
        height: auto !important;
        padding: 4px 0 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        gap: 4px !important;
    }

    .nav-right .btn-open-command-palette,
    .btn-nav-glass.btn-open-command-palette {
        width: auto !important;
        height: auto !important;
        min-width: unset !important;
        padding: 4px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav-right .pro-nav-btn,
    .pro-nav-btn,
    body.is-pro .pro-nav-btn {
        height: auto !important;
        padding: 4px 0 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #FFD24C !important;
        gap: 3px !important;
        display: inline-flex !important;
    }

    .nav-hamburger {
        display: flex !important;
        width: 32px !important;
        height: 32px !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }

    /* Czysty, bezszumowy układ mobilny - cała uwaga na karcie transferu */
    .studio-hero-left {
        display: none !important;
    }

    .studio-wrapper {
        padding: max(64px, env(safe-area-inset-top, 20px) + 52px) 12px max(24px, env(safe-area-inset-bottom, 16px) + 16px) 12px !important;
        width: 100% !important;
        max-width: 520px !important;
        box-sizing: border-box !important;
        margin: 0 auto !important;
    }

    .studio-split-hero {
        gap: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Karta uploadera jako serce ekranu telefonu */
    .studio-hero-right {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .siri-glow-frame {
        max-width: 100% !important;
        width: 100% !important;
        overflow: visible !important;
        border-radius: 24px !important;
        box-sizing: border-box !important;
    }

    .siri-fluid-plasma {
        inset: -4px !important;
        filter: blur(12px) !important;
        opacity: 0.5 !important;
    }

    /* Na telefonie wyłączamy energochłonne ciągłe morphing-animacje border-radius i conic-gradient */
    .siri-fluid-plasma .plasma-blob {
        animation: none !important;
    }

    .siri-wave-stream .stream-cw,
    .siri-wave-stream .stream-ccw {
        animation: none !important;
        filter: drop-shadow(0 0 8px #00F0FF) !important;
    }

    .siri-wave-ripple {
        display: none !important;
    }

    .studio-split-hero::before {
        width: 90% !important;
        height: 220px !important;
        filter: blur(28px) !important;
        opacity: 0.35 !important;
    }

    .upload-container {
        padding: 18px 16px 16px 16px !important;
        border-radius: 24px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        backdrop-filter: blur(16px) !important;
        -webkit-backdrop-filter: blur(16px) !important;
        overflow: visible !important;
    }

    /* Pasek pliku na mobile: czysty stream, dwurzędowy */
    .file-status-box {
        padding: 6px 2px 10px 2px !important;
        gap: 8px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .fs-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }

    .fs-filename {
        font-size: 12.5px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .fs-meta-right {
        flex-wrap: wrap !important;
        gap: 6px !important;
        font-size: 11px !important;
        justify-content: flex-start !important;
        width: 100% !important;
    }

    .upload-header {
        margin-bottom: 12px !important;
    }

    .upload-title {
        font-size: 19px !important;
        margin-bottom: 0 !important;
        font-weight: 800 !important;
        letter-spacing: -0.3px !important;
    }

    .upload-subtitle {
        display: none !important;
    }

    .dropzone {
        padding: 24px 16px !important;
        min-height: 140px !important;
        border-radius: 18px !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }

    .upload-icon-bubble {
        width: 50px !important;
        height: 50px !important;
        border-radius: 16px !important;
        margin-bottom: 4px !important;
    }

    .upload-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .drop-text {
        font-size: 14.5px !important;
        font-weight: 700 !important;
    }

    .drop-subtext {
        font-size: 11px !important;
        opacity: 0.75 !important;
    }

    .btn-select {
        padding: 6px 18px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        border-radius: 999px !important;
        margin-top: 4px !important;
    }

    .adv-trigger-btn {
        padding: 9px 13px !important;
        font-size: 12px !important;
        border-radius: 12px !important;
    }

    .custom-slug-wrap {
        margin-bottom: 6px !important;
    }

    .slug-toggle-header {
        padding: 8px 12px !important;
        font-size: 11.5px !important;
        border-radius: 12px !important;
    }

    .slug-toggle-label {
        font-size: 11.5px !important;
    }

    .options-container {
        margin-top: 8px !important;
    }

    .options-label {
        font-size: 11px !important;
        margin-bottom: 4px !important;
    }

    .options-radios {
        padding: 3px !important;
        gap: 3px !important;
        border-radius: 12px !important;
    }

    .option-item span {
        padding: 7px 4px !important;
        font-size: 11px !important;
        border-radius: 9px !important;
    }

    .btn-primary {
        padding: 13px 20px !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        margin-top: 10px !important;
    }

    .tb-panoramic-grid {
        grid-template-columns: 1fr !important;
    }

    .studio-panorama-sections .trust-grid {
        grid-template-columns: 1fr !important;
    }

    .bottom-action-dock {
        display: none !important;
    }
}

/* ========================================================================
   HAMBURGER MENU (MOBILE NAVIGATION DRAWER)
   ======================================================================== */
.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.22s ease;
    font-family: inherit;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-hamburger:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-blue);
}

.nav-hamburger svg {
    transition: transform 0.2s ease;
}

.nav-hamburger.active svg {
    transform: rotate(90deg);
}

/* Mobile slide-down drawer (Translucent Frosted Glass Overlay) */
.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(9, 12, 22, 0.65);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.mobile-drawer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 100%;
    height: 100%;
    gap: 8px;
    padding: max(84px, env(safe-area-inset-top, 24px) + 64px) 20px max(40px, env(safe-area-inset-bottom, 20px) + 24px);
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: #94A3B8;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
    background: rgba(15, 145, 210, 0.12);
    border-color: rgba(15, 145, 210, 0.4);
    color: #FFFFFF;
    transform: translateX(4px);
}

.mobile-drawer-link.active {
    border-left: 3px solid var(--accent-blue);
}

.mobile-drawer-link svg {
    width: 20px;
    height: 20px;
    color: #64748B;
    flex-shrink: 0;
}

.mobile-drawer-link:hover svg,
.mobile-drawer-link.active svg {
    color: var(--accent-blue);
}

.mobile-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-actions #mobileConciergeBtn {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(5, 150, 105, 0.22) 100%);
    border-color: rgba(52, 211, 153, 0.38);
    color: #34D399;
    font-weight: 700;
}

.mobile-drawer-actions #mobileConciergeBtn:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(5, 150, 105, 0.35) 100%);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.mobile-drawer-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #94A3B8;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.mobile-drawer-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
}

.mobile-drawer-action-btn svg {
    width: 18px;
    height: 18px;
}

/* --- Mobile Drawer Auth Card & Login Button --- */
.mobile-drawer-auth {
    width: 100%;
    max-width: 320px;
    margin-top: 10px;
}

.mobile-drawer-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.12) 0%, rgba(52, 211, 153, 0.15) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    color: #E2E8F0;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.mobile-drawer-login-btn svg {
    color: #38BDF8;
    transition: transform 0.2s ease;
}

.mobile-drawer-login-btn:hover,
.mobile-drawer-login-btn:active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22) 0%, rgba(52, 211, 153, 0.26) 100%);
    border-color: #38BDF8;
    color: #FFFFFF;
    box-shadow: 0 6px 24px rgba(56, 189, 248, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mobile-drawer-login-btn:hover svg {
    transform: translateX(3px);
}

.mobile-drawer-user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px 8px 14px;
    background: rgba(16, 23, 38, 0.88);
    border: 1px solid rgba(52, 211, 153, 0.28);
    border-radius: 14px;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mobile-drawer-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.mobile-drawer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #34D399 0%, #38BDF8 100%);
    color: #0B0F19;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.4);
}

.mobile-drawer-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.mobile-drawer-username {
    font-size: 13.5px;
    font-weight: 700;
    color: #F8FAFC;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.mobile-drawer-pro-tag {
    font-size: 10px;
    font-weight: 800;
    color: #34D399;
    letter-spacing: 0.4px;
}

.mobile-drawer-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.mobile-drawer-logout-btn:hover,
.mobile-drawer-logout-btn:active {
    background: rgba(255, 68, 57, 0.18);
    border-color: rgba(255, 68, 57, 0.4);
    color: #FF4439;
}

.mobile-drawer-close {
    position: absolute;
    top: max(18px, env(safe-area-inset-top, 18px));
    right: max(18px, env(safe-area-inset-right, 18px));
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #94A3B8;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    z-index: 10;
}

.mobile-drawer-close:hover {
    background: rgba(255, 68, 57, 0.15);
    border-color: rgba(255, 68, 57, 0.4);
    color: #FF4439;
}

@media (min-width: 769px) {
    .mobile-nav-drawer {
        display: none !important;
    }
}

/* ==========================================================================
   ADVANCED TRANSFER OPTIONS - MODAL COCKPIT & ACTIVE PILLS (CONCEPT 1)
   ========================================================================== */

/* Trigger Button on Uploader Card */
/* Trigger Button on Uploader Card */
.adv-trigger-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    text-align: left;
}

.adv-trigger-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(52, 211, 153, 0.3);
    color: var(--text-main);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.adv-trigger-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.adv-trigger-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.adv-trigger-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.adv-active-subtext {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 550;
    letter-spacing: 0.15px;
    flex-wrap: wrap;
    line-height: 1.2;
    margin-top: 1px;
    animation: fadeInModal 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.adv-sub-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.adv-sub-item.sub-emerald { color: #34D399; }
.adv-sub-item.sub-blue { color: #38BDF8; }
.adv-sub-item.sub-purple { color: #C084FC; }
.adv-sub-item.sub-amber { color: #FBBF24; }
.adv-sub-item.sub-gold { color: #FFBC39; }

.adv-sub-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 9px;
    margin: 0 1px;
}

.adv-active-badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    font-size: 10.5px;
    font-weight: 700;
    color: #061A12;
    background: #34D399;
    border-radius: 9px;
    line-height: 1;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 14px rgba(52, 211, 153, 0.7);
    }
}

.adv-trigger-action-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.adv-trigger-btn:hover .adv-trigger-action-pill {
    color: #34D399;
    transform: rotate(30deg);
}

/* ==========================================================================
   ADVANCED TRANSFER OPTIONS - REFINED MINI-INSPECTOR (NO HEAVY BLUR)
   ========================================================================== */

/* The Modal Wrap: Centered in the current viewport with rich glass blur backdrop */
.adv-settings-modal-wrap {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    background: rgba(4, 7, 14, 0.6) !important;
    backdrop-filter: blur(8px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(120%) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px 16px !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
}

.adv-settings-modal-wrap:not([hidden]) {
    display: flex !important;
    animation: advModalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.adv-settings-modal-wrap.is-closing {
    animation: advModalFadeOut 0.15s ease-in forwards !important;
}

@keyframes advModalFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes advModalFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* The Container Card: Living Cyber-Mint & Cyan Glass Inspector */
.adv-mini-modal-container {
    position: relative !important;
    margin: 0 !important;
    max-width: 440px !important;
    width: 100% !important;
    padding: 22px 24px 18px 24px !important;
    background: linear-gradient(168deg, rgba(17, 24, 39, 0.96) 0%, rgba(9, 13, 22, 0.98) 100%) !important;
    border: 1px solid rgba(52, 211, 153, 0.22) !important;
    border-radius: 20px !important;
    box-shadow:
        0 30px 80px -15px rgba(0, 0, 0, 0.9),
        0 0 45px -10px rgba(52, 211, 153, 0.25),
        0 0 25px -5px rgba(0, 240, 255, 0.18),
        inset 0 1px 1px rgba(255, 255, 255, 0.15) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    animation: inspectorPopIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* Energetyczna opływowa wstęga światła na górnej krawędzi */
.adv-mini-modal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, transparent 0%, #00F0FF 20%, #34D399 50%, #38BDF8 80%, transparent 100%);
    animation: advHeaderBeam 3.5s ease-in-out infinite alternate;
}

@keyframes advHeaderBeam {
    0% {
        filter: drop-shadow(0 0 6px #00F0FF);
        opacity: 0.7;
    }

    50% {
        filter: drop-shadow(0 0 12px #34D399);
        opacity: 1;
    }

    100% {
        filter: drop-shadow(0 0 6px #00F0FF);
        opacity: 0.7;
    }
}

@keyframes inspectorPopIn {
    0% {
        opacity: 0;
        transform: scale(0.93) translateY(14px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.adv-mini-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 4px;
}

.adv-mini-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adv-mini-icon-badge {
    width: 30px;
    height: 30px;
    min-width: 30px;
    max-width: 30px;
    min-height: 30px;
    max-height: 30px;
    aspect-ratio: 1 / 1;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.22) 0%, rgba(56, 189, 248, 0.18) 100%);
    border: 1px solid rgba(52, 211, 153, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.3);
    transition: all 0.25s ease;
}

.adv-mini-modal-container:hover .adv-mini-icon-badge {
    transform: rotate(12deg) scale(1.06);
    box-shadow: 0 0 18px rgba(52, 211, 153, 0.5);
}

.adv-mini-title {
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: -0.2px;
}

.adv-mini-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94A3B8;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.adv-mini-close:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.45);
    color: #F87171;
    transform: scale(1.08) rotate(90deg);
}

/* Segmented Mini Tabs */
.adv-mini-tabs-nav {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.55);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 16px;
}

.adv-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 6px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #8A94A6;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.adv-tab-btn:hover {
    color: #F1F5F9;
    background: rgba(255, 255, 255, 0.04);
}

.adv-tab-btn.active {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.2) 0%, rgba(56, 189, 248, 0.15) 100%);
    border-color: rgba(52, 211, 153, 0.4);
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 0 14px rgba(52, 211, 153, 0.25);
    font-weight: 600;
}

.adv-tab-btn.active svg {
    stroke: #34D399;
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.6));
}

.adv-mini-modal-body {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

/* Panes: Stable min-height prevents modal jumping */
.adv-tab-pane {
    display: none;
    flex-direction: column;
    gap: 10px;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
    min-height: 180px;
    animation: fadeInModal 0.2s ease-out forwards;
}

.adv-tab-pane.active {
    display: flex !important;
}

/* 1-liner Toggle Rows */
.adv-toggle-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
}

.adv-toggle-row:hover {
    background: rgba(52, 211, 153, 0.05);
    border-color: rgba(52, 211, 153, 0.32);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 0 15px rgba(52, 211, 153, 0.08);
}

.adv-toggle-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
}

.adv-toggle-info svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    flex-shrink: 0 !important;
}

.adv-toggle-name {
    font-size: 13px;
    font-weight: 500;
    color: #F1F5F9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Visual Cue Micro-Tags */
.cue-tag {
    font-size: 10.5px;
    font-weight: 600;
    padding: 2.5px 7px;
    border-radius: 999px;
    letter-spacing: 0.2px;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.cue-emerald {
    background: rgba(16, 185, 129, 0.16);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.cue-blue {
    background: rgba(56, 189, 248, 0.16);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.2);
}

.cue-amber {
    background: rgba(245, 158, 11, 0.16);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

.cue-purple {
    background: rgba(167, 139, 250, 0.16);
    color: #C4B5FD;
    border: 1px solid rgba(167, 139, 250, 0.35);
}

.cue-gold {
    background: rgba(255, 188, 57, 0.16);
    color: #FCD34D;
    border: 1px solid rgba(255, 188, 57, 0.35);
    box-shadow: 0 0 8px rgba(255, 188, 57, 0.25);
}

.cue-slate {
    background: rgba(148, 163, 184, 0.14);
    color: #CBD5E1;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Modern Input Group with Eye Toggle */
.adv-input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.adv-input-icon-left {
    position: absolute;
    left: 12px;
    color: #64748B;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.adv-pro-input {
    width: 100%;
    padding: 10px 36px 10px 36px;
    font-size: 13px;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.adv-pro-input:focus {
    outline: none;
    border-color: #34D399;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22), 0 0 18px rgba(52, 211, 153, 0.2);
}

.adv-input-toggle-pwd {
    position: absolute;
    right: 9px;
    background: none;
    border: none;
    color: #64748B;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 5px;
    transition: color 0.18s ease, transform 0.15s ease;
}

.adv-input-toggle-pwd:hover,
.adv-input-toggle-pwd.active {
    color: #34D399;
    transform: scale(1.1);
}

/* Field Blocks */
.adv-field-block {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.adv-field-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.adv-field-title {
    font-size: 12px;
    font-weight: 500;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.adv-field-block .adv-pro-input {
    padding-left: 14px;
}

/* Refined Segmented Radios */
.adv-limit-radios {
    display: flex;
    gap: 5px;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.limit-radio-item {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.limit-radio-item input {
    position: absolute;
    opacity: 0;
}

.limit-radio-item span {
    display: block;
    text-align: center;
    padding: 7px 4px;
    font-size: 12px;
    font-weight: 500;
    color: #94A3B8;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.18s ease;
}

.limit-radio-item:hover span {
    color: #F1F5F9;
}

.limit-radio-item input:checked+span {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.22) 0%, rgba(56, 189, 248, 0.16) 100%);
    color: #34D399;
    font-weight: 600;
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.25);
}

/* Unboxing Card with Balanced 2-Row Layout */
.adv-mini-unboxing {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.2s ease;
}

.adv-mini-unboxing:hover {
    background: rgba(56, 189, 248, 0.04);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.adv-mini-unboxing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.unboxing-trigger-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.adv-action-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    color: #CBD5E1;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.adv-action-chip:hover {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
    color: #FFFFFF;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.2);
}

.adv-mini-unboxing .unboxing-attached-bar {
    margin-top: 4px;
    padding: 6px 10px;
    border-radius: 8px;
}

/* Footer: Clean, Balanced Row */
.adv-mini-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.adv-mini-sync-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.sync-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 8px #34D399;
    animation: trustPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.adv-mini-sync-status .adv-sync-text {
    font-size: 11.5px;
    color: #64748B;
    white-space: nowrap;
}

.adv-mini-done-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 22px !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%) !important;
    color: #04140D !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4), 0 0 20px rgba(52, 211, 153, 0.3) !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.adv-mini-done-btn:hover {
    background: linear-gradient(135deg, #34D399 0%, #6EE7B7 100%) !important;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.6), 0 0 28px rgba(52, 211, 153, 0.5) !important;
}

/* Active Chips with Glowing Color Dots on Uploader */
.adv-active-pill-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    color: #E2E8F0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.chip-dot.dot-emerald {
    background: #10B981;
    box-shadow: 0 0 6px #10B981;
}

.chip-dot.dot-cyan {
    background: #38BDF8;
    box-shadow: 0 0 6px #38BDF8;
}

.chip-dot.dot-amber {
    background: #F59E0B;
    box-shadow: 0 0 6px #F59E0B;
}

.chip-dot.dot-purple {
    background: #A78BFA;
    box-shadow: 0 0 6px #A78BFA;
}

.chip-dot.dot-gold {
    background: #FFBC39;
    box-shadow: 0 0 6px #FFBC39;
}

.chip-dot.dot-blue {
    background: #3B82F6;
    box-shadow: 0 0 6px #3B82F6;
}

/* ==========================================================================
   ADVANCED OPTIONS MODAL - MOBILE RESPONSIVENESS (<= 600px)
   ========================================================================== */
@media (max-width: 600px) {
    .adv-settings-modal-wrap {
        padding: 12px 10px !important;
        align-items: center !important;
    }

    .adv-mini-modal-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 16px 14px 14px 14px !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
    }

    .adv-mini-modal-header {
        margin-bottom: 12px !important;
        align-items: flex-start !important;
    }

    .adv-mini-header-left {
        gap: 8px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .adv-mini-icon-badge {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }

    .adv-mini-title {
        font-size: 13.5px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }

    .adv-mini-close {
        width: 28px !important;
        height: 28px !important;
        flex-shrink: 0 !important;
        margin-top: -2px !important;
        border-radius: 8px !important;
    }

    .adv-mini-tabs-nav {
        padding: 3px !important;
        gap: 3px !important;
        margin-bottom: 12px !important;
        border-radius: 10px !important;
    }

    .adv-tab-btn {
        padding: 6px 4px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
        gap: 4px !important;
    }

    .adv-tab-btn svg {
        width: 11px !important;
        height: 11px !important;
    }

    .adv-tab-pane {
        gap: 8px !important;
        min-height: auto !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    .adv-toggle-row {
        padding: 9px 12px !important;
        border-radius: 12px !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .adv-toggle-info {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .adv-toggle-info svg {
        width: 13px !important;
        height: 13px !important;
        min-width: 13px !important;
        flex-shrink: 0 !important;
    }

    .adv-toggle-name {
        font-size: 11.5px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .cue-tag {
        font-size: 9px !important;
        padding: 2px 6px !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        line-height: 1.2 !important;
    }

    .custom-switch {
        width: 36px !important;
        height: 20px !important;
        flex-shrink: 0 !important;
        margin-left: auto !important;
    }

    .switch-slider {
        border-radius: 999px !important;
    }

    .switch-slider:before {
        height: 14px !important;
        width: 14px !important;
        left: 2.5px !important;
        top: 2px !important;
        bottom: auto !important;
    }

    input:checked + .switch-slider:before {
        transform: translateX(16px) !important;
    }

    .adv-pro-input {
        padding: 8px 30px 8px 30px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }

    .adv-input-icon-left {
        left: 9px !important;
    }

    .adv-input-toggle-pwd {
        right: 6px !important;
    }

    .adv-mini-modal-footer {
        margin-top: 12px !important;
        padding-top: 10px !important;
        gap: 8px !important;
    }

    .adv-mini-sync-status .adv-sync-text {
        font-size: 10.5px !important;
    }

    .adv-mini-done-btn {
        padding: 7px 16px !important;
        font-size: 12px !important;
        border-radius: 999px !important;
    }
}

/* ==========================================================================
   MOBILE QUICK-HOME THUMB BUTTON (NEON GLOW FAB)
   ========================================================================== */
.mobile-home-fab,
.scroll-to-top-btn {
    position: fixed;
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(19, 29, 46, 0.94) 0%, rgba(9, 14, 23, 0.98) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-top: 1.5px solid rgba(56, 189, 248, 0.7);
    color: #38BDF8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(20px) scale(0.85);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease, box-shadow 0.25s ease, visibility 0.3s;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 12px 32px -4px rgba(0, 0, 0, 0.85),
        0 0 20px rgba(56, 189, 248, 0.35),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
    padding: 0;
    outline: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-home-fab .fab-neon-glow {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(52, 211, 153, 0.25) 50%, transparent 70%);
    opacity: 0.5;
    filter: blur(5px);
    pointer-events: none;
    z-index: -1;
}

@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    .mobile-home-fab .fab-neon-glow {
        animation: fabNeonPulse 3s ease-in-out infinite alternate;
    }
}

.mobile-home-fab .fab-home-icon {
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.65));
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-home-fab:hover {
    transform: translateY(-3px) scale(1.06);
    border-color: #38BDF8;
    box-shadow: 
        0 16px 38px -4px rgba(0, 0, 0, 0.9),
        0 0 30px rgba(56, 189, 248, 0.6),
        inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.mobile-home-fab:active {
    transform: scale(0.92);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.9), 0 0 18px rgba(56, 189, 248, 0.5);
}

.mobile-home-fab.visible,
.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

@media (min-width: 861px) {
    .mobile-home-fab {
        display: none !important;
    }
}


/* Specjalna adaptacja dla monitorów 2K / 1440p / Ultrawide */
@media (min-width: 1400px) and (min-height: 960px) {
    .studio-split-hero {
        gap: clamp(24px, 2.8vh, 36px);
    }
    .studio-hero-title {
        font-size: clamp(38px, 2.5vw + 10px, 48px);
    }
    .studio-hero-desc {
        font-size: 15.5px;
        max-width: 820px;
        line-height: 1.6;
    }
    .studio-wrapper {
        padding-top: clamp(8px, 1.2vh, 20px);
        padding-bottom: 24px;
    }
}

/* Odstęp dla banera PRO, aby nie przyklejał się do uploader boxa */
#homeAdSlot,
.ad-slot-home {
    margin-top: clamp(36px, 4.5vh, 60px) !important;
}

/* ==========================================================================
   CRITICAL ANTI-FOUC BASE STYLES FOR DEFERRED MODALS & HUDS
   Eliminates visual flashing on page reload caused by asynchronous CSS loading
   ========================================================================== */
.radial-hud-backdrop:not(.open),
.cmd-palette-backdrop:not(.open),
.drop-req-modal-wrap:not(.open),
.dead-drop-modal-wrap:not(.open),
.rodo-modal-backdrop:not(.active),
.byos-modal-overlay:not(.active),
.concierge-modal-wrap:not(.is-active) {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: -99999 !important;
}

.radial-hud-backdrop.open,
.cmd-palette-backdrop.open,
.drop-req-modal-wrap.open,
.dead-drop-modal-wrap.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.rodo-modal-backdrop.active,
.byos-modal-overlay.active,
.concierge-modal-wrap.is-active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
