/* ═══════════════════════════════════════════════════════════════
   TCGZen Homepage — Feed-First Layout
   ═══════════════════════════════════════════════════════════════ */

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hp-hero { animation: fadeInUp .8s ease-out; }
.hp-search-wrap { animation: fadeInUp .8s ease-out .2s both; }
.hp-section { animation: fadeInUp .6s ease-out; }

/* â”â‚¬â”â‚¬ Hero â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 40px 20px;
    background: radial-gradient(ellipse at 50% 35%, rgba(218,165,32,.07) 0%, transparent 50%),
                radial-gradient(ellipse at 30% 70%, rgba(196,64,64,.03) 0%, transparent 40%),
                radial-gradient(ellipse at 70% 60%, rgba(96,64,176,.03) 0%, transparent 35%),
                var(--bg);
}
.hp-hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hp-hero-particles span {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: var(--gold); opacity: 0; animation: hp-float linear infinite;
}
@keyframes hp-float {
    0%   { opacity: 0; transform: translateY(0) scale(0.5); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { opacity: 0; transform: translateY(-100vh) scale(1.2); }
}
.hp-hero-pack { margin-bottom: 32px; animation: hp-pack-bob 3s ease-in-out infinite; position: relative; width: 200px; aspect-ratio: 832 / 1232; }
@keyframes hp-pack-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hp-hero-pack-link { display: block; position: relative; width: 100%; height: 100%; }
/* Two stacked wrappers crossfade between sets — the incoming layer fades IN while
   the outgoing fades OUT (overlapping, no dip to transparent), over a slow eased
   duration so the 4s rotation reads as a smooth dissolve instead of a blink. */
.hp-hero-pack-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(0,0,0,.5)) drop-shadow(0 0 50px rgba(218,165,32,.15));
    transition: opacity .9s ease-in-out, transform .35s ease, filter .35s ease;
    cursor: pointer; will-change: opacity; backface-visibility: hidden;
}
.hp-hero-pack-img.is-back { opacity: 0; }
.hp-hero-pack:hover .hp-hero-pack-img {
    transform: scale(1.06) rotate(-2deg);
    filter: drop-shadow(0 12px 40px rgba(0,0,0,.5)) drop-shadow(0 0 60px rgba(218,165,32,.3));
}
.hero-line1 {
    font-size: clamp(32px, 6vw, 64px); font-weight: 900;
    color: rgba(232,220,192,.9); letter-spacing: -.03em; line-height: 1.0;
    text-shadow: 0 4px 40px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.05); margin-bottom: 8px;
}
.hero-line1 em {
    font-style: normal;
    background: linear-gradient(135deg, #c8962a, var(--gold), #ffe080, #f5d060, var(--gold));
    background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; animation: heroShimmer 5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(218,165,32,.3));
}
.hero-line2 em {
    font-style: italic; font-size: clamp(42px, 8vw, 85px); font-weight: 900;
    letter-spacing: -.04em; line-height: 1.0;
    background: linear-gradient(135deg, #c8962a, var(--gold), #ffe080, #f5d060, var(--gold));
    background-size: 300% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; animation: heroShimmer 5s ease-in-out infinite;
    filter: drop-shadow(0 0 28px rgba(218,165,32,.4));
}
@keyframes heroShimmer { 0%,100%{background-position:0% center} 50%{background-position:300% center} }
.hp-hero-sub {
    font-size: clamp(13px, 2vw, 17px); font-weight: 700; letter-spacing: .25em;
    text-transform: uppercase; margin: 14px 0 14px; color: transparent;
    background: linear-gradient(90deg, rgba(218,165,32,.4), var(--gold), rgba(218,165,32,.4));
    background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
    animation: heroShimmer 6s ease-in-out infinite; position: relative;
}
.hp-hero-sub::before, .hp-hero-sub::after {
    content: ''; display: inline-block; width: 30px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    vertical-align: middle; margin: 0 12px; opacity: .5;
}
.hp-hero-sub::after { background: linear-gradient(90deg, var(--gold), transparent); }
.hp-hero-desc {
    font-size: clamp(13px,1.5vw,15px); color: var(--text-mid); margin: 0 0 32px;
    max-width: 480px; line-height: 1.7; opacity: .6; font-weight: 400;
}
.hp-hero-cta {
    display: inline-flex; align-items: center; gap: 10px; padding: 18px 48px;
    background: linear-gradient(135deg, var(--gold), #c8941a, var(--gold));
    background-size: 200% auto; color: #0a0806; font-size: 17px; font-weight: 800;
    border-radius: 14px; text-decoration: none;
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 4px 20px rgba(218,165,32,.3), 0 0 0 0 rgba(218,165,32,0);
    position: relative; overflow: hidden; letter-spacing: .01em;
    animation: hp-cta-glow 3s ease-in-out infinite;
}
@keyframes hp-cta-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(218,165,32,.3), 0 0 0 0 rgba(218,165,32,0); }
    50% { box-shadow: 0 4px 20px rgba(218,165,32,.3), 0 0 0 8px rgba(218,165,32,.08); }
}
.hp-hero-cta::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); transition: left .5s;
}
.hp-hero-cta:hover::before { left: 120%; }
.hp-hero-cta:hover {
    transform: translateY(-3px) scale(1.02); color: #0a0806;
    box-shadow: 0 8px 30px rgba(218,165,32,.45), 0 0 0 4px rgba(218,165,32,.12);
}
.hp-hero-login { margin-top: 20px; font-size: 14px; color: var(--text-mid); }
.hp-hero-login a { color: var(--gold); text-decoration: none; font-weight: 600; }
.hp-hero-login a:hover { text-decoration: underline; }

/* â”â‚¬â”â‚¬ Search â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-search-wrap { max-width: 1200px; margin: 0 auto; padding: 18px 20px 16px; position: relative; z-index: 50; }
.hp-search-bar {
    display: flex; background: linear-gradient(160deg, var(--bg-panel), var(--bg-raised, var(--bg-panel)));
    border: 1px solid var(--border); border-radius: 16px; overflow: visible; transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.03);
}
.hp-search-bar:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(218,165,32,.1), 0 8px 32px rgba(218,165,32,.08), inset 0 1px 0 rgba(255,255,255,.03);
    transform: translateY(-1px);
}
.hp-search-bar input {
    flex: 1; padding: 16px 20px; background: transparent; border: none; outline: none;
    font-size: 16px; color: var(--text); font-family: inherit;
}
.hp-search-bar input::placeholder { color: var(--text-mid); opacity: .6; }
.hp-search-bar button {
    padding: 16px 24px; background: var(--gold); border: none; color: #0a0806;
    font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s; font-family: inherit;
    border-radius: 0 16px 16px 0;
}
.hp-search-bar button:hover { background: #c8941a; }
.hp-search-popular { margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-mid); }
.hp-search-popular a { color: var(--gold); text-decoration: none; font-weight: 600; margin: 0 4px; }
.hp-search-popular a:hover { text-decoration: underline; }
/* Search dropdown now styled by the shared widget (includes/card-ac.php .tcg-ac) */

/* â”â‚¬â”â‚¬ Stats Bar â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-stats {
    background: linear-gradient(180deg, rgba(218,165,32,.05), rgba(218,165,32,.01), transparent);
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    position: relative; z-index: 1;
}
.hp-stats-row { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
/* v2.27.76 — Reverted to default font + simple red color swap on hover. Links retained. */
.hp-stat {
    text-align: center; padding: 14px 0;
    text-decoration: none; color: inherit;
}
.hp-stat-num {
    font-size: clamp(32px, 4.5vw, 48px); font-weight: 900; color: var(--gold);
    font-variant-numeric: tabular-nums; line-height: 1.2;
    transition: color .2s ease;
}
.hp-stat-label {
    font-size: 13px; color: var(--text-mid); font-weight: 600; margin-top: 6px;
    letter-spacing: .02em; text-transform: uppercase;
    transition: color .2s ease;
}
.hp-stat:hover .hp-stat-num { color: #8b2424; }
.hp-stat:hover .hp-stat-label { color: #d8a8a8; }
.hp-stat:focus-visible { outline: 2px solid #8b2424; outline-offset: 4px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
    .hp-stat-num, .hp-stat-label { transition: none; }
}

/* ═══════════════════════════════════════════════════════════════
   Format coverage chips — Wave 4.2 P1-25 (TCG Expert spec)
   Lives between .hp-stats and .hp-main-grid. One row of pill chips,
   per-TCG groups, gold-on-hover. Mobile = horizontal scroll-snap.
   ═══════════════════════════════════════════════════════════════ */
.hp-format-chips {
    margin: 16px auto 24px auto;
    max-width: 1200px;
    padding: 0 16px;
}
.hp-format-chips-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: stretch;
}
.hp-format-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(26,21,14,.5);
    border: 1px solid rgba(218,165,32,.15);
    border-radius: 8px;
    transition: border-color .2s ease, background .2s ease;
}
.hp-format-chip:hover {
    border-color: rgba(218,165,32,.4);
    background: rgba(26,21,14,.7);
}
.hp-format-chip-game {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .06em;
    flex-shrink: 0;
    padding-right: 8px;
    border-right: 1px solid rgba(218,165,32,.2);
}
.hp-format-chip-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.hp-format-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mid);
    background: transparent;
    border: 1px solid rgba(218,165,32,.25);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
    letter-spacing: .02em;
}
.hp-format-pill:hover,
.hp-format-pill:focus-visible {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(218,165,32,.08);
    box-shadow: 0 0 12px rgba(218,165,32,.2);
    outline: none;
    transform: translateY(-1px);
}
.hp-format-pill:active { transform: translateY(0); }

