* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}
body.app-loading {
    overflow: hidden;
}
a { color: inherit; }

.site-loader {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    background: #000;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.site-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.site-loader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}
.loader-brand {
    font-size: 11px;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: #d9f420;
}
.loader-text {
    color: #a8a8a8;
    font-size: 13px;
}
.loader-ring {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(217, 244, 32, 0.28);
    border-top-color: #d9f420;
    animation: spin 0.9s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.noscript-note {
    padding: 12px 16px;
    text-align: center;
    background: #111;
    color: #ddd;
    border-bottom: 1px solid #222;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 3000;
    padding: 12px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 14px;
}
.skip-link:focus {
    left: 12px;
    top: 12px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus { outline: none; }
:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.skip-link:focus-visible {
    outline-color: #D9F420;
}
.brand-btn:focus-visible,
.nav-btn:focus-visible,
.split-side:focus-visible,
.gallery-back:focus-visible,
.hero-cta:focus-visible {
    outline-offset: -2px;
}

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0 14px;
    text-align: center;
    background: #000;
    border-bottom: 1px solid rgba(217, 244, 32, 0.35);
    box-shadow: none;
}

/* Резервируем высоту фиксированной шапки, чтобы контент не наезжал */
main {
    padding-top: 108px;
}

.main-header.is-scrolled {
    background: #000;
    border-bottom-color: rgba(217, 244, 32, 0.45);
}

.brand-btn {
    font: inherit;
    font-size: clamp(12px, 2vw, 14px);
    letter-spacing: 8px;
    color: #fff;
    font-weight: 200;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
}
nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin-top: 10px;
    flex-wrap: wrap;
}
.nav-btn {
    font: inherit;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    background: #000;
    border: 2px solid #d9f420;
    border-radius: 0;
    padding: 9px 14px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.nav-btn:hover,
.nav-btn:focus-visible {
    color: #fff;
    background: #000;
    border-color: #e8ff4a;
}
.nav-btn.is-active {
    color: #000;
    background: #fff;
    border-color: #d9f420;
}

nav a.nav-btn-link {
    display: inline-block;
    text-decoration: none;
    font: inherit;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    background: #000;
    border: 2px solid #d9f420;
    border-radius: 0;
    padding: 9px 14px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
nav a.nav-btn-link:hover,
nav a.nav-btn-link:focus-visible {
    color: #fff;
    background: #000;
    border-color: #e8ff4a;
}

.content-section { display: none; width: 100%; min-height: 100vh; }
.content-section.active { display: block !important; }

.split-container {
    display: flex;
    height: calc(100vh - 108px);
    width: 100%;
    position: relative;
}
.split-side {
    flex: 1;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font: inherit;
    color: inherit;
    border: none;
    padding: 0;
    background: transparent;
    min-height: 0;
}

.bg-bw, .bg-color {
    display: block;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.8s ease;
    width: 100%;
    height: 100%;
}
.bg-bw { filter: grayscale(1) brightness(0.25); z-index: 1; opacity: 1; }
.bg-color { opacity: 0; z-index: 2; }

.split-side:hover .bg-color { opacity: 1; }
.split-side:hover .bg-bw,
.split-side:hover .bg-color { transform: scale(1.05); }

.split-title { position: relative; z-index: 10; pointer-events: none; }
.split-heading {
    display: block;
    font-size: clamp(24px, 5vw, 52px);
    letter-spacing: 15px;
    font-weight: 100;
    text-transform: uppercase;
}

.hero-panel {
    position: absolute;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%);
    z-index: 20;
    width: min(92%, 860px);
    background: rgba(0,0,0,0.62);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 22px 20px;
    text-align: center;
}
.hero-kicker {
    font-size: 11px;
    letter-spacing: 0.28em;
    color: #9d9d9d;
    text-transform: uppercase;
}
.hero-text {
    margin-top: 10px;
    color: #d3d3d3;
    line-height: 1.55;
    font-size: 15px;
}
.hero-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-cta {
    font: inherit;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 10px;
    padding: 11px 14px;
    cursor: pointer;
    text-decoration: none;
}
.hero-cta-primary {
    background: #D9F420;
    border-color: #D9F420;
    color: #111;
}
.hero-cta-primary:hover { background: #ECFF7A; border-color: #ECFF7A; color: #111; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 70px;
}
.container.narrow { max-width: 940px; }

.section-title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.about-magazine {
    display: flex;
    gap: 5%;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 108px);
    padding: 24px 10% 70px;
    flex-direction: row;
}
.about-image-side { width: 40%; max-width: 500px; }
.about-image-side img { width: 100%; height: auto; display: block; filter: contrast(1.1); }
.about-content-side { width: 50%; }
.creative-tag {
    color: #fff;
    border: 1px solid #D9F420;
    display: inline-block;
    padding: 5px 15px;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.huge-title {
    font-size: clamp(40px, 5vw, 85px);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.specs-line {
    font-size: 11px;
    letter-spacing: 3px;
    color: #666;
    margin-bottom: 20px;
    border-top: 1px solid #222;
    padding-top: 20px;
    text-transform: uppercase;
}
.bio-text {
    font-size: 17px;
    line-height: 1.8;
    color: #b0b0b0;
    max-width: 540px;
}
.about-list {
    margin-top: 18px;
    color: #999;
    padding-left: 20px;
}
.about-list li + li { margin-top: 8px; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.info-card,
.price-card {
    border: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(155deg, rgba(255,255,255,0.06), rgba(255,255,255,0.015));
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 26px rgba(0,0,0,0.24);
    padding: 18px 16px;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.info-card:hover,
.price-card:hover,
.info-card:focus-within,
.price-card:focus-within {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.22);
    background: linear-gradient(155deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
}
.info-card h3,
.price-card h3 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: #fff;
    margin-bottom: 12px;
}
.info-card p {
    color: #afafaf;
    line-height: 1.6;
}
.info-card p + p { margin-top: 8px; }

.price-value {
    color: #fff;
    font-size: 22px;
    margin-bottom: 12px;
}
.price-card ul {
    padding-left: 18px;
    color: #b1b1b1;
}
.price-card li + li { margin-top: 7px; }
.section-footnote {
    margin-top: 14px;
    color: #898989;
    font-size: 14px;
}

.faq-list details {
    border-bottom: 1px solid #151515;
    padding: 14px 0;
}
.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    color: #fff;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p {
    margin-top: 9px;
    color: #a0a0a0;
    line-height: 1.6;
    max-width: 760px;
}

.gallery-back {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
    padding: 0 0 16px;
    width: 100%;
    justify-content: flex-start;
    font: inherit;
    color: #888;
    background: none;
    border: none;
    border-bottom: 1px solid #1a1a1a;
    cursor: pointer;
    text-align: left;
    transition: color 0.35s ease, border-color 0.35s ease;
}
.gallery-back:hover,
.gallery-back:focus-visible {
    color: #fff;
    border-bottom-color: #D9F420;
}
.gallery-back-label {
    font-size: 10px;
    font-weight: 200;
    letter-spacing: 0.45em;
    text-transform: uppercase;
}
.gallery-back-arrow {
    display: inline-block;
    font-size: 16px;
    font-weight: 200;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}
.gallery-back:hover .gallery-back-arrow,
.gallery-back:focus-visible .gallery-back-arrow {
    transform: translateX(-4px);
}

.gallery-intro {
    margin: 10px 0 20px;
    color: #9e9e9e;
    line-height: 1.6;
}
.gallery-intro a {
    color: #fff;
    text-underline-offset: 2px;
}

body.low-memory-mode .masonry-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}
body.low-memory-mode .gallery-item {
    margin: 0;
}
body.low-memory-mode .gallery-thumb {
    aspect-ratio: 4 / 5;
    min-height: 0;
}
body.low-memory-mode .gallery-load-more {
    width: 100%;
}
body.low-memory-mode #lb-img {
    max-width: min(96%, 1400px);
    max-height: 84vh;
}
.gallery-load-more {
    margin: 8px auto 20px;
    display: block;
    font: inherit;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    padding: 11px 15px;
    cursor: pointer;
}
.gallery-load-more:hover,
.gallery-load-more:focus-visible {
    border-color: #D9F420;
}

.masonry-wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.gallery-item {
    margin: 0;
    position: relative;
}
.gallery-caption {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 0.04em;
    color: #9a9a9a;
    line-height: 1.35;
    max-width: 100%;
}
.gallery-empty {
    grid-column: 1 / -1;
    margin: 24px 0 40px;
    padding: 28px 20px;
    text-align: center;
    color: #888;
    font-size: 15px;
    line-height: 1.55;
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.02);
}
.gallery-count-badge {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 3;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
}
.series-sheet[hidden] {
    display: none !important;
}
.series-sheet:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 1900;
    background: rgba(0, 0, 0, 0.94);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
