/* ============================================================
   REZODDS DESIGN SYSTEM  —  rez.css
   Mobile-first. Dark navy surface + green brand accent.
   All classes namespaced `rz-` so they never collide with
   the legacy marez2.css still serving un-migrated pages.
   ============================================================ */

/* ---------- 1. TOKENS ------------------------------------- */
:root {
    /* surfaces */
    --rz-bg:          #0b1524;
    --rz-bg-2:        #0f1b2d;
    --rz-surface:     #142236;
    --rz-surface-2:   #1b2c44;
    --rz-surface-3:   #22364f;
    --rz-line:        rgba(255, 255, 255, .08);
    --rz-line-strong: rgba(255, 255, 255, .16);

    /* brand + semantics */
    --rz-brand:       #16c47f;
    --rz-brand-dk:    #0fa568;
    --rz-brand-soft:  rgba(22, 196, 127, .14);
    --rz-gold:        #f5b301;
    --rz-gold-soft:   rgba(245, 179, 1, .14);
    --rz-lost:        #ef4444;
    --rz-lost-soft:   rgba(239, 68, 68, .14);
    --rz-info:        #38bdf8;
    --rz-info-soft:   rgba(56, 189, 248, .14);

    /* ink */
    --rz-ink:         #eef4fb;
    --rz-ink-2:       #9fb0c6;
    --rz-ink-3:       #6d7f96;

    /* type */
    --rz-font:        'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* geometry */
    --rz-r-sm:        8px;
    --rz-r:           14px;
    --rz-r-lg:        20px;
    --rz-r-pill:      999px;

    /* elevation */
    --rz-sh-1:        0 1px 2px rgba(0, 0, 0, .35);
    --rz-sh-2:        0 4px 16px rgba(0, 0, 0, .35);
    --rz-sh-3:        0 12px 32px rgba(0, 0, 0, .45);

    /* layout metrics */
    --rz-container:   1200px;
    --rz-gutter:      16px;
    --rz-header-h:    60px;
    --rz-tabbar-h:    62px;

    --rz-ease:        cubic-bezier(.4, 0, .2, 1);
}

@media (min-width: 768px) {
    :root { --rz-gutter: 24px; --rz-header-h: 72px; }
}

/* ---------- 2. RESET / BASE ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* offset anchor jumps so the sticky header never covers a heading */
    scroll-padding-top: calc(var(--rz-header-h) + 12px);
}

body.rz {
    margin: 0;
    font-family: var(--rz-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--rz-ink);
    background: var(--rz-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* clears the fixed mobile tab bar; reset at desktop below */
    padding-bottom: calc(var(--rz-tabbar-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
    body.rz { padding-bottom: 0; }
}

body.rz.is-locked { overflow: hidden; }

.rz h1, .rz h2, .rz h3, .rz h4, .rz h5 {
    margin: 0;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.01em;
}

.rz p  { margin: 0 0 1em; }
.rz p:last-child { margin-bottom: 0; }
.rz a  { color: inherit; text-decoration: none; }
.rz img { max-width: 100%; height: auto; display: block; }
.rz ul, .rz ol { margin: 0; padding: 0; }
.rz li { list-style: none; }

.rz button,
.rz input,
.rz select,
.rz textarea { font: inherit; color: inherit; }

.rz :focus-visible {
    outline: 2px solid var(--rz-brand);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Respect users who ask for less motion. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rz *, .rz *::before, .rz *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- 3. LAYOUT ------------------------------------- */
.rz-container {
    width: 100%;
    max-width: var(--rz-container);
    margin-inline: auto;
    padding-inline: var(--rz-gutter);
}

.rz-section { padding-block: 28px; }
.rz-section--tight { padding-block: 18px; }

@media (min-width: 768px) {
    .rz-section { padding-block: 44px; }
}

/* Section heading: title on the left, optional action on the right. */
.rz-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.rz-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 1.05rem;
    font-weight: 800;
}

.rz-section-title i { color: var(--rz-brand); font-size: .95em; }

.rz-section-title small {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    color: var(--rz-ink-3);
    letter-spacing: .02em;
}

.rz-section-link {
    font-size: .8rem;
    font-weight: 700;
    color: var(--rz-brand);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.rz-section-link:hover { color: var(--rz-ink); }

@media (min-width: 768px) {
    .rz-section-title { font-size: 1.3rem; }
}

/* ---------- 4. UTILITIES ---------------------------------- */
.rz-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;
}

/* Visibility utilities only ever *remove* an element, so they never have to
   guess the display value a component wants back at the larger breakpoint. */
@media (max-width: 767px)  { .rz-hide-mobile  { display: none !important; } }
@media (max-width: 767px)  { .rz-only-desktop { display: none !important; } }
@media (min-width: 1024px) { .rz-only-mobile  { display: none !important; } }

.rz-scroll-x {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* bleed to the screen edges on mobile so cards run off-screen */
    margin-inline: calc(var(--rz-gutter) * -1);
    padding-inline: var(--rz-gutter);
    padding-bottom: 4px;
}

.rz-scroll-x::-webkit-scrollbar { display: none; }
.rz-scroll-x > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ---------- 5. BUTTONS ------------------------------------ */
.rz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: var(--rz-r-pill);
    background: var(--rz-surface-2);
    color: var(--rz-ink);
    font-size: .875rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .15s var(--rz-ease),
                background .2s var(--rz-ease),
                border-color .2s var(--rz-ease),
                opacity .2s var(--rz-ease);
}

.rz-btn:active { transform: scale(.97); }

.rz-btn:disabled,
.rz-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.rz-btn--primary {
    background: linear-gradient(135deg, var(--rz-brand) 0%, var(--rz-brand-dk) 100%);
    color: #04170f;
    box-shadow: 0 4px 14px rgba(22, 196, 127, .28);
}

.rz-btn--primary:hover { filter: brightness(1.07); }

.rz-btn--gold {
    background: linear-gradient(135deg, var(--rz-gold) 0%, #d99a00 100%);
    color: #1b1200;
    box-shadow: 0 4px 14px rgba(245, 179, 1, .26);
}

.rz-btn--gold:hover { filter: brightness(1.07); }

.rz-btn--ghost {
    background: transparent;
    border-color: var(--rz-line-strong);
    color: var(--rz-ink);
}

.rz-btn--ghost:hover {
    border-color: var(--rz-brand);
    color: var(--rz-brand);
}

.rz-btn--sm  { padding: 8px 14px;  font-size: .78rem; gap: 6px; }
.rz-btn--lg  { padding: 14px 26px; font-size: .95rem; }
.rz-btn--block { display: flex; width: 100%; }

/* Square icon-only button, used for copy / share / dismiss. */
.rz-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid var(--rz-line);
    border-radius: 10px;
    background: var(--rz-surface-2);
    color: var(--rz-ink-2);
    cursor: pointer;
    transition: color .2s var(--rz-ease),
                border-color .2s var(--rz-ease),
                background .2s var(--rz-ease);
}

.rz-icon-btn:hover {
    color: var(--rz-brand);
    border-color: var(--rz-brand);
    background: var(--rz-brand-soft);
}

.rz-icon-btn.is-done { color: var(--rz-brand); border-color: var(--rz-brand); }

/* ---------- 6. BADGES & PILLS ----------------------------- */
.rz-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: var(--rz-r-pill);
    background: var(--rz-surface-2);
    border: 1px solid var(--rz-line);
    color: var(--rz-ink-2);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rz-badge--brand { background: var(--rz-brand-soft); border-color: rgba(22,196,127,.35); color: var(--rz-brand); }
.rz-badge--gold  { background: var(--rz-gold-soft);  border-color: rgba(245,179,1,.35);  color: var(--rz-gold); }
.rz-badge--lost  { background: var(--rz-lost-soft);  border-color: rgba(239,68,68,.35);  color: var(--rz-lost); }
.rz-badge--info  { background: var(--rz-info-soft);  border-color: rgba(56,189,248,.35); color: var(--rz-info); }

/* A live/now indicator: a dot that quietly pulses. */
.rz-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rz-brand);
    flex: 0 0 auto;
    animation: rz-pulse 1.8s var(--rz-ease) infinite;
}