@media (max-width: 767px) {
    .hp-format-chips {
        margin: 12px 0 16px 0;
        padding: 0;
    }
    .hp-format-chips-scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        padding: 4px 16px 12px 16px;
        scroll-snap-type: x proximity;
        scroll-padding-left: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(218,165,32,.2) transparent;
    }
    .hp-format-chips-scroll::-webkit-scrollbar { height: 4px; }
    .hp-format-chips-scroll::-webkit-scrollbar-track { background: transparent; }
    .hp-format-chips-scroll::-webkit-scrollbar-thumb {
        background: rgba(218,165,32,.2);
        border-radius: 4px;
    }
    .hp-format-chip {
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    .hp-format-chip-game { font-size: 11px; }
    .hp-format-pill {
        padding: 6px 12px;
        font-size: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hp-format-pill { transition: none; }
    .hp-format-pill:hover { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   ZenPiece sidebar widget — Wave 4.2 P1-24 (TCG Expert spec)
   30-day launch surface for One Piece TCG (v2.9.0 ship 2026-05-01).
   Horizon-orange #F97316 accent on dark-gold canon. Idle pulse.
   ═══════════════════════════════════════════════════════════════ */
.hp-zenpiece {
    position: relative;
    background: linear-gradient(180deg,
        rgba(249,115,22,.08) 0%,
        rgba(26,21,14,.95) 60%);
    border: 1px solid rgba(249,115,22,.35);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    isolation: isolate;
    flex-shrink: 0;
    animation: hp-zenpiece-idle 4s ease-in-out infinite;
}
@keyframes hp-zenpiece-idle {
    0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
    50%      { box-shadow: 0 0 24px 0 rgba(249,115,22,.18); }
}
.hp-zenpiece-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.hp-zenpiece-flag {
    font-size: 18px;
    filter: drop-shadow(0 0 4px rgba(249,115,22,.5));
}
.hp-zenpiece-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--gold);
    margin: 0;
    letter-spacing: .02em;
}
.hp-zenpiece-count {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-mid);
    letter-spacing: 0;
}
.hp-zenpiece-new {
    background: #F97316;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    animation: hp-zenpiece-new-shimmer 60s ease-in-out infinite;
}
@keyframes hp-zenpiece-new-shimmer {
    0%, 95%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); }
    97%           { box-shadow: 0 0 12px 2px rgba(249,115,22,.7); }
}
.hp-zenpiece-latest {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    background: rgba(0,0,0,.25);
    border-left: 2px solid #F97316;
    border-radius: 0 6px 6px 0;
    margin-bottom: 12px;
}
.hp-zenpiece-latest-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #F97316;
}
.hp-zenpiece-latest-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.hp-zenpiece-latest-date {
    font-size: 11px;
    color: var(--text-mid);
}
.hp-zenpiece-hot {
    list-style: none;
    padding: 0;
    margin: 0 0 14px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hp-zenpiece-hot-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-mid);
    margin-bottom: 2px;
}
.hp-zenpiece-hot-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 6px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
.hp-zenpiece-hot-link:hover,
.hp-zenpiece-hot-link:focus-visible {
    background: rgba(249,115,22,.10);
    transform: translateX(2px);
    outline: none;
}
.hp-zenpiece-hot-thumb {
    width: 36px;
    height: 50px;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(249,115,22,.3);
    flex-shrink: 0;
    background: #0a0806;
}
.hp-zenpiece-hot-name {
    flex: 1;
    font-size: 12px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hp-zenpiece-hot-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.hp-zenpiece-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: transform .15s ease, box-shadow .15s ease;
}
.hp-zenpiece-cta:hover,
.hp-zenpiece-cta:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(249,115,22,.4);
    outline: none;
}
.hp-zenpiece-cta:active { transform: translateY(0); }
.hp-zenpiece-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(249,115,22,.18), transparent 60%);
    pointer-events: none;
    z-index: -1;
    filter: blur(20px);
}
@media (max-width: 767px) {
    .hp-zenpiece {
        margin: 0 16px 16px 16px;
        padding: 14px;
    }
    .hp-zenpiece-hot-thumb { width: 32px; height: 44px; }
    .hp-zenpiece-cta { padding: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-zenpiece,
    .hp-zenpiece-new {
        animation: none !important;
    }
    .hp-zenpiece-cta:hover { transform: none; }
}

/* ─── InkWell — Disney Lorcana flagship sidebar widget (ink #9b5cc8 → sapphire #2b86c5) ─── */
.hp-inkwell {
    position: relative;
    background: linear-gradient(180deg, rgba(155,92,200,.08) 0%, rgba(26,21,14,.95) 60%);
    border: 1px solid rgba(155,92,200,.35);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    isolation: isolate;
    flex-shrink: 0;
    animation: hp-inkwell-idle 4s ease-in-out infinite;
}
@keyframes hp-inkwell-idle {
    0%, 100% { box-shadow: 0 0 0 0 rgba(155,92,200,0); }
    50%      { box-shadow: 0 0 24px 0 rgba(155,92,200,.18); }
}
.hp-inkwell-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.hp-inkwell-flag { width: 18px; height: 18px; color: #9b5cc8; filter: drop-shadow(0 0 4px rgba(155,92,200,.5)); }
.hp-inkwell-title { flex: 1; font-size: 14px; font-weight: 700; color: var(--gold); margin: 0; letter-spacing: .02em; }
.hp-inkwell-count { display: block; font-size: 11px; font-weight: 500; color: var(--text-mid); letter-spacing: 0; }
.hp-inkwell-new { background: #9b5cc8; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; animation: hp-inkwell-new-shimmer 60s ease-in-out infinite; }
@keyframes hp-inkwell-new-shimmer {
    0%, 95%, 100% { box-shadow: 0 0 0 0 rgba(155,92,200,0); }
    97%           { box-shadow: 0 0 12px 2px rgba(155,92,200,.7); }
}
.hp-inkwell-latest { display: flex; flex-direction: column; gap: 2px; padding: 10px; background: rgba(0,0,0,.25); border-left: 2px solid #9b5cc8; border-radius: 0 6px 6px 0; margin-bottom: 12px; }
.hp-inkwell-latest-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: #9b5cc8; }
.hp-inkwell-latest-name { font-size: 13px; font-weight: 600; color: var(--text); }
.hp-inkwell-latest-date { font-size: 11px; color: var(--text-mid); }
.hp-inkwell-hot { list-style: none; padding: 0; margin: 0 0 14px 0; display: flex; flex-direction: column; gap: 6px; }
.hp-inkwell-hot-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--text-mid); margin-bottom: 2px; }
.hp-inkwell-hot-link { display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 6px; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.hp-inkwell-hot-link:hover, .hp-inkwell-hot-link:focus-visible { background: rgba(155,92,200,.10); transform: translateX(2px); outline: none; }
.hp-inkwell-hot-thumb { width: 36px; height: 50px; object-fit: cover; border-radius: 3px; border: 1px solid rgba(155,92,200,.3); flex-shrink: 0; background: #0a0806; }
.hp-inkwell-hot-name { flex: 1; font-size: 12px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-inkwell-hot-price { font-size: 12px; font-weight: 700; color: var(--gold); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.hp-inkwell-cta { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 10px; background: linear-gradient(135deg, #9b5cc8 0%, #2b86c5 100%); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; transition: transform .15s ease, box-shadow .15s ease; }
.hp-inkwell-cta:hover, .hp-inkwell-cta:focus-visible { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(155,92,200,.4); outline: none; }
.hp-inkwell-cta:active { transform: translateY(0); }
.hp-inkwell-glow { position: absolute; top: -40%; right: -20%; width: 140px; height: 140px; background: radial-gradient(circle, rgba(155,92,200,.18), transparent 60%); pointer-events: none; z-index: -1; filter: blur(20px); }
@media (max-width: 767px) {
    .hp-inkwell { margin: 0 16px 16px 16px; padding: 14px; }
    .hp-inkwell-hot-thumb { width: 32px; height: 44px; }
    .hp-inkwell-cta { padding: 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .hp-inkwell, .hp-inkwell-new { animation: none !important; }
    .hp-inkwell-cta:hover { transform: none; }
}

/* â”â‚¬â”â‚¬ Main Grid Layout â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-main-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px;
    max-width: 1200px; margin: 0 auto; padding: 40px 20px;
}

/* â”â‚¬â”â‚¬ Sidebar â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-sidebar {
    position: sticky; top: 80px; align-self: start;
    max-height: calc(100vh - 100px); overflow-y: auto;
    display: flex; flex-direction: column; gap: 18px;
    scrollbar-width: thin; scrollbar-color: rgba(218,165,32,.15) transparent;
    box-shadow: none; border-radius: 0; padding: 0;
}
.hp-sidebar::-webkit-scrollbar { width: 4px; }
.hp-sidebar::-webkit-scrollbar-track { background: transparent; }
.hp-sidebar::-webkit-scrollbar-thumb { background: rgba(218,165,32,.15); border-radius: 4px; }

/* â”â‚¬â”â‚¬ Sidebar Widgets â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-sw {
    background: transparent; border: 0; border-radius: 0;
    box-shadow: none; overflow: visible;
    flex-shrink: 0; position: relative;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(218,165,32,.08);
    transition: border-color .3s ease;
}
.hp-sw:last-child { border-bottom: 0; padding-bottom: 0; }
.hp-sw:hover { border-bottom-color: rgba(218,165,32,.18); }
.hp-sw-header {
    padding: 12px 16px; font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--text-mid);
    background: linear-gradient(180deg, rgba(218,165,32,.06), rgba(218,165,32,.01));
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    position: relative; overflow: hidden;
}
.hp-sw-header::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218,165,32,.06), transparent);
    animation: headerShimmer 6s ease-in-out infinite;
}
@keyframes headerShimmer { 0%,100% { left: -100%; } 50% { left: 140%; } }

/* Online indicator — v2.27.67 Mini Pulse + v2.27.68: bg matches the Pulse hero (rgba(176,96,255,.06) always-on) */
.hp-online {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; padding: 10px 16px;
    font-size: 13px; color: var(--text-mid); background: rgba(176, 96, 255, .06);
    border: 1px solid rgba(176, 96, 255, .12); border-radius: 14px; flex-shrink: 0;
}
.hp-online-link {
    display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text-mid);
    transition: color .2s; cursor: pointer;
    border-bottom: 1px dashed rgba(160,142,112,.35); padding-bottom: 1px;
}
.hp-online-link:hover { color: var(--text); border-bottom-color: var(--text-mid); }
.hp-online-link strong { color: var(--text); font-weight: 700; transition: color .2s; }
.hp-online-link:hover strong { color: var(--gold); }
.hp-online-pulse-link {
    display: flex; align-items: center; gap: 5px; text-decoration: none;
    font-size: 11px; font-weight: 700; color: #c890ff; transition: color .2s, text-shadow .2s, transform .15s; cursor: pointer;
    border-bottom: 1px dashed rgba(176,96,255,.4); padding-bottom: 1px;
    /* v2.30.x — 1.5s lead-in so the mini-pulse doesn't flash on page load. */
    animation: miniTitleBeat 3s cubic-bezier(0.4,0,0.2,1) 1.5s infinite backwards;
    will-change: text-shadow;
}
.hp-online-pulse-link:hover { color: #e8c8ff; border-bottom-color: #d4b0ff; transform: translateY(-1px); }
.hp-online-pulse-link i, .hp-online-pulse-link svg {
    color: #b060ff;
    animation: miniPulseGlow 3s cubic-bezier(0.4,0,0.2,1) 1.5s infinite backwards;
    will-change: filter, transform;
}
/* Mini heartbeat for the small icon — same lub-DUB rhythm as the hero, smaller blur radii for the smaller element */
@keyframes miniPulseGlow {
    0%,60%,100% { filter: drop-shadow(0 0 2px rgba(212,140,255,.4)); transform: scale(1); }
    10% { filter: drop-shadow(0 0 6px rgba(212,140,255,.95)) drop-shadow(0 0 10px rgba(176,96,255,.5)); transform: scale(1.15); }
    20% { filter: drop-shadow(0 0 3px rgba(212,140,255,.5)); transform: scale(1); }
    30% { filter: drop-shadow(0 0 5px rgba(212,140,255,.85)) drop-shadow(0 0 9px rgba(176,96,255,.4)); transform: scale(1.1); }
    42% { filter: drop-shadow(0 0 2px rgba(212,140,255,.45)); transform: scale(1); }
}
/* Mini text-shadow heartbeat for "The Pulse" label — softer/smaller than the hero's titleBeat */
@keyframes miniTitleBeat {
    0%,60%,100% { text-shadow: 0 0 3px rgba(212,140,255,.25); }
    10% { text-shadow: 0 0 6px rgba(245,240,255,.55), 0 0 12px rgba(212,140,255,.45); }
    20% { text-shadow: 0 0 3px rgba(212,140,255,.3); }
    30% { text-shadow: 0 0 5px rgba(245,240,255,.45), 0 0 10px rgba(212,140,255,.4); }
    42% { text-shadow: 0 0 3px rgba(212,140,255,.25); }
}
.hp-online-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
    animation: onlinePulse 2s ease-in-out infinite; flex-shrink: 0;
}
@keyframes onlinePulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(78,154,62,.4); } 50% { opacity: .8; box-shadow: 0 0 0 4px rgba(78,154,62,0); } }
/* Reduced motion — kill the new mini animations */
@media (prefers-reduced-motion: reduce) {
    .hp-online-pulse-link, .hp-online-pulse-link i, .hp-online-pulse-link svg { animation: none !important; }
}

/* (removed 2026-05-17) .hp-best-pull-* styles — superseded by .hp-top-pulls widget */

/* Quick-Plays Grid */
.hp-qa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
.hp-qa-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 6px; padding: 14px 8px 12px; border-radius: 14px; text-decoration: none;
    border: 1px solid var(--border); transition: all .3s cubic-bezier(.34,1.56,.64,1);
    min-height: 140px; color: var(--text); position: relative; overflow: hidden;
}
.hp-qa-card::before {
    content: ''; position: absolute; inset: 0; opacity: 0;
    transition: opacity .3s ease; pointer-events: none; border-radius: 13px;
}
.hp-qa-card::after {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(255,255,255,.03) 25%, transparent 50%);
    animation: qaCardSpin 12s linear infinite; pointer-events: none; opacity: 0;
    transition: opacity .3s ease;
}
.hp-qa-card:hover::after { opacity: 1; }
@keyframes qaCardSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hp-qa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 0 1px rgba(218,165,32,.12);
}
.hp-qa-card:active { transform: scale(0.96); transition: transform .1s ease; }
.hp-qa-card-img {
    width: 90px; height: 90px; object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0,0,0,.5));
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), filter .3s ease;
    position: relative; z-index: 1;
}
.hp-qa-card:hover .hp-qa-card-img { transform: scale(1.12) translateY(-2px); }
.hp-qa-card span {
    font-size: 11px; font-weight: 800; text-align: center; text-transform: uppercase;
    letter-spacing: .04em; position: relative; z-index: 1; transition: color .3s ease, text-shadow .3s ease;
}