.series-sheet-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 16px 48px;
    min-height: 100%;
}
.series-sheet-top {
    padding: 8px 0 20px;
}
.series-sheet-meta {
    margin: 0 0 20px;
    padding: 0 4px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.series-sheet-meta[hidden] {
    display: none !important;
}
.series-sheet-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 0 0 10px;
    color: #fff;
}
.series-sheet-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #b5b5b5;
}
.series-sheet-desc[hidden] {
    display: none !important;
}
.series-sheet-back {
    font: inherit;
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #aaa;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0;
}
.series-sheet-back:hover,
.series-sheet-back:focus-visible {
    color: #fff;
}
.series-sheet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.series-sheet-cell {
    margin: 0;
}
.series-sheet-thumb {
    width: 100%;
    display: block;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #141414;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.series-sheet-thumb:not([data-image-ready="1"]) {
    cursor: wait;
    pointer-events: none;
}
.series-sheet-thumb[data-image-ready="1"] {
    cursor: pointer;
    pointer-events: auto;
}
.masonry-wrapper .gallery-thumb {
    width: 100%;
    display: block;
    background: #141414;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}
.masonry-wrapper .gallery-thumb.thumb-error {
    background: #1a1a1a;
}
.masonry-wrapper .gallery-thumb:not([data-image-ready="1"]) {
    cursor: wait;
    pointer-events: none;
}
.masonry-wrapper .gallery-thumb[data-image-ready="1"] {
    cursor: pointer;
    pointer-events: auto;
}

.center-vh { display: flex; justify-content: center; align-items: center; min-height: calc(100vh - 108px); }
#contact-section .section-title {
    color: #d9f420;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.links-stack { width: min(100%, 460px); }
.links-stack a {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #111;
    text-decoration: none;
    font-size: 17px;
    letter-spacing: 0.22em;
    text-align: center;
    color: #aaa;
    transition: color 0.3s;
}
.links-stack a:hover { color: #fff; }

.mobile-sheet {
    display: none;
}

.tap-pop {
    animation: tapPop 220ms ease-out;
}

@keyframes tapPop {
    0% { transform: scale(1); }
    40% { transform: scale(0.97); }
    100% { transform: scale(1); }
}

.reveal-item {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.main-footer {
    border-top: 1px solid #111;
    color: #707070;
    padding: 20px 16px 90px;
    text-align: center;
    font-size: 12px;
}

.lightbox[hidden] { display: none !important; }
.lightbox:not([hidden]) {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}
#lb-img {
    max-width: min(92%, 1400px);
    max-height: 84vh;
    object-fit: contain;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}
.lightbox-stage {
    position: relative;
    display: inline-block;
    max-width: min(92%, 1400px);
    max-height: 84vh;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(155deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.lightbox-shield {
    position: absolute;
    inset: 0;
    z-index: 2002;
    background: transparent;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.gallery-thumb,
.series-sheet-thumb,
.split-side,
.about-image-side img,
#lb-img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}
.lightbox-close,
.lightbox-nav {
    position: absolute;
    z-index: 2001;
    color: #fff;
    background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.36);
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    cursor: pointer;
}
.lightbox-close {
    top: 16px;
    right: 20px;
    font-size: 34px;
    line-height: 1;
    padding: 6px 12px;
}
.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    line-height: 1;
    padding: 8px 14px;
}
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }
.lightbox-nav[disabled] {
    opacity: 0.3;
    cursor: default;
}

@media (prefers-reduced-motion: reduce) {
    .bg-bw, .bg-color,
    .nav-btn,
    .links-stack a,
    .gallery-back {
        transition: none;
    }
    .split-side:hover .bg-bw,
    .split-side:hover .bg-color {
        transform: none;
    }
}

@media (max-width: 920px) {
    .cards-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-header {
        background: #000;
        border-bottom: 1px solid rgba(217, 244, 32, 0.35);
    }
    main {
        padding-top: 132px;
    }
    nav ul { gap: 12px; }
    .split-container { flex-direction: column; height: auto; min-height: 100vh; }
    .split-side { height: 50vh; width: 100%; }
    .split-heading { font-size: 28px; letter-spacing: 10px; }
    .hero-panel {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        border-left: none;
        border-right: none;
        border-bottom: none;
        margin-top: -1px;
    }
    .about-magazine {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 16px;
        min-height: auto;
        padding: 20px 16px 36px;
        text-align: left;
    }
    .about-image-side {
        flex: 0 0 auto;
        width: 38%;
        max-width: 168px;
        margin-bottom: 0;
    }
    .about-image-side img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
        border-radius: 2px;
    }
    .about-content-side {
        flex: 1;
        min-width: 0;
        width: auto;
        max-width: none;
    }
    .about-magazine .creative-tag {
        margin-bottom: 12px;
        font-size: 9px;
        padding: 4px 10px;
    }
    .about-magazine .huge-title {
        font-size: clamp(22px, 6.5vw, 34px);
        margin-bottom: 14px;
        line-height: 1.05;
    }
    .about-magazine .specs-line {
        margin-bottom: 12px;
        padding-top: 12px;
        font-size: 10px;
    }
    .about-magazine .bio-text {
        font-size: 14px;
        line-height: 1.55;
    }
    .about-magazine .about-list {
        margin-top: 12px;
        font-size: 13px;
    }
    #contact-section .center-vh {
        min-height: auto;
        padding: 32px 16px 48px;
        align-items: center;
    }
    .container { padding: 120px 12px 40px; }
    .gallery-back {
        margin-bottom: 16px;
        padding-bottom: 14px;
    }
    .gallery-back-label { letter-spacing: 0.35em; }
    .masonry-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }
    .gallery-item {
        margin: 0;
    }
    .masonry-wrapper .gallery-thumb {
        border-radius: 1px;
        aspect-ratio: 1 / 1;
    }
    .gallery-load-more {
        width: 100%;
    }

    .mobile-sheet { display: none !important; }
    .main-footer { padding-bottom: 96px; }
    .lightbox-nav {
        top: auto;
        bottom: 16px;
        transform: none;
    }
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
}