@keyframes rz-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(22, 196, 127, .6); }
    70%  { box-shadow: 0 0 0 7px rgba(22, 196, 127, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 196, 127, 0); }
}

/* ---------- 7. CARD SHELL --------------------------------- */
.rz-card {
    background: var(--rz-surface);
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r);
    box-shadow: var(--rz-sh-1);
    overflow: hidden;
    transition: border-color .2s var(--rz-ease),
                transform .2s var(--rz-ease),
                box-shadow .2s var(--rz-ease);
}

@media (hover: hover) {
    .rz-card--hover:hover {
        border-color: var(--rz-line-strong);
        transform: translateY(-2px);
        box-shadow: var(--rz-sh-2);
    }
}

/* ---------- 8. LOADING & EMPTY STATES --------------------- */
.rz-skeleton {
    position: relative;
    overflow: hidden;
    background: var(--rz-surface-2);
    border-radius: var(--rz-r-sm);
}

.rz-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, .06) 50%,
        transparent 100%);
    animation: rz-shimmer 1.4s infinite;
}

@keyframes rz-shimmer { to { transform: translateX(100%); } }

.rz-skel-line   { height: 12px; margin-bottom: 9px; }
.rz-skel-line.w-60 { width: 60%; }
.rz-skel-line.w-40 { width: 40%; }
.rz-skel-card   { height: 168px; border-radius: var(--rz-r); }

.rz-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid var(--rz-line-strong);
    border-top-color: var(--rz-brand);
    border-radius: 50%;
    animation: rz-spin .8s linear infinite;
    margin: 0 auto;
}

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

.rz-state {
    padding: 40px 20px;
    text-align: center;
    color: var(--rz-ink-2);
    grid-column: 1 / -1;
}

.rz-state i { font-size: 2rem; color: var(--rz-ink-3); margin-bottom: 12px; display: block; }
.rz-state h3 { font-size: 1rem; margin-bottom: 6px; color: var(--rz-ink); }
.rz-state p  { font-size: .85rem; margin-bottom: 16px; }

/* ============================================================
   9. NAVIGATION
   Three coordinated pieces:
     .rz-header  — sticky top bar (all sizes)
     .rz-drawer  — slide-in panel, the full menu on mobile
     .rz-tabbar  — fixed bottom bar, primary mobile destinations
   ============================================================ */

.rz-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--rz-header-h);
    background: rgba(11, 21, 36, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rz-line);
}

.rz-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    min-width: 0;
}

.rz-logo { flex: 0 0 auto; display: flex; align-items: center; }
.rz-logo img { height: 30px; width: auto; }

@media (min-width: 768px) { .rz-logo img { height: 38px; } }

/* --- desktop inline nav --- */
.rz-nav { display: none; }

@media (min-width: 1024px) {
    /* Fluid so every item stays on one line, from 1024px up. */
    .rz-nav {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        margin-inline: auto;
    }

    .rz-nav ul {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(0px, .3vw, 4px);
    }

    .rz-nav a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
        padding: 9px clamp(7px, .85vw, 13px);
        border-radius: var(--rz-r-pill);
        font-size: clamp(.78rem, .68vw + .18rem, .85rem);
        font-weight: 700;
        color: var(--rz-ink-2);
        transition: color .2s var(--rz-ease), background .2s var(--rz-ease);
    }

    /* Text-only nav on large screens — icons live in the drawer/tabbar. */
    .rz-nav a i { display: none; }

    .rz-nav a:hover { color: var(--rz-ink); background: var(--rz-surface-2); }

    .rz-nav a.active {
        color: var(--rz-brand);
        background: var(--rz-brand-soft);
    }

    .rz-nav .rz-badge {
        padding: 2px 6px;
        font-size: .6rem;
        line-height: 1.4;
    }
}

/* --- right-hand actions --- */
.rz-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex: 0 0 auto;
}

/* Reclaim width for the nav on narrower desktops. */
@media (min-width: 1024px) and (max-width: 1199px) {
    .rz-header__inner { gap: 8px; }
    .rz-logo img { height: 32px; }
    .rz-user__name { display: none; }
}

.rz-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--rz-line);
    border-radius: 11px;
    background: var(--rz-surface-2);
    color: var(--rz-ink);
    font-size: 1.05rem;
    cursor: pointer;
}

@media (min-width: 1024px) { .rz-burger { display: none; } }

/* --- user chip + dropdown (desktop) --- */
.rz-user { position: relative; }

.rz-user__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r-pill);
    background: var(--rz-surface-2);
    cursor: pointer;
}

.rz-user__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--rz-brand), var(--rz-brand-dk));
    color: #04170f;
    font-size: .78rem;
    font-weight: 900;
    flex: 0 0 28px;
}

.rz-user__name {
    font-size: .82rem;
    font-weight: 800;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-user__caret { font-size: .7rem; color: var(--rz-ink-3); transition: transform .2s var(--rz-ease); }
.rz-user.is-open .rz-user__caret { transform: rotate(180deg); }

.rz-user__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    padding: 8px;
    background: var(--rz-surface);
    border: 1px solid var(--rz-line-strong);
    border-radius: var(--rz-r);
    box-shadow: var(--rz-sh-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s var(--rz-ease),
                transform .18s var(--rz-ease),
                visibility .18s var(--rz-ease);
}

.rz-user.is-open .rz-user__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.rz-user__head { padding: 10px 12px 12px; }
.rz-user__email {
    font-size: .78rem;
    color: var(--rz-ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}

.rz-user__menu hr { border: 0; border-top: 1px solid var(--rz-line); margin: 4px 0; }

.rz-user__item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 700;
    color: var(--rz-ink-2);
    transition: background .18s var(--rz-ease), color .18s var(--rz-ease);
}

.rz-user__item i { width: 16px; text-align: center; }
.rz-user__item:hover { background: var(--rz-surface-2); color: var(--rz-ink); }
.rz-user__item--danger:hover { background: var(--rz-lost-soft); color: var(--rz-lost); }

/* --- overlay shared by drawer and modals --- */
.rz-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(4, 10, 18, .7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--rz-ease), visibility .25s var(--rz-ease);
}

