.theme-harry-potter-pg {
    --hp-bg: #160a02;
    --hp-surface: #221007;
    --hp-surface-soft: #2c1609;
    --hp-border: rgba(255, 214, 133, 0.22);
    --hp-accent: #f2c24b;
    --hp-accent-strong: #ffdc72;
    --hp-accent-deep: #c88d25;
    --hp-text: #fff7e6;
    --hp-text-soft: rgba(255, 247, 230, 0.72);
    --hp-text-dim: rgba(255, 247, 230, 0.52);
    --hp-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}

.theme-harry-potter-pg body,
.theme-harry-potter-pg #app,
.theme-harry-potter-pg .page-wrapper,
.theme-harry-potter-pg .page-content,
.theme-harry-potter-pg .main-page,
.theme-harry-potter-pg .main-page .main-content,
.theme-harry-potter-pg ion-content,
.theme-harry-potter-pg ion-page {
    background: transparent !important;
    --background: transparent !important;
}

.theme-harry-potter-pg .hp-home-root {
    background: linear-gradient(180deg, rgba(54, 28, 10, 0.96) 0%, rgba(29, 14, 5, 0.98) 100%);
}

.theme-harry-potter-pg .hp-home-overlay {
    background: #120802;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    z-index: 9999;
}

.theme-harry-potter-pg .hp-home-frame {
    border: 0;
    display: block;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
}

@supports (height: 100dvh) {
    .theme-harry-potter-pg .hp-home-frame {
        height: 100dvh;
        min-height: 100dvh;
    }
}

.theme-harry-potter-pg.hp-layout-applied ion-router-outlet,
.theme-harry-potter-pg.hp-layout-applied #app,
.theme-harry-potter-pg.hp-layout-applied .main-page,
.theme-harry-potter-pg.hp-layout-applied .page-content {
    background: transparent !important;
}

.theme-harry-potter-pg .hp-home-shell {
    color: var(--hp-text);
    min-height: 100vh;
    padding-bottom: 12rem;
    position: relative;
}

.theme-harry-potter-pg .hp-home-inner {
    margin: 0 auto;
    max-width: 32.25rem;
    padding: 5.4rem 0.9rem 0;
}

.theme-harry-potter-pg .hp-topbar {
    align-items: center;
    backdrop-filter: blur(10px);
    background: linear-gradient(180deg, rgba(96, 58, 20, 0.96) 0%, rgba(67, 39, 13, 0.94) 100%);
    border-bottom: 1px solid rgba(255, 214, 133, 0.18);
    display: flex;
    gap: 0.75rem;
    height: 4.5rem;
    left: 0;
    justify-content: center;
    padding: 0 0.9rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 60;
}

.theme-harry-potter-pg .hp-topbar-inner {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    margin: 0 auto;
    max-width: 32.25rem;
    width: 100%;
}

.theme-harry-potter-pg .hp-icon-button,
.theme-harry-potter-pg .hp-float-action,
.theme-harry-potter-pg .hp-bottom-nav-item,
.theme-harry-potter-pg .hp-tab-trigger,
.theme-harry-potter-pg .hp-link-chip {
    -webkit-tap-highlight-color: transparent;
}

.theme-harry-potter-pg .hp-icon-button {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 214, 133, 0.15);
    border-radius: 999px;
    color: var(--hp-text);
    cursor: pointer;
    display: inline-flex;
    height: 2.4rem;
    justify-content: center;
    width: 2.4rem;
}

.theme-harry-potter-pg .hp-brand {
    align-items: center;
    display: flex;
    flex: 1;
    gap: 0.6rem;
    min-width: 0;
}

.theme-harry-potter-pg .hp-logo-pill {
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 219, 109, 0.25) 0%, rgba(117, 73, 21, 0.38) 100%);
    border: 1px solid rgba(255, 214, 133, 0.24);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 238, 195, 0.18);
    display: inline-flex;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.35rem 0.75rem;
}

.theme-harry-potter-pg .hp-logo-pill img {
    border-radius: 999px;
    height: 1.65rem;
    object-fit: contain;
    width: 1.65rem;
}

.theme-harry-potter-pg .hp-logo-mark {
    color: var(--hp-accent);
    display: inline-flex;
    flex: none;
    height: 1.65rem;
    width: 1.65rem;
}

