@font-face {
    font-family: "Inter";
    src: url("../../fonts/inter-4.1-variable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bg: #09111f;
    --bg-2: #0f1a30;
    --card: rgba(20, 30, 54, 0.88);
    --card-2: rgba(15, 23, 42, 0.96);
    --stroke: rgba(255, 255, 255, 0.08);
    --text: #f7fbff;
    --muted: #93a4c7;
    --blue: #46a6ff;
    --blue-2: #6f7cff;
    --gold: #ffd86b;
    --green: #59d58a;
    --danger: #ff6a8e;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --safe-top: env(safe-area-inset-top);
    --safe-bottom: env(safe-area-inset-bottom);
    --adaptive-section-gap: 24px;
    --adaptive-btn-height: 38px;
    --adaptive-btn-padding: 0 14px;
    --adaptive-btn-font-size: 12px;
    --adaptive-chip-height: 38px;
    --adaptive-chip-padding: 0 14px;
    --adaptive-chip-font-size: 13px;
    --adaptive-card-radius: 20px;
    --adaptive-tag-height: 24px;
    --adaptive-tag-font-size: 10px;
    --adaptive-corner-height: 26px;
    --adaptive-corner-font-size: 11px;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html {
    min-height: 100%;
    background: #09111f;
}

a, button, .nav-item, .chip, .buy-btn {
    touch-action: manipulation;
}

/* Double-tap zoom off on the whole page for an app-like feel; pinch zoom still works.
   Zero specificity, so element rules (pan-x on sliders, pan-x pan-y on the wheel) win. */
:where(html, body, body *) {
    touch-action: manipulation;
}

html,
body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body {
    min-height: 100vh;
    position: relative;
    isolation: isolate;
    background: transparent;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at top, #12264d 0%, var(--bg) 40%, #070d19 100%);
}

button,
input {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.app {
    width: 100%;
    max-width: 430px;
    overflow-x: clip;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    padding: calc(10px + var(--safe-top)) 14px calc(92px + var(--safe-bottom));
    display: flex;
    flex-direction: column;
}

.bg-glow,
.bg-glow-2 {
    position: fixed;
    inset: auto;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.45;
    z-index: 0;
}

.bg-glow {
    top: -30px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: #308cff;
}

.bg-glow-2 {
    top: 120px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: #6f7cff;
}

.content {
    position: relative;
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    min-height: calc(100vh - 105px) !important;
}

.content > main {
    flex-grow: 1 !important;
    display: flex;
    flex-direction: column;
}

.app-footer {
    margin-top: auto !important;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 16px;
    background: rgba(10, 17, 31, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: calc(10px + var(--safe-top));
    z-index: 1000;
}

.topbar.topbar-fixed {
    position: fixed;
    left: 50%;
    width: min(calc(100% - 28px), 402px);
    margin-bottom: 0;
    transform: translate3d(-50%, 0, 0);
    transition: transform 440ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.topbar.topbar-fixed.is-scroll-hidden {
    transform: translate3d(-50%, calc(-100% - 24px - var(--safe-top)), 0);
    transition-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
}

.topbar-fixed-spacer {
    flex: 0 0 72px;
    height: 72px;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .topbar.topbar-fixed {
        transition: none;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.logo-h1 {
    margin: 0;
    font-size: inherit;
    line-height: 0;
}

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

.logo {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
}

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

.daily-offer-pill {
    height: 34px;
    min-width: 42px;
    padding: 0 10px;
    border: 1px solid rgba(255, 232, 138, 0.52);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 232, 138, 0.24), rgba(255, 159, 10, 0.18));
    color: #ffe88a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, border-color 0.2s ease;
    backface-visibility: hidden;
    will-change: transform;
    -webkit-font-smoothing: antialiased;
}

.daily-offer-pill::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.24) 45%, transparent 70%);
    transform: translateX(-120%);
    animation: dailyOfferShine 3.2s ease-in-out infinite;
}

.daily-offer-pill-icon,
.daily-offer-pill-text {
    position: relative;
    z-index: 1;
}

.daily-offer-pill-icon {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
}

.daily-offer-pill-gifts {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.daily-offer-pill-gifts svg {
    width: 16px;
    height: 16px;
}

.daily-offer-pill-text {
    white-space: nowrap;
}

.daily-offer-pill:active {
    transform: scale(0.95);
}

body.daily-offer-open {
    overflow: hidden;
}

.daily-offer-modal {
    position: fixed;
    inset: 0;
    z-index: 14000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.daily-offer-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.daily-offer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 22, 0.76);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.daily-offer-card {
    width: min(100%, 402px);
    max-height: min(92vh, 760px);
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 1;
    border-radius: 22px;
    border: 1px solid rgba(255, 216, 107, 0.25);
    background:
        linear-gradient(180deg, rgba(28, 35, 52, 0.98), rgba(10, 17, 31, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(255, 216, 107, 0.28), transparent 46%);
    box-shadow: 0 26px 74px rgba(0, 0, 0, 0.55), 0 0 44px rgba(255, 194, 72, 0.16);
    padding: 18px;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.daily-offer-modal.is-open .daily-offer-card {
    transform: translateY(0) scale(1);
}

.daily-offer-modal.is-confirming .daily-offer-card {
    filter: blur(4px) brightness(0.72);
}

.daily-offer-card::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.daily-offer-scroll-hint {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 107, 0.32);
    background:
        linear-gradient(180deg, rgba(255, 226, 138, 0.24), rgba(255, 173, 47, 0.12)),
        rgba(11, 18, 32, 0.72);
    color: #ffe28a;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 18px rgba(255, 194, 72, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 4;
    transform: translate(-50%, 8px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.daily-offer-scroll-hint.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    animation: dailyOfferScrollHint 1.35s ease-in-out infinite;
}

.daily-offer-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
}

.daily-offer-hero {
    text-align: center;
    padding: 32px 24px 12px;
}

.daily-offer-gift {
    width: 70px;
    height: 70px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #3a2600;
    background: linear-gradient(135deg, #fff3b0, #ffb72d);
    box-shadow: 0 16px 40px rgba(255, 183, 45, 0.28);
}

.daily-offer-kicker {
    color: #ffd86b;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.daily-offer-hero h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.05;
    color: #fff;
    font-weight: 850;
    white-space: nowrap;
}

.daily-offer-hero p {
    margin: 8px 0 0;
    color: #aebfe0;
    font-size: 13px;
    line-height: 1.35;
}

.daily-offer-timer {
    position: absolute;
    top: 12px;
    left: 12px;
    min-height: 34px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 11px;
    border: 1px solid rgba(255, 216, 107, 0.22);
    background: rgba(255, 216, 107, 0.08);
    z-index: 2;
}

.daily-offer-timer-icon {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    color: #ffd86b;
    flex-shrink: 0;
}

.daily-offer-timer strong {
    color: #ffe28a;
    font-size: 13px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}

.daily-offer-items {
    display: grid;
    gap: 8px;
    margin-top: 8px;
}

.daily-offer-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 8px 0 10px;
    padding: 4px;
    border-radius: 17px;
    border: 1px solid rgba(255, 216, 107, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 216, 107, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(255, 255, 255, 0.025);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.14);
    position: relative;
    isolation: isolate;
}

.daily-offer-tabs::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 216, 107, 0.30), transparent);
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.daily-offer-tab {
    min-height: 54px;
    height: auto;
    padding: 9px 12px;
    border-radius: 13px;
    border: 0;
    background: transparent;
    color: #aebfe0;
    cursor: pointer;
    transition: transform 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    line-height: 1.12;
    z-index: 1;
}

.daily-offer-tab-title {
    color: #f4f7ff;
    font-size: 12px;
    font-weight: 800;
}

.daily-offer-tab small {
    color: #8fa3c7;
    font-size: 10px;
    font-weight: 750;
}

.daily-offer-tab:not(:disabled):active {
    transform: scale(0.95);
}

.daily-offer-tab.is-active {
    background: linear-gradient(135deg, rgba(255, 216, 107, 0.18), rgba(255, 173, 47, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(255, 173, 47, 0.08);
    z-index: 2;
}

.daily-offer-tab.is-active .daily-offer-tab-title {
    color: #ffe5a0;
}

.daily-offer-tab.is-active small {
    color: #e8d39b;
}

.daily-offer-tab.is-purchased {
    background: transparent;
    color: rgba(174, 191, 224, 0.48);
    cursor: not-allowed;
    box-shadow: none;
}

.daily-offer-tab.is-unavailable {
    background: transparent;
    color: rgba(174, 191, 224, 0.48);
    cursor: not-allowed;
    box-shadow: none;
}

.daily-offer-tab.is-purchased .daily-offer-tab-title,
.daily-offer-tab.is-unavailable .daily-offer-tab-title,
.daily-offer-tab.is-purchased small,
.daily-offer-tab.is-unavailable small {
    color: rgba(174, 191, 224, 0.48);
}

.daily-offer-tab.is-purchased i {
    position: absolute;
    top: -7px;
    right: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 107, 0.38);
    background: linear-gradient(135deg, #ffe28a, #ffad2f);
    color: #2f1e00;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 18px rgba(255, 173, 47, 0.18);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-tab.is-purchased i {
    left: 8px;
    right: auto;
    border-color: rgba(255, 142, 184, 0.38);
    background: linear-gradient(135deg, #ff9fc2, #d93f7c);
    color: #3a0618;
    box-shadow: 0 8px 18px rgba(255, 83, 137, 0.18);
}

.daily-offer-tab.is-unavailable i {
    position: absolute;
    top: -7px;
    right: 8px;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(143, 163, 199, 0.18);
    background: #253047;
    color: #93a5c8;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.daily-offer-variant {
    display: none;
}

.daily-offer-variant.is-active {
    display: block;
}

.daily-offer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 70px;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 216, 107, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 216, 107, 0.10), rgba(255, 173, 47, 0.045)),
        rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 22px rgba(255, 173, 47, 0.055);
}

.daily-offer-item img {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 0 1px rgba(255, 216, 107, 0.12);
    flex-shrink: 0;
}

.daily-offer-item-body {
    min-width: 0;
    flex: 1;
}

.daily-offer-item-title {
    color: #fff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.daily-offer-item-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 5px;
}

.daily-offer-item-prices strong {
    color: #ffe28a;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #ffe28a;
    font-size: 14px;
    font-weight: 850;
}

.daily-offer-item-prices span {
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
    font-weight: 800;
    text-decoration: line-through;
}

.daily-offer-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.daily-offer-summary-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.daily-offer-summary-card {
    min-width: 0;
    padding: 12px 10px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(255, 216, 107, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 216, 107, 0.13), rgba(255, 173, 47, 0.06)),
        rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(255, 173, 47, 0.08);
}

.daily-offer-summary-card span {
    display: block;
    color: #ffe5a0;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.daily-offer-summary-card strong {
    display: block;
    margin-top: 5px;
    color: #fff7d1;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #fff7d1;
    font-size: 17px;
    font-weight: 900;
    white-space: nowrap;
    text-shadow: 0 0 16px rgba(255, 216, 107, 0.22);
}

.daily-offer-summary-old {
    min-width: 0;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.035);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.daily-offer-summary-old span {
    color: #8fa3c7;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.daily-offer-summary-old strong {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-decoration: line-through;
}

.daily-offer-buy {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #ffe28a, #ffad2f);
    color: #271800;
    font-size: 15px;
    font-weight: 850;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(255, 173, 47, 0.25);
}

.daily-offer-buy:active {
    transform: scale(0.98);
}

.daily-offer-skip {
    width: 100%;
    height: 38px;
    margin-top: 8px;
    border: 0;
    background: transparent;
    color: #8fa3c7;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.daily-offer-confirm {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5, 10, 22, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.daily-offer-confirm.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.daily-offer-confirm-card {
    width: min(100%, 326px);
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 216, 107, 0.24);
    background:
        linear-gradient(180deg, rgba(27, 36, 56, 0.98), rgba(12, 19, 34, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(255, 216, 107, 0.18), transparent 55%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52), 0 0 32px rgba(255, 194, 72, 0.12);
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.daily-offer-confirm.is-visible .daily-offer-confirm-card {
    transform: translateY(0) scale(1);
}

.daily-offer-confirm-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #3a2600;
    background: linear-gradient(135deg, #fff3b0, #ffb72d);
    box-shadow: 0 14px 32px rgba(255, 183, 45, 0.22);
}

.daily-offer-confirm-card h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 850;
}

.daily-offer-confirm-card p {
    margin: 9px 0 16px;
    color: #aebfe0;
    font-size: 13px;
    line-height: 1.35;
}

.daily-offer-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 8px;
}