.rz-overlay.is-open { opacity: 1; visibility: visible; }

/* --- slide-in drawer --- */
.rz-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1010;
    width: min(310px, 86vw);
    display: flex;
    flex-direction: column;
    background: var(--rz-bg-2);
    border-left: 1px solid var(--rz-line);
    box-shadow: var(--rz-sh-3);
    transform: translateX(100%);
    transition: transform .28s var(--rz-ease);
    overscroll-behavior: contain;
}

.rz-drawer.is-open { transform: translateX(0); }

.rz-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px var(--rz-gutter);
    border-bottom: 1px solid var(--rz-line);
    flex: 0 0 auto;
}

.rz-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px var(--rz-gutter) 28px;
}

.rz-drawer__label {
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rz-ink-3);
    margin: 18px 0 8px;
}

.rz-drawer__body > .rz-drawer__label:first-child { margin-top: 0; }

.rz-drawer__link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 13px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 700;
    color: var(--rz-ink-2);
    transition: background .18s var(--rz-ease), color .18s var(--rz-ease);
}

.rz-drawer__link i { width: 20px; text-align: center; font-size: 1rem; opacity: .85; }
.rz-drawer__link:hover { background: var(--rz-surface); color: var(--rz-ink); }

.rz-drawer__link.active {
    background: var(--rz-brand-soft);
    color: var(--rz-brand);
}

.rz-drawer__link .rz-badge { margin-left: auto; }

.rz-drawer__auth {
    display: grid;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--rz-line);
}

/* --- fixed bottom tab bar (mobile only) --- */
.rz-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 890;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    height: calc(var(--rz-tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(15, 27, 45, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--rz-line);
}

@media (min-width: 1024px) { .rz-tabbar { display: none; } }

.rz-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .01em;
    color: var(--rz-ink-3);
    transition: color .2s var(--rz-ease);
}

.rz-tabbar__item i { font-size: 1.12rem; }
.rz-tabbar__item.active { color: var(--rz-brand); }

/* the little bar that marks the current tab */
.rz-tabbar__item.active::before {
    content: '';
    position: absolute;
    top: 0;
    width: 26px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--rz-brand);
}

/* notification dot for e.g. live free coupons */
.rz-tabbar__item .rz-tabbar__dot {
    position: absolute;
    top: 8px;
    left: 50%;
    margin-left: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rz-gold);
    border: 2px solid var(--rz-bg-2);
}

/* ---------- 10. HERO -------------------------------------- */
.rz-hero {
    position: relative;
    overflow: hidden;
    padding-block: 32px 28px;
    background:
        radial-gradient(90% 120% at 12% 0%, rgba(22, 196, 127, .16) 0%, transparent 58%),
        radial-gradient(80% 110% at 95% 10%, rgba(56, 189, 248, .12) 0%, transparent 55%),
        linear-gradient(180deg, var(--rz-bg-2) 0%, var(--rz-bg) 100%);
    border-bottom: 1px solid var(--rz-line);
}

.rz-hero__grid { display: grid; gap: 26px; }

@media (min-width: 992px) {
    .rz-hero { padding-block: 56px 48px; }
    .rz-hero__grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
}

.rz-hero__badges { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }

.rz-hero h1 {
    font-size: clamp(1.75rem, 7vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 12px;
}

.rz-hero h1 .rz-accent {
    background: linear-gradient(135deg, var(--rz-brand) 0%, #4ade80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rz-hero__sub {
    font-size: .95rem;
    color: var(--rz-ink-2);
    max-width: 46ch;
    margin-bottom: 22px;
}

.rz-hero__sub strong { color: var(--rz-ink); font-weight: 800; }

/* 4-up stat strip: 2 columns on phones, 4 from tablet. */
.rz-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

@media (min-width: 560px) { .rz-hero__stats { grid-template-columns: repeat(4, 1fr); } }

.rz-stat {
    padding: 12px 10px;
    text-align: center;
    background: var(--rz-surface);
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r-sm);
}

.rz-stat__value {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--rz-brand);
    line-height: 1.1;
}

.rz-stat__label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--rz-ink-3);
    margin-top: 3px;
}

.rz-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.rz-hero__cta .rz-btn { flex: 1 1 auto; min-width: 150px; }

@media (min-width: 560px) { .rz-hero__cta .rz-btn { flex: 0 0 auto; } }

/* Decorative sample-slip card, desktop only. */
.rz-hero__visual { display: none; }

@media (min-width: 992px) {
    .rz-hero__visual { display: block; }
}

.rz-hero__card {
    background: linear-gradient(160deg, var(--rz-surface-2) 0%, var(--rz-surface) 100%);
    border: 1px solid var(--rz-line-strong);
    border-radius: var(--rz-r-lg);
    padding: 20px;
    box-shadow: var(--rz-sh-3);
    transform: rotate(-1.5deg);
}

.rz-hero__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.rz-hero__odds {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--rz-gold);
}

.rz-hero__match { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.rz-hero__pick  { font-size: .85rem; color: var(--rz-ink-2); margin-bottom: 14px; }

.rz-hero__profit {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: var(--rz-r-sm);
    background: var(--rz-brand-soft);
    color: var(--rz-brand);
    font-weight: 800;
    font-size: .9rem;
}

/* ============================================================
   11. TIPS  —  one row per match.
   Layout, mobile-first:
     [ league ............ date  · status ]
     [ home  logo   SCORE   logo  away    ]
     [ PREDICTION value ......... odds    ]
     [ confidence bar                     ]
     [ analysis btn  |  place bet btn     ]
   ============================================================ */

.rz-tips { display: grid; gap: 12px; }

.rz-tip {
    position: relative;
    background: var(--rz-surface);
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r);
    overflow: hidden;
    transition: border-color .2s var(--rz-ease), transform .2s var(--rz-ease);
}

/* Result is carried by a colour spine on the leading edge, so the
   card reads at a glance without relying on the status word alone. */
.rz-tip::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--rz-ink-3);
}

.rz-tip--won::before  { background: var(--rz-brand); }
.rz-tip--lost::before { background: var(--rz-lost); }

@media (hover: hover) {
    .rz-tip:hover { border-color: var(--rz-line-strong); transform: translateY(-2px); }
}

.rz-tip__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--rz-line);
    background: rgba(255, 255, 255, .015);
}

.rz-tip__league {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-size: .74rem;
    font-weight: 800;
    color: var(--rz-ink-2);
    text-transform: uppercase;
    letter-spacing: .03em;
}

.rz-tip__league i { color: var(--rz-gold); font-size: .8em; }