.theme-harry-potter-pg .hp-logo-text {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.theme-harry-potter-pg .hp-side-token {
    align-items: center;
    background: rgba(255, 214, 133, 0.13);
    border: 1px solid rgba(255, 214, 133, 0.2);
    border-radius: 999px;
    color: var(--hp-accent);
    display: inline-flex;
    flex: none;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.theme-harry-potter-pg .hp-auth-actions {
    display: flex;
    gap: 0.5rem;
}

.theme-harry-potter-pg .hp-auth-button {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    justify-content: center;
    min-width: 5rem;
    padding: 0.58rem 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
}

.theme-harry-potter-pg .hp-auth-button-primary {
    background: var(--hp-accent);
    color: #2d1708;
}

.theme-harry-potter-pg .hp-auth-button-secondary {
    background: rgba(20, 10, 4, 0.72);
    border: 1px solid rgba(255, 214, 133, 0.45);
    color: var(--hp-accent-strong);
}

.theme-harry-potter-pg .hp-banner-carousel,
.theme-harry-potter-pg .hp-jackpot,
.theme-harry-potter-pg .hp-announcement,
.theme-harry-potter-pg .hp-section,
.theme-harry-potter-pg .hp-footer {
    margin-top: 1rem;
}

.theme-harry-potter-pg .hp-banner-carousel {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1.75rem;
    overflow: hidden;
    position: relative;
}

.theme-harry-potter-pg .hp-banner-track {
    display: flex;
    transition: transform 0.45s ease;
}

.theme-harry-potter-pg .hp-banner-slide {
    flex: 0 0 100%;
    position: relative;
}

.theme-harry-potter-pg .hp-banner-slide img {
    display: block;
    height: 10.5rem;
    object-fit: cover;
    width: 100%;
}

.theme-harry-potter-pg .hp-banner-dots {
    bottom: 0.8rem;
    display: flex;
    gap: 0.45rem;
    justify-content: center;
    left: 0;
    position: absolute;
    right: 0;
}

.theme-harry-potter-pg .hp-banner-dot {
    background: rgba(255, 247, 230, 0.36);
    border-radius: 999px;
    height: 0.5rem;
    width: 0.5rem;
}

.theme-harry-potter-pg .hp-banner-dot.is-active {
    background: var(--hp-accent-strong);
    opacity: 1;
    width: 1.2rem;
}

.theme-harry-potter-pg .hp-jackpot {
    align-items: end;
    background: linear-gradient(180deg, rgba(120, 34, 15, 0.98) 0%, rgba(56, 10, 6, 1) 100%);
    border: 1px solid rgba(255, 208, 106, 0.18);
    border-radius: 1.5rem;
    display: flex;
    height: 8.2rem;
    justify-content: center;
    overflow: hidden;
    padding: 0.8rem;
    position: relative;
}

.theme-harry-potter-pg .hp-jackpot::before {
    background: radial-gradient(circle at 50% 0, rgba(255, 219, 109, 0.34) 0%, rgba(255, 219, 109, 0) 62%);
    content: "";
    inset: 0;
    position: absolute;
}

.theme-harry-potter-pg .hp-jackpot-number {
    color: #ffd54b;
    font-size: 2.45rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    position: relative;
    text-align: center;
    text-shadow: 0 2px 0 #7d120c, 0 0 12px rgba(255, 95, 66, 0.7), 0 0 24px rgba(255, 196, 78, 0.35);
}

.theme-harry-potter-pg .hp-announcement {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--hp-border);
    border-radius: 999px;
    display: flex;
    gap: 0.75rem;
    overflow: hidden;
    padding: 0.85rem 1rem;
}

.theme-harry-potter-pg .hp-announcement-marquee {
    color: var(--hp-text-soft);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.theme-harry-potter-pg .hp-announcement-marquee span {
    animation: hp-marquee 18s linear infinite;
    display: inline-block;
    padding-left: 100%;
}

@keyframes hp-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.theme-harry-potter-pg .hp-category-tabs {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1.2rem;
}

.theme-harry-potter-pg .hp-tab-trigger {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--hp-text-dim);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.35rem 0 0.6rem;
}

.theme-harry-potter-pg .hp-tab-trigger svg {
    align-self: center;
    height: 3rem;
    width: 3rem;
}

.theme-harry-potter-pg .hp-tab-trigger.is-active {
    border-bottom-color: var(--hp-accent);
    color: var(--hp-accent-strong);
}

.theme-harry-potter-pg .hp-section[hidden] {
    display: none !important;
}

.theme-harry-potter-pg .hp-section-header {
    align-items: center;
    display: flex;
    gap: 0.7rem;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.theme-harry-potter-pg .hp-section-title {
    align-items: center;
    display: flex;
    gap: 0.6rem;
}

.theme-harry-potter-pg .hp-section-title svg {
    color: var(--hp-accent);
    height: 2.7rem;
    width: 2.7rem;
}

.theme-harry-potter-pg .hp-section-title h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0;
}

.theme-harry-potter-pg .hp-link-chip {
    color: var(--hp-accent-strong);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.theme-harry-potter-pg .hp-game-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.theme-harry-potter-pg .hp-game-card {
    background: linear-gradient(180deg, rgba(52, 23, 8, 0.96) 0%, rgba(28, 13, 5, 1) 100%);
    border: 1px solid rgba(255, 214, 133, 0.1);
    border-radius: 1rem;
    box-shadow: var(--hp-shadow);
    color: inherit;
    display: block;
    min-height: 14rem;
    overflow: hidden;
    position: relative;
    text-decoration: none;
}

.theme-harry-potter-pg .hp-game-card img {
    display: block;
    height: 9.7rem;
    object-fit: cover;
    width: 100%;
}

.theme-harry-potter-pg .hp-game-body {
    padding: 0.72rem 0.62rem 0.85rem;
}

.theme-harry-potter-pg .hp-game-name {
    display: -webkit-box;
    font-size: 0.82rem;
    font-weight: 700;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
    min-height: 2.25rem;
    overflow: hidden;
}

.theme-harry-potter-pg .hp-game-badge {
    align-items: center;
    background: rgba(12, 7, 4, 0.74);
    border-radius: 999px;
    bottom: 4.6rem;
    color: var(--hp-accent-strong);
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 700;
    gap: 0.22rem;
    left: 0.55rem;
    padding: 0.28rem 0.45rem;
    position: absolute;
}

.theme-harry-potter-pg .hp-game-fav {
    align-items: center;
    background: rgba(12, 7, 4, 0.56);
    border-radius: 999px;
    color: var(--hp-text);
    display: inline-flex;
    height: 1.8rem;
    justify-content: center;
    position: absolute;
    right: 0.55rem;
    top: 0.55rem;
    width: 1.8rem;
}

.theme-harry-potter-pg .hp-footer {
    border-top: 1px solid rgba(255, 214, 133, 0.12);
    color: var(--hp-text-soft);
    margin-top: 1.4rem;
    padding-top: 1rem;
    text-align: center;
}

.theme-harry-potter-pg .hp-footer p {
    font-size: 0.78rem;
    line-height: 1.55;
    margin: 0;
}

.theme-harry-potter-pg .hp-partners {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-content: center;
    margin: 1rem 0 0.8rem;
}

.theme-harry-potter-pg .hp-partner-logo {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 214, 133, 0.08);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    height: 1.8rem;
    justify-content: center;
    padding: 0 0.7rem;
}

.theme-harry-potter-pg .hp-bottom-nav {
    background: linear-gradient(180deg, rgba(32, 15, 6, 0.96) 0%, rgba(17, 8, 3, 1) 100%);
    border-top: 1px solid rgba(255, 214, 133, 0.12);
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 55;
}

.theme-harry-potter-pg .hp-bottom-nav-inner {
    display: grid;
    gap: 0.2rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 32.25rem;
    padding: 0.55rem 0.55rem calc(0.8rem + env(safe-area-inset-bottom));
}

.theme-harry-potter-pg .hp-bottom-nav-item {
    align-items: center;
    color: var(--hp-text-dim);
    display: flex;
    flex-direction: column;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.22rem;
    justify-content: center;
    min-height: 4.5rem;
    text-decoration: none;
}

.theme-harry-potter-pg .hp-bottom-nav-item.is-active {
    color: var(--hp-accent-strong);
}

.theme-harry-potter-pg .hp-bottom-nav-item svg {
    height: 1.1rem;
    width: 1.1rem;
}

.theme-harry-potter-pg .hp-floating-right,
.theme-harry-potter-pg .hp-floating-left {
    bottom: 7.2rem;
    position: fixed;
    z-index: 56;
}

.theme-harry-potter-pg .hp-floating-right {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    right: 0.8rem;
}

.theme-harry-potter-pg .hp-floating-left {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    left: 0.8rem;
}

.theme-harry-potter-pg .hp-float-action {
    align-items: center;
    background: linear-gradient(180deg, rgba(254, 226, 131, 0.92) 0%, rgba(208, 144, 45, 0.96) 100%);
    border-radius: 999px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
    color: #331604;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.45rem;
    justify-content: center;
    min-width: 6.5rem;
    padding: 0.95rem 1rem;
    text-decoration: none;
}

.theme-harry-potter-pg .hp-float-action.is-large {
    min-width: 8rem;
}

.theme-harry-potter-pg .hp-drawer-backdrop {
    background: rgba(0, 0, 0, 0.58);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.25s ease;
    z-index: 70;
}

.theme-harry-potter-pg .hp-drawer {
    background: linear-gradient(180deg, rgba(40, 19, 7, 0.98) 0%, rgba(17, 8, 3, 1) 100%);
    border-right: 1px solid rgba(255, 214, 133, 0.16);
    bottom: 0;
    box-shadow: var(--hp-shadow);
    left: 0;
    max-width: 18rem;
    padding: 1rem;
    position: fixed;
    top: 0;
    transform: translateX(-102%);
    transition: transform 0.28s ease;
    width: calc(100% - 3rem);
    z-index: 71;
}

.theme-harry-potter-pg .hp-drawer.is-open,
.theme-harry-potter-pg .hp-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.theme-harry-potter-pg .hp-drawer.is-open {
    transform: translateX(0);
}

.theme-harry-potter-pg .hp-drawer-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.theme-harry-potter-pg .hp-drawer-list {
    display: grid;
    gap: 0.65rem;
}

.theme-harry-potter-pg .hp-drawer-link {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 214, 133, 0.1);
    border-radius: 0.9rem;
    color: var(--hp-text);
    padding: 0.9rem 1rem;
    text-decoration: none;
}