/* После git pull с main: без «liquid glass» в лайтбоксе */
.lightbox-stage {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.lightbox-close,
.lightbox-nav {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0, 0, 0, 0.55) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
}

/* View Transitions API — смена секций */
@supports (view-transition-name: none) {
    .content-section {
        view-transition-name: portfolio-section;
    }

    ::view-transition-old(portfolio-section),
    ::view-transition-new(portfolio-section) {
        animation-duration: 0.38s;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }

    ::view-transition-old(portfolio-section) {
        animation-name: vt-section-out;
    }

    ::view-transition-new(portfolio-section) {
        animation-name: vt-section-in;
    }

    @media (prefers-reduced-motion: reduce) {
        ::view-transition-old(portfolio-section),
        ::view-transition-new(portfolio-section) {
            animation: none !important;
        }
    }
}

@keyframes vt-section-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@keyframes vt-section-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Баннер установки PWA (Chromium) */
.install-banner {
    position: fixed;
    z-index: 5000;
    left: 16px;
    right: 16px;
    bottom: 20px;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    padding: 14px 16px;
    background: rgba(12, 12, 12, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.install-banner[hidden] {
    display: none !important;
}

.install-banner-text {
    flex: 1 1 200px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #c4c4c4;
}

.install-banner-btn {
    font: inherit;
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 10px 16px;
    background: #c9a94f;
    color: #000;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.install-banner-btn:hover,
.install-banner-btn:focus-visible {
    filter: brightness(1.08);
}

.install-banner-dismiss {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

.install-banner-dismiss:hover,
.install-banner-dismiss:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

@media (max-width: 520px) {
    .install-banner {
        left: 12px;
        right: 12px;
        padding-top: 36px;
    }
}