.rz-tip__league span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-tip__when {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .72rem;
    font-weight: 700;
    color: var(--rz-ink-3);
    white-space: nowrap;
}

/* --- teams row --- */
.rz-tip__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
    padding: 14px;
}

.rz-tip__team {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.rz-tip__team--away { flex-direction: row-reverse; }

.rz-tip__logo {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--rz-surface-2);
    padding: 3px;
    object-fit: contain;
}

.rz-tip__team span {
    font-size: .87rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-tip__team--away span { text-align: right; }

.rz-tip__score {
    min-width: 58px;
    padding: 5px 10px;
    border-radius: var(--rz-r-sm);
    background: var(--rz-surface-2);
    border: 1px solid var(--rz-line);
    text-align: center;
    font-size: .95rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    color: var(--rz-ink-2);
}

.rz-tip--won  .rz-tip__score { color: var(--rz-brand); border-color: rgba(22,196,127,.4); }
.rz-tip--lost .rz-tip__score { color: var(--rz-lost);  border-color: rgba(239,68,68,.4); }

/* --- prediction row --- */
.rz-tip__pick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 14px 12px;
    padding: 11px 13px;
    border-radius: var(--rz-r-sm);
    background: var(--rz-surface-2);
    border: 1px solid var(--rz-line);
}

.rz-tip__pick-main { min-width: 0; }

.rz-tip__pick-label {
    display: block;
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rz-ink-3);
    margin-bottom: 2px;
}

.rz-tip__pick-value {
    display: block;
    font-size: .95rem;
    font-weight: 900;
    color: var(--rz-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-tip__odds {
    flex: 0 0 auto;
    text-align: center;
    padding-inline-start: 12px;
    border-inline-start: 1px solid var(--rz-line);
}

.rz-tip__odds b {
    display: block;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--rz-gold);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.rz-tip__odds small {
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rz-ink-3);
}

/* --- confidence meter --- */
.rz-tip__meter { margin: 0 14px 12px; }

.rz-tip__meter-head {
    display: flex;
    justify-content: space-between;
    font-size: .66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--rz-ink-3);
    margin-bottom: 5px;
}

.rz-tip__meter-head b { color: var(--rz-brand); }

.rz-tip__meter-track {
    height: 5px;
    border-radius: var(--rz-r-pill);
    background: var(--rz-surface-3);
    overflow: hidden;
}

.rz-tip__meter-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--rz-brand-dk), var(--rz-brand));
    transition: width .5s var(--rz-ease);
}

/* --- footer actions --- */
.rz-tip__foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--rz-line);
    background: rgba(0, 0, 0, .12);
}

.rz-tip__foot .rz-btn { width: 100%; }

/* From tablet the card can afford a wider, calmer rhythm. */
@media (min-width: 768px) {
    .rz-tip__teams { padding: 16px 18px; gap: 14px; }
    .rz-tip__logo  { width: 36px; height: 36px; flex-basis: 36px; }
    .rz-tip__team span { font-size: .95rem; }
    .rz-tip__pick, .rz-tip__meter { margin-inline: 18px; }
    .rz-tip__foot  { grid-template-columns: auto auto; justify-content: end; padding-inline: 18px; }
    .rz-tip__foot .rz-btn { width: auto; }
}

/* ============================================================
   12. SLIPS  —  the bet code is the hero of the card.
     [ bookie logo + name ....... status  ]
     [        BET CODE   [copy]           ]
     [ odds | promo | type  (meta strip)  ]
     [ convert  |  bet now                ]
   ============================================================ */

.rz-slips {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px)  { .rz-slips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rz-slips { grid-template-columns: repeat(3, 1fr); } }

.rz-slip {
    display: flex;
    flex-direction: column;
    background: var(--rz-surface);
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r);
    overflow: hidden;
    transition: border-color .2s var(--rz-ease), transform .2s var(--rz-ease);
}

@media (hover: hover) {
    .rz-slip:hover { border-color: var(--rz-line-strong); transform: translateY(-2px); }
}

.rz-slip__top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--rz-line);
    background: linear-gradient(135deg, rgba(22,196,127,.08) 0%, transparent 65%);
}

.rz-slip__logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    object-fit: contain;
}

.rz-slip__bookie { min-width: 0; flex: 1 1 auto; }

.rz-slip__bookie b {
    display: block;
    font-size: .88rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-slip__bookie small { font-size: .7rem; color: var(--rz-ink-3); font-weight: 700; }

/* --- bet code block --- */
.rz-slip__code {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px;
    padding: 12px 14px;
    border-radius: var(--rz-r-sm);
    background: var(--rz-bg);
    border: 1px dashed var(--rz-line-strong);
}

.rz-slip__code-main { flex: 1 1 auto; min-width: 0; }

.rz-slip__code-label {
    display: block;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rz-ink-3);
    margin-bottom: 3px;
}

.rz-slip__code-value {
    display: block;
    font-family: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--rz-brand);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- meta strip --- */
.rz-slip__meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 0 14px 14px;
    background: var(--rz-line);
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r-sm);
    overflow: hidden;
}

.rz-slip__meta-cell {
    padding: 10px 8px;
    text-align: center;
    background: var(--rz-surface-2);
    min-width: 0;
}

.rz-slip__meta-cell small {
    display: block;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rz-ink-3);
    margin-bottom: 3px;
}

.rz-slip__meta-cell b {
    display: block;
    font-size: .82rem;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-slip__meta-cell--odds b { color: var(--rz-gold); font-variant-numeric: tabular-nums; }

/* promo value doubles as a copy target */
.rz-slip__promo {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    border: 0;
    padding: 0;
    background: none;
    color: var(--rz-ink);
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
}

.rz-slip__promo i { font-size: .72em; color: var(--rz-ink-3); flex: 0 0 auto; }
.rz-slip__promo:hover, .rz-slip__promo:hover i { color: var(--rz-brand); }

.rz-slip__promo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rz-slip__foot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding: 12px 14px;
    border-top: 1px solid var(--rz-line);
    background: rgba(0, 0, 0, .12);
}

.rz-slip__foot .rz-btn { width: 100%; }

/* ============================================================
   13. NEWS  —  rail card, grid card, and the article page.
   ============================================================ */

/* --- horizontal rail (home) --- */
.rz-news-rail .rz-news-card { width: 250px; }

.rz-news-card {
    position: relative;
    display: block;
    background: var(--rz-surface);
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r);
    overflow: hidden;
    transition: border-color .2s var(--rz-ease), transform .2s var(--rz-ease);
}

@media (hover: hover) {
    .rz-news-card:hover { border-color: var(--rz-line-strong); transform: translateY(-3px); }
    .rz-news-card:hover .rz-news-card__img img { transform: scale(1.05); }
}

.rz-news-card__img {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--rz-surface-2);
}

.rz-news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--rz-ease);
}

.rz-news-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(11, 21, 36, .85) 100%);
}

.rz-news-card__tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

.rz-news-card__body { padding: 12px 14px 14px; }

