/* KupujPL Gry — Cyberpunk 2077 inspired theme */

:root {
    --bg: #000000;
    --surface: #1f1f1f;
    --surface-2: #2a2a2a;
    --border: #333333;
    --border-strong: #444444;
    --text: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #aaaaaa;
    --brand: #0070d1;
    --brand-hover: #005fa8;
    --brand-soft: rgba(0, 112, 209, 0.15);
    --blue-light: #2d9cff;
    --price: #2d9cff;
    --price-bg: rgba(45, 156, 255, 0.12);
    --link: #2d9cff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 12px 32px rgba(0, 112, 209, 0.3);
    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

[hidden] {
    display: none !important;
}

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}

/* Układ 24 — split screen */
body.layout-split {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.layout-split .header {
    flex-shrink: 0;
    position: relative;
}

.layout-split .split-shell {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(240px, 280px) 1fr;
}

.layout-split .split-left {
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 20px 14px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.layout-split .split-left-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.layout-split .split-stats {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.4;
}

.layout-split .split-cats {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.layout-split .split-cats .cat {
    display: block;
    width: 100%;
    text-align: left;
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin: 0;
    white-space: normal;
    line-height: 1.35;
    word-break: break-word;
}

.split-info {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.split-info-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.info-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.info-btn:hover {
    border-color: var(--brand);
    color: var(--blue-light);
    background: var(--brand-soft);
}

.info-btn--donate {
    border-color: rgba(0, 112, 209, 0.45);
    color: var(--blue-light);
}

.info-btn--donate:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.layout-split .split-right {
    overflow-y: auto;
    padding: 24px 24px 32px;
    -webkit-overflow-scrolling: touch;
}

.layout-split .sections {
    gap: 32px;
}

.layout-split .catalog-head {
    margin-bottom: 20px;
}

.layout-split .catalog-head h1 {
    font-size: 22px;
}

.layout-split .grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.layout-split .footer {
    flex-shrink: 0;
    margin-top: 0;
    display: block;
    padding: 8px 0;
}

.layout-split .wrap {
    max-width: none;
    padding: 0 20px;
}

.layout-split .footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.layout-split .footer-inner p {
    margin-top: 0;
    text-align: left;
    font-size: 11px;
}

.layout-split .footer-btn {
    padding: 6px 12px;
    font-size: 12px;
}

.layout-split .footer-nav {
    justify-content: flex-start;
    gap: 8px;
}

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 20px;
}

a { color: var(--link); }

/* Header */
.header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 64px;
}

.header-dev-banner {
    border-top: 1px solid var(--border);
    background: rgba(0, 120, 255, 0.06);
    padding: 7px 0;
    text-align: center;
}

.header-dev-banner p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.45;
}

.header-dev-banner a {
    color: var(--blue-light);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.header-dev-banner a:hover {
    color: var(--link);
}

.tg-promo-banner {
    margin: 12px auto 0;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 180, 255, 0.35);
    background: linear-gradient(90deg, rgba(0, 120, 255, 0.12), rgba(0, 200, 120, 0.08));
}

.tg-promo-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text);
}

.tg-promo-banner a {
    color: var(--blue-light);
    font-weight: 600;
    text-decoration: none;
    margin-left: 6px;
}

.tg-promo-banner a:hover {
    text-decoration: underline;
}

