/* ====================================================================
   MeTube / GHPHouse — theme layer
   --------------------------------------------------------------------
   Loaded AFTER every existing stylesheet, so it refines the current look
   without replacing it. Nothing here changes layout structure, only
   scale, weight and consistency.

   The signature gradient is unchanged: #e1164d -> #ff2d55 at 135deg.
   It appeared 52 times hard-coded across the CSS; it is now a token, so
   retuning the brand is a one-line change instead of a find-and-replace.
   ==================================================================== */

:root {
    /* ---- Brand: dark red gradient ---- */
    --ghp-red-900: #3b000c;
    --ghp-red-800: #7a001d;
    --ghp-red-700: #a30028;
    --ghp-red-600: #c4002f;
    --ghp-red-500: #e1164d;
    --ghp-red-400: #ff2d55;
    --ghp-red-300: #ff5b7a;

    --ghp-gradient: linear-gradient(135deg, #e1164d, #ff2d55);
    --ghp-gradient-hover: linear-gradient(135deg, #ff2d55, #ff4d6d);
    --ghp-gradient-deep: linear-gradient(135deg, #ff003c 0%, #c4002f 42%, #7a001d 78%, #260007 100%);
    --ghp-gradient-page: linear-gradient(180deg, #3b000c 0%, #180008 42%, #090a0f 100%);
    --ghp-gradient-rail: linear-gradient(90deg, #ff335f 0%, #ff003c 45%, #c4002f 100%);

    /* ---- Surfaces ---- */
    --ghp-bg: #0d0e13;
    --ghp-surface: #16171d;
    --ghp-surface-2: #1c1d25;
    --ghp-surface-3: #23242e;
    --ghp-border: rgba(255, 255, 255, 0.08);
    --ghp-border-strong: rgba(255, 45, 85, 0.28);

    /* ---- Text ---- */
    --ghp-text: #f2f3f7;
    --ghp-text-muted: #a2a7b5;
    --ghp-text-dim: #6f7484;

    /* ---- Status ---- */
    --ghp-success: #22c55e;
    --ghp-warning: #e0a53a;
    --ghp-danger: #ef4444;
    --ghp-info: #3aa7ff;

    /* ---- Scale: the button sizing fix ----
       Buttons across the project were sized ad hoc, often 14-16px padding
       with 16px text. These tokens bring them to a compact, classic scale. */
    --ghp-btn-py: 8px;
    --ghp-btn-px: 16px;
    --ghp-btn-font: 13.5px;
    --ghp-btn-radius: 8px;
    --ghp-btn-weight: 600;

    --ghp-btn-sm-py: 5px;
    --ghp-btn-sm-px: 11px;
    --ghp-btn-sm-font: 12px;

    --ghp-btn-lg-py: 11px;
    --ghp-btn-lg-px: 22px;
    --ghp-btn-lg-font: 15px;

    --ghp-radius: 10px;
    --ghp-radius-lg: 14px;
    --ghp-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    --ghp-shadow-red: 0 6px 18px rgba(225, 22, 77, 0.28);
    --ghp-transition: 160ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ====================================================================
   1. BUTTON NORMALISATION
   Targets the class names already used across the project rather than
   introducing new ones, so existing markup gets the benefit untouched.
   ==================================================================== */

.btn,
.button,
.ghp-btn,
button.primary-btn,
.primary-btn,
.secondary-btn,
.action-btn,
.submit-btn,
.form-btn,
.wallet-btn,
.studio-btn,
.meetup-btn,
.social-btn,
.admin-btn,
.mod-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: var(--ghp-btn-py) var(--ghp-btn-px);
    font-size: var(--ghp-btn-font);
    font-weight: var(--ghp-btn-weight);
    line-height: 1.2;
    letter-spacing: 0.15px;
    border-radius: var(--ghp-btn-radius);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--ghp-transition),
                box-shadow var(--ghp-transition),
                background var(--ghp-transition),
                border-color var(--ghp-transition);
}

/* Oversized primary actions become classic-scale. */
.btn-primary,
.primary-btn,
.submit-btn,
.ghp-btn--primary {
    background: var(--ghp-gradient);
    color: #fff;
    box-shadow: var(--ghp-shadow-red);
}

.btn-primary:hover,
.primary-btn:hover,
.submit-btn:hover,
.ghp-btn--primary:hover {
    background: var(--ghp-gradient-hover);
    transform: translateY(-1px);
}

.btn-primary:active,
.primary-btn:active,
.submit-btn:active,
.ghp-btn--primary:active {
    transform: translateY(0);
}

.btn-secondary,
.secondary-btn,
.ghp-btn--ghost {
    background: var(--ghp-surface-2);
    color: var(--ghp-text);
    border-color: var(--ghp-border);
}

.btn-secondary:hover,
.secondary-btn:hover,
.ghp-btn--ghost:hover {
    background: var(--ghp-surface-3);
    border-color: var(--ghp-border-strong);
}

.btn-sm,
.ghp-btn--sm,
.table-action,
.chip-btn {
    padding: var(--ghp-btn-sm-py) var(--ghp-btn-sm-px);
    font-size: var(--ghp-btn-sm-font);
    border-radius: 6px;
}

.btn-lg,
.ghp-btn--lg {
    padding: var(--ghp-btn-lg-py) var(--ghp-btn-lg-px);
    font-size: var(--ghp-btn-lg-font);
}

.btn:disabled,
.ghp-btn:disabled,
.primary-btn:disabled,
.submit-btn:disabled,
.btn.is-loading {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Icon-only controls should be square and small, not chunky. */
.icon-btn,
.ghp-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--ghp-text-muted);
    cursor: pointer;
    transition: background var(--ghp-transition), color var(--ghp-transition);
}

.icon-btn:hover,
.ghp-icon-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ghp-text);
}

/* Form controls kept in proportion with the new button scale. */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="date"],
select,
textarea {
    font-size: 13.5px;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--ghp-surface-2);
    border: 1px solid var(--ghp-border);
    color: var(--ghp-text);
    transition: border-color var(--ghp-transition), box-shadow var(--ghp-transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--ghp-red-500);
    box-shadow: 0 0 0 3px rgba(225, 22, 77, 0.16);
}