.rz-news-card__title {
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 8px;
    /* keep every card in the rail the same height */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rz-news-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--rz-ink-3);
}

.rz-news-card__meta span { display: inline-flex; align-items: center; gap: 5px; }

/* --- news grid (article page / news index) --- */
.rz-news-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
}

@media (min-width: 620px)  { .rz-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rz-news-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 14. ARTICLE PAGE ------------------------------ */
.rz-article { padding-block: 20px 40px; }

.rz-article__layout { display: grid; gap: 32px; }

@media (min-width: 1024px) {
    .rz-article__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
}

.rz-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 16px;
    font-size: .75rem;
    font-weight: 700;
    color: var(--rz-ink-3);
}

.rz-crumbs a:hover { color: var(--rz-brand); }
.rz-crumbs i { font-size: .6rem; }

.rz-article__title {
    font-size: clamp(1.5rem, 5.5vw, 2.4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 14px;
}

.rz-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--rz-line);
    font-size: .78rem;
    font-weight: 700;
    color: var(--rz-ink-3);
}

.rz-article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.rz-article__meta i { color: var(--rz-ink-3); }

.rz-article__hero {
    margin-bottom: 8px;
    border-radius: var(--rz-r);
    overflow: hidden;
    background: var(--rz-surface-2);
}

.rz-article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.rz-article__caption {
    font-size: .75rem;
    font-style: italic;
    color: var(--rz-ink-3);
    margin-bottom: 22px;
}

/* --- long-form prose ---
   Styles land on whatever HTML the CMS stores in `news.content`. */
.rz-prose {
    font-size: 1rem;
    line-height: 1.75;
    color: #d7e2ef;
}

.rz-prose > * + * { margin-top: 1.1em; }

.rz-prose h2,
.rz-prose h3,
.rz-prose h4 {
    color: var(--rz-ink);
    margin-top: 1.8em;
    margin-bottom: .6em;
    line-height: 1.3;
}

.rz-prose h2 { font-size: 1.35rem; }
.rz-prose h3 { font-size: 1.15rem; }
.rz-prose h4 { font-size: 1rem; }

.rz-prose a {
    color: var(--rz-brand);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rz-prose a:hover { color: #4ade80; }

.rz-prose strong { color: var(--rz-ink); font-weight: 800; }

.rz-prose ul, .rz-prose ol { padding-inline-start: 1.3em; }
.rz-prose ul li { list-style: disc; }
.rz-prose ol li { list-style: decimal; }
.rz-prose li { margin-bottom: .5em; }
.rz-prose li::marker { color: var(--rz-brand); }

.rz-prose img,
.rz-prose iframe {
    width: 100%;
    border-radius: var(--rz-r);
    margin-block: 1.4em;
}

.rz-prose iframe { aspect-ratio: 16 / 9; height: auto; border: 0; }

.rz-prose blockquote {
    margin-inline: 0;
    padding: 14px 18px;
    border-inline-start: 3px solid var(--rz-brand);
    border-radius: 0 var(--rz-r-sm) var(--rz-r-sm) 0;
    background: var(--rz-surface);
    color: var(--rz-ink-2);
    font-style: italic;
}

/* Wide tables must scroll inside their own box, never the page. */
.rz-prose .rz-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.rz-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    min-width: 460px;
}

.rz-prose th,
.rz-prose td {
    padding: 10px 12px;
    border: 1px solid var(--rz-line);
    text-align: start;
}

.rz-prose th { background: var(--rz-surface-2); font-weight: 800; color: var(--rz-ink); }

/* --- tags + share --- */
.rz-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 28px;
}

.rz-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--rz-line);
}

.rz-share__label {
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rz-ink-3);
    margin-inline-end: 3px;
}

.rz-share a, .rz-share button { width: 38px; height: 38px; flex-basis: 38px; }
.rz-share .rz-share--fb:hover   { color: #1877f2; border-color: #1877f2; background: rgba(24,119,242,.12); }
.rz-share .rz-share--x:hover    { color: #fff;    border-color: #fff;    background: rgba(255,255,255,.1); }
.rz-share .rz-share--wa:hover   { color: #25d366; border-color: #25d366; background: rgba(37,211,102,.12); }

/* --- sidebar --- */
.rz-aside { display: grid; gap: 20px; }

@media (min-width: 1024px) {
    .rz-aside { position: sticky; top: calc(var(--rz-header-h) + 20px); }
}

.rz-aside__box {
    background: var(--rz-surface);
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r);
    padding: 16px;
}

.rz-aside__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--rz-ink-2);
    margin-bottom: 14px;
}

.rz-aside__title i { color: var(--rz-brand); }

/* compact horizontal story item for sidebars */
.rz-mini {
    display: flex;
    gap: 11px;
    padding: 10px 0;
    border-top: 1px solid var(--rz-line);
}

.rz-aside__box .rz-mini:first-of-type { border-top: 0; padding-top: 0; }

.rz-mini img {
    width: 68px;
    height: 50px;
    flex: 0 0 68px;
    border-radius: var(--rz-r-sm);
    object-fit: cover;
    background: var(--rz-surface-2);
}

.rz-mini__body { min-width: 0; }

.rz-mini__title {
    font-size: .8rem;
    font-weight: 800;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.rz-mini:hover .rz-mini__title { color: var(--rz-brand); }
.rz-mini__meta { font-size: .68rem; font-weight: 700; color: var(--rz-ink-3); }

/* ---------- 15. TABS -------------------------------------- */
.rz-tabs__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rz-tabs__list {
    display: flex;
    gap: 6px;
    padding: 5px;
    border-radius: var(--rz-r-pill);
    background: var(--rz-surface);
    border: 1px solid var(--rz-line);
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1 1 auto;
}

.rz-tabs__list::-webkit-scrollbar { display: none; }

.rz-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border: 0;
    border-radius: var(--rz-r-pill);
    background: transparent;
    color: var(--rz-ink-3);
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s var(--rz-ease), color .2s var(--rz-ease);
}

.rz-tab i { font-size: .9em; }
.rz-tab:hover { color: var(--rz-ink); }

.rz-tab.active {
    background: linear-gradient(135deg, var(--rz-brand) 0%, var(--rz-brand-dk) 100%);
    color: #04170f;
}

.rz-tab__count {
    padding: 1px 7px;
    border-radius: var(--rz-r-pill);
    background: var(--rz-surface-3);
    color: var(--rz-ink-2);
    font-size: .66rem;
    font-weight: 900;
}

.rz-tab.active .rz-tab__count { background: rgba(0, 0, 0, .22); color: #04170f; }

.rz-select {
    padding: 9px 34px 9px 14px;
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r-pill);
    background-color: var(--rz-surface);
    color: var(--rz-ink);
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239fb0c6'%3E%3Cpath d='M8 11 3.5 6h9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.rz-select option { background: var(--rz-surface); color: var(--rz-ink); }

.rz-tabs__pane { display: none; }
.rz-tabs__pane.active { display: block; animation: rz-fade .25s var(--rz-ease); }

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

/* Small run of figures shown above a tab's content. */
.rz-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 14px;
    font-size: .76rem;
    font-weight: 700;
    color: var(--rz-ink-3);
}

