@font-face {
    font-family: Onest;
    src: url('/miniapp/assets/onest-variable.ttf') format('truetype');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.catalog-v2 {
    --catalog-accent: #c6f366;
    --catalog-muted: #a6aea2;
    --catalog-line: #30372e;
    --catalog-ease: cubic-bezier(.2, .75, .25, 1);
    margin: clamp(22px, 3.8vw, 54px) 0 clamp(36px, 5vw, 64px);
    scroll-margin-top: calc(var(--tg-safe-top, 0px) + 8px);
    font-family: Onest, Blaze, 'Segoe UI', sans-serif;
}

.catalog-switch {
    position: sticky;
    top: calc(var(--tg-safe-top, 0px) + 8px);
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    width: min(100%, 340px);
    margin-bottom: clamp(16px, 2.4vw, 26px);
    padding: 4px;
    border: 1px solid var(--catalog-line);
    border-radius: 15px;
    background: #181e19;
    box-shadow: 0 6px 20px #0004;
}

.catalog-switch button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1.1vw, 8px);
    min-height: 44px;
    padding: 0 6px;
    border-radius: 10px;
    color: #b4bfb0;
    font-size: clamp(12px, 2.6vw, 14px);
    font-weight: 700;
    white-space: nowrap;
    transition: background-color .16s ease, color .16s ease;
}