/* — Pack (gold) */
.hp-qa-packs {
    background: radial-gradient(ellipse at 50% 80%, rgba(218,165,32,.08), rgba(218,165,32,.02) 70%);
}
.hp-qa-packs::before { background: radial-gradient(ellipse at 50% 60%, rgba(218,165,32,.12), transparent 70%); }
.hp-qa-packs:hover {
    border-color: rgba(218,165,32,.35);
    box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 20px rgba(218,165,32,.08), 0 0 0 1px rgba(218,165,32,.15);
}
.hp-qa-packs:hover::before { opacity: 1; }
.hp-qa-packs:hover .hp-qa-card-img { filter: drop-shadow(0 4px 16px rgba(218,165,32,.3)); }
.hp-qa-packs:hover span { text-shadow: 0 0 12px rgba(218,165,32,.3); }

/* — Battle (red) */
.hp-qa-battle {
    background: radial-gradient(ellipse at 50% 80%, rgba(196,64,64,.08), rgba(196,64,64,.02) 70%);
}
.hp-qa-battle::before { background: radial-gradient(ellipse at 50% 60%, rgba(196,64,64,.12), transparent 70%); }
.hp-qa-battle:hover {
    border-color: rgba(196,64,64,.35);
    box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 20px rgba(196,64,64,.08), 0 0 0 1px rgba(196,64,64,.15);
}
.hp-qa-battle:hover::before { opacity: 1; }
.hp-qa-battle:hover .hp-qa-card-img { filter: drop-shadow(0 4px 16px rgba(196,64,64,.3)); }
.hp-qa-battle:hover span { text-shadow: 0 0 12px rgba(196,64,64,.3); }

/* — Marketplace (purple) */
.hp-qa-market {
    background: radial-gradient(ellipse at 50% 80%, rgba(120,60,200,.08), rgba(120,60,200,.02) 70%);
}
.hp-qa-market::before { background: radial-gradient(ellipse at 50% 60%, rgba(120,60,200,.12), transparent 70%); }
.hp-qa-market:hover {
    border-color: rgba(120,60,200,.35);
    box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 20px rgba(120,60,200,.08), 0 0 0 1px rgba(120,60,200,.15);
}
.hp-qa-market:hover::before { opacity: 1; }
.hp-qa-market:hover .hp-qa-card-img { filter: drop-shadow(0 4px 16px rgba(120,60,200,.3)); }
.hp-qa-market:hover span { text-shadow: 0 0 12px rgba(120,60,200,.3); }