.rz-metrics span { display: inline-flex; align-items: center; gap: 6px; }
.rz-metrics b { color: var(--rz-ink); font-weight: 900; }
.rz-metrics i { color: var(--rz-brand); }

/* ---------- 16. PROMO BAR --------------------------------- */
.rz-promobar {
    background: linear-gradient(90deg, #1a2744 0%, #10325a 100%);
    border-bottom: 2px solid var(--rz-gold);
}

.rz-promobar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 10px;
}

.rz-promobar__text { flex: 1 1 auto; min-width: 0; }

.rz-promobar__text b {
    display: block;
    font-size: .85rem;
    font-weight: 900;
    color: var(--rz-gold);
    line-height: 1.25;
}

.rz-promobar__text span {
    display: block;
    font-size: .75rem;
    color: var(--rz-ink-2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) { .rz-promobar__text span { display: none; } }

.rz-promobar .rz-dot { background: var(--rz-gold); }

@keyframes rz-pulse-gold {
    0%   { box-shadow: 0 0 0 0 rgba(245, 179, 1, .6); }
    70%  { box-shadow: 0 0 0 7px rgba(245, 179, 1, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 179, 1, 0); }
}

.rz-promobar .rz-dot { animation-name: rz-pulse-gold; }

/* ---------- 17. MODAL ------------------------------------- */
.rz-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(4, 10, 18, .74);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--rz-ease), visibility .25s var(--rz-ease);
}

.rz-modal.is-open { opacity: 1; visibility: visible; }

/* On phones the dialog behaves as a bottom sheet; centred from tablet. */
.rz-modal__dialog {
    width: 100%;
    max-width: 520px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    background: var(--rz-surface);
    border: 1px solid var(--rz-line-strong);
    border-radius: var(--rz-r-lg) var(--rz-r-lg) 0 0;
    box-shadow: var(--rz-sh-3);
    transform: translateY(24px);
    transition: transform .25s var(--rz-ease);
}

.rz-modal.is-open .rz-modal__dialog { transform: none; }

@media (min-width: 640px) {
    .rz-modal { align-items: center; padding: 20px; }
    .rz-modal__dialog { border-radius: var(--rz-r-lg); }
}

.rz-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--rz-line);
    flex: 0 0 auto;
}

.rz-modal__title { font-size: 1rem; font-weight: 800; }
.rz-modal__body { padding: 18px; overflow-y: auto; flex: 1 1 auto; }

.rz-modal__foot {
    display: flex;
    gap: 10px;
    padding: 14px 18px;
    border-top: 1px solid var(--rz-line);
    flex: 0 0 auto;
}

.rz-modal__foot .rz-btn { flex: 1 1 0; }

/* ---------- 18. TOAST ------------------------------------- */
.rz-toasts {
    position: fixed;
    left: 50%;
    top: calc(var(--rz-header-h) + 12px);
    z-index: 1200;
    transform: translateX(-50%);
    display: grid;
    gap: 8px;
    width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.rz-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: var(--rz-r-sm);
    background: var(--rz-surface-2);
    border: 1px solid var(--rz-line-strong);
    box-shadow: var(--rz-sh-2);
    font-size: .85rem;
    font-weight: 700;
    animation: rz-toast-in .25s var(--rz-ease);
}

.rz-toast--success { border-color: rgba(22,196,127,.5); }
.rz-toast--success i { color: var(--rz-brand); }
.rz-toast--error   { border-color: rgba(239,68,68,.5); }
.rz-toast--error i { color: var(--rz-lost); }
.rz-toast--info i  { color: var(--rz-info); }
.rz-toast.is-out   { animation: rz-toast-out .25s var(--rz-ease) forwards; }

@keyframes rz-toast-in  { from { opacity: 0; transform: translateY(-10px); } }
@keyframes rz-toast-out { to   { opacity: 0; transform: translateY(-10px); } }

/* ---------- 19. FOOTER ------------------------------------ */
.rz-footer {
    margin-top: 40px;
    padding-top: 36px;
    background: var(--rz-bg-2);
    border-top: 1px solid var(--rz-line);
}

.rz-footer__grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr;
    padding-bottom: 30px;
}

/* Below 620px the three link groups sit two-across instead of stacking into
   one very tall column; the about block keeps the full width above them. */
@media (max-width: 619px) {
    .rz-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .rz-footer__about { grid-column: 1 / -1; }

    /* "Company" is the odd third group — let it span so the row below the
       first pair does not leave a ragged empty cell. */
    .rz-footer__grid > div:last-child { grid-column: 1 / -1; }

    .rz-footer__grid > div:last-child .rz-footer__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px 18px;
    }

    .rz-footer__grid > div:last-child .rz-footer__links li + li { margin-top: 0; }
}

@media (min-width: 620px)  { .rz-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .rz-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; } }

.rz-footer__about img { height: 36px; width: auto; margin-bottom: 14px; }

.rz-footer__about p {
    font-size: .84rem;
    color: var(--rz-ink-2);
    max-width: 40ch;
    margin-bottom: 16px;
}

.rz-footer__social { display: flex; gap: 9px; }

.rz-footer__title {
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rz-ink-3);
    margin-bottom: 13px;
}

.rz-footer__links li + li { margin-top: 9px; }

.rz-footer__links a {
    font-size: .85rem;
    font-weight: 600;
    color: var(--rz-ink-2);
    transition: color .18s var(--rz-ease);
}

.rz-footer__links a:hover { color: var(--rz-brand); }

.rz-footer__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding-block: 18px 26px;
    border-top: 1px solid var(--rz-line);
    text-align: center;
    font-size: .78rem;
    color: var(--rz-ink-3);
}

@media (min-width: 768px) {
    .rz-footer__bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        text-align: start;
        gap: 16px 24px;
    }
}

.rz-footer__bar a { color: var(--rz-ink-2); font-weight: 700; }
.rz-footer__bar a:hover { color: var(--rz-brand); }

/* Build credit: a supplied logo on an unknown background, so it sits on
   its own light chip rather than risking dark-on-dark. */