.theme-harry-potter-pg .hp-home-root .ion-page,
.theme-harry-potter-pg .hp-home-root ion-content,
.theme-harry-potter-pg .hp-home-root ion-content::part(background) {
    --background: transparent !important;
    background: transparent !important;
}

@media (max-width: 23rem) {
    .theme-harry-potter-pg .hp-auth-actions {
        gap: 0.35rem;
    }

    .theme-harry-potter-pg .hp-auth-button {
        min-width: 4.35rem;
        padding-inline: 0.72rem;
    }

    .theme-harry-potter-pg .hp-jackpot-number {
        font-size: 2.1rem;
    }
}

/* Versao v2: base para modelagem fiel ao Harrypotter-PG.html */
.theme-harry-potter-pg .hp-home-shell-v2 {
    color: #f9e7c6;
    min-height: 100vh;
    padding: 0 0 7.2rem;
    position: relative;
}

.theme-harry-potter-pg .hp-topbar-v2 {
    align-items: center;
    background: linear-gradient(180deg, #3d220d 0%, #2d1708 100%);
    border-bottom: 1px solid rgba(255, 212, 124, 0.18);
    display: grid;
    gap: 0.45rem;
    grid-template-columns: 2.5rem 1fr 2.1rem 5.4rem 6rem;
    padding: 0.6rem 0.6rem;
    position: sticky;
    top: 0;
    z-index: 20;
}

.theme-harry-potter-pg .hp-head-circle {
    align-items: center;
    background: rgba(255, 223, 150, 0.12);
    border: 1px solid rgba(255, 214, 133, 0.35);
    border-radius: 999px;
    color: #f4d28a;
    display: inline-flex;
    height: 2.2rem;
    justify-content: center;
    width: 2.2rem;
}

.theme-harry-potter-pg .hp-head-circle svg {
    height: 1.1rem;
    width: 1.1rem;
}

.theme-harry-potter-pg .hp-head-brand {
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 214, 133, 0.2);
    border-radius: 999px;
    display: inline-flex;
    min-height: 2.2rem;
    overflow: hidden;
    padding: 0 0.7rem;
}