/* Visible keyboard focus, which the original CSS mostly removed. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 2px solid var(--ghp-red-400);
    outline-offset: 2px;
    border-radius: 6px;
}

/* ====================================================================
   2. REWARDS UI
   New components, namespaced `ghp-` so they cannot collide with
   anything already in the project.
   ==================================================================== */

/* The rewards page sits inside the existing `.app` grid as `.main .ghp-rewards`.
   `.main` already supplies the outer padding and `overflow-x: hidden`, so this
   only constrains the measure and centres it. Adding padding here as well would
   double it against the sidebar edge. */
.ghp-rewards {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
    color: var(--ghp-text);
}

/* Standalone use, outside the .app grid, still needs its own padding. */
.ghp-rewards:not(.main) {
    padding: 22px 18px 64px;
}

.ghp-rewards__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.ghp-rewards__title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.ghp-rewards__subtitle {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--ghp-text-muted);
}

.ghp-grid {
    display: grid;
    gap: 14px;
    min-width: 0;
}

/* Grid children default to min-width:auto, which lets long content push the
   track wider than its container and produce the horizontal scrollbar seen
   on the first build. */
.ghp-grid > * {
    min-width: 0;
}

.ghp-grid--stats {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin-bottom: 20px;
}

.ghp-grid--split {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    align-items: start;
}

@media (max-width: 900px) {
    .ghp-grid--split { grid-template-columns: 1fr; }
}

.ghp-card {
    background: var(--ghp-surface);
    border: 1px solid var(--ghp-border);
    border-radius: var(--ghp-radius-lg);
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.ghp-card--accent::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: var(--ghp-gradient-rail);
}