/* — Collection (green) */
.hp-qa-collect {
    background: radial-gradient(ellipse at 50% 80%, rgba(78,154,62,.08), rgba(78,154,62,.02) 70%);
}
.hp-qa-collect::before { background: radial-gradient(ellipse at 50% 60%, rgba(78,154,62,.12), transparent 70%); }
.hp-qa-collect:hover {
    border-color: rgba(78,154,62,.35);
    box-shadow: 0 8px 24px rgba(0,0,0,.5), 0 0 20px rgba(78,154,62,.08), 0 0 0 1px rgba(78,154,62,.15);
}
.hp-qa-collect:hover::before { opacity: 1; }
.hp-qa-collect:hover .hp-qa-card-img { filter: drop-shadow(0 4px 16px rgba(78,154,62,.3)); }
.hp-qa-collect:hover span { text-shadow: 0 0 12px rgba(78,154,62,.3); }

/* Sidebar Trending Row */
.hp-sw-row {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.03);
    transition: all .25s cubic-bezier(.4,0,.2,1);
    text-decoration: none; color: inherit; position: relative;
}
.hp-sw-row::before {
    content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 2px;
    background: var(--gold); border-radius: 0 2px 2px 0;
    opacity: 0; transform: scaleY(0); transition: all .25s ease;
}
.hp-sw-row:last-child { border-bottom: none; }
.hp-sw-row:hover {
    background: linear-gradient(90deg, rgba(218,165,32,.06), rgba(218,165,32,.02) 80%);
    padding-left: 18px;
}
.hp-sw-row:hover::before { opacity: 1; transform: scaleY(1); }
.hp-sw-row img {
    width: 36px; height: 50px; object-fit: contain; border-radius: 4px; flex-shrink: 0;
    border: 1px solid rgba(218,165,32,.1);
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hp-sw-row:hover img {
    transform: scale(1.08);
    border-color: rgba(218,165,32,.25);
    box-shadow: 0 3px 12px rgba(0,0,0,.4), 0 0 8px rgba(218,165,32,.1);
}
.hp-sw-row-info { flex: 1; min-width: 0; }
.hp-sw-row-name {
    font-size: 12px; font-weight: 700; color: var(--text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: color .2s ease;
}
.hp-sw-row:hover .hp-sw-row-name { color: var(--gold); }
.hp-sw-row-sub { font-size: 10px; color: var(--text-mid); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-sw-row-price {
    font-size: 13px; font-weight: 800; color: var(--gold); flex-shrink: 0; text-align: right;
    text-shadow: 0 0 8px rgba(218,165,32,.15);
}
.hp-sw-badge {
    font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; display: block; margin-top: 2px;
    letter-spacing: .02em;
}
.hp-sw-badge.up {
    background: rgba(78,154,62,.15); color: var(--green);
    box-shadow: 0 0 6px rgba(78,154,62,.1);
}
.hp-sw-badge.down {
    background: rgba(196,64,64,.15); color: var(--red);
    box-shadow: 0 0 6px rgba(196,64,64,.1);
}

/* Set row */
.hp-sw-set {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.03); position: relative;
    transition: all .25s cubic-bezier(.4,0,.2,1);
}
.hp-sw-set::before {
    content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(218,165,32,.3));
    border-radius: 0 2px 2px 0;
    opacity: 0; transform: scaleY(0); transition: all .25s ease;
}
.hp-sw-set:last-child { border-bottom: none; }
.hp-sw-set:hover {
    background: linear-gradient(90deg, rgba(218,165,32,.05), transparent 80%);
    padding-left: 18px;
}
.hp-sw-set:hover::before { opacity: 1; transform: scaleY(1); }
.hp-sw-set-logo {
    width: 32px; height: 32px; object-fit: contain; flex-shrink: 0;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,.3));
    transition: transform .25s ease, filter .25s ease;
}
.hp-sw-set:hover .hp-sw-set-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 8px rgba(218,165,32,.2));
}
.hp-sw-set-info { flex: 1; min-width: 0; }
.hp-sw-set-name { font-size: 12px; font-weight: 700; color: var(--text); transition: color .2s; }
.hp-sw-set:hover .hp-sw-set-name { color: var(--gold); }
.hp-sw-set-name a { transition: color .2s; }
.hp-sw-set:hover .hp-sw-set-name a { color: var(--gold) !important; }
.hp-sw-set-meta { font-size: 10px; color: var(--text-mid); }
.hp-sw-new {
    font-size: 9px; font-weight: 700; padding: 2px 8px; border-radius: 6px;
    background: linear-gradient(135deg, rgba(218,165,32,.18), rgba(218,165,32,.08));
    color: var(--gold); text-transform: uppercase; flex-shrink: 0;
    border: 1px solid rgba(218,165,32,.15);
    box-shadow: 0 0 8px rgba(218,165,32,.1);
    animation: newBadgePulse 3s ease-in-out infinite;
}
@keyframes newBadgePulse {
    0%,100% { box-shadow: 0 0 8px rgba(218,165,32,.1); }
    50% { box-shadow: 0 0 14px rgba(218,165,32,.2), 0 0 4px rgba(218,165,32,.15); }
}

/* Popular searches */
.hp-pop-searches { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 14px; }
.hp-pop-pill {
    padding: 5px 12px; border-radius: 20px; font-size: 11px; font-weight: 600;
    background: rgba(218,165,32,.06); border: 1px solid rgba(218,165,32,.1);
    color: var(--gold); text-decoration: none;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.hp-pop-pill:hover {
    background: rgba(218,165,32,.14); border-color: rgba(218,165,32,.3);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,.25), 0 0 8px rgba(218,165,32,.08);
    text-shadow: 0 0 8px rgba(218,165,32,.2);
}

/* ── DT7.0 Wave 4.1 marketplace widgets (Ending Soon / Become Seller / Watched Drops) ── */
.hp-ending-soon .hp-sw-header { border-bottom-color: rgba(255,138,61,.12); }
.hp-watched-drops .hp-sw-header { border-bottom-color: rgba(78,154,62,.12); }

/* ── Top Pulls Today widget — Hero upgrade (v2.28.28 Podium, 2026-05-17) ──
   Bug fix: .hp-tp-info inner spans now display:block so white-space:nowrap +
   text-overflow:ellipsis actually constrain inside the grid 1fr cell (was
   overlapping price chip when name/sub overflowed). Hero upgrade: larger
   cards (48x66), tier-1/2/3 medal treatments, holo sweep on hover, podium
   bg tint for #1, mobile parity rules. All animations gated behind
   prefers-reduced-motion. */
.hp-top-pulls { position:relative; overflow:hidden; }
.hp-top-pulls .hp-sw-header { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.hp-top-pulls .hp-sw-header > span:first-child { display:inline-flex; align-items:center; gap:6px; font-weight:700; }
.hp-tp-live {
    display:inline-flex; align-items:center; gap:5px;
    font-size:9px; font-weight:800; color:#ff6b6b;
    text-transform:uppercase; letter-spacing:.06em;
}
.hp-tp-live::before {
    content:''; width:6px; height:6px; border-radius:50%;
    background:#ff6b6b; box-shadow:0 0 6px rgba(255,107,107,.7);
    /* v2.30.x — Softer + slower pulse + 1.5s lead-in. Prior animation
       scaled to 60% with opacity .4 on a 1s cycle which read as
       twitchy/flashing. New: gentle 85% scale, .7 opacity, 1.8s cycle. */
    animation:tpPulse 1.8s ease-in-out 1.5s infinite backwards;
}
@keyframes tpPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.7;transform:scale(.85)} }
@media(prefers-reduced-motion:reduce){ .hp-tp-live::before { animation:none } }
.hp-tp-empty { padding:18px 16px; font-size:11px; color:var(--text-dim); text-align:center; font-style:italic; line-height:1.5; }
.hp-tp-list { padding:4px 0 2px; }
.hp-tp-row {
    display:grid; grid-template-columns:22px 48px minmax(0,1fr) auto;
    align-items:center; gap:11px;
    padding:10px 14px; text-decoration:none; color:inherit;
    border-bottom:1px solid rgba(46,36,24,.35);
    transition:background .2s ease, transform .2s ease, padding .2s ease;
    position:relative;
}
.hp-tp-row:last-child { border-bottom:none; }
.hp-tp-row:hover { background:rgba(218,165,32,.05); }
.hp-tp-row:active { transform:scale(.985); }