.theme-harry-potter-pg .hp-head-brand img {
    display: block;
    height: 1.4rem;
    object-fit: contain;
    width: auto;
}

.theme-harry-potter-pg .hp-logo-fallback {
    color: #fff2cb;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.theme-harry-potter-pg .hp-head-pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    height: 2.2rem;
    justify-content: center;
    text-decoration: none;
}

.theme-harry-potter-pg .hp-head-pill-login {
    background: #f4c64d;
    color: #291507;
}

.theme-harry-potter-pg .hp-head-pill-register {
    background: #2a170b;
    border: 1px solid rgba(255, 214, 133, 0.42);
    color: #f4d28a;
}

.theme-harry-potter-pg .hp-main-v2 {
    margin: 0 auto;
    max-width: 32.25rem;
    padding: 0.8rem;
}

.theme-harry-potter-pg .hp-banner-v2 {
    background: #44220d;
    border: 1px solid rgba(255, 214, 133, 0.14);
    border-radius: 1.2rem;
    overflow: hidden;
    padding: 0.9rem;
    position: relative;
}

.theme-harry-potter-pg .hp-banner-track-v2 {
    position: relative;
}

.theme-harry-potter-pg .hp-banner-slide-v2 {
    background: linear-gradient(135deg, #5d2b0f, #3f1f0b);
    border-radius: 0.95rem;
    display: none;
    height: 9.6rem;
}

.theme-harry-potter-pg .hp-banner-slide-v2:nth-child(2) {
    background: linear-gradient(135deg, #4c3479, #251637);
}

.theme-harry-potter-pg .hp-banner-slide-v2:nth-child(3) {
    background: linear-gradient(135deg, #374d2f, #1a2516);
}

.theme-harry-potter-pg .hp-banner-slide-v2.is-active {
    display: block;
}

.theme-harry-potter-pg .hp-banner-dots-v2 {
    display: flex;
    gap: 0.35rem;
    justify-content: center;
    margin-top: 0.55rem;
}

.theme-harry-potter-pg .hp-banner-dots-v2 span {
    background: rgba(255, 237, 183, 0.45);
    border-radius: 999px;
    height: 0.42rem;
    width: 0.42rem;
}

.theme-harry-potter-pg .hp-banner-dots-v2 span.is-active {
    background: #f7d668;
    width: 1.1rem;
}

.theme-harry-potter-pg .hp-jackpot-v2 {
    background: linear-gradient(180deg, #8b2a15 0%, #53180d 100%);
    border: 1px solid rgba(255, 214, 133, 0.2);
    border-radius: 1.2rem;
    margin-top: 0.8rem;
    padding: 1.3rem 0.8rem;
}

.theme-harry-potter-pg .hp-jackpot-value-v2 {
    color: #ffd54b;
    font-size: 2.05rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-shadow: 0 2px 0 #651008;
}

.theme-harry-potter-pg .hp-search-v2 {
    align-items: center;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1fr 2.8rem;
    margin-top: 0.8rem;
}

.theme-harry-potter-pg .hp-search-input-v2 {
    align-items: center;
    background: #193a67;
    border-radius: 999px;
    color: #f2c24b;
    display: inline-flex;
    font-size: 0.96rem;
    font-weight: 800;
    min-height: 2.85rem;
    padding: 0 1rem;
}

.theme-harry-potter-pg .hp-search-btn-v2 {
    align-items: center;
    background: #222943;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    height: 2.8rem;
    justify-content: center;
    width: 2.8rem;
}

.theme-harry-potter-pg .hp-search-btn-v2 svg {
    height: 1.15rem;
    width: 1.15rem;
}

.theme-harry-potter-pg .hp-provider-row-v2 {
    display: grid;
    gap: 0.5rem;
    grid-auto-columns: minmax(4.8rem, 1fr);
    grid-auto-flow: column;
    margin-top: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
}

.theme-harry-potter-pg .hp-provider-item-v2 {
    align-items: center;
    background: #1c2237;
    border: 1px solid #3c72c3;
    border-radius: 0.9rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    justify-content: center;
    min-height: 4.8rem;
    padding: 0.35rem;
}

.theme-harry-potter-pg .hp-provider-item-v2.is-active {
    background: linear-gradient(180deg, #2e567e, #1d2b49);
    box-shadow: 0 0 0 1px rgba(113, 184, 255, 0.5) inset;
}

.theme-harry-potter-pg .hp-provider-item-v2 span {
    font-size: 0.72rem;
    font-weight: 800;
}

.theme-harry-potter-pg .hp-provider-item-v2 small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.66rem;
}

.theme-harry-potter-pg .hp-provider-ico {
    align-items: center;
    display: inline-flex;
    height: 1rem;
    justify-content: center;
    width: 1rem;
}

.theme-harry-potter-pg .hp-provider-ico svg {
    height: 1rem;
    width: 1rem;
}

.theme-harry-potter-pg .hp-category-v2 {
    margin-top: 0.95rem;
}

.theme-harry-potter-pg .hp-category-v2 h3 {
    align-items: center;
    color: #fff3d3;
    display: flex;
    font-size: 1.02rem;
    font-weight: 800;
    gap: 0.35rem;
    margin: 0;
}

.theme-harry-potter-pg .hp-category-v2 h3 svg {
    color: #ff7b38;
    height: 1rem;
    width: 1rem;
}

.theme-harry-potter-pg .hp-cards-v2 {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.6rem;
}

.theme-harry-potter-pg .hp-card-v2 {
    background: linear-gradient(160deg, #7f3a1b, #2e1206);
    border: 1px solid rgba(255, 214, 133, 0.16);
    border-radius: 0.8rem;
    height: 7.8rem;
}

.theme-harry-potter-pg .hp-float-left-v2,
.theme-harry-potter-pg .hp-float-right-v2 {
    bottom: 4.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    position: fixed;
    z-index: 21;
}

.theme-harry-potter-pg .hp-float-left-v2 { left: 0.55rem; }
.theme-harry-potter-pg .hp-float-right-v2 { right: 0.55rem; }

.theme-harry-potter-pg .hp-float-pill-v2 {
    align-items: center;
    background: linear-gradient(180deg, #f6d56e 0%, #d59a2f 100%);
    border-radius: 999px;
    color: #261407;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    justify-content: center;
    min-height: 2.65rem;
    min-width: 6.5rem;
    padding: 0 0.75rem;
    text-decoration: none;
}

.theme-harry-potter-pg .hp-bottom-v2 {
    align-items: center;
    background: linear-gradient(180deg, rgba(32, 15, 6, 0.96) 0%, rgba(17, 8, 3, 1) 100%);
    border-top: 1px solid rgba(255, 214, 133, 0.18);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    left: 0;
    padding: 0.45rem 0.2rem calc(0.5rem + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 22;
}

.theme-harry-potter-pg .hp-bottom-v2 a {
    align-items: center;
    color: rgba(255, 255, 255, 0.62);
    display: flex;
    flex-direction: column;
    font-size: 0.72rem;
    font-weight: 700;
    gap: 0.2rem;
    text-decoration: none;
}

.theme-harry-potter-pg .hp-bottom-v2 a.is-active {
    color: #ffd667;
}

.theme-harry-potter-pg .hp-bottom-v2 svg {
    height: 1rem;
    width: 1rem;
}

/* Patch parcial: somente topo e banner em cima do PhantomBlue */
.theme-harry-potter-pg .hp-top-patch {
    margin: 0 auto;
    max-width: 32.25rem;
    padding: 0.3rem 0.5rem 0;
    position: relative;
    z-index: 12;
}

.theme-harry-potter-pg .hp-top-only-shell {
    margin: 0;
    padding: 0;
}

.theme-harry-potter-pg .hp-topbar-only {
    border-radius: 0.8rem;
    margin: 0;
    position: relative;
    top: auto;
}

.theme-harry-potter-pg .hp-banner-only {
    margin-top: 0.6rem;
}

.theme-harry-potter-pg .hp-mini-brand {
    color: #f7d37f;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

/* Esconde apenas os blocos originais do topo/banner para nao duplicar */
.theme-harry-potter-pg #inicio.hp-top-only .pwa-header-wrap,
.theme-harry-potter-pg #inicio.hp-top-only .swiper-c,
.theme-harry-potter-pg #inicio.hp-top-only .swiper-poster,
.theme-harry-potter-pg #inicio.hp-top-only .order-container > .swiper {
    display: none !important;
}