.ghp-card__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--ghp-text-dim);
    margin-bottom: 8px;
}

.ghp-card__value {
    font-size: 27px;
    font-weight: 700;
    line-height: 1.1;
    background: var(--ghp-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ghp-card__value--plain {
    background: none;
    -webkit-text-fill-color: var(--ghp-text);
    color: var(--ghp-text);
}

.ghp-card__meta {
    margin-top: 6px;
    font-size: 12px;
    color: var(--ghp-text-muted);
}

.ghp-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 650;
    margin: 0 0 14px;
}

.ghp-section-title i { color: var(--ghp-red-400); }

/* ---- Tier progress ---- */
.ghp-tier {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.ghp-tier__badge {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 19px;
    color: #fff;
    background: var(--ghp-gradient-deep);
    box-shadow: var(--ghp-shadow-red);
}

.ghp-tier__name { font-size: 15px; font-weight: 650; }
.ghp-tier__next { font-size: 12px; color: var(--ghp-text-muted); margin-top: 2px; }

.ghp-progress {
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.ghp-progress__bar {
    height: 100%;
    border-radius: 999px;
    background: var(--ghp-gradient-rail);
    transition: width 420ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Streak ---- */
.ghp-streak {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.ghp-streak__flame {
    font-size: 30px;
    background: var(--ghp-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ghp-streak__days { font-size: 24px; font-weight: 700; }
.ghp-streak__hint { font-size: 12px; color: var(--ghp-text-muted); }

/* ---- Quests ---- */
.ghp-quest {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--ghp-border);
}

.ghp-quest:last-child { border-bottom: none; }

.ghp-quest__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(255, 45, 85, 0.12);
    color: var(--ghp-red-400);
    font-size: 14px;
}

.ghp-quest__body { flex: 1 1 auto; min-width: 0; }
.ghp-quest__title { font-size: 13.5px; font-weight: 600; }
.ghp-quest__meta { font-size: 11.5px; color: var(--ghp-text-muted); margin: 3px 0 6px; }
.ghp-quest__reward { font-size: 12px; font-weight: 650; color: var(--ghp-red-300); white-space: nowrap; }

.ghp-quest.is-complete .ghp-quest__icon {
    background: rgba(34, 197, 94, 0.14);
    color: var(--ghp-success);
}

/* ---- Achievements ---- */
.ghp-badges {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
}

.ghp-badge {
    text-align: center;
    padding: 13px 8px;
    border-radius: var(--ghp-radius);
    background: var(--ghp-surface-2);
    border: 1px solid var(--ghp-border);
    opacity: 0.42;
    filter: grayscale(1);
    transition: opacity var(--ghp-transition), filter var(--ghp-transition);
}

.ghp-badge.is-unlocked {
    opacity: 1;
    filter: none;
    border-color: var(--ghp-border-strong);
}

.ghp-badge i { font-size: 19px; color: var(--ghp-red-400); }
.ghp-badge__name { font-size: 11px; margin-top: 6px; line-height: 1.3; }

/* ---- Leaderboard ---- */
.ghp-board { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ghp-board th {
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ghp-text-dim);
    padding: 0 10px 10px;
    font-weight: 600;
}
.ghp-board td { padding: 10px; border-top: 1px solid var(--ghp-border); }
.ghp-board tr:hover td { background: rgba(255, 255, 255, 0.025); }

.ghp-rank {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 11.5px;
    font-weight: 700;
    background: var(--ghp-surface-3);
    color: var(--ghp-text-muted);
}

.ghp-rank--1 { background: var(--ghp-gradient); color: #fff; }
.ghp-rank--2 { background: linear-gradient(135deg, #9aa3b2, #c3cad6); color: #14151a; }
.ghp-rank--3 { background: linear-gradient(135deg, #a8571f, #cf8340); color: #fff; }

.ghp-pill {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 45, 85, 0.13);
    color: var(--ghp-red-300);
    border: 1px solid rgba(255, 45, 85, 0.22);
}

.ghp-pill--muted {
    background: rgba(255, 255, 255, 0.06);
    color: var(--ghp-text-muted);
    border-color: var(--ghp-border);
}

.ghp-pill--ok {
    background: rgba(34, 197, 94, 0.13);
    color: var(--ghp-success);
    border-color: rgba(34, 197, 94, 0.24);
}

/* ---- Referral ---- */
.ghp-invite {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 12px;
}

.ghp-invite input {
    flex: 1 1 auto;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: 14px;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 650;
}

.ghp-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border-radius: 10px;
    background: var(--ghp-surface-2);
    border: 1px solid var(--ghp-border);
}

.ghp-tabs a {
    padding: 6px 14px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ghp-text-muted);
    text-decoration: none;
    transition: background var(--ghp-transition), color var(--ghp-transition);
}

.ghp-tabs a.is-active { background: var(--ghp-gradient); color: #fff; }

.ghp-empty {
    text-align: center;
    padding: 30px 16px;
    color: var(--ghp-text-dim);
    font-size: 13px;
}

.ghp-empty i { font-size: 26px; display: block; margin-bottom: 8px; opacity: 0.5; }

/* ---- Reward toast ---- */
.ghp-reward-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border-radius: var(--ghp-radius);
    background: var(--ghp-surface);
    border: 1px solid var(--ghp-border-strong);
    box-shadow: var(--ghp-shadow);
    color: var(--ghp-text);
    font-size: 13px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 320ms cubic-bezier(0.2, 0.9, 0.3, 1), opacity 320ms ease;
}

.ghp-reward-toast.is-visible { transform: translateY(0); opacity: 1; }
.ghp-reward-toast i { color: var(--ghp-red-400); font-size: 17px; }
.ghp-reward-toast strong { color: var(--ghp-red-300); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 640px) {
    /* Only the standalone variant carries padding; inside .app the grid
       already handles it. */
    .ghp-rewards:not(.main) { padding: 16px 12px 56px; }
    .ghp-card { padding: 14px; }
    .ghp-card__value { font-size: 23px; }
    .ghp-rewards__title { font-size: 19px; }
    .ghp-rewards__head { align-items: flex-start; }
    .ghp-tabs { width: 100%; justify-content: space-between; }
    .ghp-tabs a { flex: 1 1 auto; text-align: center; padding: 7px 8px; }
    .ghp-streak { flex-direction: column; align-items: stretch; }
    .ghp-streak .btn { width: 100%; }
    .ghp-quest { flex-wrap: wrap; }
    .ghp-quest__body { flex: 1 1 60%; }
}

/* ====================================================================
   12. GLOBAL SITE FOOTER
   Injected once by ViewRenderer so routed pages share the same policies.
   ==================================================================== */

.ghp-site-footer {
    position: relative;
    z-index: 2;
    clear: both;
    padding: 46px clamp(20px, 4vw, 58px) 22px;
    border-top: 1px solid rgba(255, 45, 85, .28);
    color: var(--ghp-text, #f2f3f7);
    background:
        radial-gradient(circle at 15% 0%, rgba(122, 0, 29, .34), transparent 34rem),
        linear-gradient(150deg, #160910, #0d0e13 42%, #090a0f);
}

.app + .ghp-site-footer,
.ghp-app + .ghp-site-footer,
.premium-app + .ghp-site-footer,
.ghp-site-footer--with-sidebar {
    margin-left: var(--ghp-sidebar-width, var(--sidebar-width, 260px));
}

body.sidebar-collapsed .app + .ghp-site-footer,
body.sidebar-collapsed .ghp-app + .ghp-site-footer,
body.sidebar-collapsed .premium-app + .ghp-site-footer,
body.sidebar-collapsed .ghp-site-footer--with-sidebar {
    margin-left: var(--ghp-sidebar-collapsed-width, 86px);
}

.ghp-site-footer__inner {
    display: grid;
    grid-template-columns: minmax(230px, 1.45fr) repeat(3, minmax(145px, 1fr));
    gap: clamp(26px, 4vw, 58px);
    width: min(1180px, 100%);
    margin: 0 auto;
}

.ghp-site-footer__brand,
.ghp-site-footer__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.ghp-site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0;
    color: #fff;
    text-decoration: none;
}

.ghp-site-footer__logo img {
    display: block;
    object-fit: contain;
}

.ghp-site-footer__logo-full { width: 154px; height: 47px; }
.ghp-site-footer__logo-mark { display: none !important; width: 42px; height: 42px; }

@media (max-width: 900px) {
    .ghp-site-footer__logo-full { display: none !important; }
    .ghp-site-footer__logo-mark { display: block !important; }
}

.ghp-site-footer__brand p {
    max-width: 310px;
    margin: 2px 0;
    color: var(--ghp-text-muted, #a2a7b5);
    font-size: 13px;
    line-height: 1.6;
}

.ghp-site-footer__age {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 45, 85, .22);
    border-radius: 999px;
    color: #ffc4d0;
    background: rgba(255, 45, 85, .07);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.35;
}

.ghp-site-footer__group > strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 12px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ghp-site-footer__group a,
.ghp-site-footer__group span {
    color: var(--ghp-text-muted, #a2a7b5);
    font-size: 12.5px;
    line-height: 1.45;
    text-decoration: none;
}

.ghp-site-footer__group a:hover,
.ghp-site-footer__group a:focus-visible {
    color: #ff6a87;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ghp-site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, 100%);
    margin: 34px auto 0;
    padding-top: 18px;
    border-top: 1px solid var(--ghp-border, rgba(255, 255, 255, .08));
    color: var(--ghp-text-dim, #6f7484);
    font-size: 11px;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .ghp-site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .app + .ghp-site-footer,
    .ghp-app + .ghp-site-footer,
    .premium-app + .ghp-site-footer,
    body.sidebar-collapsed .app + .ghp-site-footer,
    body.sidebar-collapsed .ghp-app + .ghp-site-footer,
    body.sidebar-collapsed .premium-app + .ghp-site-footer,
    .ghp-site-footer--with-sidebar,
    body.sidebar-collapsed .ghp-site-footer--with-sidebar {
        margin-left: 0;
    }

    .ghp-site-footer { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 560px) {
    .ghp-site-footer { padding-top: 34px; }
    .ghp-site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
    .ghp-site-footer__brand p { max-width: none; }
    .ghp-site-footer__bottom { flex-direction: column; margin-top: 28px; }
}

/* ====================================================================
   Paywall overlay
   Sits over the player. When a preview is playing it stays visible
   alongside the video rather than replacing it, so the viewer can
   sample the content and still see how to unlock the rest.
   ==================================================================== */
.video-player-box { position: relative; }

.ghp-paywall {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    background: rgba(9, 10, 15, 0.86);
    border-radius: inherit;
    z-index: 5;
}

.ghp-paywall[hidden] { display: none; }

.ghp-paywall__inner { max-width: 340px; }

.ghp-paywall__icon {
    font-size: 26px;
    margin-bottom: 12px;
    background: var(--ghp-gradient, linear-gradient(135deg, #e1164d, #ff2d55));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ghp-paywall__title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 650;
    color: #f2f3f7;
}

.ghp-paywall__text {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #a2a7b5;
}

.ghp-paywall__actions { display: flex; gap: 8px; justify-content: center; }

/* Lock badges on listing tiles */
.ghp-tier-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: rgba(9, 10, 15, 0.78);
    backdrop-filter: blur(4px);
}

.ghp-tier-badge--premium { background: var(--ghp-gradient, linear-gradient(135deg, #e1164d, #ff2d55)); }
.ghp-tier-badge--membership { background: linear-gradient(135deg, #7a4dd4, #a855f7); }

@media (max-width: 640px) {
    .ghp-paywall__title { font-size: 15px; }
    .ghp-paywall__text { font-size: 12.5px; }
}