.brand {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.brand-accent { color: var(--blue-light); font-weight: 400; }

.brand-sub {
    font-size: 13px;
    font-weight: 400;
    color: var(--blue-light);
    background: transparent;
    padding: 0;
    border: none;
}

.search-wrap { flex: 1; max-width: 480px; min-width: 0; }

.header-info {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.header-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.header-info-btn:hover {
    border-color: var(--brand);
    color: var(--blue-light);
    background: var(--brand-soft);
}

.header-info-btn--donate {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.header-info-btn--donate:hover {
    background: var(--brand-hover);
    border-color: var(--brand-hover);
    color: #fff;
}

#search-input {
    width: 100%;
    height: 40px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    font: inherit;
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.15s;
}

#search-input::placeholder { color: var(--text-muted); }

#search-input:focus {
    outline: none;
    border-color: var(--brand);
    background: var(--surface);
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-shrink: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
    grid-column: 3;
    justify-self: end;
}

.lang-switch,
.theme-switch {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    flex-shrink: 0;
    border: 2px solid var(--cp-black, #0a0a0a);
    background: var(--cp-black, #0a0a0a);
    clip-path: var(--cp-cut-sm, polygon(0 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--cp-yellow) 15%, transparent);
}

.lang-btn,
.theme-btn {
    min-width: 38px;
    min-height: 34px;
    padding: 6px 10px;
    border: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: color-mix(in srgb, var(--cp-yellow) 72%, transparent);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1;
    clip-path: var(--cp-cut-sm, polygon(0 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%));
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.theme-btn {
    min-width: 42px;
    font-size: 11px;
}

.lang-btn:hover,
.theme-btn:hover {
    color: var(--cp-yellow, #fcee09);
    background: color-mix(in srgb, var(--cp-yellow) 12%, transparent);
    border-color: color-mix(in srgb, var(--cp-yellow) 35%, transparent);
}

.lang-btn.active,
.theme-btn.active {
    color: var(--cp-black, #0a0a0a);
    background: var(--cp-yellow, #fcee09);
    border-color: var(--cp-yellow, #fcee09);
    box-shadow: 0 0 12px color-mix(in srgb, var(--cp-yellow) 45%, transparent);
}

.lang-btn:focus-visible {
    outline: 2px solid var(--cp-cyan, #00f0ff);
    outline-offset: 2px;
}

.theme-btn:focus-visible {
    outline: 2px solid var(--cp-cyan, #00f0ff);
    outline-offset: 2px;
}

/* Top bar */
.topbar {
    background: var(--brand);
    color: #fff;
    font-size: 13px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.topbar-text { opacity: 0.9; }

.topbar-stats {
    font-weight: 600;
    white-space: nowrap;
}

/* Main */
.main { padding: 28px 20px 64px; }

.cats-wrap {
    margin-bottom: 28px;
}

.cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.cat {
    padding: 10px 20px;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.cat:hover {
    border-color: var(--brand);
    color: var(--blue-light);
}

.cat.active {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--blue-light);
}

.cat-curated {
    font-weight: 600;
    border-color: rgba(45, 156, 255, 0.35);
}

.layout-split .cat-curated.active {
    background: rgba(0, 112, 209, 0.22);
}

.cats-meta {
    font-size: 13px;
    color: var(--text-muted);
}

/* Sections (home) */
.sections {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.home-section-block { /* kept for JS */ }

.home-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.home-section-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.home-section-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 2px;
}

.btn-see-more,
.btn.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-see-more {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.btn-see-more:hover {
    border-color: var(--brand);
    color: var(--blue-light);
}

.home-section-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.home-section-row::-webkit-scrollbar { height: 6px; }
.home-section-row::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

/* Game cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.game-card {
    background: var(--surface);
    border: 1px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.game-card-row {
    flex: 0 0 196px;
    min-width: 196px;
    scroll-snap-align: start;
}

.card-cover {
    aspect-ratio: 460 / 215;
    background: var(--surface-2);
    overflow: hidden;
    position: relative;
}

.card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
}

.card-rank.silver { background: #607d8b; }
.card-rank.bronze { background: #8d6e63; }

.card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}

.card-title-link {
    color: inherit;
    text-decoration: none;
}

.card-title-link:hover {
    color: var(--brand, #0070d1);
}

.card-cover-link {
    display: block;
    line-height: 0;
}

.card-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.card-from {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.card-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--price);
    margin-left: auto;
}

.card-price.empty {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.card-tag {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--price-bg);
    color: var(--price);
}

.card-savings {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--price-bg);
    color: var(--price);
    border: 1px solid rgba(45, 156, 255, 0.35);
    white-space: nowrap;
}

/* Catalog */
.catalog-head { margin-bottom: 20px; }

.catalog-head h1,
.page-heading {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.catalog-head p,
.page-sub {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 4px;
}

.catalog-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
}

.meta { font-size: 14px; color: var(--text-muted); }

.btn-outline {
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text);
}

.btn-outline:hover:not(:disabled) {
    border-color: var(--brand);
    color: var(--blue-light);
}

.btn-outline:disabled { opacity: 0.6; cursor: wait; }

/* Loading / empty */
.loading-spinner {
    grid-column: 1 / -1;
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--brand);
    border-radius: 50%;
    margin: 48px auto;
    animation: spin 0.7s linear infinite;
}

.no-results,
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.error-message { color: var(--brand); }

@keyframes spin { to { transform: rotate(360deg); } }

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.modal[hidden] { display: none !important; }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 780px;
    margin: 24px auto 48px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 24px 64px rgba(0, 112, 209, 0.2);
    padding: 28px;
    z-index: 1;
}

.modal:not([hidden]) .modal-overlay {
    animation: modalOverlayIn 0.5s ease both;
}

.modal:not([hidden]) .modal-panel {
    animation: modalPanelSlideIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal--opening:not([hidden]) .modal-overlay {
    animation: modalOverlayIn 1.1s ease both;
}

.modal--opening:not([hidden]) .modal-panel {
    animation: modalPanelSlideIn 1.5s cubic-bezier(0.16, 1, 0.22, 1) both;
    will-change: transform, opacity;
}

.modal--opening .modal-aside {
    animation: modalCoverIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.modal--opening .modal-cover {
    animation: none;
}

.modal--opening .modal-main {
    animation: modalMainIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both;
}

.modal--opening .offers-title {
    animation: modalFadeUp 0.65s ease 0.75s both;
}

.modal--opening .offers-scan.is-active {
    animation: scanFadeIn 0.6s ease 0.95s both;
}

.modal--opening .offers .offer-row {
    animation: offerEnter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(1.05s + var(--enter-i, 0) * 55ms);
}

@keyframes modalOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalPanelSlideIn {
    0% {
        opacity: 0;
        transform: translateX(calc(100% + 48px)) scale(0.94);
    }
    55% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes modalPanelIn {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes modalCoverIn {
    from {
        opacity: 0;
        transform: translateX(-18px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes modalMainIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes modalFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.modal--loading .modal-cover img {
    opacity: 0.55;
    filter: blur(2px);
    transition: opacity 0.35s ease, filter 0.35s ease;
}

.modal:not(.modal--loading) .modal-cover img {
    opacity: 1;
    filter: none;
    transition: opacity 0.45s ease, filter 0.45s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 22px;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.modal-close:hover { color: var(--blue-light); border-color: var(--brand); }

.modal-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.modal-aside {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.modal-cover {
    margin: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
}

.modal-cover img {
    width: 100%;
    display: block;
    aspect-ratio: 460 / 215;
    object-fit: cover;
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    padding-right: 44px;
}

.modal-head h2 {
    flex: 1 1 12rem;
    min-width: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.modal-desc--pending {
    color: var(--text-muted);
    background: linear-gradient(
        90deg,
        var(--surface-2) 0%,
        rgba(45, 156, 255, 0.12) 50%,
        var(--surface-2) 100%
    );
    background-size: 200% 100%;
    animation: descShimmer 1.4s ease-in-out infinite;
    border-radius: 6px;
    min-height: 1.2em;
}

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

.modal-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.offers-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.offers-head .offers-title {
    margin-bottom: 0;
}

.offers-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.offers-updated-at {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.offers-updated-at--stale {
    color: #b45309;
    font-weight: 500;
}

.offer-warn-badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #f5d76e;
    background: rgba(245, 215, 110, 0.12);
    border: 1px solid rgba(245, 215, 110, 0.35);
    cursor: help;
}

.offer-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.offer-badge--official {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.4);
}

.offer-badge--tier-a {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.4);
}

.offer-badge--tier-b {
    color: #cbd5e1;
    background: rgba(203, 213, 225, 0.1);
    border: 1px solid rgba(203, 213, 225, 0.3);
}

.offer-badge--tier-c {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.35);
}

.offer-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    font-style: normal;
    color: var(--text-muted);
    background: rgba(148, 163, 184, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.4);
    cursor: help;
    vertical-align: middle;
}

.offer-info:hover,
.offer-info:focus {
    color: #fff;
    background: rgba(148, 163, 184, 0.3);
    outline: none;
}

.offer-price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.82em;
    font-weight: 500;
    margin-right: 4px;
    opacity: 0.75;
}

.offers-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.offers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Price scan animation */
.offers-scan {
    display: none;
    margin-bottom: 14px;
    padding: 20px 18px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, #1a1a1a 0%, #1f2a3a 55%, #0d1f33 100%);
    text-align: center;
    overflow: hidden;
    position: relative;
}

.offers-scan.is-active {
    display: block;
    animation: scanFadeIn 0.35s ease;
}

@keyframes scanFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}

.offers-scan-core {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
}

.offers-scan-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed #3a4a5a;
    animation: scanSpin 4s linear infinite;
}

.offers-scan-orbit::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: var(--blue-light);
    box-shadow: 0 0 10px rgba(45, 156, 255, 0.5);
}

.offers-scan-pulse {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 112, 209, 0.2) 0%, transparent 70%);
    animation: scanPulse 1.8s ease-in-out infinite;
}

.offers-scan-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: scanBob 1.8s ease-in-out infinite;
}

@keyframes scanSpin { to { transform: rotate(360deg); } }

@keyframes scanPulse {
    0%, 100% { transform: scale(0.85); opacity: 0.55; }
    50% { transform: scale(1.08); opacity: 1; }
}

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

.offers-scan-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.offers-scan-info {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 10px;
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
}

.offers-scan-countdown {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-light);
    margin: 0 0 14px;
    font-variant-numeric: tabular-nums;
}

.offers-scan-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.offers-scan-shops {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.offers-scan-shop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.offers-scan-shop.is-scanning {
    border-color: var(--blue-light);
    color: var(--blue-light);
    background: rgba(45, 156, 255, 0.12);
    animation: shopScan 1.4s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.12s);
}

.offers-scan-shop.is-found {
    border-color: var(--blue-light);
    color: var(--price);
    background: var(--price-bg);
    transform: scale(1.02);
}

.offers-scan-shop.is-found::before {
    content: '✓';
    font-size: 11px;
    font-weight: 700;
}

.offers-scan-shop.is-idle {
    opacity: 0.55;
}

@keyframes shopScan {
    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 156, 255, 0); }
    50% { box-shadow: 0 0 0 4px rgba(45, 156, 255, 0.18); }
}

.modal--scanning .offers-title {
    color: var(--text-secondary);
}

.offer-row--enter {
    animation: offerEnter 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes offerEnter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.offer-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.offer-row.cheapest {
    border-color: var(--blue-light);
    background: var(--price-bg);
}

.offer-shop { font-weight: 600; font-size: 15px; }

.shop-steam { color: #66c0f4; }
.shop-gog { color: #c77dff; }
.shop-epicgames { color: #e0e0e0; }
.shop-humblestore { color: #ff8a65; }
.shop-kinguin { color: #ffb74d; }
.shop-eneba { color: #69f0ae; }
.shop-cdkeys { color: #ff6b6b; }
.shop-g2a { color: #f59e0b; }
.shop-fanatical { color: #22d3ee; }
.shop-instantgaming { color: #3b82f6; }

.offer-type {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
}

.offer-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--price);
    white-space: nowrap;
}

.btn-buy {
    display: inline-block;
    padding: 9px 18px;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.btn-buy:hover { background: var(--brand-hover); }

.modal-savings {
    margin-bottom: 14px;
    padding: 16px 18px;
    background: var(--price-bg);
    border: 1px solid var(--blue-light);
    border-radius: var(--radius-sm);
    text-align: center;
}

.modal-savings-kicker {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.modal-savings-amount {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

.modal-savings-amount strong {
    color: var(--price);
    font-size: 22px;
}

.modal-savings-pct {
    font-size: 14px;
    font-weight: 700;
    color: var(--price);
}

.modal-savings-detail {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--text-muted);
}

.modal-savings-cta {
    display: inline-block;
    width: 100%;
    max-width: 320px;
    padding: 12px 20px;
    font-size: 15px;
    text-align: center;
}

.modal-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    flex: 0 0 auto;
    max-width: 100%;
}

.modal-main .offer-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "main price"
        "buy buy";
    gap: 10px 12px;
}

.modal-main .offer-row-main {
    grid-area: main;
    min-width: 0;
}

.modal-main .offer-price {
    grid-area: price;
    align-self: start;
}

.modal-main .offer-row .btn-buy {
    grid-area: buy;
    width: 100%;
    max-width: none;
    text-align: center;
    white-space: normal;
}

.btn-alert {
    border: 1px solid var(--border, #334155);
    background: transparent;
    color: var(--text, #e2e8f0);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
}

.btn-alert.active {
    background: #065f46;
    border-color: #059669;
    color: #ecfdf5;
}

.modal-price-history {
    margin: 12px 0 16px;
    padding: 12px;
    border: 1px solid var(--border, #334155);
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.35);
}

.modal-history-title {
    margin: 0 0 6px;
    font-size: 14px;
}

.modal-history-meta {
    margin: 0 0 8px;
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
}

.modal-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.modal-history-table th,
.modal-history-table td {
    border-bottom: 1px solid var(--border, #334155);
    padding: 4px 6px;
    text-align: left;
}

.card-history-label {
    display: block;
    font-size: 11px;
    color: #34d399;
    margin-top: 2px;
}

.offer-refund-details {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}

.offer-refund-toggle {
    display: inline-block;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    color: #60a5fa;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: rgba(96, 165, 250, 0.08);
    list-style: none;
    user-select: none;
}

.offer-refund-toggle::-webkit-details-marker {
    display: none;
}

.offer-refund-toggle::before {
    content: '▸ ';
    font-size: 10px;
}

.offer-refund-details[open] .offer-refund-toggle::before {
    content: '▾ ';
}

.offer-refund-details[open] .offer-refund-toggle {
    color: #93c5fd;
    border-color: rgba(147, 197, 253, 0.45);
    background: rgba(96, 165, 250, 0.14);
}

.offer-refund-details[open] {
    display: block;
    width: 100%;
    margin-left: 0;
}

.offer-refund-panel {
    margin-top: 8px;
    padding: 8px 10px;
    background: rgba(15, 23, 42, 0.55);
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    max-width: 36rem;
}

.offer-refund-panel__text {
    font-size: 11px;
    line-height: 1.45;
    color: #cbd5e1;
    margin: 0;
}

.offer-refund-panel__foot {
    margin: 6px 0 0;
    font-size: 10px;
}

.offer-refund-panel__disclaimer {
    margin: 6px 0 0;
    font-size: 9px;
    line-height: 1.35;
    color: #64748b;
}

.offer-refund-kupujpl {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
    color: #94a3b8;
    max-width: 42rem;
}

.offer-refund-kupujpl__kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #60a5fa;
    margin-bottom: 2px;
}

.offer-refund-policy-link {
    margin-left: 4px;
    color: #7dd3fc;
    text-decoration: none;
    white-space: nowrap;
}

.offer-refund-policy-link:hover {
    text-decoration: underline;
}

.offers-refund-disclaimer {
    margin-top: 8px;
    font-size: 10px;
    color: #64748b;
    line-height: 1.4;
}

.offer-row-main {
    min-width: 0;
}

.offer-refund-link {
    margin-left: 6px;
    font-size: 11px;
    color: #60a5fa;
    text-decoration: none;
}

.offer-refund-link:hover {
    text-decoration: underline;
}

.card-alert-badge {
    display: inline-block;
    margin-left: 6px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #065f46;
    color: #ecfdf5;
}

.panel-telegram-box {
    margin-top: 12px;
}

.panel-code {
    font-family: ui-monospace, monospace;
    font-size: 13px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 6px;
    word-break: break-all;
}

.btn-buy--best {
    min-width: 11rem;
}

.blik-badge {
    display: inline-block;
    background: #ff0055;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

.offer-row-missing {
    opacity: 0.75;
    background: var(--surface);
}

.offer-unavailable {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.btn-buy-disabled {
    display: inline-block;
    padding: 9px 18px;
    background: var(--border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    pointer-events: none;
    cursor: default;
}

.offers-empty {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border);
    font-size: 14px;
}

.offers-empty-hint {
    margin: 0 0 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-muted);
    background: rgba(255, 180, 60, 0.08);
    border: 1px solid rgba(255, 180, 60, 0.25);
    border-radius: var(--radius-sm);
}

.btn-fav {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-fav.favorited {
    color: var(--blue-light);
    border-color: var(--brand);
    background: var(--brand-soft);
}

.btn-watch {
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-watch:hover {
    border-color: var(--brand);
    color: var(--blue-light);
}

.btn-watch.active {
    background: var(--brand-soft);
    border-color: var(--brand);
    color: var(--blue-light);
}

.btn-watch-card {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.btn-unwatch {
    margin-top: 10px;
    width: 100%;
}

.panel-count {
    margin-top: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

/* Auth */
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.nav-link:hover { color: var(--blue-light); }

.nav-user {
    font-size: 13px;
    color: var(--text-muted);
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-nav {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-login {
    background: transparent;
    color: var(--blue-light);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
}

.btn-register {
    background: var(--brand);
    color: #fff;
    border-radius: 20px;
}

.btn-logout {
    background: var(--brand-soft);
    color: var(--blue-light);
    border: 1px solid var(--brand);
    border-radius: 20px;
}

.auth-page {
    display: flex;
    justify-content: center;
    padding: 48px 20px;
    min-height: calc(100vh - 200px);
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-sub {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 14px;
}

.auth-form label {
    display: block;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.auth-form input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font: inherit;
    font-size: 15px;
    background: var(--surface-2);
    color: var(--text);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.btn-primary {
    width: 100%;
    padding: 13px;
    margin-top: 8px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover { background: var(--brand-hover); }

.auth-oauth-wrap {
    display: flex;
    justify-content: center;
    min-height: 44px;
    margin-bottom: 8px;
}

.auth-oauth-note {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted, #94a3b8);
    text-align: center;
}

.auth-oauth-note a {
    color: var(--text-muted, #94a3b8);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-oauth-note a:hover {
    color: var(--text, #e2e8f0);
}

.auth-oauth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: var(--text-muted, #94a3b8);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-oauth-divider::before,
.auth-oauth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border, #334155);
}

.auth-oauth-divider span {
    white-space: nowrap;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    background: var(--surface);
}

.form-error { color: var(--brand); font-size: 14px; margin: 8px 0; }

.form-success { color: #059669; font-size: 14px; margin: 8px 0; }

.auth-forgot {
    margin: -4px 0 8px;
    text-align: right;
    font-size: 13px;
}

.auth-forgot a { color: var(--brand); text-decoration: none; }
.auth-forgot a:hover { text-decoration: underline; }

.auth-switch {
    margin-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-switch a { color: var(--link); font-weight: 600; }

.auth-legal {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

.auth-legal a { color: var(--link); }

.panel-page { padding: 32px 20px 64px; }

.panel-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0 28px;
}

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

.panel-stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.panel-stat-wide { grid-column: span 2; }

@media (max-width: 768px) {
    .panel-stat-wide { grid-column: span 2; }
}

.panel-stat-val {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.panel-stat-val-sm {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.35;
}

.panel-stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.panel-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 860px) {
    .panel-layout { grid-template-columns: 1fr; }
}

.panel-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.panel-nav-btn {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.panel-nav-btn:hover { background: var(--surface); color: var(--text); }

.panel-nav-btn.active {
    background: var(--surface);
    border-color: var(--border);
    color: var(--brand);
    font-weight: 600;
}

.panel-aside-links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.panel-link-btn {
    display: block;
    text-align: center;
    text-decoration: none;
}

.panel-muted-link {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.panel-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-section-head h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.panel-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.panel-sort-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.panel-select {
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
}

.panel-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

.panel-account-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
}

.panel-account-card h3 {
    font-size: 16px;
    margin: 0 0 14px;
}

.panel-dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.panel-dl div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px;
    font-size: 14px;
}

.panel-dl dt {
    color: var(--text-muted);
    font-weight: 500;
}

.panel-dl dd { margin: 0; color: var(--text); }

.panel-password-form { max-width: 360px; }

.card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin: 6px 0 0;
}

.card-shop {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.panel-hero h1 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.panel-section { margin-top: 28px; }

.panel-empty { padding: 48px 20px; }

.panel-muted {
    color: var(--text-muted);
    font-size: 13px;
}

.panel-admin-status {
    display: grid;
    gap: 10px;
}

.panel-admin-worker,
.panel-scan-row {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(130px, auto) auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
}

.panel-admin-worker {
    grid-template-columns: minmax(120px, 0.6fr) minmax(180px, 1fr) minmax(160px, 1fr);
}

.panel-admin-worker strong,
.panel-scan-row strong {
    color: var(--text);
}

.panel-admin-worker span,
.panel-scan-row span,
.panel-scan-row div span {
    color: var(--text-muted);
    font-size: 12px;
}

.panel-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.panel-scan-controls {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.panel-scan-row.is-disabled {
    opacity: 0.72;
}

.panel-danger-btn {
    border-color: rgba(239, 68, 68, 0.6);
    color: #fecaca;
    background: rgba(239, 68, 68, 0.14);
}

.panel-enable-btn {
    border-color: rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.14);
}

.btn-remove-fav {
    margin-top: 8px;
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}

.btn-remove-fav:hover {
    border-color: var(--brand);
    color: var(--blue-light);
}

.footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-inner p {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.footer-btn:hover {
    border-color: var(--brand);
    color: var(--blue-light);
    background: var(--brand-soft);
}

.footer-btn--donate {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}

.footer-btn--donate:hover {
    background: var(--brand-hover);
    color: #fff;
    border-color: var(--brand-hover);
}

.footer-nav a[aria-current="page"] {
    border-color: var(--brand);
    color: var(--blue-light);
}

.layout-split .footer {
    flex-shrink: 0;
    margin-top: 0;
}

.legal-page {
    padding: 40px 20px 56px;
    max-width: 820px;
}

.legal-doc {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    color: #050505;
    padding: clamp(22px, 4vw, 38px);
}

.legal-doc h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #000;
}

.legal-meta,
.legal-lead {
    color: #334155;
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.legal-doc h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 28px 0 10px;
    color: #020617;
}

.legal-doc p,
.legal-doc li {
    font-size: 14px;
    line-height: 1.75;
    color: #111827;
    margin-bottom: 10px;
}

.legal-doc ol,
.legal-doc ul {
    padding-left: 1.35rem;
    margin-bottom: 12px;
}

.legal-doc a {
    color: #0059c9;
    font-weight: 700;
}

.legal-muted {
    font-size: 13px;
    color: #475569;
}

.contact-cards {
    display: grid;
    gap: 16px;
    margin: 24px 0 32px;
}

@media (min-width: 640px) {
    .contact-cards {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--cp-white);
    padding: 20px;
}

.contact-card h2 {
    font-size: 15px;
    margin: 0 0 8px;
    color: var(--cp-white);
}

.contact-card p {
    color: var(--cp-white);
}

.contact-highlight {
    font-size: 15px;
    font-weight: 600;
}

.contact-highlight a {
    color: var(--blue-light);
}

.contact-qr {
    margin: 14px 0 0;
}

.contact-qr a {
    display: inline-block;
}

.contact-qr img {
    display: block;
    width: 168px;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.contact-qr-caption {
    max-width: 168px;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--cp-white);
    text-transform: none;
}

.donate-hero {
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 24px;
    margin: 24px 0 32px;
}

.donate-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.btn-donate {
    display: inline-block;
    padding: 14px 28px;
    background: var(--brand);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 16px;
}

.btn-donate:hover {
    background: var(--brand-hover);
}

.donate-contact {
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

.donate-contact a {
    color: var(--link);
}

/* Legacy class aliases for JS */
.logo-link { text-decoration: none; color: inherit; }
.cat-chip { /* mapped to .cat in HTML */ }

/* === Cyberpunk 2077 inspired redesign layer === */
:root {
    --bg: #fcee09;
    --surface: #0a0a0a;
    --surface-2: #151515;
    --border: rgba(8, 8, 8, 0.92);
    --border-strong: #080808;
    --text: #f8f6dc;
    --text-secondary: #fcee09;
    --text-muted: #a59f63;
    --brand: #ff003c;
    --brand-hover: #d60032;
    --brand-soft: rgba(255, 0, 60, 0.16);
    --blue-light: #00f0ff;
    --price: #00f0ff;
    --price-bg: rgba(0, 240, 255, 0.14);
    --link: #00f0ff;
    --radius: 0;
    --radius-sm: 0;
    --shadow: none;
    --shadow-hover: none;
    --font: "Arial Narrow", "Roboto Condensed", "Segoe UI Condensed", Impact, system-ui, sans-serif;
    --cp-yellow: #fcee09;
    --cp-black: #080808;
    --cp-red: #ff003c;
    --cp-cyan: #00f0ff;
    --cp-white: #f8f6dc;
    --cp-sweep-hot: 255, 0, 60;
    --cp-sweep-cool: 0, 240, 255;
    --cp-cut: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    --cp-cut-sm: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
}

html[data-theme="ice"] {
    --bg: #dbeafe;
    --cp-yellow: #dbeafe;
    --cp-black: #001428;
    --cp-red: #0077ff;
    --cp-cyan: #00e5ff;
    --cp-white: #f0f9ff;
    --cp-sweep-hot: 0, 119, 255;
    --cp-sweep-cool: 0, 229, 255;
    --text-secondary: #dbeafe;
    --text-muted: #5b8cb8;
    --brand: #0077ff;
    --brand-hover: #005fcc;
    --brand-soft: rgba(0, 119, 255, 0.16);
    --blue-light: #00e5ff;
    --price: #00e5ff;
    --price-bg: rgba(0, 229, 255, 0.14);
    --link: #00e5ff;
}

html[data-theme="void"] {
    --bg: #7c3aed;
    --cp-yellow: #7c3aed;
    --cp-black: #050008;
    --cp-red: #ff2d95;
    --cp-cyan: #b967ff;
    --cp-white: #f5e8ff;
    --cp-sweep-hot: 255, 45, 149;
    --cp-sweep-cool: 185, 103, 255;
    --text-secondary: #c4b5fd;
    --text-muted: #9a7cc4;
    --brand: #ff2d95;
    --brand-hover: #e02580;
    --brand-soft: rgba(255, 45, 149, 0.16);
    --blue-light: #b967ff;
    --price: #b967ff;
    --price-bg: rgba(185, 103, 255, 0.14);
    --link: #b967ff;
}

html[data-theme="matrix"] {
    --cp-sweep-hot: 0, 255, 65;
    --cp-sweep-cool: 0, 255, 65;
}

html[data-theme="matrix"] body {
    background: #020804;
    background-image: none;
}

html[data-theme="matrix"] body::before {
    display: none;
}

html[data-theme="matrix"] .layout-split .split-right {
    background: rgba(0, 10, 4, 0.58);
}

html[data-theme="matrix"] .modal-overlay {
    background: rgba(0, 0, 0, 0.88);
}

#matrix-rain-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: none;
}

.matrix-vignette {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    display: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% 45%, transparent 0%, rgba(0, 0, 0, 0.5) 100%),
        repeating-linear-gradient(0deg, transparent 0 2px, rgba(0, 0, 0, 0.12) 2px 3px);
}

html.theme-matrix-active #matrix-rain-canvas,
html.theme-matrix-active .matrix-vignette {
    display: block;
}

html.theme-matrix-active body > *:not(#matrix-rain-canvas):not(#matrix-vignette):not(.matrix-vignette) {
    position: relative;
    z-index: 2;
}

.theme-switch-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.theme-switch-label {
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cp-black);
    background: var(--cp-yellow);
    padding: 5px 7px;
    clip-path: var(--cp-cut-sm);
    line-height: 1;
    white-space: nowrap;
}

@keyframes cpSweep {
    from { transform: translateX(-120%) skewX(-18deg); }
    to { transform: translateX(220%) skewX(-18deg); }
}

@keyframes cpGlitch {
    0%, 100% { transform: translate(0); text-shadow: 2px 0 var(--cp-cyan), -2px 0 var(--cp-red); }
    25% { transform: translate(-1px, 1px); text-shadow: -3px 0 var(--cp-cyan), 3px 0 var(--cp-red); }
    50% { transform: translate(1px, -1px); text-shadow: 3px 0 var(--cp-red), -3px 0 var(--cp-cyan); }
    75% { transform: translate(-1px, 0); }
}

@keyframes cpPulse {
    0%, 100% { opacity: 0.45; transform: scale(0.92); }
    50% { opacity: 1; transform: scale(1.08); }
}

body {
    color: var(--cp-black);
    background:
        linear-gradient(115deg, rgba(var(--cp-sweep-hot), 0.14) 0 16%, transparent 16% 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px),
        var(--cp-yellow);
    background-size: auto, 36px 36px, 36px 36px, auto;
    text-transform: uppercase;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background:
        repeating-linear-gradient(0deg, transparent 0 8px, rgba(0, 0, 0, 0.055) 8px 9px),
        linear-gradient(110deg, transparent 0 48%, rgba(var(--cp-sweep-cool), 0.2) 50%, transparent 53% 100%);
    mix-blend-mode: multiply;
    opacity: 0.5;
    animation: cpScreenSweep 8s infinite linear;
}

@keyframes cpScreenSweep {
    from { transform: translateX(-70%); }
    to { transform: translateX(70%); }
}

.header {
    background: transparent;
    border-bottom: 0;
    padding: 12px 16px 0;
}

.layout-split .wrap {
    padding: 0;
}

.header-inner {
    height: auto;
    max-width: none;
    padding: 0;
    display: grid;
    grid-template-columns: 204px minmax(220px, 1fr) auto;
    gap: 12px;
}

.brand {
    align-items: center;
    gap: 0;
    min-height: 58px;
    padding: 11px 16px;
    background: var(--cp-black);
    color: var(--cp-yellow);
    clip-path: var(--cp-cut);
    overflow: hidden;
    position: relative;
}

.brand::after,
#search-input::after,
.game-card::after,
.modal-panel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 74px;
    background: rgba(0, 240, 255, 0.22);
    animation: cpSweep 4.2s infinite linear;
    pointer-events: none;
}

.brand-name {
    font-size: 24px;
    font-weight: 1000;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

.brand-accent {
    color: var(--cp-cyan);
    font-weight: 1000;
}

.brand-sub {
    margin-left: 8px;
    padding: 4px 7px;
    color: var(--cp-black);
    background: var(--cp-yellow);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.08em;
    clip-path: var(--cp-cut-sm);
}

.search-wrap {
    max-width: none;
}

#search-input {
    height: 58px;
    border: 3px solid var(--cp-black);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
    background: rgba(8, 8, 8, 0.93);
    color: var(--cp-yellow);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.02em;
    padding: 0 18px;
}

#search-input::placeholder {
    color: rgba(252, 238, 9, 0.72);
}

#search-input:focus {
    border-color: var(--cp-cyan);
    background: var(--cp-black);
}

.header-info,
.auth-nav,
.lang-switch,
.theme-switch {
    gap: 8px;
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.auth-nav {
    grid-column: auto;
    justify-content: flex-end;
    margin-top: 0;
    margin-left: 0;
}

.header-info-btn,
.auth-link,
.auth-btn,
.auth-nav .btn-nav,
.auth-nav .nav-link,
.btn-see-more,
.btn.btn-outline,
.btn-outline,
.btn-buy,
.btn-watch,
.modal-close {
    border: 2px solid var(--cp-black);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
    background: var(--cp-black);
    color: var(--cp-yellow);
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: none;
    text-decoration: none;
}

.header-info-btn:hover,
.auth-link:hover,
.auth-btn:hover,
.auth-nav .btn-nav:hover,
.auth-nav .nav-link:hover,
.btn-see-more:hover,
.btn.btn-outline:hover,
.btn-outline:hover,
.btn-buy:hover,
.btn-watch:hover,
.modal-close:hover {
    background: var(--cp-red);
    border-color: var(--cp-red);
    color: var(--cp-white);
}

.auth-nav .btn-register {
    background: var(--cp-red);
    border-color: var(--cp-red);
    color: var(--cp-white);
}

.auth-nav .btn-register:hover {
    background: var(--cp-black);
    border-color: var(--cp-black);
    color: var(--cp-yellow);
}

.auth-nav .nav-user {
    color: var(--cp-black);
    font-weight: 900;
    max-width: 180px;
}

.header-info-btn--donate {
    background: var(--cp-red);
    border-color: var(--cp-red);
    color: var(--cp-white);
}

.header-dev-banner {
    margin-top: 10px;
    padding: 8px 16px;
    background: var(--cp-red);
    border: 3px solid var(--cp-black);
    clip-path: var(--cp-cut-sm);
}

.header-dev-banner p,
.header-dev-banner a {
    color: var(--cp-white);
    font-weight: 900;
}

.layout-split .split-shell {
    grid-template-columns: minmax(210px, 250px) 1fr;
    gap: 16px;
    padding: 16px;
}

.layout-split .split-left {
    padding: 16px;
    background: rgba(8, 8, 8, 0.94);
    border: 3px solid var(--cp-black);
    clip-path: var(--cp-cut);
    color: var(--cp-yellow);
}

.layout-split .split-left-title,
.split-info-title {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 8px;
    background: var(--cp-yellow);
    color: var(--cp-red);
    font-weight: 1000;
    letter-spacing: 0.12em;
}

.layout-split .split-stats,
.cats-meta {
    color: var(--cp-yellow);
    font-weight: 800;
}

.layout-split .split-cats {
    gap: 0;
}

.cat,
.layout-split .split-cats .cat {
    border: 0;
    border-bottom: 1px solid rgba(252, 238, 9, 0.27);
    border-radius: 0;
    background: transparent;
    color: var(--cp-white);
    padding: 13px 0;
    font-size: 15px;
    font-weight: 1000;
    letter-spacing: 0.02em;
}

.cat::before,
.layout-split .split-cats .cat::before {
    content: ">";
    margin-right: 8px;
    color: var(--cp-red);
}

.cat:hover,
.cat.active,
.layout-split .split-cats .cat:hover,
.layout-split .split-cats .cat.active {
    background: transparent;
    color: var(--cp-cyan);
    border-color: rgba(0, 240, 255, 0.58);
}

a.cat {
    text-decoration: none;
    cursor: pointer;
}

.cat-seo {
    color: var(--cp-yellow);
}

.split-info {
    border-top-color: rgba(252, 238, 9, 0.35);
}

.info-btn,
.footer-btn {
    border: 2px solid var(--cp-yellow);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
    background: transparent;
    color: var(--cp-yellow);
    font-weight: 900;
}

.layout-split .split-right {
    padding: 0;
}

.sections,
.catalog {
    color: var(--cp-black);
}

.home-section-head,
.catalog-head {
    padding: 0 4px;
}

.cp-home-hero {
    min-height: 430px;
    margin-bottom: 28px;
    padding: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 24px;
    align-items: stretch;
    color: var(--cp-yellow);
    background:
        linear-gradient(125deg, rgba(8, 8, 8, 0.96) 0 48%, rgba(255, 0, 60, 0.92) 48% 55%, rgba(8, 8, 8, 0.94) 55% 100%),
        var(--cp-black);
    border: 4px solid var(--cp-black);
    clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
    position: relative;
    overflow: hidden;
}

.cp-home-hero::before {
    content: "NO FUTURE // BEST PRICE // NO FUTURE // BEST PRICE";
    position: absolute;
    top: 28px;
    left: -20px;
    right: -20px;
    color: rgba(252, 238, 9, 0.11);
    font-size: 42px;
    font-weight: 1000;
    white-space: nowrap;
    transform: rotate(-7deg);
    pointer-events: none;
}

.cp-home-hero-main,
.cp-feature-card {
    position: relative;
    z-index: 1;
}

.cp-hero-positioning {
    margin: 0 0 18px;
    padding: 14px 16px 16px;
    border: 3px solid var(--cp-yellow);
    background: rgba(0, 0, 0, 0.72);
    box-shadow: 6px 6px 0 var(--cp-red);
}

.cp-hero-positioning-not,
.cp-hero-positioning-yes {
    margin: 0;
    font-weight: 1000;
    line-height: 0.92;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.cp-hero-positioning-not {
    color: var(--cp-white);
    font-size: clamp(22px, 3.2vw, 38px);
    opacity: 0.92;
}

.cp-hero-positioning-yes {
    margin-top: 6px;
    color: var(--cp-yellow);
    font-size: clamp(34px, 5.5vw, 72px);
    text-shadow: 0 0 24px rgba(252, 238, 9, 0.35);
}

.cp-kicker {
    display: inline-block;
    margin: 0 0 14px;
    padding: 5px 8px;
    background: var(--cp-yellow);
    color: var(--cp-red);
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 0.1em;
}

.cp-home-hero h1 {
    margin: 0;
    color: var(--cp-yellow);
    font-size: clamp(58px, 7vw, 116px);
    line-height: 0.78;
    letter-spacing: -0.08em;
    font-weight: 1000;
    animation: cpGlitch 3.2s infinite steps(1);
}

.cp-home-hero h1 span {
    color: var(--cp-white);
}

.cp-home-hero-main > p:not(.cp-kicker) {
    max-width: 700px;
    margin-top: 20px;
    color: #fff8ad;
    font-family: "Segoe UI", system-ui, sans-serif;
    text-transform: none;
    font-size: 17px;
    line-height: 1.5;
}

.cp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.cp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    background: var(--cp-yellow);
    color: var(--cp-black);
    text-decoration: none;
    font-weight: 1000;
    letter-spacing: 0.06em;
    clip-path: var(--cp-cut-sm);
}

.cp-btn-red {
    background: var(--cp-red);
    color: var(--cp-white);
}

.cp-feature-card {
    min-height: 260px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--cp-yellow);
    color: var(--cp-black);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
    overflow: hidden;
}

.cp-feature-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 4px solid var(--cp-black);
    opacity: 0.16;
}

.cp-feature-card h2 {
    font-size: 54px;
    line-height: 0.86;
    letter-spacing: -0.06em;
    color: var(--cp-black);
}

.cp-feature-price {
    color: var(--cp-red);
    font-size: 46px;
    font-weight: 1000;
    line-height: 1;
}

.cp-feature-card span {
    color: var(--cp-black);
    font-weight: 1000;
}

.home-section-title,
.catalog-head h1,
.page-heading {
    color: var(--cp-black);
    font-size: 30px;
    font-weight: 1000;
    letter-spacing: -0.06em;
    animation: cpGlitch 4.5s infinite steps(1);
}

.home-section-sub,
.catalog-head p,
.page-sub,
.meta {
    color: rgba(8, 8, 8, 0.74);
    font-weight: 800;
}

.home-section-row::-webkit-scrollbar-thumb {
    background: var(--cp-black);
}

.grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.game-card {
    border: 3px solid var(--cp-black);
    border-radius: 0;
    clip-path: var(--cp-cut);
    background: var(--cp-black);
    color: var(--cp-yellow);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-5px) skewX(-1deg);
    border-color: var(--cp-red);
    box-shadow: none;
}

.game-card-row {
    flex-basis: 210px;
    min-width: 210px;
}

.card-cover {
    margin: 10px 10px 0;
    border: 2px solid var(--cp-yellow);
    clip-path: var(--cp-cut-sm);
    background:
        linear-gradient(135deg, rgba(252, 238, 9, 0.95), rgba(252, 238, 9, 0.18) 42%, transparent 42%),
        linear-gradient(315deg, rgba(255, 0, 60, 0.72), transparent 45%),
        #151515;
}

.card-cover img {
    filter: saturate(1.25) contrast(1.05);
    mix-blend-mode: screen;
}

.card-rank {
    background: var(--cp-red);
    color: var(--cp-white);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
}

.card-body {
    padding: 13px 14px 15px;
}

.card-title {
    color: var(--cp-yellow);
    font-size: 16px;
    font-weight: 1000;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.card-title-link {
    color: inherit;
    text-decoration: none;
}

.card-title-link:hover {
    color: var(--cp-cyan, #00f0ff);
}

.card-cover-link {
    display: block;
    line-height: 0;
}

.card-foot {
    border-top: 1px solid rgba(252, 238, 9, 0.32);
}

.card-from,
.card-shop,
.card-meta {
    color: rgba(252, 238, 9, 0.7);
    font-weight: 900;
}

.card-price,
.offer-price {
    color: var(--cp-cyan);
    font-size: 20px;
    font-weight: 1000;
    text-shadow: 2px 0 var(--cp-red);
}

.card-tag,
.card-savings,
.blik-badge,
.offer-warn-badge {
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
    background: var(--cp-yellow);
    color: var(--cp-black);
    font-weight: 1000;
}

.card-savings {
    background: rgba(0, 240, 255, 0.18);
    color: var(--cp-cyan);
    border: 1px solid var(--cp-cyan);
}

.catalog-foot .btn,
#load-more {
    background: var(--cp-black);
    color: var(--cp-yellow);
}

.footer {
    background: var(--cp-black);
    color: var(--cp-yellow);
    border-top: 3px solid var(--cp-black);
}

.footer-inner p {
    color: var(--cp-yellow);
    font-weight: 800;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.86);
}

.modal-panel {
    max-width: 940px;
    background: var(--cp-black);
    color: var(--cp-yellow);
    border: 4px solid var(--cp-black);
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
    box-shadow: none;
    overflow: hidden;
}

.modal-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0 54%, rgba(255, 0, 60, 0.18) 54% 63%, transparent 63%);
    pointer-events: none;
}

.modal-close {
    color: var(--cp-black);
    background: var(--cp-yellow);
    border-color: var(--cp-yellow);
    z-index: 3;
}

.modal-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: 300px 1fr;
}

.modal-cover {
    border: 3px solid var(--cp-yellow);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
}

.modal-head h2 {
    color: var(--cp-yellow);
    font-size: 30px;
    font-weight: 1000;
    letter-spacing: -0.05em;
}

.modal-desc {
    color: rgba(252, 238, 9, 0.78);
    font-family: "Segoe UI", system-ui, sans-serif;
    text-transform: none;
}

.offers-title,
.offers-head .offers-title {
    display: inline-block;
    padding: 5px 8px;
    background: var(--cp-yellow);
    color: var(--cp-red);
    font-weight: 1000;
}

.offers-scan {
    border: 3px solid var(--cp-yellow);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
    background: var(--cp-yellow);
    color: var(--cp-black);
}

.offers-scan-orbit {
    border-color: var(--cp-black);
    border-style: solid;
}

.offers-scan-orbit::before,
.offers-scan-pulse {
    background: var(--cp-red);
    box-shadow: 0 0 18px var(--cp-red);
}

.offers-scan-label,
.offers-scan-countdown {
    color: var(--cp-black);
    font-weight: 1000;
}

.offers-scan-info,
.offers-scan-sub,
.offers-updated-at {
    color: rgba(8, 8, 8, 0.76);
    font-weight: 800;
}

.offers-scan-shop {
    border: 2px solid var(--cp-black);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
    background: var(--cp-black);
    color: var(--cp-yellow);
}

.offers-scan-shop.is-scanning,
.offers-scan-shop.is-found {
    border-color: var(--cp-red);
    background: var(--cp-red);
    color: var(--cp-white);
}

.offer-row {
    background: rgba(8, 8, 8, 0.9);
    border: 2px solid rgba(252, 238, 9, 0.32);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
}

.offer-row.cheapest {
    border-color: var(--cp-cyan);
    background: rgba(0, 240, 255, 0.12);
}

.offer-shop {
    color: var(--cp-yellow);
    font-weight: 1000;
}

.offer-type,
.offer-unavailable,
.btn-buy-disabled,
.offers-empty {
    color: rgba(252, 238, 9, 0.72);
}

.btn-buy {
    background: var(--cp-yellow);
    color: var(--cp-black);
}

.offer-row.cheapest .btn-buy {
    background: var(--cp-cyan);
    color: var(--cp-black);
}

.modal-savings {
    background: rgba(0, 240, 255, 0.1);
    border: 2px solid var(--cp-cyan);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
}

.modal-savings-kicker {
    color: rgba(252, 238, 9, 0.72);
}

.modal-savings-amount {
    color: var(--cp-white);
}

.modal-savings-amount strong,
.modal-savings-pct {
    color: var(--cp-cyan);
}

.modal-savings-detail {
    color: rgba(252, 238, 9, 0.72);
}

.modal-savings-cta {
    background: var(--cp-cyan);
    color: var(--cp-black);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
}

.modal-savings-cta:hover {
    background: var(--cp-yellow);
}

.offers-empty {
    background: rgba(8, 8, 8, 0.82);
    border-color: rgba(252, 238, 9, 0.35);
    border-radius: 0;
}

@media (max-width: 1100px) {
    .header-inner {
        grid-template-columns: 190px minmax(180px, 1fr);
        height: auto;
    }

    .header-info,
    .header-actions {
        grid-column: 1 / -1;
    }

    .header-actions {
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .layout-split .split-shell {
        grid-template-columns: 210px 1fr;
    }

    .cp-home-hero {
        grid-template-columns: 1fr;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-aside {
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 760px) {
    body.layout-split {
        height: auto;
        overflow: auto;
    }

    .header {
        position: sticky;
        top: 0;
    }

    .header-inner,
    .layout-split .split-shell {
        display: flex;
        flex-direction: column;
    }

    .layout-split .split-left,
    .layout-split .split-right {
        width: 100%;
    }

    .layout-split .split-left {
        max-height: 320px;
    }

    .home-section-row {
        gap: 10px;
    }

    .cp-home-hero {
        padding: 18px;
        min-height: 0;
    }

    .cp-hero-positioning {
        padding: 10px 12px 12px;
        box-shadow: 4px 4px 0 var(--cp-red);
    }

    .cp-hero-positioning-not {
        font-size: clamp(18px, 4.5vw, 28px);
    }

    .cp-hero-positioning-yes {
        font-size: 18px;
    }

    .cp-home-hero h1 {
        font-size: 22px;
    }

    .game-card-row {
        min-width: 150px;
        flex-basis: 150px;
    }
}

@media (max-width: 768px) {
    body.layout-split {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }
    .layout-split .split-shell {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    .layout-split .split-left {
        max-height: 132px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 12px 16px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .layout-split .split-cats {
        flex-direction: row;
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
    }
    .layout-split .split-cats .cat {
        width: auto;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .split-info {
        display: none;
    }
    .layout-split .footer {
        display: block;
    }
    .layout-split .split-stats {
        margin-bottom: 8px;
    }
    .layout-split .split-right {
        padding: 16px;
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
    }
    .search-wrap { order: 3; flex: 1 1 100%; max-width: none; }
    .header-info {
        order: 4;
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding-top: 4px;
    }
    .header-info-btn {
        font-size: 11px;
        padding: 8px 10px;
    }
    .auth-nav {
        order: 5;
        flex: 1 1 100%;
        justify-content: center;
        padding-top: 8px;
    }
    .lang-switch {
        order: 4;
    }
    .header-actions {
        order: 5;
        width: 100%;
        justify-content: center;
        padding-top: 6px;
    }
}

@media (max-width: 768px) {
    .modal-grid { grid-template-columns: 1fr; }
    .offer-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .btn-buy--best,
    .modal-savings-cta {
        width: 100%;
        max-width: none;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

/* === User panel (Mój panel) — cyberpunk dashboard === */
.panel-page-cp {
    text-transform: none;
}

.panel-cp-main {
    padding: 24px 20px 56px;
    max-width: var(--wrap);
    margin: 0 auto;
}

.panel-cp-hero {
    position: relative;
    margin-bottom: 24px;
    padding: 24px 26px;
    color: var(--cp-yellow);
    background:
        linear-gradient(125deg, rgba(8, 8, 8, 0.97) 0 52%, rgba(255, 0, 60, 0.88) 52% 58%, rgba(8, 8, 8, 0.95) 58% 100%),
        var(--cp-black);
    border: 4px solid var(--cp-black);
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    overflow: hidden;
}

.panel-cp-hero-bg {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -12deg,
        transparent 0 18px,
        rgba(252, 238, 9, 0.04) 18px 19px
    );
    pointer-events: none;
}

.panel-cp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 22px;
    align-items: end;
}

.panel-cp-identity {
    display: flex;
    gap: 18px;
    align-items: center;
}

.panel-cp-avatar {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    font-size: 28px;
    font-weight: 1000;
    color: var(--cp-black);
    background: var(--cp-yellow);
    border: 3px solid var(--cp-black);
    clip-path: var(--cp-cut-sm);
    box-shadow: 4px 4px 0 var(--cp-red);
}

.panel-cp-kicker {
    display: inline-block;
    margin: 0 0 10px;
    padding: 4px 8px;
    background: var(--cp-yellow);
    color: var(--cp-red);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.panel-cp-identity h1 {
    margin: 0;
    color: var(--cp-yellow);
    font-size: clamp(36px, 5vw, 56px);
    line-height: 0.88;
    font-weight: 1000;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.panel-cp-identity h1 span {
    color: var(--cp-white);
}

.panel-cp-email {
    margin: 10px 0 0;
    color: rgba(248, 246, 220, 0.85);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.panel-cp-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.panel-cp-stat {
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.72);
    border: 2px solid rgba(252, 238, 9, 0.45);
    clip-path: var(--cp-cut-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 72px;
    justify-content: center;
}

.panel-cp-stat--wide {
    grid-column: 1 / -1;
}

.panel-cp-stat-val {
    font-size: 22px;
    font-weight: 1000;
    color: var(--cp-cyan);
    text-shadow: 1px 0 var(--cp-red);
    line-height: 1;
}

.panel-cp-stat-deal {
    font-size: 14px;
    font-weight: 800;
    color: var(--cp-yellow);
    line-height: 1.25;
    text-transform: none;
}

.panel-cp-stat-lbl {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(252, 238, 9, 0.65);
}

.panel-cp-layout {
    display: grid;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.panel-cp-aside {
    position: sticky;
    top: 16px;
    padding: 14px;
    background: var(--cp-black);
    border: 3px solid var(--cp-black);
    clip-path: var(--cp-cut);
    box-shadow: inset 0 0 0 2px rgba(252, 238, 9, 0.35);
}

.panel-cp-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.panel-cp-nav-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border: 2px solid transparent;
    background: transparent;
    color: rgba(252, 238, 9, 0.75);
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    clip-path: var(--cp-cut-sm);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.panel-cp-nav-btn:hover {
    background: rgba(252, 238, 9, 0.08);
    color: var(--cp-yellow);
    transform: translateX(3px);
}

.panel-cp-nav-btn.active {
    background: var(--cp-yellow);
    color: var(--cp-black);
    border-color: var(--cp-black);
    box-shadow: 3px 3px 0 var(--cp-red);
}

.panel-cp-nav-icon {
    font-size: 16px;
    opacity: 0.9;
}

.panel-cp-aside-foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(252, 238, 9, 0.25);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel-cp-back {
    width: 100%;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    padding: 10px 14px;
}

.panel-cp-muted-link {
    font-size: 12px;
    color: rgba(252, 238, 9, 0.55);
    text-align: center;
    text-decoration: none;
    text-transform: none;
}

.panel-cp-muted-link:hover {
    color: var(--cp-cyan);
}

.panel-cp-content {
    min-width: 0;
}

.panel-cp-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(8, 8, 8, 0.35);
}

.panel-cp-section-head--solo {
    align-items: flex-start;
}

.panel-cp-section-head h2 {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 1000;
    color: var(--cp-black);
    letter-spacing: -0.04em;
    text-transform: uppercase;
    line-height: 0.95;
}

.panel-cp-section-sub {
    margin: 6px 0 0;
    font-size: 14px;
    color: rgba(8, 8, 8, 0.72);
    text-transform: none;
    font-weight: 600;
}

.panel-cp-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
}

.panel-cp-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(8, 8, 8, 0.65);
}

.panel-cp-select {
    min-width: 148px;
    padding: 9px 12px;
    border: 2px solid var(--cp-black);
    background: var(--cp-black);
    color: var(--cp-yellow);
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    clip-path: var(--cp-cut-sm);
    cursor: pointer;
}

.panel-cp-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cp-black);
    cursor: pointer;
    text-transform: none;
}

.panel-cp-check--block {
    display: flex;
    margin-bottom: 12px;
}

.panel-cp-check input {
    accent-color: var(--cp-red);
    width: 16px;
    height: 16px;
}

.panel-cp-refresh {
    font-size: 12px;
    padding: 10px 16px;
}

.panel-cp-flash {
    margin: 0 0 14px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    clip-path: var(--cp-cut-sm);
    text-transform: none;
}

.panel-cp-flash--ok {
    background: rgba(0, 240, 255, 0.12);
    border: 2px solid rgba(0, 240, 255, 0.45);
    color: var(--cp-black);
}

.panel-cp-flash--err {
    background: rgba(255, 0, 60, 0.12);
    border: 2px solid rgba(255, 0, 60, 0.45);
    color: var(--cp-black);
}

.panel-cp-grid {
    margin-top: 4px;
}

.panel-cp-empty {
    grid-column: 1 / -1;
    padding: 48px 28px;
    text-align: center;
    background: var(--cp-black);
    color: var(--cp-yellow);
    border: 3px solid var(--cp-black);
    clip-path: var(--cp-cut);
    box-shadow: inset 0 0 0 2px rgba(252, 238, 9, 0.35);
}

.panel-cp-empty-kicker {
    display: inline-block;
    margin: 0 0 12px;
    padding: 4px 8px;
    background: var(--cp-red);
    color: var(--cp-white);
    font-size: 11px;
    font-weight: 1000;
    letter-spacing: 0.1em;
}

.panel-cp-empty h3 {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 1000;
    text-transform: uppercase;
}

.panel-cp-empty p {
    margin: 0 0 20px;
    color: rgba(252, 238, 9, 0.75);
    font-size: 15px;
    max-width: 36ch;
    margin-inline: auto;
    text-transform: none;
}

.panel-cp-fav-card .btn-unwatch,
.panel-cp-unwatch {
    margin-top: 10px;
    width: 100%;
    padding: 9px 12px;
    border: 2px solid rgba(255, 0, 60, 0.55);
    background: rgba(255, 0, 60, 0.12);
    color: var(--cp-white);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    clip-path: var(--cp-cut-sm);
    font-family: inherit;
}

.panel-cp-fav-card .btn-unwatch:hover {
    background: rgba(255, 0, 60, 0.28);
}

.panel-cp-cards {
    display: grid;
    gap: 16px;
}

.panel-cp-card {
    padding: 20px 22px;
    background: var(--cp-black);
    color: var(--cp-yellow);
    border: 3px solid var(--cp-black);
    clip-path: var(--cp-cut);
    box-shadow: inset 0 0 0 2px rgba(252, 238, 9, 0.28);
}

.panel-cp-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(252, 238, 9, 0.22);
}

.panel-cp-card-icon {
    font-size: 18px;
    color: var(--cp-cyan);
}

.panel-cp-card-head h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.panel-cp-dl {
    margin: 0;
    display: grid;
    gap: 12px;
}

.panel-cp-dl div {
    display: grid;
    grid-template-columns: minmax(120px, 160px) 1fr;
    gap: 10px;
    font-size: 14px;
    align-items: baseline;
}

.panel-cp-dl dt {
    margin: 0;
    color: rgba(252, 238, 9, 0.55);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.06em;
}

.panel-cp-dl dd {
    margin: 0;
    color: var(--cp-white);
    font-weight: 600;
    word-break: break-word;
}

.panel-cp-muted {
    color: rgba(252, 238, 9, 0.65);
    font-size: 13px;
    line-height: 1.5;
    text-transform: none;
    margin: 0 0 10px;
}

.panel-cp-telegram {
    margin-top: 14px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px dashed rgba(0, 240, 255, 0.35);
    clip-path: var(--cp-cut-sm);
}

.panel-cp-code {
    margin: 10px 0;
    padding: 10px 12px;
    font-family: ui-monospace, monospace;
    font-size: 12px;
    color: var(--cp-cyan);
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 240, 255, 0.25);
    word-break: break-all;
    text-transform: none;
}

.panel-cp-tg-link {
    display: inline-flex;
    text-decoration: none;
    font-size: 12px;
    margin-top: 4px;
}

.panel-cp-push {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px dashed rgba(0, 0, 0, 0.15);
}

.panel-cp-push-status {
    margin: 8px 0 12px;
    font-weight: 700;
}

.panel-cp-push-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.panel-cp-push-help {
    margin-top: 12px;
}

.cp-panel-promo {
    margin: 20px 0 28px;
    padding: 0 24px;
    color: var(--cp-yellow);
}

.cp-panel-promo-inner {
    display: grid;
    grid-template-columns: 1fr minmax(200px, 280px);
    gap: 20px;
    padding: 28px;
    color: var(--cp-yellow);
    background:
        linear-gradient(125deg, rgba(8, 8, 8, 0.97) 0 52%, rgba(255, 0, 60, 0.88) 52% 58%, rgba(8, 8, 8, 0.95) 58% 100%),
        var(--cp-black);
    clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
    border: 4px solid var(--cp-black);
    box-shadow: 10px 10px 0 var(--cp-red);
    position: relative;
    overflow: hidden;
}

.cp-panel-promo-inner::before {
    content: "STASH // PANEL // STASH // PANEL";
    position: absolute;
    top: 38%;
    left: -8%;
    right: -8%;
    color: rgba(252, 238, 9, 0.07);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 1000;
    white-space: nowrap;
    transform: rotate(-6deg);
    pointer-events: none;
    z-index: 0;
}

.cp-panel-promo-copy,
.cp-panel-promo-card {
    position: relative;
    z-index: 1;
}

.cp-panel-promo-copy h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 1000;
    letter-spacing: -0.04em;
    margin: 8px 0 12px;
    text-transform: uppercase;
}

.cp-panel-promo-lead {
    color: rgba(252, 238, 9, 0.88);
    max-width: 52rem;
    line-height: 1.55;
    margin-bottom: 16px;
}

.cp-panel-promo-list {
    margin: 0 0 20px;
    padding-left: 1.2rem;
    display: grid;
    gap: 10px;
    color: var(--cp-white);
    font-size: 14px;
}

.cp-panel-promo-list strong {
    color: var(--cp-cyan);
}

.cp-panel-promo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cp-btn-ghost {
    background: transparent;
    color: var(--cp-yellow);
    border: 2px solid var(--cp-yellow);
}

.cp-btn-ghost:hover {
    background: var(--cp-yellow);
    color: var(--cp-black);
}

.cp-panel-promo-card {
    padding: 18px;
    background:
        linear-gradient(160deg, rgba(0, 240, 255, 0.14) 0%, rgba(8, 8, 8, 0.55) 100%),
        rgba(0, 0, 0, 0.45);
    border: 3px solid var(--cp-cyan);
    clip-path: var(--cp-cut-sm);
    box-shadow: 4px 4px 0 rgba(0, 240, 255, 0.35);
}

.cp-panel-promo-card h3 {
    font-size: 22px;
    font-weight: 1000;
    margin: 6px 0 14px;
    text-transform: uppercase;
}

.cp-panel-promo-mini {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--cp-white);
}

@media (max-width: 900px) {
    .cp-panel-promo {
        padding: 0 16px;
    }

    .cp-panel-promo-inner {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .cp-panel-promo-card {
        order: -1;
    }
}

.panel-cp-form {
    max-width: 400px;
}

.panel-cp-form label {
    display: block;
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(252, 238, 9, 0.75);
}

.panel-cp-form input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    border: 2px solid rgba(252, 238, 9, 0.35);
    background: rgba(0, 0, 0, 0.55);
    color: var(--cp-white);
    font: inherit;
    font-size: 15px;
    clip-path: var(--cp-cut-sm);
    text-transform: none;
}

.panel-cp-form input:focus {
    outline: none;
    border-color: var(--cp-cyan);
}

.panel-cp-form .cp-btn {
    width: 100%;
    margin-top: 6px;
    border: none;
    cursor: pointer;
}

.panel-page-cp .panel-admin-worker,
.panel-page-cp .panel-scan-row {
    border-color: rgba(252, 238, 9, 0.25);
    background: rgba(0, 0, 0, 0.35);
    clip-path: var(--cp-cut-sm);
}

.panel-page-cp .panel-danger-btn {
    font-size: 11px;
    padding: 8px 12px;
}

.panel-cp-footer {
    margin-top: 32px;
}

.panel-cp-count-line {
    margin: -8px 0 16px;
}

.panel-cp-alerts-card {
    margin-bottom: 16px;
}

.panel-cp-fav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.panel-cp-fav-actions .panel-cp-alert,
.panel-cp-fav-actions .panel-cp-unwatch {
    flex: 1 1 auto;
    min-width: 120px;
}

.panel-cp-alert {
    border: 2px solid var(--cp-black);
    background: var(--cp-black);
    color: var(--cp-yellow);
    border-radius: 0;
    clip-path: var(--cp-cut-sm);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    font-family: inherit;
}

.panel-cp-alert:hover {
    background: var(--cp-red);
    border-color: var(--cp-red);
    color: var(--cp-white);
}

.panel-cp-alert.active {
    background: var(--cp-cyan);
    border-color: var(--cp-cyan);
    color: var(--cp-black);
}

.panel-cp-fav-card .card-alert-badge {
    background: var(--cp-cyan);
    color: var(--cp-black);
    font-weight: 900;
}

.panel-cp-wishlist-import {
    margin-bottom: 18px;
}

.panel-cp-wishlist-help {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(0, 240, 255, 0.35);
    clip-path: var(--cp-cut-sm);
}

.panel-cp-wishlist-help summary {
    cursor: pointer;
    font-weight: 900;
    color: var(--cp-cyan);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.06em;
}

.panel-cp-wishlist-steps {
    margin: 12px 0 10px 18px;
    color: rgba(252, 238, 9, 0.85);
    font-size: 14px;
    line-height: 1.55;
    text-transform: none;
}

.panel-cp-wishlist-steps code {
    font-family: ui-monospace, monospace;
    font-size: 12px;
    color: var(--cp-cyan);
}

.panel-cp-wishlist-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.panel-cp-field--wide {
    flex: 1 1 280px;
}

.panel-cp-field--wide input {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    border: 2px solid rgba(252, 238, 9, 0.35);
    background: rgba(0, 0, 0, 0.55);
    color: var(--cp-white);
    font: inherit;
    font-size: 14px;
    clip-path: var(--cp-cut-sm);
    text-transform: none;
}

.panel-cp-field--wide input:focus {
    outline: none;
    border-color: var(--cp-cyan);
}

.panel-cp-wishlist-results {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(252, 238, 9, 0.22);
}

.panel-cp-wishlist-summary {
    margin: 0 0 8px;
    font-weight: 800;
    color: var(--cp-yellow);
    text-transform: none;
}

.panel-cp-wishlist-group {
    margin-top: 12px;
}

.panel-cp-wishlist-group h4 {
    margin: 0 0 6px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(252, 238, 9, 0.75);
}

.panel-cp-wishlist-group ul {
    margin: 0;
    padding-left: 18px;
    color: var(--cp-white);
    font-size: 14px;
    text-transform: none;
}

.panel-cp-wishlist-group li {
    margin-bottom: 6px;
}

.panel-cp-wishlist-note {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: rgba(0, 240, 255, 0.85);
    font-weight: 600;
}

@media (max-width: 960px) {
    .panel-cp-hero-grid {
        grid-template-columns: 1fr;
    }

    .panel-cp-layout {
        grid-template-columns: 1fr;
    }

    .panel-cp-aside {
        position: static;
    }

    .panel-cp-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .panel-cp-nav-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .panel-cp-identity {
        flex-direction: column;
        align-items: flex-start;
    }

    .panel-cp-toolbar {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .panel-cp-select,
    .panel-cp-refresh {
        width: 100%;
    }

    .panel-cp-dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

.cookie-consent {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(4, 10, 20, 0.97);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-consent__text {
    flex: 1 1 260px;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #cdd8e6;
}

.cookie-consent__text a { color: var(--cp-accent, #ffe600); }

.cookie-consent__actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.cookie-consent__btn {
    cursor: pointer;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    background: transparent;
    color: #e6f0fb;
}

.cookie-consent__btn--primary {
    background: var(--cp-accent, #ffe600);
    color: #05101f;
    border-color: var(--cp-accent, #ffe600);
}

@media (max-width: 520px) {
    .cookie-consent__actions { width: 100%; }
    .cookie-consent__btn { flex: 1; }
}

.cp-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 18px 0;
}

.cp-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 10px;
    border: 1px solid rgba(0, 240, 255, 0.25);
    background: rgba(4, 12, 24, 0.55);
    border-radius: 4px;
}

.cp-trust-num {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--cp-accent, #ffe600);
    text-shadow: 0 0 12px rgba(255, 230, 0, 0.35);
}

.cp-trust-label {
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: var(--muted, #9fb0c3);
    text-transform: uppercase;
}

.cp-faq {
    margin: 28px 0 8px;
}

.cp-faq > h2 {
    margin: 4px 0 16px;
}

.cp-faq-item {
    border: 1px solid rgba(0, 240, 255, 0.18);
    background: rgba(4, 12, 24, 0.45);
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 0 16px;
}

.cp-faq-item summary {
    cursor: pointer;
    padding: 14px 0;
    font-weight: 600;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.cp-faq-item summary::-webkit-details-marker { display: none; }

.cp-faq-item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--cp-accent, #ffe600);
    transition: transform 0.2s ease;
}

.cp-faq-item[open] summary::after { content: '−'; }

.cp-faq-item p {
    margin: 0 0 16px;
    color: var(--muted, #b7c4d4);
    line-height: 1.55;
}

@media (max-width: 640px) {
    .cp-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .cp-trust-num { font-size: 22px; }
}

.cp-panel-promo-inner--center {
    display: block;
    text-align: center;
}

.cp-panel-promo--about .cp-panel-promo-copy {
    max-width: 640px;
    margin: 0 auto;
}

.cp-panel-promo--about .cp-panel-promo-actions {
    justify-content: center;
}

.offers-affiliate-note {
    margin: 10px 2px 2px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--muted, #8a93a6);
    opacity: 0.85;
    text-align: center;
}

.about-page ul {
    margin: 8px 0 18px;
    padding-left: 20px;
}

.about-page li {
    margin-bottom: 8px;
}

/* === Catalog sort toolbar + mobile price readability (v50) === */
.catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.catalog-head-text { min-width: 0; }
.catalog-sort {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}
.catalog-sort-select {
    font: inherit;
    font-weight: 700;
    color: var(--text, #0a0a0a);
    background: var(--surface-2, #fff);
    border: 1px solid var(--border, #d0d0d0);
    border-radius: 8px;
    padding: 8px 30px 8px 10px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%23888' stroke-width='2'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.catalog-sort-select:focus {
    outline: 2px solid var(--blue, #2563eb);
    outline-offset: 1px;
}
@media (max-width: 560px) {
    .catalog-head { align-items: stretch; }
    .catalog-sort { justify-content: space-between; width: 100%; }
    .catalog-sort-select { flex: 1; max-width: 62%; }
}
@media (max-width: 720px) {
    .offer-row { padding: 14px; }
    .offer-row .offer-price { font-size: 20px; font-weight: 800; }
    .offer-row .offer-shop { font-size: 15px; }
}

/* === Catalog-only browse (search / category) === */
.split-right.split-right--catalog {
    scroll-behavior: smooth;
}

.split-right.split-right--catalog .catalog {
    padding-top: 4px;
}

.split-right.split-right--catalog .cp-home-spotlight,
.split-right.split-right--catalog .cp-home-hero,
.split-right.split-right--catalog .cp-panel-promo,
.split-right.split-right--catalog .home-feeds,
.split-right.split-right--catalog .sections,
.split-right.split-right--catalog .cp-faq {
    display: none !important;
}

/* === Homepage spotlight (owner-curated) === */
.cp-home-spotlight {
    margin: 0 0 24px;
    padding: 20px 24px 22px;
    background:
        linear-gradient(125deg, rgba(8, 8, 8, 0.97) 0 48%, rgba(255, 0, 60, 0.85) 48% 54%, rgba(8, 8, 8, 0.95) 54% 100%),
        var(--cp-black);
    border: 4px solid var(--cp-black);
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
    box-shadow: 8px 8px 0 var(--cp-red);
}

.cp-home-spotlight-head {
    margin-bottom: 14px;
}

.cp-home-spotlight-title {
    margin: 0;
    color: var(--cp-yellow);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 1000;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.cp-home-spotlight-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.cp-home-spotlight-row::-webkit-scrollbar { height: 6px; }
.cp-home-spotlight-row::-webkit-scrollbar-thumb { background: var(--cp-cyan); }

.cp-spotlight-tile {
    flex: 0 0 220px;
    width: 220px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: var(--cp-yellow);
    border: 3px solid rgba(252, 238, 9, 0.35);
    background: rgba(0, 0, 0, 0.55);
    padding: 10px;
    transition: border-color 0.15s, transform 0.15s;
    box-sizing: border-box;
}

.cp-spotlight-tile:hover {
    border-color: var(--cp-cyan);
    transform: translateY(-3px);
}

.cp-spotlight-cover {
    display: block;
    width: 100%;
    height: 103px;
    aspect-ratio: auto;
    overflow: hidden;
    border: 2px solid var(--cp-black);
    background: #111;
    flex-shrink: 0;
}

.cp-spotlight-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cp-spotlight-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    min-height: 64px;
    justify-content: flex-start;
}

.cp-spotlight-name {
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    text-transform: none;
    color: var(--cp-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-spotlight-price {
    font-family: ui-monospace, monospace;
    font-weight: 800;
    font-size: 18px;
    color: var(--cp-cyan);
}

.cp-spotlight-price--empty {
    font-size: 13px;
    color: var(--cp-yellow);
    opacity: 0.85;
}

.cp-spotlight-tile .card-savings {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* === Panel spotlight curation === */
.panel-cp-spotlight-add-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 12px;
}

.panel-cp-field--grow {
    flex: 1 1 220px;
}

.panel-cp-spotlight-search {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.panel-cp-spotlight-pick {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border: 2px solid rgba(252, 238, 9, 0.35);
    background: rgba(0, 0, 0, 0.45);
    color: var(--cp-yellow);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
}

.panel-cp-spotlight-pick img {
    width: 48px;
    height: 22px;
    object-fit: cover;
}

.panel-cp-spotlight-list {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.panel-cp-spotlight-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 14px;
    border: 3px solid rgba(252, 238, 9, 0.35);
    background: rgba(0, 0, 0, 0.45);
}

.panel-cp-spotlight-cover {
    width: 140px;
    height: 65px;
    object-fit: cover;
    border: 2px solid var(--cp-black);
}

.panel-cp-spotlight-body h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--cp-yellow);
}

.panel-cp-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

@media (max-width: 640px) {
    .panel-cp-spotlight-item {
        grid-template-columns: 1fr;
    }
    .cp-home-spotlight {
        padding: 16px;
    }
    .cp-spotlight-tile {
        flex: 0 0 min(220px, 78vw);
        width: min(220px, 78vw);
    }
}

/* Game pages reuse layout-split chrome without a scrolling split-shell. */
body.game-page-body.layout-split {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
}

.game-page {
    padding: 16px 16px 56px;
    max-width: 1180px;
    margin: 0 auto;
}

.game-breadcrumb {
    font-size: 13px;
    margin: 0 0 14px;
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-page-grid {
    display: grid;
    grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.game-page-cover {
    margin: 0;
}

.game-page-cover img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.game-page-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.game-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-shrink: 0;
}

.game-page-desc {
    overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
    .brand::after,
    #search-input::after,
    .game-card::after,
    .modal-panel::after {
        animation: none !important;
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    a, button, input, select, textarea {
        touch-action: manipulation;
    }

    body {
        overflow-x: hidden;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }

    body.layout-split:not(.game-page-body) {
        height: auto;
        min-height: 100dvh;
        overflow: auto;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 200;
        padding: max(6px, env(safe-area-inset-top)) 8px 6px;
        background: rgba(8, 8, 8, 0.96);
        backdrop-filter: blur(10px);
    }

    .header-inner {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 6px;
        align-items: center;
        height: auto;
        padding: 0;
        max-width: none;
    }

    .header-info {
        display: none !important;
    }

    .brand {
        min-height: 40px;
        padding: 6px 8px;
        clip-path: none;
    }

    .brand-name { font-size: 16px; letter-spacing: -0.04em; }
    .brand-sub { display: none; }

    .search-wrap {
        order: unset !important;
        flex: unset;
        max-width: none;
        min-width: 0;
        grid-column: 2;
        width: auto;
    }

    #search-input {
        height: 40px;
        font-size: 16px;
        font-weight: 700;
        padding: 0 10px;
        clip-path: none;
        border-width: 2px;
    }

    .header-actions {
        display: flex;
        align-items: center;
        grid-column: 1 / -1;
        order: unset !important;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 4px;
        padding: 2px 0 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .header-actions::-webkit-scrollbar { display: none; }

    .auth-nav {
        order: unset !important;
        flex: 0 0 auto;
        margin-left: auto;
        padding-top: 0;
        justify-content: flex-end;
        gap: 4px;
    }

    .theme-switch-label {
        display: none;
    }

    .lang-switch,
    .theme-switch,
    .region-switch,
    .theme-switch-wrap {
        flex-shrink: 0;
        gap: 2px;
    }

    .header-info-btn,
    .auth-link,
    .auth-btn,
    .auth-nav .btn-nav,
    .auth-nav .nav-link,
    .lang-switch button,
    .theme-switch button,
    .theme-btn,
    .region-btn {
        min-height: 34px;
        min-width: 0;
        padding: 4px 8px;
        font-size: 11px;
        letter-spacing: 0;
        clip-path: none;
        white-space: nowrap;
    }

    .nav-user {
        max-width: 88px;
        font-size: 11px;
    }

    .layout-split .split-shell {
        display: flex;
        flex-direction: column;
        padding: 6px 8px 20px;
        gap: 8px;
    }

    .layout-split .split-left {
        position: static;
        max-height: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 6px 8px;
        clip-path: none;
        border-width: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .layout-split .split-left::-webkit-scrollbar { display: none; }

    .layout-split .split-left-title,
    .layout-split .split-stats {
        display: none;
    }

    .layout-split .split-cats {
        flex-direction: row;
        flex-wrap: nowrap;
        width: max-content;
        gap: 4px;
        min-width: 0;
    }

    .layout-split .split-cats .cat {
        flex-shrink: 0;
        white-space: nowrap;
        width: auto;
        min-height: 32px;
        padding: 6px 10px;
        border: 1px solid rgba(252, 238, 9, 0.28);
        font-size: 12px;
        letter-spacing: 0;
    }

    .layout-split .split-right {
        padding: 0 0 72px;
        overflow: visible;
        min-width: 0;
    }

    .cp-home-hero,
    .cp-panel-promo {
        display: none !important;
    }

    .theme-switch-wrap {
        display: none !important;
    }

    .cp-hero-positioning {
        margin: 0;
        padding: 8px 10px;
        box-shadow: none;
        border-width: 2px;
    }

    .cp-hero-positioning-yes {
        margin: 0;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.02em;
    }

    .cp-home-hero-main,
    .cp-panel-promo-inner,
    .cp-home-spotlight,
    .cp-panel-promo {
        clip-path: none;
    }

    .cp-panel-promo {
        padding: 0;
        margin: 8px 0;
    }

    .cp-panel-promo-inner {
        padding: 12px;
        grid-template-columns: 1fr;
    }

    .cp-panel-promo-list,
    .cp-panel-promo-card {
        display: none;
    }

    .cp-panel-promo-lead {
        display: none;
    }

    .cp-panel-promo-actions {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
    }

    .cp-panel-promo-actions .cp-btn {
        flex: 1 1 auto;
        min-height: 40px;
        width: auto;
        font-size: 13px;
        padding: 8px 12px;
    }

    .cp-home-spotlight {
        padding: 10px 12px;
        margin-bottom: 10px;
        clip-path: none;
        box-shadow: none;
    }

    .cp-home-spotlight .cp-kicker {
        display: none;
    }

    .cp-home-spotlight-title {
        font-size: 18px;
    }

    .home-section-title,
    .catalog-head h1 {
        font-size: 18px;
        animation: none;
        text-shadow: none;
    }

    .catalog-head {
        gap: 8px;
    }

    .catalog-sort-select {
        min-height: 40px;
        width: auto;
        max-width: 100%;
        font-size: 14px;
    }

    .btn-buy,
    .btn-watch,
    .btn-alert,
    #load-more {
        min-height: 42px;
        font-size: 14px;
    }

    .btn-watch-card {
        display: none;
    }

    .grid {
        grid-template-columns: 1fr !important;
        gap: 8px;
    }

    .grid .game-card {
        display: grid;
        grid-template-columns: 108px minmax(0, 1fr);
        align-items: stretch;
        clip-path: none;
        border-width: 2px;
        min-width: 0;
        transform: none;
    }

    .grid .card-cover {
        margin: 0;
        aspect-ratio: auto;
        min-height: 72px;
        height: 100%;
        clip-path: none;
        border-width: 0;
        border-right: 2px solid var(--cp-yellow);
    }

    .grid .card-cover img {
        mix-blend-mode: normal;
        object-fit: cover;
    }

    .grid .card-body {
        padding: 8px 10px;
        gap: 4px;
        min-width: 0;
    }

    .grid .card-title {
        font-size: 14px;
        line-height: 1.25;
        letter-spacing: 0;
        text-transform: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .grid .card-from,
    .grid .card-shop,
    .grid .card-deal-age,
    .grid .card-rank {
        display: none;
    }

    .grid .card-price {
        margin-left: 0;
        font-size: 16px;
        text-shadow: none;
    }

    .grid .card-savings,
    .grid .card-history-label,
    .grid .card-tag,
    .grid .card-free-badge,
    .grid .hist-low-badge {
        clip-path: none;
        font-size: 10px;
        padding: 2px 5px;
        letter-spacing: 0;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .grid .card-foot {
        border-top: 0;
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 6px;
    }

    .home-section-row .game-card-row {
        min-width: 150px;
        flex: 0 0 min(68vw, 200px);
        clip-path: none;
        scroll-snap-align: start;
    }

    .game-card::after {
        animation: none;
        display: none;
    }

    .home-section-row,
    .cp-home-spotlight-row {
        gap: 8px;
        padding-bottom: 6px;
        margin-inline: 0;
    }

    .price-usd {
        display: none;
    }

    .footer-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }

    .footer-btn {
        min-height: 36px;
        padding: 6px 10px;
        font-size: 12px;
    }

    .cookie-consent {
        left: 8px;
        right: 8px;
        bottom: max(8px, env(safe-area-inset-bottom));
        padding: 10px 12px;
    }

    .cookie-consent__text { font-size: 12px; }
    .cookie-consent__btn { min-height: 40px; }

    .game-page {
        padding: 10px 10px 88px;
    }

    .game-page-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .game-page-head h1 {
        font-size: 22px;
        line-height: 1.2;
        text-transform: none;
        overflow-wrap: anywhere;
    }

    .game-page-head,
    .game-page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .offer-row {
        grid-template-columns: 1fr auto;
        gap: 8px;
        padding: 10px;
        clip-path: none;
    }

    .offer-row .btn-buy {
        grid-column: 1 / -1;
        width: 100%;
    }

    .region-banner {
        font-size: 13px;
        padding: 8px 10px;
    }

    .modal-overlay,
    .modal-panel {
        max-width: 100%;
    }

    .modal-panel {
        margin: 0;
        max-height: 100dvh;
        border-radius: 0;
        clip-path: none;
    }
}

@media (hover: none) {
    .game-card:hover,
    .cp-spotlight-tile:hover,
    .card:hover {
        transform: none;
    }
}