/* Rank emblem — circular badge w/ tier color */
.hp-tp-rank {
    display:flex; align-items:center; justify-content:center;
    width:22px; height:22px; border-radius:50%;
    font-size:10px; font-weight:900; color:var(--text-dim);
    font-variant-numeric:tabular-nums;
    background:rgba(46,36,24,.5); border:1px solid rgba(46,36,24,.6);
    transition:transform .2s ease;
}
.hp-tp-row:hover .hp-tp-rank { transform:scale(1.08); }
/* TIER 1 — GOLD podium row */
.hp-tp-row.is-tier-1 {
    background:linear-gradient(90deg, rgba(218,165,32,.10) 0%, rgba(218,165,32,.04) 40%, transparent 100%);
    padding-top:12px; padding-bottom:12px;
}
.hp-tp-row.is-tier-1 .hp-tp-rank {
    background:linear-gradient(135deg, #f0c850 0%, #daa520 60%, #b8881a 100%);
    border-color:#f0c850; color:#1a1208;
    box-shadow:0 0 10px rgba(218,165,32,.55), inset 0 1px 0 rgba(255,255,255,.35);
    animation:tpRankGoldPulse 2.4s ease-in-out infinite;
}
@keyframes tpRankGoldPulse {
    0%,100% { box-shadow:0 0 10px rgba(218,165,32,.55), inset 0 1px 0 rgba(255,255,255,.35); }
    50%     { box-shadow:0 0 16px rgba(218,165,32,.75), inset 0 1px 0 rgba(255,255,255,.45); }
}
/* TIER 2 — silver */
.hp-tp-row.is-tier-2 .hp-tp-rank {
    background:linear-gradient(135deg, #e8e8e8 0%, #b8b8b8 60%, #888 100%);
    border-color:#d0d0d0; color:#1a1a1a;
    box-shadow:0 0 6px rgba(200,200,200,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
/* TIER 3 — bronze */
.hp-tp-row.is-tier-3 .hp-tp-rank {
    background:linear-gradient(135deg, #e09060 0%, #cd7f32 60%, #8a4a18 100%);
    border-color:#e09060; color:#1a0e04;
    box-shadow:0 0 6px rgba(205,127,50,.35), inset 0 1px 0 rgba(255,255,255,.3);
}

/* Card image — bigger, holo-shimmer on tier-1, sheen sweep on hover */
.hp-tp-img-wrap {
    width:48px; height:66px; border-radius:5px; overflow:hidden;
    background:linear-gradient(160deg, rgba(218,165,32,.08), rgba(26,21,14,.6));
    flex-shrink:0; position:relative;
    border:1px solid rgba(46,36,24,.5);
    box-shadow:0 2px 6px rgba(0,0,0,.35);
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hp-tp-row:hover .hp-tp-img-wrap {
    transform:translateY(-1px) scale(1.04);
    box-shadow:0 4px 12px rgba(0,0,0,.5), 0 0 10px rgba(218,165,32,.15);
    border-color:rgba(218,165,32,.45);
}
.hp-tp-img-wrap img { width:100%; height:100%; object-fit:cover; display:block; }
/* Holo sweep — moving sheen over card on hover (compositor-friendly: transform only) */
.hp-tp-img-wrap::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(115deg, transparent 30%, rgba(255,255,255,.32) 50%, transparent 70%);
    transform:translateX(-110%); pointer-events:none;
    transition:transform .55s cubic-bezier(.4,0,.2,1);
}
.hp-tp-row:hover .hp-tp-img-wrap::after { transform:translateX(110%); }
/* TIER 1 image — permanent gold border + subtle ambient glow */
.hp-tp-row.is-tier-1 .hp-tp-img-wrap {
    border-color:rgba(218,165,32,.5);
    box-shadow:0 3px 10px rgba(0,0,0,.45), 0 0 12px rgba(218,165,32,.18);
}
@media(prefers-reduced-motion:reduce){
    .hp-tp-img-wrap, .hp-tp-img-wrap::after, .hp-tp-row, .hp-tp-rank {
        transition:none; animation:none; transform:none;
    }
}

/* Info column — BUG FIX: spans need display:block for ellipsis to work
   inside the grid 1fr cell. min-width:0 + block + nowrap = proper truncation. */
.hp-tp-info { min-width:0; display:flex; flex-direction:column; gap:3px; }
.hp-tp-name {
    display:block; min-width:0;
    font-size:12px; font-weight:700; color:var(--text);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    line-height:1.25; letter-spacing:.005em;
}
.hp-tp-row.is-tier-1 .hp-tp-name {
    font-size:12.5px; color:#f5e8c8;
}
.hp-tp-sub {
    display:block; min-width:0;
    font-size:10px; color:var(--text-dim);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    line-height:1.3;
}
.hp-tp-user { color:#c8a14a; font-weight:600; }
/* Set name — own line under @username (2026-05-17 — was inline w/ separator,
   right-edge clipped on long names like "Special Illustration Rare"). */
.hp-tp-set {
    display:block; min-width:0;
    font-size:10px; color:var(--text-dim);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
    line-height:1.3; opacity:.85;
}

/* Price chip — gold gradient with stronger glow on tier-1 */
.hp-tp-price {
    font-size:13px; font-weight:800; color:var(--gold);
    font-variant-numeric:tabular-nums; text-align:right;
    text-shadow:0 0 6px rgba(218,165,32,.25);
    padding-left:6px; white-space:nowrap;
}
.hp-tp-row.is-tier-1 .hp-tp-price {
    font-size:14px;
    background:linear-gradient(180deg, #f5d36a 0%, #daa520 60%, #b8881a 100%);
    -webkit-background-clip:text; background-clip:text;
    -webkit-text-fill-color:transparent;
    filter:drop-shadow(0 0 8px rgba(218,165,32,.45)) drop-shadow(0 1px 0 rgba(0,0,0,.4));
}

/* Slot-in animation when a row enters or shifts rank — uses transform/opacity only */
.hp-tp-row.hp-tp-new { animation:tpSlotIn .7s cubic-bezier(.34,1.56,.64,1); }
@keyframes tpSlotIn {
    0%   { background:rgba(218,165,32,.28); transform:translateX(-6px) scale(.985); opacity:.35; }
    55%  { background:rgba(218,165,32,.12); transform:translateX(1px) scale(1.005); opacity:1; }
    100% { background:transparent; transform:translateX(0) scale(1); opacity:1; }
}
@media(prefers-reduced-motion:reduce){ .hp-tp-row.hp-tp-new { animation:none } }

/* Ambient background flare — extremely subtle, makes the widget feel "alive" */
.hp-top-pulls::before {
    content:''; position:absolute; inset:-30% -10% auto auto;
    width:140%; height:60%;
    background:radial-gradient(circle at 70% 30%, rgba(218,165,32,.08) 0%, transparent 55%);
    pointer-events:none; z-index:0;
}
.hp-top-pulls .hp-sw-header, .hp-top-pulls .hp-tp-list { position:relative; z-index:1; }

/* ── Mobile parity (hoisted version is primary surface on ≤768px) ── */
@media(max-width:768px) {
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-row {
        grid-template-columns:26px 56px minmax(0,1fr) auto;
        gap:12px; padding:12px 14px;
    }
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-row.is-tier-1 {
        padding-top:14px; padding-bottom:14px;
    }
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-rank {
        width:26px; height:26px; font-size:11px;
    }
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-img-wrap {
        width:56px; height:78px; border-radius:6px;
    }
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-name { font-size:13.5px; }
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-row.is-tier-1 .hp-tp-name { font-size:14.5px; }
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-sub,
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-set { font-size:11px; }
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-price { font-size:14px; }
    .hp-snapshot-mobile-hoist .hp-top-pulls .hp-tp-row.is-tier-1 .hp-tp-price { font-size:15.5px; }
}
.hp-become-seller {
    padding: 14px 14px 16px;
    background: linear-gradient(160deg, rgba(218,165,32,.10) 0%, rgba(26,21,14,.92) 60%);
    border: 1px solid rgba(218,165,32,.22);
    border-radius: 12px;
    text-align: left;
}
.hp-become-seller .hp-bs-title {
    margin: 0 0 6px; font-size: 14px; font-weight: 800; color: var(--text);
    letter-spacing: .01em;
}
.hp-become-seller .hp-bs-sub {
    margin: 0 0 12px; font-size: 11.5px; line-height: 1.45; color: var(--text-mid);
}
.hp-become-seller .hp-bs-cta {
    display: inline-block; padding: 8px 14px; border-radius: 9px;
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: #1a150e; font-weight: 800; font-size: 12px; text-decoration: none;
    letter-spacing: .02em;
    box-shadow: 0 2px 8px rgba(218,165,32,.25), inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform .15s, box-shadow .2s;
}
.hp-become-seller .hp-bs-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(218,165,32,.4), inset 0 1px 0 rgba(255,255,255,.25);
}

/* â”â‚¬â”â‚¬ Pulse Feed â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-pulse-header {
    display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.hp-pulse-icon {
    width: 32px; height: 32px; background: rgba(176,96,255,.12); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
/* v2.30.x — 1.5s lead-in + backwards fill-mode so the first heartbeat
   on the homepage Pulse band doesn't fire mid-page-load. Quiet initial
   state for 1.5s, then the rhythm starts. */
.hp-pulse-icon i, .hp-pulse-icon svg { width: 18px; height: 18px; color: #b060ff; animation: pulseGlow 2s ease-in-out 1.5s infinite backwards; }
@keyframes pulseGlow{0%,100%{filter:drop-shadow(0 0 4px rgba(160,80,255,.4));opacity:1}50%{filter:drop-shadow(0 0 10px rgba(160,80,255,.8));opacity:.85}}
.hp-pulse-title { font-size: 20px; font-weight: 800; color: #d4b0ff; animation: pulseText 2s ease-in-out 1.5s infinite backwards; }
@keyframes pulseText{0%,100%{text-shadow:0 0 4px rgba(160,80,255,.2)}50%{text-shadow:0 0 12px rgba(160,80,255,.5)}}
.hp-live-badge {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px;
    border-radius: 20px; font-size: 10px; font-weight: 700; text-transform: uppercase;
    background: rgba(78,154,62,.1); color: var(--green); letter-spacing: .05em;
}
.hp-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: onlinePulse 2s ease-in-out infinite; }

/* Thought composer */
.hp-composer {
    display: flex; gap: 10px; padding: 14px 16px; margin-bottom: 12px;
    background: var(--bg-panel); border: 1px solid var(--border); border-radius: 14px;
}
.hp-composer-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1.5px solid rgba(218,165,32,.15); }
.hp-composer-input {
    flex: 1; display: flex; flex-direction: column; gap: 8px;
}
.hp-composer textarea {
    width: 100%; min-height: 40px; padding: 8px 12px; border-radius: 10px;
    background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--text);
    font-size: 13px; font-family: inherit; resize: vertical; outline: none; transition: border-color .2s;
}
.hp-composer textarea:focus { border-color: rgba(176,96,255,.4); }
.hp-composer textarea::placeholder { color: var(--text-mid); opacity: .6; }
.hp-composer-actions { display: flex; justify-content: flex-end; }
.hp-composer-btn {
    padding: 6px 16px; border: none; border-radius: 8px; font-size: 12px; font-weight: 700;
    background: rgba(176,96,255,.2); color: #d4b0ff; cursor: pointer; transition: all .2s; font-family: inherit;
}
.hp-composer-btn:hover { background: rgba(176,96,255,.35); }

/* Pulse Panel */
.hp-pulse-panel {
    background: linear-gradient(170deg,rgba(26,21,14,.95),rgba(14,10,6,.98));
    border: 1px solid rgba(120,60,200,.15); border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(120,60,200,.1), inset 0 1px 0 rgba(120,60,200,.05);
}
.hp-activity-list { display: flex; flex-direction: column; }
/* v1.5.3 Binder Check — port Full Sleeve (card-first) to homepage Pulse */
.hp-activity-item {
    display: flex; align-items: flex-start; gap: 12px; padding: 12px 18px;
    border-bottom: 1px solid rgba(120,60,200,.06); transition: background .15s;
}
.hp-activity-item:last-child { border-bottom: none; }
.hp-activity-item:hover { background: rgba(120,60,200,.04); }
.hp-activity-item.new { animation: pulseSlideIn .4s ease-out forwards; }
@keyframes pulseSlideIn { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:translateY(0); } }

/* Energy coloring on Pulse items — full system from pulse-helpers */
.hp-activity-item[data-energy] { border-left: 3px solid var(--energy); padding-left: 15px; }
.hp-activity-item[data-energy]:hover { background: var(--energy-glow); }

/* Rarity border effects on Pulse items */
.hp-activity-item[data-rarity="illustration"]{border-color:rgba(212,175,55,.3);animation:sparkle 3s ease-in-out infinite}
.hp-activity-item[data-rarity="secret"]{border-color:rgba(255,107,107,.2)}
.hp-activity-item[data-rarity="secret"]::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;border-radius:inherit;border:1px solid transparent;background:linear-gradient(135deg,rgba(255,107,107,.08),rgba(255,165,0,.06),rgba(255,215,0,.08),rgba(0,255,136,.06),rgba(0,191,255,.08),rgba(176,96,255,.1)) border-box;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;pointer-events:none;animation:holoShift 4s linear infinite}
.hp-activity-item[data-rarity="ultra"]{border-color:rgba(176,96,255,.25)}
.hp-activity-item{position:relative;overflow:hidden}

/* Pack items — set-colored glow */
.hp-pack-glow{border-left:3px solid var(--set-color, #c890ff);padding-left:15px;animation:packPulse 3s ease-in-out infinite}
.hp-pack-glow:hover{background:var(--set-glow, rgba(200,144,255,.06));box-shadow:0 0 20px var(--set-glow, rgba(200,144,255,.08))}
.hp-pack-glow .hp-feed-badge.packs{background:var(--set-glow, rgba(78,154,62,.08));color:var(--set-color, var(--green));border:1px solid color-mix(in srgb, var(--set-color) 30%, transparent)}
@keyframes packPulse{0%,100%{border-left-color:var(--set-color)}50%{border-left-color:color-mix(in srgb, var(--set-color) 60%, white)}}

/* foilFlash on new items */
.hp-activity-item.new::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,215,0,.06),transparent 50%);animation:foilFlash .8s ease-out forwards;pointer-events:none;border-radius:inherit}
@keyframes foilFlash{0%{opacity:.6}100%{opacity:0}}

/* Filter Tabs */
.hp-pulse-tabs{display:flex;gap:4px;margin-bottom:12px;overflow-x:auto;scrollbar-width:none;padding:2px 0;-webkit-overflow-scrolling:touch}
.hp-pulse-tabs::-webkit-scrollbar{display:none}
.hp-pulse-tab{padding:6px 14px;border-radius:20px;font-size:11px;font-weight:700;color:var(--text-mid);cursor:pointer;transition:all .25s;white-space:nowrap;border:1px solid rgba(120,60,200,.08);background:rgba(120,60,200,.03);font-family:inherit}
.hp-pulse-tab:hover{color:#d4b0ff;background:rgba(120,60,200,.08);border-color:rgba(120,60,200,.2)}
.hp-pulse-tab.active{color:#fff;background:linear-gradient(135deg,#7c3aed,#b060ff);border-color:rgba(120,60,200,.4);box-shadow:0 4px 16px rgba(120,60,200,.3)}

/* Feed type badges */
.hp-feed-badge{font-size:9px;font-weight:700;padding:2px 8px;border-radius:10px;text-transform:uppercase;letter-spacing:.04em;margin-left:6px}
.hp-feed-badge.cards{background:rgba(176,96,255,.1);color:#c890ff}
.hp-feed-badge.packs{background:rgba(78,154,62,.08);color:var(--green)}
.hp-feed-badge.battles{background:rgba(196,64,64,.08);color:var(--red)}
.hp-feed-badge.thoughts{background:rgba(176,96,255,.08);color:#c890ff}
.hp-feed-badge.forum{background:rgba(218,165,32,.08);color:var(--gold)}
.hp-feed-badge.market{background:rgba(100,130,200,.08);color:#6482c8}

/* Thought / Thread / Sale render types */
.hp-thought{font-size:13px;color:var(--text);margin-top:4px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}
.hp-thread-title{font-size:13px;font-weight:700;color:var(--text);text-decoration:none;display:block;transition:color .15s}
.hp-thread-title:hover{color:#c890ff}
.hp-thread-meta{font-size:10px;color:var(--text-dim);margin-top:2px;display:flex;gap:8px}

/* Card thumb — upgraded with hover zoom */
/* Card thumb — Full Sleeve on homepage: hero-left, bigger, rarity halos */
.hp-thumb-wrap { flex-shrink: 0; position: relative; order: 1; margin: 0; }
.hp-card-thumb { width: 54px; height: 74px; border-radius: 6px; object-fit: cover; flex-shrink: 0; border: 1.5px solid rgba(120,60,200,.2); transition: all .3s; cursor: pointer; display: block; }
.hp-card-thumb:hover { transform: scale(1.08) rotate(-2deg); box-shadow: 0 4px 16px rgba(0,0,0,.5), 0 0 18px var(--energy-glow, rgba(176,96,255,.2)); }
.hp-card-thumb[data-rarity="illustration"]{border-color:rgba(212,175,55,.5);box-shadow:0 0 14px rgba(212,175,55,.25),inset 0 0 6px rgba(212,175,55,.12)}
.hp-card-thumb[data-rarity="secret"]{border-color:rgba(255,107,107,.4);box-shadow:0 0 14px rgba(255,107,107,.22),inset 0 0 6px rgba(255,107,107,.1)}
.hp-card-thumb[data-rarity="ultra"]{border-color:rgba(176,96,255,.45);box-shadow:0 0 14px rgba(176,96,255,.22),inset 0 0 6px rgba(176,96,255,.1)}
.hp-card-thumb[data-rarity="rare"]{border-color:rgba(96,165,250,.4);box-shadow:0 0 10px rgba(96,165,250,.15)}
.hp-rarity-tag { display: inline; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 6px; }

/* Like + Share buttons with reaction counts */
.hp-item-actions { display: flex; gap: 4px; flex-shrink: 0; margin-top: 6px; opacity: .7; transition: opacity .2s; }
.hp-activity-item:hover .hp-item-actions { opacity: 1; }
.hp-react-btn, .hp-share-btn { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 14px; border: 1px solid rgba(120,60,200,.06); background: rgba(120,60,200,.03); color: var(--text-dim); cursor: pointer; transition: all .2s; font-family: inherit; font-size: 11px; }
.hp-react-btn i, .hp-share-btn i { width: 12px; height: 12px; }
.hp-react-btn:hover { background: rgba(196,64,64,.08); color: #ff6b6b; border-color: rgba(196,64,64,.15); }
.hp-react-btn.active { background: rgba(196,64,64,.12); color: #ff6b6b; border-color: rgba(196,64,64,.2); }
.hp-react-btn .rx-count { font-size: 10px; font-weight: 700; }
.hp-share-btn:hover { background: rgba(120,60,200,.08); color: #d4b0ff; border-color: rgba(120,60,200,.15); }

/* Quick actions on hover (View Card, Add to Collection, Trade This) */
.hp-quick-actions{display:none;gap:6px;margin-top:6px;flex-wrap:wrap}
.hp-activity-item:hover .hp-quick-actions{display:flex}
.hp-qa-link{font-size:10px;font-weight:600;color:var(--text-dim);text-decoration:none;padding:3px 8px;border-radius:8px;background:rgba(120,60,200,.04);border:1px solid rgba(120,60,200,.06);transition:all .2s;white-space:nowrap}
.hp-qa-link:hover{color:#d4b0ff;background:rgba(120,60,200,.1);border-color:rgba(120,60,200,.2);text-decoration:none}
@media(max-width:768px){.hp-quick-actions{display:none !important}}

/* Character counter for composer */
.hp-composer-count{font-size:10px;color:var(--text-dim)}

/* Card zoom preview popup */
.hp-card-preview { position: fixed; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .2s ease, transform .2s ease; transform: scale(.85); border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.7), 0 0 30px var(--energy-glow, rgba(120,60,200,.2)); border: 2px solid var(--energy, rgba(120,60,200,.3)); background: var(--bg-panel); padding: 6px; }
.hp-card-preview.visible { opacity: 1; transform: scale(1); pointer-events: auto; }
.hp-card-preview img { width: 200px; height: auto; border-radius: 8px; display: block; }
.hp-card-preview-info { padding: 6px 4px 2px; text-align: center; font-size: 11px; font-weight: 700; color: var(--text); }
.hp-card-preview-link { display: block; text-align: center; font-size: 10px; color: #b060ff; padding: 2px 0 4px; text-decoration: none; }

/* Responsive — hide tabs scrollbar, smaller thumbs on mobile */
@media(max-width:768px){
  .hp-card-thumb{width:48px;height:66px}
  .hp-pulse-tab{padding:5px 10px;font-size:10px}
}
@media(max-width:480px){
  .hp-card-thumb{width:44px;height:60px} /* Binder Check: visible on ââ€°Â¤480px — was hidden before Full Sleeve */
  .hp-pulse-tab{padding:4px 8px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .hp-activity-item,.hp-card-thumb{transition:none !important;animation:none !important}
  .hp-activity-item.new,.hp-activity-item.new::after{animation:none !important}
}

/* Avatar with category badge — shrunk to 32x32, secondary to card */
.hp-avatar-wrap { position: relative; flex-shrink: 0; order: 2; }
.hp-activity-avatar {
    width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
    border: 1.5px solid rgba(120,60,200,.25);
}
.hp-avatar-badge {
    position: absolute; bottom: -2px; right: -2px; width: 16px; height: 16px;
    border-radius: 50%; background: var(--bg-panel); border: 1.5px solid rgba(120,60,200,.25);
    display: flex; align-items: center; justify-content: center;
}
.hp-avatar-badge i { width: 9px; height: 9px; }

.hp-activity-text { flex: 1; min-width: 0; font-size: 14px; color: var(--text); line-height: 1.4; order: 3; }
.hp-activity-text strong a { color: var(--text); font-weight: 700; text-decoration: none; }
.hp-activity-text strong a:hover { color: #d4b0ff; }
.hp-activity-time { font-size: 11px; color: var(--text-dim, #6e5f4a); flex-shrink: 0; white-space: nowrap; }

.hp-activity-join { text-align: center; padding: 12px 18px; border-top: 1px solid rgba(120,60,200,.06); }
.hp-activity-join a { color: #b060ff; font-weight: 700; text-decoration: none; font-size: 13px; }
.hp-activity-join a:hover { color: #d4b0ff; text-decoration: underline; }

.hp-load-more {
    display: block; width: 100%; padding: 12px; margin-top: 8px; border: 1px solid rgba(120,60,200,.15);
    border-radius: 12px; background: rgba(120,60,200,.04); color: #b060ff; font-size: 13px;
    font-weight: 700; cursor: pointer; text-align: center; transition: all .2s; font-family: inherit;
}
.hp-load-more:hover { background: rgba(120,60,200,.1); border-color: rgba(120,60,200,.3); }

/* â”â‚¬â”â‚¬ Weekly Email Signup â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-email-signup { max-width: 1200px; margin: 0 auto; padding: 20px 20px 0; }
.hp-email-card {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 24px 32px;
    background: transparent; border: 0; box-shadow: none;
}
.hp-email-left { flex: 1; min-width: 0; }
.hp-email-title { font-size: 17px; font-weight: 800; color: var(--text); margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.hp-email-sub { font-size: 13px; color: var(--text-mid); margin: 0; }
.hp-email-form { display: flex; gap: 8px; flex-shrink: 0; }
.hp-email-input {
    padding: 10px 16px; border-radius: 10px; border: 1px solid rgba(218,165,32,.15);
    background: rgba(255,255,255,.04); color: var(--text); font-size: 13px; font-family: inherit;
    width: 220px; outline: none; transition: border-color .2s;
}
.hp-email-input:focus { border-color: rgba(218,165,32,.4); }
.hp-email-input::placeholder { color: var(--text-dim); opacity: .5; }
.hp-email-btn {
    padding: 10px 24px; border: none; border-radius: 10px; font-size: 13px; font-weight: 800;
    background: linear-gradient(135deg, var(--gold), #c49520); color: #0a0806; cursor: pointer;
    transition: all .25s; font-family: inherit; white-space: nowrap;
}
.hp-email-btn:hover { background: linear-gradient(135deg, #e8b830, #d4a520); box-shadow: 0 4px 16px rgba(218,165,32,.3); transform: translateY(-1px); }
@media(max-width:768px) {
    .hp-email-card { flex-direction: column; text-align: center; padding: 20px; gap: 16px; }
    .hp-email-form { width: 100%; }
    .hp-email-input { flex: 1; width: auto; }
    .hp-email-title { justify-content: center; font-size: 15px; }
}

/* â”â‚¬â”â‚¬ Discord Section â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-discord { max-width: 780px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.hp-discord-card {
    background: transparent; border: 0; box-shadow: none;
    padding: 0;
    position: relative; overflow: visible;
}
.hp-discord-card::before,
.hp-discord-card::after { content: none; }
.hp-discord-title { font-size: 24px; font-weight: 800; color: var(--text); margin: 0 0 6px; position: relative; }
.hp-discord-sub { font-size: 14px; color: var(--text-mid); margin: 0 0 24px; position: relative; }
.hp-discord-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; position: relative; }
.hp-discord-feat {
    display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
    background: linear-gradient(160deg, rgba(88,101,242,.1), rgba(218,165,32,.04));
    border: 1px solid rgba(88,101,242,.15); border-radius: 20px; font-size: 13px;
    color: var(--text); font-weight: 600;
}
.hp-discord-feat code { color: #7c8af4; font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.hp-discord-btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 14px 36px;
    background: linear-gradient(135deg, #5865F2, #4752c4); color: #fff; font-size: 15px;
    font-weight: 700; border-radius: 12px; text-decoration: none;
    transition: all .3s cubic-bezier(.34,1.56,.64,1);
    box-shadow: 0 4px 16px rgba(88,101,242,.25); position: relative;
}
.hp-discord-btn:hover {
    transform: translateY(-3px) scale(1.02); color: #fff;
    box-shadow: 0 8px 28px rgba(88,101,242,.4), 0 0 0 3px rgba(218,165,32,.1);
    background: linear-gradient(135deg, #6872f5, #5865F2);
}

/* â”â‚¬â”â‚¬ Dividers â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-divider { height: 1px; max-width: 200px; margin: 0 auto; background: linear-gradient(90deg, transparent, rgba(218,165,32,.3), transparent); }

/* â”â‚¬â”â‚¬ CTA Footer â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
.hp-cta {
    text-align: center; padding: 28px 20px 60px;
    background: radial-gradient(ellipse at 50% 80%, rgba(218,165,32,.07) 0%, transparent 55%),
                radial-gradient(ellipse at 20% 50%, rgba(96,64,176,.03) 0%, transparent 40%),
                radial-gradient(ellipse at 80% 40%, rgba(196,64,64,.02) 0%, transparent 35%);
}
.hp-cta h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 900; color: var(--text); margin: 0 0 14px; letter-spacing: -.01em; }
.hp-cta p { font-size: 16px; color: var(--text-mid); margin: 0 0 36px; }
.hp-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hp-cta-btn {
    padding: 16px 38px; border-radius: 14px; font-size: 15px; font-weight: 700;
    text-decoration: none; transition: all .3s cubic-bezier(.34,1.56,.64,1);
    position: relative; overflow: hidden;
}
.hp-cta-btn:hover { transform: translateY(-3px) scale(1.02); }
.hp-cta-btn.primary {
    background: linear-gradient(135deg, var(--gold), #c8941a, var(--gold));
    background-size: 200% auto; color: #0a0806; box-shadow: 0 4px 20px rgba(218,165,32,.3);
}
.hp-cta-btn.primary:hover { box-shadow: 0 8px 30px rgba(218,165,32,.45), 0 0 0 4px rgba(218,165,32,.1); }
.hp-cta-btn.secondary {
    background: linear-gradient(160deg, rgba(26,21,14,.8), rgba(20,16,10,.9));
    border: 1px solid var(--border); color: var(--text); backdrop-filter: blur(8px);
}
.hp-cta-btn.secondary:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.3); }

/* â”â‚¬â”â‚¬ Responsive â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬â”â‚¬ */
@media (max-width: 768px) {
    /* v2.30.x — Mobile reorder: anon "Rip a pack / Feel the pull" hero
       drops BELOW the search bar on phones per Pope. Flex order keeps the
       DOM as-is (good for SEO + screen readers — H1 still first in source)
       but lets us push the visual hero below the search input where
       thumb-reach matters more than hero impact. Desktop layout is
       untouched (this rule only fires ≤768px). */
    .hp-top-stack {
        display: flex;
        flex-direction: column;
    }
    .hp-top-stack .hp-stats         { order: 1; }
    .hp-top-stack .hp-search-wrap   { order: 2; }
    .hp-top-stack .hp-top-hero      { order: 3; }
    .hp-top-stack .uhs-strip        { order: 4; }

    .hp-hero { min-height: auto; padding: 24px 16px; margin-top: 8px; }
    .hp-hero-pack { width: 160px; margin-bottom: 20px; }
    .hp-search-wrap { padding: 20px 16px 16px; }
    /* v2.30.x — Mobile stats stay as one horizontal strip (4 across) instead
       of stacking 2×2. flex:1 1 0 + min-width:0 lets each cell shrink to
       share the row; nowrap blocks the 2-up fallback.

       v2.30.x followup — Stretch the strip edge-to-edge. #page-wrap has
       padding: 16px max(16px, var(--safe-left)) which gates content
       behind ~16px of side padding. The stats strip breaks out with
       matching negative margin so it reaches the literal viewport edge,
       reclaiming ~32px more horizontal room across the row. Inner
       padding 8px gives each cell breathing space from the absolute
       edge. Safe-area-aware so iPhone notch viewports don't blow up. */
    .hp-stats {
        /* Viewport-anchor trick: forces the element to span the full
           viewport width regardless of parent padding/max-width. Prior
           negative-margin approach failed because the parent chain
           doesn't expose the page padding cleanly on the homepage. */
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        max-width: 100vw;
        box-sizing: border-box;
        padding: 14px max(12px, var(--safe-left, 12px)) 12px max(12px, var(--safe-right, 12px));
    }
    .hp-stats-row { gap: 4px; flex-wrap: nowrap; }
    .hp-stat { padding: 6px 0; flex: 1 1 0; min-width: 0; overflow: hidden; }
    /* v2.30.x — Value Tracked needs ~50% more width than its peers so the
       full dollar string ($1,891,495 — 10 chars at font-weight 900) fits
       without clipping. Other cells (87,587 / 9,041 / 13) are 5-6 chars
       and have plenty of room to give up. */
    .hp-stat.hp-stat--value { flex: 1.55 1 0; }
    .hp-stat-num { font-size: clamp(14px, 4.2vw, 22px) !important; line-height: 1.1; letter-spacing: -.015em; white-space: nowrap; }
    .hp-stat-label { font-size: 9px; margin-top: 4px; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .hp-main-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 24px 16px; }  /* v2.9.1 — minmax(0,1fr) prevents grid item from being stretched by overflow-x:auto children (.pulse-tabs) */
    .hp-sidebar {
        position: static; max-height: none; overflow: visible;
        box-shadow: none;
    }
    .hp-qa-card { min-height: 70px; }
    .hp-cta { padding: 24px 16px 40px; }
    .hp-cta-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .hp-cta-btn { width: 100%; max-width: 280px; text-align: center; justify-content: center; display: flex; }
    .hp-discord { padding: 24px 16px; }
    .hp-discord-card { padding: 0; }
    .hp-discord-features { gap: 8px; }
    .hp-discord-feat { padding: 5px 10px; font-size: 12px; }
    .hp-divider { margin: 0 auto; }
    .hp-activity-item { padding: 10px 12px; }
}
@media (max-width: 480px) {
    .hp-hero { min-height: auto; padding: 20px 16px 28px; }
    .hp-hero-pack { width: 140px; margin-bottom: 16px; }
    /* v2.30.x — One-row stats canon (overrides legacy 2×2 wrap). At this
       breakpoint the edge-to-edge stretch (from the 768px rule above)
       is even more important — every pixel matters at 320-375px.
       Tighter inner padding so cells get as much room as possible. */
    .hp-stats {
        padding: 12px max(8px, var(--safe-left, 8px)) 10px max(8px, var(--safe-right, 8px));
    }
    .hp-stats-row { gap: 3px; flex-wrap: nowrap; }
    .hp-stat { min-width: 0; padding: 4px 0; flex: 1 1 0; overflow: hidden; }
    /* Even tighter at ≤480px — value cell takes 1.6× its peers */
    .hp-stat.hp-stat--value { flex: 1.6 1 0; }
    .hp-stat-num { font-size: clamp(12px, 4vw, 18px) !important; white-space: nowrap; letter-spacing: -.02em; }
    .hp-stat-label { font-size: 8px; letter-spacing: .03em; }
    .hp-hero-cta { padding: 14px 28px; font-size: 15px; width: 100%; max-width: 280px; justify-content: center; }
    .hp-main-grid { padding: 16px; }  /* v2.7.10 — was 16px 12px; now uniform 16px to match all heroes */
    .hp-discord-features { flex-direction: column; align-items: center; }
}

/* v2.7.10 "All-Same-Width" — bulletproof unified width.
   EVERY top-level homepage section (heroes above pulse, hp-main-grid, sections
   below) uses identical 16px L/R padding on mobile. No exceptions. Width math:
   - section box = viewport (full-width block element)
   - section content = viewport - 32 (16px L/R padding)
   - margin: 0 auto centers the section
   - max-width: 100% defeats any leftover desktop max-width constraints
   Pulse-col is inside hp-main-grid, so its content also = viewport - 32.
   ALL widths now identical. */
@media (max-width: 768px) {
    /* v2.33.9 — .hp-stats intentionally excluded from this uniform-width
       rule. The stats bar uses the viewport-anchor margin trick (above)
       to stretch literally edge-to-edge, reclaiming ~32px of horizontal
       room for the "$1,897,134 / 9,311 / etc." numerals on phones.
       All-Same-Width canon still applies to every OTHER homepage section. */
    .hp-hero,
    .hp-search-wrap,
    .hp-quickplays-mobile-hoist,
    .hp-main-grid,
    .hp-email-signup,
    .hp-discord,
    .hp-cta {
        padding-left: 16px !important;
        padding-right: 16px !important;
        max-width: 100% !important;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 480px) {
    /* Same 16px on small mobile too — DON'T tighten to 12px (was the
       original mismatch source — pulse used 12 while heroes used 16).
       v2.33.9 — .hp-stats stays excluded so the edge-to-edge stretch wins. */
    .hp-hero,
    .hp-search-wrap,
    .hp-quickplays-mobile-hoist,
    .hp-main-grid,
    .hp-email-signup,
    .hp-discord,
    .hp-cta {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* v2.7.11 "Inner Strip" — kill double-insets from inner wrappers/margins
   on mobile so content reaches the SAME edge as pulse posts. */
@media (max-width: 768px) {
    /* Quick-Plays panel: kill the L/R margin from line 1168 so the
       hp-qa-grid inside reaches the section edge */
    .hp-quickplays-mobile-hoist {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    /* Quick-Plays grid: kill its 14px L/R padding so its CARDS reach
       the section edge (cards still have their own internal padding) */
    .hp-qa-grid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* v2.7.12 "Pulse Plumb Final" — pulse-shared.php's .pulse-wrap declares
       padding: 12px 10px at @<=768 (file-line 332), and the v2.7.10 "All-Same-
       Width" sweep didn't reach into that included partial. Result: pulse
       content sat at viewport-32-20 = 26px from each edge while quickplays
       card border sat at viewport-32 = 16px from each edge — a 10px gap that
       made cards look inset relative to pulse text. Override scoped to
       homepage (.hp-main-grid descendant) so /thepulse.php standalone is
       untouched. */
    .hp-main-grid .pulse-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* v2.9.1 "Grid Track Cap" — .hp-pulse-col is a CSS-Grid item inside
       .hp-main-grid. Grid items default to min-width:auto, which lets them
       be sized by their largest min-content child. .pulse-tabs has 8 wide
       buttons (~440-600px) with overflow-x:auto, so .hp-pulse-col was being
       stretched WIDER than the grid track when the tabs forced overflow,
       which pushed pulse-item, pulse-composer, and the tab strip itself
       past the viewport — making the parallel .hp-quickplays-mobile-hoist
       (which sits OUTSIDE the grid at correct viewport-32 width) appear to
       "lean left with gap on right" relative to the over-wide pulse content.
       Pairs with the line-1598 grid-template-columns: minmax(0, 1fr) fix —
       belt + suspenders against the classic CSS Grid overflow gotcha. */
    .hp-pulse-col { min-width: 0; }

    /* Defensive: .pulse-tabs explicit width:100% (in addition to its
       max-width:100%) so iOS Safari honors the parent constraint regardless
       of flex children's intrinsic content width. */
    .hp-pulse-col .pulse-tabs { width: 100%; }
}