.catalog-switch button:hover { background: #ffffff0c; color: #f4f8ee; }
.catalog-switch button[aria-current="page"] { background: #c6f36624; color: #ddf6a8; }
.catalog-switch button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.catalog-switch svg { width: 16px; height: 16px; flex: 0 0 auto; }
.catalog-switch-count { padding: 1px 5px; border-radius: 6px; background: #c6f3661c; color: #ddf6a8; font-size: 10px; }

.catalog-v2-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: clamp(16px, 2.4vw, 29px);
}

.catalog-v2-titles {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
    min-width: 0;
}

.catalog-v2 h2 {
    margin: 0;
    color: #f6f8f1;
    font-size: clamp(34px, 5.85vw, 76px);
    font-weight: 805;
    letter-spacing: -.072em;
    line-height: .98;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.catalog-v2 h2:focus { outline: none; }
.catalog-v2-titles p {
    flex-basis: 100%;
    max-width: 62ch;
    margin: 8px 0 0;
    color: var(--catalog-muted);
    font-size: clamp(13px, 1.35vw, 16px);
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.catalog-v2-tools, .catalog-product-tools { display: flex; align-items: center; gap: 7px; }
.catalog-v2-tools { margin-top: 3px; }

.catalog-v2 .catalog-tool, .catalog-v2 .catalog-pencil, .catalog-v2 .catalog-save {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #343d32;
    border-radius: 13px;
    background: #1e251e;
    color: #dbe6d5;
    transition: background .22s ease, border-color .22s ease, color .22s ease, transform .32s var(--catalog-ease);
}

.catalog-v2 .catalog-pencil {
    border-color: #c6f3663b;
    background: #2e3923;
    color: #d5f9a0;
}

.catalog-v2 .catalog-tool:hover, .catalog-v2 .catalog-pencil:hover, .catalog-v2 .catalog-save:hover {
    border-color: var(--catalog-accent);
    background: #293726;
    color: #f3ffd9;
    transform: translateY(-2px);
}

.catalog-v2 .catalog-tool:active, .catalog-v2 .catalog-pencil:active, .catalog-v2 .catalog-save:active { transform: scale(.93); }
.catalog-v2 .catalog-tool svg, .catalog-v2 .catalog-pencil svg, .catalog-v2 .catalog-save svg { width: 17px; height: 17px; }
.catalog-v2-titles .catalog-pencil, .catalog-v2-subheading .catalog-pencil { width: 38px; height: 38px; }

.catalog-v2-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    margin-bottom: 20px;
    padding: 4px 5px 4px 15px;
    border: 1px solid var(--catalog-line);
    border-radius: 14px;
    background: #191e19;
    color: #9ca996;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.catalog-v2-search:focus-within { border-color: var(--catalog-accent); box-shadow: 0 0 0 3px #c6f36618; }
.catalog-v2-search input { flex: 1; min-width: 0; min-height: 40px; padding: 0; outline: 0; border: 0; background: transparent; color: #f2f5ef; font-size: 16px; }
.catalog-v2-search input::-webkit-search-cancel-button { display: none; }
.catalog-v2-search .catalog-tool { width: 36px; height: 36px; border-color: transparent; background: transparent; }

.catalog-game-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(185px, auto);
    gap: 13px;
}

.catalog-game-grid-featured { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.catalog-game-grid-featured .catalog-game-wide { grid-row: span 2; }

.catalog-game {
    --game-accent: #c6f366;
    --game-surface: #161e16;
    --game-halo: #3a5030;
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 185px;
    border: 1px solid #ffffff17;
    border-radius: clamp(17px, 2.45vw, 28px);
    background: radial-gradient(ellipse at 83% 55%, var(--game-halo), transparent 72%), var(--game-surface);
    box-shadow: 0 14px 38px #0003, inset 0 1px #ffffff06;
    transition: transform .36s var(--catalog-ease), border-color .32s ease, box-shadow .32s ease;
}

.catalog-game[data-tone='google'] { --game-surface: #161b2a; --game-halo: #30426d; }
.catalog-game[data-tone='ios'] { --game-surface: #21192b; --game-halo: #553565; }
.catalog-game-wide { --game-surface: #161f17; --game-halo: #435736; }

.catalog-game-open {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-height: inherit;
    height: 100%;
    padding: clamp(17px, 2.7vw, 31px) clamp(52px, 6vw, 82px) clamp(17px, 2.7vw, 31px) clamp(17px, 2.7vw, 31px);
    overflow: hidden;
    border-radius: inherit;
    text-align: left;
}

.catalog-game-open::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #101411de, #10141152 53%, #1014110a), linear-gradient(0deg, #0a100eea, #0a100e00 72%);
    content: '';
    pointer-events: none;
}

.catalog-game-open:has(.catalog-game-abstract)::after { background: linear-gradient(90deg, #10141151, transparent 88%), linear-gradient(0deg, #101411b0, transparent 76%); }
.catalog-game-wide .catalog-game-open::after { background: linear-gradient(90deg, #0d110ed4, #0d110e32 64%, transparent), linear-gradient(0deg, #0a100eea, #0a100e08 83%); }

.catalog-game-art { position: absolute; z-index: -2; inset: 0; overflow: hidden; pointer-events: none; }
.catalog-game-art img { height: 100%; object-position: center; transform: scale(1.01); transition: transform .85s var(--catalog-ease), filter .45s ease; }
.catalog-game-wide .catalog-game-art img { object-position: 56% 51%; }
.catalog-game-abstract { background: repeating-linear-gradient(148deg, transparent, transparent 17px, #ffffff04 18px, transparent 19px); }

.catalog-game-info { display: grid; min-width: 0; align-items: start; justify-items: start; gap: 7px; }
.catalog-game-info strong {
    color: #f9fbf5;
    font-size: clamp(29px, 4vw, 56px);
    font-weight: 790;
    letter-spacing: -.065em;
    line-height: .96;
    overflow-wrap: anywhere;
    text-wrap: balance;
    text-shadow: 0 3px 26px #0d100e99;
    transition: transform .36s var(--catalog-ease);
}

.catalog-game-wide .catalog-game-info strong { max-width: 11ch; font-size: clamp(40px, 5.6vw, 82px); }
.catalog-game-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #d4ddd0;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.catalog-game-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 24px;
    margin-bottom: 4px;
    padding: 2px 9px;
    border: 1px solid #ffffff26;
    border-radius: 999px;
    background: #0d120eb8;
    color: #f0f4eb;
    font-size: 11px;
    font-weight: 650;
}

.catalog-game-count i { width: 6px; height: 6px; border-radius: 50%; background: var(--game-accent); box-shadow: 0 0 9px var(--game-accent); }
.catalog-game-arrow, .catalog-product-open {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: clamp(39px, 4.6vw, 57px);
    height: clamp(39px, 4.6vw, 57px);
    padding: 0;
    border: 1px solid #ffffff3d;
    border-radius: 50%;
    background: #141c17c4;
    color: var(--game-accent, var(--catalog-accent));
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .32s var(--catalog-ease);
}

.catalog-game-arrow { position: absolute; right: clamp(15px, 2.4vw, 28px); bottom: clamp(16px, 2.65vw, 31px); }
.catalog-game-arrow svg, .catalog-product-open svg { width: clamp(17px, 1.8vw, 23px); height: clamp(17px, 1.8vw, 23px); }
.catalog-game > .catalog-pencil { position: absolute; z-index: 1; top: 12px; right: 12px; background: #172012ee; }

.catalog-orbits, .catalog-game-mark { position: absolute; top: 40%; right: 6%; width: clamp(104px, 18vw, 240px); aspect-ratio: 1; translate: 0 -50%; }
.catalog-orbits { rotate: -29deg; transition: rotate .75s var(--catalog-ease); }
.catalog-orbits i {
    position: absolute;
    inset: 19%;
    border: 1px solid #ffffff38;
    border-radius: 50%;
    transform: scaleY(.52);
}

.catalog-orbits i:nth-child(2) { inset: 9%; transform: scaleY(.62) rotate(14deg); }
.catalog-orbits i:nth-child(3) { inset: 0; transform: scaleY(.7) rotate(24deg); }
.catalog-orbits i:last-child::after {
    position: absolute;
    top: 16%;
    right: 14%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--game-accent);
    box-shadow: 0 0 12px var(--game-accent);
    content: '';
    animation: catalog-signal 3.6s ease-in-out infinite;
}

.catalog-game-mark {
    display: grid;
    place-items: center;
    color: var(--game-accent);
    rotate: -11deg;
    filter: drop-shadow(0 10px 19px #080a14a1);
    transition: rotate .75s var(--catalog-ease), scale .65s var(--catalog-ease);
    animation: catalog-floating 5.5s ease-in-out infinite;
}

.catalog-game[data-tone='ios'] .catalog-game-mark { rotate: 16deg; animation-delay: -.9s; }
.catalog-game-mark > svg { width: 50%; height: 50%; stroke-width: 1.15; }
.catalog-mark-g {
    background: conic-gradient(from -38deg, #73a7ff 0% 36%, #5cdb95 37% 59%, #ffdb79 61% 77%, #ff9b9b 80%);
    background-clip: text;
    color: transparent;
    font-size: clamp(72px, 12vw, 157px);
    font-weight: 815;
    line-height: 1;
    -webkit-text-stroke: 1px #ffffff3a;
}

.catalog-mark-phone {
    display: grid;
    position: relative;
    place-items: center;
    width: 29%;
    aspect-ratio: .55;
    border: 2px solid #e6d7ff;
    border-radius: 21%;
    background: linear-gradient(160deg, #e7beff88, #835bbac0 45%, #2f214d 76%);
    box-shadow: 5px 5px 0 #745593, inset 0 0 0 3px #3a2958, 0 0 26px #9b70ee53;
}

.catalog-mark-phone::before { position: absolute; top: 8%; width: 30%; height: 5%; border-radius: 999px; background: #28203f; content: ''; }
.catalog-mark-phone i { width: 47%; aspect-ratio: 1; border: 1px solid #ffffff58; border-radius: 38%; background: #e7c3ff43; transform: rotate(20deg); box-shadow: 0 0 12px #e7c3ff59; }

.catalog-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 19px; }
.catalog-crumbs button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 5px 10px;
    border: 1px solid var(--catalog-line);
    border-radius: 10px;
    color: #c7d4c4;
    font-size: 12px;
    font-weight: 650;
    text-align: left;
    overflow-wrap: anywhere;
    transition: color .2s ease, background .2s ease;
}

.catalog-crumbs button:hover { background: #263124; color: #f0f7eb; }
.catalog-crumbs svg { width: 15px; height: 15px; transform: rotate(180deg); }
.catalog-browse-banner {
    position: relative;
    isolation: isolate;
    align-items: flex-end;
    min-height: clamp(175px, 24vw, 270px);
    padding: clamp(67px, 7vw, 96px) clamp(16px, 3.5vw, 41px) clamp(17px, 3.15vw, 37px);
    border: 1px solid #ffffff22;
    border-radius: clamp(17px, 2.45vw, 28px);
    background: #1a2119;
    box-shadow: 0 16px 44px #0003;
}

.catalog-browse-banner .catalog-v2-tools { position: absolute; top: clamp(10px, 2.1vw, 23px); right: clamp(10px, 2.1vw, 23px); margin: 0; }
.catalog-browse-banner .catalog-v2-titles > .catalog-pencil { position: absolute; top: clamp(10px, 2.1vw, 23px); left: clamp(10px, 2.1vw, 23px); }
.catalog-browse-banner .catalog-v2-titles p { color: #e1e8df; }
.catalog-browse-banner .catalog-v2-titles { max-width: 74ch; }
.catalog-browse-banner h2 { max-width: 17ch; text-shadow: 0 3px 22px #000a; }

.catalog-category-art {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    pointer-events: none;
    background: radial-gradient(ellipse at 79% 18%, color-mix(in srgb, var(--catalog-accent) 29%, transparent), transparent 60%),
        repeating-linear-gradient(136deg, transparent 0 19px, #eeeeee09 20px 21px, transparent 22px 38px), #161f17;
}

.catalog-category-art::before, .catalog-category-art::after { position: absolute; inset: 0; content: ''; pointer-events: none; }
.catalog-category-art::before { inset: -40% 10% auto auto; width: 43%; aspect-ratio: 1; border: 1px solid #f1ffea35; border-radius: 30%; transform: rotate(-23deg); }
.catalog-category-art::after { background: linear-gradient(90deg, #101510ba, #1015101c 75%), linear-gradient(0deg, #0c110ded, #1015102b 72%); }
.catalog-category-art img { position: relative; width: 100%; height: 100%; object-position: center; transition: transform .65s var(--catalog-ease); }
.catalog-browse-banner .catalog-category-art::after { background: linear-gradient(90deg, #0d110dd9, #0d110d32 82%), linear-gradient(0deg, #0a100dd9, #0d110d14 74%); }
.catalog-v2-sections, .catalog-v2-products { margin-top: clamp(23px, 4vw, 41px); }
.catalog-v2-subheading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.catalog-v2-subheading h3 { margin: 0; font-size: clamp(20px, 2.6vw, 34px); font-weight: 750; letter-spacing: -.06em; }
.catalog-v2-subheading p { margin: 4px 0 0; color: var(--catalog-muted); font-size: 12px; }
.catalog-results-heading { justify-content: space-between; }
.catalog-sort { max-width: 50%; min-height: 38px; padding: 6px 9px; border: 1px solid var(--catalog-line); border-radius: 10px; background: #202520; color: #e2e8df; font-size: 12px; }

.catalog-section-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 238px), 1fr)); gap: 12px; }
.catalog-section-tile {
    position: relative;
    isolation: isolate;
    min-width: 0;
    border: 1px solid #ffffff26;
    border-radius: 19px;
    background: #202820;
    transition: border-color .22s ease, transform .3s var(--catalog-ease);
}

.catalog-section-open {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: clamp(140px, 16.5vw, 197px);
    height: 100%;
    padding: 48px clamp(12px, 2vw, 23px) clamp(12px, 2vw, 23px);
    border-radius: inherit;
    text-align: left;
}

.catalog-section-info { display: grid; gap: 3px; min-width: 0; color: #d8e3d5; font-size: 12px; overflow-wrap: anywhere; }
.catalog-section-info > .catalog-status-badge { justify-self: start; margin-bottom: 3px; }
.catalog-section-info strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #f6f9f2;
    font-size: clamp(22px, 3vw, 40px);
    font-weight: 775;
    letter-spacing: -.052em;
    line-height: 1.02;
    text-shadow: 0 2px 13px #000a;
}

.catalog-section-arrow {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: clamp(33px, 4.25vw, 45px);
    aspect-ratio: 1;
    border: 1px solid #e2f8d840;
    border-radius: 50%;
    background: #151c16ba;
    color: var(--catalog-accent);
    transition: color .24s ease, background .24s ease, transform .3s var(--catalog-ease);
}

.catalog-section-arrow svg { width: 17px; height: 17px; }
.catalog-section-tile > .catalog-pencil { position: absolute; top: 9px; right: 9px; width: 37px; height: 37px; background: #172012f2; }

.catalog-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.catalog-product {
    display: flex;
    position: relative;
    isolation: isolate;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--catalog-line);
    border-radius: 20px;
    background: linear-gradient(148deg, #232b22, #171b17 72%);
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .3s ease, transform .34s var(--catalog-ease);
}

.catalog-product-media {
    position: relative;
    min-height: 113px;
    aspect-ratio: 2.05;
    overflow: hidden;
    background: radial-gradient(ellipse at 70% 0, #5a7246, transparent 78%), repeating-linear-gradient(146deg, transparent, transparent 17px, #ffffff10 18px, transparent 19px), #243123;
}

.catalog-product-media::after { position: absolute; inset: 0; background: linear-gradient(0deg, #171b1770, transparent 60%); pointer-events: none; content: ''; }
.catalog-product-media img { height: 100%; transition: transform .65s var(--catalog-ease); }
.catalog-product-emblem { position: absolute; bottom: 12%; left: 12%; color: #d3e7cc; transform: rotate(-13deg); opacity: .55; }
.catalog-product-emblem svg { width: clamp(30px, 6vw, 68px); height: clamp(30px, 6vw, 68px); stroke-width: .9; }
.catalog-product-label { position: absolute; z-index: 1; bottom: 10px; left: 10px; max-width: calc(100% - 20px); padding: 3px 7px; border: 1px solid #ffffff29; border-radius: 6px; background: #111711e8; color: #e8f2e4; font-size: 9px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.catalog-product-tools { position: absolute; z-index: 3; top: 8px; right: 8px; gap: 5px; }
.catalog-product-tools .catalog-save, .catalog-product-tools .catalog-pencil { width: 36px; height: 36px; border-radius: 10px; background: #171f17ea; }
.catalog-save[aria-pressed=true] { color: var(--catalog-accent); }
.catalog-save[aria-pressed=true] svg { fill: var(--catalog-accent); }

.catalog-product-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(11px, 1.8vw, 20px); }
.catalog-product-meta { display: flex; flex-wrap: wrap; gap: 4px 7px; color: var(--catalog-muted); font-size: 11px; overflow-wrap: anywhere; }
.catalog-product-meta span + span::before { margin-right: 7px; color: var(--catalog-accent); content: '·'; }
.catalog-product h4 { margin: 0; color: #f1f5ed; font-size: clamp(20px, 2.65vw, 34px); font-weight: 785; line-height: 1.05; letter-spacing: -.06em; overflow-wrap: anywhere; }
.catalog-product .product-status { margin: 2px 0 3px; font-size: 10px; }
.catalog-product-statuses, .catalog-status-badges { display: flex; align-items: center; flex-wrap: wrap; min-width: 0; gap: 5px; }
.catalog-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: auto; padding-top: 11px; border-top: 1px solid #ffffff14; }
.catalog-product-cost { display: grid; min-width: 0; gap: 7px; }
.catalog-product-price { font-size: clamp(18px, 2.4vw, 30px); font-weight: 780; letter-spacing: -.06em; line-height: 1; overflow-wrap: anywhere; }
.catalog-product-price small { color: var(--catalog-muted); font-size: .57em; font-weight: 600; letter-spacing: 0; }
.catalog-product-open { width: 38px; height: 38px; border-radius: 11px; background: #252e22; }
.catalog-product-open svg { transition: transform .32s var(--catalog-ease); }
.catalog-product-open::after { position: absolute; z-index: 2; inset: 0; content: ''; }
.catalog-product:has(.catalog-product-open:focus-visible) { outline: 2px solid var(--catalog-accent); outline-offset: 4px; }

.catalog-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    max-width: 100%;
    padding: 4px 8px;
    border: 1px solid #ffffff33;
    border-radius: 9px;
    background: var(--badge-color);
    color: var(--badge-foreground);
    font-size: 11px;
    font-weight: 760;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.catalog-status-badge > span { min-width: 0; }
.catalog-status-badge::before {
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .64;
    content: '';
}

.shop-price-before {
    display: block;
    margin-block-end: 3px;
    color: #b3bfad;
    font-size: .58em;
    font-weight: 560;
    letter-spacing: 0;
    line-height: 1.2;
    text-decoration-color: #b3bfadb0;
    text-decoration-thickness: 1px;
    white-space: nowrap;
}

.shop-price-before + .shop-price-current { color: var(--catalog-accent, var(--accent)); }
.shop-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: #d5dfcf; font-size: 10px; font-weight: 650; line-height: 1.15; }
.shop-offer-percent { padding: 3px 5px; border: 1px solid #bfe88347; border-radius: 5px; background: #bfe88318; color: var(--catalog-accent, var(--accent)); white-space: nowrap; }
.shop-offer-countdown { display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.shop-offer-countdown svg { width: 11px; height: 11px; }
.cart-price { display: grid; justify-items: end; gap: 5px; text-align: end; }
.cart-price .shop-offer { justify-content: flex-end; }
.confirm-line-price { text-align: end; white-space: nowrap; }
.confirm-line-price .shop-price-before { font-size: .85em; }

@media (hover: hover) {
    .catalog-game:hover, .catalog-product:hover, .catalog-section-tile:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--game-accent, var(--catalog-accent)) 55%, #161d16); box-shadow: 0 19px 35px #0005; }
    .catalog-game-open:hover .catalog-game-art img, .catalog-section-open:hover .catalog-category-art img, .catalog-product:hover .catalog-product-media img { transform: scale(1.075); }
    .catalog-game-open:hover .catalog-game-info strong { transform: translateX(3px); }
    .catalog-game-open:hover .catalog-game-mark { rotate: 5deg; scale: 1.1; }
    .catalog-game-open:hover .catalog-orbits { rotate: -39deg; }
    .catalog-game-open:hover .catalog-game-arrow, .catalog-product:hover .catalog-product-open { border-color: var(--game-accent, var(--catalog-accent)); background: var(--game-accent, var(--catalog-accent)); color: #182013; }
    .catalog-game-open:hover .catalog-game-arrow, .catalog-product:hover .catalog-product-open svg { transform: rotate(-9deg); }
    .catalog-section-open:hover .catalog-section-arrow { transform: translate(2px, -2px); background: var(--catalog-accent); color: #182013; }
}

.catalog-game:active, .catalog-section-tile:active, .catalog-product:active { transform: scale(.988); }

.catalog-v2-enter :is(.catalog-game, .catalog-browse-banner, .catalog-section-tile, .catalog-product) {
    animation: catalog-rise .55s var(--catalog-ease) backwards;
    animation-delay: calc(var(--catalog-order, 0) * 42ms);
}

@keyframes catalog-rise {
    from { opacity: 0; translate: 0 14px; scale: .98; }
    to { opacity: 1; translate: 0 0; scale: 1; }
}

@keyframes catalog-floating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes catalog-signal { 0%, 100% { opacity: .55; scale: .85; } 50% { opacity: 1; scale: 1.12; } }

@media (max-width: 870px) {
    .catalog-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .catalog-v2-heading { flex-wrap: wrap; align-items: start; gap: 10px; }
    .catalog-v2-heading.catalog-browse-banner { align-items: flex-end; }
    .catalog-v2-tools { margin-top: 0; gap: 4px; }
    .catalog-v2 .catalog-tool, .catalog-v2-tools .catalog-pencil { width: 36px; height: 36px; border-radius: 10px; }
    .catalog-v2-titles .catalog-pencil { width: 34px; height: 34px; }
    .catalog-v2-titles p { margin-top: 4px; }
    .catalog-game-grid, .catalog-game-grid-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: 8px; }
    .catalog-game-grid-featured .catalog-game-wide { grid-column: 1 / -1; grid-row: auto; }
    .catalog-game { min-height: 152px; }
    .catalog-game-wide { min-height: 230px; }
    .catalog-game-open { padding: 14px 43px 14px 12px; }
    .catalog-game-wide .catalog-game-open { padding: 18px 52px 18px 15px; }
    .catalog-game-info { gap: 4px; }
    .catalog-game-info strong { font-size: clamp(22px, 5.5vw, 36px); }
    .catalog-game-wide .catalog-game-info strong { font-size: clamp(35px, 10vw, 56px); }
    .catalog-game-description { font-size: 11px; }
    .catalog-game-grid-featured .catalog-game-wide .catalog-game-info { max-width: 90%; }
    .catalog-game-count { gap: 5px; min-height: 20px; margin-bottom: 3px; padding: 1px 5px; font-size: 9px; white-space: nowrap; }
    .catalog-game-count i { width: 5px; height: 5px; }
    .catalog-game-arrow { right: 8px; bottom: 12px; width: 31px; height: 31px; }
    .catalog-game-arrow svg { width: 16px; height: 16px; }
    .catalog-game-wide .catalog-game-arrow { right: 13px; bottom: 16px; width: 38px; height: 38px; }
    .catalog-game > .catalog-pencil { top: 6px; right: 6px; width: 34px; height: 34px; border-radius: 9px; }
    .catalog-orbits, .catalog-game-mark { top: 36%; right: 0; }
    .catalog-mark-g { font-size: clamp(54px, 15vw, 100px); }
    .catalog-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .catalog-section-tile { border-radius: 15px; }
    .catalog-section-tile:only-child { grid-column: 1 / -1; }
    .catalog-section-open { min-height: 132px; padding: 40px 9px 10px 10px; gap: 5px; }
    .catalog-section-info { gap: 3px; font-size: 10px; }
    .catalog-section-info strong { font-size: clamp(17px, 5vw, 26px); }
    .catalog-section-arrow { width: 29px; }
    .catalog-section-arrow svg { width: 14px; height: 14px; }
    .catalog-section-tile > .catalog-pencil { top: 6px; right: 6px; width: 33px; height: 33px; border-radius: 9px; }
    .catalog-product-grid { gap: 8px; }
    .catalog-product { border-radius: 15px; }
    .catalog-product:only-child { grid-column: 1 / -1; }
    .catalog-product:only-child .catalog-product-media { max-height: 190px; }
    .catalog-product-content { gap: 6px; }
    .catalog-product-tools { top: 5px; right: 5px; gap: 4px; }
    .catalog-product-tools .catalog-pencil, .catalog-product-tools .catalog-save { width: 33px; height: 33px; border-radius: 9px; }
    .catalog-product-tools svg { width: 15px; height: 15px; }
    .catalog-product-open { width: 33px; height: 33px; }
}

@media (max-width: 355px) {
    .catalog-v2 h2 { font-size: 30px; }
    .catalog-v2-heading { column-gap: 7px; }
    .catalog-game-open { padding-right: 34px; }
    .catalog-game-arrow { right: 5px; width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .catalog-v2 *, .catalog-v2 *::before, .catalog-v2 *::after { animation: none !important; transition: none !important; }
}