.daily-offer-confirm-actions button {
    height: 42px;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, border-color 0.2s ease;
}

.daily-offer-confirm-actions button:active {
    transform: scale(0.95);
}

.daily-offer-confirm-yes {
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.055);
    color: #b9c7e1;
}

.daily-offer-confirm-no {
    border: 0;
    background: linear-gradient(135deg, #ffe28a, #ffad2f);
    color: #271800;
    box-shadow: 0 12px 28px rgba(255, 173, 47, 0.20);
}

.daily-offer-pill-ruby {
    border-color: rgba(255, 142, 184, 0.52);
    background: linear-gradient(135deg, rgba(255, 142, 184, 0.24), rgba(255, 83, 137, 0.18));
    color: #ffe3ed;
    box-shadow: none;
}

.daily-offer-tab-gift:not(.is-purchased):not(.is-unavailable) {
    border-color: rgba(255, 142, 184, 0.24);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-backdrop {
    background: rgba(5, 10, 22, 0.76);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-card {
    border-color: rgba(255, 142, 184, 0.25);
    background:
        linear-gradient(180deg, rgba(28, 35, 52, 0.98), rgba(10, 17, 31, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(255, 142, 184, 0.28), transparent 46%);
    box-shadow: 0 26px 74px rgba(0, 0, 0, 0.55), 0 0 44px rgba(255, 83, 137, 0.16);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-gift,
.daily-offer-modal.daily-offer-theme-ruby .daily-offer-confirm-icon {
    color: #3a0618;
    background: linear-gradient(135deg, #ffe4ee, #c22e6b);
    box-shadow: 0 16px 40px rgba(255, 83, 137, 0.28);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-kicker,
.daily-offer-modal.daily-offer-theme-ruby .daily-offer-timer-icon,
.daily-offer-modal.daily-offer-theme-ruby .daily-offer-timer strong {
    color: #ffb7cf;
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-timer {
    border-color: rgba(255, 142, 184, 0.22);
    background: rgba(255, 142, 184, 0.08);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-scroll-hint {
    border-color: rgba(255, 142, 184, 0.32);
    background:
        linear-gradient(180deg, rgba(255, 177, 207, 0.24), rgba(255, 83, 137, 0.12)),
        rgba(11, 18, 32, 0.72);
    color: #ffb7cf;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28), 0 0 18px rgba(255, 83, 137, 0.18);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-tabs {
    border-color: rgba(255, 142, 184, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 142, 184, 0.07), rgba(255, 255, 255, 0.025)),
        rgba(255, 255, 255, 0.025);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-tabs::before {
    background: linear-gradient(180deg, transparent, rgba(255, 142, 184, 0.30), transparent);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-tab.is-active {
    border-color: rgba(255, 142, 184, 0.42);
    background: linear-gradient(135deg, rgba(255, 142, 184, 0.18), rgba(255, 83, 137, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 20px rgba(255, 83, 137, 0.08);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-tab.is-active .daily-offer-tab-title {
    color: #ffe3ed;
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-tab.is-active small {
    color: #e7a3bb;
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-item {
    border-color: rgba(255, 142, 184, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 142, 184, 0.10), rgba(255, 83, 137, 0.045)),
        rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 8px 22px rgba(255, 83, 137, 0.055);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-item img {
    box-shadow: 0 0 0 1px rgba(255, 142, 184, 0.12);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-confirm-icon {
    box-shadow: 0 14px 32px rgba(255, 83, 137, 0.22);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-item-prices strong {
    color: #ffb7cf;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #ffb7cf;
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-item:not(.daily-offer-item-free) .daily-offer-item-prices span {
    display: none;
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-summary-card {
    border-color: rgba(255, 142, 184, 0.28);
    background:
        linear-gradient(180deg, rgba(255, 142, 184, 0.13), rgba(255, 83, 137, 0.06)),
        rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(255, 83, 137, 0.08);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-summary-card span {
    color: #ffc8d9;
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-summary-card strong {
    color: #fff1f6;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: #fff1f6;
    text-shadow: 0 0 16px rgba(255, 142, 184, 0.22);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-buy,
.daily-offer-modal.daily-offer-theme-ruby .daily-offer-confirm-no {
    background: linear-gradient(135deg, #ffe4ee, #c22e6b);
    color: #3a0618;
    box-shadow: 0 14px 32px rgba(255, 83, 137, 0.25);
}

.daily-offer-modal.daily-offer-theme-ruby .daily-offer-confirm-card {
    border-color: rgba(255, 142, 184, 0.24);
    background:
        linear-gradient(180deg, rgba(27, 36, 56, 0.98), rgba(12, 19, 34, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(255, 142, 184, 0.18), transparent 55%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52), 0 0 32px rgba(255, 83, 137, 0.12);
}

@keyframes dailyOfferShine {
    0%, 58% { transform: translateX(-120%); }
    76%, 100% { transform: translateX(120%); }
}

@keyframes dailyOfferScrollHint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 380px) {
    .topbar.topbar-inner .daily-offer-pill {
        display: none;
    }

    .daily-offer-pill {
        width: 42px;
        min-width: 42px;
        padding: 0 10px;
        border-radius: 999px;
    }

    .daily-offer-pill-gifts {
        gap: 0;
    }

    .daily-offer-pill-gifts svg:nth-child(n+2) {
        display: none;
    }

    .daily-offer-summary-main {
        gap: 6px;
    }

    .daily-offer-hero h2 {
        font-size: 20px;
        white-space: normal;
        text-wrap: balance;
    }

    .daily-offer-summary-card {
        padding: 10px 7px;
    }

    .daily-offer-summary-card span {
        font-size: 9px;
    }

    .daily-offer-summary-card strong {
        font-size: 15px;
    }
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.back-btn:active {
    transform: scale(0.92);
}

.auth-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px 1px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.3px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease;
    text-decoration: none;
}

.auth-login-btn:active {
    transform: scale(0.97);
}

.balance-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.balance-val {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1;
}

.profile-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #1a2744;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    line-height:1;
    text-transform: uppercase;
}

.balance-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    padding: 0;
    margin: 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.balance-add svg {
    width: 8px;
    height: 8px;
    display: block;
    margin: auto;
}

.balance-add:active {
    transform: scale(0.92);
}

.bonus-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(11, 22, 18, 0.92), rgba(24, 62, 42, 0.88)),
        radial-gradient(circle at 100% 0%, rgba(89, 213, 138, 0.3), transparent 48%);
    border: 1px solid rgba(255, 216, 107, 0.24);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.bonus-icon {
    color: #59d58a;
    display: flex;
    filter: drop-shadow(0 0 6px rgba(89, 213, 138, 0.4));
}

.bonus-val {
    font-size: 13px;
    font-weight: 800;
    color: #f7ffe5;
    line-height: 1;
    letter-spacing: -0.01em;
}

.fms-top-pill {
    min-width: 54px;
    justify-content: center;
}

.fms-top-val {
    font-size: 13px;
    font-weight: 850;
    color: #f7ffe5;
    line-height: 1;
    letter-spacing: -0.01em;
}

.fms-top-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: block;
    margin-left: -2px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
    pointer-events: none;
}

.profile-avatar-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid transparent !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.profile-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 17px; /* 20px - 3px */
    overflow: hidden;
    background: var(--bg-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    display: grid;
    place-items: center;
    color: #03111f;
    font-weight: 900;
    font-size: 14px;
    line-height:1;
    text-transform: uppercase;
    transition: transform 0.2s;
    overflow: hidden;
    position: relative;
    /* Premium Hardware Rendering Filters */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 9px;
}

.avatar:active {
    transform: scale(0.92);
}

.topbar .avatar[class*="lvl-"],
.topbar .avatar[class*="fms-frame-"],
.topbar .avatar.lvl-0 {
    border: 2px solid transparent !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    padding: 0 !important;
    width: 32px !important;
    height: 32px !important;
    box-shadow: none !important;
}

.topbar .avatar .avatar-img {
    border-radius: 9px; /* 11px - 2px */
}

/* Keep fallback letter visible when standard avatar also has lvl-* frame */
.topbar .avatar.avatar-standard[class*="lvl-"],
.topbar .avatar.avatar-standard[class*="fms-frame-"] {
    color: #03111f !important;
    display: grid !important;
    place-items: center !important;
    text-shadow: none;
}

/* Restore fallback inner background for standard avatar without removing lvl border */
.topbar .avatar.avatar-standard.lvl-0 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
}
.topbar .avatar.avatar-standard.lvl-1 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #a8794b, #704620) !important;
}
.topbar .avatar.avatar-standard.lvl-2 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #e3e7ed, #9ca3af) !important;
}
.topbar .avatar.avatar-standard.lvl-3 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%) !important;
}
.topbar .avatar.avatar-standard.lvl-4 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #e0f2fe, #38bdf8, #0ea5e9) !important;
}
.topbar .avatar.avatar-standard.lvl-5 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(90deg, #af40ff, #ff00cc, #00ffcc, #af40ff) !important;
    background-size: auto, 600px 100% !important;
    background-repeat: no-repeat, repeat !important;
    background-position: center, 0 0;
    animation: ultra-neon-flow-border 5s linear infinite !important;
}

/* Base Level (0) - Sky Blue Standard */
.lvl-0 {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
    box-shadow: 0 8px 20px rgba(70, 166, 255, 0.2) !important;
}
.lvl-0 .lvl-badge { border-color: var(--blue); color: #fff; background: var(--blue); }
.lvl-0 .btn-change-avatar { background: var(--blue); }

.lvl-1 { background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #a8794b, #704620) !important; box-shadow: 0 8px 20px rgba(168, 121, 75, 0.25) !important; }
.lvl-1 .lvl-badge { border-color: #a8794b; color: #ffb470; }
.lvl-1 .btn-change-avatar { background: linear-gradient(135deg, #a8794b, #704620); }

.lvl-2 { background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #e3e7ed, #9ca3af) !important; box-shadow: 0 8px 20px rgba(156, 163, 175, 0.2) !important; }
.lvl-2 .lvl-badge { border-color: #e3e7ed; color: #fff; }
.lvl-2 .btn-change-avatar { background: linear-gradient(135deg, #e3e7ed, #9ca3af); color: #0f172a; }

.lvl-3 { background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%) !important; box-shadow: 0 8px 25px rgba(255, 159, 10, 0.3) !important; }
.lvl-3 .lvl-badge { border-color: #ffd86b; color: #03111f; background: #ffb81a; }
.lvl-3 .btn-change-avatar { background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%); color: #03111f; }

.lvl-4 { background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #e0f2fe, #38bdf8, #0ea5e9) !important; box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4) !important; }
.lvl-4 .lvl-badge { border-color: #e0f2fe; color: #0c4a6e; background: #38bdf8; }
.lvl-4 .btn-change-avatar { background: linear-gradient(135deg, #e0f2fe, #38bdf8, #0ea5e9); color: #0c4a6e; }

/* ULTRA - Neon Shimmer 2.0 with Double-Clip support */
.lvl-5 {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(90deg, #af40ff, #ff00cc, #00ffcc, #af40ff) !important;
    background-size: auto, 600px 100% !important;
    background-repeat: no-repeat, repeat !important;
    background-position: center, 0 0;
    animation: none, ultra-neon-flow-border 5s linear infinite !important;
    box-shadow: 0 8px 30px rgba(175, 64, 255, 0.2) !important;
}

/* Fix for topbar lvl-5 image border clip */
.topbar .avatar.lvl-5 {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(90deg, #af40ff, #ff00cc, #00ffcc, #af40ff) !important;
    background-size: auto, 600px 100% !important;
    background-position: center, 0 0;
    animation: ultra-neon-flow-border 5s linear infinite !important;
    box-shadow: none !important;
}
.lvl-5 .lvl-badge {
    background-image: linear-gradient(90deg, #af40ff, #ff00cc, #00ffcc, #af40ff) !important;
    background-size: 600px 100% !important;
    background-repeat: repeat !important;
    background-position: 0 0;
    animation: ultra-neon-flow 5s linear infinite !important;
    background-color: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}
.lvl-5 .btn-change-avatar {
    background-image: linear-gradient(90deg, #af40ff, #ff00cc, #00ffcc, #af40ff) !important;
    background-size: 600px 100% !important;
    background-repeat: repeat !important;
    background-position: 0 0;
    animation: ultra-neon-flow 5s linear infinite !important;
    color: #fff !important;
}

.fms-frame-goat {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(90deg, #ffe071, #59d58a, #46a6ff, #ff5fb7, #ffe071) !important;
    background-size: auto, 620px 100% !important;
    background-repeat: no-repeat, repeat !important;
    background-position: center, 0 0;
    animation: ultra-neon-flow-border 4.5s linear infinite !important;
    box-shadow: none !important;
}

.topbar .avatar.fms-frame-goat {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(90deg, #ffe071, #59d58a, #46a6ff, #ff5fb7, #ffe071) !important;
    background-size: auto, 620px 100% !important;
    background-position: center, 0 0;
    animation: ultra-neon-flow-border 4.5s linear infinite !important;
    box-shadow: none !important;
}

.fms-frame-training-base {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #ffd86b, #59d58a 48%, #46a6ff) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.profile-avatar-wrap.fms-frame-training-base {
    box-shadow: none !important;
}

.profile-avatar-wrap[class*="fms-frame-"] {
    box-shadow: none !important;
}

/* Keep avatar surfaces flat while retaining level borders and frame artwork. */
:is(.topbar .avatar, .profile-avatar-wrap, .review-avatar, .recent-avatar,
    .rc-avatar, .v2-winner-avatar, .p-avatar, .msg-avatar, .frame-item-preview) {
    box-shadow: none !important;
}

[class*="fms-frame-"] {
    position: relative;
}

.topbar .avatar.fms-frame-training-base {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #ffd86b, #59d58a 48%, #46a6ff) !important;
    background-size: auto, auto !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-medal {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #ffe27a, #b9852a 42%, #fff3b0 72%, #8f5b18) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-medal::after {
    content: "1";
    position: absolute;
    left: 50%;
    top: -8px;
    z-index: 3;
    width: 22px;
    height: 22px;
    transform: translateX(-50%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #6a430e;
    font-size: 11px;
    font-weight: 850;
    background: radial-gradient(circle at 34% 28%, #fff4b8, #d49b31 62%, #7b4a13);
    border: 1px solid rgba(255, 239, 151, 0.8);
}

.fms-frame-stars {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #eff7ff, #2450a8 36%, #071b45 58%, #dcecff) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-stars::after {
    content: "\2605";
    position: absolute;
    right: -5px;
    top: 7px;
    z-index: 3;
    color: #f6fbff;
    font-size: 16px;
    line-height: 1;
    text-shadow: -26px -4px 0 rgba(255,255,255,0.9), -10px 31px 0 rgba(255,255,255,0.9), 5px 54px 0 rgba(255,255,255,0.72);
}

.fms-frame-golden-ball {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #fff2a8, #f7c23a 38%, #9c671d 60%, #ffe07b) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-golden-ball::after {
    content: "";
    position: absolute;
    right: -7px;
    top: -7px;
    z-index: 3;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background:
        linear-gradient(32deg, transparent 44%, rgba(116, 72, 11, 0.46) 45%, rgba(116, 72, 11, 0.46) 51%, transparent 52%),
        linear-gradient(118deg, transparent 46%, rgba(116, 72, 11, 0.38) 47%, rgba(116, 72, 11, 0.38) 53%, transparent 54%),
        radial-gradient(circle at 34% 28%, #fff7b9, #edb72e 62%, #80510f);
    border: 1px solid rgba(255, 234, 139, 0.9);
}

.fms-frame-icon {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #fff9e8, #d7ae55 25%, #7f511c 48%, #fff3c4 72%, #b1782b) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -8px;
    z-index: 3;
    width: 19px;
    height: 19px;
    transform: translateX(-50%) rotate(45deg);
    background: linear-gradient(135deg, #fff8de, #c99635 58%, #815116);
    border: 1px solid rgba(255, 235, 160, 0.85);
}

.fms-frame-world-cup {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #f7d26a, #054f3d 34%, #e5b747 72%, #093428) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-wc26 {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #f5d16b, #04543f 36%, #f2c95a 72%, #073829) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-captain {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #211708, #d3a23f 36%, #0c0f17 52%, #866221) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-hall-of-fame {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #0b0d12, #d2b56c 30%, #f3eee0 48%, #8e6b29 72%, #06070b) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-golden-boot {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #0b1734, #ffd86b 35%, #956319 58%, #0b1734) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-elite-xi {
    background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(135deg, #f5f8ff, #b98935 28%, #dfe7f2 48%, #8b682c 70%, #fff6d5) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
    box-shadow: none !important;
}

.fms-frame-world-cup { --fms-frame-overlay: url('../assets/fms-frames/frame-world-cup.webp?v=contour2'); }
.fms-frame-wc26 {
    --fms-frame-overlay: url('../assets/fms-frames/frame-wc26.webp?v=wc26-original1');
    --fms-frame-inset: -16.5%;
    --fms-frame-small-inset: -16.5%;
    --fms-frame-preview-inset: -20%;
}
.fms-frame-medal { --fms-frame-overlay: url('../assets/fms-frames/frame-medal.webp?v=contour2'); }
.fms-frame-stars {
    --fms-frame-overlay: url('../assets/fms-frames/frame-stars.webp?v=user-stars1');
    --fms-frame-inset: -17%;
    --fms-frame-small-inset: -14%;
    --fms-frame-preview-inset: -15%;
}
.fms-frame-icon {
    --fms-frame-overlay: url('../assets/fms-frames/frame-icon.webp?v=user-icon1');
    --fms-frame-inset: -17%;
    --fms-frame-small-inset: -14%;
    --fms-frame-preview-inset: -15%;
}
.fms-frame-golden-ball {
    --fms-frame-overlay: url('../assets/fms-frames/frame-golden-ball.webp?v=user-golden-ball3');
    --fms-frame-inset: -14.3%;
}
.fms-frame-captain { --fms-frame-overlay: url('../assets/fms-frames/frame-captain.webp?v=contour2'); }
.fms-frame-hall-of-fame { --fms-frame-overlay: url('../assets/fms-frames/frame-hall-of-fame.webp?v=contour2'); }
.fms-frame-golden-boot { --fms-frame-overlay: url('../assets/fms-frames/frame-golden-boot.webp?v=contour2'); }
.fms-frame-elite-xi { --fms-frame-overlay: url('../assets/fms-frames/frame-elite-xi.webp?v=contour2'); }

:is(
    .profile-avatar-wrap,
    .topbar .avatar,
    .review-avatar,
    .recent-avatar,
    .rc-avatar,
    .v2-winner-avatar,
    .p-avatar,
    .frame-item-preview
):is(
    .fms-frame-world-cup,
    .fms-frame-wc26,
    .fms-frame-medal,
    .fms-frame-stars,
    .fms-frame-icon,
    .fms-frame-golden-ball,
    .fms-frame-captain,
    .fms-frame-hall-of-fame,
    .fms-frame-golden-boot,
    .fms-frame-elite-xi
) {
    position: relative !important;
    overflow: visible !important;
    background-image: none !important;
    box-shadow: none !important;
}

:is(
    .profile-avatar-wrap,
    .topbar .avatar,
    .review-avatar,
    .recent-avatar,
    .rc-avatar,
    .v2-winner-avatar,
    .p-avatar,
    .frame-item-preview
):is(
    .fms-frame-world-cup,
    .fms-frame-wc26,
    .fms-frame-medal,
    .fms-frame-stars,
    .fms-frame-icon,
    .fms-frame-golden-ball,
    .fms-frame-captain,
    .fms-frame-hall-of-fame,
    .fms-frame-golden-boot,
    .fms-frame-elite-xi
)::before {
    content: "";
    position: absolute;
    inset: var(--fms-frame-inset, 0);
    z-index: 6;
    pointer-events: none;
    background: var(--fms-frame-overlay) center / contain no-repeat;
}

.profile-avatar-wrap:is(
    .fms-frame-world-cup,
    .fms-frame-wc26,
    .fms-frame-medal,
    .fms-frame-stars,
    .fms-frame-icon,
    .fms-frame-golden-ball,
    .fms-frame-captain,
    .fms-frame-hall-of-fame,
    .fms-frame-golden-boot,
    .fms-frame-elite-xi
)::before {
    inset: var(--fms-frame-inset, 0);
    z-index: 10;
}

.profile-avatar-wrap.fms-frame-wc26::before {
    transform: translateY(1px);
}

:is(.topbar .avatar, .review-avatar, .recent-avatar, .rc-avatar, .v2-winner-avatar, .p-avatar):is(
    .fms-frame-world-cup,
    .fms-frame-wc26,
    .fms-frame-medal,
    .fms-frame-stars,
    .fms-frame-icon,
    .fms-frame-golden-ball,
    .fms-frame-captain,
    .fms-frame-hall-of-fame,
    .fms-frame-golden-boot,
    .fms-frame-elite-xi
)::before {
    inset: var(--fms-frame-small-inset, var(--fms-frame-inset, -6%));
}

:is(.topbar .avatar, .review-avatar, .recent-avatar, .rc-avatar, .v2-winner-avatar, .p-avatar).fms-frame-wc26::before {
    transform: translateY(1px);
}

.frame-item-preview:is(
    .fms-frame-world-cup,
    .fms-frame-wc26,
    .fms-frame-medal,
    .fms-frame-stars,
    .fms-frame-icon,
    .fms-frame-golden-ball,
    .fms-frame-captain,
    .fms-frame-hall-of-fame,
    .fms-frame-golden-boot,
    .fms-frame-elite-xi
) {
    background: transparent !important;
    border-color: transparent !important;
}

.frame-item-preview:is(
    .fms-frame-world-cup,
    .fms-frame-wc26,
    .fms-frame-medal,
    .fms-frame-stars,
    .fms-frame-icon,
    .fms-frame-golden-ball,
    .fms-frame-captain,
    .fms-frame-hall-of-fame,
    .fms-frame-golden-boot,
    .fms-frame-elite-xi
)::before {
    inset: var(--fms-frame-preview-inset, var(--fms-frame-inset, -8%));
}

.profile-avatar-wrap[class*="fms-frame-"] .profile-avatar-inner.avatar-standard,
:is(.topbar .avatar, .review-avatar, .recent-avatar, .rc-avatar, .v2-winner-avatar, .p-avatar).avatar-standard[class*="fms-frame-"] {
    background: linear-gradient(135deg, #46a6ff, #6f7cff) !important;
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff) !important;
    color: #071a35 !important;
    text-shadow: none !important;
}

.frame-item-preview.fms-frame-wc26 {
    background: #09111e !important;
    background-image: none !important;
    border-color: transparent !important;
}

.frame-item-preview.fms-frame-wc26::before {
    inset: -22% !important;
}

:is(
    .fms-frame-world-cup,
    .fms-frame-wc26,
    .fms-frame-medal,
    .fms-frame-stars,
    .fms-frame-icon,
    .fms-frame-golden-ball,
    .fms-frame-captain,
    .fms-frame-hall-of-fame,
    .fms-frame-golden-boot,
    .fms-frame-elite-xi
)::after {
    content: none !important;
    display: none !important;
}

.topbar .avatar[class*="fms-frame-"]::after,
.review-avatar[class*="fms-frame-"]::after,
.recent-avatar[class*="fms-frame-"]::after,
.v2-winner-avatar[class*="fms-frame-"]::after,
.p-avatar[class*="fms-frame-"]::after {
    display: none;
}

.review-avatar[class*="lvl-"],
.review-avatar[class*="fms-frame-"],
.recent-avatar[class*="lvl-"],
.recent-avatar[class*="fms-frame-"] {
    border: 2px solid transparent !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.review-avatar[class*="lvl-"] img,
.review-avatar[class*="fms-frame-"] img,
.recent-avatar[class*="lvl-"] img,
.recent-avatar[class*="fms-frame-"] img {
    border-radius: 10px;
}

.review-avatar.avatar-standard[class*="lvl-"],
.review-avatar.avatar-standard[class*="fms-frame-"],
.recent-avatar.avatar-standard[class*="lvl-"],
.recent-avatar.avatar-standard[class*="fms-frame-"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #03111f !important;
    text-shadow: none !important;
    font-weight: 900 !important;
}

.review-avatar.avatar-standard.lvl-0,
.recent-avatar.avatar-standard.lvl-0 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, var(--blue), var(--blue-2)) !important;
}

.review-avatar.avatar-standard.lvl-1,
.recent-avatar.avatar-standard.lvl-1 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #a8794b, #704620) !important;
}

.review-avatar.avatar-standard.lvl-2,
.recent-avatar.avatar-standard.lvl-2 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #e3e7ed, #9ca3af) !important;
}

.review-avatar.avatar-standard.lvl-3,
.recent-avatar.avatar-standard.lvl-3 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%) !important;
}

.review-avatar.avatar-standard.lvl-4,
.recent-avatar.avatar-standard.lvl-4 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #e0f2fe, #38bdf8, #0ea5e9) !important;
}

.review-avatar.avatar-standard.lvl-5,
.recent-avatar.avatar-standard.lvl-5 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(90deg, #af40ff, #ff00cc, #00ffcc, #af40ff) !important;
    background-size: auto, 600px 100% !important;
    background-repeat: no-repeat, repeat !important;
    background-position: center, 0 0;
    animation: ultra-neon-flow-border 5s linear infinite !important;
}

.review-avatar.avatar-standard.fms-frame-goat,
.recent-avatar.avatar-standard.fms-frame-goat {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(90deg, #ffe071, #59d58a, #46a6ff, #ff5fb7, #ffe071) !important;
    background-size: auto, 620px 100% !important;
    background-repeat: no-repeat, repeat !important;
    background-position: center, 0 0;
    animation: ultra-neon-flow-border 4.5s linear infinite !important;
}

.review-avatar.avatar-standard.fms-frame-training-base,
.recent-avatar.avatar-standard.fms-frame-training-base {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #ffd86b, #59d58a 48%, #46a6ff) !important;
    background-size: auto, auto !important;
    background-repeat: no-repeat, no-repeat !important;
    background-position: center, center;
}

.review-avatar.avatar-standard.fms-frame-medal,
.recent-avatar.avatar-standard.fms-frame-medal {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #ffe27a, #b9852a 42%, #fff3b0 72%, #8f5b18) !important;
}

.review-avatar.avatar-standard.fms-frame-stars,
.recent-avatar.avatar-standard.fms-frame-stars {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #eff7ff, #2450a8 36%, #071b45 58%, #dcecff) !important;
}

.review-avatar.avatar-standard.fms-frame-golden-ball,
.recent-avatar.avatar-standard.fms-frame-golden-ball {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #fff2a8, #f7c23a 38%, #9c671d 60%, #ffe07b) !important;
}

.review-avatar.avatar-standard.fms-frame-icon,
.recent-avatar.avatar-standard.fms-frame-icon {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #fff9e8, #d7ae55 25%, #7f511c 48%, #fff3c4 72%, #b1782b) !important;
}

.review-avatar.avatar-standard.fms-frame-world-cup,
.recent-avatar.avatar-standard.fms-frame-world-cup {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #f7d26a, #054f3d 34%, #e5b747 72%, #093428) !important;
}

.review-avatar.avatar-standard.fms-frame-wc26,
.recent-avatar.avatar-standard.fms-frame-wc26 {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #f5d16b, #04543f 36%, #f2c95a 72%, #073829) !important;
}

.review-avatar.avatar-standard.fms-frame-captain,
.recent-avatar.avatar-standard.fms-frame-captain {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #211708, #d3a23f 36%, #0c0f17 52%, #866221) !important;
}

.review-avatar.avatar-standard.fms-frame-hall-of-fame,
.recent-avatar.avatar-standard.fms-frame-hall-of-fame {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #0b0d12, #d2b56c 30%, #f3eee0 48%, #8e6b29 72%, #06070b) !important;
}

.review-avatar.avatar-standard.fms-frame-golden-boot,
.recent-avatar.avatar-standard.fms-frame-golden-boot {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #0b1734, #ffd86b 35%, #956319 58%, #0b1734) !important;
}

.review-avatar.avatar-standard.fms-frame-elite-xi,
.recent-avatar.avatar-standard.fms-frame-elite-xi {
    background-image: linear-gradient(135deg, #46a6ff, #6f7cff), linear-gradient(135deg, #f5f8ff, #b98935 28%, #dfe7f2 48%, #8b682c 70%, #fff6d5) !important;
}

/* Shared Animation */
@keyframes ultra-neon-flow {
    0% { background-position: 0 0; }
    100% { background-position: 600px 0; }
}

/* Moves only border layer (2nd background), keeps inner layer static */
@keyframes ultra-neon-flow-border {
    0% { background-position: center, 0 0; }
    100% { background-position: center, 600px 0; }
}
@keyframes icon-hue {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.hero-carousel {
    margin-bottom: 16px;
    position: relative;
}

.hero-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    padding-bottom: 2px;
}

.hero-track:active {
    cursor: grabbing;
}

.hero-track::-webkit-scrollbar {
    display: none;
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    aspect-ratio: 16 / 7; /* Ultra-Wide Cinema Hub */
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: 22px;
    /* Ultra-Precision Anti-Artifact Masking */
    mask-image: radial-gradient(white, black);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    outline: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #080c15;
}

/* The 1px frame is drawn over the picture: a frame painted as a border-box background
   plus the inner (padding-box) clip let the dark fill show through anti-aliased corners.
   Both ::before and ::after of .hero-slide are taken, so the frame is its own element. */
.hero-frame {
    position: absolute;
    inset: 0;
    z-index: 3;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(255, 216, 107, 0.35) 0%,
            rgba(255, 216, 107, 0.1) 25%,
            rgba(255, 184, 26, 0.35) 50%,
            rgba(255, 184, 26, 0.1) 75%,
            rgba(255, 216, 107, 0.35) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* High-Contrast Horizontal Content Protection */
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(0, 0, 0, 0.12) 28%,
            rgba(0, 0, 0, 0.45) 42%,
            rgba(0, 0, 0, 0.85) 55%,
            rgba(0, 0, 0, 0.96) 69%,
            #000 84%,
            #000 100%
    );
    z-index: 1;
}

.hero-slide::after {
    display: none; /* Removed vertical gradient as requested for cleaner lower surface */
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    filter: brightness(1); /* Original High-Fidelity Light Restored */
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 14px;
    text-align: right;
}

.hero-top {
    max-width: 58%;
    margin-left: auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #dff2ff;
    margin-bottom: 8px;
}

.hero-slide .hero-title {
    margin: 0;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffe88a;
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 220px;
}

.hero-slide p {
    margin: 7px 0 0;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    color: #bad0f2;
    max-width: 205px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-bottom {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}

.hero-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 78px;
    width: 78px;
    height: 38px;
    padding: 0 12px;
    box-sizing: border-box;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    white-space: nowrap;
}

.hero-countdown.is-day-label {
    flex: 0 1 auto;
    width: auto;
}

.btn {
    border: none;
    border-radius: 12px;
    height: var(--adaptive-btn-height, 38px);
    padding: var(--adaptive-btn-padding, 0 14px);
    font-weight: 800;
    font-size: var(--adaptive-btn-font-size, 12px);
    letter-spacing: 0.01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary,
.btn-yellow {
    color: #03111f;
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
    box-shadow: 0 4px 14px rgba(255, 159, 10, 0.28);
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
}

.btn-blue,
.buy-btn {
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(70, 166, 255, 0.2);
}

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.hero-dots span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots span.active {
    width: 20px;
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
}

.section {
    margin-bottom: var(--adaptive-section-gap, 24px);
}

.faq-section {
    margin-bottom: 8px;
}

.catalog-about {
    margin-top: 20px;
}

/* Thin divider between the product grid and the category text. */
.catalog-about:has(.section) {
    position: relative;
    margin-top: 26px;
    padding-top: 22px;
}

.catalog-about:has(.section)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(143, 163, 199, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
}

.catalog-about-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: -4px 0 10px;
}

/* Gold SVG stars from product_reviews_stars_html(), the same look as .p-stars on the product page. */
.nd-rating-stars {
    display: inline-flex;
    gap: 2px;
    color: #ffe88a;
    filter: drop-shadow(0 0 6px rgba(255, 159, 10, 0.25));
}

.nd-rating-stars svg {
    display: block;
    fill: url(#ndGoldGradient);
}

.catalog-about-rating-value {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.catalog-about-rating-count {
    font-size: 11px;
    font-weight: 600;
    color: #bad0f2;
}

.catalog-about-text {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
    color: #bad0f2;
}

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

.chips-wrap {
    position: relative;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.section-link {
    font-size: 12px;
    color: var(--blue);
    font-weight: 700;
}

.chips {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 10px 2px 0;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 34px), transparent 100%);
}

.chips:active {
    cursor: grabbing;
}

.chips::-webkit-scrollbar {
    display: none;
}

.recent-vertical {
    height: 102px;
    overflow: hidden;
    position: relative;
    border-radius: 14px;
    mask-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0.42) 58%,
    rgba(0, 0, 0, 0.12) 84%,
    rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0.42) 58%,
    rgba(0, 0, 0, 0.12) 84%,
    rgba(0, 0, 0, 0) 100%);
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateY(0);
    will-change: transform;
}

.recent-list.is-animating {
    transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    transform: translateY(-38px);
}

.faq-cta {
    text-align: center;
    padding: 10px 20px 40px 20px;
    background: linear-gradient(to bottom, transparent, rgba(10, 16, 29, 0.5));
}

.faq-cta-text {
    color: rgba(143, 163, 199, 0.6);
    font-size: 13px;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.btn-support-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(22, 33, 54, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-support-cta:hover {
    background: rgba(30, 45, 75, 1);
    border-color: rgba(94, 162, 251, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(94, 162, 251, 0.15);
}

.btn-support-cta svg {
    color: #5ea2fb;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 36px;
    margin-top: -4px;
    padding-bottom: 0px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.payment-icon {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.12;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(1) brightness(1.2);
}

.payment-icon.visa-slot {
    justify-content: flex-end;
}

.payment-icon.mir-slot {
    justify-content: flex-start;
}

.payment-icon:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1) drop-shadow(0 0 10px rgba(70, 166, 255, 0.6));
}

.payment-icon svg,
.payment-icon img {
    height: 100%;
    width: auto;
    fill: #fff;
}

.payment-icon.visa {
    height: 73px;
}

.payment-icon.master {
    height: 26px;
}

.payment-icon.mir {
    height: 24px;
}

footer {
    padding: 4px 20px 40px 20px;
    background: #0a101d;
    text-align: center;
    position: relative;
}


.recent-row {
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #dce8ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-name {
    opacity: 0.82;
    margin-right: 4px;
    flex-shrink: 0;
}

.recent-verb {
    opacity: 0.62;
    margin-right: 4px;
    flex-shrink: 0;
}

.recent-item-name {
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-time {
    margin-left: 4px;
    color: #8fa3c7;
    font-weight: 600;
    flex-shrink: 0;
}

.recent-name,
.recent-verb,
.recent-item-name,
.recent-time {
    position: relative;
    top: -1px;
}

.chip {
    flex: 0 0 auto;
    height: var(--adaptive-chip-height, 38px);
    padding: var(--adaptive-chip-padding, 0 14px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #dce8ff;
    font-size: var(--adaptive-chip-font-size, 13px);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    transition: transform 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, border-color 0.2s ease;
    backface-visibility: hidden;
    will-change: transform;
    -webkit-font-smoothing: antialiased;
}

.chip:active {
    transform: scale(0.95);
}

.chip img {
    display: none;
}

.chip.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
}

.products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product {
    position: relative;
    border-radius: var(--adaptive-card-radius, 20px);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(19, 31, 57, 0.98), rgba(11, 18, 32, 0.98));
    /* РЈР±СЂР°Р»Рё С‚РµРЅСЊ РґР»СЏ СЃРѕРѕС‚РІРµС‚СЃС‚РІРёСЏ СЃС‚РёР»СЋ Flat 2.0 РЅР° РіР»Р°РІРЅРѕР№ */
    box-shadow: none;
    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

/* 1px frame over the card (and its picture), so the picture is clipped once by the outer
   radius; a border-box background frame let the dark fill show in the top corners. */
.product::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20; /* above the buy button (10), clicks pass through */
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg,
            rgba(70, 166, 255, 0.35) 0%,
            rgba(70, 166, 255, 0.1) 25%,
            rgba(111, 124, 255, 0.35) 50%,
            rgba(111, 124, 255, 0.1) 75%,
            rgba(70, 166, 255, 0.35) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.product:active {
    transform: scale(0.97);
}

.product.product-card-v2.button-active:active {
    transform: none !important;
}

.product.product-card-v2:has(.buy-btn:active):active,
.product.product-card-v2:has(.q-btn:active):active {
    transform: none !important;
}

.product-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--card);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-tag {
    position: absolute;
    top: 0;
    right: 0;
    height: var(--adaptive-tag-height, 20px);
    padding: 0 12px 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    --tag-accent: #00f2ff;
    --tag-border-color: rgba(0, 242, 255, 0.25);
    background:
        linear-gradient(rgba(19, 31, 57, 0.98), rgba(19, 31, 57, 0.98)) padding-box,
        linear-gradient(var(--tag-border-color), var(--tag-border-color)) border-box;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-top: none;
    border-right: none;
    border-radius: 0 0 0 10px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-shadow: none;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.product-tag::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--tag-accent);
    box-shadow: 0 0 2px var(--tag-accent);
    display: block;
    animation: tag-dot-pulse 2s infinite ease-in-out;
}

.product-tag::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -140%;
    width: 42%;
    height: 180%;
    transform: rotate(24deg);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.16) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    animation: product-badge-glint 5s ease-in-out infinite;
}

.product-tag.cyan {
    --tag-accent: #00f2ff;
    --tag-border-color: rgba(0, 242, 255, 0.25);
}

.product-tag.green {
    --tag-accent: #00ff88;
    --tag-border-color: rgba(0, 255, 136, 0.25);
}



.product-tag.purple {
    --tag-accent: #e040fb;
    --tag-border-color: rgba(224, 64, 251, 0.25);
}

@keyframes tag-dot-pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 2px var(--tag-accent); }
    50% { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 4px var(--tag-accent); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 2px var(--tag-accent); }
}

@keyframes product-badge-glint {
    0%, 30%, 100% {
        left: -140%;
        opacity: 0;
    }
    34% {
        opacity: 0.85;
    }
    50% {
        left: 165%;
        opacity: 0;
    }
}


.product-corner {
    position: absolute;
    bottom: 8px;
    left: 8px;
    min-width: 28px;
    height: var(--adaptive-corner-height, 26px);
    padding: 0 10px; /* Symmetrical Padding HUD Fix */
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 13, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 2;
    color: #fff;
    font-size: var(--adaptive-corner-font-size, 11px);
    font-weight: 800;
}

.product-corner.timer {
    color: #ff6a8e;
    text-shadow: 0 0 8px rgba(255, 106, 142, 0.6);
    border-color: rgba(255, 106, 142, 0.2);
}

.product-corner.empty {
    display: none;
}

/* Product card v2 unified badge/timer skin */
.product.product-card-v2 .product-tag {
    top: 0;
    right: 0;
    height: 20px;
    padding: 0 12px 0 10px;
    border-radius: 0 0 0 10px;
    line-height: 1;
    text-align: center;
    background:
        linear-gradient(rgba(19, 31, 57, 0.98), rgba(19, 31, 57, 0.98)) padding-box,
        linear-gradient(var(--tag-border-color), var(--tag-border-color)) border-box !important;
    border-left: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-top: none;
    border-right: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-transform: uppercase;
    box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.4);
}

.product.product-card-v2 .product-tag.cyan {
    --tag-accent: #00f2ff;
    --tag-border-color: rgba(0, 242, 255, 0.25);
}

.product.product-card-v2 .product-tag.green {
    --tag-accent: #00ff88;
    --tag-border-color: rgba(0, 255, 136, 0.25);
}

.product.product-card-v2 .product-tag.purple {
    --tag-accent: #e040fb;
    --tag-border-color: rgba(224, 64, 251, 0.25);
}

.product.product-card-v2 .product-corner {
    width: 62px !important;
    min-width: 62px;
    height: 26px;
    padding: 0 8px 1px;
    border-radius: 8px;
    line-height: 1;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    background: rgba(7, 13, 25, 0.85) !important;
}

.product.product-card-v2 .product-corner.timer .timer-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 1;
    color: #ff6a8e;
    text-shadow: 0 0 8px rgba(255, 106, 142, 0.2);
}

@supports (-webkit-touch-callout: none) {
    .product.product-card-v2 .product-corner.timer .timer-text {
        padding-top: 0.5px;
    }
}

.product.product-card-v2 .product-corner.timer .timer-text.pulse {
    animation: product-card-timer-glow 2s ease-in-out infinite;
}

@keyframes product-card-timer-glow {
    0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(255, 106, 142, 0.4); }
    50% { opacity: 0.5; text-shadow: 0 0 2px rgba(255, 106, 142, 0.2); }
}

/* Product card v2 buy button + counter */
.product.product-card-v2 .buy-btn {
    position: relative;
    z-index: 10;
    overflow: hidden;
    width: 100% !important;
    border: none;
    border-top: 1px solid transparent !important;
    border-radius: 0 !important;
    min-height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0 !important;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: none !important;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, box-shadow 0.2s ease;
    backface-visibility: hidden;
    will-change: transform;
    -webkit-font-smoothing: antialiased;
    pointer-events: auto;
}

.product.product-card-v2 .buy-btn:not(.is-counter)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 45%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    transform: skewX(-20deg);
    pointer-events: none;
    animation: product-card-buy-shimmer 3s linear infinite;
}

.product.product-card-v2 .buy-btn.is-counter::after {
    display: none;
}

.product.product-card-v2 .buy-btn:active {
    transform: none !important;
    opacity: 0.85;
}

.product.product-card-v2 .buy-btn.is-counter {
    padding: 0 !important;
    background: rgba(70, 166, 255, 0.08) !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-top: 1px solid rgba(70, 166, 255, 0.15) !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    overflow: hidden !important;
    cursor: default !important;
    width: 100% !important;
    min-height: 40px !important;
    margin-top: 0 !important;
    border-radius: 0 !important;
}

.product.product-card-v2 .q-btn {
    width: 44px;
    align-self: stretch;
    margin: 0;
    display: grid;
    place-items: center;
    background: rgba(70, 166, 255, 0.05);
    color: var(--blue);
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    line-height: 1;
    padding-bottom: 2px;
    transition: all 0.2s ease;
}

.product.product-card-v2 .q-btn:active {
    background: rgba(70, 166, 255, 0.2);
    color: #fff;
    transform: scale(0.9) !important;
}

.product.product-card-v2 .q-value {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@keyframes product-card-buy-shimmer {
    0% { left: -45%; }
    100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
    .product.product-card-v2 .buy-btn:not(.is-counter)::after {
        animation: none;
    }
}

.product-body {
    padding: 8px 8px 10px;
}

.product-title {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.product-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.price-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 32px; /* Reserves space for 2 lines */
}

.price {
    font-size: 15px;
    font-weight: 850;
    letter-spacing: -0.03em;
    color: #ffe88a;
    background: linear-gradient(135deg, #ffe88a 0%, #ff9f0a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(255, 159, 10, 0.2);
}

.old-price {
    font-size: 11px;
    color: #7f91b3;
    text-decoration: line-through;
    margin-top: 2px;
}

.old-price.is-hidden {
    visibility: hidden;
    display: block;
}

/* Product Card Unified v2 */
.product.product-card-v2 .product-body {
    padding: 8px 8px 13px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.product.product-card-v2 .product-title {
    margin: 0 0 10px 0;
    font-size: 12px;
    font-weight: 800;
}

.main-popular-products .product.product-card-v2 .product-title,
.cart-popular-products .product.product-card-v2 .product-title {
    font-size: 13px;
}

.catalog-page .product.product-card-v2 .product-title,
.tags-page .product.product-card-v2 .product-title {
    font-size: 13px;
}

.product-page-content .p-slider-track-new .product.product-card-v2 .product-title {
    font-size: 13px;
}

.product.product-card-v2 .price-wrap {
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    min-height: 16px;
}

.product.product-card-v2 .price {
    line-height: 16px;
}

.product.product-card-v2 .discount-badge {
    background: #e32636;
    color: #fff;
    border-radius: 4px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: 700;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 14px;
    text-align: center;
    box-sizing: border-box;
    transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
    .product-tag::after {
        animation: none;
    }
}

.product.product-card-v2 .old-price {
    margin-top: 0;
}

.product.product-card-v2 .old-price.is-hidden {
    display: block;
    visibility: hidden;
}

.product.product-card-v2 {
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.product.product-card-v2 .product-meta {
    margin-top: auto;
}

@media (max-width: 430px) {
    :root {
        --adaptive-section-gap: 22px;
        --adaptive-btn-height: 37px;
        --adaptive-btn-padding: 0 13px;
        --adaptive-btn-font-size: 12px;
        --adaptive-chip-height: 36px;
        --adaptive-chip-padding: 0 13px;
        --adaptive-chip-font-size: 12px;
        --adaptive-card-radius: 18px;
        --adaptive-tag-height: 22px;
        --adaptive-tag-font-size: 9px;
        --adaptive-corner-height: 24px;
        --adaptive-corner-font-size: 10px;
    }
}

@media (max-width: 400px) {
    :root {
        --adaptive-section-gap: 20px;
        --adaptive-btn-height: 36px;
        --adaptive-btn-padding: 0 12px;
        --adaptive-btn-font-size: 11px;
        --adaptive-chip-height: 34px;
        --adaptive-chip-padding: 0 12px;
        --adaptive-chip-font-size: 12px;
        --adaptive-card-radius: 18px;
        --adaptive-tag-height: 20px;
        --adaptive-tag-font-size: 9px;
        --adaptive-corner-height: 24px;
        --adaptive-corner-font-size: 10px;
    }

    .chips {
        gap: 8px;
    }

    .hero-slide {
        aspect-ratio: 16 / 7;
    }

    .hero-content {
        padding: 10px;
    }

    .hero-top {
        max-width: 60%;
    }

    .hero-slide .hero-title {
        font-size: clamp(17px, 5.3vw, 21px);
        line-height: 1.04;
        max-width: 100%;
    }

    .hero-slide p {
        display: -webkit-box;
        font-size: clamp(10px, 3.1vw, 12px);
        line-height: 1.22;
        max-width: 100%;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .badge {
        min-height: 20px;
        font-size: 9px;
        line-height: 1;
        padding: 4px 8px 2px;
        margin-bottom: 6px;
    }

    .hero-bottom {
        gap: 6px;
    }

    .hero-actions {
        gap: 6px;
    }

    .hero-actions .btn {
        height: 32px;
        padding: 0 10px;
        border-radius: 10px;
        font-size: 11px;
    }

    .hero-countdown {
        flex-basis: 68px;
        width: 68px;
        height: 32px;
        padding: 0 9px;
        border-radius: 10px;
        font-size: 11px;
    }

    .hero-countdown.is-day-label {
        flex-basis: auto;
        width: auto;
    }

    .chip {
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .product.product-card-v2 .price-wrap {
        white-space: nowrap;
        gap: 4px;
    }

    .product.product-card-v2 .price {
        font-size: clamp(12px, 3.6vw, 15px);
        line-height: 1;
    }

    .product.product-card-v2 .discount-badge {
        font-size: 9px;
        height: 14px;
        padding: 0 4px;
    }

    .product.product-card-v2 .old-price {
        font-size: 10px;
    }

    .product.product-card-v2 .product-tag {
        top: 0;
        right: 0;
        height: 20px;
        padding: 0 9px 0 8px;
        border-radius: 0 0 0 10px;
        font-size: 9px;
    }

    .product.product-card-v2 .product-corner {
        bottom: 6px;
        left: 6px;
        width: 56px !important;
        min-width: 56px;
        height: 24px;
        padding: 0 6px 1px;
        border-radius: 7px;
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    :root {
        --adaptive-section-gap: 18px;
        --adaptive-btn-height: 34px;
        --adaptive-btn-padding: 0 11px;
        --adaptive-btn-font-size: 11px;
        --adaptive-chip-height: 32px;
        --adaptive-chip-padding: 0 10px;
        --adaptive-chip-font-size: 11px;
        --adaptive-card-radius: 16px;
        --adaptive-tag-height: 18px;
        --adaptive-tag-font-size: 8px;
        --adaptive-corner-height: 22px;
        --adaptive-corner-font-size: 9px;
    }

    .hero-slide .hero-title {
        font-size: 18px;
        max-width: 170px;
    }

    .hero-slide p {
        max-width: 160px;
    }

    .product.product-card-v2 .product-tag {
        height: 18px;
        padding: 0 8px 0 7px;
        border-radius: 0 0 0 9px;
        font-size: 8px;
    }

    .product.product-card-v2 .product-corner {
        width: 52px !important;
        min-width: 52px;
        height: 22px;
        font-size: 9px;
    }
}

/* iOS Safari optical baseline fix for badge text */
@supports (-webkit-touch-callout: none) {
    .product-tag {
        line-height: 1.05;
        padding-top: 1px;
    }
}

/* Footer Divider & Payment Methods */
.footer-divider {
    display: block;
    height: 1px;
    background: rgba(255, 255, 255, 0.04);
    margin: 28px 0 12px;
    border: none;
    width: 100%;
}

.app-footer--mini .footer-divider,
.mini-footer .footer-divider {
    margin-bottom: 24px;
}

.app-footer--mini {
    color: inherit;
}
.payment-methods-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: center;
    gap: 0;
    margin: 0 auto 10px;
    max-width: 280px;
    padding: 0;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.12;
    transition: all 0.4s ease;
    filter: grayscale(1) brightness(1.2);
}

.payment-icon svg, .payment-icon img {
    height: 100%;
    width: auto;
    fill: #fff;
}

.payment-icon.visa { height: 73px !important; }
.payment-icon.master { height: 24px; }
.payment-icon.mir { height: 26px; }

/* --- UNIVERSAL AVATAR STANDARD --- 
   The flagship look for users without uploaded photos.
   Gradient + Letter + Optical Centering
*/
.avatar-standard:not([class*="lvl-"]):not([class*="fms-frame-"]) {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2346a6ff'/%3E%3Cstop offset='100%25' stop-color='%236f7cff'/%3E%3C/linearGradient%3E%3Crect width='100%25' height='100%25' fill='url(%23g)'/%3E%3C/svg%3E") no-repeat center / cover !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    color: #03111f !important;
    font-weight: 900 !important;
    line-height: normal !important;
    padding: 0 0 1px 1px !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    filter: none !important;
    -webkit-filter: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.app-footer {
    position: relative;
    margin: 0 -14px 0;
    padding: 0 20px 0;
    background: linear-gradient(to bottom, transparent, rgba(94, 162, 251, 0.04) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-brand {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(90deg, #fff 0%, #8fa3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.footer-copy {
    text-align: center;
    font-size: 8px;
    font-weight: 500;
    color: rgba(143, 163, 199, 0.4);
    line-height: 1.5;
    text-transform: uppercase;
    max-width: 300px;
    margin: 0;
}

@media (max-width: 640px) {
    img[src*="fms-coin-logo.svg"] {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128' fill='none'%3E%3Ccircle cx='64' cy='64' r='54' fill='%23FFE06B'/%3E%3Ccircle cx='64' cy='64' r='46' fill='%23FFF3A0'/%3E%3Ccircle cx='64' cy='64' r='35' fill='%23A9F08B' opacity='.26'/%3E%3Cg transform='translate(28 29) scale(3)' stroke='%23203128' stroke-width='2.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2 2 7l10 5 10-5-10-5Z'/%3E%3Cpath d='m2 12 10 5 10-5' opacity='.86'/%3E%3Cpath d='m2 17 10 5 10-5' opacity='.68'/%3E%3C/g%3E%3C/svg%3E");
    }
}

@media (max-width: 767px) {
    .p-fms-cashback-boost,
    .summary-fms-boost-badge,
    .action-boost-badge,
    .fms-boost-mini-badge,
    .btn-extra-boost-chip {
        height: 20px !important;
        min-height: 20px !important;
        padding: 2px 8px 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        line-height: 1 !important;
        vertical-align: middle !important;
        transform: none !important;
    }

    .summary-fms-boost-badge,
    .fms-boost-mini-badge {
        height: 19px !important;
        min-height: 19px !important;
        padding-top: 2px !important;
    }
}