.rz-footer__built {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.rz-footer__built span {
    font-size: .72rem;
    font-weight: 700;
    color: var(--rz-ink-3);
    white-space: nowrap;
}

.rz-footer__built img {
    height: 26px;
    width: auto;
    padding: 4px 7px;
    border-radius: var(--rz-r-sm);
    /*background: #fff;*/
    opacity: .85;
    transition: opacity .2s var(--rz-ease), transform .2s var(--rz-ease);
}

.rz-footer__built:hover img { opacity: 1; transform: translateY(-1px); }

.rz-footer__aware {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rz-footer__18 {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 2px solid var(--rz-lost);
    border-radius: 50%;
    color: var(--rz-lost);
    font-size: .68rem;
    font-weight: 900;
}

/* ---------- 20. FIXES / OVERRIDES ------------------------- */
/* The tab bar mixes <a> and <button>; strip the button chrome. */
button.rz-tabbar__item {
    border: 0;
    background: none;
    padding: 0;
    font-family: inherit;
    cursor: pointer;
}

/* Anchors used as cards must not inherit underline from .rz-prose etc. */
.rz-news-card, .rz-mini { color: inherit; }

/* ---------- 21. TIER LOCKING ------------------------------ */
/* Obscured values keep the card's shape so a locked board still
   reads as a board, not as a wall of error states. */
.rz-locked .rz-tip__pick-value,
.rz-locked .rz-slip__code-value,
.rz-locked .rz-tip__odds b {
    color: var(--rz-ink-3);
    letter-spacing: .18em;
    user-select: none;
}

.rz-lock {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border-top: 1px solid var(--rz-line);
    background: linear-gradient(135deg, var(--rz-gold-soft) 0%, rgba(0, 0, 0, .12) 70%);
}

.rz-lock > i {
    font-size: 1rem;
    color: var(--rz-gold);
    flex: 0 0 auto;
}

.rz-lock__text { flex: 1 1 auto; min-width: 0; }

.rz-lock__text b {
    display: block;
    font-size: .8rem;
    font-weight: 800;
    color: var(--rz-ink);
}

.rz-lock__text span {
    display: block;
    font-size: .72rem;
    color: var(--rz-ink-2);
}

.rz-lock .rz-btn { flex: 0 0 auto; }

@media (max-width: 480px) {
    .rz-lock { flex-wrap: wrap; }
    .rz-lock .rz-btn { width: 100%; }
}

/* ---------- 22. PRICING PLANS ----------------------------- */
.rz-plans {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 600px)  { .rz-plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .rz-plans { grid-template-columns: repeat(4, 1fr); } }

.rz-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 22px 18px 18px;
    background: var(--rz-surface);
    border: 1px solid var(--rz-line);
    border-radius: var(--rz-r);
    transition: border-color .2s var(--rz-ease), transform .2s var(--rz-ease);
}

@media (hover: hover) {
    .rz-plan:hover { transform: translateY(-3px); border-color: var(--rz-line-strong); }
}

.rz-plan--featured { border-color: rgba(245, 179, 1, .45); }
.rz-plan--active   { border-color: rgba(22, 196, 127, .5); }

.rz-plan__flag {
    position: absolute;
    top: -1px;
    right: 14px;
    padding: 4px 11px;
    border-radius: 0 0 var(--rz-r-sm) var(--rz-r-sm);
    background: var(--rz-gold);
    color: #1b1200;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rz-plan__flag--active { background: var(--rz-brand); color: #04170f; }

.rz-plan__name {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 12px;
}

.rz-plan__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--rz-line);
}

.rz-plan__price b {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--rz-brand);
    line-height: 1;
}

.rz-plan__price s { font-size: .85rem; color: var(--rz-ink-3); }

.rz-plan__duration {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    font-size: .78rem;
    font-weight: 800;
    color: var(--rz-gold);
}

.rz-plan__features {
    flex: 1 1 auto;
    margin-bottom: 18px;
    font-size: .84rem;
    color: var(--rz-ink-2);
}

/* Features a plan does NOT include still earn a row — the contrast is
   what makes the tier worth upgrading from. */
.rz-plan__features .is-excluded { color: var(--rz-ink-3); }
.rz-plan__features .is-excluded i { color: var(--rz-ink-3); opacity: .7; }

.rz-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 7px 0;
    line-height: 1.45;
}

.rz-plan__features i {
    color: var(--rz-brand);
    font-size: .78rem;
    margin-top: .3em;
    flex: 0 0 auto;
}

.rz-plan__status {
    margin: 12px 0 0;
    font-size: .74rem;
    font-weight: 800;
    text-align: center;
    color: var(--rz-brand);
}

.rz-plan__status.is-expiring { color: var(--rz-gold); }

/* ---------- 23. COMPARISON TABLE -------------------------- */
.rz-compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.rz-compare table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    font-size: .85rem;
}

.rz-compare th,
.rz-compare td {
    padding: 11px 14px;
    border-bottom: 1px solid var(--rz-line);
    text-align: center;
}

.rz-compare th:first-child,
.rz-compare td:first-child {
    text-align: start;
    font-weight: 700;
    color: var(--rz-ink-2);
}

.rz-compare thead th {
    background: var(--rz-surface-2);
    font-weight: 900;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.rz-compare thead th:first-child { border-start-start-radius: var(--rz-r-sm); }
.rz-compare thead th:last-child  { border-start-end-radius: var(--rz-r-sm); }

.rz-compare .yes { color: var(--rz-brand); }
.rz-compare .no  { color: var(--rz-ink-3); opacity: .6; }

/* ---------- 24. FORMS ------------------------------------- */
.rz-field { margin-bottom: 16px; }

.rz-label {
    display: block;
    margin-bottom: 7px;
    font-size: .78rem;
    font-weight: 800;
    color: var(--rz-ink-2);
}

.rz-input,
.rz-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--rz-line-strong);
    border-radius: var(--rz-r-sm);
    background: var(--rz-bg);
    color: var(--rz-ink);
    font-size: .92rem;
    transition: border-color .2s var(--rz-ease), background .2s var(--rz-ease);
}

.rz-input::placeholder,
.rz-textarea::placeholder { color: var(--rz-ink-3); }

.rz-input:focus,
.rz-textarea:focus {
    outline: none;
    border-color: var(--rz-brand);
    background: var(--rz-surface);
}

.rz-textarea { min-height: 130px; resize: vertical; }

/* Bet codes are conventionally uppercase and easier to proof-read in a
   monospace face, so the field shows them that way whatever is typed.
   The value itself is uppercased on submit, not on every keystroke,
   which would fight the caret position. */
.rz-input--code {
    text-transform: uppercase;
    font-family: ui-monospace, 'SFMono-Regular', 'Menlo', monospace;
    letter-spacing: .08em;
}

.rz-input--code::placeholder {
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--rz-font);
}

/* input with a trailing button, e.g. paste-a-code fields */
.rz-input-group { display: flex; gap: 8px; }
.rz-input-group .rz-input { flex: 1 1 auto; min-width: 0; }

@media (max-width: 480px) {
    .rz-input-group { flex-direction: column; }
    .rz-input-group .rz-btn { width: 100%; }
}

.rz-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--rz-r-sm);
    border: 1px solid var(--rz-line);
    background: var(--rz-surface-2);
    font-size: .84rem;
    color: var(--rz-ink-2);
}

.rz-note i { margin-top: .2em; flex: 0 0 auto; }
.rz-note--warn  { border-color: rgba(245,179,1,.35); background: var(--rz-gold-soft); }
.rz-note--warn i  { color: var(--rz-gold); }
.rz-note--error { border-color: rgba(239,68,68,.35); background: var(--rz-lost-soft); }
.rz-note--error i { color: var(--rz-lost); }
.rz-note--ok    { border-color: rgba(22,196,127,.35); background: var(--rz-brand-soft); }
.rz-note--ok i    { color: var(--rz-brand); }

/* ---------- 25. AUTH PAGES -------------------------------- */
/* Single column on phones; the pitch panel appears from lg. */
.rz-auth { display: grid; min-height: 100%; }

@media (min-width: 960px) {
    .rz-auth { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.rz-auth__pitch {
    display: none;
    padding: 48px 40px;
    background:
        radial-gradient(80% 100% at 20% 0%, rgba(22, 196, 127, .18) 0%, transparent 60%),
        linear-gradient(160deg, var(--rz-bg-2) 0%, var(--rz-bg) 100%);
    border-inline-end: 1px solid var(--rz-line);
}

@media (min-width: 960px) {
    .rz-auth__pitch { display: flex; flex-direction: column; justify-content: center; }
}

.rz-auth__pitch img {width: auto; margin-bottom: 28px; }

.rz-auth__pitch h2 {
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.rz-auth__pitch p { color: var(--rz-ink-2); max-width: 40ch; margin-bottom: 28px; }

.rz-auth__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.rz-auth__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: .9rem;
    color: var(--rz-ink-2);
}

.rz-auth__list i { color: var(--rz-brand); }

.rz-auth__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px var(--rz-gutter) 48px;
}

.rz-auth__card { width: 100%; max-width: 420px; }

.rz-auth__logo { text-align: center; margin-bottom: 24px; }
.rz-auth__logo img { height: 36px; width: auto; display: inline-block; }

@media (min-width: 960px) { .rz-auth__logo { display: none; } }

.rz-auth__form { display: none; }
.rz-auth__form.active { display: block; }

.rz-auth__form h1 { font-size: 1.5rem; margin-bottom: 6px; }

.rz-auth__sub {
    font-size: .88rem;
    color: var(--rz-ink-2);
    margin-bottom: 24px;
}

.rz-auth__switch {
    margin-top: 20px;
    text-align: center;
    font-size: .85rem;
    color: var(--rz-ink-2);
}

.rz-auth__switch a { color: var(--rz-brand); font-weight: 800; }

/* password field with a reveal toggle */
.rz-input-reveal { position: relative; }
.rz-input-reveal .rz-input { padding-inline-end: 46px; }

.rz-input-reveal button {
    position: absolute;
    inset-inline-end: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--rz-ink-3);
    cursor: pointer;
}

.rz-input-reveal button:hover { color: var(--rz-ink); }

.rz-link-right {
    display: block;
    margin-top: 8px;
    text-align: end;
    font-size: .78rem;
    font-weight: 700;
    color: var(--rz-ink-2);
}

.rz-link-right:hover { color: var(--rz-brand); }

.rz-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: .82rem;
    color: var(--rz-ink-2);
    cursor: pointer;
}

.rz-check input { margin-top: .2em; accent-color: var(--rz-brand); flex: 0 0 auto; }
.rz-check a { color: var(--rz-brand); font-weight: 700; }

/* password strength meter */
.rz-strength { margin-top: 9px; }

.rz-strength__track {
    height: 4px;
    border-radius: var(--rz-r-pill);
    background: var(--rz-surface-3);
    overflow: hidden;
    margin-bottom: 5px;
}

.rz-strength__fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    transition: width .3s var(--rz-ease), background .3s var(--rz-ease);
}

.rz-strength__label { font-size: .72rem; font-weight: 800; }

/* ---------- 26. ADVERTS ----------------------------------- */
/* Adverts keep the dimensions they had before the redesign: a centred
   360px square. Full-bleed banners dominated the page on desktop. */
.rz-adv {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 24px auto;
    border-radius: var(--rz-r);
    overflow: hidden;
    background: var(--rz-bg-2);
    border: 1px solid var(--rz-line);
}

.rz-adv > a {
    display: block;
    aspect-ratio: 1 / 1;
}

/* Cropping to the square is what keeps every advert the same size,
   whatever aspect the supplied asset happens to be. */
.rz-adv img,
.rz-adv video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.rz-adv__video { position: relative; }

/* Autoplaying clips are muted by contract, so the card carries its own
   label — viewers get the message with the sound off. */
.rz-adv__overlay {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 26px 14px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 21, 36, .9) 100%);
    pointer-events: none;
}

.rz-adv__overlay b { font-size: .9rem; font-weight: 800; color: var(--rz-ink); }

.rz-adv__sound {
    position: absolute;
    top: 10px;
    inset-inline-end: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(4, 10, 18, .6);
    color: #fff;
    font-size: .8rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.rz-adv__sound:hover { background: rgba(4, 10, 18, .85); }

.rz-adv__tag {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    padding: 3px 8px;
    border-radius: var(--rz-r-sm);
    background: rgba(4, 10, 18, .6);
    color: var(--rz-ink-2);
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ---------- 27. FLOATING SUPPORT BUTTON ------------------- */
/* Sits above .rz-tabbar (z 890) but below the drawer/modal stack so it can
   never cover a dialog. The bottom offset clears the mobile tab bar; the
   desktop media query drops back to a plain gutter once the bar is hidden. */
.rz-support {
    position: fixed;
    z-index: 900;
    inset-inline-end: 16px;
    bottom: calc(var(--rz-tabbar-h) + env(safe-area-inset-bottom, 0px) + 14px);
    display: flex;
    align-items: center;
    gap: 0;
    height: 52px;
    padding: 0;
    border-radius: var(--rz-r-pill);
    background: #229ed9;                 /* Telegram brand */
    color: #fff;
    box-shadow: 0 10px 26px rgba(34, 158, 217, .42);
    overflow: hidden;
    transition: gap .22s var(--rz-ease), padding .22s var(--rz-ease),
                transform .22s var(--rz-ease), box-shadow .22s var(--rz-ease);
}

.rz-support__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
}

/* The label is collapsed by default and expands on hover/focus, so the
   control stays a circle until someone reaches for it. max-width animates;
   width:auto does not. */
.rz-support__label {
    max-width: 0;
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
    opacity: 0;
    transition: max-width .22s var(--rz-ease), opacity .18s var(--rz-ease);
}

.rz-support:hover,
.rz-support:focus-visible {
    padding-inline-end: 18px;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(34, 158, 217, .5);
}

.rz-support:hover .rz-support__label,
.rz-support:focus-visible .rz-support__label {
    max-width: 140px;
    opacity: 1;
}

/* Touch devices get no hover, so show the label outright — there is room
   for it once the pointer-driven reveal is off the table. */
@media (hover: none) {
    .rz-support { padding-inline-end: 18px; }
    .rz-support .rz-support__label { max-width: 140px; opacity: 1; }
}

@media (min-width: 1024px) {
    .rz-support {
        inset-inline-end: 24px;
        bottom: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rz-support,
    .rz-support__label { transition: none; }
    .rz-support:hover { transform: none; }
}
