:root {
    color-scheme: light;
    --bg: #f5f8fb;
    --surface: #ffffff;
    --surface-soft: #edf6f8;
    --surface-warm: #fff7ec;
    --text: #17212f;
    --muted: #637083;
    --soft: #8792a2;
    --line: #dbe5ee;
    --accent: #0aa7a3;
    --blue: #2457c5;
    --gold: #d79a28;
    --coral: #e96e61;
    --green: #1f9d67;
    --danger: #dc3f64;
    --shadow: 0 24px 70px rgba(33, 54, 82, 0.14);
    --content-max: 1920px;
    --content-gutter: clamp(32px, 4vw, 80px);
}

/* Fox TV Online — studio digital */
body.site-theme-studio {
    color-scheme: dark;
    --bg: #09090f;
    --surface: #111119;
    --surface-soft: #171722;
    --surface-warm: #1d1722;
    --text: #f7f7f2;
    --muted: #aaa9b7;
    --soft: #777684;
    --line: rgba(255, 255, 255, 0.11);
    --accent: #c7ff3d;
    --blue: #7c3aed;
    --gold: #7c3aed;
    --coral: #ff5e62;
    --green: #c7ff3d;
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.48);
    background:
        radial-gradient(circle at 82% 8%, rgba(124, 58, 237, 0.22), transparent 27rem),
        radial-gradient(circle at 10% 42%, rgba(199, 255, 61, 0.06), transparent 32rem),
        #09090f;
    color: var(--text);
}

body.site-theme-studio .page-pattern {
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(180deg, #000, transparent 88%);
}

body.site-theme-studio .site-header {
    min-height: 76px;
    padding: 8px clamp(18px, 4vw, 70px);
    background: rgba(9, 9, 15, 0.84);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(24px) saturate(135%);
}

body.site-theme-studio .brand {
    gap: 13px;
}

body.site-theme-studio .brand-mark {
    position: relative;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #09090f;
    font-family: Impact, "Arial Narrow", sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0.04em;
    box-shadow: 0 0 0 6px rgba(199, 255, 61, 0.09);
}

body.site-theme-studio .brand-mark::after {
    position: absolute;
    right: -8px;
    bottom: -8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #7c3aed;
    content: "";
}

body.site-theme-studio .brand-mark.has-image {
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(199, 255, 61, 0.14);
}

body.site-theme-studio .brand-mark.has-image::after {
    display: none;
}

body.site-theme-studio .brand > span:last-child {
    display: grid;
    gap: 2px;
}

body.site-theme-studio .brand strong {
    color: #fff;
    font-family: Impact, "Arial Narrow", sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

body.site-theme-studio .brand small {
    color: #8e8d99;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

body.site-theme-studio .main-nav,
body.site-theme-studio .main-nav a,
body.site-theme-studio .main-nav button {
    color: #bdbcc6;
}

body.site-theme-studio .main-nav > a,
body.site-theme-studio .main-nav > .nav-dropdown > button {
    position: relative;
    border: 0;
    background: transparent;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

body.site-theme-studio .main-nav > a::after,
body.site-theme-studio .main-nav > .nav-dropdown > button::after {
    position: absolute;
    right: 10px;
    bottom: 2px;
    left: 10px;
    height: 2px;
    background: var(--accent);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

body.site-theme-studio .main-nav > a:hover::after,
body.site-theme-studio .main-nav > a.is-active::after,
body.site-theme-studio .main-nav > .nav-dropdown > button:hover::after,
body.site-theme-studio .main-nav > .nav-dropdown > button.is-active::after {
    transform: scaleX(1);
}

body.site-theme-studio .main-nav a:hover,
body.site-theme-studio .main-nav a.is-active,
body.site-theme-studio .main-nav button:hover,
body.site-theme-studio .main-nav button.is-active {
    color: #fff;
    background: transparent;
}

body.site-theme-studio .nav-dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(17, 17, 25, 0.98);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

body.site-theme-studio .nav-dropdown-menu-heading,
body.site-theme-studio .nav-dropdown-menu a {
    border-color: rgba(255, 255, 255, 0.08);
}

body.site-theme-studio .nav-dropdown-menu a:hover {
    background: rgba(199, 255, 61, 0.08);
}

body.site-theme-studio .header-action {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: var(--accent);
    color: #09090f;
    box-shadow: 0 10px 28px rgba(199, 255, 61, 0.12);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.site-theme-studio .header-action:hover {
    background: #fff;
    color: #09090f;
    transform: translateY(-2px);
}

body.site-theme-studio .header-icon-action {
    border-color: rgba(255, 255, 255, 0.14);
    background: #16161f;
    color: #fff;
}

body.site-theme-studio .hero {
    position: relative;
    min-height: clamp(540px, 68vw, 790px);
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background-color: #09090f;
    background-image:
        linear-gradient(90deg, #09090f 0%, rgba(9, 9, 15, 0.96) 28%, rgba(9, 9, 15, 0.38) 68%, rgba(9, 9, 15, 0.12) 100%),
        linear-gradient(0deg, #09090f 0%, transparent 30%),
        var(--hero-image);
    background-position: center, center, center;
    background-size: cover;
    color: #fff;
    box-shadow: none;
}

body.site-theme-studio .hero::before {
    inset: auto auto 12% -6%;
    width: 31vw;
    height: 31vw;
    max-width: 480px;
    max-height: 480px;
    border: 1px solid rgba(199, 255, 61, 0.2);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 55px rgba(124, 58, 237, 0.055), 0 0 0 110px rgba(255, 255, 255, 0.025);
}

body.site-theme-studio .hero::after {
    position: absolute;
    right: clamp(18px, 4vw, 70px);
    bottom: 26px;
    color: rgba(255, 255, 255, 0.34);
    content: "CH 01  /  DIGITAL BROADCAST";
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

body.site-theme-studio .hero-inner {
    position: relative;
    z-index: 2;
    align-items: end;
    width: min(100% - 36px, 1520px);
    min-height: clamp(540px, 68vw, 790px);
    margin: 0 auto;
    padding: clamp(80px, 12vw, 170px) 0 clamp(70px, 8vw, 110px);
}

body.site-theme-studio .hero-copy {
    max-width: 760px;
}

body.site-theme-studio .hero-live-indicator {
    width: fit-content;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(9, 9, 15, 0.58);
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    letter-spacing: 0.12em;
}

body.site-theme-studio .hero h1,
body.site-theme-studio .section-heading h1,
body.site-theme-studio .section-heading h2,
body.site-theme-studio .page-title,
body.site-theme-studio .privacy-hero h1 {
    max-width: 850px;
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
    font-size: clamp(3.8rem, 8.8vw, 8.9rem);
    font-weight: 800;
    line-height: 0.84;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    text-wrap: balance;
}

body.site-theme-studio .hero p {
    max-width: 630px;
    margin-top: 26px;
    color: #c1c0ca;
    font-size: clamp(1rem, 1.4vw, 1.24rem);
    line-height: 1.65;
}

body.site-theme-studio .hero-actions {
    margin-top: 32px;
}

body.site-theme-studio .primary-action,
body.site-theme-studio .secondary-action,
body.site-theme-studio .ghost-action,
body.site-theme-studio .interaction-submit {
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body.site-theme-studio .primary-action,
body.site-theme-studio .interaction-submit {
    border-color: var(--accent);
    background: var(--accent);
    color: #09090f;
    box-shadow: none;
}

body.site-theme-studio .primary-action:hover,
body.site-theme-studio .interaction-submit:hover {
    border-color: #fff;
    background: #fff;
    color: #09090f;
    transform: translateY(-2px);
}

body.site-theme-studio .secondary-action,
body.site-theme-studio .ghost-action {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(9, 9, 15, 0.58);
    color: #fff;
}

body.site-theme-studio .hero-status {
    max-width: 360px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    background: rgba(9, 9, 15, 0.72);
    color: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(20px);
}

body.site-theme-studio .hero-status::before {
    background: var(--accent);
}

body.site-theme-studio .hero-status strong {
    color: #fff;
}

body.site-theme-studio .hero-status small {
    color: #aaa9b7;
}

body.site-theme-studio .mini-meter {
    background: rgba(255, 255, 255, 0.08);
}

body.site-theme-studio .mini-meter span {
    background: linear-gradient(90deg, var(--accent), #fff);
}

body.site-theme-studio .signal-ticker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 30px);
    min-height: 54px;
    padding: 12px 24px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--accent);
    color: #09090f;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    white-space: nowrap;
}

body.site-theme-studio .signal-ticker b {
    color: #7c3aed;
}

body.site-theme-studio .section-white,
body.site-theme-studio .section-block,
body.site-theme-studio .watch-section,
body.site-theme-studio .live-engagement-section {
    background: transparent;
    color: var(--text);
}

body.site-theme-studio .watch-section {
    padding: clamp(74px, 9vw, 136px) 0;
}

body.site-theme-studio .section-shell {
    width: min(100% - 36px, 1520px);
}

body.site-theme-studio .home-live-separator {
    margin-bottom: 38px;
}

body.site-theme-studio .home-live-line {
    background: rgba(255, 255, 255, 0.1);
}

body.site-theme-studio .home-live-mark {
    border: 1px solid rgba(199, 255, 61, 0.26);
    background: #111119;
    color: var(--accent);
}

body.site-theme-studio .watch-grid {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.55fr);
    gap: clamp(18px, 2.4vw, 38px);
}

body.site-theme-studio .companion-panel,
body.site-theme-studio .player-stage,
body.site-theme-studio .channel-highlight-card,
body.site-theme-studio .portal-announcements,
body.site-theme-studio .live-interaction-card,
body.site-theme-studio .live-wall-panel,
body.site-theme-studio .notification-subscribe-panel,
body.site-theme-studio .radio-stream-player,
body.site-theme-studio .radio-schedule-card,
body.site-theme-studio .privacy-content > section,
body.site-theme-studio .page-content-card,
body.site-theme-studio .contact-card,
body.site-theme-studio .schedule-card {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(24, 24, 34, 0.97), rgba(13, 13, 20, 0.98));
    color: var(--text);
    box-shadow: var(--shadow);
}

body.site-theme-studio .companion-panel {
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.08);
}

body.site-theme-studio .companion-panel > * {
    border: 0;
    border-radius: 0;
    background: #111119;
    box-shadow: none;
}

body.site-theme-studio .now-card {
    position: relative;
    padding: 30px;
}

body.site-theme-studio .now-card::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: 72px;
    border-radius: 0 0 0 100%;
    background: var(--accent);
    content: "";
}

body.site-theme-studio .now-card h2,
body.site-theme-studio .channel-highlight-card strong,
body.site-theme-studio .portal-announcement-slide h3,
body.site-theme-studio .live-wall-panel h3,
body.site-theme-studio .radio-player-copy h2 {
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
}

body.site-theme-studio .panel-kicker,
body.site-theme-studio .channel-highlight-card small,
body.site-theme-studio .portal-announcement-copy small {
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

body.site-theme-studio .now-card p,
body.site-theme-studio .next-card small,
body.site-theme-studio .channel-highlight-card p,
body.site-theme-studio .portal-announcement-slide p,
body.site-theme-studio .section-heading p,
body.site-theme-studio .live-interaction-card small,
body.site-theme-studio .notification-subscribe-panel small,
body.site-theme-studio .radio-player-copy p,
body.site-theme-studio .radio-schedule-card p {
    color: var(--muted);
}

body.site-theme-studio .program-meta span,
body.site-theme-studio .next-card,
body.site-theme-studio .home-social-card,
body.site-theme-studio .share-card,
body.site-theme-studio .premiere-companion {
    border-color: rgba(255, 255, 255, 0.08);
    background: #111119;
    color: #fff;
}

body.site-theme-studio .home-social-link,
body.site-theme-studio .companion-notification-action {
    border-color: rgba(255, 255, 255, 0.1);
    background: #1a1a25;
    color: #fff;
}

body.site-theme-studio .player-stage-shell {
    min-width: 0;
}

body.site-theme-studio .player-stage {
    overflow: hidden;
    border: 1px solid rgba(199, 255, 61, 0.24);
    border-radius: 28px;
    background: #050508;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.64), 0 0 0 8px rgba(199, 255, 61, 0.025);
}

body.site-theme-studio .broadcast-topline,
body.site-theme-studio .player-controls {
    border-color: rgba(255, 255, 255, 0.08);
    background: #101017;
    color: #fff;
}

body.site-theme-studio .status-pill,
body.site-theme-studio .live-bug {
    background: var(--coral);
    color: #fff;
}

body.site-theme-studio .icon-button {
    border-color: rgba(255, 255, 255, 0.1);
    background: #1a1a24;
    color: #fff;
}

body.site-theme-studio .icon-button:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #09090f;
}

body.site-theme-studio .lower-third {
    border-left: 4px solid var(--accent);
    background: rgba(9, 9, 15, 0.88);
}

body.site-theme-studio .lower-third span,
body.site-theme-studio .player-alert {
    background: #7c3aed;
    color: #fff;
}

body.site-theme-studio .channel-highlights-block,
body.site-theme-studio .portal-announcements {
    margin-top: clamp(68px, 8vw, 116px);
}

body.site-theme-studio .channel-highlights-heading h2,
body.site-theme-studio .portal-announcements-heading h2,
body.site-theme-studio .live-engagement-heading h2 {
    color: #fff;
    font-family: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
    font-size: clamp(2.4rem, 5vw, 5.5rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

body.site-theme-studio .channel-highlights-grid {
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
}

body.site-theme-studio .channel-highlight-card {
    position: relative;
    min-height: 330px;
    padding: 32px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.site-theme-studio .channel-highlight-card:nth-child(2) {
    background: linear-gradient(150deg, #301b59, #15101d);
}

body.site-theme-studio .channel-highlight-card:nth-child(3) {
    background: linear-gradient(150deg, #2a2210, #13120e);
}

body.site-theme-studio .channel-highlight-card::before {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(255, 255, 255, 0.12);
    content: "0" counter(list-item);
    font-family: Impact, sans-serif;
    font-size: 4.8rem;
    line-height: 1;
}

body.site-theme-studio .channel-highlight-icon,
body.site-theme-studio .portal-announcements-icon,
body.site-theme-studio .interaction-icon,
body.site-theme-studio .notification-subscribe-icon {
    border: 0;
    background: var(--accent);
    color: #09090f;
}

body.site-theme-studio .channel-highlight-card a,
body.site-theme-studio .portal-announcement-action,
body.site-theme-studio .live-message-more {
    color: var(--accent);
}

body.site-theme-studio .portal-announcements {
    overflow: hidden;
    border-radius: 28px;
}

body.site-theme-studio .portal-announcements-header,
body.site-theme-studio .portal-announcement-slide,
body.site-theme-studio .portal-announcements-footer {
    border-color: rgba(255, 255, 255, 0.08);
    background: transparent;
}

body.site-theme-studio .portal-announcement-number {
    color: rgba(199, 255, 61, 0.16);
    font-family: Impact, sans-serif;
}

body.site-theme-studio .portal-announcements-controls button,
body.site-theme-studio .portal-announcements-dots button {
    border-color: rgba(255, 255, 255, 0.13);
    background: #1a1a25;
    color: #fff;
}

body.site-theme-studio .portal-announcements-dots button.is-active {
    background: var(--accent);
}

body.site-theme-studio .live-engagement-section {
    padding: clamp(72px, 9vw, 136px) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.07), transparent 40%);
}

body.site-theme-studio .live-interaction-card,
body.site-theme-studio .live-wall-panel,
body.site-theme-studio .notification-subscribe-panel {
    border-radius: 24px;
}

body.site-theme-studio .live-reaction-panel {
    border-color: rgba(199, 255, 61, 0.18);
    border-radius: 24px;
    background:
        radial-gradient(circle at 92% -20%, rgba(199, 255, 61, 0.2), transparent 34%),
        linear-gradient(145deg, rgba(37, 25, 65, 0.98), rgba(13, 13, 20, 0.98) 62%);
    color: #fff;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}

body.site-theme-studio .live-reaction-title p,
body.site-theme-studio .live-reaction-footer,
body.site-theme-studio .live-reaction-copy small {
    color: var(--muted);
}

body.site-theme-studio .live-reaction-button {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    box-shadow: none;
}

body.site-theme-studio .live-reaction-button:hover,
body.site-theme-studio .live-reaction-button:focus-visible,
body.site-theme-studio .live-reaction-button.is-reacting {
    border-color: rgba(199, 255, 61, 0.55);
    background: rgba(199, 255, 61, 0.08);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.25);
}

body.site-theme-studio .live-reaction-button > b {
    background: var(--accent);
    color: #09090f;
}

body.site-theme-studio .live-reaction-footer strong {
    color: rgba(255, 255, 255, 0.82);
}

body.site-theme-studio .live-reaction-live {
    border-color: rgba(199, 255, 61, 0.2);
    background: rgba(199, 255, 61, 0.08);
    color: var(--accent);
}

body.site-theme-studio .poll-options label,
body.site-theme-studio .interaction-fields input,
body.site-theme-studio .live-message-form input,
body.site-theme-studio .live-message-form textarea,
body.site-theme-studio .notification-subscribe-fields input,
body.site-theme-studio input,
body.site-theme-studio textarea,
body.site-theme-studio select {
    border-color: rgba(255, 255, 255, 0.12);
    background: #0d0d14;
    color: #fff;
}

body.site-theme-studio .poll-options label:has(input:checked) {
    border-color: var(--accent);
    background: rgba(199, 255, 61, 0.09);
}

body.site-theme-studio .live-message-feed article {
    border-color: rgba(255, 255, 255, 0.08);
}

body.site-theme-studio .message-avatar {
    background: #7c3aed;
    color: #fff;
}

body.site-theme-studio .wall-message-meta,
body.site-theme-studio .live-message-feed p {
    color: var(--muted);
}

body.site-theme-studio .radio-experience {
    width: min(100% - 36px, 1520px);
}

body.site-theme-studio .radio-stream-player,
body.site-theme-studio .radio-schedule-card {
    border-radius: 28px;
}

body.site-theme-studio .radio-disc {
    border-color: var(--accent);
    background: repeating-radial-gradient(circle, #171721 0 8px, #09090f 9px 13px);
    box-shadow: 0 0 0 18px rgba(124, 58, 237, 0.08), 0 30px 80px rgba(0, 0, 0, 0.5);
}

body.site-theme-studio .radio-disc b {
    background: var(--accent);
}

body.site-theme-studio .radio-now-card,
body.site-theme-studio .radio-schedule-list span {
    border-color: rgba(255, 255, 255, 0.09);
    background: #0d0d14;
}

body.site-theme-studio .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
        radial-gradient(circle at 82% 50%, rgba(124, 58, 237, 0.2), transparent 24rem),
        #07070b;
    color: #fff;
}

body.site-theme-studio .site-footer strong {
    color: #ffffff;
    font-family: Impact, "Arial Narrow", sans-serif;
    font-size: clamp(1.45rem, 2vw, 2.05rem);
    line-height: 1.08;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

body.site-theme-studio .site-footer span,
body.site-theme-studio .site-footer small,
body.site-theme-studio .site-footer a,
body.site-theme-studio .site-footer-cookie-button {
    color: #aaa9b7;
}

body.site-theme-studio .site-footer a:hover,
body.site-theme-studio .site-footer-cookie-button:hover {
    color: var(--accent);
}

body.site-theme-studio .cookie-consent,
body.site-theme-studio .cookie-preferences-card,
body.site-theme-studio .notification-toast {
    border-color: rgba(255, 255, 255, 0.12);
    background: #15151e;
    color: #fff;
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.62);
}

body.site-theme-studio .cookie-action-primary {
    background: var(--accent);
    color: #09090f;
}

body.site-theme-studio .cookie-action-secondary {
    border-color: rgba(255, 255, 255, 0.14);
    background: #20202a;
    color: #fff;
}

body.site-theme-studio .back-to-top {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--accent);
    color: #09090f;
}

body.site-theme-studio .section-heading h1,
body.site-theme-studio .section-heading h2,
body.site-theme-studio .page-title,
body.site-theme-studio .privacy-hero h1 {
    font-size: clamp(2.7rem, 6vw, 6.2rem);
}

body.site-theme-studio .page-hero,
body.site-theme-studio .privacy-hero,
body.site-theme-studio .schedule-hero,
body.site-theme-studio .radio-hero {
    border-color: rgba(255, 255, 255, 0.1);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.2), rgba(17, 17, 25, 0.98));
    color: #fff;
}

body.site-theme-studio .content-area,
body.site-theme-studio .page-content,
body.site-theme-studio .rich-content,
body.site-theme-studio .privacy-content,
body.site-theme-studio .schedule-page,
body.site-theme-studio .radio-page {
    color: var(--text);
}

body.site-theme-studio .rich-content p,
body.site-theme-studio .rich-content li,
body.site-theme-studio .privacy-content p,
body.site-theme-studio .page-summary {
    color: #bbb9c5;
}

body.site-theme-studio .rich-content a,
body.site-theme-studio .privacy-content a {
    color: var(--accent);
}

body.site-theme-studio .rich-content blockquote {
    border-left-color: var(--accent);
    background: rgba(199, 255, 61, 0.07);
    color: #fff;
}

@media (max-width: 1050px) {
    body.site-theme-studio .watch-grid {
        grid-template-columns: 1fr;
    }

    body.site-theme-studio .companion-panel {
        order: 2;
    }

    body.site-theme-studio .player-stage-shell {
        order: 1;
    }

    body.site-theme-studio .hero-inner {
        align-items: end;
    }

    body.site-theme-studio .hero-status {
        display: none;
    }
}

@media (max-width: 820px) {
    body.site-theme-studio .site-header {
        min-height: 68px;
        padding: 8px 14px;
    }

    body.site-theme-studio .brand-mark {
        width: 46px;
        height: 46px;
    }

    body.site-theme-studio .main-nav {
        top: calc(100% + 1px);
        right: 12px;
        left: 12px;
        padding: 16px;
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: 18px;
        background: rgba(14, 14, 21, 0.98);
        box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6);
    }

    body.site-theme-studio .main-nav > a,
    body.site-theme-studio .main-nav > .nav-dropdown > button {
        width: 100%;
        justify-content: space-between;
        padding: 13px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    body.site-theme-studio .hero,
    body.site-theme-studio .hero-inner {
        min-height: 620px;
    }

    body.site-theme-studio .hero {
        background-image:
            linear-gradient(0deg, #09090f 5%, rgba(9, 9, 15, 0.58) 65%, rgba(9, 9, 15, 0.18) 100%),
            var(--hero-image);
        background-position: center, center;
    }

    body.site-theme-studio .hero h1 {
        font-size: clamp(3rem, 15vw, 5.7rem);
    }

    body.site-theme-studio .signal-ticker {
        justify-content: flex-start;
        overflow-x: auto;
    }

    body.site-theme-studio .channel-highlight-card {
        min-height: 260px;
    }
}

@media (max-width: 560px) {
    body.site-theme-studio .brand small,
    body.site-theme-studio .header-action span {
        display: none;
    }

    body.site-theme-studio .header-action {
        width: 42px;
        padding: 0;
    }

    body.site-theme-studio .hero-inner,
    body.site-theme-studio .section-shell,
    body.site-theme-studio .radio-experience {
        width: min(100% - 24px, 1520px);
    }

    body.site-theme-studio .hero-copy {
        padding-bottom: 8px;
    }

    body.site-theme-studio .hero h1 {
        font-size: clamp(3rem, 17vw, 4.7rem);
    }

    body.site-theme-studio .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.site-theme-studio .hero-actions a {
        justify-content: center;
    }

    body.site-theme-studio .player-stage,
    body.site-theme-studio .companion-panel,
    body.site-theme-studio .channel-highlights-grid,
    body.site-theme-studio .portal-announcements {
        border-radius: 18px;
    }

    body.site-theme-studio .channel-highlights-block,
    body.site-theme-studio .portal-announcements {
        margin-top: 62px;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 320px;
    max-width: 100%;
    margin: 0;
    overflow-x: clip;
    background:
        linear-gradient(180deg, #f9fcff 0%, #edf6f8 48%, #ffffff 100%);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body > main {
    flex: 1 0 auto;
    width: 100%;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

.page-pattern {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(36, 87, 197, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 167, 163, 0.04) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 72%);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 84px;
    padding: 10px clamp(16px, 4vw, 54px);
    background: rgba(255, 255, 255, 0.84);
    border-bottom: 1px solid rgba(219, 229, 238, 0.86);
    backdrop-filter: blur(18px);
}

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

.brand-mark {
    display: grid;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.34);
    border-radius: 12px;
    background: linear-gradient(135deg, #e3fbfa, #fff4dc);
    color: #086c69;
    font-size: 0.84rem;
    font-weight: 900;
}

.brand-mark.has-image {
    width: 68px;
    height: 68px;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand strong,
.brand small {
    display: block;
    overflow: hidden;
    max-width: 230px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand strong {
    font-size: 0.98rem;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.8vw, 22px);
    color: #455366;
    font-size: 0.92rem;
    font-weight: 750;
}

@media (min-width: 1041px) {
    .site-header {
        justify-content: flex-start;
        gap: clamp(8px, 1vw, 14px);
        padding-right: clamp(18px, 2vw, 28px);
        padding-left: clamp(18px, 2vw, 28px);
    }

    .brand {
        flex: 0 1 auto;
        gap: 10px;
    }

    .main-nav {
        --nav-item-inline-padding: clamp(7px, 0.65vw, 10px);
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        gap: 2px;
        font-size: 0.89rem;
    }

    .header-actions {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

@media (min-width: 1041px) and (max-width: 1200px) {
    .site-header {
        gap: 6px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand-mark.has-image {
        width: 58px;
        height: 58px;
    }

    .brand strong {
        max-width: 120px;
        font-size: 0.88rem;
    }

    .brand small,
    .header-action span {
        display: none;
    }

    .main-nav {
        --nav-item-inline-padding: 6px;
        gap: 0;
        font-size: 0.8rem;
    }

    .header-actions {
        --header-actions-gap: 6px;
    }

    .header-action {
        --action-inline-padding: 0px;
        width: 44px;
    }
}

.main-nav a {
    padding: 9px var(--nav-item-inline-padding, 12px);
    border: 1px solid transparent;
    border-radius: 999px;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--blue);
    border-color: rgba(10, 167, 163, 0.18);
    background: rgba(10, 167, 163, 0.08);
}

.main-nav .nav-account-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.main-nav .nav-account-icon {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 9px;
    background: linear-gradient(135deg, #8f6bdf, #0aa7a3);
    box-shadow: 0 5px 12px rgba(76, 73, 158, 0.22);
    color: #ffffff;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.main-nav .nav-account-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.35;
}

.main-nav .nav-account-link:hover .nav-account-icon,
.main-nav .nav-account-link:focus-visible .nav-account-icon,
.main-nav .nav-account-link.is-active .nav-account-icon {
    box-shadow: 0 7px 16px rgba(76, 73, 158, 0.3);
    transform: translateY(-1px) scale(1.04);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 40px;
    padding: 0 var(--nav-item-inline-padding, 12px);
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: #455366;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-dropdown > button:hover,
.nav-dropdown > button.is-active,
.nav-dropdown.is-open > button {
    color: var(--blue);
    border-color: rgba(10, 167, 163, 0.18);
    background: rgba(10, 167, 163, 0.08);
}

.nav-dropdown > button svg {
    width: 15px;
    height: 15px;
    transition: transform 180ms ease;
}

.nav-dropdown.is-open > button svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 40;
    display: grid;
    min-width: 270px;
    gap: 7px;
    padding: 12px;
    border: 1px solid rgba(198, 214, 226, 0.92);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 253, 0.99));
    box-shadow: inset 0 3px 0 rgba(248, 200, 107, 0.78), 0 26px 64px rgba(33, 54, 82, 0.2), 0 8px 20px rgba(33, 54, 82, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 8px) scale(0.98);
    transform-origin: top center;
    visibility: hidden;
    backdrop-filter: blur(16px);
    transition: opacity 170ms ease, transform 170ms ease, visibility 170ms ease;
}

.nav-dropdown-menu::before {
    position: absolute;
    top: -7px;
    left: 50%;
    width: 13px;
    height: 13px;
    border-top: 1px solid rgba(198, 214, 226, 0.92);
    border-left: 1px solid rgba(198, 214, 226, 0.92);
    background: #ffffff;
    content: "";
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
    visibility: visible;
}

.nav-dropdown-menu-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 2px 3px;
    padding: 3px 3px 12px;
    border-bottom: 1px solid rgba(214, 225, 234, 0.82);
}

.nav-dropdown-menu-heading > span {
    display: grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.18);
    border-radius: 10px;
    background: linear-gradient(145deg, #eafafa, #ffffff);
    color: var(--green);
    box-shadow: 0 7px 16px rgba(10, 167, 163, 0.1);
}

.nav-dropdown-menu-heading svg {
    width: 17px;
    height: 17px;
}

.nav-dropdown-menu-heading div,
.nav-dropdown-menu-heading small,
.nav-dropdown-menu-heading strong {
    display: block;
    min-width: 0;
}

.nav-dropdown-menu-heading small {
    color: #a06c09;
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.075em;
    line-height: 1.1;
    text-transform: uppercase;
}

.nav-dropdown-menu-heading strong {
    margin-top: 3px;
    color: #24394f;
    font-size: 0.82rem;
    line-height: 1.15;
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 7px 8px;
    border: 1px solid rgba(210, 224, 234, 0.78);
    border-radius: 12px;
    background: rgba(250, 252, 254, 0.82);
    color: #536579;
    font-size: 0.84rem;
    font-weight: 850;
    white-space: nowrap;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.nav-dropdown-menu a svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
}

.nav-dropdown-item-icon,
.nav-dropdown-item-arrow {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.nav-dropdown-item-icon {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(10, 167, 163, 0.16);
    border-radius: 10px;
    background: linear-gradient(145deg, #eafafa, #ffffff);
    color: var(--green);
    box-shadow: 0 6px 14px rgba(10, 167, 163, 0.08);
}

.nav-dropdown-item-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-dropdown-item-arrow {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(36, 87, 197, 0.1);
    border-radius: 9px;
    background: #ffffff;
    color: #8ca0b2;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.nav-dropdown-menu a.is-private-page {
    color: #5f3dc4;
}

.nav-dropdown-menu a.is-current {
    border-color: rgba(10, 167, 163, 0.3);
    background: linear-gradient(135deg, #e8fbfa, #f4fbff);
    color: var(--blue);
    box-shadow: 0 9px 22px rgba(10, 167, 163, 0.1);
}

.nav-dropdown-menu a.is-current .nav-dropdown-item-icon {
    border-color: transparent;
    background: linear-gradient(145deg, var(--accent), #35c5b5);
    color: #ffffff;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    border-color: rgba(10, 167, 163, 0.28);
    background: linear-gradient(135deg, #edfafa, #f7fcff);
    color: var(--blue);
    box-shadow: 0 10px 22px rgba(10, 167, 163, 0.1);
    transform: translateY(-1px);
}

.nav-dropdown-menu a:hover .nav-dropdown-item-arrow,
.nav-dropdown-menu a:focus-visible .nav-dropdown-item-arrow {
    background: var(--blue);
    color: #ffffff;
    transform: translate(1px, -1px);
}

.header-action,
.primary-action,
.secondary-action,
.ghost-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 var(--action-inline-padding, 16px);
    border-radius: 8px;
    font-weight: 850;
    cursor: pointer;
}

.header-action,
.primary-action {
    border: 1px solid rgba(10, 167, 163, 0.32);
    background: linear-gradient(135deg, #0aa7a3, #55d6b6);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(10, 167, 163, 0.22);
}

.secondary-action,
.ghost-action {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text);
}

.ghost-action {
    width: 100%;
}

.hero {
    position: relative;
    min-height: 72vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    background-image: var(--hero-image);
    background-position: center right;
    background-size: cover;
}

.hero-light {
    filter: saturate(1.08) contrast(1.08);
}

.home-page .hero {
    min-height: 62vh;
}

.home-page .hero-inner {
    padding-top: clamp(28px, 4vw, 38px);
}

.home-broadcast-hero {
    position: relative;
    min-height: calc(100vh - 74px);
    overflow: hidden;
    padding: clamp(48px, 7vw, 86px) 0 clamp(42px, 6vw, 70px);
    background-image: var(--hero-image);
    background-position: center right;
    background-size: cover;
}

.home-broadcast-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.72) 38%, rgba(255, 255, 255, 0.28) 70%, rgba(255, 255, 255, 0.12) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(245, 248, 251, 0.82) 100%);
}

.home-broadcast-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(440px, 1fr);
    gap: clamp(24px, 4vw, 54px);
    align-items: center;
}

.home-broadcast-copy h1 {
    margin: 14px 0 12px;
    max-width: 620px;
    color: var(--text);
    font-size: clamp(2.5rem, 5.4vw, 5.05rem);
    line-height: 1;
}

.home-broadcast-copy p {
    max-width: 600px;
    color: var(--muted);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.7;
}

.home-live-summary {
    max-width: 520px;
    margin-top: 24px;
    padding: 18px;
    border: 1px solid rgba(219, 229, 238, 0.86);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 54px rgba(33, 54, 82, 0.1);
    backdrop-filter: blur(12px);
}

.home-live-summary strong,
.home-live-summary small {
    display: block;
}

.home-live-summary strong {
    margin: 10px 0 4px;
    font-size: 1.15rem;
}

.home-live-summary small {
    color: var(--muted);
    line-height: 1.55;
}

.home-player-column {
    align-self: center;
}

.home-player-column .player-stage {
    transform: translateY(10px);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.54) 34%, rgba(255, 255, 255, 0.02) 64%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(245, 248, 251, 0.42) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(280px, 360px);
    gap: clamp(24px, 5vw, 70px);
    width: min(var(--content-max), calc(100% - var(--content-gutter)));
    margin: 0 auto;
    padding: 86px 0 52px;
}

.hero-copy {
    max-width: 760px;
}

.hero-visual {
    display: contents;
}

.hero-visual-image {
    display: none;
}

.eyebrow,
.panel-kicker,
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9d6e10;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-live-indicator {
    gap: 10px;
}

.hero-live-indicator .live-dot {
    animation: livePulse 1.4s infinite, heroDotBlink 1.4s infinite ease-in-out;
}

.hero-live-indicator .live-dot:nth-child(2) {
    animation-delay: 0.18s;
}

.hero-live-indicator .live-dot:nth-child(3) {
    animation-delay: 0.36s;
}

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

@keyframes heroDotBlink {
    0%,
    100% {
        opacity: 0.42;
        transform: scale(0.82);
    }

    40% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.hero h1,
.page-title h1,
.section-heading h2 {
    margin: 14px 0 12px;
    color: var(--text);
    line-height: 1;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 780px;
    font-size: clamp(2.7rem, 6vw, 5.55rem);
}

.page-title h1 {
    max-width: 850px;
    font-size: clamp(2.15rem, 5vw, 4.6rem);
}

.section-heading h2 {
    max-width: 720px;
    font-size: clamp(1.9rem, 4vw, 3.5rem);
}

.hero p,
.page-title p,
.section-heading p,
.now-card p,
.info-card p,
.schedule-item p,
.portal-tile small,
.announcement-card span,
.feature-list span {
    color: var(--muted);
    line-height: 1.7;
}

.hero p {
    max-width: 660px;
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.hero-actions,
.inline-actions,
.title-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.hero-status,
.now-card,
.next-card,
.share-card,
.home-social-card,
.portal-tile,
.announcement-card,
.prayer-form,
.prayer-wall article,
.info-card,
.giving-card,
.feature-list article {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.hero-status {
    align-self: end;
    position: relative;
    overflow: hidden;
    padding: 22px;
    backdrop-filter: blur(16px);
}

.hero-status::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.hero-status strong {
    display: block;
    margin: 12px 0 6px;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-status small {
    color: var(--muted);
    line-height: 1.5;
}

.mini-meter {
    height: 7px;
    margin-top: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2eaf1;
}

.mini-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--coral));
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: 0 0 0 0 rgba(233, 110, 97, 0.62);
    animation: livePulse 1.4s infinite;
}

@keyframes livePulse {
    70% { box-shadow: 0 0 0 10px rgba(233, 110, 97, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 110, 97, 0); }
}

.section-shell {
    width: min(var(--content-max), calc(100% - var(--content-gutter)));
    margin: 0 auto;
}

.section-block,
.watch-section {
    padding: clamp(48px, 7vw, 92px) 0;
}

.section-white {
    background: rgba(255, 255, 255, 0.72);
}

.section-soft {
    background: linear-gradient(90deg, rgba(10, 167, 163, 0.1), rgba(215, 154, 40, 0.12), rgba(233, 110, 97, 0.09));
}

.page-title {
    padding: clamp(46px, 7vw, 86px) 0 34px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(237, 246, 248, 0.78)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(36, 87, 197, 0.06));
    border-bottom: 1px solid var(--line);
}

.schedule-page .page-title {
    padding: 24px 0 26px;
}

.schedule-page .page-title h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.schedule-page .page-title p {
    max-width: 760px;
}

.schedule-page .section-block {
    padding-top: 28px;
}

.dynamic-page .dynamic-page-title {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(22px, 3vw, 34px) 0;
    background:
        radial-gradient(circle at 82% 10%, rgba(36, 87, 197, 0.13), transparent 26%),
        radial-gradient(circle at 68% 100%, rgba(10, 167, 163, 0.15), transparent 30%),
        linear-gradient(125deg, rgba(255, 255, 255, 0.98), rgba(237, 247, 249, 0.94));
}

.dynamic-page .dynamic-page-title.has-page-dates {
    padding-bottom: clamp(14px, 1.7vw, 20px);
}

.dynamic-page-title::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -98px;
    right: clamp(32px, 8vw, 150px);
    width: 210px;
    height: 210px;
    border: 1px solid rgba(36, 87, 197, 0.12);
    border-radius: 42%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(24deg);
}

.dynamic-page-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.dynamic-page-title-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 4vw, 56px);
}

.dynamic-page-title-copy {
    min-width: 0;
    max-width: 960px;
}

.dynamic-page-title-heading {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.3vw, 16px);
}

.dynamic-page-title-heading > svg {
    width: clamp(24px, 2.4vw, 31px);
    height: clamp(24px, 2.4vw, 31px);
    flex: 0 0 auto;
    color: var(--blue);
    stroke-width: 1.9;
}

.dynamic-page-title h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(1.9rem, 3.4vw, 3.3rem);
    line-height: 1.08;
    text-wrap: balance;
}

.dynamic-page-title p {
    max-width: 780px;
    margin: 7px 0 0;
    font-size: clamp(0.92rem, 1.15vw, 1.03rem);
    line-height: 1.55;
    text-wrap: pretty;
}

.dynamic-page-title-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-top: 8px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
    text-transform: none;
}

.dynamic-page-title-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(36, 87, 197, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #52677d;
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.2;
}

.dynamic-page-title-meta svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: var(--blue);
    stroke-width: 2;
}

.dynamic-page-title-meta time {
    color: var(--text);
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;
}

.dynamic-page-title-mark {
    display: grid;
    width: clamp(62px, 6.5vw, 78px);
    height: clamp(62px, 6.5vw, 78px);
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(229, 248, 247, 0.84));
    color: var(--blue);
    box-shadow:
        0 16px 36px rgba(33, 54, 82, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: rotate(3deg);
}

.dynamic-page-title-mark svg {
    width: 42%;
    height: 42%;
    stroke-width: 1.8;
}

.dynamic-page .section-block {
    padding-top: 28px;
}

.about-page .section-block {
    padding-top: 28px;
}

.about-page-title {
    padding: 24px 0 26px;
}

.about-page-title h1 {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.about-content-section {
    padding-top: 28px;
}

.about-content-panel {
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(219, 229, 238, 0.92);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 249, 0.9)),
        #ffffff;
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.08);
}

.about-section-text {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.about-section-text > *:first-child {
    margin-top: 0;
}

.about-section-text > *:last-child {
    margin-bottom: 0;
}

.about-section-text p,
.about-section-text ul,
.about-section-text ol,
.about-section-text blockquote {
    margin: 0.75rem 0;
}

.about-section-text ul,
.about-section-text ol {
    padding-left: 1.25rem;
}

.about-section-text a {
    color: var(--blue);
    font-weight: 850;
}

.about-section-text img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
    border-radius: 8px;
}

.about-section-text blockquote {
    padding: 0.2rem 0 0.2rem 1rem;
    border-left: 3px solid var(--gold);
    color: var(--text);
}

.leadership-page-title {
    padding: 14px 0 20px;
}

.leadership-title-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.leadership-page-title h1 {
    margin: 5px 0 7px;
    font-size: clamp(2.2rem, 4.5vw, 4.25rem);
}

.leadership-page-title p {
    max-width: 680px;
    margin: 0;
    font-size: 1.04rem;
}

.leadership-title-mark {
    display: grid;
    width: 92px;
    height: 92px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(10, 167, 163, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: var(--accent);
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.08);
}

.leadership-title-mark svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.leadership-section {
    padding-top: clamp(24px, 3vw, 38px);
    background:
        radial-gradient(circle at 12% 18%, rgba(10, 167, 163, 0.07), transparent 24%),
        radial-gradient(circle at 88% 76%, rgba(215, 154, 40, 0.08), transparent 24%),
        rgba(255, 255, 255, 0.76);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 374px));
    justify-content: center;
    align-items: start;
    gap: clamp(24px, 3vw, 38px);
}

.leadership-card.is-revealed {
    animation: leadershipCardReveal 320ms ease-out both;
}

@keyframes leadershipCardReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leadership-load-more {
    display: flex;
    justify-content: center;
    margin-top: clamp(30px, 4vw, 48px);
}

.leadership-load-more[hidden] {
    display: none;
}

.leadership-load-more-button {
    display: inline-flex;
    min-width: min(100%, 286px);
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 9px 22px 9px 12px;
    border: 1px solid rgba(184, 157, 92, 0.46);
    border-radius: 999px;
    background: linear-gradient(145deg, #ffffff, #f7f4ec);
    color: #263a50;
    font: inherit;
    text-align: left;
    box-shadow: 0 14px 34px rgba(33, 54, 82, 0.11);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.leadership-load-more-button:hover,
.leadership-load-more-button:focus-visible {
    border-color: rgba(10, 167, 163, 0.52);
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.16);
    transform: translateY(-2px);
}

.leadership-load-more-button:focus-visible {
    outline: 3px solid rgba(10, 167, 163, 0.26);
    outline-offset: 4px;
}

.leadership-load-more-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(184, 157, 92, 0.34);
    border-radius: 50%;
    background: #20344c;
    color: #f4d785;
}

.leadership-load-more-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
}

.leadership-load-more-copy {
    display: grid;
    gap: 2px;
}

.leadership-load-more-copy strong,
.leadership-load-more-copy small {
    display: block;
}

.leadership-load-more-copy strong {
    font-size: 0.88rem;
}

.leadership-load-more-copy small {
    color: #6f7f8c;
    font-size: 0.72rem;
    font-weight: 750;
}

.leadership-load-more.is-complete .leadership-load-more-button {
    border-color: rgba(10, 167, 163, 0.28);
    background: #f2fbfa;
    box-shadow: none;
    cursor: default;
    transform: none;
}

.leadership-load-more.is-complete .leadership-load-more-icon {
    border-color: rgba(10, 167, 163, 0.24);
    background: #0a7773;
    color: #ffffff;
}

.leadership-card {
    position: relative;
    padding: 9px 9px 14px;
    overflow: visible;
    border: 1px solid rgba(184, 157, 92, 0.34);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 248, 0.98)),
        #ffffff;
    box-shadow:
        0 24px 64px rgba(33, 54, 82, 0.13),
        inset 0 0 0 1px rgba(255, 255, 255, 0.88);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.leadership-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 50%;
    width: 42%;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.leadership-card::after {
    content: "";
    position: absolute;
    inset: 15px;
    z-index: 0;
    border: 1px solid rgba(184, 157, 92, 0.16);
    border-radius: 12px;
    pointer-events: none;
}

.leadership-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 72px rgba(33, 54, 82, 0.18),
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.leadership-photo {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 4.45;
    overflow: hidden;
    border: 1px solid rgba(184, 157, 92, 0.28);
    border-radius: 12px 12px 5px 5px;
    background: linear-gradient(145deg, #e8f3f4, #f7f1e5);
}

.leadership-photo-trigger {
    display: block;
    width: 100%;
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

.leadership-photo-trigger:focus-visible {
    outline: 3px solid rgba(10, 167, 163, 0.65);
    outline-offset: 4px;
}

.leadership-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 300ms ease;
}

.leadership-photo-empty {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96), transparent 29%),
        linear-gradient(145deg, #e7f1f2, #f6f1e6);
}

.leadership-photo-placeholder {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 12px;
    color: #61707b;
}

.leadership-photo-placeholder svg {
    width: 72px;
    height: 72px;
    stroke-width: 1.15;
}

.leadership-photo-placeholder small {
    color: #596976;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.leadership-card:hover .leadership-photo img {
    transform: scale(1.025);
}

.leadership-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 52%, rgba(14, 23, 38, 0.42) 100%),
        linear-gradient(90deg, rgba(16, 31, 51, 0.09), transparent 20%, transparent 80%, rgba(16, 31, 51, 0.09));
    pointer-events: none;
}

.leadership-photo-accent {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    width: 104px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.leadership-card-seal {
    position: absolute;
    right: 18px;
    bottom: 17px;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 50%;
    background: rgba(20, 30, 50, 0.76);
    color: #f8d887;
    box-shadow: 0 10px 26px rgba(8, 16, 30, 0.25);
    backdrop-filter: blur(8px);
}

.leadership-card-seal svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.7;
}

.leadership-photo-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    background: rgba(14, 23, 38, 0.68);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.03em;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 160ms ease, transform 160ms ease;
    backdrop-filter: blur(8px);
}

.leadership-photo-hint svg {
    width: 15px;
    height: 15px;
}

.leadership-photo-trigger:hover .leadership-photo-hint,
.leadership-photo-trigger:focus-visible .leadership-photo-hint {
    opacity: 1;
    transform: translateY(0);
}

.leadership-photo-modal {
    width: fit-content;
    max-width: calc(100% - 36px);
    max-height: calc(100dvh - 36px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: #ffffff;
    color: #ffffff;
    box-shadow:
        0 44px 120px rgba(3, 6, 18, 0.62),
        0 0 0 1px rgba(255, 255, 255, 0.12);
}

.leadership-photo-modal::backdrop {
    background:
        radial-gradient(circle at 18% 10%, rgba(88, 56, 170, 0.24), transparent 32%),
        rgba(4, 6, 17, 0.86);
    backdrop-filter: blur(12px) saturate(0.8);
}

.leadership-photo-modal[open] {
    animation: leadershipModalIn 180ms ease-out;
}

@keyframes leadershipModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.leadership-modal-shell {
    position: relative;
    padding: 0;
}

.leadership-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 50%;
    background: rgba(11, 10, 34, 0.52);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(3, 6, 18, 0.24);
    backdrop-filter: blur(12px);
}

.leadership-modal-close:hover,
.leadership-modal-close:focus-visible {
    border-color: #f8d887;
    background: rgba(11, 10, 34, 0.9);
    color: #f8d887;
    outline: none;
}

.leadership-modal-close svg {
    width: 22px;
    height: 22px;
}

.leadership-photo-modal figure {
    display: grid;
    grid-template-columns: minmax(280px, auto) minmax(280px, 330px);
    max-width: min(980px, calc(100vw - 36px));
    max-height: calc(100dvh - 36px);
    margin: 0;
}

.leadership-modal-image-stage {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 280px;
    min-height: 430px;
    place-items: center;
    overflow: hidden;
    border-radius: 24px 0 0 24px;
    background:
        linear-gradient(135deg, rgba(238, 229, 204, 0.14), transparent 34%),
        #090e18;
}

.leadership-modal-image-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 0;
    border-radius: inherit;
    box-shadow: inset -32px 0 52px rgba(7, 7, 28, 0.1);
    pointer-events: none;
}

.leadership-modal-image-stage img {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 36px);
    object-fit: contain;
}

.leadership-modal-profile {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 54px 34px 38px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.2), transparent 30%),
        radial-gradient(circle at 10% 100%, rgba(168, 85, 247, 0.22), transparent 34%),
        linear-gradient(150deg, #171331 0%, #27205b 54%, #4c1d95 100%);
}

.leadership-modal-profile::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(248, 216, 135, 0.2);
    border-radius: 14px;
    pointer-events: none;
}

.leadership-modal-profile::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -78px;
    width: 210px;
    height: 210px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    box-shadow:
        0 0 0 24px rgba(255, 255, 255, 0.025),
        0 0 0 48px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}

.leadership-modal-emblem {
    position: relative;
    z-index: 1;
    display: grid;
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
    place-items: center;
    border: 1px solid rgba(248, 216, 135, 0.38);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f8d887;
    box-shadow: 0 18px 40px rgba(5, 7, 24, 0.24);
}

.leadership-modal-emblem svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.45;
}

.leadership-modal-caption-kicker {
    position: relative;
    z-index: 1;
    padding: 6px 10px;
    border: 1px solid rgba(248, 216, 135, 0.3);
    border-radius: 999px;
    background: rgba(248, 216, 135, 0.08);
    color: #f8d887;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.leadership-photo-modal figcaption strong {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    color: #ffffff;
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.leadership-modal-profile.is-badge-hidden > strong {
    margin-top: 0;
}

.leadership-photo-modal figcaption small {
    position: relative;
    z-index: 1;
    margin-top: 10px;
    color: #f8d887;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.leadership-modal-divider {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 2px;
    margin: 24px 0 20px;
    background: linear-gradient(90deg, #f8d887, rgba(248, 216, 135, 0.12));
}

.leadership-modal-profile p {
    position: relative;
    z-index: 1;
    max-width: 230px;
    margin: 0;
    color: rgba(239, 237, 255, 0.72);
    font-size: 0.96rem;
    line-height: 1.7;
}

.leadership-modal-signature {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 38px auto 38px;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: rgba(248, 216, 135, 0.8);
}

.leadership-modal-signature span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(248, 216, 135, 0.55));
}

.leadership-modal-signature span:last-child {
    background: linear-gradient(90deg, rgba(248, 216, 135, 0.55), transparent);
}

.leadership-modal-signature svg {
    width: 15px;
    height: 15px;
}

.leadership-card-copy {
    position: relative;
    z-index: 2;
    min-height: 235px;
    margin: -19px 12px 0;
    padding: 25px 24px 20px;
    border: 1px solid rgba(184, 157, 92, 0.24);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 36px rgba(33, 54, 82, 0.12);
    text-align: center;
}

.leadership-card-heading {
    display: grid;
    justify-items: center;
    gap: 7px;
}

.leadership-card-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(10, 167, 163, 0.2);
    border-radius: 999px;
    background: rgba(10, 167, 163, 0.07);
    color: #087370;
    font-size: 0.64rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.leadership-card-kicker svg {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    stroke-width: 2;
}

body.team-photo-modal-open {
    overflow: hidden;
}

.leadership-role {
    display: block;
    color: #8b610f;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    line-height: 1.4;
    text-transform: uppercase;
}

.leadership-card h2 {
    margin: 12px 0 13px;
    color: var(--text);
    font-size: clamp(1.42rem, 2vw, 1.82rem);
    line-height: 1.12;
}

.leadership-card p {
    margin: 0 auto;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.68;
}

.leadership-card-ornament {
    display: grid;
    grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
    align-items: center;
    gap: 9px;
    width: min(180px, 84%);
    margin: 18px auto 0;
    color: rgba(139, 97, 15, 0.72);
}

.leadership-card-ornament span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 157, 92, 0.58));
}

.leadership-card-ornament span:last-child {
    background: linear-gradient(90deg, rgba(184, 157, 92, 0.58), transparent);
}

.leadership-card-ornament svg {
    width: 17px;
    height: 17px;
    stroke-width: 1.5;
}

.leadership-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 64px);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(135deg, #ffffff, #f3faf9);
    box-shadow: var(--shadow);
    text-align: center;
}

.leadership-empty > span {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: rgba(10, 167, 163, 0.1);
    color: var(--accent);
}

.leadership-empty h2 {
    margin: 0 0 8px;
    color: var(--text);
}

.leadership-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

@media (max-width: 920px) {
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 360px));
    }
}

@media (max-width: 600px) {
    .leadership-page-title {
        padding: 12px 0 17px;
    }

    .leadership-page-title h1 {
        margin-top: 4px;
        font-size: clamp(2rem, 10vw, 2.7rem);
    }

    .leadership-title-mark {
        display: none;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .leadership-card-copy {
        min-height: 0;
        margin-inline: 9px;
        padding: 24px 19px 19px;
    }

    .leadership-photo-hint {
        opacity: 1;
        transform: none;
    }

    .leadership-photo-modal {
        width: calc(100% - 14px);
        max-width: calc(100% - 14px);
        max-height: calc(100dvh - 14px);
        border-radius: 18px;
    }

    .leadership-modal-shell {
        padding: 0;
    }

    .leadership-modal-close {
        top: 14px;
        right: 14px;
    }

    .leadership-photo-modal figure {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, auto) auto;
        width: 100%;
        max-height: calc(100dvh - 14px);
    }

    .leadership-modal-image-stage {
        min-width: 0;
        min-height: 220px;
        max-height: 62dvh;
        border-radius: 18px 18px 0 0;
    }

    .leadership-modal-image-stage img {
        max-height: 62dvh;
    }

    .leadership-modal-profile {
        min-height: 0;
        padding: 25px 24px 27px;
        align-items: center;
        text-align: center;
    }

    .leadership-modal-profile::before {
        inset: 9px;
        border-radius: 11px;
    }

    .leadership-modal-emblem {
        display: none;
    }

    .leadership-modal-caption-kicker {
        width: fit-content;
    }

    .leadership-photo-modal figcaption strong {
        margin-top: 12px;
        font-size: 1.8rem;
    }

    .leadership-photo-modal figcaption small {
        margin-top: 6px;
    }

    .leadership-modal-divider {
        margin: 16px 0 12px;
    }

    .leadership-modal-profile p,
    .leadership-modal-signature {
        display: none;
    }
}

.prayer-page .page-title {
    padding: 24px 0 26px;
}

.prayer-page .page-title h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.prayer-page .page-title p {
    max-width: 720px;
}

.prayer-page .section-block {
    padding-top: 28px;
}

.giving-page .page-title {
    padding: 24px 0 26px;
}

.giving-page .page-title h1 {
    max-width: none;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    white-space: nowrap;
}

.giving-page .page-title p {
    max-width: 720px;
}

.giving-page .section-block {
    padding-top: 28px;
}

.contact-page .page-title {
    padding: 24px 0 26px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 249, 250, 0.92) 54%, rgba(236, 243, 252, 0.82) 100%),
        url("../img/hero-church-broadcast-light.png") right center / 38% auto no-repeat;
}

.contact-page .page-title h1 {
    max-width: none;
    font-size: clamp(2rem, 4.2vw, 3.8rem);
    white-space: nowrap;
}

.contact-page .page-title p {
    max-width: 720px;
}

.contact-page .section-block {
    padding-top: 28px;
}

.giving-contact-action {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-color: rgba(10, 167, 163, 0.42);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 32%),
        linear-gradient(135deg, #10253a 0%, #0aa7a3 56%, #58d9b8 100%);
    font-size: 0.96rem;
    box-shadow:
        0 16px 30px rgba(10, 167, 163, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.giving-contact-action::before {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 44%);
    opacity: 0.9;
}

.giving-contact-action:hover,
.giving-contact-action:focus-visible {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow:
        0 20px 36px rgba(10, 167, 163, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    transform: translateY(-1px);
}

.giving-contact-action svg {
    box-sizing: content-box;
    width: 18px;
    height: 18px;
    padding: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
    gap: 18px;
    align-items: start;
}

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

.contact-card,
.contact-social-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 48px rgba(33, 54, 82, 0.09);
}

.contact-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 164px;
    padding: 18px;
    overflow: hidden;
}

.contact-card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: #eafbfa;
    color: var(--accent);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card div {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.contact-card div > span {
    color: var(--gold);
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-card strong {
    color: var(--text);
    font-size: clamp(1rem, 1.6vw, 1.28rem);
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.contact-card a,
.contact-card button {
    grid-column: 2;
    justify-self: start;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(36, 87, 197, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--blue);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-card a:hover,
.contact-card a:focus-visible,
.contact-card button:hover,
.contact-card button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 167, 163, 0.36);
    background: #effbfb;
    outline: none;
}

.contact-card .copy-feedback {
    grid-column: 2;
    min-height: 18px;
    margin: -4px 0 0;
    color: #0f9a63;
    font-size: 0.78rem;
    font-weight: 900;
}

.contact-card.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.42);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(235, 255, 244, 0.94)),
        linear-gradient(120deg, rgba(37, 211, 102, 0.16), rgba(18, 140, 69, 0.08));
    box-shadow: 0 20px 48px rgba(18, 140, 69, 0.14);
}

.contact-card.is-whatsapp .contact-card-icon {
    background: linear-gradient(135deg, #25d366, #128c45);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(18, 140, 69, 0.2);
}

.contact-card.is-whatsapp div > span {
    color: #128c45;
}

.contact-card.is-whatsapp a {
    border-color: rgba(18, 140, 69, 0.18);
    background: linear-gradient(135deg, #25d366, #19b45a);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(18, 140, 69, 0.18);
}

.contact-card.is-whatsapp a:hover,
.contact-card.is-whatsapp a:focus-visible {
    border-color: rgba(18, 140, 69, 0.35);
    background: linear-gradient(135deg, #21c45f, #128c45);
}

.contact-card.is-address {
    grid-column: 1 / -1;
}

.contact-social-panel {
    display: grid;
    gap: 12px;
    padding: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 249, 252, 0.92)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.09));
}

.contact-social-panel h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.16;
}

.contact-social-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.contact-social-list {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.contact-social-link {
    display: flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue);
    font-weight: 950;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(33, 54, 82, 0.06);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.contact-social-link svg {
    width: 18px;
    height: 18px;
}

.contact-social-link.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.32);
    color: #128c45;
}

.contact-social-link.is-youtube,
.home-social-link.is-youtube,
.site-footer-social.is-youtube {
    border-color: rgba(255, 0, 0, 0.22);
    color: #ff0000;
}

.contact-social-link.is-tiktok,
.home-social-link.is-tiktok,
.site-footer-social.is-tiktok {
    border-color: rgba(17, 24, 39, 0.18);
    color: #111827;
}

.contact-social-link.is-x,
.home-social-link.is-x,
.site-footer-social.is-x {
    border-color: rgba(17, 24, 39, 0.2);
    color: #111827;
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 167, 163, 0.38);
    background: #eafafa;
    outline: none;
}

.member-auth-theme {
    background-color: #f8fbf8;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(246, 251, 249, 0.78) 48%, rgba(237, 249, 247, 0.86)),
        radial-gradient(circle at 52% 100%, rgba(190, 214, 94, 0.22), transparent 30%),
        radial-gradient(circle at 0% 0%, rgba(233, 110, 97, 0.1), transparent 34%),
        url("../img/evento-fox-tv-online.png");
    background-position: center, center, center, center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-size: cover, auto, auto, cover;
    background-attachment: fixed, scroll, scroll, fixed;
}

.member-auth-theme .page-pattern {
    opacity: 0.08;
}

.member-auth-theme .page-title {
    padding: 28px 0 10px;
    background: transparent;
    border-bottom: 0;
}

.member-auth-theme .page-title .section-shell,
.member-auth-theme .member-auth-section .section-shell {
    width: min(1120px, calc(100% - 32px));
}

.member-auth-theme .member-auth-title .title-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 22px;
    padding: 24px 28px;
    border: 1px solid rgba(219, 229, 238, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 54px rgba(33, 54, 82, 0.1);
}

.member-auth-title-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-auth-title-icon,
.member-auth-intro-icon {
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #44d5e9, #ffe0a3);
    color: #0f5f69;
}

.member-auth-title-icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
}

.member-auth-theme .page-title h1 {
    max-width: none;
    margin: 0;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    line-height: 1.12;
}

.member-auth-theme .page-title p {
    justify-self: end;
    max-width: 430px;
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.title-grid,
.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
    gap: clamp(22px, 5vw, 58px);
    align-items: center;
}

.compact-heading {
    margin-bottom: 22px;
}

.portal-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 14px;
    margin-top: 0;
    position: relative;
    z-index: 3;
}

.portal-grid-original {
    display: none;
}

.portal-grid-below-player {
    margin-top: clamp(18px, 3vw, 30px);
}

.portal-grid-below-player .portal-tile {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 46px rgba(33, 54, 82, 0.1);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.portal-grid-below-player .portal-tile::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
    opacity: 0;
    transition: opacity 180ms ease;
}

.portal-grid-below-player .portal-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(10, 167, 163, 0.42);
    box-shadow: 0 24px 58px rgba(33, 54, 82, 0.16);
}

.portal-grid-below-player .portal-tile:hover::before {
    opacity: 1;
}

.portal-tile {
    display: grid;
    gap: 10px;
    min-height: 180px;
    padding: 20px;
}

.portal-tile.featured {
    background: linear-gradient(135deg, #ffffff, #e6fbfa);
    border-color: rgba(10, 167, 163, 0.35);
}

.portal-tile span,
.announcement-card em {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 900;
}

.portal-tile strong {
    font-size: 1.28rem;
}

.watch-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
    gap: 22px;
    align-items: start;
}

.home-watch-grid {
    grid-template-columns: minmax(300px, 0.54fr) minmax(0, 1.46fr);
    gap: clamp(18px, 2.4vw, 30px);
}

.home-watch-grid.is-player-only {
    grid-template-columns: minmax(0, 1fr);
}

.home-page .watch-section {
    padding-top: clamp(22px, 3vw, 34px);
    padding-bottom: clamp(24px, 3vw, 38px);
    background:
        radial-gradient(circle at 85% 8%, rgba(36, 87, 197, 0.11), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 246, 248, 0.82)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.09), rgba(36, 87, 197, 0.06), rgba(215, 154, 40, 0.08));
}

.home-live-separator {
    display: grid;
    grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
    align-items: center;
    gap: 16px;
    margin: 0 0 clamp(24px, 3vw, 34px);
}

.home-live-line {
    height: 1px;
    background: linear-gradient(90deg, rgba(10, 167, 163, 0), rgba(10, 167, 163, 0.5), rgba(215, 154, 40, 0.48), rgba(233, 110, 97, 0));
}

.home-live-line:first-child {
    background: linear-gradient(90deg, rgba(233, 110, 97, 0), rgba(215, 154, 40, 0.48), rgba(10, 167, 163, 0.5));
}

.home-live-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(10, 167, 163, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: var(--accent);
    box-shadow: 0 14px 32px rgba(10, 167, 163, 0.14);
}

.home-live-mark::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: inherit;
    border: 1px solid rgba(215, 154, 40, 0.24);
}

.home-live-mark svg {
    position: relative;
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

.channel-highlights-block {
    margin-top: clamp(14px, 2vw, 24px);
}

.channel-highlights-heading {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
}

.channel-highlights-heading h2 {
    max-width: 620px;
    margin: 0;
    color: var(--text);
    font-size: clamp(1.35rem, 2vw, 1.95rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.channel-highlights-heading-main {
    display: flex;
    min-width: 0;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.channel-highlights-controls {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
}

.channel-highlights-controls > span {
    min-width: 72px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 850;
    text-align: right;
}

.channel-highlights-controls button {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
}

.channel-highlights-controls button:disabled {
    opacity: 0.35;
    cursor: default;
}

.channel-highlights-controls svg {
    width: 17px;
    height: 17px;
}

.channel-highlights-block.is-carousel {
    --channel-highlights-visible: 3;
}

.channel-highlights-viewport {
    overflow: visible;
}

.channel-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.channel-highlights-block.is-carousel .channel-highlights-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (16px * (var(--channel-highlights-visible) - 1))) / var(--channel-highlights-visible));
    overflow-x: auto;
    overflow-y: hidden;
    padding-block: 7px 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
}

.channel-highlights-block.is-carousel .channel-highlights-grid::-webkit-scrollbar {
    display: none;
}

.channel-highlights-block.is-carousel .channel-highlight-card {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.channel-highlights-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 18px;
    margin-top: 10px;
}

.channel-highlights-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(23, 33, 47, 0.24);
    cursor: pointer;
}

.channel-highlights-dots button.is-active {
    width: 24px;
    background: var(--accent);
}

@media (max-width: 1040px) {
    .channel-highlights-block.is-carousel {
        --channel-highlights-visible: 2;
    }

    .channel-highlights-block.is-carousel .channel-highlight-card:last-child {
        grid-column: auto;
    }
}

@media (max-width: 680px) {
    .channel-highlights-heading-main {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .channel-highlights-controls > span {
        margin-right: auto;
        text-align: left;
    }

    .channel-highlights-block.is-carousel {
        --channel-highlights-visible: 1;
    }
}

.channel-highlight-card {
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: start;
    gap: 10px;
    min-height: 220px;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(219, 229, 238, 0.96);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.78)),
        linear-gradient(120deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.08));
    box-shadow: 0 18px 48px rgba(33, 54, 82, 0.1);
}

.channel-highlight-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    pointer-events: none;
}

.channel-highlight-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.channel-highlight-card.has-background-image::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.91), rgba(238, 248, 255, 0.78));
    content: "";
}

.channel-highlight-card.has-background-image::before {
    z-index: 3;
}

.channel-highlight-card.has-background-image > :not(.channel-highlight-background) {
    position: relative;
    z-index: 2;
}

.channel-highlight-card.has-background-image:hover .channel-highlight-background img {
    transform: scale(1.045);
}

.channel-highlight-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.channel-highlight-icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #e9fbf9;
    color: var(--accent);
}

.channel-highlight-icon svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.4;
}

.channel-highlight-card small {
    color: #9d6e10;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.channel-highlight-card strong {
    color: var(--text);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.16;
}

.channel-highlight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

.channel-highlight-card a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
    margin-top: 4px;
    color: var(--blue);
    font-weight: 900;
}

.channel-highlight-card a svg {
    width: 16px;
    height: 16px;
}

.portal-announcements {
    position: relative;
    isolation: isolate;
    margin-top: clamp(18px, 2.4vw, 30px);
    overflow: hidden;
    padding: clamp(20px, 3vw, 34px);
    border: 1px solid rgba(77, 139, 222, 0.38);
    border-radius: 10px;
    background:
        radial-gradient(circle at 90% 5%, rgba(83, 214, 182, 0.22), transparent 28%),
        radial-gradient(circle at 8% 100%, rgba(215, 154, 40, 0.2), transparent 30%),
        linear-gradient(135deg, #10284b 0%, #173f75 52%, #0e6672 100%);
    color: #ffffff;
    box-shadow: 0 24px 60px rgba(20, 50, 91, 0.24);
    scroll-margin-top: 92px;
}

.portal-announcements::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 34px 34px;
    content: "";
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.portal-announcements-header,
.portal-announcements-heading,
.portal-announcements-controls,
.portal-announcements-footer,
.portal-announcements-dots {
    display: flex;
    align-items: center;
}

.portal-announcements-header {
    position: relative;
    z-index: 2;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.portal-announcements-header::before {
    position: absolute;
    top: 50%;
    right: clamp(76px, 11vw, 170px);
    z-index: -1;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, transparent 0 25px, currentColor 26px 27px);
    color: #7ff4df;
    content: "";
    opacity: 0.1;
    pointer-events: none;
    transform: translateY(-50%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 42%, transparent);
}

.portal-announcements-header > * {
    position: relative;
    z-index: 1;
}

.portal-announcements-heading {
    gap: 14px;
}

.portal-announcements-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 1px solid rgba(127, 244, 223, 0.42);
    border-radius: 50%;
    background:
        linear-gradient(rgba(127, 244, 223, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 244, 223, 0.16) 1px, transparent 1px),
        repeating-radial-gradient(circle, transparent 0 8px, rgba(127, 244, 223, 0.26) 9px 10px),
        #0b2636;
    background-size: 100% 50%, 50% 100%, 100% 100%, 100% 100%;
    color: #7ff4df;
    box-shadow:
        0 0 0 5px rgba(127, 244, 223, 0.07),
        0 9px 24px rgba(3, 16, 34, 0.25),
        inset 0 0 18px rgba(127, 244, 223, 0.11);
}

.portal-radar-sweep {
    position: absolute;
    inset: 3px;
    z-index: 1;
    border-radius: 50%;
    background: conic-gradient(from 5deg, transparent 0 71%, currentColor 98%, transparent 100%);
    opacity: 0.5;
    animation: portal-radar-scan 3.6s linear infinite;
}

.portal-radar-dot {
    position: absolute;
    top: 27%;
    right: 24%;
    z-index: 3;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c7ff3d;
    box-shadow: 0 0 0 4px rgba(199, 255, 61, 0.15), 0 0 12px #c7ff3d;
    animation: portal-radar-blip 1.8s ease-in-out infinite;
}

.portal-radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    width: 7px;
    height: 7px;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: #0b2636;
    box-shadow: 0 0 8px currentColor;
    transform: translate(-50%, -50%);
}

.portal-radar-tools,
.portal-radar-status {
    display: flex;
    align-items: center;
}

.portal-radar-tools {
    gap: 12px;
}

.portal-radar-status {
    gap: 7px;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(127, 244, 223, 0.2);
    border-radius: 999px;
    background: rgba(127, 244, 223, 0.08);
    color: #b9fff2;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portal-radar-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c7ff3d;
    box-shadow: 0 0 0 4px rgba(199, 255, 61, 0.13), 0 0 10px rgba(199, 255, 61, 0.8);
    animation: portal-radar-status-pulse 1.6s ease-in-out infinite;
}

@keyframes portal-radar-scan {
    to { transform: rotate(360deg); }
}

@keyframes portal-radar-blip {
    0%, 100% { opacity: 0.42; transform: scale(0.78); }
    48% { opacity: 1; transform: scale(1.12); }
}

@keyframes portal-radar-status-pulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

.portal-announcements .panel-kicker {
    color: #ffd36d;
}

.portal-announcements-heading h2 {
    margin: 2px 0 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.1;
}

.portal-announcements-heading p {
    margin: 6px 0 0;
    color: rgba(232, 244, 255, 0.78);
    font-size: 0.9rem;
}

.portal-announcements-controls {
    gap: 8px;
}

.portal-announcements-controls button {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.portal-announcements-controls button:hover,
.portal-announcements-controls button:focus-visible {
    border-color: rgba(127, 244, 223, 0.8);
    background: rgba(127, 244, 223, 0.16);
    transform: translateY(-2px);
}

.portal-announcements-controls svg {
    width: 18px;
    height: 18px;
}

.portal-announcements-stage {
    position: relative;
    z-index: 1;
    display: grid;
}

.portal-announcement-slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(16px, 2.4vw, 28px);
    align-items: center;
    min-height: 154px;
    padding: clamp(20px, 2.6vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    background: rgba(7, 22, 45, 0.34);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    pointer-events: none;
    transition: opacity 360ms ease, transform 360ms ease, visibility 360ms ease;
}

.portal-announcement-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.portal-announcement-number {
    color: rgba(127, 244, 223, 0.72);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 950;
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.portal-announcement-copy small {
    color: #ffd36d;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.portal-announcement-copy h3 {
    margin: 5px 0 0;
    color: #ffffff;
    font-size: clamp(1.25rem, 2.3vw, 2.05rem);
    line-height: 1.12;
}

.portal-announcement-copy p {
    max-width: 760px;
    margin: 9px 0 0;
    color: rgba(236, 246, 255, 0.82);
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    line-height: 1.55;
}

.portal-announcement-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    background: #ffffff;
    color: #173f75;
    font-weight: 950;
    white-space: nowrap;
    box-shadow: 0 12px 28px rgba(3, 16, 34, 0.24);
}

.portal-announcement-action:hover,
.portal-announcement-action:focus-visible {
    background: #e9fffa;
    color: #0b6f6c;
}

.portal-announcement-action svg {
    width: 17px;
    height: 17px;
}

.portal-announcements-footer {
    position: relative;
    z-index: 2;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.portal-announcements-dots {
    gap: 7px;
}

.portal-announcements-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.36);
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease;
}

.portal-announcements-dots button.is-active {
    width: 28px;
    background: #7ff4df;
}

.portal-announcements-footer > span {
    color: rgba(235, 246, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 850;
}

.portal-announcements.is-sidebar {
    margin-top: 0;
    padding: 16px;
    border-radius: 9px;
}

.portal-announcements.is-sidebar .portal-announcements-header {
    gap: 8px;
    margin-bottom: 14px;
}

.portal-announcements.is-sidebar .portal-announcements-header::before,
.portal-announcements.is-sidebar .portal-radar-status {
    display: none;
}

.portal-announcements.is-sidebar .portal-announcements-heading {
    min-width: 0;
    gap: 9px;
}

.portal-announcements.is-sidebar .portal-announcements-heading > div {
    min-width: 0;
}

.portal-announcements.is-sidebar .portal-announcements-heading p {
    display: none;
}

.portal-announcements.is-sidebar .portal-announcements-icon {
    width: 40px;
    height: 40px;
}

.portal-announcements.is-sidebar .panel-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.055em;
    white-space: nowrap;
}

.portal-announcements.is-sidebar .portal-announcements-heading h2 {
    overflow: hidden;
    font-size: 1.12rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-announcements.is-sidebar .portal-announcements-controls {
    flex: 0 0 auto;
    gap: 5px;
}

.portal-announcements.is-sidebar .portal-announcements-controls button {
    width: 34px;
    height: 34px;
}

.portal-announcements.is-sidebar .portal-announcement-slide {
    grid-template-columns: 1fr;
    gap: 11px;
    min-height: 0;
    padding: 16px;
}

.portal-announcements.is-sidebar .portal-announcement-number {
    font-size: 2rem;
}

.portal-announcements.is-sidebar .portal-announcement-copy h3 {
    font-size: 1.2rem;
}

.portal-announcements.is-sidebar .portal-announcement-copy p {
    font-size: 0.88rem;
}

.portal-announcements.is-sidebar .portal-announcement-action {
    width: max-content;
    max-width: 100%;
    margin-top: 3px;
}

.portal-announcements.is-sidebar .portal-announcements-footer {
    margin-top: 13px;
}

@media (max-width: 720px) {
    .portal-announcements-header {
        align-items: flex-end;
    }

    .portal-announcements-heading {
        align-items: flex-start;
    }

    .portal-announcements-heading p {
        display: none;
    }

    .portal-announcements-icon {
        width: 44px;
        height: 44px;
    }

    .portal-radar-status,
    .portal-announcements-header::before {
        display: none;
    }

    .portal-announcement-slide {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .portal-announcement-number {
        font-size: 2rem;
    }

    .portal-announcement-action {
        width: max-content;
        margin-top: 4px;
    }
}

@media (max-width: 430px) {
    .portal-announcements {
        padding: 16px;
    }

    .portal-announcements-header {
        display: grid;
    }

    .portal-announcements-controls {
        justify-self: end;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-announcement-slide,
    .portal-announcements-controls button,
    .portal-announcements-dots button {
        transition: none;
    }

    .portal-radar-sweep,
    .portal-radar-dot,
    .portal-radar-status > span {
        animation: none;
    }
}

/* Página 404 */
.error-404-main {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    background:
        radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.2), transparent 34rem),
        radial-gradient(circle at 88% 76%, rgba(199, 255, 61, 0.1), transparent 28rem),
        #09090f;
}

.error-404-main::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    content: "";
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.error-404-section {
    position: relative;
    z-index: 1;
    padding: clamp(12px, 1.5vw, 22px) 0 clamp(34px, 5vw, 72px);
}

.error-404-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(330px, 0.88fr) minmax(0, 1.12fr);
    min-height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(25, 25, 36, 0.98), rgba(12, 12, 19, 0.99));
    box-shadow: 0 44px 120px rgba(0, 0, 0, 0.48);
}

.error-404-card::after {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed 0 34%, #c7ff3d 34% 68%, #ff6685 68%);
    content: "";
}

.error-404-visual {
    position: relative;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 24px;
    min-width: 0;
    padding: clamp(34px, 5vw, 68px);
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(135deg, rgba(124, 58, 237, 0.19), transparent 60%),
        rgba(255, 255, 255, 0.018);
}

.error-404-screen {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    width: min(100%, 390px);
    aspect-ratio: 4 / 3;
    place-items: center;
    border: 8px solid #20202c;
    border-radius: 32px;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 5px),
        linear-gradient(145deg, #11111a, #07070b);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.07),
        inset 0 0 90px rgba(124, 58, 237, 0.19),
        0 32px 70px rgba(0, 0, 0, 0.48);
}

.error-404-screen::after {
    position: absolute;
    z-index: -1;
    inset: -40% 0 auto;
    height: 42%;
    background: linear-gradient(to bottom, transparent, rgba(199, 255, 61, 0.1), transparent);
    content: "";
    animation: error404Scan 4.8s linear infinite;
}

.error-404-screen-glow {
    position: absolute;
    z-index: -1;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.23);
    filter: blur(42px);
}

.error-404-screen > svg {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 29px;
    height: 29px;
    color: #c7ff3d;
}

.error-404-screen > strong {
    color: #ffffff;
    font-family: Impact, Haettenschweiler, "Arial Narrow", sans-serif;
    font-size: clamp(7rem, 12vw, 10rem);
    font-weight: 900;
    line-height: 0.82;
    letter-spacing: 0.015em;
    text-shadow: 7px 7px 0 #7c3aed, -3px -3px 0 rgba(199, 255, 61, 0.64);
}

.error-404-screen-label {
    position: absolute;
    bottom: 23px;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid rgba(199, 255, 61, 0.34);
    border-radius: 999px;
    background: rgba(199, 255, 61, 0.08);
    color: #c7ff3d;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.error-404-screen-label svg,
.error-404-status svg {
    width: 15px;
    height: 15px;
}

.error-404-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.error-404-status span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: #aaa9b7;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.error-404-status span:first-child svg {
    color: #ff6685;
}

.error-404-status span:last-child svg {
    color: #c7ff3d;
}

.error-404-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(38px, 6vw, 84px);
}

.error-404-kicker {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    color: #c7ff3d;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.error-404-kicker svg {
    width: 17px;
    height: 17px;
}

.error-404-copy h1 {
    max-width: 760px;
    margin: 23px 0 0;
    color: #ffffff;
    font-size: clamp(2.1rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.error-404-copy > p {
    max-width: 650px;
    margin: 24px 0 0;
    color: #aaa9b7;
    font-size: clamp(1rem, 1.5vw, 1.12rem);
    line-height: 1.7;
}

.error-404-copy > p strong {
    color: #ffffff;
}

.error-404-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 31px;
}

.error-404-actions .primary-action {
    background: #c7ff3d;
    color: #09090f;
}

.error-404-actions .secondary-action {
    border-color: rgba(255, 255, 255, 0.15);
    background: #20202a;
    color: #ffffff;
}

.error-404-help {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-top: 30px;
    color: #aaa9b7;
    font-size: 0.83rem;
    font-weight: 800;
}

.error-404-help:hover {
    color: #c7ff3d;
}

.error-404-help svg {
    width: 16px;
    height: 16px;
}

.error-404-help svg:last-child {
    margin-left: 2px;
}

@keyframes error404Scan {
    to { transform: translateY(470%); }
}

@media (max-width: 900px) {
    .error-404-card {
        grid-template-columns: 1fr;
    }

    .error-404-visual {
        padding-bottom: 34px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }

    .error-404-screen {
        width: min(100%, 360px);
    }

    .error-404-copy {
        text-align: center;
    }

    .error-404-kicker,
    .error-404-help {
        align-self: center;
    }

    .error-404-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .error-404-actions {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .error-404-main {
        min-height: 0;
    }

    .error-404-section {
        padding: 18px 0 34px;
    }

    .error-404-section .section-shell {
        width: min(100% - 20px, 1520px);
    }

    .error-404-card {
        min-height: 0;
        border-radius: 22px;
    }

    .error-404-visual {
        gap: 16px;
        padding: 29px 18px 23px;
    }

    .error-404-screen {
        width: min(100%, 310px);
        border-width: 6px;
        border-radius: 23px;
    }

    .error-404-screen > strong {
        font-size: clamp(6rem, 32vw, 8.2rem);
    }

    .error-404-copy {
        padding: 34px 21px 36px;
    }

    .error-404-copy h1 {
        margin-top: 18px;
        font-size: clamp(1.85rem, 9.5vw, 2.45rem);
    }

    .error-404-copy > p {
        margin-top: 18px;
        font-size: 0.95rem;
    }

    .error-404-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        margin-top: 25px;
    }

    .error-404-actions a {
        width: 100%;
        justify-content: center;
    }

    .error-404-help {
        margin-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .error-404-screen::after {
        animation: none;
    }
}

.player-stage-shell {
    position: relative;
}

.player-stage-shell.is-sticky-space {
    min-height: var(--player-stage-height, 420px);
}

.player-stage {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(104, 224, 197, 0.22);
    border-radius: 8px;
    background: linear-gradient(180deg, #0b1320, #05070a);
    box-shadow: 0 34px 88px rgba(15, 25, 38, 0.38), 0 0 0 8px rgba(255, 255, 255, 0.58), 0 0 48px rgba(10, 167, 163, 0.14);
}

.player-stage::before {
    position: absolute;
    inset: 0 0 auto;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold), var(--coral));
    content: "";
    pointer-events: none;
}

body.player-sticky-active .player-stage {
    position: fixed;
    right: clamp(16px, 3vw, 32px);
    bottom: calc(clamp(16px, 3vw, 32px) + var(--sticky-player-footer-overlap, 0px));
    z-index: 95;
    width: min(430px, calc(100vw - 32px));
    transform: none !important;
    border-color: rgba(104, 224, 197, 0.44);
    box-shadow: 0 24px 74px rgba(8, 18, 31, 0.42), 0 0 0 6px rgba(255, 255, 255, 0.68);
    animation: floatingPlayerIn 180ms ease-out;
}

@keyframes floatingPlayerIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

body.player-sticky-active .broadcast-topline {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
}

body.player-sticky-active .player-controls {
    gap: 8px;
    padding: 8px;
}

body.player-sticky-active .icon-button {
    width: 36px;
    height: 36px;
}

body.player-sticky-active .live-bug {
    top: 10px;
    right: 10px;
    padding: 6px 9px;
    font-size: 0.68rem;
}

body.player-sticky-active .lower-third {
    right: 12px;
    bottom: 10px;
    left: 12px;
    padding: 9px 11px;
}

.broadcast-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 0 16px;
    color: #d8e6ef;
    background: linear-gradient(90deg, #121d29, #152536);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.broadcast-topline-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.sticky-player-close {
    display: none;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sticky-player-close:hover,
.sticky-player-close:focus-visible {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.sticky-player-close svg {
    width: 16px;
    height: 16px;
}

body.player-sticky-active .sticky-player-close {
    display: grid;
}

.status-pill {
    color: #ffffff;
}

.player-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #05070a;
    contain: paint;
    isolation: isolate;
}

.player-frame video,
.youtube-layer,
.youtube-player-mount,
.youtube-layer iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.player-frame video {
    object-fit: cover;
    pointer-events: none;
}

.is-hidden {
    display: none !important;
}

.youtube-layer {
    display: none;
    pointer-events: none;
}

.youtube-player-mount,
.youtube-layer iframe {
    pointer-events: none;
}

.youtube-layer.is-active {
    display: block;
}

.start-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, rgba(5, 7, 10, 0.38), rgba(5, 7, 10, 0.82));
    pointer-events: none;
}

.start-overlay-action {
    display: grid;
    gap: 12px;
    place-items: center;
    padding: 18px 26px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    cursor: pointer;
    pointer-events: auto;
}

.start-overlay-action:hover,
.start-overlay-action:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    outline: 2px solid rgba(104, 224, 197, 0.72);
    outline-offset: 3px;
}

.start-overlay-action svg {
    width: clamp(58px, 7vw, 92px);
    height: clamp(58px, 7vw, 92px);
    color: #68e0c5;
    filter: drop-shadow(0 12px 28px rgba(10, 167, 163, 0.28));
}

.start-overlay-action span {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 900;
}

.premiere-countdown {
    position: absolute;
    inset: 0;
    z-index: 7;
    box-sizing: border-box;
    display: none;
    place-content: center;
    justify-items: center;
    padding: 24px;
    background: rgba(4, 9, 15, 0.84);
    color: #ffffff;
    text-align: center;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.premiere-countdown.is-active {
    display: grid;
}

.premiere-countdown span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffe0a3;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.premiere-countdown strong {
    margin: 12px 0 8px;
    color: #68e0c5;
    font-size: clamp(2.5rem, 8vw, 5.4rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.premiere-countdown b {
    max-width: 620px;
    font-size: clamp(1.15rem, 3vw, 1.8rem);
}

.premiere-countdown small {
    margin-top: 6px;
    color: #c9d7e1;
}

.premiere-countdown.is-compact {
    inset: 14px 14px auto auto;
    width: clamp(124px, 23%, 188px);
    aspect-ratio: 1;
    place-content: center;
    padding: 12px;
    overflow: hidden;
    border: 1px solid rgba(104, 224, 197, 0.36);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(8, 17, 28, 0.9), rgba(3, 9, 16, 0.84));
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.premiere-countdown.is-compact span {
    gap: 4px;
    font-size: 0.63rem;
}

.premiere-countdown.is-compact span svg {
    width: 14px;
    height: 14px;
}

.premiere-countdown.is-compact strong {
    margin: 7px 0 5px;
    font-size: clamp(1.28rem, 3.4vw, 2.25rem);
}

.premiere-countdown.is-compact b {
    display: -webkit-box;
    overflow: hidden;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.16;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.premiere-countdown.is-compact small {
    margin-top: 5px;
    font-size: 0.68rem;
    line-height: 1.2;
}

.live-bug,
.lower-third {
    position: absolute;
    z-index: 5;
}

.live-bug {
    top: 14px;
    right: 14px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.46);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
}

.player-alert {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 128px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: calc(100% - 156px);
    min-height: 36px;
    padding: 8px 10px;
    overflow: hidden;
    border: 1px solid rgba(104, 224, 197, 0.34);
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(8, 108, 105, 0.48));
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.player-alert svg {
    flex: none;
    width: 16px;
    height: 16px;
    color: #68e0c5;
}

.player-alert span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-alert-rotator .player-alert {
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -7px, 0);
    pointer-events: none;
    transition: opacity 260ms ease, visibility 260ms ease, transform 260ms ease;
}

.player-alert-rotator .player-alert.is-active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .player-alert-rotator .player-alert {
        transform: none;
        transition: none;
    }
}

.lower-third {
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 10px 12px;
    border-left: 3px solid #68e0c5;
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.32));
    color: #fff;
    backdrop-filter: blur(12px);
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.lower-third span {
    flex: none;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(215, 154, 40, 0.22);
    color: #ffe0a3;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.lower-third strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0c121b;
}

.icon-button {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
}

.icon-button:hover {
    border-color: rgba(104, 224, 197, 0.62);
    color: #68e0c5;
}

.companion-panel,
.info-stack {
    display: grid;
    gap: 14px;
}

.companion-panel {
    align-content: start;
    padding: 10px;
    border: 1px solid rgba(219, 229, 238, 0.84);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 250, 251, 0.88)),
        linear-gradient(135deg, rgba(10, 167, 163, 0.08), rgba(36, 87, 197, 0.06));
    box-shadow: 0 18px 48px rgba(33, 54, 82, 0.1);
}

.now-card,
.next-card,
.premiere-companion,
.share-card,
.home-social-card,
.info-card,
.giving-card {
    padding: 20px;
}

.now-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border-color: rgba(10, 167, 163, 0.34);
    background:
        radial-gradient(circle at 100% 0%, rgba(36, 87, 197, 0.12), transparent 32%),
        linear-gradient(135deg, #ffffff 0%, #effbfb 58%, #fff8ec 100%);
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.11);
}

.now-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--accent), var(--gold));
}

.now-card-heading {
    display: flex;
    align-items: center;
    gap: 9px;
}

.now-live-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #e6fbfa;
    color: #086c69;
    box-shadow: 0 10px 24px rgba(10, 167, 163, 0.12);
}

.now-live-icon svg {
    width: 17px;
    height: 17px;
}

.now-card h2 {
    margin: 14px 0 7px;
    font-size: clamp(1.34rem, 2.2vw, 1.82rem);
    line-height: 1.16;
}

.now-card p {
    margin: 0;
}

.program-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
}

.program-meta span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(10, 167, 163, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.program-meta span b {
    overflow: hidden;
    color: #526174;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.program-meta svg,
.info-card svg,
.feature-list svg {
    color: var(--accent);
}

.companion-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.next-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    background: linear-gradient(135deg, #ffffff, #eef8ff);
    border-color: rgba(36, 87, 197, 0.22);
}

.next-card small {
    color: var(--muted);
    font-weight: 500;
}

.premiere-companion {
    display: grid;
    gap: 7px;
    padding: 18px;
    border: 1px solid rgba(215, 154, 40, 0.28);
    border-radius: 8px;
    background: #fff8ed;
}

.premiere-companion small {
    color: #8b610f;
    font-weight: 850;
}

.live-engagement-section { background: linear-gradient(180deg, #f7fbfc, #eef7f8); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-page .live-engagement-section { padding-top: clamp(28px, 4vw, 44px); }
.live-engagement-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.live-reaction-panel {
    position: relative;
    isolation: isolate;
    margin: 0 0 18px;
    padding: clamp(18px, 2.4vw, 28px);
    overflow: hidden;
    border: 1px solid rgba(124, 58, 237, 0.18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 94% 0%, rgba(199, 255, 61, 0.2), transparent 27%),
        linear-gradient(135deg, #ffffff 0%, #f6f2ff 54%, #edfbfb 100%);
    box-shadow: 0 24px 58px rgba(33, 54, 82, 0.12);
}

.live-reaction-panel::before {
    position: absolute;
    inset: 0 auto 0 0;
    z-index: -1;
    width: 5px;
    background: linear-gradient(180deg, #7c3aed, #c7ff3d, #ff6685);
    content: "";
}

.live-reaction-header,
.live-reaction-title,
.live-reaction-footer,
.live-reaction-live {
    display: flex;
    align-items: center;
}

.live-reaction-header {
    justify-content: space-between;
    gap: 22px;
}

.live-reaction-title {
    min-width: 0;
    gap: 14px;
}

.live-reaction-icon {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 15px;
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 12px 28px rgba(124, 58, 237, 0.25);
}

.live-reaction-icon svg {
    width: 25px;
    height: 25px;
}

.live-reaction-title h3 {
    margin: 3px 0 2px;
    font-size: clamp(1.22rem, 2vw, 1.65rem);
    line-height: 1.05;
}

.live-reaction-title p {
    margin: 0;
    color: var(--muted);
    font-size: 0.91rem;
}

.live-reaction-live {
    flex: 0 0 auto;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(31, 157, 103, 0.2);
    border-radius: 999px;
    background: rgba(232, 251, 242, 0.84);
    color: #13734c;
    font-size: 0.76rem;
    font-weight: 900;
}

.live-reaction-live i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #24c77b;
    box-shadow: 0 0 0 5px rgba(36, 199, 123, 0.12);
    animation: liveReactionPulse 1.8s ease-in-out infinite;
}

.live-reaction-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.live-reaction-button {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-width: 0;
    min-height: 74px;
    padding: 10px 12px;
    overflow: visible;
    border: 1px solid rgba(33, 54, 82, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    box-shadow: 0 10px 24px rgba(33, 54, 82, 0.07);
    cursor: pointer;
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.live-reaction-button:hover,
.live-reaction-button:focus-visible,
.live-reaction-button.is-reacting {
    border-color: rgba(124, 58, 237, 0.38);
    background: #fff;
    box-shadow: 0 16px 34px rgba(84, 55, 135, 0.16);
    transform: translateY(-3px);
}

.live-reaction-button:focus-visible {
    outline: 3px solid rgba(199, 255, 61, 0.36);
    outline-offset: 2px;
}

.live-reaction-button:disabled { cursor: wait; }

.live-reaction-emoji {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 13px;
    background: #f3efff;
    font-size: 1.65rem;
    line-height: 1;
}

.reaction-love .live-reaction-emoji { background: #fff0f3; }
.reaction-fun .live-reaction-emoji { background: #fff8df; }
.reaction-applause .live-reaction-emoji { background: #eef9ff; }
.reaction-fire .live-reaction-emoji { background: #fff1e8; }

.live-reaction-copy { display: block; min-width: 0; }
.live-reaction-copy strong, .live-reaction-copy small { display: block; }
.live-reaction-copy strong {
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.live-reaction-copy small { margin-top: 3px; color: var(--muted); font-size: 0.7rem; font-weight: 800; }

.live-reaction-button > b {
    display: grid;
    min-width: 34px;
    min-height: 30px;
    padding: 0 8px;
    place-items: center;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.76rem;
}

.live-reaction-footer {
    justify-content: space-between;
    gap: 16px;
    margin-top: 15px;
    color: var(--muted);
    font-size: 0.8rem;
}

.live-reaction-footer strong { color: #514667; }

.live-reaction-burst {
    position: absolute;
    top: 12px;
    left: 22px;
    z-index: 4;
    font-size: 2rem;
    pointer-events: none;
    animation: liveReactionBurst 800ms cubic-bezier(0.16, 0.78, 0.28, 1) forwards;
}

@keyframes liveReactionPulse {
    0%, 100% { transform: scale(0.9); opacity: 0.72; }
    50% { transform: scale(1.12); opacity: 1; }
}

@keyframes liveReactionBurst {
    0% { opacity: 0; transform: translateY(6px) scale(0.45) rotate(-8deg); }
    28% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-62px) translateX(10px) scale(1.35) rotate(10deg); }
}
.notification-optin { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(36, 87, 197, 0.24); border-radius: 8px; background: #fff; color: #2457c5; font-weight: 900; cursor: pointer; }
.notification-optin:hover { border-color: rgba(10, 167, 163, 0.42); color: #086c69; }
.companion-notification-action {
    width: 100%;
    min-height: 50px;
    padding: 0 13px;
    border-color: rgba(255, 126, 51, 0.42);
    background: linear-gradient(135deg, #ffcf4a, #18c5b8);
    color: #102033;
    box-shadow: 0 12px 28px rgba(255, 122, 51, 0.18), 0 8px 22px rgba(24, 197, 184, 0.13);
    font-weight: 950;
}

.companion-notification-action:hover,
.companion-notification-action:focus-visible {
    border-color: rgba(24, 197, 184, 0.72);
    color: #071725;
    transform: translateY(-1px);
    box-shadow: 0 18px 42px rgba(255, 122, 51, 0.22), 0 10px 26px rgba(24, 197, 184, 0.18);
}

.companion-notification-action svg {
    color: #102033;
}
.live-engagement-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.74fr); gap: 18px; align-items: start; }
.live-engagement-grid.is-single { grid-template-columns: minmax(0, 1fr); }
.interaction-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.live-interaction-card, .live-wall-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 16px 38px rgba(33, 54, 82, 0.08); }
.live-interaction-card { display: grid; gap: 14px; align-content: start; padding: 15px; }
.live-interaction-card.interaction-card-poll { grid-column: 1 / -1; gap: 16px; padding: 18px; border-color: rgba(10, 167, 163, 0.34); background: linear-gradient(135deg, #ffffff, #effbfb 64%, #fff8ed); box-shadow: 0 20px 48px rgba(33, 54, 82, 0.1); }
.live-interaction-card.interaction-card-attendance { gap: 12px; min-height: 0; padding: 14px; box-shadow: 0 12px 30px rgba(33, 54, 82, 0.06); }
.live-interaction-card > header { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; align-items: center; }
.live-interaction-card.interaction-card-poll > header { grid-template-columns: 48px minmax(0, 1fr); }
.live-interaction-card header strong, .live-interaction-card header small { display: block; }
.live-interaction-card header strong { font-size: 1.02rem; line-height: 1.2; }
.live-interaction-card.interaction-card-poll header strong { font-size: clamp(1.1rem, 1.7vw, 1.32rem); }
.live-interaction-card header small { margin-top: 3px; color: var(--muted); line-height: 1.4; }
.interaction-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: #e6fbfa; color: #086c69; }
.interaction-card-poll .interaction-icon { width: 48px; height: 48px; background: linear-gradient(135deg, #e6fbfa, #eef4ff); color: var(--blue); }
.interaction-card-attendance .interaction-icon { background: #e8fbf2; color: #1f8f5c; }
.poll-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.poll-options label { position: relative; overflow: hidden; cursor: pointer; }
.poll-options input { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; }
.poll-options span { display: flex; min-height: 46px; align-items: center; justify-content: center; padding: 8px 10px; border: 1px solid rgba(36, 87, 197, 0.16); border-radius: 8px; background: rgba(255, 255, 255, 0.78); color: var(--muted); font-weight: 900; text-align: center; transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.poll-options input:checked + span { border-color: rgba(10, 167, 163, 0.55); background: #e6fbfa; color: #086c69; box-shadow: inset 0 0 0 1px rgba(10, 167, 163, 0.14); }
.interaction-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.interaction-fields .full { grid-column: 1 / -1; }
.live-interaction-card label, .live-message-form label { display: grid; gap: 6px; color: var(--muted); font-size: 0.82rem; font-weight: 850; }
.live-interaction-card input:not([type="radio"]):not([type="checkbox"]), .live-message-form input:not([type="radio"]):not([type="checkbox"]), .live-message-form select, .live-message-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fbfdff; color: var(--text); outline: none; }
.live-message-form input:not([type="radio"]):not([type="checkbox"]), .live-message-form select, .live-message-form textarea { font-weight: 500; }
.live-interaction-card input:not([type="radio"]):not([type="checkbox"]), .live-message-form input:not([type="radio"]):not([type="checkbox"]), .live-message-form select { height: 42px; padding: 0 10px; }
.live-message-form textarea { min-height: 84px; padding: 10px; resize: vertical; }
.interaction-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border: 0; border-radius: 8px; background: #152536; color: #fff; font-weight: 900; cursor: pointer; }
.interaction-card-attendance .interaction-submit { min-height: 40px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.form-honeypot input { width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; }
.live-wall-panel { overflow: hidden; border-color: rgba(215, 154, 40, 0.25); background: linear-gradient(180deg, #fffdf8, #ffffff 42%, #f7fbfb); box-shadow: 0 18px 44px rgba(33, 54, 82, 0.09); }
.live-wall-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px; border-bottom: 1px solid rgba(215, 154, 40, 0.18); background: linear-gradient(135deg, #fffaf1, #f3fbfb); }
.live-wall-panel h3 { margin: 4px 0 0; font-size: 1.3rem; }
.live-wall-status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.78rem; font-weight: 850; }
.live-message-feed { display: grid; max-height: 350px; overflow: auto; background: rgba(255, 255, 255, 0.62); }
.live-message-feed article { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 11px; padding: 15px 18px; border-bottom: 1px solid rgba(219, 229, 238, 0.78); }
.message-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #eef8ff, #e7fbf7); color: #2457c5; font-weight: 950; box-shadow: inset 0 0 0 1px rgba(36, 87, 197, 0.08); }
.live-message-feed strong, .live-message-feed small { display: block; }
.live-message-feed small { margin-top: 2px; }
.wall-message-meta,
.live-message-feed .wall-message-meta,
.public-wall-card .wall-message-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.wall-message-meta span {
    color: #5c7288;
    font-size: 0.78rem;
    font-weight: 850;
}

.wall-message-meta b {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e8fbfa;
    color: #08736f;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
}

.is-suggestion .wall-message-meta b {
    background: #fff1d6;
    color: #9d6109;
}

.live-message-feed .wall-message-meta b {
    min-height: 19px;
    padding: 0 7px;
    font-size: 0.66rem;
}
.live-message-feed p { margin: 8px 0 0; padding-left: 10px; border-left: 3px solid rgba(10, 167, 163, 0.22); color: var(--muted); line-height: 1.5; }
.live-message-feed-empty { padding: 18px 16px; color: var(--muted); font-weight: 850; }
.live-message-more { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; gap: 6px; margin: 10px 16px 0 auto; padding: 0 12px; border: 1px solid rgba(36, 87, 197, 0.14); border-radius: 8px; background: rgba(255, 255, 255, 0.74); color: #315f99; font-size: 0.82rem; font-weight: 900; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease; }
.live-message-more:hover, .live-message-more:focus-visible { border-color: rgba(36, 87, 197, 0.28); background: #ffffff; color: var(--blue); transform: translateY(-1px); }
.live-message-more svg { width: 15px; height: 15px; }
.live-message-toggle { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); margin: 14px 16px 0; border: 1px solid rgba(10, 167, 163, 0.32); border-radius: 8px; background: linear-gradient(135deg, #ffffff, #e8fbfa); color: #086c69; font-weight: 950; cursor: pointer; box-shadow: 0 14px 28px rgba(10, 167, 163, 0.12); transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
.live-message-toggle:hover, .live-message-toggle:focus-visible, .live-message-toggle.is-open { border-color: rgba(10, 167, 163, 0.58); background: linear-gradient(135deg, #eafffb, #d9f7f5); box-shadow: 0 18px 34px rgba(10, 167, 163, 0.18); transform: translateY(-1px); }
.live-message-toggle svg { width: 18px; height: 18px; }
.live-message-form[hidden] { display: none; }
.live-message-form { display: grid; gap: 10px; padding: 16px; background: #f8fbfd; }
.live-message-form .check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(10, 167, 163, 0.2);
    border-radius: 8px;
    background: rgba(230, 251, 250, 0.58);
    color: #415168;
    line-height: 1.35;
    cursor: pointer;
}
.live-message-form .check-row input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--accent);
    flex: 0 0 auto;
    cursor: pointer;
}
.live-message-form .check-row:focus-within {
    border-color: rgba(10, 167, 163, 0.55);
    box-shadow: 0 0 0 3px rgba(10, 167, 163, 0.1);
}
.two-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.notification-toast { position: fixed; right: 18px; bottom: 18px; z-index: 1100; display: grid; grid-template-columns: 42px minmax(0, 1fr) 34px; gap: 11px; width: min(420px, calc(100% - 28px)); padding: 14px; border: 1px solid rgba(10, 167, 163, 0.32); border-radius: 8px; background: #fff; box-shadow: 0 24px 70px rgba(15, 25, 38, 0.24); opacity: 0; pointer-events: none; transform: translateY(18px); transition: bottom 180ms ease, opacity 180ms ease, transform 180ms ease; }
.notification-toast.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.notification-toast-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: #e6fbfa; color: #086c69; }
.notification-toast p { margin: 3px 0 7px; color: var(--muted); line-height: 1.4; }
.notification-toast a { color: #2457c5; font-weight: 900; }
.notification-toast button { display: grid; width: 34px; height: 34px; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; }

.public-wall-shell {
    display: grid;
    gap: 18px;
}

.public-wall-page .page-title {
    padding: 24px 0 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(237, 249, 248, 0.9) 58%, rgba(255, 249, 238, 0.82)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.1), rgba(215, 154, 40, 0.1));
}

.public-wall-page .section-block {
    padding: 26px 0 clamp(54px, 7vw, 86px);
}

.public-wall-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.46fr);
    gap: clamp(18px, 4vw, 44px);
    align-items: center;
}

.public-wall-hero-copy h1 {
    max-width: 760px;
    margin-top: 12px;
    font-size: clamp(2.2rem, 4.8vw, 4.8rem);
}

.public-wall-hero-copy p {
    max-width: 720px;
    font-size: 1rem;
}

.public-wall-hero-actions {
    display: grid;
    gap: 12px;
    align-self: center;
}

.public-wall-hero-actions .primary-action {
    width: 100%;
    justify-content: center;
}

.public-wall-hero-actions > .primary-action {
    border: 0;
    cursor: pointer;
}

.public-wall-hero-actions > .primary-action.is-open {
    background: #152536;
}

.public-wall-message-form {
    margin-top: 2px;
    padding: 14px;
    border: 1px solid rgba(219, 229, 238, 0.92);
    border-radius: 8px;
    background: rgba(248, 251, 253, 0.94);
}

.public-wall-message-form .primary-action {
    border: 0;
    cursor: pointer;
}

.public-wall-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.public-wall-tabs a {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(33, 54, 82, 0.06);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.public-wall-tabs a:hover,
.public-wall-tabs a:focus-visible,
.public-wall-tabs a.is-active {
    border-color: rgba(10, 167, 163, 0.36);
    background: linear-gradient(135deg, #ffffff, #effafa);
    box-shadow: 0 16px 34px rgba(33, 54, 82, 0.1);
    transform: translateY(-1px);
}

.public-wall-tabs a.is-active {
    box-shadow: 0 0 0 3px rgba(10, 167, 163, 0.11), 0 16px 34px rgba(33, 54, 82, 0.1);
}

.public-wall-tabs svg {
    width: 18px;
    height: 18px;
    color: #0aa7a3;
}

.public-wall-tabs b {
    display: inline-flex;
    min-width: 28px;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef4fb;
    color: var(--blue);
    font-size: 0.78rem;
}

.public-wall-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.public-wall-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
    border: 1px solid var(--line);
    border-left: 4px solid rgba(10, 167, 163, 0.62);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(33, 54, 82, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.public-wall-card:hover {
    border-color: rgba(10, 167, 163, 0.28);
    box-shadow: 0 20px 42px rgba(33, 54, 82, 0.12);
    transform: translateY(-1px);
}

.public-wall-card.is-suggestion {
    border-left-color: rgba(215, 154, 40, 0.78);
    background: linear-gradient(135deg, #ffffff, #fffaf0);
}

.public-wall-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.public-wall-card strong,
.public-wall-card small {
    display: block;
}

.public-wall-card small {
    margin-top: 3px;
}

.public-wall-card time {
    color: var(--soft);
    font-size: 0.74rem;
    font-weight: 850;
    white-space: nowrap;
}

.public-wall-card p {
    margin: 10px 0 0;
    padding-left: 12px;
    border-left: 3px solid rgba(10, 167, 163, 0.2);
    color: var(--muted);
    line-height: 1.6;
}

.public-wall-card.is-suggestion p {
    border-left-color: rgba(215, 154, 40, 0.34);
}

.public-wall-empty {
    display: grid;
    grid-column: 1 / -1;
    justify-items: start;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(33, 54, 82, 0.07);
}

.public-wall-empty svg {
    width: 38px;
    height: 38px;
    color: var(--blue);
}

.public-wall-empty span {
    color: var(--muted);
}

.public-wall-pagination,
.team-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.public-wall-pagination p,
.team-pagination p {
    margin: 0;
    color: var(--muted);
    font-weight: 850;
}

.pagination-nav,
.pagination-pages {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.pagination-control,
.pagination-page,
.pagination-ellipsis {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.pagination-page {
    min-width: 34px;
    padding: 0 9px;
}

.pagination-control svg {
    width: 16px;
    height: 16px;
}

.pagination-control:hover,
.pagination-page:hover,
.pagination-page.is-current {
    border-color: rgba(10, 167, 163, 0.42);
    background: #eafffb;
    color: #086c69;
}

.pagination-control.is-disabled {
    opacity: 0.48;
    pointer-events: none;
}

.notification-subscribe-panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(10, 167, 163, 0.28);
    border-radius: 8px;
    background: linear-gradient(90deg, #ffffff, #effafa);
    box-shadow: 0 16px 38px rgba(33, 54, 82, 0.08);
}

.notification-subscribe-copy {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.notification-subscribe-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: #e6fbfa;
    color: #086c69;
}

.notification-subscribe-copy strong,
.notification-subscribe-copy small {
    display: block;
}

.notification-subscribe-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.notification-subscribe-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.notification-subscribe-fields label {
    display: grid;
    gap: 5px;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 850;
}

.notification-subscribe-fields input {
    width: 100%;
    height: 42px;
    min-width: 0;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
}

.notification-subscribe-panel > .interaction-submit {
    min-width: 190px;
    padding: 0 12px;
}

.notification-subscribe-panel > .form-feedback {
    grid-column: 1 / -1;
}

.share-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-color: rgba(215, 154, 40, 0.2);
    background: rgba(255, 255, 255, 0.78);
}

.share-card .ghost-action {
    min-width: 0;
    padding: 0 10px;
    font-size: 0.86rem;
}

.share-card .ghost-action span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.church-command-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
    gap: 22px;
    align-items: center;
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(219, 229, 238, 0.9);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(230, 251, 250, 0.82)),
        linear-gradient(90deg, rgba(36, 87, 197, 0.08), rgba(215, 154, 40, 0.1));
    box-shadow: 0 22px 60px rgba(33, 54, 82, 0.12);
}

.command-copy h3 {
    margin: 10px 0 8px;
    font-size: 1.55rem;
    line-height: 1.15;
}

.command-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

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

.command-chip {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 16px;
    border: 1px solid rgba(219, 229, 238, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(33, 54, 82, 0.08);
}

.command-chip svg {
    color: var(--blue);
}

.command-chip strong {
    font-size: 1rem;
}

.command-chip span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.command-chip:hover {
    border-color: rgba(10, 167, 163, 0.45);
    background: #ffffff;
}

.home-social-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-color: rgba(10, 167, 163, 0.2);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 251, 250, 0.88)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(36, 87, 197, 0.06));
}

.home-social-card strong {
    color: var(--text);
    font-size: 1rem;
    font-weight: 950;
}

.home-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-social-link {
    position: relative;
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue);
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(33, 54, 82, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.home-social-link svg {
    width: 19px;
    height: 19px;
}

.home-social-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.home-social-link.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.32);
    background: #f0fff6;
    color: #128c45;
}

.home-social-link:hover,
.home-social-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 167, 163, 0.38);
    background: #eafafa;
    outline: none;
}

.home-social-link.is-whatsapp:hover,
.home-social-link.is-whatsapp:focus-visible {
    border-color: rgba(37, 211, 102, 0.52);
    background: #dcfce8;
}

.schedule-rail {
    display: grid;
    gap: 12px;
}

.schedule-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 36px;
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

.schedule-item.is-current {
    border-color: rgba(10, 167, 163, 0.44);
    background: linear-gradient(90deg, rgba(10, 167, 163, 0.12), rgba(255, 255, 255, 0.94));
}

.schedule-item time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 10px;
    border-radius: 8px;
    background: #fff4d8;
    color: #f2a900;
    font-size: 1.32rem;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(242, 169, 0, 0.22);
}

.schedule-item-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.schedule-item span {
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.schedule-item-labels b {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4d4d, #c91f35);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 18px rgba(201, 31, 53, 0.2);
}

.schedule-item h3 {
    margin: 5px 0 3px;
    font-size: 1.15rem;
}

.schedule-item p {
    margin: 0;
    font-size: 0.95rem;
}

.schedule-item svg {
    color: var(--soft);
}

.day-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.day-tabs a {
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 850;
}

.day-tabs a.is-active,
.day-tabs a:hover {
    border-color: rgba(10, 167, 163, 0.38);
    background: #e6fbfa;
    color: #086c69;
}

.schedule-page-grid,
.prayer-grid,
.giving-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
    gap: 22px;
    align-items: start;
}

.schedule-now-sidebar {
    display: grid;
    gap: 14px;
    align-content: start;
}

.schedule-page-grid .schedule-now-card {
    position: relative;
    top: auto;
}

.schedule-now-card {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 12px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(219, 229, 238, 0.92);
    border-radius: 8px;
    background:
        radial-gradient(circle at 100% 0%, rgba(10, 167, 163, 0.1), transparent 35%),
        linear-gradient(135deg, #ffffff, #fbfdff);
    box-shadow: 0 18px 44px rgba(33, 54, 82, 0.1);
}

.schedule-now-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.schedule-now-card h2 {
    margin: 2px 0 0;
    color: var(--text);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.22;
}

.schedule-now-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.schedule-now-progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8f3fb;
}

.schedule-now-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--blue));
}

.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.feature-showcase {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 249, 251, 0.94) 100%),
        linear-gradient(90deg, rgba(233, 110, 97, 0.07), rgba(10, 167, 163, 0.08));
}

.premium-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.premium-feature-card {
    position: relative;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 205px;
    padding: 22px;
    overflow: hidden;
    border: 1px solid rgba(219, 229, 238, 0.96);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 44px rgba(33, 54, 82, 0.09);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.premium-feature-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--coral));
}

.premium-feature-card svg {
    width: 34px;
    height: 34px;
    color: var(--accent);
}

.premium-feature-card strong {
    font-size: 1.12rem;
}

.premium-feature-card span {
    color: var(--muted);
    line-height: 1.62;
}

.premium-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(10, 167, 163, 0.36);
    box-shadow: 0 24px 58px rgba(33, 54, 82, 0.14);
}

.announcement-card {
    display: grid;
    gap: 10px;
    min-height: 160px;
    padding: 18px;
}

.announcement-card strong {
    font-size: 1.1rem;
}

.announcement-card em {
    margin-top: auto;
    color: var(--coral);
}

.prayer-form {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    overflow: hidden;
    padding: 24px;
    border-color: rgba(10, 167, 163, 0.18);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 253, 253, 0.96)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.06));
    box-shadow: 0 18px 48px rgba(33, 54, 82, 0.1);
}

.prayer-grid > div:last-child {
    position: sticky;
    top: 92px;
    align-self: start;
}

.prayer-form::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.prayer-form .full,
.check-row,
.prayer-form button,
.form-feedback {
    grid-column: 1 / -1;
}

.prayer-form label {
    display: grid;
    gap: 8px;
    color: #526174;
    font-size: 0.9rem;
    font-weight: 850;
}

.prayer-form input,
.prayer-form textarea {
    width: 100%;
    border: 1px solid rgba(196, 216, 229, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    font-weight: 500;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.prayer-form input::placeholder,
.prayer-form textarea::placeholder {
    color: #8a96a6;
    font-weight: 600;
}

.prayer-form input {
    height: 48px;
    padding: 0 14px;
}

.prayer-form textarea {
    min-height: 138px;
    resize: vertical;
    padding: 14px;
}

.prayer-form input:focus,
.prayer-form textarea:focus {
    border-color: rgba(10, 167, 163, 0.58);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(10, 167, 163, 0.1);
}

.prayer-form .check-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 10px !important;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(10, 167, 163, 0.16);
    border-radius: 8px;
    background: rgba(230, 251, 250, 0.5);
    color: #415168;
}

.prayer-form .check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}

.prayer-form .primary-action {
    min-height: 48px;
    border-color: rgba(10, 167, 163, 0.38);
    background: linear-gradient(135deg, #0aa7a3, #39c9b4);
    box-shadow: 0 14px 30px rgba(10, 167, 163, 0.2);
}

.form-feedback,
.copy-feedback {
    min-height: 22px;
    margin: 0;
    color: var(--green);
    font-weight: 850;
}

.prayer-wall {
    display: grid;
    gap: 12px;
    max-height: clamp(330px, 44vh, 430px);
    overflow: auto;
    padding: 2px 6px 2px 0;
    scrollbar-color: rgba(10, 167, 163, 0.42) transparent;
    scrollbar-width: thin;
}

.prayer-wall::-webkit-scrollbar {
    width: 8px;
}

.prayer-wall::-webkit-scrollbar-track {
    background: transparent;
}

.prayer-wall::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(10, 167, 163, 0.42);
    background-clip: padding-box;
}

.prayer-wall article {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas:
        "avatar name"
        "avatar city"
        ". message";
    gap: 2px 12px;
    padding: 16px;
    border-color: rgba(202, 220, 232, 0.9);
    background:
        linear-gradient(135deg, #ffffff, #fbfefd),
        linear-gradient(90deg, rgba(10, 167, 163, 0.06), rgba(215, 154, 40, 0.05));
    box-shadow: 0 12px 30px rgba(33, 54, 82, 0.08);
}

.prayer-wall article::before {
    content: "";
    grid-area: avatar;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(10, 167, 163, 0.18);
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(10, 167, 163, 0.15), rgba(36, 87, 197, 0.08)),
        #eefafa;
}

.prayer-wall strong,
.prayer-wall span {
    display: block;
}

.prayer-wall strong {
    grid-area: name;
    color: var(--text);
    font-size: 1rem;
}

.prayer-wall span {
    grid-area: city;
    width: fit-content;
    margin-top: 2px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff4da;
    color: #986500;
    font-size: 0.78rem;
    font-weight: 850;
}

.prayer-wall p {
    grid-area: message;
    margin: 12px 0 0;
    padding-left: 12px;
    border-left: 3px solid rgba(10, 167, 163, 0.22);
    color: #526174;
    line-height: 1.6;
}

.prayer-wall-more {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin-top: 12px;
    border: 1px solid rgba(10, 167, 163, 0.24);
    border-radius: 8px;
    background: rgba(230, 251, 250, 0.72);
    color: #087a77;
    font-weight: 850;
    cursor: pointer;
}

.prayer-wall-more svg {
    width: 18px;
    height: 18px;
}

.prayer-page .compact-heading {
    margin-bottom: 18px;
}

.prayer-page .compact-heading h2 {
    max-width: 520px;
    font-size: clamp(2rem, 3.4vw, 3.25rem);
    line-height: 1.04;
}

.giving-card {
    display: grid;
    gap: 18px;
    background: linear-gradient(135deg, #ffffff, #fff6e6);
}

.pix-giving-card {
    gap: 22px;
    background:
        linear-gradient(135deg, #ffffff, #fff7e8),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(36, 87, 197, 0.06));
}

.pix-giving-header h2 {
    margin: 10px 0 8px;
    font-size: clamp(1.7rem, 3vw, 2.65rem);
    line-height: 1.06;
}

.pix-giving-header p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.pix-giving-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 22px;
    align-items: center;
}

.pix-giving-layout.is-key-only {
    grid-template-columns: minmax(0, 1fr);
}

.pix-qr-frame {
    display: grid;
    width: min(100%, 320px);
    aspect-ratio: 1;
    place-items: center;
    padding: 16px;
    border: 1px solid rgba(10, 167, 163, 0.28);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(33, 54, 82, 0.12);
}

.pix-qr-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pix-qr-frame svg {
    width: 76px;
    height: 76px;
    color: var(--accent);
}

.pix-qr-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    color: var(--muted);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 800;
}

.pix-copy-panel {
    display: grid;
    min-width: 0;
}

.pix-key-card {
    display: grid;
    min-width: 0;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 16px 36px rgba(33, 54, 82, 0.08);
}

.pix-key-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.pix-key-heading > .pix-key-label {
    color: #8a5a0f;
    font-size: 0.84rem;
    font-weight: 950;
    letter-spacing: 0.01em;
}

.pix-key-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid rgba(36, 87, 197, 0.2);
    border-radius: 999px;
    color: var(--blue);
    background: linear-gradient(135deg, rgba(36, 87, 197, 0.09), rgba(10, 167, 163, 0.08));
    box-shadow: 0 6px 16px rgba(36, 87, 197, 0.08);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.pix-key-type-badge svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--blue);
}

.main-giving strong {
    overflow-wrap: anywhere;
    color: var(--blue);
    font-size: clamp(1.65rem, 3.6vw, 3rem);
}

.pix-key-display {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.pix-key-display > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    color: var(--accent);
}

.pix-key-display > .pix-key-value {
    display: block;
    min-width: 0;
    max-width: 100%;
    font-size: 1.55rem;
    line-height: 1.28;
    overflow-x: auto;
    overflow-y: hidden;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
    user-select: all;
    scrollbar-width: thin;
}

.pix-key-display > .pix-key-value.is-long {
    font-size: 1.28rem;
    line-height: 1.34;
}

.pix-key-display > .pix-key-value.is-very-long {
    font-size: 1.08rem;
    line-height: 1.4;
}

.pix-key-receiver {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.84rem;
}

.pix-key-receiver svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    color: var(--accent);
}

.pix-key-receiver strong {
    color: var(--ink);
    font-size: inherit;
}

.pix-copy-panel small {
    color: var(--muted);
    line-height: 1.6;
}

.pix-key-card .copy-feedback {
    margin: 0;
}

.pix-key-card .copy-feedback:empty {
    display: none;
}

.pix-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.pix-key-card .pix-actions .primary-action {
    position: relative;
    min-height: 50px;
    padding: 0 21px;
    border-color: rgba(4, 123, 125, 0.36);
    border-radius: 11px;
    background: linear-gradient(135deg, #087f82 0%, #0aa7a3 48%, #3cccad 100%);
    box-shadow:
        0 14px 28px rgba(10, 167, 163, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
    font-size: 0.96rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pix-key-card .pix-actions .primary-action svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.3;
}

.pix-key-card .pix-actions .primary-action:focus-visible {
    outline: 3px solid rgba(36, 87, 197, 0.22);
    outline-offset: 3px;
}

.pix-key-card .pix-actions .primary-action:active {
    transform: translateY(1px);
    box-shadow: 0 8px 18px rgba(10, 167, 163, 0.22);
}

@media (hover: hover) {
    .pix-key-card .pix-actions .primary-action:hover {
        transform: translateY(-2px);
        filter: saturate(1.08) brightness(1.03);
        box-shadow:
            0 18px 34px rgba(10, 167, 163, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.contribution-security {
    border-color: rgba(10, 167, 163, 0.28);
    background: linear-gradient(135deg, #ffffff, #eefbfa);
}

.info-card {
    display: grid;
    gap: 10px;
}

.info-card strong {
    font-size: 1.08rem;
}

.info-card p {
    margin: 0;
}

.pix-confirm-card {
    align-content: start;
    border-color: rgba(36, 87, 197, 0.18);
    background: linear-gradient(135deg, #ffffff, #edf4ff);
}

.pix-confirm-card label {
    display: grid;
    gap: 6px;
}

.pix-confirm-card label span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.pix-confirm-card input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
}

.pix-confirm-card .secondary-action {
    width: 100%;
    justify-content: center;
}

.member-title-card,
.member-auth-card,
.member-dashboard-hero,
.member-quick-card,
.member-spotlight-card,
.member-stat-grid article,
.member-course-card,
.member-content-card,
.member-panel,
.certificate-sheet,
.certificate-not-found {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.member-title-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    background:
        linear-gradient(135deg, #ffffff, #eafafa),
        linear-gradient(90deg, rgba(36, 87, 197, 0.06), rgba(215, 154, 40, 0.08));
}

.member-title-card svg {
    width: 44px;
    height: 44px;
    color: var(--blue);
}

.member-title-card strong {
    font-size: 1.5rem;
}

.member-title-card span,
.member-auth-card small,
.member-course-card p,
.member-content-card p,
.member-content-body,
.member-empty,
.member-panel p {
    color: var(--muted);
    line-height: 1.7;
}

.member-wow-title {
    padding: 18px 0;
}

.member-wow-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
    gap: 16px;
    align-items: center;
}

.member-wow-copy {
    min-width: 0;
}

.member-wow-copy h1 {
    max-width: 760px;
    margin: 7px 0 8px;
    font-size: clamp(2rem, 4vw, 3.45rem);
    line-height: 0.98;
}

.member-wow-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.member-wow-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 132px;
    padding: 16px;
    box-shadow: 0 18px 44px rgba(33, 54, 82, 0.12);
}

.member-wow-card-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(199, 137, 27, 0.24);
    border-radius: 8px;
    background: linear-gradient(135deg, #fff6e6, #eafafa);
    color: var(--gold);
}

.member-wow-card-icon svg {
    width: 22px;
    height: 22px;
}

.member-wow-card strong {
    display: block;
    margin: 0 0 5px;
    font-size: 1.05rem;
    line-height: 1.18;
}

.member-wow-card span {
    line-height: 1.45;
}

.member-wow-card .secondary-action {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 38px;
    padding: 0 12px;
}

.member-wow-card .secondary-action svg {
    width: 17px;
    height: 17px;
}

.member-notice {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(10, 167, 163, 0.28);
    border-radius: 8px;
    background: #eafafa;
    color: #086c69;
    font-weight: 900;
}

.member-notice.error {
    border-color: rgba(220, 63, 100, 0.25);
    background: #fff1f4;
    color: #a52443;
}

.member-registration-email-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    border-color: rgba(234, 132, 14, 0.38);
    background: #fff7e6;
    color: #a54f00;
}

.member-registration-email-notice svg {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
}

.member-notice.danger,
.member-admin-preview-notice {
    border-color: rgba(220, 63, 100, 0.32);
    background: #fff0f3;
    color: #a52443;
}

.member-admin-preview-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 14px 16px;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(220, 63, 100, 0.12);
    font-weight: 950;
}

.member-admin-preview-notice svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--danger);
}

.member-auth-section {
    padding: 10px 0 58px;
}

.member-auth-grid {
    display: grid;
    grid-template-columns: 260px minmax(380px, 560px);
    justify-content: center;
    gap: 12px;
    align-items: start;
}

.member-auth-intro {
    position: relative;
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 12px;
    min-height: auto;
    padding: 30px 22px;
    overflow: hidden;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 52px rgba(33, 54, 82, 0.1);
    text-align: center;
}

.member-auth-intro::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.member-auth-intro-icon {
    width: 56px;
    height: 56px;
    margin-top: 4px;
}

.member-auth-intro-icon svg {
    width: 27px;
    height: 27px;
}

.member-auth-intro h2 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 1.02rem;
    line-height: 1.2;
}

.member-auth-intro p {
    margin: 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.member-auth-benefits {
    display: grid;
    justify-items: start;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.member-auth-benefits span {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 900;
}

.member-auth-benefits svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: var(--green);
}

.member-auth-forms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
}

.member-auth-card {
    position: relative;
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 56px rgba(33, 54, 82, 0.12);
}

.member-auth-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #3fd7e8, #2ecf78, #ffd98b);
}

.member-login-card .primary-action {
    border-color: transparent;
    background: linear-gradient(90deg, #47d6e7, #24c871);
    box-shadow: 0 16px 34px rgba(36, 200, 113, 0.24);
}

.member-auth-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-register-summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    border-radius: 8px;
    transition: transform 160ms ease, background 160ms ease;
}

.member-register-summary::-webkit-details-marker {
    display: none;
}

.member-register-summary:focus-visible {
    outline: 3px solid rgba(10, 167, 163, 0.16);
    outline-offset: 5px;
}

.member-register-disclosure:not([open]) .member-register-summary:hover {
    transform: translateY(-1px);
    background: rgba(10, 167, 163, 0.04);
}

.member-register-click-hint {
    display: block;
    margin-top: 5px;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 950;
}

.member-register-action {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(10, 167, 163, 0.24);
    border-radius: 999px;
    background: #eafafa;
    color: #087875;
    font-size: 0.72rem;
    font-weight: 950;
    white-space: nowrap;
}

.member-register-form {
    display: grid;
    gap: 14px;
}

.member-register-chevron {
    width: 15px;
    height: 15px;
    color: currentColor;
    transition: transform 160ms ease, color 160ms ease;
}

.member-register-disclosure[open] .member-register-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.member-register-disclosure:not([open]) {
    cursor: pointer;
}

.member-register-disclosure:not([open]) .member-register-summary h2 {
    margin-bottom: 0;
}

.member-auth-card-header > span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 8px;
    background: #eafafa;
    color: var(--accent);
}

.member-auth-card-header > .member-register-action {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    height: 34px;
    min-height: 34px;
    margin-left: auto;
    padding: 0 12px;
    gap: 7px;
    border-radius: 999px;
    background: #eafafa;
    color: #087875;
    white-space: nowrap;
}

.member-auth-card-header > .member-register-action > span {
    color: #075985;
    font-size: 0.78rem;
}

.member-auth-card-header > .member-register-action .member-register-chevron {
    width: 15px;
    height: 15px;
}

.member-auth-card-header svg {
    width: 21px;
    height: 21px;
}

.member-auth-card h2,
.member-dashboard-hero h2,
.member-section-heading h2,
.member-content-card header strong,
.member-panel h2 {
    margin: 6px 0;
    color: var(--text);
    line-height: 1.05;
}

.member-auth-card label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 900;
}

.member-auth-card input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
    color: var(--text);
    outline: none;
}

.member-input-wrap {
    min-height: 46px;
}

.member-input-wrap {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.member-password-wrap {
    grid-template-columns: 42px minmax(0, 1fr) auto;
}

.member-auth-theme .member-input-wrap {
    border-color: #d4e2f6;
    background: #eef5ff;
}

.member-input-wrap:focus-within {
    border-color: rgba(10, 167, 163, 0.54);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(10, 167, 163, 0.1);
}

.member-input-wrap > svg {
    justify-self: center;
    width: 18px;
    height: 18px;
    color: var(--soft);
}

.member-input-wrap input {
    min-height: 44px;
    padding: 0 13px 0 0;
    border: 0;
    background: transparent;
}

.member-password-toggle {
    align-self: stretch;
    min-width: 86px;
    padding: 0 13px;
    border: 0;
    border-left: 1px solid rgba(135, 146, 162, 0.22);
    background: transparent;
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 900;
    cursor: pointer;
}

.member-password-toggle:hover,
.member-password-toggle:focus-visible {
    background: rgba(36, 87, 197, 0.07);
    color: #1642a0;
    outline: none;
}

.member-login-help {
    display: flex;
    justify-content: flex-end;
    margin-top: -3px;
}

.member-login-help a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #174ca8;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.member-login-help a:hover,
.member-login-help a:focus-visible {
    color: #087875;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.member-login-help svg {
    width: 16px;
    height: 16px;
}

.member-recovery-layout {
    display: grid;
    grid-template-columns: minmax(0, 620px);
    justify-content: center;
}

.member-recovery-card {
    width: 100%;
}

.member-recovery-card .primary-action,
.member-recovery-card .secondary-action {
    width: 100%;
}

.member-recovery-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid rgba(10, 167, 163, 0.18);
    border-radius: 10px;
    background: rgba(234, 250, 250, 0.72);
    color: #436079;
    font-size: 0.84rem;
    line-height: 1.55;
}

.member-recovery-note svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: #087875;
}

.member-recovery-actions {
    display: grid;
    gap: 10px;
}

.member-recovery-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    color: #174ca8;
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
}

.member-recovery-back:hover,
.member-recovery-back:focus-visible {
    color: #087875;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.member-recovery-back svg {
    width: 16px;
    height: 16px;
}

.member-auth-theme .member-auth-card-header {
    justify-content: center;
    text-align: left;
}

.member-auth-theme .member-auth-card-header > span {
    border-color: rgba(36, 87, 197, 0.16);
    background: #eff8ff;
    color: var(--accent);
}

.member-login-card .primary-action,
.member-register-form .secondary-action {
    width: 100%;
}

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

.member-form-grid .full {
    grid-column: 1 / -1;
}

.member-dashboard-block {
    padding-top: 16px;
}

.member-dashboard-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.58fr);
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    overflow: hidden;
    padding: clamp(22px, 3vw, 34px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 250, 250, 0.96) 58%, rgba(239, 246, 255, 0.74) 100%),
        url("../img/hero-church-broadcast-light.png") right center / 46% auto no-repeat,
        linear-gradient(135deg, #ffffff, #eefbfa);
}

.member-dashboard-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold), var(--coral));
}

.member-dashboard-copy,
.member-journey-summary {
    position: relative;
    z-index: 1;
}

.member-dashboard-copy {
    display: grid;
    align-content: center;
    gap: 12px;
}

.member-dashboard-kicker-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center;
}

.member-panel-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(8, 155, 152, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #087a77;
    font-size: 0.76rem;
    font-weight: 950;
}

.member-panel-pill svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
}

.member-dashboard-copy h2 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.18rem);
    line-height: 1.02;
}

.member-name-highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.08em;
    color: #087a77;
    text-shadow: 0 10px 28px rgba(8, 155, 152, 0.18);
}

.member-name-highlight::after {
    content: "";
    position: absolute;
    right: 0.02em;
    bottom: 0.08em;
    left: 0.02em;
    z-index: -1;
    height: 0.28em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(85, 214, 182, 0.38), rgba(215, 154, 40, 0.28));
}

.member-dashboard-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.member-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.member-hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(8, 155, 152, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: #34536b;
    font-size: 0.8rem;
    font-weight: 900;
}

.member-hero-badges svg {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.member-email-delivery-info {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    max-width: 720px;
    margin-top: 2px;
    padding: 10px 12px;
    border: 1px solid rgba(36, 87, 197, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #4c6278;
    font-size: 0.76rem;
    font-weight: 750;
    line-height: 1.5;
    box-shadow: 0 8px 22px rgba(36, 87, 197, 0.06);
}

.member-email-delivery-info > span:first-child {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.2);
    border-radius: 9px;
    background: linear-gradient(145deg, #e8fafa, #ffffff);
    color: var(--accent);
}

.member-email-delivery-info svg {
    width: 16px;
    height: 16px;
}

.member-hero-badges .member-badge-label {
    display: inline-flex;
    align-items: center;
    align-self: center;
    min-height: 34px;
    margin-left: 2px;
    color: #7f5a0f;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.member-hero-badges .member-status-badge {
    gap: 8px;
    min-height: 38px;
    padding: 0 13px 0 7px;
    border-color: rgba(199, 137, 27, 0.38);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 229, 0.96)),
        linear-gradient(90deg, rgba(199, 137, 27, 0.16), rgba(233, 110, 97, 0.08));
    color: #845607;
    box-shadow: 0 12px 28px rgba(199, 137, 27, 0.16);
}

.member-hero-badges .member-status-badge svg {
    width: 26px;
    height: 26px;
    padding: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c7891b, #f0b84a);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(199, 137, 27, 0.24);
}

.member-journey-summary {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    min-width: 0;
    padding-left: 22px;
    border-left: 1px solid rgba(93, 122, 150, 0.18);
}

.member-journey-summary > div:last-child {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.member-journey-summary strong,
.member-quick-card strong,
.member-spotlight-card strong {
    color: var(--text);
    line-height: 1.2;
}

.member-journey-summary span,
.member-quick-card small,
.member-spotlight-card p,
.member-mini-progress small {
    color: var(--muted);
    line-height: 1.55;
}

.member-journey-summary .primary-action {
    justify-self: start;
    min-height: 40px;
}

.member-journey-ring {
    --journey: 0;
    position: relative;
    display: grid;
    width: 106px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--accent) calc(var(--journey) * 1%), rgba(200, 219, 231, 0.72) 0);
    color: var(--blue);
}

.member-journey-ring::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: inherit;
    background: #f8fcff;
    box-shadow: inset 0 0 0 1px rgba(200, 219, 231, 0.82);
}

.member-journey-ring span,
.member-journey-ring small {
    position: relative;
    z-index: 1;
    display: block;
    text-align: center;
}

.member-journey-ring span {
    align-self: end;
    font-size: 1.52rem;
    font-weight: 950;
    line-height: 1;
}

.member-journey-ring small {
    align-self: start;
    max-width: 64px;
    color: var(--muted);
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
}

.member-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 18px;
}

.member-quick-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 92px;
    padding: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.member-quick-card:hover,
.member-quick-card:focus-visible {
    border-color: rgba(8, 155, 152, 0.4);
    box-shadow: 0 20px 48px rgba(33, 54, 82, 0.13);
    outline: none;
    transform: translateY(-2px);
}

.member-quick-icon,
.member-spotlight-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(8, 155, 152, 0.18);
    border-radius: 8px;
    background: #eafafa;
    color: var(--accent);
}

.member-quick-icon svg,
.member-spotlight-icon svg {
    width: 20px;
    height: 20px;
}

.member-quick-card span:last-child {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.member-quick-card small {
    font-size: 0.78rem;
    font-weight: 850;
}

.member-spotlight-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) minmax(0, 0.9fr);
    gap: 14px;
    margin: 0 0 18px;
}

.member-spotlight-card {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 240px;
    padding: 18px;
}

.member-spotlight-card header {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.member-spotlight-card h3 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.18;
}

.member-spotlight-card > strong {
    font-size: 1.28rem;
}

.member-spotlight-card p {
    margin: 0;
}

.member-spotlight-card .primary-action,
.member-spotlight-card .secondary-action {
    align-self: end;
    justify-self: start;
    margin-top: auto;
}

.member-spotlight-primary {
    border-color: rgba(8, 155, 152, 0.34);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(234, 250, 250, 0.96)),
        linear-gradient(90deg, rgba(8, 155, 152, 0.1), rgba(36, 95, 189, 0.08));
}

.member-spotlight-icon.is-gold {
    border-color: rgba(199, 137, 27, 0.22);
    background: #fff6e6;
    color: var(--gold);
}

.member-spotlight-icon.is-coral {
    border-color: rgba(216, 102, 92, 0.22);
    background: #fff3f1;
    color: var(--coral);
}

.member-mini-progress {
    display: grid;
    gap: 7px;
}

.member-mini-progress > span {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #dfeaf1;
}

.member-mini-progress b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.member-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.member-stat-grid article {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 5px 12px;
    align-items: start;
    min-height: 118px;
    padding: 18px;
}

.member-stat-icon {
    grid-row: 1 / 3;
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 8px;
    background: #edf5fb;
    color: var(--blue);
}

.member-stat-grid strong {
    display: block;
    grid-column: 2;
    color: var(--blue);
    font-size: 2.35rem;
    line-height: 1;
}

.member-stat-grid span {
    display: block;
    grid-column: 2;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 900;
}

.member-dashboard-actions {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 32px;
}

.member-section-heading {
    margin: 28px 0 16px;
}

.member-individual-preview-block {
    position: relative;
    overflow: hidden;
    margin: 28px 0 32px;
    padding: clamp(18px, 2.4vw, 28px);
    border: 1px solid rgba(116, 151, 184, 0.28);
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(36, 87, 197, 0.09), transparent 34%),
        radial-gradient(circle at 0 100%, rgba(10, 167, 163, 0.08), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 252, 0.96));
    box-shadow:
        0 22px 52px rgba(33, 54, 82, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    isolation: isolate;
}

.member-individual-preview-block::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.member-individual-preview-block::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -110px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(36, 87, 197, 0.05);
    filter: blur(2px);
    pointer-events: none;
}

.member-individual-preview-block > * {
    position: relative;
    z-index: 2;
}

.member-individual-preview-block .member-section-heading {
    margin: 0 0 20px;
}

.member-individual-preview-block .member-individual-grid {
    margin-bottom: 18px;
}

.member-individual-preview-block .member-individual-more {
    margin: 0;
}

.member-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.member-courses-page-block {
    padding-top: 30px;
}

.member-courses-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(250, 253, 255, 0.98), rgba(235, 247, 248, 0.95)),
        url("../img/hero-church-broadcast-light.png") right center / 34% auto no-repeat;
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.1);
}

.member-courses-hero.member-individual-contents-hero {
    grid-template-columns: minmax(0, 1fr) minmax(480px, 540px);
    align-items: center;
}

.member-courses-hero h1 {
    margin: 4px 0 8px;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1;
}

.member-individual-contents-hero h1 {
    font-size: clamp(1.75rem, 2.5vw, 2.15rem);
    white-space: nowrap;
}

.member-courses-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.member-courses-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(78px, 1fr));
    gap: 8px;
    min-width: min(460px, 100%);
}

.member-courses-summary span {
    display: grid;
    gap: 3px;
    min-height: 74px;
    align-content: center;
    padding: 10px;
    border: 1px solid rgba(93, 122, 150, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
}

.member-courses-summary strong {
    color: var(--blue);
    font-size: 1.5rem;
    line-height: 1;
}

.member-courses-summary small {
    color: var(--soft);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.member-courses-summary.member-individual-contents-summary {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    justify-self: end;
    width: min(100%, 540px);
}

.member-courses-page-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.member-courses-page-grid .member-course-card {
    grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
    gap: 22px;
    align-items: start;
    padding: 22px;
}

.member-course-overview {
    display: grid;
    gap: 14px;
    min-width: 0;
    align-content: start;
    padding-right: 22px;
    border-right: 1px solid rgba(93, 122, 150, 0.16);
}

.member-course-overview > p {
    margin: 0;
}

.member-course-completion-summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(33, 141, 99, 0.24);
    border-radius: 11px;
    background:
        radial-gradient(circle at 100% 0, rgba(215, 154, 40, 0.12), transparent 38%),
        linear-gradient(135deg, #f4fcf7, #ecf9f2);
    box-shadow: 0 8px 20px rgba(33, 141, 99, 0.08);
}

.member-course-completion-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(33, 141, 99, 0.24);
    border-radius: 10px;
    background: #ffffff;
    color: var(--green);
}

.member-course-completion-icon svg {
    width: 21px;
    height: 21px;
}

.member-course-completion-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.member-course-completion-copy strong {
    color: #16734f;
    font-size: 0.84rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-course-completion-copy span {
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 900;
}

.member-course-completion-copy small {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 750;
    line-height: 1.4;
}

.member-course-completion-summary .member-course-certificate-link,
.member-course-completion-summary .member-complete-chip {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
    justify-content: center;
}

.member-course-lessons-column {
    display: grid;
    gap: 10px;
    min-width: 0;
}

.member-course-lessons-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 34px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(93, 122, 150, 0.14);
}

.member-course-lessons-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 950;
}

.member-course-lessons-title span svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.member-course-lessons-title small {
    color: var(--soft);
    font-size: 0.72rem;
    font-weight: 850;
}

.member-courses-page-grid .member-course-actions {
    align-self: center;
}

@media (max-width: 900px) {
    .member-courses-page-grid .member-course-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .member-course-overview {
        padding-right: 0;
        padding-bottom: 18px;
        border-right: 0;
        border-bottom: 1px solid rgba(93, 122, 150, 0.16);
    }

}

.member-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.member-contents-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.member-course-card {
    position: relative;
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 20px;
}

.member-course-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #dce8ef;
}

.member-course-card.is-active::before {
    background: linear-gradient(90deg, var(--accent), var(--blue));
}

.member-course-card.is-complete::before {
    background: linear-gradient(90deg, var(--green), var(--gold));
}

.member-content-card {
    display: grid;
    gap: 14px;
    overflow: hidden;
    padding: 18px;
}

.member-contents-page-grid .member-content-card {
    position: relative;
    display: flex;
    align-content: initial;
    gap: 0;
    min-height: 0;
    flex-direction: column;
    padding: 0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(33, 54, 82, 0.1);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-content-card.is-featured {
    border-color: rgba(215, 154, 40, 0.7);
    background:
        linear-gradient(135deg, #ffffff, #fff8e8),
        linear-gradient(90deg, rgba(215, 154, 40, 0.12), rgba(10, 167, 163, 0.08));
    box-shadow:
        0 18px 38px rgba(142, 101, 28, 0.16),
        inset 0 0 0 1px rgba(215, 154, 40, 0.14);
}

.member-individual-card.is-important {
    border-color: rgba(36, 95, 189, 0.42);
    background:
        linear-gradient(135deg, #ffffff, #f2f7ff),
        linear-gradient(90deg, rgba(36, 95, 189, 0.1), rgba(10, 167, 163, 0.08));
    box-shadow:
        0 18px 42px rgba(36, 95, 189, 0.14),
        inset 0 0 0 1px rgba(36, 95, 189, 0.12);
}

.member-individual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.member-individual-more {
    display: flex;
    justify-content: flex-end;
    margin: -10px 0 32px;
}

.member-individual-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
}

.member-individual-pagination p {
    margin: 0;
    color: var(--muted);
    font-weight: 850;
}

.member-individual-card {
    position: relative;
    align-content: start;
    gap: 16px;
    min-height: 100%;
    padding: 22px;
    border-color: rgba(116, 151, 184, 0.28);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0, rgba(36, 87, 197, 0.08), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 36px rgba(33, 54, 82, 0.09);
    isolation: isolate;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-individual-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--blue));
}

.member-individual-card.is-important::before {
    background: linear-gradient(90deg, var(--gold), #f2bb55, var(--blue));
}

.member-individual-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.member-individual-icon {
    display: grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 14px;
    background: linear-gradient(145deg, #eaf2ff, #f5f9ff);
    color: var(--blue);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.member-individual-icon svg {
    width: 21px;
    height: 21px;
}

.member-individual-card.is-important .member-individual-icon {
    border-color: rgba(215, 154, 40, 0.24);
    background: linear-gradient(145deg, #fff2d5, #fffaf0);
    color: #a96d08;
}

.member-individual-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.member-private-badge,
.member-individual-card .member-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    min-height: 29px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 950;
    letter-spacing: 0.025em;
    line-height: 1;
    text-transform: uppercase;
}

.member-private-badge {
    border: 1px solid rgba(10, 167, 163, 0.18);
    background: #ebf9f8;
    color: #087875;
}

.member-private-badge svg,
.member-individual-card .member-featured-badge svg {
    width: 13px;
    height: 13px;
}

.member-individual-card .member-featured-badge {
    min-height: 29px;
    padding: 0 9px;
    border-color: rgba(215, 154, 40, 0.28);
    background: #fff3d9;
    color: #936006;
    font-size: 0.69rem;
}

.member-individual-header {
    display: grid;
    gap: 6px;
}

.member-individual-card .member-individual-header > span {
    color: var(--blue);
    font-size: 0.7rem;
    letter-spacing: 0.07em;
}

.member-individual-card .member-individual-header strong {
    margin: 0;
    font-size: clamp(1.16rem, 2vw, 1.38rem);
    line-height: 1.2;
}

.member-individual-card .member-individual-description {
    margin: 0;
    color: #5a718a;
    font-size: 0.94rem;
    line-height: 1.62;
}

.member-content-cover {
    width: calc(100% + 36px);
    height: 150px;
    margin: -18px -18px 2px;
    object-fit: cover;
    background: #eaf1f7;
}

.member-contents-page-grid .member-content-cover {
    width: 100%;
    height: 100%;
    margin: 0;
}

.member-content-cover-wrap {
    position: relative;
    flex: 0 0 auto;
    height: 190px;
    overflow: hidden;
    border-bottom: 1px solid rgba(116, 151, 184, 0.16);
    background: #e8f0f6;
}

.member-content-cover-wrap::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(19, 40, 68, 0.2));
    pointer-events: none;
}

.member-content-cover-wrap.is-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 80% 12%, rgba(36, 87, 197, 0.2), transparent 30%),
        linear-gradient(135deg, #e9f7f6, #e8effc);
}

.member-content-cover-placeholder {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--blue);
    box-shadow: 0 14px 30px rgba(36, 87, 197, 0.12);
}

.member-content-cover-placeholder svg {
    width: 30px;
    height: 30px;
}

.member-contents-page-grid .member-content-cover-wrap .member-featured-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    min-height: 30px;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 247, 226, 0.94);
    box-shadow: 0 8px 18px rgba(80, 52, 10, 0.14);
    backdrop-filter: blur(8px);
}

.member-content-card-inner {
    display: flex;
    flex: 1;
    gap: 11px;
    padding: 17px;
    flex-direction: column;
}

.member-content-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.member-content-type {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 8px;
    border: 1px solid rgba(10, 167, 163, 0.18);
    border-radius: 999px;
    background: #edfafa;
    color: #087875;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-featured-badge {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 7px;
    width: fit-content;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(215, 154, 40, 0.34);
    border-radius: 999px;
    background: #fff4dc;
    color: #9a6508;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-contents-page-grid .member-featured-badge {
    min-height: 26px;
    padding: 0 8px;
    font-size: 0.68rem;
}

.member-contents-page-grid .member-featured-badge svg {
    width: 13px;
    height: 13px;
}

.member-featured-badge svg {
    width: 15px;
    height: 15px;
}

.member-course-card header {
    display: grid;
    gap: 7px;
}

.member-course-card header > span,
.member-content-card header > span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.member-course-card header strong,
.member-content-card header strong {
    font-size: 1.35rem;
    line-height: 1.16;
}

.member-contents-page-grid .member-content-card header {
    display: grid;
    gap: 3px;
}

.member-contents-page-grid .member-content-card header strong {
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.25;
}

.member-contents-page-grid .member-content-card header small {
    font-size: 0.76rem;
}

.member-content-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: #71869a;
    font-size: 0.74rem;
    font-weight: 850;
    white-space: nowrap;
}

.member-content-category svg {
    width: 13px;
    height: 13px;
}

.member-course-card header small,
.member-content-card header small {
    color: var(--soft);
    font-weight: 850;
}

.member-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.member-course-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 31px;
    padding: 0 9px;
    border: 1px solid rgba(93, 122, 150, 0.16);
    border-radius: 999px;
    background: #f4f8fb;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.member-course-meta span.is-started {
    border-color: rgba(10, 167, 163, 0.24);
    background: #eafbfa;
    color: #087875;
}

.member-course-meta span.is-completed-date {
    border-color: rgba(33, 141, 99, 0.22);
    background: #ecfbf3;
    color: var(--green);
}

.member-course-meta svg {
    width: 14px;
    height: 14px;
    color: var(--blue);
}

.member-content-card .secondary-action {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.member-content-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
}

.member-content-actions .secondary-action {
    margin-top: 0;
}

.member-content-actions .member-content-download-action {
    border-color: rgba(10, 167, 163, 0.28);
    background: #e8fbf8;
    color: #087f7c;
}

.member-individual-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: auto;
}

.member-individual-actions .secondary-action {
    min-height: 46px;
    margin-top: 0;
    border-color: rgba(36, 87, 197, 0.18);
    border-radius: 11px;
    background: #eef4ff;
    color: #204fae;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.member-individual-actions .secondary-action svg,
.member-individual-ack .ghost-action svg {
    width: 18px;
    height: 18px;
}

.member-individual-ack {
    margin: 0;
}

.member-individual-ack .ghost-action {
    width: 100%;
    min-height: 46px;
    justify-content: center;
    border-color: #ad4905;
    border-radius: 11px;
    background: linear-gradient(135deg, #d96d0b, #b94f06);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(185, 79, 6, 0.2);
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.member-read-confirmed {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(33, 141, 99, 0.22);
    border-radius: 999px;
    background: #ecfbf3;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 950;
}

.member-read-confirmed svg {
    width: 16px;
    height: 16px;
}

.member-content-body {
    max-height: 210px;
    overflow: auto;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fbfd;
}

.member-individual-card .member-content-body {
    max-height: 230px;
    padding: 14px;
    border-color: rgba(116, 151, 184, 0.24);
    border-radius: 12px;
    background: rgba(244, 248, 252, 0.86);
    color: #536b84;
    scrollbar-color: rgba(36, 87, 197, 0.3) transparent;
    scrollbar-width: thin;
}

@media (hover: hover) {
    .member-individual-card:hover {
        border-color: rgba(36, 87, 197, 0.32);
        box-shadow: 0 20px 46px rgba(33, 54, 82, 0.14);
        transform: translateY(-3px);
    }

    .member-individual-actions .secondary-action:hover {
        border-color: rgba(36, 87, 197, 0.34);
        background: #e2edff;
        color: #173f93;
        transform: translateY(-1px);
    }

    .member-individual-ack .ghost-action:hover {
        border-color: #923d04;
        background: linear-gradient(135deg, #c85d06, #9f4003);
        color: #ffffff;
        transform: translateY(-1px);
    }
}

.member-individual-actions .secondary-action:focus-visible,
.member-individual-ack .ghost-action:focus-visible {
    outline: 3px solid rgba(217, 109, 11, 0.3);
    outline-offset: 3px;
}

.member-contents-page-grid .member-content-card-inner > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.member-contents-page-grid .member-content-body {
    max-height: none;
    overflow: visible;
    padding: 11px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.member-contents-page-grid .member-content-body p {
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
}

.member-article-details {
    overflow: hidden;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 11px;
    background: #f8fbff;
}

.member-article-details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 0 13px;
    color: #204fae;
    font-size: 0.85rem;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.member-article-details > summary::-webkit-details-marker {
    display: none;
}

.member-article-details > summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.member-article-details > summary svg {
    width: 17px;
    height: 17px;
}

.member-article-details > summary > svg:last-child {
    transition: transform 180ms ease;
}

.member-article-details[open] > summary {
    border-bottom: 1px solid rgba(36, 87, 197, 0.14);
    background: #eef4ff;
}

.member-article-details[open] > summary > svg:last-child {
    transform: rotate(180deg);
}

.member-article-details .member-content-body {
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.member-contents-page-grid .secondary-action {
    min-height: 42px;
    margin-top: auto;
    padding: 0 13px;
    border-color: rgba(36, 87, 197, 0.18);
    border-radius: 10px;
    background: #eef4ff;
    color: #204fae;
    font-size: 0.84rem;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.member-contents-page-grid .member-content-download-action {
    border-color: rgba(10, 167, 163, 0.3);
    background: #e8fbf8;
    color: #087f7c;
}

@media (hover: hover) {
    .member-contents-page-grid .member-content-card:hover {
        border-color: rgba(36, 87, 197, 0.28);
        box-shadow: 0 22px 46px rgba(33, 54, 82, 0.15);
        transform: translateY(-4px);
    }

    .member-contents-page-grid .member-content-card:hover .member-content-cover {
        transform: scale(1.035);
    }

    .member-contents-page-grid .secondary-action:hover {
        border-color: rgba(36, 87, 197, 0.32);
        background: #e1ecff;
        transform: translateY(-1px);
    }

    .member-contents-page-grid .member-content-download-action:hover {
        border-color: rgba(8, 127, 124, 0.42);
        background: #d8f7f3;
    }
}

.member-contents-page-grid .member-content-cover {
    transition: transform 280ms ease;
}

.member-content-body > *:first-child {
    margin-top: 0;
}

.member-content-body > *:last-child {
    margin-bottom: 0;
}

.member-content-body h1,
.member-content-body h2,
.member-content-body h3,
.member-content-body h4 {
    margin: 0.9rem 0 0.45rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.2;
}

.member-content-body p,
.member-content-body ul,
.member-content-body ol,
.member-content-body blockquote {
    margin: 0.65rem 0;
}

.member-content-body ul,
.member-content-body ol {
    padding-left: 1.2rem;
}

.member-content-body a {
    color: var(--blue);
    font-weight: 850;
}

.member-content-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.85rem auto;
    border-radius: 8px;
}

.member-content-body blockquote {
    padding-left: 0.9rem;
    border-left: 3px solid var(--accent);
    color: var(--text);
}

.member-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.member-progress > span {
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2eaf1;
}

.member-progress b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--blue), var(--gold));
}

.member-progress strong {
    color: var(--blue);
}

.member-course-start-form {
    margin: 0;
}

.member-start-course-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(232, 151, 43, 0.34);
    border-radius: 8px;
    background: linear-gradient(135deg, #f29b22, #f6c44f);
    color: #3c2500;
    font-size: 0.92rem;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(232, 151, 43, 0.24);
}

.member-start-course-button:hover,
.member-start-course-button:focus-visible {
    border-color: rgba(233, 110, 97, 0.36);
    background: linear-gradient(135deg, #e96e61, #f2a12a);
    color: #ffffff;
}

.member-start-course-button svg {
    width: 18px;
    height: 18px;
}

.member-lesson-list {
    display: grid;
    gap: 7px;
    counter-reset: member-lesson;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    line-height: 1.5;
}

.member-lesson-list li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    min-width: 0;
    counter-increment: member-lesson;
}

.member-lesson-main,
.member-lesson-list summary span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.member-lesson-main > span,
.member-lesson-list summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid rgba(36, 87, 197, 0.2);
    border-radius: 12px;
    background:
        radial-gradient(circle at 100% 0, rgba(36, 87, 197, 0.08), transparent 34%),
        linear-gradient(135deg, #ffffff, #f2f7fc);
    color: #2f4d69;
    font-size: 0.98rem;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(33, 54, 82, 0.07);
}

.member-lesson-main > span::before,
.member-lesson-list summary::before {
    content: counter(member-lesson);
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #2457c5, #3978df);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 950;
    box-shadow: 0 7px 15px rgba(36, 87, 197, 0.2);
}

.member-lesson-list li.is-complete .member-lesson-main > span,
.member-lesson-list li.is-complete summary {
    border-color: rgba(33, 141, 99, 0.22);
    background: #f0fbf4;
    color: var(--text);
}

.member-lesson-list li.is-complete .member-lesson-main > span::before,
.member-lesson-list li.is-complete summary::before {
    background: linear-gradient(135deg, #218d63, #38aa7c);
    color: #ffffff;
    box-shadow: 0 7px 15px rgba(33, 141, 99, 0.18);
}

.member-lesson-list details {
    display: grid;
    min-width: 0;
}

.member-lesson-list summary {
    cursor: pointer;
    list-style: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-lesson-list summary > span {
    color: var(--text);
    font-weight: 950;
    line-height: 1.25;
}

.member-lesson-list summary::-webkit-details-marker {
    display: none;
}

.member-lesson-list summary .member-lesson-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 102px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(10, 167, 163, 0.3);
    border-radius: 999px;
    background: linear-gradient(135deg, #edfbfa, #dcf6f4);
    color: #087c79;
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
    box-shadow: 0 5px 12px rgba(10, 126, 122, 0.08);
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.member-lesson-toggle svg {
    width: 15px;
    height: 15px;
    transition: transform 180ms ease;
}

.member-lesson-toggle-close {
    display: none;
}

@media (hover: hover) {
    .member-lesson-list summary:hover {
        border-color: rgba(10, 167, 163, 0.42);
        background:
            radial-gradient(circle at 100% 0, rgba(10, 167, 163, 0.1), transparent 34%),
            linear-gradient(135deg, #ffffff, #edfafa);
        box-shadow: 0 12px 24px rgba(10, 126, 122, 0.11);
        transform: translateY(-1px);
    }
}

.member-lesson-list summary:focus-visible {
    outline: 3px solid rgba(10, 167, 163, 0.17);
    outline-offset: 2px;
}

.member-lesson-list details[open] summary {
    border-color: rgba(10, 167, 163, 0.5);
    background:
        radial-gradient(circle at 100% 0, rgba(10, 167, 163, 0.13), transparent 36%),
        linear-gradient(135deg, #faffff, #e9f9f8);
    color: var(--text);
    box-shadow: 0 12px 26px rgba(10, 126, 122, 0.12);
}

.member-lesson-list details[open] .member-lesson-toggle {
    border-color: rgba(36, 87, 197, 0.3);
    background: linear-gradient(135deg, #edf3ff, #dfeaff);
    color: #2457c5;
}

.member-lesson-list details[open] .member-lesson-toggle-open {
    display: none;
}

.member-lesson-list details[open] .member-lesson-toggle-close {
    display: inline;
}

.member-lesson-list details[open] .member-lesson-toggle svg {
    transform: rotate(180deg);
}

@media (max-width: 560px) {
    .member-lesson-main > span,
    .member-lesson-list summary {
        gap: 9px;
        min-height: 54px;
        padding: 9px;
    }

    .member-lesson-main > span::before,
    .member-lesson-list summary::before {
        width: 30px;
        height: 30px;
        border-radius: 8px;
    }

    .member-lesson-list summary .member-lesson-toggle {
        min-width: 88px;
        min-height: 32px;
        padding: 0 8px;
        font-size: 0.65rem;
    }
}

.member-lesson-content {
    display: grid;
    gap: 18px;
    min-width: 0;
    max-width: 100%;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
    margin-top: 7px;
    padding: 10px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.member-lesson-editor-area {
    display: grid;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(33, 54, 82, 0.06);
}

.member-lesson-editor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 46px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(10, 167, 163, 0.16);
    background: linear-gradient(135deg, #f9fefe, #edfafa);
}

.member-lesson-editor-heading span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 950;
}

.member-lesson-editor-heading span svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.member-lesson-editor-heading small {
    color: var(--soft);
    font-size: 0.7rem;
    font-weight: 800;
}

.member-lesson-editor-scroll {
    min-width: 0;
    max-width: 100%;
    max-height: min(64vh, 620px);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 18px;
}

.member-lesson-editor-scroll::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

.member-lesson-editor-scroll::-webkit-scrollbar-thumb {
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: rgba(93, 122, 150, 0.38);
}

.member-lesson-editor-scroll::-webkit-scrollbar-track {
    background: #f3f8fa;
}

.member-lesson-rich-text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
}

.member-lesson-rich-text > * {
    max-width: 100%;
}

.member-lesson-rich-text > *:first-child {
    margin-top: 0;
}

.member-lesson-rich-text > *:last-child {
    margin-bottom: 0;
}

.member-lesson-rich-text p,
.member-lesson-rich-text ul,
.member-lesson-rich-text ol,
.member-lesson-rich-text blockquote {
    margin: 0 0 0.75em;
}

.member-lesson-rich-text ul,
.member-lesson-rich-text ol {
    padding-left: 1.4rem;
}

.member-lesson-rich-text li + li {
    margin-top: 0.3em;
}

.member-lesson-rich-text h1,
.member-lesson-rich-text h2,
.member-lesson-rich-text h3,
.member-lesson-rich-text h4,
.member-lesson-rich-text h5,
.member-lesson-rich-text h6 {
    margin: 1em 0 0.45em;
    color: var(--text);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.member-lesson-rich-text h1 {
    font-size: 1.45rem;
}

.member-lesson-rich-text h2 {
    font-size: 1.25rem;
}

.member-lesson-rich-text h3,
.member-lesson-rich-text h4,
.member-lesson-rich-text h5,
.member-lesson-rich-text h6 {
    font-size: 1.05rem;
}

.member-lesson-rich-text a {
    color: var(--blue);
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 2px;
    overflow-wrap: anywhere;
}

.member-lesson-rich-text img {
    display: block;
    max-width: 100% !important;
    height: auto !important;
    margin: 12px auto;
    border-radius: 8px;
}

.member-lesson-rich-text blockquote {
    padding: 10px 12px;
    border-left: 3px solid rgba(10, 167, 163, 0.45);
    border-radius: 0 7px 7px 0;
    background: #f2fbfb;
}

.member-lesson-rich-text hr {
    height: 1px;
    margin: 1.15rem 0;
    border: 0;
    background: rgba(93, 122, 150, 0.2);
}

.member-lesson-rich-text pre {
    max-width: 100%;
    overflow: auto;
    margin: 0 0 0.85em;
    padding: 12px 14px;
    border: 1px solid rgba(36, 87, 197, 0.16);
    border-radius: 8px;
    background: #172433;
    color: #eef7ff;
    font: 0.82rem/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    white-space: pre;
    tab-size: 4;
}

.member-lesson-rich-text code {
    padding: 0.12em 0.35em;
    border-radius: 4px;
    background: rgba(36, 87, 197, 0.09);
    color: #234f9f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
}

.member-lesson-rich-text pre code {
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    white-space: inherit;
}

.member-lesson-rich-text table {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    margin: 0 0 0.9em;
    border: 1px solid rgba(93, 122, 150, 0.2);
    border-collapse: collapse;
    border-radius: 8px;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.member-lesson-rich-text th,
.member-lesson-rich-text td {
    min-width: 120px;
    padding: 9px 11px;
    border: 1px solid rgba(93, 122, 150, 0.18);
    color: var(--muted);
    text-align: left;
    vertical-align: top;
    white-space: normal;
    overflow-wrap: anywhere;
}

.member-lesson-rich-text th {
    background: #eff6fb;
    color: var(--text);
    font-weight: 900;
}

.member-lesson-rich-text tbody tr:nth-child(even) td {
    background: #f9fcfd;
}

.member-lesson-attachments {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(36, 87, 197, 0.15);
    border-radius: 10px;
    background: linear-gradient(135deg, #f7fbfe, #eef7fa);
}

.member-lesson-attachments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(93, 122, 150, 0.16);
}

.member-lesson-attachments-heading span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    font-size: 0.84rem;
    font-weight: 950;
}

.member-lesson-attachments-heading span svg {
    width: 16px;
    height: 16px;
    color: var(--blue);
}

.member-lesson-attachments-heading small {
    color: var(--soft);
    font-size: 0.7rem;
    font-weight: 800;
}

@media (max-width: 620px) {
    .member-lesson-editor-heading,
    .member-lesson-attachments-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .member-lesson-editor-scroll {
        max-height: min(68vh, 540px);
        padding: 14px;
    }

    .member-lesson-resource-links {
        grid-template-columns: minmax(0, 1fr);
    }
}

.member-lesson-video {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 9px;
    background: #101923;
    box-shadow: 0 12px 28px rgba(33, 54, 82, 0.13);
}

.member-lesson-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.member-lesson-resource-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 8px;
}

.member-lesson-resource-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    min-width: 0;
    padding: 10px;
    border: 1px solid rgba(93, 122, 150, 0.16);
    border-radius: 8px;
    background: #f8fbfd;
    color: var(--text);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.member-lesson-resource-link > svg:first-child {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 8px;
    background: #e9f1ff;
    color: var(--blue);
}

.member-lesson-resource-link > svg:last-child {
    width: 17px;
    height: 17px;
    color: var(--soft);
}

.member-lesson-resource-link span,
.member-lesson-resource-link strong,
.member-lesson-resource-link small {
    display: block;
    min-width: 0;
}

.member-lesson-resource-link strong {
    color: var(--text);
    font-size: 0.82rem;
}

.member-lesson-resource-link small {
    margin-top: 2px;
    color: var(--soft);
    font-size: 0.68rem;
    font-weight: 750;
}

.member-lesson-resource-link.is-pdf > svg:first-child {
    background: #fff0f2;
    color: #c03a54;
}

.member-lesson-resource-link.is-download > svg:first-child {
    background: #eaf8f1;
    color: #218d63;
}

@media (hover: hover) {
    .member-lesson-resource-link:hover {
        border-color: rgba(10, 167, 163, 0.3);
        background: #f0fbfb;
        transform: translateY(-1px);
    }
}

.member-lesson-actions {
    display: flex;
    justify-content: stretch;
}

.member-lesson-actions form {
    width: 100%;
    margin: 0;
}

.member-lesson-complete-button,
.member-lesson-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 13px;
    border-radius: 11px;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
}

.member-lesson-complete-button {
    width: 100%;
    border: 1px solid rgba(93, 122, 150, 0.24);
    background:
        radial-gradient(circle at 100% 0, rgba(93, 122, 150, 0.1), transparent 36%),
        linear-gradient(135deg, #fafcfd, #edf2f6);
    color: #4f6579;
    box-shadow: 0 7px 16px rgba(62, 83, 105, 0.08);
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-lesson-complete-button:hover,
.member-lesson-complete-button:focus-visible {
    border-color: rgba(74, 104, 134, 0.4);
    background:
        radial-gradient(circle at 100% 0, rgba(93, 122, 150, 0.14), transparent 36%),
        linear-gradient(135deg, #f7fafc, #e4ebf1);
    color: #334e67;
    box-shadow: 0 10px 21px rgba(62, 83, 105, 0.13);
    transform: translateY(-1px);
}

.member-lesson-complete-button:focus-visible {
    outline: 3px solid rgba(93, 122, 150, 0.16);
    outline-offset: 2px;
}

.member-lesson-complete-button svg {
    color: #657f97;
}

.member-lesson-complete-button svg,
.member-lesson-done svg {
    width: 15px;
    height: 15px;
}

.member-lesson-done {
    width: 100%;
    min-height: 38px;
    border: 1px solid rgba(33, 141, 99, 0.22);
    background: #ecfbf3;
    color: var(--green);
}

.member-course-actions,
.certificate-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.member-complete-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    color: var(--green);
    font-weight: 950;
}

.member-started-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(10, 167, 163, 0.25);
    border-radius: 999px;
    background: #eafbfa;
    color: #087875;
    font-size: 0.86rem;
    font-weight: 950;
}

.member-started-chip svg {
    width: 16px;
    height: 16px;
}

.member-portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 22px;
    align-items: start;
}

.member-panel {
    padding: 20px;
}

.member-panel header {
    margin-bottom: 14px;
}

.certificate-list {
    display: grid;
    gap: 10px;
}

.certificate-list a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.certificate-list svg {
    color: var(--gold);
}

.certificate-list strong,
.certificate-list small {
    display: block;
}

.certificate-list small {
    color: var(--muted);
}

.member-certificate-dashboard-summary {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(215, 154, 40, 0.24);
    border-radius: 8px;
    background: #fffaf0;
}

.member-certificate-dashboard-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 8px;
    background: #fff0c9;
    color: #a66b08;
}

.member-certificate-dashboard-summary strong,
.member-certificate-dashboard-summary small {
    display: block;
}

.member-certificate-dashboard-summary strong {
    color: var(--text);
    font-size: 0.9rem;
}

.member-certificate-dashboard-summary small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.4;
}

.member-certificate-dashboard-link {
    width: 100%;
    min-height: 42px;
}

.member-certificates-hero {
    background:
        linear-gradient(90deg, rgba(255, 253, 247, 0.98), rgba(241, 249, 251, 0.96)),
        url("../img/hero-church-broadcast-light.png") right center / 34% auto no-repeat;
}

.member-certificates-summary {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    min-width: min(300px, 100%);
}

.member-certificates-summary span:last-child strong {
    font-size: 1rem;
    line-height: 1.15;
}

.member-certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.member-certificate-card {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 14px;
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(205, 219, 232, 0.94);
    border-radius: 10px;
    background: linear-gradient(160deg, #ffffff 0%, #fbfdff 68%, #fffaf0 100%);
    box-shadow: 0 16px 36px rgba(33, 54, 82, 0.08);
}

.member-certificate-card > header {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.member-certificate-seal {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(215, 154, 40, 0.28);
    border-radius: 10px;
    background: linear-gradient(145deg, #fff6d9, #ffebbc);
    color: #9c6509;
    box-shadow: 0 8px 18px rgba(215, 154, 40, 0.12);
}

.member-certificate-seal svg {
    width: 27px;
    height: 27px;
}

.member-certificate-card header div > span {
    color: #9c6509;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.member-certificate-card h2 {
    margin: 4px 0 0;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.25;
}

.member-certificate-meta {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
}

.member-certificate-meta > span {
    display: grid;
    grid-template-columns: 21px minmax(82px, 0.72fr) minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    min-width: 0;
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.94);
}

.member-certificate-meta svg {
    width: 17px;
    color: var(--blue);
}

.member-certificate-meta small {
    color: var(--soft);
    font-size: 0.69rem;
    font-weight: 850;
}

.member-certificate-meta strong {
    overflow: hidden;
    color: var(--text);
    font-size: 0.74rem;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-certificate-code {
    align-self: end;
    min-width: 0;
    padding: 11px;
    border: 1px dashed rgba(36, 87, 197, 0.26);
    border-radius: 8px;
    background: #f4f8ff;
}

.member-certificate-code span,
.member-certificate-code strong {
    display: block;
}

.member-certificate-code span {
    color: var(--soft);
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.member-certificate-code strong {
    overflow-wrap: anywhere;
    margin-top: 4px;
    color: var(--blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
}

.member-certificate-card > footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.member-certificate-card > footer .primary-action,
.member-certificate-card > footer .secondary-action {
    min-width: 0;
    min-height: 41px;
    padding-inline: 10px;
    font-size: 0.78rem;
}

.member-certificate-card > footer .primary-action {
    min-height: 46px;
    border-color: rgba(27, 99, 184, 0.28);
    border-radius: 9px;
    background: linear-gradient(135deg, #2457c5 0%, #0aa7a3 100%);
    font-size: 0.82rem;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 24px rgba(25, 91, 174, 0.22);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.member-certificate-card > footer .primary-action svg {
    width: 20px;
    height: 20px;
    padding: 2px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.16);
    stroke-width: 2.4;
}

.member-certificate-card > footer .primary-action:focus-visible {
    outline: 3px solid rgba(36, 87, 197, 0.2);
    outline-offset: 2px;
}

@media (hover: hover) {
    .member-certificate-card > footer .primary-action:hover {
        filter: saturate(1.08) brightness(1.04);
        box-shadow: 0 16px 30px rgba(25, 91, 174, 0.3);
        transform: translateY(-2px);
    }
}

.member-certificates-empty {
    display: grid;
    justify-items: center;
    max-width: 680px;
    margin: 0 auto;
    padding: 44px 24px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: linear-gradient(155deg, #ffffff, #f6fafc);
    text-align: center;
    box-shadow: 0 16px 36px rgba(33, 54, 82, 0.07);
}

.member-certificates-empty > span {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 18px;
    background: #fff2ca;
    color: #a66b08;
}

.member-certificates-empty > span svg {
    width: 34px;
    height: 34px;
}

.member-certificates-empty h2 {
    margin: 18px 0 7px;
}

.member-certificates-empty p {
    max-width: 480px;
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.55;
}

@media (max-width: 1120px) {
    .member-certificates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .member-certificates-grid,
    .member-certificate-card > footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .member-certificates-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .member-certificates-summary span {
        min-width: 0;
    }
}

.certificate-page .section-block {
    padding-top: clamp(20px, 3vw, 34px);
}

.certificate-actions {
    justify-content: center;
    margin-top: 16px;
}

.certificate-sheet {
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(14px, 3vw, 28px);
    border: 1px solid rgba(38, 60, 82, 0.14);
    border-radius: 12px;
    background: linear-gradient(145deg, #eef3f6, #dfe8ee);
    box-shadow: 0 26px 70px rgba(33, 54, 82, 0.16);
}

.certificate-border {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 10px;
    min-height: 680px;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px) clamp(24px, 6vw, 72px);
    border: 1px solid rgba(174, 124, 31, 0.62);
    border-radius: 6px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(10, 167, 163, 0.055), transparent 34%),
        linear-gradient(135deg, rgba(215, 154, 40, 0.09), transparent 28%),
        linear-gradient(315deg, rgba(10, 167, 163, 0.08), transparent 30%),
        #fffefb;
    color: #203246;
}

.certificate-border::before {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(10, 126, 122, 0.38);
    border-radius: 3px;
    pointer-events: none;
    content: "";
}

.certificate-border::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(38vw, 360px);
    aspect-ratio: 1;
    border: 34px double rgba(10, 126, 122, 0.025);
    border-radius: 50%;
    transform: translate(-50%, -46%);
    pointer-events: none;
    content: "";
}

.certificate-border > * {
    position: relative;
    z-index: 1;
}

.certificate-corner {
    position: absolute;
    z-index: 2;
    width: 58px;
    height: 58px;
    border-color: rgba(174, 124, 31, 0.72);
    pointer-events: none;
}

.certificate-corner-top-left {
    top: 18px;
    left: 18px;
    border-top: 3px solid;
    border-left: 3px solid;
}

.certificate-corner-top-right {
    top: 18px;
    right: 18px;
    border-top: 3px solid;
    border-right: 3px solid;
}

.certificate-corner-bottom-left {
    bottom: 18px;
    left: 18px;
    border-bottom: 3px solid;
    border-left: 3px solid;
}

.certificate-corner-bottom-right {
    right: 18px;
    bottom: 18px;
    border-right: 3px solid;
    border-bottom: 3px solid;
}

.certificate-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 188px;
    margin-bottom: 0;
}

.certificate-brand-logo {
    display: grid;
    width: 160px;
    height: 160px;
    overflow: hidden;
    place-items: center;
    border: 1px solid rgba(10, 126, 122, 0.26);
    border-radius: 14px;
    background: #ffffff;
    color: #087a76;
    font-size: 1rem;
    font-weight: 950;
    box-shadow: 0 8px 22px rgba(33, 54, 82, 0.09);
}

.certificate-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.certificate-brand-copy {
    min-width: 0;
    text-align: center;
}

.certificate-brand-copy strong,
.certificate-brand-copy small {
    display: block;
}

.certificate-brand-copy strong {
    color: #203246;
    font-size: 1rem;
    line-height: 1.2;
}

.certificate-brand-copy small {
    margin-top: 3px;
    color: #708092;
    font-size: 0.76rem;
    font-weight: 750;
}

.certificate-seal {
    display: grid;
    width: 56px;
    height: 56px;
    margin-top: 4px;
    place-items: center;
    border: 1px solid rgba(174, 124, 31, 0.34);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff5d8, #f3d993);
    color: #95610a;
    box-shadow: 0 9px 20px rgba(174, 124, 31, 0.13);
}

.certificate-seal svg {
    width: 28px;
    height: 28px;
}

.certificate-kicker {
    color: #93600b;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.certificate-border h1 {
    margin: 0 0 5px;
    color: #19364c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 0.98;
}

.certificate-border h2 {
    max-width: 880px;
    margin: 0;
    color: #176b72;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3.4vw, 2.55rem);
    line-height: 1.08;
}

.certificate-recipient {
    max-width: 920px;
    color: #17283b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.6vw, 3.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.04;
}

.certificate-border p {
    margin: 0;
    color: #66778a;
    font-size: 0.98rem;
}

.certificate-intro {
    margin-top: 4px !important;
}

.certificate-name-line {
    width: min(100%, 620px);
    height: 1px;
    margin: 2px 0 5px;
    background: linear-gradient(90deg, transparent, rgba(174, 124, 31, 0.65), transparent);
}

.certificate-statement {
    margin-top: 2px !important;
}

.certificate-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: min(100%, 650px);
    margin-top: 14px;
}

.certificate-meta > span {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 2px 8px;
    align-items: center;
    padding: 11px 13px;
    border: 1px solid rgba(83, 111, 137, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    text-align: left;
}

.certificate-meta svg {
    grid-row: 1 / 3;
    width: 19px;
    color: #19767a;
}

.certificate-meta small,
.certificate-code small {
    color: #8794a1;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.certificate-meta b {
    overflow: hidden;
    color: #31475b;
    font-size: 0.76rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.certificate-footer {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
    gap: 42px;
    align-items: end;
    width: min(100%, 820px);
    margin-top: auto;
    padding-top: 18px;
}

.certificate-signature {
    display: grid;
    gap: 3px;
    text-align: center;
}

.certificate-signature > span {
    height: 1px;
    margin-bottom: 5px;
    background: #8a99a7;
}

.certificate-signature strong {
    color: #31475b;
    font-size: 0.78rem;
}

.certificate-signature small {
    color: #8794a1;
    font-size: 0.68rem;
}

.certificate-code {
    display: grid;
    gap: 3px;
    padding: 10px 13px;
    border: 1px dashed rgba(36, 87, 197, 0.28);
    border-radius: 8px;
    background: rgba(244, 248, 255, 0.86);
    text-align: left;
}

.certificate-code b {
    overflow-wrap: anywhere;
    color: #2457c5;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    letter-spacing: 0.055em;
}

.certificate-code > span {
    color: #8794a1;
    font-size: 0.65rem;
}

.certificate-not-found {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 28px;
}

.certificate-not-found svg {
    width: 42px;
    height: 42px;
    color: var(--danger);
}

.dynamic-page-content,
.dynamic-page-locked,
.dynamic-page-empty,
.dynamic-page-preview-note {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.dynamic-page-shell {
    max-width: 1360px;
}

.dynamic-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.36fr);
    gap: 22px;
    align-items: start;
}

.dynamic-page-main {
    min-width: 0;
}

.dynamic-page-layout .schedule-now-sidebar {
    position: static;
}

.dynamic-page-layout .schedule-now-card {
    position: relative;
    top: auto;
}

.dynamic-page-content {
    padding: clamp(24px, 5vw, 54px);
    color: var(--text);
    line-height: 1.75;
}

.dynamic-page-content > *:first-child {
    margin-top: 0;
}

.dynamic-page-content > *:last-child {
    margin-bottom: 0;
}

.dynamic-page-content h1,
.dynamic-page-content h2,
.dynamic-page-content h3,
.dynamic-page-content h4 {
    margin: 1.35em 0 0.55em;
    color: var(--text);
    line-height: 1.12;
}

.dynamic-page-content h1 {
    font-size: clamp(2.1rem, 4vw, 3.6rem);
}

.dynamic-page-content h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.dynamic-page-content h3 {
    font-size: 1.45rem;
}

.dynamic-page-content p,
.dynamic-page-content li {
    color: var(--muted);
}

.dynamic-page-content a {
    color: var(--blue);
    font-weight: 850;
    text-decoration: underline;
    text-decoration-color: rgba(36, 87, 197, 0.32);
}

.dynamic-page-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.16);
}

.dynamic-page-content blockquote {
    margin: 24px 0;
    padding: 18px 20px;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: #eefbfa;
    color: var(--text);
}

.dynamic-page-content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}

.dynamic-page-content th,
.dynamic-page-content td {
    padding: 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.dynamic-page-content th {
    background: #eafafa;
    color: var(--blue);
}

.dynamic-page-content pre {
    overflow: auto;
    padding: 16px;
    border-radius: 8px;
    background: #102037;
    color: #eff5ff;
}

.dynamic-page-locked,
.dynamic-page-empty {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 28px;
}

.dynamic-page-locked svg,
.dynamic-page-empty svg {
    width: 42px;
    height: 42px;
    color: var(--blue);
}

.dynamic-page-locked h2,
.dynamic-page-empty h1 {
    margin: 0;
}

.dynamic-page-locked p,
.dynamic-page-empty p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.dynamic-page-preview-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    color: #8b610f;
    font-weight: 850;
    background: #fff7e8;
}

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

.feature-list article {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.feature-list strong {
    font-size: 1.05rem;
}

.site-footer {
    display: flex;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    min-height: 82px;
    padding: 14px clamp(18px, 4vw, 54px);
    border-top: 1px solid var(--line);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 251, 249, 0.92)),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.08));
    color: var(--muted);
}

.site-footer-identity {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
    line-height: 1.35;
}

.site-footer strong,
.site-footer span,
.site-footer small {
    display: block;
}

.site-footer small {
    margin-top: 0;
    color: var(--soft);
    font-size: 0.76rem;
    font-weight: 800;
}

.site-footer strong {
    color: var(--text);
    font-size: 0.95rem;
}

.site-footer-links {
    display: grid;
    flex: 0 0 auto;
    justify-items: end;
    gap: 8px;
    margin-left: auto;
}

.site-footer nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-weight: 850;
}

.site-footer-links > nav:first-child a + a::before {
    content: "|";
    margin-right: 10px;
    color: var(--soft);
    font-weight: 800;
}

.site-footer-contact {
    font-size: 0.82rem;
}

.site-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
}

.site-footer-contact a svg {
    width: 16px;
    height: 16px;
}

.site-footer-socials {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.site-footer-social {
    width: 30px;
    height: 30px;
    justify-content: center;
    border: 1px solid rgba(36, 87, 197, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue);
    box-shadow: 0 10px 24px rgba(33, 54, 82, 0.08);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-footer-social.is-whatsapp {
    border-color: rgba(37, 211, 102, 0.32);
    background: #f0fff6;
    color: #128c45;
}

.site-footer-social span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.site-footer-social:hover,
.site-footer-social:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(10, 167, 163, 0.38);
    background: #eafafa;
    outline: none;
}

.site-footer-social.is-whatsapp:hover,
.site-footer-social.is-whatsapp:focus-visible {
    border-color: rgba(37, 211, 102, 0.52);
    background: #dcfce8;
}

.site-footer a {
    color: var(--blue);
}

.back-to-top {
    position: fixed;
    right: auto;
    bottom: 24px;
    left: 50%;
    z-index: 70;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.38), transparent 34%),
        linear-gradient(135deg, #1d64d8, #12b8b3);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(33, 54, 82, 0.18), 0 7px 16px rgba(10, 167, 163, 0.18);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 14px) scale(0.94);
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.8;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.back-to-top.is-over-footer {
    bottom: 112px;
}

.back-to-top:hover {
    box-shadow: 0 18px 38px rgba(33, 54, 82, 0.22), 0 9px 20px rgba(10, 167, 163, 0.22);
    transform: translate(-50%, -2px) scale(1.03);
}

body.focus-mode {
    overflow: hidden;
    background: #030306;
}

body.focus-mode::before {
    position: fixed;
    z-index: 80;
    inset: 0;
    background: #030306;
    content: "";
    opacity: 1;
    pointer-events: auto;
}

body.focus-mode .site-header,
body.focus-mode .companion-panel,
body.focus-mode .section-white,
body.focus-mode .section-block,
body.focus-mode .page-title,
body.focus-mode .site-footer {
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

body.focus-mode .watch-section {
    opacity: 1;
    pointer-events: auto;
}

body.focus-mode .player-stage-shell {
    position: relative;
    z-index: 81;
    isolation: isolate;
}

body.focus-mode .player-stage,
body.focus-mode .player-frame,
body.focus-mode .broadcast-topline,
body.focus-mode .player-controls {
    opacity: 1;
}

body.focus-mode .player-stage {
    background: #050508;
    box-shadow: 0 38px 110px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(199, 255, 61, 0.2);
}

body.home-player-cinema-mode {
    overflow: hidden;
    background: #030306;
}

body.home-player-cinema-mode::before {
    position: fixed;
    z-index: 100;
    inset: 0;
    background: #030306;
    content: "";
}

body.home-player-cinema-mode .player-stage-shell {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: grid;
    min-height: 0 !important;
    padding: 16px;
    place-items: center;
    isolation: isolate;
    pointer-events: none;
}

body.home-player-cinema-mode .player-stage {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(1180px, calc(100vw - 32px), calc(177.78svh - 57px));
    max-width: none;
    margin: 0;
    transform: none;
    border-color: rgba(199, 255, 61, 0.34);
    background: #050508;
    box-shadow: 0 36px 120px rgba(0, 0, 0, 0.86), 0 0 0 1px rgba(199, 255, 61, 0.2), 0 0 48px rgba(139, 92, 246, 0.16);
    pointer-events: auto;
    animation: cinemaPlayerIn 180ms ease-out;
}

body.home-player-cinema-mode .broadcast-topline,
body.home-player-cinema-mode .player-controls {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 9;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(8, 8, 14, 0.88);
    backdrop-filter: blur(12px);
}

body.home-player-cinema-mode .broadcast-topline {
    top: 0;
}

body.home-player-cinema-mode .player-controls {
    bottom: 0;
}

body.home-player-cinema-mode .player-frame {
    background: #000000;
}

body.home-player-cinema-mode .live-bug {
    top: 66px;
}

body.home-player-cinema-mode .lower-third {
    bottom: 76px;
}

body.home-player-cinema-mode .sticky-player-close,
body.home-player-cinema-mode .back-to-top {
    display: none !important;
}

@keyframes cinemaPlayerIn {
    from {
        opacity: 0;
        transform: scale(0.975);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.radio-experience {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.55fr);
    gap: 18px;
    align-items: stretch;
}

.radio-stream-player,
.radio-schedule-card,
.member-private-channel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.radio-stream-player {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: clamp(18px, 4vw, 38px);
    align-items: center;
    min-height: 420px;
    padding: clamp(22px, 5vw, 42px);
    background:
        linear-gradient(135deg, #ffffff 0%, #eefbfa 44%, #fff7ea 100%),
        linear-gradient(90deg, rgba(36, 87, 197, 0.08), rgba(233, 110, 97, 0.08));
}

.radio-stream-player::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--radio-accent), var(--blue), var(--gold), var(--coral));
}

.radio-disc-panel {
    display: grid;
    justify-items: center;
    gap: 22px;
}

.radio-disc {
    position: relative;
    display: grid;
    width: 190px;
    height: 190px;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.86), transparent 18%),
        conic-gradient(from 210deg, var(--radio-accent), var(--blue), var(--gold), var(--coral), var(--radio-accent));
    box-shadow:
        inset 0 0 0 16px rgba(255, 255, 255, 0.18),
        0 22px 54px rgba(33, 54, 82, 0.18);
}

.radio-disc span,
.radio-disc b {
    position: absolute;
    border-radius: 50%;
}

.radio-disc span {
    inset: 34px;
    border: 1px solid rgba(255, 255, 255, 0.44);
}

.radio-disc b {
    width: 34px;
    height: 34px;
    background: #ffffff;
    box-shadow: inset 0 0 0 9px rgba(23, 33, 47, 0.08);
}

.radio-stream-player.is-playing .radio-disc {
    animation: radioSpin 7s linear infinite;
}

.radio-equalizer {
    display: flex;
    align-items: end;
    gap: 5px;
    width: min(210px, 100%);
    height: 56px;
    padding: 10px;
    border: 1px solid rgba(219, 229, 238, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
}

.radio-equalizer span {
    flex: 1;
    min-width: 4px;
    height: 30%;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--radio-accent), var(--blue), var(--gold));
    animation: radioBars 1.35s ease-in-out infinite;
    animation-play-state: paused;
}

.radio-equalizer span:nth-child(2n) {
    animation-delay: 0.12s;
}

.radio-equalizer span:nth-child(3n) {
    animation-delay: 0.24s;
}

.radio-stream-player.is-playing .radio-equalizer span {
    animation-play-state: running;
}

.radio-player-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    min-width: 0;
}

.radio-player-copy h2,
.private-channel-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.55rem);
    line-height: 1.02;
}

.radio-player-copy p,
.private-channel-copy p,
.private-channel-copy small,
.radio-schedule-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.radio-now-card {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 4px;
    max-width: 580px;
    padding: 16px 18px;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 8px;
    background: #ffffff;
}

.radio-now-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 10px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--radio-accent), var(--blue), var(--gold), var(--coral));
    background-size: 180% 100%;
}

.radio-stream-player.is-playing .radio-now-card::after {
    animation: radioSweep 2.4s linear infinite;
}

.radio-now-card span {
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.radio-now-card strong {
    color: var(--text);
    font-size: 1.24rem;
}

.radio-now-card small {
    color: var(--muted);
}

.radio-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.radio-mute-action {
    width: 44px;
    padding: 0;
}

.radio-volume {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 900;
}

.radio-volume input {
    width: 130px;
    accent-color: var(--radio-accent);
}

.radio-schedule-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 22px;
    background:
        linear-gradient(135deg, #ffffff, #f2fbfb),
        linear-gradient(90deg, rgba(36, 87, 197, 0.06), rgba(215, 154, 40, 0.08));
}

.radio-schedule-card h3 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.18;
}

.radio-schedule-list {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.radio-schedule-list span {
    display: block;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    font-weight: 850;
}

.radio-title-card {
    min-height: 220px;
}

.member-private-channel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    grid-template-areas:
        "copy player"
        "playlist player";
    gap: 20px;
    align-items: start;
    margin: 0 0 30px;
    padding: 22px;
    background:
        linear-gradient(135deg, #ffffff, #eef3ff),
        linear-gradient(90deg, rgba(10, 167, 163, 0.08), rgba(215, 154, 40, 0.08));
}

.member-private-channel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--private-accent), var(--accent), var(--gold));
}

.member-dashboard-hero + .member-private-channel {
    margin-top: 18px;
    margin-bottom: 18px;
}

.private-channel-copy {
    grid-area: copy;
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.private-channel-copy h2 {
    font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.private-channel-copy small {
    display: inline-flex;
    width: fit-content;
    padding: 10px 12px;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 8px;
    background: #ffffff;
    font-weight: 850;
}

.private-player-card {
    grid-area: player;
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: start;
    min-height: 320px;
    border: 1px solid rgba(13, 25, 38, 0.86);
    border-radius: 8px;
    background: #070a0f;
    box-shadow: 0 24px 56px rgba(33, 54, 82, 0.2);
}

.private-player-frame {
    position: relative;
    min-height: 320px;
    background: #05080d;
}

.private-player-card [hidden] {
    display: none !important;
}

.private-player-card video,
.private-player-card iframe,
.private-youtube-frame {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    border: 0;
    background: #05080d;
}

.private-youtube-frame iframe {
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.private-player-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 320px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #05080d;
    color: #ffffff;
    cursor: pointer;
}

.private-player-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(7, 10, 15, 0.02), rgba(7, 10, 15, 0.28)),
        linear-gradient(180deg, rgba(7, 10, 15, 0.08), rgba(7, 10, 15, 0.34));
}

.private-player-cover img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.private-player-cover span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    background: rgba(10, 167, 163, 0.9);
    box-shadow: 0 18px 42px rgba(7, 10, 15, 0.34);
    transition: transform 160ms ease, background 160ms ease;
}

.private-player-cover span svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
    fill: currentColor;
}

.private-player-cover:hover span {
    background: var(--private-accent);
    transform: scale(1.05);
}

.private-player-hint {
    position: absolute;
    left: 14px;
    top: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(7, 10, 15, 0.76);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
}

.private-player-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(90deg, rgba(10, 167, 163, 0.16), rgba(36, 87, 197, 0.12)),
        #0b111a;
    color: #ffffff;
}

.private-player-current {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.private-player-current span,
.private-playlist-heading small,
.private-playlist-copy small {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.private-player-current strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.private-player-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.private-player-controls button {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.private-player-controls button:hover {
    border-color: rgba(10, 167, 163, 0.78);
    background: rgba(10, 167, 163, 0.22);
    transform: translateY(-1px);
}

.private-playlist-panel {
    grid-area: playlist;
    display: grid;
    gap: 10px;
    padding: 12px 14px 14px;
    overflow: hidden;
    border: 1px solid rgba(13, 25, 38, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(13, 20, 31, 0.98), rgba(16, 38, 54, 0.98)),
        #0d141f;
    box-shadow: 0 16px 34px rgba(33, 54, 82, 0.13);
}

.private-playlist-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #ffffff;
    font-weight: 950;
}

.private-playlist-list {
    display: grid;
    gap: 8px;
    max-height: 190px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
}

.private-playlist-list button {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
    text-align: left;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.private-playlist-list button:hover,
.private-playlist-list button.is-active {
    border-color: rgba(10, 167, 163, 0.72);
    background:
        linear-gradient(90deg, rgba(10, 167, 163, 0.24), rgba(215, 154, 40, 0.12)),
        rgba(255, 255, 255, 0.08);
}

.private-playlist-list button.is-active {
    box-shadow: inset 3px 0 0 var(--private-accent);
}

.private-playlist-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #8ff0e7;
    font-size: 0.78rem;
    font-weight: 950;
}

.private-playlist-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.private-playlist-copy strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.private-player-empty {
    display: grid;
    min-height: 320px;
    place-items: center;
    gap: 8px;
    padding: 24px;
    color: #ffffff;
    text-align: center;
}

.private-player-empty svg {
    width: 42px;
    height: 42px;
    color: #8ff0e7;
}

.private-player-empty strong {
    font-size: 1.15rem;
    font-weight: 950;
}

.private-player-empty span {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.45;
}

@keyframes radioSpin {
    to { transform: rotate(360deg); }
}

@keyframes radioBars {
    0%, 100% { height: 22%; }
    45% { height: 100%; }
    70% { height: 46%; }
}

@keyframes radioSweep {
    to { background-position: 180% 0; }
}

@media (max-width: 1040px) {
    .live-engagement-grid {
        grid-template-columns: 1fr;
    }

    .public-wall-list {
        grid-template-columns: 1fr;
    }

    .notification-subscribe-panel {
        grid-template-columns: 1fr 1fr;
    }

    .notification-subscribe-fields,
    .notification-subscribe-panel > .form-feedback {
        grid-column: 1 / -1;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        left: 12px;
        z-index: 45;
        display: grid;
        gap: 7px;
        max-height: min(72vh, 560px);
        padding: 10px;
        overflow: auto;
        border: 1px solid rgba(191, 218, 225, 0.92);
        border-radius: 16px;
        background:
            linear-gradient(180deg, rgba(240, 251, 251, 0.98), rgba(255, 255, 255, 0.99) 24%),
            #ffffff;
        box-shadow:
            inset 0 3px 0 rgba(10, 167, 163, 0.72),
            0 24px 62px rgba(33, 54, 82, 0.22);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 160ms ease, transform 160ms ease;
        scrollbar-color: rgba(80, 105, 122, 0.72) transparent;
        scrollbar-width: thin;
    }

    .main-nav.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .main-nav a,
    .nav-dropdown > button {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        padding: 0 14px;
        border: 1px solid rgba(207, 222, 233, 0.94);
        border-radius: 12px;
        background: linear-gradient(135deg, #ffffff, #fbfdff);
        color: var(--text);
        font-weight: 900;
        line-height: 1.2;
        box-shadow: 0 3px 10px rgba(41, 65, 91, 0.045);
        transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .main-nav a:hover,
    .main-nav a.is-active,
    .nav-dropdown > button:hover,
    .nav-dropdown > button.is-active,
    .nav-dropdown.is-open > button {
        border-color: rgba(10, 167, 163, 0.42);
        background: linear-gradient(135deg, #e8fafa, #f4fbff);
        color: var(--blue);
        box-shadow: inset 4px 0 0 var(--accent), 0 7px 18px rgba(10, 167, 163, 0.1);
    }

    .main-nav > a:active,
    .nav-dropdown > button:active {
        transform: scale(0.992);
    }

    .nav-dropdown > button svg {
        margin-left: auto;
    }

    .nav-dropdown {
        display: grid;
        gap: 6px;
        margin: 2px 0;
        padding: 6px;
        border: 1px solid rgba(10, 167, 163, 0.18);
        border-radius: 15px;
        background: linear-gradient(135deg, rgba(232, 250, 250, 0.8), rgba(245, 251, 255, 0.9));
    }

    .nav-dropdown > button {
        min-height: 50px;
        padding: 0 12px;
        border-color: rgba(10, 167, 163, 0.28);
        background: linear-gradient(135deg, #eefafa, #f7fcff);
        color: var(--blue);
        box-shadow: 0 5px 14px rgba(10, 167, 163, 0.08);
    }

    .nav-dropdown > button::before {
        flex: 0 0 auto;
        width: 30px;
        height: 30px;
        border: 1px solid rgba(10, 167, 163, 0.22);
        border-radius: 9px;
        background:
            radial-gradient(circle at 35% 35%, #ffffff 0 2px, transparent 2.5px),
            radial-gradient(circle at 65% 35%, #ffffff 0 2px, transparent 2.5px),
            radial-gradient(circle at 35% 65%, #ffffff 0 2px, transparent 2.5px),
            radial-gradient(circle at 65% 65%, #ffffff 0 2px, transparent 2.5px),
            linear-gradient(135deg, var(--green), var(--accent));
        box-shadow: 0 5px 12px rgba(10, 167, 163, 0.18);
        content: "";
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        gap: 6px;
        margin: 0 5px 2px 18px;
        padding: 3px 0 1px 14px;
        border: 0;
        border-left: 2px solid rgba(10, 167, 163, 0.34);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
        backdrop-filter: none;
        transition: none;
    }

    .nav-dropdown-menu::before {
        display: none;
    }

    .nav-dropdown-menu-heading {
        display: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        display: grid;
        transform: none;
    }

    .nav-dropdown-menu a {
        position: relative;
        min-height: 44px;
        padding: 5px 8px;
        border-color: rgba(201, 220, 231, 0.9);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.94);
        font-size: 0.84rem;
        box-shadow: 0 4px 12px rgba(41, 65, 91, 0.055);
        white-space: normal;
    }

    .nav-dropdown-menu a::before {
        position: absolute;
        top: 50%;
        left: -15px;
        width: 12px;
        border-top: 2px solid rgba(10, 167, 163, 0.34);
        content: "";
        transform: translateY(-50%);
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a:focus-visible,
    .nav-dropdown-menu a.is-current {
        border-color: rgba(10, 167, 163, 0.3);
        background: #ffffff;
        color: var(--blue);
        box-shadow: 0 7px 16px rgba(10, 167, 163, 0.1);
        transform: translateX(2px);
    }

    .header-icon-action.menu-toggle {
        border-color: rgba(10, 167, 163, 0.3);
        border-radius: 12px;
        background: linear-gradient(145deg, #ffffff, #eefafa);
        box-shadow: 0 8px 18px rgba(26, 74, 91, 0.1);
        transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }

    .header-icon-action.menu-toggle[aria-expanded="true"] {
        border-color: transparent;
        background: linear-gradient(135deg, var(--blue), var(--accent));
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(10, 167, 163, 0.28);
        transform: rotate(2deg);
    }

    .portal-grid,
    .announcement-grid,
    .channel-highlights-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-inner,
    .home-broadcast-grid,
    .watch-grid,
    .public-wall-hero-grid,
    .radio-experience,
    .radio-stream-player,
    .member-private-channel,
    .church-command-panel,
    .split-layout,
    .title-grid,
    .schedule-page-grid,
    .dynamic-page-layout,
    .prayer-grid,
    .giving-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .dynamic-page-layout .schedule-now-card {
        position: static;
    }

    .home-watch-grid .player-stage-shell {
        order: 1;
    }

    .home-watch-grid .companion-panel {
        order: 2;
    }

    .member-private-channel {
        grid-template-areas:
            "copy"
            "player"
            "playlist";
    }

    .premium-feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-broadcast-hero {
        min-height: auto;
    }

    .home-player-column .player-stage {
        transform: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-status {
        max-width: 520px;
    }

    .title-actions {
        margin-top: 0;
    }

}

@media (max-width: 680px) {
    .schedule-page .page-title {
        padding: 18px 0 20px;
    }

    .schedule-page .section-block {
        padding-top: 20px;
    }

    .dynamic-page .dynamic-page-title {
        padding: 18px 0 20px;
    }

    .dynamic-page-title-mark {
        display: none;
    }

    .dynamic-page-title h1 {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
    }

    .dynamic-page-title-heading {
        align-items: flex-start;
        gap: 10px;
    }

    .dynamic-page-title-heading > svg {
        width: 22px;
        height: 22px;
        margin-top: 2px;
    }

    .dynamic-page .section-block {
        padding-top: 20px;
    }

    .about-page .section-block {
        padding-top: 20px;
    }

    .about-page-title {
        padding: 18px 0 20px;
    }

    .about-page-title h1 {
        font-size: clamp(1.2rem, 7vw, 2rem);
    }

    .about-content-section {
        padding-top: 20px;
    }

    .about-content-panel {
        padding: 20px;
    }

    .about-section-text {
        font-size: 1rem;
        line-height: 1.72;
    }

    .prayer-page .page-title {
        padding: 18px 0 20px;
    }

    .prayer-page .section-block {
        padding-top: 20px;
    }

    .giving-page .page-title {
        padding: 18px 0 20px;
    }

    .giving-page .page-title h1 {
        font-size: clamp(1rem, 5.4vw, 2rem);
    }

    .giving-page .section-block {
        padding-top: 20px;
    }

    .contact-page .page-title {
        padding: 18px 0 20px;
        background-size: 58% auto;
        background-position: right bottom;
    }

    .contact-page .page-title h1 {
        white-space: normal;
    }

    .contact-page .section-block {
        padding-top: 20px;
    }

    .contact-channel-grid {
        grid-template-columns: 1fr;
    }

    .contact-card.is-address {
        grid-column: auto;
    }

    .contact-card {
        min-height: 0;
        padding: 16px;
    }

    .prayer-grid > div:last-child {
        position: static;
    }

    .prayer-form {
        padding: 18px;
    }

    .prayer-page .compact-heading h2 {
        font-size: clamp(1.9rem, 10vw, 2.6rem);
    }

    .prayer-wall {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .prayer-wall:not(.is-expanded) article:nth-of-type(n+6) {
        display: none;
    }

    .prayer-wall-more {
        display: inline-flex;
    }

    .prayer-wall.is-expanded + .prayer-wall-more {
        display: none;
    }

    .prayer-wall article {
        grid-template-columns: 38px minmax(0, 1fr);
        padding: 14px;
    }

    .prayer-wall article::before {
        width: 38px;
        height: 38px;
    }

    .public-wall-page .page-title {
        padding: 18px 0 20px;
    }

    .public-wall-page .section-block {
        padding-top: 18px;
    }

    .public-wall-hero-copy h1 {
        font-size: clamp(1.95rem, 11vw, 2.8rem);
    }

    .public-wall-card {
        padding: 14px;
    }

    .radio-stream-player,
    .member-private-channel {
        padding: 18px;
    }

    .radio-disc {
        width: 150px;
        height: 150px;
    }

    .radio-actions {
        align-items: stretch;
    }

    .radio-actions .primary-action,
    .radio-actions .secondary-action,
    .radio-volume,
    .radio-mute-action {
        width: 100%;
        justify-content: center;
    }

    .radio-volume input {
        flex: 1;
        min-width: 0;
    }

    .private-player-card,
    .private-player-frame,
    .private-player-card video,
    .private-player-card iframe,
    .private-youtube-frame,
    .private-player-cover,
    .private-player-empty {
        min-height: 220px;
    }

    .private-player-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .private-player-controls {
        width: 100%;
    }

    .private-player-controls button {
        flex: 1;
    }

    .public-wall-tabs,
    .public-wall-pagination,
    .team-pagination {
        grid-template-columns: 1fr;
    }

    .public-wall-tabs {
        display: grid;
    }

    .public-wall-card,
    .public-wall-card header,
    .public-wall-pagination,
    .team-pagination {
        align-items: stretch;
    }

    .public-wall-card header,
    .public-wall-pagination,
    .team-pagination {
        flex-direction: column;
    }

    .public-wall-card time {
        white-space: normal;
    }

    .schedule-now-card {
        position: static;
    }

    .live-engagement-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .interaction-stack,
    .poll-options,
    .interaction-fields,
    .program-meta,
    .share-card,
    .two-inputs {
        grid-template-columns: 1fr;
    }

    .notification-subscribe-panel,
    .notification-subscribe-fields {
        grid-template-columns: 1fr;
    }

    .notification-subscribe-fields,
    .notification-subscribe-panel > .form-feedback {
        grid-column: auto;
    }

    .live-interaction-card.interaction-card-poll,
    .interaction-fields .full {
        grid-column: auto;
    }

    .site-header {
        gap: 8px;
        padding: 10px 14px;
    }

    .brand-mark {
        width: 50px;
        height: 50px;
        border-radius: 10px;
    }

    .brand-mark.has-image {
        width: 58px;
        height: 58px;
    }

    .brand {
        gap: 10px;
    }

    .brand strong {
        max-width: min(44vw, 170px);
    }

    .brand small,
    .header-action span {
        display: none;
    }

    .header-actions {
        gap: 6px;
    }

    .header-icon-action,
    .tv-action,
    .header-action {
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    .hero-inner {
        width: min(100% - 24px, 1180px);
        padding: 48px 0 38px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 13vw, 4rem);
    }

    .home-broadcast-copy h1 {
        font-size: clamp(2.2rem, 12vw, 3.8rem);
    }

    .section-shell {
        width: min(100% - 24px, 1180px);
    }

    /* Mantém player e cards de acompanhamento igualmente afastados das bordas no celular. */
    .home-page .home-watch-grid {
        padding-right: 4px;
        padding-left: 4px;
    }

    .portal-grid,
    .announcement-grid,
    .channel-highlights-grid,
    .premium-feature-grid,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .channel-highlights-heading {
        display: grid;
        gap: 6px;
    }

    .church-command-panel {
        padding: 18px;
    }

    .command-actions {
        grid-template-columns: 1fr;
    }

    .command-chip {
        min-height: 112px;
    }

    .portal-grid {
        margin-top: 0;
    }

    .portal-grid-below-player {
        margin-top: 18px;
    }

    .player-controls {
        justify-content: space-between;
    }

    .home-page .home-watch-grid .player-controls {
        gap: 5px;
        padding: 8px;
    }

    .home-page .home-watch-grid .icon-button {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    body.player-sticky-active .player-stage {
        right: 10px;
        bottom: calc(10px + var(--sticky-player-footer-overlap, 0px));
        width: min(310px, calc(100vw - 20px));
        box-shadow: 0 18px 58px rgba(8, 18, 31, 0.42), 0 0 0 4px rgba(255, 255, 255, 0.72);
    }

    body.player-sticky-active .broadcast-topline {
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.72rem;
    }

    body.player-sticky-active .player-controls {
        justify-content: flex-start;
        gap: 6px;
        padding: 7px;
    }

    body.player-sticky-active .icon-button {
        width: 34px;
        height: 34px;
    }

    body.player-sticky-active #live-sync,
    body.player-sticky-active #focus-toggle,
    body.player-sticky-active #cast-toggle,
    body.player-sticky-active .player-device-status {
        display: none !important;
    }

    .premiere-countdown.is-compact {
        inset: 10px 10px auto auto;
        width: clamp(112px, 34%, 138px);
        padding: 10px;
    }

    .premiere-countdown.is-compact span {
        font-size: 0.58rem;
    }

    .premiere-countdown.is-compact strong {
        margin: 6px 0 4px;
        font-size: clamp(1.12rem, 6.8vw, 1.65rem);
    }

    .premiere-countdown.is-compact b {
        font-size: 0.72rem;
    }

    .premiere-countdown.is-compact small {
        display: none;
    }

    .pix-giving-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pix-key-card {
        padding: 15px;
    }

    .pix-key-display > .pix-key-value {
        font-size: 1.3rem;
    }

    .pix-key-display > .pix-key-value.is-long {
        font-size: 0.9rem;
    }

    .pix-key-display > .pix-key-value.is-very-long {
        font-size: 0.82rem;
    }

    .pix-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .pix-qr-frame {
        width: 100%;
    }

    .pix-actions .primary-action,
    .pix-actions .secondary-action {
        width: 100%;
    }

    .icon-button {
        width: 42px;
        height: 42px;
    }

    .lower-third {
        left: 10px;
        right: 10px;
        bottom: 10px;
        align-items: center;
        flex-direction: row;
        gap: 8px;
        min-height: auto;
        padding: 8px 10px;
    }

    .player-alert {
        right: 14px;
        max-width: calc(100% - 28px);
    }

    .lower-third strong {
        max-width: 100%;
        white-space: nowrap;
    }

    .schedule-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .schedule-item svg {
        display: none;
    }

    .prayer-form {
        grid-template-columns: 1fr;
    }

    .site-footer {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        min-height: auto;
        padding: 16px;
    }

    .site-footer-links {
        justify-items: start;
        gap: 9px;
    }

    .site-footer nav {
        justify-content: flex-start;
        gap: 10px;
    }

    .back-to-top {
        right: auto;
        bottom: 16px;
        left: 50%;
        width: 40px;
        height: 40px;
    }

    .back-to-top.is-over-footer {
        bottom: 156px;
    }
}

/* Aplicativo instalável e dispositivos */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--header-actions-gap, 8px);
}

.member-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(95, 61, 196, 0.24);
    border-radius: 8px;
    background: #f2efff;
    color: #5f3dc4;
    font-weight: 900;
    cursor: pointer;
}

.member-sidebar-toggle svg {
    width: 19px;
    height: 19px;
}

.member-sidebar-backdrop {
    display: none;
}

.member-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    width: var(--member-sidebar-width, 286px);
    height: 100dvh;
    overflow: hidden;
    border-right: 1px solid rgba(145, 166, 196, 0.2);
    background:
        radial-gradient(circle at 0 0, rgba(85, 214, 182, 0.18), transparent 30%),
        linear-gradient(180deg, #14253b 0%, #182e49 58%, #102035 100%);
    color: #ffffff;
    box-shadow: 22px 0 60px rgba(16, 32, 53, 0.18);
}

.member-sidebar-header {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 38px;
    gap: 11px;
    align-items: center;
    min-height: 76px;
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-sidebar-avatar {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(100, 229, 201, 0.36);
    border-radius: 9px;
    background: linear-gradient(135deg, #16b9ae, #4876df);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(10, 167, 163, 0.18);
}

.member-sidebar-identity {
    min-width: 0;
}

.member-sidebar-identity small,
.member-sidebar-identity strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-sidebar-identity small {
    margin-bottom: 3px;
    color: #7de3d2;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.member-sidebar-identity strong {
    font-size: 1rem;
}

.member-sidebar-close {
    display: none;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    cursor: pointer;
}

.member-sidebar-close svg {
    width: 18px;
    height: 18px;
}

.member-sidebar-nav {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 0;
    overflow-y: auto;
    padding: 14px;
}

.member-sidebar-nav a,
.member-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 43px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #c6d4e5;
    font-size: 0.86rem;
    font-weight: 850;
    transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.member-sidebar-nav a svg,
.member-sidebar-footer a svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.member-sidebar-nav a:hover,
.member-sidebar-nav a:focus-visible,
.member-sidebar-nav a.is-active {
    border-color: rgba(111, 225, 204, 0.22);
    background: rgba(48, 195, 174, 0.12);
    color: #ffffff;
}

.member-sidebar-nav a.is-active {
    box-shadow: inset 3px 0 0 #55d6b6;
}

.member-sidebar-section-label {
    margin: 13px 10px 2px;
    color: #7890aa;
    font-size: 0.65rem;
    font-weight: 950;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.member-sidebar-empty {
    padding: 8px 11px;
    color: #8fa3ba;
    font-size: 0.78rem;
    line-height: 1.45;
}

.member-sidebar-footer {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.member-sidebar-footer > span {
    overflow: hidden;
    padding: 0 5px;
    color: #8fa3ba;
    font-size: 0.72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-sidebar-footer a {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #f4d4d0;
}

.member-sidebar-footer a:hover,
.member-sidebar-footer a:focus-visible {
    border-color: rgba(233, 110, 97, 0.28);
    background: rgba(233, 110, 97, 0.1);
    color: #ffffff;
}

body.has-member-sidebar {
    --member-sidebar-width: 286px;
    padding-left: var(--member-sidebar-width);
}

#visao-geral,
#cursos,
#certificados,
#acompanhamento {
    scroll-margin-top: 92px;
}

.member-hub-nav {
    position: sticky;
    top: 84px;
    z-index: 29;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 58px;
    overflow-x: auto;
    padding: 8px clamp(16px, 4vw, 54px);
    border-bottom: 1px solid rgba(219, 229, 238, 0.92);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(33, 54, 82, 0.06);
    backdrop-filter: blur(18px);
    scrollbar-width: none;
}

.member-hub-nav::-webkit-scrollbar {
    display: none;
}

.member-hub-nav > a,
.member-hub-dropdown > summary,
.member-hub-identity,
.member-hub-logout {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
    transition: opacity 160ms ease, filter 160ms ease;
}

.member-hub-nav > a svg,
.member-hub-logout svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.member-hub-dropdown > summary svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.member-hub-nav > a:hover,
.member-hub-nav > a:focus-visible,
.member-hub-nav > a.is-active,
.member-hub-logout:hover,
.member-hub-logout:focus-visible,
.member-hub-dropdown > summary:hover,
.member-hub-dropdown > summary:focus-visible,
.member-hub-dropdown[open] > summary {
    border-color: rgba(10, 167, 163, 0.24);
    background: #eafafa;
    color: #086c69;
}

.member-hub-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.member-hub-dropdown > summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 4px 6px 4px 7px;
    border-color: rgba(27, 128, 180, 0.22);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(225, 246, 247, 0.92));
    box-shadow:
        0 7px 18px rgba(29, 74, 111, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    color: #244b68;
    cursor: pointer;
    list-style: none;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease,
        color 160ms ease,
        filter 160ms ease,
        opacity 160ms ease,
        transform 160ms ease;
}

/* Nas páginas públicas, toda a navegação do usuário assume um tom secundário. */
body.has-member-hub:not(.member-portal-theme):not(.member-private-theme)
    .member-hub-nav
    > a:not(.is-active):not(:hover):not(:focus-visible),
body.has-member-hub:not(.member-portal-theme):not(.member-private-theme)
    .member-hub-dropdown:not(.is-active):not([open])
    > summary:not(:hover):not(:focus-visible) {
    opacity: 0.56;
    filter: grayscale(0.42) saturate(0.5);
}

.member-hub-dropdown > summary::-webkit-details-marker {
    display: none;
}

.member-hub-dropdown > summary > svg:first-child {
    width: 28px;
    height: 28px;
    padding: 6px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e77c8, #0aa7a3);
    box-shadow: 0 5px 12px rgba(18, 112, 157, 0.2);
    color: #ffffff;
}

.member-hub-dropdown > summary:hover,
.member-hub-dropdown > summary:focus-visible,
.member-hub-dropdown[open] > summary {
    border-color: rgba(10, 167, 163, 0.42);
    background: linear-gradient(135deg, #ffffff, #dff7f5);
    box-shadow:
        0 9px 22px rgba(21, 102, 132, 0.14),
        inset 0 1px 0 #ffffff;
    color: #086c69;
}

.member-hub-dropdown > summary:focus-visible {
    outline: 2px solid rgba(10, 167, 163, 0.38);
    outline-offset: 2px;
}

.member-hub-dropdown > summary:hover {
    transform: translateY(-1px);
}

.member-hub-dropdown .member-hub-chevron {
    width: 22px;
    height: 22px;
    margin-left: 1px;
    padding: 5px;
    border-radius: 50%;
    background: rgba(21, 105, 147, 0.09);
    color: #35667f;
    transition:
        background 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.member-hub-dropdown[open] .member-hub-chevron {
    transform: rotate(180deg);
    background: rgba(10, 167, 163, 0.14);
    color: #087a77;
}

.member-hub-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 50;
    display: grid;
    min-width: 310px;
    overflow: visible;
    padding: 10px;
    border: 1px solid rgba(27, 128, 180, 0.22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 0, rgba(143, 107, 223, 0.1), transparent 30%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.99), rgba(241, 250, 252, 0.99));
    box-shadow: 0 28px 65px rgba(24, 54, 82, 0.22), 0 8px 20px rgba(10, 167, 163, 0.08);
    animation: member-hub-dropdown-in 160ms ease-out;
}

.member-hub-dropdown-menu::before {
    position: absolute;
    top: -7px;
    left: 30px;
    width: 13px;
    height: 13px;
    border-top: 1px solid rgba(27, 128, 180, 0.22);
    border-left: 1px solid rgba(27, 128, 180, 0.22);
    background: #f9fdfd;
    content: "";
    transform: rotate(45deg);
}

.member-hub-dropdown-menu::after {
    position: absolute;
    inset: 0 24px auto;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #8f6bdf, #0aa7a3, #c7ff3d, transparent);
    content: "";
}

@keyframes member-hub-dropdown-in {
    from {
        opacity: 0;
        transform: translateY(-5px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.member-hub-dropdown-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 7px;
    padding: 7px 7px 11px;
    border-bottom: 1px solid rgba(36, 95, 126, 0.1);
}

.member-hub-dropdown-heading > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.17);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 119, 200, 0.11), rgba(10, 167, 163, 0.13));
    color: #078c89;
}

.member-hub-dropdown-heading > span svg {
    width: 18px;
    height: 18px;
}

.member-hub-dropdown-heading > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.member-hub-dropdown-heading small {
    color: #8f6bdf;
    font-size: 0.53rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.member-hub-dropdown-heading strong {
    overflow: hidden;
    color: #24445c;
    font-size: 0.82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-hub-dropdown-heading > b {
    display: inline-flex;
    min-width: 28px;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid rgba(10, 167, 163, 0.17);
    border-radius: 999px;
    background: rgba(10, 167, 163, 0.08);
    color: #087875;
    font-size: 0.68rem;
    font-weight: 950;
}

.member-hub-dropdown-list {
    display: grid;
    gap: 6px;
}

.member-hub-dropdown-menu a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 56px;
    padding: 8px;
    border: 1px solid rgba(36, 95, 126, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.58);
    color: var(--muted);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.member-hub-dropdown-item-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(10, 167, 163, 0.15);
    border-radius: 11px;
    background: rgba(10, 167, 163, 0.075);
    color: #07928f;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.member-hub-dropdown-item-icon svg {
    width: 16px;
    height: 16px;
}

.member-hub-dropdown-item-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.member-hub-dropdown-item-copy strong,
.member-hub-dropdown-item-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-hub-dropdown-item-copy strong {
    color: #3e566b;
    font-size: 0.81rem;
    font-weight: 900;
}

.member-hub-dropdown-item-copy small {
    color: #8999a8;
    font-size: 0.64rem;
    font-weight: 650;
}

.member-hub-dropdown-item-arrow {
    width: 15px;
    height: 15px;
    color: #9aa9b4;
    transition: color 160ms ease, transform 160ms ease;
}

.member-hub-dropdown-menu a:hover,
.member-hub-dropdown-menu a:focus-visible,
.member-hub-dropdown-menu a.is-active {
    border-color: rgba(10, 167, 163, 0.25);
    background: linear-gradient(135deg, #ffffff, #eafafa);
    box-shadow: 0 9px 20px rgba(29, 95, 121, 0.09);
    color: #086c69;
    transform: translateX(2px);
}

.member-hub-dropdown-menu a:hover .member-hub-dropdown-item-icon,
.member-hub-dropdown-menu a:focus-visible .member-hub-dropdown-item-icon,
.member-hub-dropdown-menu a.is-active .member-hub-dropdown-item-icon {
    background: linear-gradient(135deg, #1e77c8, #0aa7a3);
    color: #ffffff;
    transform: rotate(-3deg);
}

.member-hub-dropdown-menu a:hover .member-hub-dropdown-item-copy strong,
.member-hub-dropdown-menu a:focus-visible .member-hub-dropdown-item-copy strong,
.member-hub-dropdown-menu a.is-active .member-hub-dropdown-item-copy strong {
    color: #086c69;
}

.member-hub-dropdown-menu a:hover .member-hub-dropdown-item-arrow,
.member-hub-dropdown-menu a:focus-visible .member-hub-dropdown-item-arrow,
.member-hub-dropdown-menu a.is-active .member-hub-dropdown-item-arrow {
    color: #087875;
    transform: translate(2px, -2px);
}

.member-hub-dropdown-menu a:focus-visible {
    outline: 2px solid rgba(10, 167, 163, 0.28);
    outline-offset: 1px;
}

.member-hub-dropdown.is-active > summary {
    border-color: rgba(10, 167, 163, 0.42);
    background: linear-gradient(135deg, #ffffff, #dff7f5);
    color: #086c69;
}

.member-hub-dropdown-empty {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 9px 10px;
    border: 1px dashed rgba(36, 95, 126, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.46);
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 800;
}

.member-hub-dropdown-empty svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--accent);
}

.member-hub-dropdown-menu > footer {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    padding: 9px 8px 2px;
    border-top: 1px solid rgba(36, 95, 126, 0.08);
    color: #80909e;
    font-size: 0.6rem;
    font-weight: 800;
}

.member-hub-dropdown-menu > footer svg {
    width: 14px;
    height: 14px;
    color: #07928f;
}

@media (min-width: 1041px) {
    .member-hub-nav {
        overflow: visible;
    }
}

.member-hub-identity {
    margin-right: 3px;
    padding-left: 2px;
    color: var(--text);
}

.member-hub-avatar {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, #16b9ae, #4876df);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 950;
}

.member-hub-label {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 6px;
    margin-left: 5px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(197, 139, 29, 0.18);
    border-radius: 999px;
    background: #fff7e7;
    color: #93630c;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.member-hub-label b {
    color: #087875;
    font-size: 0.86rem;
    line-height: 1;
}

.member-hub-logout-form {
    display: flex;
    margin-left: auto;
}

.member-hub-logout {
    appearance: none;
    min-height: 38px;
    padding: 0 12px;
    border-color: rgba(233, 110, 97, 0.18);
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
    background: #fff5f3;
    color: #be4b41;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 900;
    cursor: pointer;
}

.member-hub-logout:hover,
.member-hub-logout:focus-visible {
    border-color: rgba(233, 110, 97, 0.34);
    background: #ffe9e6;
    color: #a83d35;
}

body.is-admin-viewing-user .member-hub-logout.is-impersonation-exit {
    border-color: rgba(55, 125, 214, 0.22);
    background: #eef6ff;
    color: #285f9f;
}

body.is-admin-viewing-user .member-hub-logout.is-impersonation-exit:hover,
body.is-admin-viewing-user .member-hub-logout.is-impersonation-exit:focus-visible {
    border-color: rgba(55, 125, 214, 0.38);
    background: #dfeeff;
    color: #204e84;
}

.admin-user-preview-toolbar {
    position: fixed;
    z-index: 95;
    left: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: min(580px, calc(100vw - 36px));
    padding: 11px 12px;
    border: 1px solid rgba(83, 194, 255, 0.32);
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(13, 17, 29, 0.98), rgba(28, 20, 48, 0.98));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: #ffffff;
    backdrop-filter: blur(18px);
}

.admin-user-preview-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(83, 194, 255, 0.25);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(42, 196, 255, 0.15), rgba(135, 83, 255, 0.17));
    color: #68dcff;
}

.admin-user-preview-icon svg { width: 20px; height: 20px; }
.admin-user-preview-toolbar > div { display: grid; gap: 2px; min-width: 0; }
.admin-user-preview-toolbar small { color: #c7ff3d; font-size: 0.58rem; font-weight: 950; letter-spacing: 0.13em; }
.admin-user-preview-toolbar strong,
.admin-user-preview-toolbar > div > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-preview-toolbar strong { color: #ffffff; font-size: 0.82rem; }
.admin-user-preview-toolbar > div > span { color: #918da1; font-size: 0.68rem; }
.admin-user-preview-toolbar form { margin: 0; }
.admin-user-preview-toolbar button {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(199, 255, 61, 0.25);
    border-radius: 10px;
    background: rgba(199, 255, 61, 0.1);
    color: #c7ff3d;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 900;
    cursor: pointer;
}
.admin-user-preview-toolbar button:hover { border-color: rgba(199, 255, 61, 0.48); background: rgba(199, 255, 61, 0.17); }
.admin-user-preview-toolbar button svg { width: 15px; height: 15px; }
html.cookie-banner-visible .admin-user-preview-toolbar { bottom: 112px; }

@media (max-width: 620px) {
    .admin-user-preview-toolbar {
        left: 10px;
        bottom: 10px;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 9px;
        width: calc(100vw - 20px);
        padding: 10px;
        border-radius: 15px;
    }

    .admin-user-preview-icon { width: 38px; height: 38px; }
    .admin-user-preview-toolbar form { grid-column: 1 / -1; }
    .admin-user-preview-toolbar button { width: 100%; }
    html.cookie-banner-visible .admin-user-preview-toolbar { bottom: 150px; }
}

body.member-portal-theme,
body.member-private-theme {
    --bg: #e7f0f6;
    --surface: #f6fbfe;
    --surface-soft: #dfeef5;
    --surface-warm: #edf3fb;
    --text: #1b2b3d;
    --muted: #5d7186;
    --soft: #7e94a9;
    --line: #c8dbe7;
    --accent: #089b98;
    --blue: #245fbd;
    --gold: #c7891b;
    --coral: #d8665c;
    --green: #218d63;
    background:
        radial-gradient(circle at 82% -8%, rgba(81, 132, 215, 0.18), transparent 30%),
        radial-gradient(circle at 6% 12%, rgba(10, 167, 163, 0.12), transparent 26%),
        linear-gradient(180deg, #edf5fa 0%, #e3edf4 48%, #f2f7fa 100%);
}

body.member-portal-theme .page-pattern,
body.member-private-theme .page-pattern {
    opacity: 0.72;
    background-image:
        linear-gradient(rgba(36, 95, 189, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 155, 152, 0.05) 1px, transparent 1px);
}

body.member-portal-theme .site-header,
body.member-private-theme .site-header {
    border-bottom-color: rgba(119, 153, 184, 0.28);
    background: rgba(244, 250, 253, 0.9);
}

body.member-portal-theme .brand strong,
body.member-private-theme .brand strong,
body.member-portal-theme .main-nav a,
body.member-private-theme .main-nav a,
body.member-portal-theme .nav-dropdown > button,
body.member-private-theme .nav-dropdown > button {
    color: #334b63;
}

body.member-portal-theme .brand small,
body.member-private-theme .brand small {
    color: #6d8499;
}

body.member-portal-theme .header-icon-action,
body.member-private-theme .header-icon-action {
    border-color: rgba(36, 95, 189, 0.2);
    background: #edf5fb;
    color: #245fbd;
}

body.member-portal-theme .header-action,
body.member-private-theme .header-action {
    background: linear-gradient(135deg, #2575bd, #18aba1);
    color: #ffffff;
}

body.member-portal-theme .member-hub-nav,
body.member-private-theme .member-hub-nav {
    border-bottom-color: rgba(119, 153, 184, 0.26);
    background: rgba(222, 239, 244, 0.94);
    box-shadow: 0 12px 28px rgba(33, 54, 82, 0.08);
}

body.member-portal-theme .member-hub-nav > a,
body.member-private-theme .member-hub-nav > a,
body.member-portal-theme .member-hub-dropdown > summary,
body.member-private-theme .member-hub-dropdown > summary,
body.member-portal-theme .member-hub-identity,
body.member-private-theme .member-hub-identity {
    color: #486278;
}

body.member-portal-theme .member-hub-nav > a:hover,
body.member-portal-theme .member-hub-nav > a:focus-visible,
body.member-portal-theme .member-hub-nav > a.is-active,
body.member-portal-theme .member-hub-dropdown > summary:hover,
body.member-portal-theme .member-hub-dropdown > summary:focus-visible,
body.member-portal-theme .member-hub-dropdown[open] > summary,
body.member-portal-theme .member-hub-dropdown.is-active > summary,
body.member-private-theme .member-hub-nav > a:hover,
body.member-private-theme .member-hub-nav > a:focus-visible,
body.member-private-theme .member-hub-nav > a.is-active,
body.member-private-theme .member-hub-dropdown > summary:hover,
body.member-private-theme .member-hub-dropdown > summary:focus-visible,
body.member-private-theme .member-hub-dropdown[open] > summary,
body.member-private-theme .member-hub-dropdown.is-active > summary {
    border-color: rgba(8, 155, 152, 0.28);
    background: rgba(255, 255, 255, 0.7);
    color: #087a77;
}

body.member-portal-theme .member-hub-dropdown-menu,
body.member-private-theme .member-hub-dropdown-menu {
    border-color: var(--line);
    background: #f5fbfe;
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.16);
}

body.member-portal-theme .member-hub-dropdown-menu a,
body.member-private-theme .member-hub-dropdown-menu a {
    color: #4b647a;
}

body.member-portal-theme .member-hub-dropdown-menu a:hover,
body.member-portal-theme .member-hub-dropdown-menu a:focus-visible,
body.member-portal-theme .member-hub-dropdown-menu a.is-active,
body.member-private-theme .member-hub-dropdown-menu a:hover,
body.member-private-theme .member-hub-dropdown-menu a:focus-visible,
body.member-private-theme .member-hub-dropdown-menu a.is-active {
    background: #dff1f1;
    color: #087a77;
}

body.member-portal-theme .member-hub-label,
body.member-private-theme .member-hub-label {
    border-color: rgba(197, 139, 29, 0.2);
    background: #fff7e7;
    color: #93630c;
}

body.member-portal-theme .member-hub-logout,
body.member-private-theme .member-hub-logout {
    border-color: rgba(216, 102, 92, 0.2);
    background: #fff3f1;
    color: #bc5148;
}

body.member-portal-theme .page-title,
body.member-private-theme .page-title {
    border-bottom-color: var(--line);
    background:
        radial-gradient(circle at 78% 18%, rgba(74, 128, 218, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(242, 249, 252, 0.98), rgba(222, 237, 246, 0.95));
}

body.member-portal-theme .member-wow-title {
    padding: 14px 0;
    background:
        linear-gradient(90deg, rgba(245, 251, 253, 0.96), rgba(226, 240, 249, 0.92)),
        linear-gradient(135deg, rgba(8, 155, 152, 0.1), rgba(199, 137, 27, 0.08));
}

body.member-portal-theme .member-wow-card {
    border-color: rgba(119, 153, 184, 0.24);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 248, 251, 0.92)),
        linear-gradient(90deg, rgba(8, 155, 152, 0.08), rgba(199, 137, 27, 0.09));
    box-shadow: 0 16px 38px rgba(33, 54, 82, 0.1);
}

body.member-portal-theme .member-title-card:not(.member-wow-card),
body.member-portal-theme .member-private-channel,
body.member-private-theme .dynamic-page-content {
    border-color: var(--line);
    background:
        linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(229, 240, 248, 0.98)),
        linear-gradient(90deg, rgba(8, 155, 152, 0.08), rgba(36, 95, 189, 0.08));
    box-shadow: 0 22px 56px rgba(33, 54, 82, 0.12);
}

body.member-portal-theme .member-dashboard-hero {
    border-color: var(--line);
    background:
        linear-gradient(90deg, rgba(250, 253, 255, 0.98) 0%, rgba(236, 246, 248, 0.96) 58%, rgba(230, 240, 250, 0.74) 100%),
        url("../img/hero-church-broadcast-light.png") right center / 46% auto no-repeat,
        linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(229, 240, 248, 0.98));
    box-shadow: 0 22px 56px rgba(33, 54, 82, 0.12);
}

body.member-portal-theme .member-stat-grid article,
body.member-portal-theme .member-quick-card,
body.member-portal-theme .member-spotlight-card,
body.member-portal-theme .member-course-card,
body.member-portal-theme .member-content-card,
body.member-portal-theme .member-panel {
    border-color: var(--line);
    background: rgba(250, 253, 255, 0.9);
    box-shadow: 0 18px 42px rgba(33, 54, 82, 0.1);
}

body.member-portal-theme .member-content-card.is-featured {
    border-color: rgba(199, 137, 27, 0.6);
    background:
        linear-gradient(135deg, #ffffff, #fff7e8),
        linear-gradient(90deg, rgba(199, 137, 27, 0.12), rgba(8, 155, 152, 0.08));
    box-shadow: 0 20px 46px rgba(142, 101, 28, 0.16);
}

body.member-portal-theme .member-individual-card.is-important {
    border-color: rgba(36, 95, 189, 0.42);
    background:
        radial-gradient(circle at 100% 0, rgba(215, 154, 40, 0.12), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f6f9ff 100%);
    box-shadow: 0 20px 48px rgba(36, 95, 189, 0.13);
}

body.member-portal-theme .member-individual-card:not(.is-important) {
    border-color: rgba(116, 151, 184, 0.28);
    background:
        radial-gradient(circle at 100% 0, rgba(36, 87, 197, 0.08), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 14px 36px rgba(33, 54, 82, 0.09);
}

@media (hover: hover) {
    body.member-portal-theme .member-individual-card:hover {
        border-color: rgba(36, 87, 197, 0.34);
        box-shadow: 0 22px 50px rgba(33, 54, 82, 0.15);
        transform: translateY(-3px);
    }
}

body.member-portal-theme .member-progress > span {
    background: #d7e5ed;
}

body.member-portal-theme .certificate-list a {
    border-color: var(--line);
    background: #f8fcff;
    color: var(--text);
}

body.member-private-theme .dynamic-page-content blockquote {
    background: #e6f3f3;
}

body.member-private-theme .dynamic-page-content th {
    background: #dcecf8;
    color: #245fbd;
}

body.member-portal-theme .private-channel-copy small {
    border-color: rgba(36, 95, 189, 0.16);
    background: #f7fbfe;
}

.header-icon-action,
.tv-action {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--blue);
    cursor: pointer;
}

.header-icon-action:hover,
.tv-action:hover {
    border-color: rgba(10, 167, 163, 0.48);
    color: #086c69;
}

.header-icon-action.menu-toggle {
    display: none;
}

@media (min-width: 1041px) and (max-width: 1400px) {
    body.has-member-sidebar .site-header {
        gap: 10px;
        padding-right: 18px;
        padding-left: 18px;
    }

    body.has-member-sidebar .brand {
        gap: 9px;
    }

    body.has-member-sidebar .brand strong {
        max-width: 150px;
    }

    body.has-member-sidebar .brand small,
    body.has-member-sidebar .header-action span {
        display: none;
    }

    body.has-member-sidebar .main-nav {
        gap: 8px;
        font-size: 0.84rem;
    }

    body.has-member-sidebar .header-action {
        width: 44px;
        padding: 0;
    }
}

@media (max-width: 1040px) {
    body.has-member-sidebar {
        padding-left: 0;
    }

    body.member-sidebar-open {
        overflow: hidden;
    }

    .header-icon-action.menu-toggle {
        display: grid;
    }

    .member-sidebar-toggle {
        display: inline-flex;
    }

    .member-sidebar {
        width: min(88vw, 320px);
        transform: translateX(-104%);
        transition: transform 190ms ease;
    }

    body.member-sidebar-open .member-sidebar {
        transform: translateX(0);
    }

    .member-sidebar-close {
        display: grid;
    }

    .member-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 105;
        display: block;
        border: 0;
        background: rgba(8, 18, 31, 0.58);
        opacity: 0;
        pointer-events: none;
        transition: opacity 180ms ease;
    }

    body.member-sidebar-open .member-sidebar-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

}

@media (max-width: 1040px) {
    .member-hub-nav {
        top: 76px;
        padding: 7px 14px;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .member-hub-dropdown-menu {
        position: fixed;
        top: var(--member-dropdown-top, 126px);
        right: auto;
        left: var(--member-dropdown-left, 12px);
        width: var(--member-dropdown-width, calc(100vw - 24px));
        min-width: 0;
    }

    .member-hub-dropdown-menu::before {
        display: none;
    }
}

@media (max-width: 680px) {
    .header-actions {
        gap: 6px;
    }

    .header-icon-action,
    .tv-action,
    .header-action,
    .member-sidebar-toggle {
        width: 42px;
        height: 42px;
        min-height: 42px;
        padding: 0;
    }

    .member-sidebar-toggle span {
        display: none;
    }

    .member-hub-nav {
        display: flex;
        min-height: 54px;
        gap: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px 10px;
    }

    .member-hub-nav > a,
    .member-hub-dropdown > summary,
    .member-hub-identity,
    .member-hub-logout {
        justify-content: center;
        width: auto;
        min-width: max-content;
        min-height: 34px;
        padding: 0 7px;
        font-size: 0.74rem;
    }

    .member-hub-dropdown > summary {
        gap: 4px;
        min-height: 34px;
        padding: 2px 5px 2px 8px;
        border-radius: 9px;
        box-shadow:
            0 3px 9px rgba(29, 74, 111, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.88);
    }

    .member-hub-dropdown > summary > svg:first-child {
        display: none;
    }

    .member-hub-dropdown .member-hub-chevron {
        width: 18px;
        height: 18px;
        margin-left: 2px;
        padding: 4px;
    }

    .member-hub-dropdown {
        min-width: 0;
    }

    .member-hub-nav > a span,
    .member-hub-dropdown > summary span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .member-hub-dropdown > summary span {
        flex: 0 0 auto;
        overflow: visible;
        text-overflow: clip;
    }

    .member-hub-dropdown-menu {
        max-height: min(280px, calc(100dvh - var(--member-dropdown-top, 126px) - 12px));
        overflow-y: auto;
        padding: 8px;
        border-radius: 16px;
        box-shadow: 0 20px 44px rgba(33, 54, 82, 0.23);
    }

    .member-hub-dropdown-menu a {
        min-height: 52px;
        padding: 7px;
    }

    .member-hub-dropdown-heading {
        padding: 6px 5px 10px;
    }

    .member-hub-dropdown-menu > footer {
        padding-right: 6px;
        padding-left: 6px;
    }

    .member-hub-identity {
        width: auto;
        flex: 0 0 auto;
        padding: 0;
    }

    .member-hub-identity > span:not(.member-hub-avatar),
    .member-hub-label {
        display: none;
    }

    .member-hub-avatar {
        width: 30px;
        height: 30px;
    }

    .member-hub-logout-form {
        flex: 0 0 auto;
        margin-left: 0;
    }

    .member-hub-logout {
        width: auto;
        min-width: 36px;
        justify-content: center;
        padding: 0;
    }

    .member-hub-logout span {
        display: none;
    }
}

/* Navegação contextual e telas da área privada do usuário */
.member-hub-nav > a.is-active {
    box-shadow: inset 0 -2px 0 rgba(8, 155, 152, 0.82);
}

.member-hub-nav > a:first-of-type {
    border-color: rgba(8, 155, 152, 0.2);
    background: rgba(255, 255, 255, 0.72);
}

.member-hub-nav > a:first-of-type.is-active {
    background: linear-gradient(135deg, #ffffff, #e1f6f3);
}

.area-private-page .user-dashboard-top {
    padding-bottom: 34px;
}

.area-private-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.area-private-stats article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 94px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(20, 20, 29, 0.92);
    color: #ffffff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.area-private-stats article > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 13px;
    background: rgba(199, 255, 61, 0.09);
    color: #c7ff3d;
}

.area-private-stats article > span svg {
    width: 21px;
    height: 21px;
}

.area-private-stats article div {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.area-private-stats strong {
    font-size: 1.45rem;
    line-height: 1;
}

.area-private-stats small {
    color: #8f8d9d;
    font-size: 0.72rem;
    font-weight: 800;
}

.user-private-pages-panel {
    scroll-margin-top: 160px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 0, rgba(143, 107, 223, 0.2), transparent 30%),
        linear-gradient(145deg, #15151f, #181522);
}

.user-private-pages-panel > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.user-private-pages-panel .user-panel-icon {
    margin-bottom: 0;
}

.user-private-pages-panel > small,
.user-account-security-panel > small {
    color: #a581ff;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.user-private-pages-panel > h2,
.user-account-security-panel > h2 {
    margin: 10px 0;
    color: #ffffff;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    letter-spacing: -0.04em;
}

.user-private-pages-panel > p,
.user-account-security-panel > p {
    margin: 0;
    color: #9f9dac;
    line-height: 1.65;
}

.user-private-pages-list {
    display: grid;
    gap: 8px;
    margin-top: 24px;
}

.user-private-pages-list > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
    color: #ffffff;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.user-private-pages-list > a:hover {
    border-color: rgba(165, 129, 255, 0.32);
    background: rgba(255, 255, 255, 0.075);
    transform: translateX(3px);
}

.user-private-pages-list > a > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 12px;
    background: rgba(143, 107, 223, 0.13);
    color: #b79ef0;
}

.user-private-pages-list svg {
    width: 17px;
    height: 17px;
}

.user-private-pages-list > a > svg {
    color: #777483;
}

.user-private-pages-list div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.user-private-pages-list strong,
.user-private-pages-list small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-private-pages-list small {
    color: #858292;
    font-size: 0.7rem;
}

.area-private-empty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: #8f8d9d;
    font-size: 0.8rem;
    line-height: 1.5;
}

.area-private-empty svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    color: #c7ff3d;
}

.user-account-main,
.user-account-content {
    background: #090910;
}

.user-account-heading {
    padding: clamp(28px, 5vw, 54px) 0 20px;
    background:
        radial-gradient(circle at 84% 0, rgba(143, 63, 255, 0.22), transparent 31%),
        #090910;
}

.user-account-heading .member-notice {
    margin-bottom: 16px;
}

.user-account-heading-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
    padding: clamp(26px, 4vw, 42px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    background:
        radial-gradient(circle at 100% 0, rgba(199, 255, 61, 0.08), transparent 28%),
        linear-gradient(135deg, #15151f, #21163b);
    color: #ffffff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.user-account-heading-card h1 {
    max-width: 780px;
    margin: 12px 0 10px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    letter-spacing: -0.06em;
    line-height: 0.96;
}

.user-account-heading-card p {
    max-width: 720px;
    margin: 0;
    color: #aaa8b7;
    line-height: 1.65;
}

.user-account-heading-card p strong {
    color: #ffffff;
}

.user-account-avatar {
    display: grid;
    width: clamp(72px, 9vw, 108px);
    height: clamp(72px, 9vw, 108px);
    place-items: center;
    border: 1px solid rgba(199, 255, 61, 0.22);
    border-radius: 28px;
    background: linear-gradient(135deg, #8f3fff, #c7ff3d);
    color: #111116;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(143, 63, 255, 0.24);
}

.user-account-content {
    padding: 0 0 clamp(64px, 8vw, 100px);
}

.user-account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.68fr);
    gap: 20px;
}

.user-account-profile-card,
.user-account-security-panel {
    min-height: 100%;
}

.user-account-security-panel dl {
    display: grid;
    gap: 9px;
    margin: 24px 0;
}

.user-account-security-panel dl > div {
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.user-account-security-panel dt {
    color: #777483;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.user-account-security-panel dd {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow-wrap: anywhere;
    margin: 0;
    color: #d8d6df;
    font-size: 0.82rem;
}

.user-account-security-panel dd svg {
    width: 16px;
    height: 16px;
    color: #c7ff3d;
}

.user-account-password-link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 13px;
    border: 1px solid rgba(165, 129, 255, 0.2);
    border-radius: 13px;
    background: rgba(143, 107, 223, 0.08);
    color: #ffffff;
}

.user-account-password-link > svg {
    width: 19px;
    height: 19px;
    color: #b394f4;
}

.user-account-password-link span {
    display: grid;
    gap: 3px;
}

.user-account-password-link small {
    color: #858292;
    font-size: 0.68rem;
}

.user-account-contact-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid rgba(199, 255, 61, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 0, rgba(37, 211, 102, 0.1), transparent 27%),
        radial-gradient(circle at 8% 120%, rgba(143, 107, 223, 0.19), transparent 35%),
        linear-gradient(140deg, #171721, #111118);
    color: #ffffff;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.035);
}

.user-account-contact-card::before {
    position: absolute;
    inset: 0 42px auto;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #8f6bdf, #25d366, #c7ff3d, transparent);
    content: "";
}

.user-account-contact-card::after {
    position: absolute;
    z-index: -1;
    right: -68px;
    bottom: -105px;
    width: 170px;
    height: 170px;
    border: 30px solid rgba(199, 255, 61, 0.03);
    border-radius: 50%;
    content: "";
}

.user-account-contact-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(143, 107, 223, 0.17), rgba(37, 211, 102, 0.13));
    color: #80eea8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.17);
}

.user-account-contact-icon svg {
    width: 23px;
    height: 23px;
}

.user-account-contact-copy {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.user-account-contact-copy > small {
    color: #a581ff;
    font-size: 0.59rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.user-account-contact-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.3rem, 2.1vw, 1.72rem);
    letter-spacing: -0.035em;
}

.user-account-contact-copy p {
    margin: 0;
    color: #9693a2;
    font-size: 0.78rem;
    line-height: 1.5;
}

.user-account-contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.user-account-contact-email {
    display: grid;
    min-height: 48px;
    align-content: center;
    gap: 3px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.user-account-contact-email small {
    color: #777483;
    font-size: 0.51rem;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.user-account-contact-email a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    overflow-wrap: anywhere;
    color: #e6e3ec;
    font-size: 0.72rem;
    font-weight: 750;
    text-decoration: none;
}

.user-account-contact-email a:hover,
.user-account-contact-email a:focus-visible {
    color: #c7ff3d;
}

.user-account-contact-email svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    color: #a581ff;
}

.user-account-whatsapp-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #25d366;
    border-radius: 12px;
    background: linear-gradient(135deg, #45df7e, #25d366);
    color: #07180e;
    font-size: 0.72rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.15);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.user-account-whatsapp-action svg {
    width: 17px;
    height: 17px;
}

.user-account-whatsapp-action:hover,
.user-account-whatsapp-action:focus-visible {
    border-color: #6bef9a;
    background: linear-gradient(135deg, #6bef9a, #31db70);
    color: #07180e;
    box-shadow: 0 13px 30px rgba(37, 211, 102, 0.22);
    transform: translateY(-1px);
}

.user-account-whatsapp-action:focus-visible,
.user-account-contact-email a:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.16);
    outline-offset: 2px;
}

.user-account-contact-unavailable {
    color: #8f8c99;
    font-size: 0.75rem;
}

@media (max-width: 980px) {
    .area-private-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .user-account-grid {
        grid-template-columns: 1fr;
    }

    .user-account-contact-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .user-account-contact-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .area-private-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .area-private-stats article {
        grid-template-columns: 1fr;
        align-content: start;
        min-height: 132px;
    }

    .user-account-heading-card {
        grid-template-columns: 1fr;
        padding: 26px 20px;
        border-radius: 22px;
    }

    .user-account-avatar {
        grid-row: 1;
        width: 66px;
        height: 66px;
        border-radius: 19px;
    }

    .user-account-contact-card {
        gap: 14px;
        padding: 17px;
        border-radius: 19px;
    }

    .user-account-contact-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .user-account-contact-copy h2 {
        font-size: 1.2rem;
    }

    .user-account-contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .user-account-contact-email,
    .user-account-whatsapp-action {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .member-hub-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Home — faixa de anúncios dos Conteúdos Prime */
.home-prime-marquee {
    position: relative;
    overflow: hidden;
    margin-bottom: clamp(10px, 1.2vw, 18px);
    padding: clamp(14px, 1.6vw, 22px) 0 clamp(36px, 4vw, 52px);
    border-block: 1px solid rgba(199, 255, 61, 0.14);
    background:
        radial-gradient(circle at 88% 12%, rgba(124, 58, 237, 0.3), transparent 25rem),
        radial-gradient(circle at 8% 105%, rgba(199, 255, 61, 0.09), transparent 22rem),
        #0e0d17;
    color: #f8f8f4;
}

.home-prime-marquee::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.home-prime-marquee-shell {
    position: relative;
    z-index: 1;
}

.home-prime-marquee-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: end;
    margin-bottom: 18px;
}

.home-prime-marquee-heading {
    max-width: 880px;
}

.home-prime-marquee-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: #ffd86b;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-prime-marquee-heading > span svg {
    width: 16px;
    height: 16px;
}

.home-prime-marquee-heading h2 {
    max-width: 780px;
    margin: 0;
    color: #fff;
    font-size: clamp(1.6rem, 2.35vw, 2.55rem);
    line-height: 1;
    letter-spacing: -0.045em;
}

.home-prime-marquee-heading p {
    max-width: 760px;
    margin: 9px 0 0;
    color: #aaa9b7;
    font-size: clamp(0.9rem, 1.2vw, 1rem);
    line-height: 1.42;
}

.home-prime-marquee-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.home-prime-marquee-cta,
.home-prime-marquee-toggle {
    min-height: 42px;
    border: 1px solid rgba(199, 255, 61, 0.34);
    border-radius: 999px;
    background: #c7ff3d;
    color: #09090f;
    box-shadow: 0 14px 34px rgba(199, 255, 61, 0.11);
}

.home-prime-marquee-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    font-size: 0.78rem;
    font-weight: 900;
    text-decoration: none;
}

.home-prime-marquee-cta svg,
.home-prime-marquee-toggle svg {
    width: 17px;
    height: 17px;
}

.home-prime-marquee-cta:hover,
.home-prime-marquee-cta:focus-visible {
    background: #d6ff70;
    color: #09090f;
    transform: translateY(-2px);
}

.home-prime-marquee-toggle {
    display: inline-grid;
    place-items: center;
    width: 42px;
    padding: 0;
    cursor: pointer;
}

.home-prime-marquee-toggle:hover,
.home-prime-marquee-toggle:focus-visible {
    background: #fff;
    border-color: #fff;
}

.home-prime-marquee-viewport {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.home-prime-marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: homePrimeMarqueeScroll 50s linear infinite;
}

.home-prime-marquee:hover .home-prime-marquee-track,
.home-prime-marquee:focus-within .home-prime-marquee-track,
.home-prime-marquee.is-paused .home-prime-marquee-track {
    animation-play-state: paused;
}

.home-prime-marquee-group {
    display: flex;
    flex: none;
    gap: 16px;
    padding-right: 16px;
}

.home-prime-marquee-card {
    position: relative;
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr) 28px;
    gap: 13px;
    align-items: center;
    width: clamp(310px, 29vw, 420px);
    min-height: 112px;
    overflow: hidden;
    padding: 8px 12px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(32, 31, 44, 0.96), rgba(20, 19, 29, 0.98));
    color: #f7f7f2;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.home-prime-marquee-card:hover,
.home-prime-marquee-card:focus-visible {
    border-color: rgba(199, 255, 61, 0.55);
    background: linear-gradient(135deg, rgba(41, 39, 55, 0.98), rgba(25, 23, 36, 0.99));
    color: #fff;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.home-prime-marquee-cover {
    position: relative;
    display: grid;
    place-items: center;
    align-self: stretch;
    min-height: 96px;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.9), rgba(199, 255, 61, 0.22));
    color: #c7ff3d;
}

.home-prime-marquee-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-prime-marquee-cover > svg {
    width: 32px;
    height: 32px;
}

.home-prime-marquee-cover::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 48%, rgba(8, 7, 14, 0.8));
    content: "";
}

.home-prime-marquee-cover small {
    position: absolute;
    z-index: 1;
    right: 7px;
    bottom: 7px;
    left: 7px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.home-prime-marquee-cover small svg {
    width: 12px;
    height: 12px;
    color: #c7ff3d;
}

.home-prime-marquee-card-body {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.home-prime-marquee-card-body > small {
    overflow: hidden;
    color: #c7ff3d;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.home-prime-marquee-card-body > strong {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 1.16;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-prime-marquee-card-body > span {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
}

.home-prime-marquee-card-body em {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #9795a4;
    font-size: 0.64rem;
    font-style: normal;
    font-weight: 750;
}

.home-prime-marquee-card-body em svg {
    width: 13px;
    height: 13px;
}

.home-prime-marquee-card-arrow {
    width: 18px;
    height: 18px;
    color: #c7ff3d;
    transition: transform 180ms ease;
}

.home-prime-marquee-card:hover .home-prime-marquee-card-arrow,
.home-prime-marquee-card:focus-visible .home-prime-marquee-card-arrow {
    transform: translateX(4px);
}

.home-prime-marquee.is-static .home-prime-marquee-track {
    display: block;
    width: 100%;
    animation: none;
}

.home-prime-marquee.is-static .home-prime-marquee-group:first-child {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    width: 100%;
    padding-right: 0;
}

.home-prime-marquee.is-static .home-prime-marquee-group[aria-hidden="true"] {
    display: none;
}

.home-prime-marquee.is-static .home-prime-marquee-card {
    width: auto;
}

@keyframes homePrimeMarqueeScroll {
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .home-prime-marquee-header {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start;
    }

    .home-prime-marquee-actions {
        justify-content: space-between;
    }

    .home-prime-marquee-card {
        width: clamp(310px, 72vw, 420px);
    }
}

@media (max-width: 560px) {
    .home-prime-marquee {
        margin-bottom: 14px;
        padding: 16px 0 38px;
    }

    .home-prime-marquee-header {
        margin-bottom: 16px;
    }

    .home-prime-marquee-heading h2 {
        font-size: clamp(1.5rem, 7vw, 1.95rem);
    }

    .home-prime-marquee-actions {
        align-items: stretch;
    }

    .home-prime-marquee-cta {
        flex: 1;
        padding-inline: 15px;
    }

    .home-prime-marquee-card {
        grid-template-columns: 82px minmax(0, 1fr) 20px;
        gap: 12px;
        width: min(310px, calc(100vw - 48px));
        min-height: 104px;
        border-radius: 18px;
    }

    .home-prime-marquee-cover {
        min-height: 88px;
    }

    .home-prime-marquee-card-body em:last-child {
        display: none;
    }

    .home-prime-marquee.is-static .home-prime-marquee-group:first-child {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-prime-marquee-viewport {
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-mask-image: none;
        mask-image: none;
        scrollbar-color: rgba(199, 255, 61, 0.55) rgba(255, 255, 255, 0.07);
    }

    .home-prime-marquee-track {
        animation: none;
        transform: none;
    }

    .home-prime-marquee-group[aria-hidden="true"],
    .home-prime-marquee-toggle {
        display: none;
    }
}

@media (max-width: 380px) {
    .site-header {
        padding-right: 10px;
        padding-left: 10px;
    }

    .brand strong {
        max-width: 112px;
    }

    .header-actions {
        gap: 5px;
    }

    .header-icon-action,
    .tv-action,
    .header-action,
    .member-sidebar-toggle {
        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .home-page .home-watch-grid .player-controls {
        gap: 3px;
        padding: 6px;
    }

    .home-page .home-watch-grid .icon-button {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}

.player-control-spacer {
    flex: 1;
}

.player-device-status {
    overflow: hidden;
    max-width: 0;
    color: #9fb2c5;
    font-size: 0.76rem;
    font-weight: 800;
    opacity: 0;
    white-space: nowrap;
    transition: max-width 180ms ease, opacity 180ms ease;
}

.player-device-status.is-visible {
    max-width: 280px;
    opacity: 1;
}

.icon-button.is-active {
    border-color: #68e0c5;
    background: rgba(10, 167, 163, 0.2);
    color: #68e0c5;
}

.icon-button.is-unavailable {
    border-color: rgba(255, 255, 255, 0.1);
    color: #7f91a2;
}

/* Modo TV */
.tv-mode-page {
    min-height: 100vh;
    overflow: hidden;
    background: #090e14;
    color: #ffffff;
}

.tv-mode-page > .site-header,
.tv-mode-page > .page-pattern,
.tv-mode-page > .site-footer {
    display: none;
}

.tv-experience {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(10, 167, 163, 0.08), transparent 34%),
        #090e14;
}

.tv-channel-bar {
    position: relative;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 78px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(9, 14, 20, 0.94);
    transition: opacity 180ms ease, transform 180ms ease;
}

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

.tv-brand strong,
.tv-brand small {
    display: block;
    overflow: hidden;
    max-width: 340px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tv-brand small {
    margin-top: 2px;
    color: #93a7ba;
    font-size: 0.76rem;
}

.tv-channel-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tv-channel-status .status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(233, 110, 97, 0.32);
    border-radius: 8px;
    background: rgba(233, 110, 97, 0.12);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tv-channel-status > strong {
    min-width: 58px;
    color: #d9e5ee;
    font-size: 1.08rem;
    text-align: center;
}

.tv-channel-status .tv-action {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.tv-stage-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(300px, 24vw, 390px);
    height: calc(100vh - 78px);
    transition: grid-template-columns 220ms ease;
}

.tv-player-area {
    display: grid;
    min-width: 0;
    min-height: 0;
    place-items: center;
    padding: clamp(12px, 2vw, 28px);
}

.tv-player-area .player-stage {
    width: 100%;
    max-height: 100%;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
}

.tv-player-area .broadcast-topline {
    background: #111923;
}

.tv-guide {
    overflow-y: auto;
    min-width: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: #101821;
    transition: opacity 180ms ease, transform 220ms ease;
}

.tv-guide > section,
.tv-guide-actions {
    padding: clamp(20px, 2.2vw, 30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.tv-guide .panel-kicker {
    color: #68e0c5;
}

.tv-guide-current h1 {
    margin: 12px 0 9px;
    font-size: clamp(1.45rem, 2vw, 2.15rem);
    line-height: 1.12;
}

.tv-guide-current p {
    margin: 0;
    color: #9fb0c0;
    line-height: 1.55;
}

.tv-program-meta {
    display: grid;
    gap: 9px;
    margin-top: 20px;
}

.tv-program-meta span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #c8d5df;
    font-size: 0.82rem;
}

.tv-program-meta svg {
    width: 17px;
    color: #d79a28;
}

.tv-guide-next {
    display: grid;
    gap: 8px;
    background: rgba(36, 87, 197, 0.1);
}

.tv-guide-next strong {
    font-size: 1.12rem;
}

.tv-guide-next small {
    color: #f0c975;
    font-weight: 800;
}

.tv-cast-panel {
    display: grid;
    gap: 9px;
    background: rgba(10, 167, 163, 0.06);
}

.tv-cast-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tv-cast-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(104, 224, 197, 0.26);
    border-radius: 8px;
    background: rgba(10, 167, 163, 0.12);
    color: #68e0c5;
}

.tv-cast-icon svg {
    width: 20px;
    height: 20px;
}

.tv-source-badge {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 6px;
    color: #b7c7d4;
    font-size: 0.68rem;
    font-weight: 900;
    text-transform: uppercase;
}

.tv-cast-panel > strong {
    font-size: 1.04rem;
}

.tv-cast-panel > small {
    color: #9fb0c0;
    line-height: 1.5;
}

.tv-cast-panel.is-connected .tv-cast-icon {
    border-color: rgba(104, 224, 197, 0.56);
    background: rgba(10, 167, 163, 0.22);
}

.tv-cast-panel.is-youtube {
    background: rgba(229, 76, 63, 0.06);
}

.tv-cast-panel.is-youtube .tv-cast-icon {
    border-color: rgba(229, 76, 63, 0.3);
    background: rgba(229, 76, 63, 0.12);
    color: #ff8d83;
}

.tv-guide-playlist {
    display: grid;
    gap: 4px;
}

.tv-playlist-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tv-playlist-row b {
    color: #68e0c5;
    font-size: 0.74rem;
}

.tv-playlist-row span {
    overflow: hidden;
    color: #d6e1e9;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tv-guide-actions {
    display: grid;
    gap: 8px;
}

.tv-action-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d6e1e9;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.tv-action-row svg {
    color: #68e0c5;
}

.tv-cast-panel .tv-action-row {
    margin-top: 5px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
}

.tv-cast-panel .tv-action-row:hover,
.tv-cast-panel .tv-action-row:focus-visible {
    border-color: rgba(104, 224, 197, 0.42);
    background: rgba(10, 167, 163, 0.1);
}

.tv-youtube-action svg {
    color: #ff8d83;
}

.tv-action:focus-visible,
.tv-action-row:focus-visible,
.tv-mode-page .icon-button:focus-visible {
    outline: 3px solid #f0c975;
    outline-offset: 3px;
}

.tv-guide-collapsed .tv-stage-layout {
    grid-template-columns: minmax(0, 1fr) 0;
}

.tv-guide-collapsed .tv-guide {
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
}

.tv-ui-idle .tv-channel-bar {
    opacity: 0.12;
    transform: translateY(-8px);
}

.tv-ui-idle .player-controls,
.tv-ui-idle .broadcast-topline {
    opacity: 0.18;
    transition: opacity 180ms ease;
}

@media (max-width: 1100px) {
    .member-courses-hero.member-individual-contents-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .member-individual-contents-summary {
        min-width: 0;
    }
}

@media (max-width: 920px) {
    .member-auth-grid,
    .member-auth-forms,
    .member-portal-grid,
    .member-wow-shell,
    .member-course-grid,
    .member-content-grid,
    .member-spotlight-grid {
        grid-template-columns: 1fr;
    }

    .member-individual-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-contents-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-dashboard-hero {
        grid-template-columns: 1fr;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(242, 250, 250, 0.94)),
            linear-gradient(135deg, #ffffff, #eefbfa);
    }

    body.member-portal-theme .member-dashboard-hero {
        background:
            linear-gradient(90deg, rgba(250, 253, 255, 0.98), rgba(236, 246, 248, 0.94)),
            linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(229, 240, 248, 0.98));
    }

    .member-journey-summary {
        padding-top: 18px;
        padding-left: 0;
        border-top: 1px solid rgba(93, 122, 150, 0.18);
        border-left: 0;
    }

    .member-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-stat-grid,
    .certificate-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-dashboard-hero {
        align-items: flex-start;
    }

    .member-wow-card {
        grid-template-columns: 42px minmax(0, 1fr) auto;
        min-height: 96px;
    }

    .member-wow-card .secondary-action {
        grid-column: auto;
        align-self: center;
    }

    .member-auth-forms {
        order: 1;
    }

    .member-auth-intro {
        order: 2;
    }

    .tv-mode-page {
        overflow: auto;
    }

    .tv-stage-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .tv-player-area {
        padding: 12px;
    }

    .tv-guide {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 0;
    }

    .tv-guide-collapsed .tv-stage-layout {
        grid-template-columns: 1fr;
    }

    .tv-guide-collapsed .tv-guide {
        display: none;
    }
}

@media (max-width: 680px) {
    .member-individual-grid {
        grid-template-columns: 1fr;
    }

    .member-contents-page-grid {
        grid-template-columns: 1fr;
    }

    .member-auth-theme {
        background-image:
            linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 251, 249, 0.88) 48%, rgba(237, 249, 247, 0.92)),
            radial-gradient(circle at 52% 100%, rgba(190, 214, 94, 0.18), transparent 30%),
            radial-gradient(circle at 0% 0%, rgba(233, 110, 97, 0.08), transparent 34%),
            url("../img/evento-fox-tv-online.png");
        background-attachment: scroll;
    }

    .member-auth-theme .page-title {
        padding: 18px 0 8px;
    }

    .member-auth-theme .member-auth-title .title-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }

    .member-auth-theme .page-title h1 {
        font-size: clamp(1.35rem, 8vw, 1.8rem);
    }

    .member-auth-theme .page-title p {
        justify-self: start;
        font-size: 0.88rem;
    }

    .member-auth-theme .member-title-card {
        display: none;
    }

    .member-wow-title {
        padding: 12px 0;
    }

    .member-wow-copy h1 {
        font-size: clamp(1.7rem, 9vw, 2.25rem);
    }

    .member-wow-copy p {
        font-size: 0.9rem;
    }

    .member-wow-card {
        grid-template-columns: 42px minmax(0, 1fr);
        min-height: auto;
        padding: 14px;
    }

    .member-wow-card .secondary-action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .member-form-grid,
    .member-quick-grid,
    .member-spotlight-grid,
    .member-stat-grid,
    .certificate-meta {
        grid-template-columns: 1fr;
    }

    .member-dashboard-copy h2 {
        font-size: clamp(1.55rem, 8vw, 2.25rem);
    }

    .member-journey-summary {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .member-dashboard-actions {
        justify-content: stretch;
    }

    .member-dashboard-actions .secondary-action {
        width: 100%;
    }

    .member-auth-intro,
    .member-auth-card {
        padding: 16px;
    }

    .member-auth-benefits {
        grid-template-columns: 1fr;
    }

    .member-courses-hero {
        grid-template-columns: 1fr;
        padding: 16px;
        background:
            linear-gradient(135deg, rgba(250, 253, 255, 0.98), rgba(235, 247, 248, 0.95));
    }

    .member-courses-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }

    .member-individual-contents-hero h1 {
        white-space: normal;
    }

    .member-courses-summary.member-individual-contents-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-self: stretch;
        width: 100%;
    }

    .member-lesson-list li {
        grid-template-columns: 1fr;
    }

    .member-lesson-actions,
    .member-lesson-actions form,
    .member-lesson-complete-button,
    .member-lesson-done {
        width: 100%;
    }

    .member-course-actions .primary-action,
    .member-course-actions .secondary-action,
    .member-course-actions .ghost-action,
    .member-course-actions form {
        width: 100%;
    }

    .certificate-actions {
        justify-content: stretch;
    }

    .certificate-actions .primary-action,
    .certificate-actions .secondary-action {
        flex: 1;
    }

    .certificate-border {
        min-height: auto;
        padding: 24px 16px;
    }

    .certificate-brand {
        padding-inline: 38px;
    }

    .certificate-brand-logo {
        width: 120px;
        height: 120px;
    }

    .certificate-meta,
    .certificate-footer {
        grid-template-columns: minmax(0, 1fr);
    }

    .certificate-footer {
        gap: 18px;
        margin-top: 16px;
    }

    .certificate-corner {
        width: 42px;
        height: 42px;
    }

    .header-actions {
        margin-left: auto;
    }

    .player-control-spacer,
    .player-device-status {
        display: none;
    }

    .tv-channel-bar {
        height: 68px;
        padding: 10px 12px;
    }

    .tv-brand small,
    .tv-channel-status .status-pill,
    .tv-channel-status > strong {
        display: none;
    }

    .tv-player-area .player-controls {
        gap: 5px;
        padding: 9px;
    }

    .tv-player-area .icon-button {
        width: 39px;
        height: 39px;
    }
}

@media print {
    @page {
        size: A4 landscape;
        margin: 6mm;
    }

    .certificate-page .site-header,
    .certificate-page .site-footer,
    .certificate-page .member-hub-nav,
    .certificate-page .page-pattern,
    .certificate-actions {
        display: none !important;
    }

    html,
    body.certificate-page {
        width: 100%;
        min-height: 0;
        background: #ffffff !important;
    }

    .certificate-page,
    .certificate-page main,
    .certificate-page .section-block,
    .certificate-page .section-shell {
        margin: 0;
        padding: 0;
        background: #ffffff;
        max-width: none;
        width: 100%;
    }

    .certificate-sheet {
        width: 100%;
        margin: 0;
        border: 0;
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
        padding: 0;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .certificate-border {
        height: 186mm;
        min-height: 0;
        gap: 1.5mm;
        padding: 5mm 12mm;
        border-color: #ae7c1f;
        border-radius: 0;
        background: #fffefb;
        box-decoration-break: clone;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .certificate-border::before {
        border-color: #278b87;
    }

    .certificate-border::after {
        width: 80mm;
        border: 5mm double #f2f7f4;
    }

    .certificate-corner {
        border-color: #ae7c1f;
    }

    .certificate-brand {
        min-height: 0;
        gap: 1.5mm;
    }

    .certificate-brand-logo {
        width: 30mm;
        height: 30mm;
        border-color: #b9dddb;
        box-shadow: none;
    }

    .certificate-seal {
        width: 12mm;
        height: 12mm;
        margin-top: 0;
        border-color: #d8bc7d;
        background: #fff5d8;
        box-shadow: none;
    }

    .certificate-border h1 {
        font-size: 28pt;
    }

    .certificate-recipient {
        font-size: 25pt;
    }

    .certificate-border h2 {
        font-size: 19pt;
    }

    .certificate-meta,
    .certificate-footer {
        width: 84%;
    }

    .certificate-meta {
        margin-top: 2mm;
    }

    .certificate-meta > span {
        padding: 2mm 3mm;
        border-color: #dce3ea;
        background: #ffffff;
    }

    .certificate-name-line {
        background: #c5a258;
    }

    .certificate-footer {
        gap: 10mm;
        margin-top: 1.5mm;
        padding-top: 2mm;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .certificate-code {
        padding: 2mm 3mm;
        border-color: #b9c9ef;
        background: #f4f8ff;
    }
}

/* Premium vibrant public theme */
body.site-theme-premium {
    --bg: #f4f1ff;
    --surface: #ffffff;
    --surface-soft: #f0edff;
    --surface-warm: #fff4df;
    --text: #17142b;
    --muted: #67637c;
    --soft: #8a86a0;
    --line: #ddd7f2;
    --accent: #7c3aed;
    --blue: #4f46e5;
    --gold: #f59e0b;
    --coral: #f43f5e;
    --green: #059669;
    --premium-cyan: #06b6d4;
    --premium-navy: #171132;
    --premium-purple: #6d28d9;
    --shadow: 0 28px 72px rgba(59, 35, 125, 0.18);
    background:
        radial-gradient(circle at 8% 10%, rgba(124, 58, 237, 0.16), transparent 28%),
        radial-gradient(circle at 92% 20%, rgba(6, 182, 212, 0.14), transparent 30%),
        linear-gradient(180deg, #faf9ff 0%, #f1effc 50%, #ffffff 100%);
}

body.site-theme-premium .page-pattern {
    opacity: 0.9;
    background-image:
        radial-gradient(circle at 20% 14%, rgba(124, 58, 237, 0.16), transparent 22%),
        radial-gradient(circle at 84% 8%, rgba(6, 182, 212, 0.14), transparent 24%),
        linear-gradient(rgba(109, 40, 217, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.04) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px;
}

body.site-theme-premium .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 88% 0%, rgba(6, 182, 212, 0.2), transparent 28%),
        linear-gradient(120deg, rgba(20, 15, 48, 0.97), rgba(43, 27, 91, 0.95));
    box-shadow: 0 18px 42px rgba(20, 15, 48, 0.22);
    backdrop-filter: blur(22px) saturate(1.2);
}

body.site-theme-premium .brand strong {
    color: #ffffff;
}

body.site-theme-premium .brand small {
    color: #c8c1eb;
}

body.site-theme-premium .brand-mark {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.82), rgba(6, 182, 212, 0.72));
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(6, 182, 212, 0.2);
}

body.site-theme-premium .brand-mark.has-image {
    width: 68px;
    height: 68px;
    overflow: visible;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

body.site-theme-premium .main-nav,
body.site-theme-premium .nav-dropdown > button {
    color: #d9d4f4;
}

@media (min-width: 1041px) {
    body.site-theme-premium.member-portal-theme .main-nav > a,
    body.site-theme-premium.member-private-theme .main-nav > a,
    body.site-theme-premium.member-portal-theme .nav-dropdown > button,
    body.site-theme-premium.member-private-theme .nav-dropdown > button {
        color: #d9d4f4;
    }
}

body.site-theme-premium .main-nav a:hover,
body.site-theme-premium .main-nav a.is-active,
body.site-theme-premium .nav-dropdown > button:hover,
body.site-theme-premium .nav-dropdown > button.is-active,
body.site-theme-premium .nav-dropdown.is-open > button {
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.8), rgba(6, 182, 212, 0.5));
    box-shadow: 0 10px 24px rgba(7, 8, 40, 0.2);
}

body.site-theme-premium .nav-dropdown-menu {
    border-color: rgba(124, 58, 237, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 26px 60px rgba(20, 15, 48, 0.24);
}

body.site-theme-premium .nav-dropdown-menu a:hover,
body.site-theme-premium .nav-dropdown-menu a:focus-visible {
    color: var(--premium-purple);
    background: #f1edff;
}

body.site-theme-premium .nav-dropdown-menu a.is-current {
    border-color: rgba(124, 58, 237, 0.26);
    color: var(--premium-purple);
    background: linear-gradient(135deg, #f0ebff, #eefbff);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.11);
}

body.site-theme-premium .nav-dropdown-menu a.is-current .nav-dropdown-item-icon {
    background: linear-gradient(145deg, #7c3aed, #06b6d4);
    color: #ffffff;
}

body.site-theme-premium .header-action,
body.site-theme-premium .primary-action {
    border-color: rgba(124, 58, 237, 0.32);
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 48%, #06b6d4 100%);
    box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
}

body.site-theme-premium .member-journey-summary .primary-action span {
    color: #ffffff;
}

body.site-theme-premium .site-header .header-action {
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(135deg, #f59e0b, #f43f5e);
    box-shadow: 0 14px 30px rgba(244, 63, 94, 0.24);
}

body.site-theme-premium .secondary-action,
body.site-theme-premium .ghost-action {
    border-color: rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    color: var(--premium-purple);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 10px 24px rgba(59, 35, 125, 0.08);
}

body.site-theme-premium .page-title {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(124, 58, 237, 0.18);
    background:
        radial-gradient(circle at 80% 22%, rgba(34, 211, 238, 0.28), transparent 26%),
        radial-gradient(circle at 18% 0%, rgba(167, 139, 250, 0.24), transparent 28%),
        linear-gradient(135deg, #171132 0%, #31236d 58%, #6d28d9 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

body.site-theme-premium .page-title h1,
body.site-theme-premium .page-title h2 {
    color: #ffffff;
    text-shadow: 0 10px 34px rgba(7, 8, 40, 0.28);
}

body.site-theme-premium .page-title p {
    color: rgba(235, 232, 255, 0.78);
}

body.site-theme-premium .dynamic-page-title-meta > span {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(239, 236, 255, 0.76);
}

body.site-theme-premium .dynamic-page-title-meta svg {
    color: #67e8f9;
}

body.site-theme-premium .dynamic-page-title-meta time {
    color: #ffffff;
}

body.site-theme-premium.member-auth-theme .member-auth-title h1 {
    color: #241a4d;
    text-shadow: none;
}

body.site-theme-premium.member-auth-theme .member-auth-title .title-grid > p {
    color: #625b78;
}

body.site-theme-premium .page-title .panel-kicker,
body.site-theme-premium .page-title .admin-kicker {
    color: #fbbf24;
}

body.site-theme-premium .home-broadcast-hero::before {
    background:
        linear-gradient(90deg, rgba(16, 11, 40, 0.9) 0%, rgba(49, 35, 109, 0.67) 44%, rgba(49, 35, 109, 0.12) 76%),
        radial-gradient(circle at 78% 26%, rgba(6, 182, 212, 0.22), transparent 34%);
}

body.site-theme-premium .home-broadcast-copy h1,
body.site-theme-premium .hero-copy h1 {
    text-shadow: 0 16px 44px rgba(12, 8, 34, 0.42);
}

body.site-theme-premium .section-soft {
    background:
        radial-gradient(circle at 8% 50%, rgba(124, 58, 237, 0.12), transparent 28%),
        radial-gradient(circle at 92% 30%, rgba(6, 182, 212, 0.12), transparent 28%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(242, 238, 255, 0.86));
}

body.site-theme-premium .section-white {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(12px);
}

body.site-theme-premium .hero-status,
body.site-theme-premium .now-card,
body.site-theme-premium .next-card,
body.site-theme-premium .share-card,
body.site-theme-premium .home-social-card,
body.site-theme-premium .portal-tile,
body.site-theme-premium .announcement-card,
body.site-theme-premium .prayer-form,
body.site-theme-premium .prayer-wall article,
body.site-theme-premium .info-card,
body.site-theme-premium .giving-card,
body.site-theme-premium .feature-list article,
body.site-theme-premium .contact-card,
body.site-theme-premium .contact-social-panel,
body.site-theme-premium .schedule-item,
body.site-theme-premium .schedule-now-card,
body.site-theme-premium .premium-feature-card,
body.site-theme-premium .live-interaction-card,
body.site-theme-premium .live-wall-panel,
body.site-theme-premium .public-wall-card,
body.site-theme-premium .notification-subscribe-panel,
body.site-theme-premium .church-command-panel,
body.site-theme-premium .member-title-card,
body.site-theme-premium .member-auth-card,
body.site-theme-premium .member-quick-card,
body.site-theme-premium .member-spotlight-card,
body.site-theme-premium .member-course-card,
body.site-theme-premium .member-content-card,
body.site-theme-premium .member-panel,
body.site-theme-premium .radio-schedule-card,
body.site-theme-premium .radio-disc-panel,
body.site-theme-premium .private-player-card,
body.site-theme-premium .private-playlist-panel {
    border-color: rgba(109, 40, 217, 0.17);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.09), transparent 30%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 255, 0.94));
    box-shadow:
        0 24px 58px rgba(59, 35, 125, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.site-theme-premium .companion-panel {
    border-color: rgba(124, 58, 237, 0.18);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.13), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 235, 255, 0.9));
    box-shadow: 0 28px 64px rgba(59, 35, 125, 0.16);
}

body.site-theme-premium .private-playlist-heading {
    color: #21183f;
}

body.site-theme-premium .private-playlist-heading small {
    color: #6d28d9;
}

body.site-theme-premium .private-playlist-list button {
    border-color: rgba(109, 40, 217, 0.16);
    color: #21183f;
    background: rgba(255, 255, 255, 0.76);
}

body.site-theme-premium .private-playlist-list button:hover,
body.site-theme-premium .private-playlist-list button.is-active {
    border-color: rgba(6, 182, 212, 0.68);
    background:
        linear-gradient(90deg, rgba(124, 58, 237, 0.13), rgba(6, 182, 212, 0.12)),
        #ffffff;
}

body.site-theme-premium .private-playlist-list button.is-active {
    box-shadow: inset 3px 0 0 #6d28d9, 0 10px 22px rgba(79, 70, 229, 0.1);
}

body.site-theme-premium .private-playlist-number {
    background: rgba(109, 40, 217, 0.1);
    color: #6d28d9;
}

body.site-theme-premium .private-playlist-list button.is-active .private-playlist-number {
    color: #ffffff;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
}

body.site-theme-premium .private-playlist-copy strong {
    color: #21183f;
}

body.site-theme-premium .private-playlist-copy small {
    color: #675f7d;
}

body.site-theme-premium .now-card,
body.site-theme-premium .schedule-item.is-current,
body.site-theme-premium .radio-now-card {
    border-color: rgba(124, 58, 237, 0.34);
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.18), transparent 34%),
        linear-gradient(145deg, #ffffff 0%, #f0ebff 58%, #fff3dd 100%);
}

body.site-theme-premium .now-card::before,
body.site-theme-premium .schedule-now-card::before,
body.site-theme-premium .member-auth-card::before,
body.site-theme-premium .member-course-card::before {
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f59e0b, #f43f5e);
}

body.site-theme-premium .contact-card-icon,
body.site-theme-premium .now-live-icon,
body.site-theme-premium .member-wow-card-icon {
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(145deg, #7c3aed, #06b6d4);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.22);
}

body.site-theme-premium .panel-kicker,
body.site-theme-premium .admin-kicker {
    color: var(--premium-purple);
}

body.site-theme-premium .portal-announcements .panel-kicker {
    color: #ffd36d;
    text-shadow: 0 1px 10px rgba(255, 211, 109, 0.16);
}

body.site-theme-premium .program-meta span,
body.site-theme-premium .pix-key-display,
body.site-theme-premium .prayer-form input,
body.site-theme-premium .prayer-form textarea,
body.site-theme-premium .member-auth-card input,
body.site-theme-premium .live-interaction-card input:not([type="radio"]):not([type="checkbox"]),
body.site-theme-premium .live-message-form input:not([type="radio"]):not([type="checkbox"]),
body.site-theme-premium .live-message-form select,
body.site-theme-premium .live-message-form textarea {
    border-color: rgba(124, 58, 237, 0.18);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
}

body.site-theme-premium .prayer-form input:focus,
body.site-theme-premium .prayer-form textarea:focus,
body.site-theme-premium .member-auth-card input:focus {
    border-color: rgba(124, 58, 237, 0.6);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

body.site-theme-premium .pix-key-card {
    border-color: rgba(124, 58, 237, 0.18);
    border-radius: 16px;
    background:
        radial-gradient(circle at 95% 0%, rgba(6, 182, 212, 0.12), transparent 26%),
        linear-gradient(145deg, #ffffff, #f5f1ff);
    box-shadow: 0 22px 48px rgba(59, 35, 125, 0.13);
}

body.site-theme-premium .pix-key-heading > .pix-key-label {
    color: #7c3aed;
}

body.site-theme-premium .pix-key-type-badge {
    border-color: rgba(124, 58, 237, 0.22);
    color: #6d28d9;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(6, 182, 212, 0.1));
}

body.site-theme-premium .pix-key-card .pix-actions .primary-action {
    border-color: rgba(124, 58, 237, 0.32);
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 48%, #06b6d4 100%);
    box-shadow: 0 16px 34px rgba(79, 70, 229, 0.28);
}

body.site-theme-premium .premium-feature-card:hover,
body.site-theme-premium .portal-tile:hover,
body.site-theme-premium .member-quick-card:hover,
body.site-theme-premium .public-wall-card:hover {
    border-color: rgba(124, 58, 237, 0.34);
    transform: translateY(-4px);
    box-shadow: 0 30px 68px rgba(59, 35, 125, 0.2);
}

body.site-theme-premium .site-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: #e9e5ff;
    background:
        radial-gradient(circle at 82% 10%, rgba(6, 182, 212, 0.16), transparent 24%),
        linear-gradient(135deg, #171132, #2c1d60 60%, #3f1d78);
    box-shadow: 0 -20px 52px rgba(23, 17, 50, 0.16);
}

body.site-theme-premium .site-footer strong,
body.site-theme-premium .site-footer a {
    color: #ffffff;
}

body.site-theme-premium .site-footer small,
body.site-theme-premium .site-footer span {
    color: #c8c1e6;
}

body.site-theme-premium .site-footer-social {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.09);
}

body.site-theme-premium .site-footer-social.is-whatsapp {
    border-color: rgba(74, 222, 128, 0.5);
    color: #ffffff;
    background: linear-gradient(135deg, #25d366, #16a34a);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.28);
}

body.site-theme-premium .site-footer-social.is-whatsapp:hover,
body.site-theme-premium .site-footer-social.is-whatsapp:focus-visible {
    border-color: rgba(134, 239, 172, 0.72);
    color: #ffffff;
    background: linear-gradient(135deg, #20bd5a, #12883d);
    box-shadow: 0 14px 28px rgba(22, 163, 74, 0.36);
}

body.site-theme-premium .site-footer-social.is-whatsapp svg {
    color: currentColor;
    stroke: currentColor;
}

body.site-theme-premium .site-footer-social.is-youtube {
    border-color: rgba(255, 104, 104, 0.56);
    color: #ffffff;
    background: linear-gradient(135deg, #ff0033, #c90024);
    box-shadow: 0 10px 24px rgba(255, 0, 51, 0.3);
}

body.site-theme-premium .site-footer-social.is-youtube:hover,
body.site-theme-premium .site-footer-social.is-youtube:focus-visible {
    border-color: rgba(255, 160, 160, 0.8);
    color: #ffffff;
    background: linear-gradient(135deg, #e6002e, #a8001e);
    box-shadow: 0 14px 28px rgba(255, 0, 51, 0.38);
}

body.site-theme-premium .site-footer-social.is-youtube svg {
    color: currentColor;
    stroke: currentColor;
}

@media (max-width: 1040px) {
    body.site-theme-premium .brand-mark.has-image {
        width: 58px;
        height: 58px;
    }

    body.site-theme-premium .main-nav {
        border-color: rgba(124, 58, 237, 0.2);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 52px rgba(20, 15, 48, 0.22);
    }

    body.site-theme-premium .main-nav,
    body.site-theme-premium .nav-dropdown > button {
        color: #37304f;
    }

    body.site-theme-premium .main-nav a:hover,
    body.site-theme-premium .main-nav a.is-active,
    body.site-theme-premium .nav-dropdown > button:hover,
    body.site-theme-premium .nav-dropdown > button.is-active,
    body.site-theme-premium .nav-dropdown.is-open > button {
        color: #ffffff;
    }

    body.site-theme-premium .nav-dropdown-menu a:hover,
    body.site-theme-premium .nav-dropdown-menu a:focus-visible,
    body.site-theme-premium .nav-dropdown-menu a:active {
        border-color: rgba(255, 255, 255, 0.3);
        background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 55%, #06b6d4 100%);
        color: #ffffff;
        box-shadow: 0 10px 22px rgba(79, 70, 229, 0.28);
    }

    body.site-theme-premium .nav-dropdown-menu a:hover .nav-dropdown-item-icon,
    body.site-theme-premium .nav-dropdown-menu a:focus-visible .nav-dropdown-item-icon,
    body.site-theme-premium .nav-dropdown-menu a:active .nav-dropdown-item-icon {
        border-color: #ffffff;
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
    }

    body.site-theme-premium .nav-dropdown-menu a:hover .nav-dropdown-item-arrow,
    body.site-theme-premium .nav-dropdown-menu a:focus-visible .nav-dropdown-item-arrow,
    body.site-theme-premium .nav-dropdown-menu a:active .nav-dropdown-item-arrow {
        border-color: rgba(255, 255, 255, 0.34);
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
    }
}

@media (prefers-reduced-motion: no-preference) {
    body.site-theme-premium .hero-status,
    body.site-theme-premium .now-card,
    body.site-theme-premium .portal-tile,
    body.site-theme-premium .premium-feature-card,
    body.site-theme-premium .member-quick-card {
        transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    }
}

/* Privacidade, consentimento e política de cookies */
.site-footer-cookie-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.site-footer-cookie-button:hover,
.site-footer-cookie-button:focus-visible {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent {
    position: fixed;
    z-index: 1200;
    right: 24px;
    bottom: 24px;
    left: 24px;
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 12px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 14px;
    border: 1px solid rgba(36, 87, 197, 0.2);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0, rgba(10, 167, 163, 0.12), transparent 38%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 70px rgba(21, 42, 73, 0.22);
    color: #1c2c40;
    backdrop-filter: blur(18px);
}

.cookie-consent-icon,
.privacy-section-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(10, 167, 163, 0.22);
    border-radius: 12px;
    background: rgba(10, 167, 163, 0.09);
    color: #078f8b;
}

.cookie-consent-icon svg,
.privacy-section-icon svg {
    width: 20px;
    height: 20px;
}

.privacy-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
}

.privacy-section-icon svg {
    width: 23px;
    height: 23px;
}

.cookie-consent-copy strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.94rem;
}

.cookie-consent-copy p {
    margin: 0;
    color: #5c7089;
    font-size: 0.82rem;
    line-height: 1.4;
}

.cookie-consent-copy a {
    color: #225bc2;
    font-weight: 800;
}

.cookie-consent-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
}

.cookie-action {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 9px;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.cookie-action:hover {
    transform: translateY(-1px);
}

.cookie-action-primary {
    border: 1px solid #2457c5;
    background: linear-gradient(135deg, #2457c5, #1443a8);
    color: #fff;
    box-shadow: 0 10px 22px rgba(36, 87, 197, 0.2);
}

.cookie-action-secondary {
    border: 1px solid #cbd8e7;
    background: #fff;
    color: #263c56;
}

html.cookie-banner-visible .notification-toast {
    bottom: calc(var(--cookie-banner-height, 0px) + 40px);
}

html.cookie-banner-visible .back-to-top {
    bottom: calc(var(--cookie-banner-height, 0px) + 40px);
}

.cookie-preferences {
    width: min(620px, calc(100% - 28px));
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: transparent;
    color: #1c2c40;
    overflow: visible;
}

.cookie-preferences::backdrop {
    background: rgba(15, 28, 46, 0.58);
    backdrop-filter: blur(4px);
}

.cookie-preferences-card {
    padding: 26px;
    border: 1px solid rgba(36, 87, 197, 0.18);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 90px rgba(9, 25, 46, 0.34);
}

.cookie-preferences-card > header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cookie-preferences-card h2 {
    margin: 4px 0 0;
    font-size: clamp(1.45rem, 4vw, 2rem);
}

.cookie-preferences-card > p {
    margin: 12px 0 20px;
    color: #62758d;
    line-height: 1.55;
}

.cookie-dialog-close {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #d5e0ec;
    border-radius: 12px;
    background: #f7fafd;
    color: #2d435d;
    cursor: pointer;
}

.cookie-preference-list {
    display: grid;
    gap: 11px;
}

.cookie-preference-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px;
    border: 1px solid #d8e3ee;
    border-radius: 15px;
    background: #f9fbfd;
}

.cookie-preference-row span {
    display: grid;
    gap: 4px;
}

.cookie-preference-row small {
    color: #687c94;
    line-height: 1.45;
}

.cookie-preference-row input {
    width: 22px;
    height: 22px;
    accent-color: #0aa7a3;
}

.cookie-preference-row.is-required {
    border-color: rgba(10, 167, 163, 0.22);
    background: rgba(10, 167, 163, 0.06);
}

.cookie-preferences-note {
    padding: 11px 13px;
    border-radius: 10px;
    background: #f3f6fa;
    font-size: 0.86rem;
}

.cookie-preferences-card > footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.privacy-main {
    width: min(1180px, calc(100% - 40px));
    margin: 18px auto 72px;
}

.privacy-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(36, 87, 197, 0.15);
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 10%, rgba(10, 167, 163, 0.16), transparent 34%),
        linear-gradient(135deg, #ffffff, #f3f9fc);
    box-shadow: 0 22px 54px rgba(31, 66, 105, 0.1);
}

.privacy-hero h1 {
    max-width: 780px;
    margin: 7px 0 8px;
    color: #1a2c42;
    font-size: clamp(1.9rem, 4vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.privacy-hero p {
    max-width: 700px;
    margin: 0;
    color: #60758e;
    font-size: clamp(0.96rem, 1.6vw, 1.06rem);
    line-height: 1.55;
}

.privacy-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    margin-top: 30px;
}

.privacy-index {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border: 1px solid #dbe6ef;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.9);
}

.privacy-index strong {
    margin: 0 8px 8px;
    color: #233b58;
}

.privacy-index a {
    padding: 9px 10px;
    border-radius: 9px;
    color: #5c718a;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.privacy-index a:hover {
    background: rgba(10, 167, 163, 0.08);
    color: #087e7b;
}

.privacy-content {
    display: grid;
    gap: 18px;
}

.privacy-content > section {
    scroll-margin-top: 110px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid #dbe5ef;
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 34px rgba(30, 62, 98, 0.07);
}

.privacy-content > section > div {
    min-width: 0;
    flex: 1;
}

.privacy-content h2 {
    margin: 2px 0 10px;
    color: #1d3149;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
}

.privacy-content p {
    margin: 0;
    color: #5c718a;
    line-height: 1.7;
}

.privacy-table-wrap {
    overflow-x: auto;
    margin-top: 20px;
}

.privacy-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.privacy-table th,
.privacy-table td {
    padding: 13px 14px;
    border-bottom: 1px solid #dde7f0;
    text-align: left;
    vertical-align: top;
}

.privacy-table th {
    background: #f3f7fb;
    color: #324b68;
}

.privacy-table code {
    color: #1557b0;
    font-weight: 700;
}

.privacy-status {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 17px !important;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(10, 167, 163, 0.08);
    color: #24605f !important;
}

.privacy-status svg {
    width: 20px;
    height: 20px;
}

.privacy-manage-button {
    margin-top: 18px;
    border: 0;
    cursor: pointer;
}

.privacy-contact {
    margin-top: 18px !important;
    font-size: 0.92rem;
}

.privacy-contact a {
    color: #225bc2;
    font-weight: 800;
}

@media (max-width: 900px) {
    .cookie-consent {
        grid-template-columns: auto minmax(0, 1fr);
        max-width: 720px;
    }

    .cookie-consent-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .cookie-consent-actions .cookie-action {
        flex: 1;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
    }

    .privacy-index {
        position: static;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .privacy-index strong {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .cookie-consent {
        right: 12px;
        bottom: 12px;
        left: 12px;
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 12px;
        border-radius: 14px;
    }

    .cookie-consent-icon {
        display: none;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .cookie-consent-actions .cookie-action-primary {
        grid-column: auto;
        grid-row: auto;
    }

    .cookie-consent-copy p {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .cookie-consent-actions .cookie-action {
        min-width: 0;
        min-height: 42px;
        padding: 7px 6px;
        font-size: 0.72rem;
        line-height: 1.18;
    }

    html.cookie-banner-visible .notification-toast {
        bottom: 18px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(14px);
    }

    html.cookie-banner-visible .back-to-top {
        opacity: 0;
        pointer-events: none;
    }

    .cookie-preferences-card {
        padding: 20px;
    }

    .cookie-preference-row {
        align-items: flex-start;
    }

    .cookie-preferences-card > footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    .privacy-main {
        width: min(100% - 24px, 1180px);
        margin-top: 12px;
    }

    .privacy-hero {
        border-radius: 20px;
    }

    .privacy-layout {
        gap: 18px;
    }

    .privacy-index {
        display: none;
    }

    .privacy-content > section {
        display: grid;
        gap: 14px;
        border-radius: 18px;
    }
}

/* Foto opcional do apresentador: miniaturas públicas e visualização ampliada. */
.now-card-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
}

.now-card-title-row > div {
    min-width: 0;
}

.now-card-title-row .now-card-heading + h2 {
    margin: 14px 0 7px;
}

.presenter-photo-trigger {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    padding: 0;
    place-items: center;
    overflow: hidden;
    border: 2px solid rgba(10, 167, 163, 0.42);
    border-radius: 17px;
    background: #dfecee;
    color: #ffffff;
    cursor: zoom-in;
    box-shadow: 0 14px 34px rgba(14, 33, 54, 0.18);
    isolation: isolate;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.presenter-photo-trigger[hidden] {
    display: none;
}

.presenter-photo-trigger.is-live {
    width: 76px;
    height: 84px;
}

.presenter-photo-trigger.is-schedule {
    width: 64px;
    height: 70px;
    justify-self: end;
}

.schedule-item.has-presenter-photo {
    grid-template-columns: 86px minmax(0, 1fr) 68px;
}

.presenter-photo-trigger img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.presenter-photo-trigger > span {
    position: absolute;
    right: 5px;
    bottom: 5px;
    z-index: 2;
    display: grid;
    width: 25px;
    height: 25px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: rgba(8, 18, 31, 0.72);
    color: #ffffff;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(8px);
}

.presenter-photo-trigger > span svg {
    width: 13px;
    height: 13px;
}

.presenter-photo-trigger:hover,
.presenter-photo-trigger:focus-visible {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 18px 40px rgba(14, 33, 54, 0.25), 0 0 0 4px rgba(10, 167, 163, 0.12);
    transform: translateY(-2px);
}

.presenter-photo-trigger:hover img,
.presenter-photo-trigger:focus-visible img {
    transform: scale(1.045);
}

.presenter-photo-trigger:hover > span,
.presenter-photo-trigger:focus-visible > span {
    opacity: 1;
    transform: translateY(0);
}

body.presenter-photo-modal-open {
    overflow: hidden;
}

.presenter-photo-modal {
    width: fit-content;
    max-width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 26px;
    background: #0d111c;
    color: #ffffff;
    box-shadow: 0 46px 130px rgba(2, 5, 15, 0.68);
}

.presenter-photo-modal::backdrop {
    background:
        radial-gradient(circle at 18% 12%, rgba(124, 58, 237, 0.24), transparent 34%),
        radial-gradient(circle at 82% 88%, rgba(6, 182, 212, 0.16), transparent 36%),
        rgba(3, 5, 12, 0.88);
    backdrop-filter: blur(13px) saturate(0.78);
}

.presenter-photo-modal[open] {
    animation: presenterPhotoModalIn 190ms ease-out;
}

@keyframes presenterPhotoModalIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.975);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.presenter-photo-modal-shell {
    position: relative;
}

.presenter-photo-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 6;
    display: grid;
    width: 43px;
    height: 43px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(5, 9, 18, 0.68);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.presenter-photo-modal-close:hover,
.presenter-photo-modal-close:focus-visible {
    border-color: #c7ff3d;
    background: rgba(10, 14, 24, 0.95);
    color: #c7ff3d;
    outline: none;
    transform: rotate(4deg);
}

.presenter-photo-modal-close svg {
    width: 21px;
    height: 21px;
}

.presenter-photo-modal figure {
    display: grid;
    grid-template-columns: minmax(300px, 620px) minmax(260px, 330px);
    max-width: min(950px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    margin: 0;
}

.presenter-photo-modal-stage {
    position: relative;
    display: grid;
    min-width: 300px;
    min-height: min(680px, calc(100dvh - 32px));
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.18), transparent 40%),
        #080c14;
}

.presenter-photo-modal-stage::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    content: "";
    pointer-events: none;
}

.presenter-photo-modal-stage img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: calc(100dvh - 32px);
    object-fit: contain;
}

.presenter-photo-modal figcaption {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 66px 32px 38px;
    overflow: hidden;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background:
        radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.2), transparent 34%),
        radial-gradient(circle at 0% 100%, rgba(124, 58, 237, 0.28), transparent 40%),
        linear-gradient(150deg, #16152a, #25204b 58%, #3a1f70);
}

.presenter-photo-modal figcaption::before {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(199, 255, 61, 0.16);
    border-radius: 16px;
    content: "";
    pointer-events: none;
}

.presenter-photo-modal-kicker,
.presenter-photo-modal-detail {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.presenter-photo-modal-kicker {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(199, 255, 61, 0.3);
    border-radius: 999px;
    background: rgba(199, 255, 61, 0.08);
    color: #c7ff3d;
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.presenter-photo-modal-kicker svg,
.presenter-photo-modal-detail svg {
    width: 15px;
    height: 15px;
}

.presenter-photo-modal h2 {
    position: relative;
    z-index: 1;
    margin: 23px 0 0;
    color: #ffffff;
    font-size: clamp(1.65rem, 2.6vw, 2.3rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.presenter-photo-modal figcaption p {
    position: relative;
    z-index: 1;
    margin: 12px 0 0;
    color: #c9c6d5;
    font-size: 0.94rem;
    line-height: 1.5;
}

.presenter-photo-modal-detail {
    margin-top: 30px;
    padding-top: 19px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #a8a4b8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 720px) {
    .presenter-photo-trigger.is-live {
        width: 66px;
        height: 74px;
    }

    .schedule-item.has-presenter-photo {
        grid-template-columns: 68px minmax(0, 1fr) 54px;
    }

    .presenter-photo-trigger.is-schedule {
        width: 52px;
        height: 60px;
        border-radius: 14px;
    }

    .presenter-photo-modal {
        max-width: calc(100% - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 20px;
    }

    .presenter-photo-modal figure {
        grid-template-columns: 1fr;
        width: min(520px, calc(100vw - 20px));
        max-height: calc(100dvh - 20px);
        overflow-y: auto;
    }

    .presenter-photo-modal-stage {
        min-width: 0;
        min-height: 0;
        height: min(62dvh, 560px);
    }

    .presenter-photo-modal-stage img {
        max-height: 62dvh;
    }

    .presenter-photo-modal figcaption {
        min-height: 190px;
        padding: 28px 24px 30px;
    }

    .presenter-photo-modal figcaption::before {
        inset: 10px;
    }

    .presenter-photo-modal h2 {
        margin-top: 15px;
        font-size: 1.55rem;
    }

    .presenter-photo-modal-detail {
        margin-top: 19px;
        padding-top: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .presenter-photo-modal[open] {
        animation: none;
    }

    .presenter-photo-trigger,
    .presenter-photo-trigger img,
    .presenter-photo-trigger > span {
        transition: none;
    }
}
@media (max-width: 1040px) {
    .live-reaction-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .live-reaction-header,
    .live-reaction-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .live-reaction-live { align-self: flex-start; }
    .live-reaction-panel { padding: 16px; border-radius: 16px; }
    .live-reaction-title { align-items: flex-start; }
    .live-reaction-title p { font-size: 0.84rem; line-height: 1.4; }
    .live-reaction-button {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        min-height: 68px;
        padding: 9px;
    }
    .live-reaction-emoji { width: 40px; height: 40px; font-size: 1.45rem; }
    .live-reaction-copy small { display: none; }
}

@media (max-width: 430px) {
    .live-reaction-grid { grid-template-columns: 1fr; }
}

/* Cadastro e área dos usuários do site */
.user-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (min-width: 1051px) {
    .site-header .brand > span:last-child { min-width: 133px; }
}

body.user-access-page,
body.user-recovery-page,
body.user-dashboard-page {
    background: #090910;
}

.user-access-main,
.user-recovery-main,
.user-dashboard-main {
    min-height: 68vh;
}

.user-access-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(8px, 1.4vw, 16px) 0 clamp(24px, 3.5vw, 38px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 78% 42%, rgba(164, 67, 255, 0.26), transparent 24%),
        radial-gradient(circle at 18% 20%, rgba(199, 255, 61, 0.08), transparent 28%),
        linear-gradient(120deg, #0a0a10 0%, #11101d 54%, #221342 100%);
    color: #fff;
}

.user-access-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, #8f3fff 0 34%, #c7ff3d 34% 70%, #ff5c79 70%);
}

.user-access-hero-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

@media (min-width: 901px) {
    .user-access-hero-shell {
        padding-inline-start: clamp(32px, 4vw, 64px);
    }

    .user-access-hero h1 br {
        display: none;
    }

    .user-access-hero h1 {
        max-width: none;
        white-space: nowrap;
    }

    .user-access-hero p {
        max-width: none;
        white-space: nowrap;
    }
}

.user-access-kicker,
.user-dashboard-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c7ff3d;
    font-size: 0.76rem;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.user-access-kicker svg,
.user-dashboard-kicker svg {
    width: 17px;
    height: 17px;
}

.user-access-hero h1 {
    max-width: 840px;
    margin: 10px 0 10px;
    color: #fff;
    font-size: clamp(2.15rem, 4.1vw, 3.8rem);
    font-weight: 950;
    letter-spacing: -0.065em;
    line-height: 0.9;
}

.user-access-hero h1 em,
.user-dashboard-welcome h1 em {
    color: #c7ff3d;
    font-style: normal;
}

.user-access-hero p {
    max-width: 690px;
    margin: 0;
    color: #b9b7c6;
    font-size: clamp(0.98rem, 1.4vw, 1.15rem);
    line-height: 1.65;
}

.user-access-hero p strong { color: #fff; }

.user-access-signal {
    display: grid;
    flex: 0 0 112px;
    width: 112px;
    height: 112px;
    place-items: center;
    align-content: center;
    gap: 7px;
    border: 1px solid rgba(199, 255, 61, 0.3);
    border-radius: 50%;
    background: rgba(199, 255, 61, 0.08);
    box-shadow: 0 0 0 16px rgba(199, 255, 61, 0.025), 0 24px 60px rgba(0, 0, 0, 0.28);
    color: #c7ff3d;
}

.user-access-signal svg { width: 36px; height: 36px; }
.user-access-signal span { font-size: 0.7rem; font-weight: 950; letter-spacing: 0.2em; }

.user-access-page .member-auth-section,
.user-recovery-page .member-auth-section {
    padding: clamp(30px, 5vw, 62px) 0 clamp(58px, 8vw, 96px);
    background:
        linear-gradient(rgba(10, 10, 16, 0.95), rgba(10, 10, 16, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(143, 63, 255, 0.22), transparent 42%);
}

.user-auth-grid {
    grid-template-columns: minmax(420px, 650px);
    justify-content: center;
    gap: 20px;
}

.member-registration-closed {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 17px 19px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
}

.member-registration-closed > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 14px;
    background: rgba(199, 255, 61, 0.09);
    color: #c7ff3d;
}

.member-registration-closed svg { width: 21px; height: 21px; }
.member-registration-closed div { display: grid; gap: 4px; }
.member-registration-closed strong { font-size: 0.88rem; }
.member-registration-closed small { color: #aaa8b7; font-size: 0.77rem; line-height: 1.45; }

.user-access-page .member-notice,
.user-recovery-page .member-notice {
    max-width: 1000px;
    margin: 0 auto 18px;
    font-size: 0.9rem;
    line-height: 1.45;
}

.user-access-page .member-auth-intro,
.user-access-page .member-auth-card,
.user-recovery-page .member-auth-card {
    border-color: rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(28, 27, 40, 0.98), rgba(16, 16, 25, 0.98));
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.user-access-page .member-auth-intro {
    justify-items: start;
    padding: 32px 28px;
    text-align: left;
}

.user-access-page .member-auth-intro::before {
    background: linear-gradient(90deg, #8f3fff, #c7ff3d);
}

.user-access-page .member-auth-intro-icon {
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(199, 255, 61, 0.1);
    color: #c7ff3d;
}

.user-auth-intro > small {
    color: #c7ff3d;
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.user-access-page .member-auth-intro h2,
.user-access-page .member-auth-card h2,
.user-recovery-page .member-auth-card h1 {
    color: #fff;
}

.user-access-page .member-auth-intro h2 { font-size: 1.35rem; line-height: 1.18; }
.user-access-page .member-auth-intro p { color: #9f9dad; }
.user-access-page .member-auth-benefits span { color: #d8d6df; }
.user-access-page .member-auth-benefits svg { color: #c7ff3d; }

.user-access-page .member-auth-card,
.user-recovery-page .member-auth-card { padding: clamp(22px, 3vw, 32px); }
.user-access-page .member-auth-card::before,
.user-recovery-page .member-auth-card::before { background: linear-gradient(90deg, #8f3fff, #c7ff3d, #ff5c79); }

.user-access-page .member-auth-card-header > span,
.user-recovery-page .member-auth-card-header > span {
    border-color: rgba(199, 255, 61, 0.25);
    border-radius: 13px;
    background: rgba(199, 255, 61, 0.08);
    color: #c7ff3d;
}

.user-access-page .member-auth-card-header small,
.user-recovery-page .member-auth-card-header small {
    color: #a582ff;
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.user-access-page .member-auth-card label,
.user-recovery-page .member-auth-card label { color: #cbc9d3; }

.user-access-page .member-input-wrap,
.user-recovery-page .member-input-wrap {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.055);
}

.user-access-page .member-input-wrap:focus-within,
.user-recovery-page .member-input-wrap:focus-within {
    border-color: rgba(199, 255, 61, 0.6);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 4px rgba(199, 255, 61, 0.08);
}

.user-access-page .member-input-wrap input,
.user-recovery-page .member-input-wrap input { color: #fff; }
.user-access-page .member-input-wrap input::placeholder,
.user-recovery-page .member-input-wrap input::placeholder { color: #777586; }
.user-access-page .member-input-wrap > svg,
.user-recovery-page .member-input-wrap > svg { color: #9c70ff; }

.user-access-page .member-password-toggle,
.user-recovery-page .member-password-toggle {
    border-left-color: rgba(255, 255, 255, 0.12);
    color: #c7ff3d;
}

.user-access-page .member-password-toggle:hover,
.user-access-page .member-password-toggle:focus-visible,
.user-recovery-page .member-password-toggle:hover,
.user-recovery-page .member-password-toggle:focus-visible { background: rgba(199, 255, 61, 0.08); color: #d8ff76; }
.user-access-page .member-login-help a,
.user-recovery-page .member-recovery-back { color: #b7a0ec; }

.user-access-page .user-submit-action,
.user-recovery-page .primary-action {
    border-color: #c7ff3d;
    background: #c7ff3d;
    color: #111116;
    box-shadow: 0 16px 34px rgba(199, 255, 61, 0.12);
}

.user-access-page .user-register-action {
    border-color: rgba(164, 112, 255, 0.6);
    background: #8f3fff;
    color: #fff;
}

.user-access-page .member-register-summary:hover { background: rgba(255, 255, 255, 0.025); }
.user-access-page .member-register-action {
    border-color: rgba(199, 255, 61, 0.25);
    background: rgba(199, 255, 61, 0.08);
    color: #c7ff3d;
}
.user-access-page .member-register-action > span { color: inherit; }
.user-access-page .member-register-click-hint { color: #8f76bf; }

.user-consent-row {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 10px !important;
    font-weight: 700 !important;
    line-height: 1.5;
}

.user-consent-row input { width: 18px !important; height: 18px; margin-top: 2px; accent-color: #c7ff3d; }
.user-consent-row a { color: #c7ff3d; }

.user-recovery-main { padding-top: 0; background: radial-gradient(circle at 50% 0, rgba(143, 63, 255, 0.2), transparent 38%), #090910; }
.user-recovery-page .member-auth-section { padding-top: clamp(12px, 1.5vw, 18px); }
.user-recovery-page .member-recovery-card { max-width: 620px; }
.user-recovery-page .member-recovery-note { border-color: rgba(199, 255, 61, 0.15); background: rgba(199, 255, 61, 0.055); color: #aaa8b7; }
.user-recovery-page .member-recovery-note svg { color: #c7ff3d; }

.user-dashboard-top {
    padding: clamp(30px, 5vw, 58px) 0 24px;
    background: radial-gradient(circle at 82% 0, rgba(143, 63, 255, 0.26), transparent 32%), #090910;
}

.user-dashboard-welcome {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.62fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    overflow: hidden;
    padding: clamp(28px, 4.5vw, 54px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 30px;
    background: linear-gradient(125deg, #15151f 0%, #191526 58%, #2a1552 100%);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
    color: #fff;
}

.user-dashboard-welcome::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    background: linear-gradient(90deg, #8f3fff 0 36%, #c7ff3d 36% 72%, #ff5c79 72%);
}

.user-dashboard-welcome-copy { position: relative; z-index: 1; }
.user-dashboard-welcome h1 { margin: 14px 0 14px; color: #fff; font-size: clamp(2.5rem, 5vw, 4.9rem); letter-spacing: -0.06em; line-height: 0.94; }
.user-dashboard-welcome p { max-width: 690px; margin: 0; color: #aaa8b7; font-size: 1.02rem; line-height: 1.7; }
.user-dashboard-welcome p strong { color: #fff; }
.user-dashboard-identity {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 28px 20px;
    border: 1px solid rgba(199, 255, 61, 0.18);
    border-radius: 24px;
    background: rgba(7, 7, 12, 0.34);
    text-align: center;
}

.user-dashboard-avatar {
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #8f3fff, #c7ff3d);
    color: #101014;
    font-size: 1.7rem;
    font-weight: 950;
    box-shadow: 0 16px 36px rgba(143, 63, 255, 0.24);
}

.user-dashboard-identity div { display: grid; gap: 4px; min-width: 0; }
.user-dashboard-identity small { color: #c7ff3d; font-size: 0.66rem; font-weight: 950; letter-spacing: 0.16em; }
.user-dashboard-identity strong { color: #fff; font-size: 1.08rem; }
.user-dashboard-identity span:not(.user-dashboard-avatar) { overflow-wrap: anywhere; color: #9c99aa; font-size: 0.82rem; }
.user-dashboard-identity > svg { width: 20px; height: 20px; color: #8f6bdf; }

.user-dashboard-content { padding: 0 0 clamp(64px, 8vw, 100px); background: #090910; }
.user-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.72fr); gap: 20px; }
.user-dashboard-panel {
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: #14141d;
    color: #fff;
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
}

.user-future-panel { position: relative; overflow: hidden; min-height: 430px; align-content: center; background: radial-gradient(circle at 80% 20%, rgba(199, 255, 61, 0.1), transparent 27%), linear-gradient(145deg, #14141d, #1d1530); }
.user-panel-icon { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 28px; border: 1px solid rgba(199, 255, 61, 0.22); border-radius: 20px; background: rgba(199, 255, 61, 0.08); color: #c7ff3d; }
.user-panel-icon svg { width: 28px; height: 28px; }
.user-future-panel small,
.user-profile-panel header small { color: #a581ff; font-size: 0.7rem; font-weight: 950; letter-spacing: 0.15em; }
.user-future-panel h2 { max-width: 570px; margin: 12px 0; color: #fff; font-size: clamp(2rem, 3.7vw, 3.6rem); letter-spacing: -0.05em; line-height: 0.98; }
.user-future-panel p { max-width: 590px; margin: 0; color: #9f9dac; line-height: 1.7; }
.user-future-signal { display: flex; align-items: end; gap: 6px; height: 44px; margin-top: 36px; }
.user-future-signal span { width: 8px; border-radius: 99px; background: #c7ff3d; opacity: 0.75; }
.user-future-signal span:nth-child(1) { height: 16px; }.user-future-signal span:nth-child(2) { height: 32px; }.user-future-signal span:nth-child(3) { height: 44px; }.user-future-signal span:nth-child(4) { height: 24px; }

.user-profile-panel header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.user-profile-panel header h2 { margin: 4px 0 0; color: #fff; font-size: 1.5rem; }
.user-profile-panel header > svg { width: 28px; height: 28px; color: #c7ff3d; }
.user-profile-panel form { display: grid; gap: 14px; }
.user-profile-panel label { display: grid; gap: 7px; color: #bdbac7; font-size: 0.82rem; font-weight: 900; }
.user-profile-panel input { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 11px; background: rgba(255, 255, 255, 0.055); color: #fff; outline: 0; }
.user-profile-panel input:focus { border-color: rgba(199, 255, 61, 0.5); box-shadow: 0 0 0 4px rgba(199, 255, 61, 0.07); }
.user-profile-panel input[readonly] { color: #8d8a99; cursor: not-allowed; }
.user-profile-panel label small { color: #777483; font-size: 0.7rem; font-weight: 700; }
.user-profile-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.user-profile-panel .secondary-action { width: 100%; border-color: #c7ff3d; background: #c7ff3d; color: #111; }
.user-profile-security { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.user-profile-security span { display: inline-flex; align-items: center; gap: 7px; color: #bcb9c6; font-size: 0.78rem; }
.user-profile-security svg { width: 17px; height: 17px; color: #c7ff3d; }
.user-profile-security a { color: #b090f5; font-size: 0.78rem; font-weight: 900; }
.user-logout-form { margin-top: 14px; }
.user-logout-form button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 42px; border: 1px solid rgba(255, 92, 121, 0.24); border-radius: 10px; background: rgba(255, 92, 121, 0.06); color: #ff8198; font-weight: 900; cursor: pointer; }
.user-logout-form button svg { width: 17px; height: 17px; }

@media (max-width: 980px) {
    .user-auth-grid,
    .user-dashboard-grid,
    .user-dashboard-welcome { grid-template-columns: 1fr; }
    .user-auth-intro { min-height: auto; }
    .user-dashboard-identity { grid-template-columns: auto minmax(0, 1fr) auto; justify-items: start; text-align: left; }
    .user-dashboard-avatar { width: 66px; height: 66px; }
    .user-dashboard-identity > svg { align-self: center; }
}

@media (max-width: 680px) {
    .user-access-hero { padding: 8px 0 26px; }
    .user-access-hero-shell { align-items: flex-start; }
    .user-access-signal { display: none; }
    .user-access-hero h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
    .user-access-page .member-auth-section { padding-top: 24px; }
    .user-access-page .member-auth-intro { padding: 24px 20px; }
    .user-access-page .member-auth-card,
    .user-recovery-page .member-auth-card { padding: 21px 17px; border-radius: 18px; }
    .user-access-page .member-auth-card-header { align-items: flex-start; }
    .user-access-page .member-register-action { padding: 0 8px; }
    .user-access-page .member-register-action > span { display: none; }
    .member-form-grid,
    .user-profile-form-grid { grid-template-columns: 1fr; }
    .member-form-grid .full { grid-column: auto; }
    .user-dashboard-welcome { padding: 28px 20px; border-radius: 22px; }
    .user-dashboard-welcome h1 { font-size: 2.65rem; }
    .user-dashboard-identity { grid-template-columns: 54px minmax(0, 1fr); padding: 18px; }
    .user-dashboard-avatar { width: 54px; height: 54px; font-size: 1.05rem; }
    .user-dashboard-identity > svg { display: none; }
    .user-dashboard-panel { padding: 22px 18px; border-radius: 20px; }
    .user-future-panel { min-height: 340px; }
    .user-profile-security { align-items: flex-start; flex-direction: column; }
}
/* Biblioteca exclusiva para usuários cadastrados */
body.exclusive-content-page {
    --exclusive-lime: #c7ff3d;
    --exclusive-purple: #8f6bdf;
    --exclusive-ink: #090910;
    --exclusive-panel: #15151e;
    --exclusive-line: rgba(255, 255, 255, 0.1);
    background: #090910;
    color: #f7f7fb;
}

body.exclusive-content-page .page-pattern {
    opacity: 0.34;
    background-image:
        radial-gradient(circle at 18% 14%, rgba(143, 107, 223, 0.24), transparent 28%),
        radial-gradient(circle at 86% 24%, rgba(199, 255, 61, 0.12), transparent 26%);
}

body.exclusive-content-page .site-header {
    border-bottom-color: rgba(255, 255, 255, 0.09);
    background: rgba(9, 9, 16, 0.9);
    backdrop-filter: blur(18px);
}

body.exclusive-content-page .brand strong,
body.exclusive-content-page .main-nav a,
body.exclusive-content-page .nav-dropdown > button {
    color: #f5f5fa;
}

body.exclusive-content-page .main-nav a:hover,
body.exclusive-content-page .main-nav a.is-active {
    color: var(--exclusive-lime);
}

body.exclusive-content-page .header-action {
    background: var(--exclusive-lime);
    color: #111116;
}

body.exclusive-content-page .header-icon-action {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.exclusive-library-main,
.exclusive-detail-main {
    position: relative;
    min-height: 70vh;
    background: #090910;
}

.exclusive-library-hero {
    padding: clamp(18px, 3vw, 34px) 0 16px;
}

.exclusive-library-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr);
    gap: clamp(24px, 3.5vw, 48px);
    overflow: hidden;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 26px;
    background:
        radial-gradient(circle at 92% 8%, rgba(199, 255, 61, 0.15), transparent 29%),
        radial-gradient(circle at 12% 100%, rgba(143, 107, 223, 0.25), transparent 38%),
        linear-gradient(145deg, #171720, #111118 70%);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.exclusive-library-hero-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    bottom: -110px;
    border: 42px solid rgba(199, 255, 61, 0.055);
    border-radius: 50%;
}

.exclusive-library-hero-copy,
.exclusive-library-stats {
    position: relative;
    z-index: 1;
}

.exclusive-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--exclusive-lime);
    font-size: 0.73rem;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.exclusive-eyebrow svg {
    width: 17px;
    height: 17px;
}

.exclusive-library-hero h1,
.exclusive-detail-heading h1 {
    max-width: 800px;
    margin: 10px 0 12px;
    color: #ffffff;
    font-size: clamp(2.45rem, 4.4vw, 4.4rem);
    letter-spacing: -0.065em;
    line-height: 0.96;
}

.exclusive-library-hero h1 em {
    color: var(--exclusive-lime);
    font-style: normal;
}

.exclusive-library-hero-copy > p,
.exclusive-detail-heading > div > p {
    max-width: 720px;
    margin: 0;
    color: #aaa8b7;
    font-size: 0.95rem;
    line-height: 1.55;
}

.exclusive-library-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-content: center;
}

.exclusive-library-stats span {
    display: grid;
    min-height: 82px;
    align-content: center;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(10px);
}

.exclusive-library-stats strong {
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1;
}

.exclusive-library-stats small {
    margin-top: 5px;
    color: #8e8b9b;
    font-size: 0.65rem;
    font-weight: 850;
    text-transform: uppercase;
}

.exclusive-library-section,
.exclusive-private-pages-section,
.exclusive-detail-section {
    background: transparent;
}

.exclusive-library-section.is-personal-library {
    background:
        radial-gradient(circle at 12% 10%, rgba(199, 255, 61, 0.055), transparent 30%),
        transparent;
}

.exclusive-library-section.is-personal-library + .exclusive-library-section {
    padding-top: 10px;
}

body.member-portal-theme .exclusive-library-section.is-personal-library .exclusive-content-card {
    border-color: rgba(199, 255, 61, 0.26);
}

.exclusive-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.exclusive-section-heading h2 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    letter-spacing: -0.045em;
}

.exclusive-section-heading p {
    margin: 8px 0 0;
    color: #8f8d9d;
}

.exclusive-section-heading .panel-kicker {
    color: var(--exclusive-lime);
}

.exclusive-secure-pill,
.exclusive-file-meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    color: var(--exclusive-lime);
    font-size: 0.76rem;
    font-weight: 900;
}

.exclusive-secure-pill {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(199, 255, 61, 0.18);
    border-radius: 999px;
    background: rgba(199, 255, 61, 0.07);
}

.exclusive-secure-pill svg,
.exclusive-file-meta svg {
    width: 15px;
    height: 15px;
}

.exclusive-content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.member-portal-theme .exclusive-content-grid .exclusive-content-card {
    border-color: var(--exclusive-line);
    background: linear-gradient(145deg, #171720, #121219);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}

.exclusive-personal-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    min-height: 27px;
    padding: 0 9px;
    border: 1px solid rgba(199, 255, 61, 0.2);
    border-radius: 999px;
    background: rgba(199, 255, 61, 0.08);
    color: var(--exclusive-lime);
    font-size: 0.7rem;
    font-weight: 950;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.exclusive-personal-label svg {
    width: 14px;
    height: 14px;
}

body.member-portal-theme .exclusive-content-grid .exclusive-content-card.is-featured {
    border-color: rgba(199, 255, 61, 0.36);
    background:
        radial-gradient(circle at 90% 6%, rgba(199, 255, 61, 0.09), transparent 28%),
        linear-gradient(145deg, #191b1d, #15141d);
}

.exclusive-content-grid .member-content-cover-wrap {
    border-bottom-color: var(--exclusive-line);
    background: #1e1e29;
}

.exclusive-content-grid .member-content-cover-wrap.is-placeholder {
    background:
        radial-gradient(circle at 75% 15%, rgba(199, 255, 61, 0.12), transparent 30%),
        linear-gradient(145deg, #221d35, #171720);
}

.exclusive-content-grid .member-content-cover-placeholder {
    border-color: rgba(199, 255, 61, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: var(--exclusive-lime);
}

.exclusive-content-grid .member-content-card header strong {
    color: #ffffff;
}

.exclusive-content-grid .member-content-card-inner > p {
    color: #9e9cab;
}

.exclusive-content-grid .member-content-type {
    gap: 5px;
    border-color: rgba(199, 255, 61, 0.14);
    background: rgba(199, 255, 61, 0.08);
    color: var(--exclusive-lime);
}

.exclusive-content-grid .member-content-type svg {
    width: 13px;
    height: 13px;
}

.exclusive-content-grid .member-content-category {
    color: #777485;
}

.exclusive-content-grid .secondary-action {
    border-color: rgba(143, 107, 223, 0.3);
    background: rgba(143, 107, 223, 0.13);
    color: #d6c9f7;
}

body.content-library-page .exclusive-content-grid .secondary-action:hover,
body.content-library-page .exclusive-content-grid .secondary-action:focus-visible,
body.exclusive-catalog-page .exclusive-content-grid .secondary-action:hover,
body.exclusive-catalog-page .exclusive-content-grid .secondary-action:focus-visible {
    border-color: var(--exclusive-lime);
    background: var(--exclusive-lime);
    color: #101014;
    box-shadow: 0 10px 26px rgba(199, 255, 61, 0.17);
}

body.content-library-page .exclusive-content-grid .secondary-action:focus-visible,
body.exclusive-catalog-page .exclusive-content-grid .secondary-action:focus-visible {
    outline: 3px solid rgba(199, 255, 61, 0.22);
    outline-offset: 3px;
}

.exclusive-content-grid .member-content-download-action {
    border-color: rgba(199, 255, 61, 0.24);
    background: rgba(199, 255, 61, 0.1);
    color: var(--exclusive-lime);
}

.exclusive-alternative-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #aaa8b7;
    font-size: 0.78rem;
    font-weight: 850;
}

.exclusive-alternative-link svg {
    width: 14px;
    height: 14px;
}

.exclusive-private-pages-section {
    padding-top: 10px;
    padding-bottom: clamp(64px, 9vw, 112px);
}

.exclusive-private-pages-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.exclusive-private-pages-grid > a {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 22px;
    border: 1px solid var(--exclusive-line);
    border-radius: 20px;
    background: linear-gradient(145deg, #171720, #121219);
    color: #ffffff;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.exclusive-private-pages-grid > a:hover {
    border-color: rgba(199, 255, 61, 0.28);
    background: #1b1b24;
    transform: translateY(-3px);
}

.exclusive-private-pages-grid > a > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: rgba(199, 255, 61, 0.1);
    color: var(--exclusive-lime);
}

.exclusive-private-pages-grid > a > span svg,
.exclusive-private-pages-grid > a > svg {
    width: 20px;
    height: 20px;
}

.exclusive-private-pages-grid div {
    min-width: 0;
}

.exclusive-private-pages-grid small {
    color: var(--exclusive-lime);
    font-size: 0.66rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.exclusive-private-pages-grid strong {
    display: block;
    margin-top: 5px;
    font-size: 1.12rem;
}

.exclusive-private-pages-grid p {
    margin: 5px 0 0;
    color: #8f8d9d;
    font-size: 0.86rem;
    line-height: 1.5;
}

.exclusive-private-pages-grid > a > svg {
    color: #696676;
}

.exclusive-empty-state {
    display: grid;
    min-height: 330px;
    place-items: center;
    align-content: center;
    padding: 40px 24px;
    border: 1px dashed rgba(255, 255, 255, 0.13);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.025);
    text-align: center;
}

.exclusive-empty-state > span {
    display: grid;
    width: 70px;
    height: 70px;
    place-items: center;
    border-radius: 22px;
    background: rgba(199, 255, 61, 0.09);
    color: var(--exclusive-lime);
}

.exclusive-empty-state > span svg {
    width: 30px;
    height: 30px;
}

.exclusive-empty-state h1,
.exclusive-empty-state h3 {
    margin: 18px 0 8px;
    color: #ffffff;
}

.exclusive-empty-state p {
    max-width: 540px;
    margin: 0 0 20px;
    color: #8f8d9d;
}

.exclusive-detail-hero {
    padding: clamp(34px, 6vw, 72px) 0 30px;
    background:
        radial-gradient(circle at 82% 10%, rgba(199, 255, 61, 0.1), transparent 28%),
        radial-gradient(circle at 10% 80%, rgba(143, 107, 223, 0.2), transparent 34%);
}

.exclusive-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: #aaa8b7;
    font-weight: 850;
}

.exclusive-back-link:hover {
    color: var(--exclusive-lime);
}

.exclusive-back-link svg {
    width: 17px;
    height: 17px;
}

.exclusive-detail-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: end;
}

.exclusive-detail-heading h1 {
    max-width: 950px;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
}

.exclusive-detail-lock {
    display: grid;
    min-width: 220px;
    padding: 20px;
    border: 1px solid rgba(199, 255, 61, 0.17);
    border-radius: 20px;
    background: rgba(199, 255, 61, 0.06);
}

.exclusive-detail-lock > svg {
    width: 28px;
    height: 28px;
    margin-bottom: 16px;
    color: var(--exclusive-lime);
}

.exclusive-detail-lock small {
    color: var(--exclusive-lime);
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.exclusive-detail-lock strong {
    overflow-wrap: anywhere;
    margin-top: 5px;
    color: #ffffff;
}

.exclusive-detail-shell {
    display: grid;
    gap: 22px;
    max-width: 1120px;
}

.exclusive-video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: #000000;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.exclusive-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mantém o player exclusivo nas mesmas dimensões visíveis do player Prime. */
.exclusive-video-frame-prime-size {
    width: calc(100% - 26px);
    max-width: 854px;
    height: min(480px, calc(56.25vw - 20px), calc(100svh - 210px));
    min-height: 190px;
    margin-inline: auto;
    aspect-ratio: auto;
    border-radius: 16px;
}

.content-library-player-stage {
    position: relative;
    width: 100%;
    max-width: 880px;
    margin-inline: auto;
    padding: 12px;
    border: 1px solid rgba(199, 255, 61, 0.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at 94% 0, rgba(199, 255, 61, 0.08), transparent 30%),
        radial-gradient(circle at 8% 100%, rgba(143, 107, 223, 0.12), transparent 34%),
        linear-gradient(145deg, #171720, #0f1015);
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.035);
}

.content-library-player-stage::before {
    content: "";
    position: absolute;
    inset: -1px 42px auto;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #8f6bdf, var(--exclusive-lime), transparent);
    box-shadow: 0 0 15px rgba(199, 255, 61, 0.2);
}

.content-library-player-stage > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 4px 11px;
}

.content-library-player-stage > header span,
.content-library-player-stage > header small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.64rem;
    font-weight: 950;
}

.content-library-player-stage > header span {
    color: var(--exclusive-lime);
    letter-spacing: 0.12em;
}

.content-library-player-stage > header small {
    color: #aaa8b7;
}

.content-library-player-stage > header svg {
    width: 14px;
    height: 14px;
}

.content-library-player-stage .exclusive-video-frame-prime-size {
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.exclusive-player-stage {
    border-color: rgba(199, 255, 61, 0.24);
    background:
        radial-gradient(circle at 94% 0, rgba(199, 255, 61, 0.1), transparent 30%),
        radial-gradient(circle at 8% 100%, rgba(143, 107, 223, 0.16), transparent 34%),
        linear-gradient(145deg, #181721, #0d0e13);
    box-shadow:
        0 30px 78px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(199, 255, 61, 0.025),
        inset 0 1px rgba(255, 255, 255, 0.045);
}

.exclusive-player-stage > header small {
    color: var(--exclusive-lime);
}

.exclusive-player-stage .exclusive-video-frame {
    border-color: rgba(199, 255, 61, 0.2);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), 0 0 22px rgba(143, 107, 223, 0.08);
}

.exclusive-video-description {
    display: grid;
    width: calc(100% - 26px);
    max-width: 854px;
    gap: 12px;
    margin-inline: auto;
    padding: clamp(19px, 3vw, 25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    background: linear-gradient(145deg, #f7f7fa, #ffffff);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.exclusive-video-description header {
    display: flex;
    align-items: center;
    gap: 9px;
}

.exclusive-video-description header > span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: #1b1d18;
    color: var(--exclusive-lime);
}

.exclusive-video-description header svg {
    width: 15px;
    height: 15px;
}

.exclusive-video-description small {
    color: #5d5968;
    font-size: 0.64rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.exclusive-video-description p {
    margin: 0;
    color: #34313e;
    font-size: 0.9rem;
    line-height: 1.65;
}

.exclusive-detail-content.dynamic-page-content {
    padding: clamp(26px, 5vw, 54px);
    border-color: var(--exclusive-line);
    border-radius: 24px;
    background: #f8f8fb;
    color: #262532;
}

.exclusive-article-reader {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    max-width: 980px;
    margin-inline: auto;
    padding: 12px;
    border: 1px solid rgba(199, 255, 61, 0.2);
    border-radius: 24px;
    background:
        radial-gradient(circle at 94% 0, rgba(199, 255, 61, 0.09), transparent 27%),
        radial-gradient(circle at 5% 100%, rgba(143, 107, 223, 0.18), transparent 32%),
        linear-gradient(145deg, #181721, #0d0e13);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.04);
}

.exclusive-article-reader::before {
    position: absolute;
    z-index: 2;
    inset: -1px 42px auto;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #8f6bdf, var(--exclusive-lime), transparent);
    box-shadow: 0 0 16px rgba(199, 255, 61, 0.2);
    content: "";
}

.exclusive-article-reader::after {
    position: absolute;
    z-index: -1;
    right: -76px;
    bottom: -92px;
    width: 180px;
    height: 180px;
    border: 32px solid rgba(199, 255, 61, 0.035);
    border-radius: 50%;
    content: "";
}

.exclusive-article-reader > header {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 2px 4px 12px;
}

.exclusive-article-reader-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(199, 255, 61, 0.18);
    border-radius: 11px;
    background: rgba(199, 255, 61, 0.075);
    color: var(--exclusive-lime);
}

.exclusive-article-reader-icon svg {
    width: 17px;
    height: 17px;
}

.exclusive-article-reader > header > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.exclusive-article-reader > header small {
    color: var(--exclusive-lime);
    font-size: 0.56rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.exclusive-article-reader > header strong {
    overflow: hidden;
    color: #ffffff;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exclusive-article-reading-time {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid rgba(143, 107, 223, 0.24);
    border-radius: 999px;
    background: rgba(143, 107, 223, 0.09);
    color: #bbb1d0;
    font-size: 0.63rem;
    font-weight: 850;
    white-space: nowrap;
}

.exclusive-article-reading-time svg {
    width: 13px;
    height: 13px;
    color: var(--exclusive-lime);
}

.exclusive-article-sheet {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(73, 66, 88, 0.16);
    border-radius: 16px;
    background:
        radial-gradient(circle at 92% 3%, rgba(143, 107, 223, 0.055), transparent 24%),
        linear-gradient(180deg, #fffefa, #f8f6f1);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.86);
}

.exclusive-article-sheet::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #8f6bdf, var(--exclusive-lime), rgba(199, 255, 61, 0.08));
    content: "";
}

.exclusive-article-content.dynamic-page-content {
    margin: 0;
    padding: clamp(42px, 6vw, 68px) clamp(28px, 7vw, 82px) 34px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #34313b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.4vw, 1.08rem);
    line-height: 1.82;
}

.exclusive-article-content.dynamic-page-content > * {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
}

.exclusive-article-content.dynamic-page-content p,
.exclusive-article-content.dynamic-page-content li {
    color: #565060;
}

.exclusive-article-content.dynamic-page-content p {
    margin-top: 0;
    margin-bottom: 1.25em;
    text-wrap: pretty;
}

.exclusive-article-content.dynamic-page-content p br {
    display: block;
    margin-top: 1em;
    content: "";
}

.exclusive-article-content.dynamic-page-content > p:first-of-type::first-letter {
    float: left;
    margin: 0.11em 0.12em 0 0;
    color: #7253af;
    font-size: 3.1em;
    font-weight: 850;
    line-height: 0.75;
}

.exclusive-article-content.dynamic-page-content h1,
.exclusive-article-content.dynamic-page-content h2,
.exclusive-article-content.dynamic-page-content h3,
.exclusive-article-content.dynamic-page-content h4 {
    color: #292431;
    font-family: Inter, system-ui, sans-serif;
    letter-spacing: -0.035em;
}

.exclusive-article-content.dynamic-page-content h2 {
    padding-bottom: 0.35em;
    border-bottom: 1px solid rgba(114, 83, 175, 0.16);
}

.exclusive-article-content.dynamic-page-content a {
    color: #6542aa;
    text-decoration-color: rgba(101, 66, 170, 0.35);
}

.exclusive-article-content.dynamic-page-content blockquote {
    border-color: rgba(114, 83, 175, 0.15);
    border-left-color: #7253af;
    border-radius: 4px 13px 13px 4px;
    background: rgba(114, 83, 175, 0.06);
    color: #484151;
}

.exclusive-article-content.dynamic-page-content img {
    border: 5px solid #ffffff;
    border-radius: 13px;
    box-shadow: 0 18px 42px rgba(61, 47, 79, 0.17);
}

.exclusive-article-sheet > footer {
    display: flex;
    max-width: 760px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 auto;
    padding: 15px 0 18px;
    border-top: 1px solid rgba(76, 65, 91, 0.11);
    color: #847d8d;
    font-size: 0.61rem;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.exclusive-article-sheet > footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.exclusive-article-sheet > footer svg {
    width: 13px;
    height: 13px;
    color: #7253af;
}

@media (max-width: 680px) {
    .exclusive-article-reader {
        padding: 8px;
        border-radius: 18px;
    }

    .exclusive-article-reader > header {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 2px 2px 10px;
    }

    .exclusive-article-reading-time {
        grid-column: 2;
        justify-self: start;
    }

    .exclusive-article-sheet {
        border-radius: 12px;
    }

    .exclusive-article-content.dynamic-page-content {
        padding: 36px 22px 25px;
        font-size: 0.98rem;
        line-height: 1.76;
    }

    .exclusive-article-content.dynamic-page-content > p:first-of-type::first-letter {
        font-size: 2.75em;
    }

    .exclusive-article-sheet > footer {
        align-items: flex-start;
        flex-direction: column;
        margin: 0 22px;
        padding-bottom: 15px;
    }
}

.exclusive-resource-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--exclusive-line);
    border-radius: 24px;
    background: linear-gradient(145deg, #191923, #121219);
}

.exclusive-resource-card > span {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 19px;
    background: rgba(199, 255, 61, 0.1);
    color: var(--exclusive-lime);
}

.exclusive-resource-card > span svg {
    width: 28px;
    height: 28px;
}

.exclusive-resource-card small {
    color: var(--exclusive-lime);
    font-weight: 950;
    letter-spacing: 0.1em;
}

.exclusive-resource-card h2 {
    margin: 6px 0;
    color: #ffffff;
    font-size: 1.45rem;
}

.exclusive-resource-card p {
    margin: 0;
    color: #8f8d9d;
}

.exclusive-resource-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.exclusive-resource-actions .primary-action {
    background: var(--exclusive-lime);
    color: #101014;
}

.exclusive-resource-actions .secondary-action {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

@media (max-width: 980px) {
    .exclusive-library-hero-card,
    .exclusive-detail-heading {
        grid-template-columns: 1fr;
    }

    .exclusive-library-stats {
        max-width: 620px;
    }

    .exclusive-content-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .exclusive-detail-lock {
        min-width: 0;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 6px 14px;
        align-items: center;
    }

    .exclusive-detail-lock > svg {
        grid-row: 1 / 3;
        margin: 0;
    }

    .exclusive-resource-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .exclusive-resource-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .exclusive-library-hero-card {
        padding: 22px 18px;
        border-radius: 23px;
    }

    .exclusive-library-hero h1 {
        font-size: 2.35rem;
    }

    .exclusive-detail-heading h1 {
        font-size: 2.8rem;
    }

    .exclusive-library-stats span {
        min-height: 76px;
        padding: 12px;
    }

    .exclusive-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .exclusive-content-grid,
    .exclusive-private-pages-grid {
        grid-template-columns: 1fr;
    }

    .exclusive-resource-card {
        grid-template-columns: 1fr;
    }

    .exclusive-resource-actions,
    .exclusive-resource-actions a {
        width: 100%;
    }
}

/* Cabeçalho compacto do catálogo da Biblioteca de Conteúdos. */
body.content-library-page .content-library-main .exclusive-library-hero {
    padding: 14px 0 10px;
}

body.has-member-hub.content-library-page .member-hub-nav + .content-library-main .exclusive-library-hero {
    padding-top: 10px;
}

body.content-library-page .content-library-main .exclusive-library-section {
    padding-top: 18px;
}

body.content-library-page .content-library-intro-text {
    color: var(--accent);
}

body.content-library-page .content-library-main .exclusive-library-hero-card {
    gap: 28px;
    padding: 20px 24px;
    border-radius: 22px;
}

body.content-library-page .content-library-main .exclusive-library-hero h1 {
    margin: 8px 0;
    font-size: clamp(2.15rem, 3.5vw, 3.35rem);
    line-height: 1;
}

body.content-library-page .content-library-main .exclusive-library-hero-copy > p {
    font-size: 0.86rem;
    line-height: 1.45;
}

body.content-library-page .content-library-main .exclusive-library-stats {
    gap: 7px;
}

body.content-library-page .content-library-main .exclusive-library-stats span {
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 13px;
}

body.content-library-page .content-library-main .exclusive-library-stats strong {
    font-size: 1.35rem;
}

body.content-library-page .content-library-main .exclusive-library-stats small {
    margin-top: 4px;
    font-size: 0.58rem;
}

.content-library-filter {
    display: grid;
    gap: 13px;
    margin: 0 0 20px;
    padding: 14px 15px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background:
        radial-gradient(circle at 96% 0, rgba(199, 255, 61, 0.055), transparent 27%),
        linear-gradient(135deg, rgba(22, 21, 31, 0.96), rgba(15, 16, 21, 0.96));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.content-library-filter-heading,
.content-library-filter-title,
.content-library-filter-actions {
    display: flex;
    align-items: center;
}

.content-library-filter-heading {
    justify-content: space-between;
    gap: 14px;
}

.content-library-filter-title {
    min-width: 0;
    gap: 10px;
}

.content-library-filter-title > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(28, 181, 184, 0.24);
    border-radius: 10px;
    background: rgba(28, 181, 184, 0.09);
    color: var(--accent);
}

.content-library-filter-title > span svg {
    width: 16px;
    height: 16px;
}

.content-library-filter-title > div {
    display: grid;
    gap: 1px;
}

.content-library-filter-title strong {
    color: #ffffff;
    font-size: 0.83rem;
    font-weight: 900;
}

.content-library-filter-title small {
    color: #85808f;
    font-size: 0.65rem;
}

.content-library-filter-count {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid rgba(199, 255, 61, 0.18);
    border-radius: 999px;
    background: rgba(199, 255, 61, 0.065);
    color: #aaa5b2;
    font-size: 0.66rem;
    font-weight: 800;
    white-space: nowrap;
}

.content-library-filter-count strong {
    color: var(--exclusive-lime);
    font-size: 0.76rem;
}

.content-library-filter-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
    gap: 10px;
    align-items: end;
}

.content-library-filter-fields > label {
    display: grid;
    min-width: 0;
    gap: 6px;
}

.content-library-filter-fields > label > span:first-child {
    color: #9b96a6;
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.content-library-filter-select {
    position: relative;
    display: block;
}

.content-library-filter-select select {
    width: 100%;
    height: 42px;
    padding: 0 36px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 11px;
    outline: 0;
    appearance: none;
    background: rgba(7, 8, 13, 0.72);
    color: #f5f4f8;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.content-library-filter-select select option {
    background: #15141d;
    color: #ffffff;
}

.content-library-filter-select > svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    width: 15px;
    height: 15px;
    pointer-events: none;
    transform: translateY(-50%);
}

.content-library-filter-select > svg:first-child {
    left: 12px;
    color: var(--accent);
}

.content-library-filter-select > svg:last-child {
    right: 12px;
    color: #777281;
}

.content-library-filter-select:focus-within select {
    border-color: rgba(28, 181, 184, 0.62);
    background: rgba(10, 13, 18, 0.92);
    box-shadow: 0 0 0 3px rgba(28, 181, 184, 0.11);
}

.content-library-filter-actions {
    gap: 8px;
}

.content-library-filter-actions button,
.content-library-filter-actions a,
.content-library-filter-empty > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 0.68rem;
    font-weight: 950;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.content-library-filter-actions button {
    border-color: var(--exclusive-lime);
    background: var(--exclusive-lime);
    color: #101014;
}

.content-library-filter-actions a,
.content-library-filter-empty > a {
    border-color: rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.035);
    color: #aaa5b2;
}

.content-library-filter-actions svg,
.content-library-filter-empty > a svg {
    width: 15px;
    height: 15px;
}

.content-library-filter-actions button:hover,
.content-library-filter-actions button:focus-visible,
.content-library-filter-actions a:hover,
.content-library-filter-actions a:focus-visible,
.content-library-filter-empty > a:hover,
.content-library-filter-empty > a:focus-visible {
    transform: translateY(-1px);
}

.content-library-filter-actions button:hover,
.content-library-filter-actions button:focus-visible {
    background: #d3ff68;
    color: #101014;
}

.content-library-filter-actions a:hover,
.content-library-filter-actions a:focus-visible,
.content-library-filter-empty > a:hover,
.content-library-filter-empty > a:focus-visible {
    border-color: rgba(199, 255, 61, 0.35);
    background: rgba(199, 255, 61, 0.08);
    color: var(--exclusive-lime);
}

.content-library-filter-actions button:focus-visible,
.content-library-filter-actions a:focus-visible,
.content-library-filter-empty > a:focus-visible {
    outline: 3px solid rgba(199, 255, 61, 0.16);
    outline-offset: 2px;
}

.content-library-filter-empty > a {
    width: max-content;
    margin: 10px auto 0;
}

.content-library-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 22px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    background: rgba(18, 18, 26, 0.92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.content-library-pagination > p {
    margin: 0;
    color: #85808f;
    font-size: 0.72rem;
    white-space: nowrap;
}

.content-library-pagination > p strong {
    color: #ffffff;
}

.content-library-pagination-controls,
.content-library-pagination-pages {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.content-library-pagination-direction,
.content-library-pagination-page,
.content-library-pagination-ellipsis {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.04);
    color: #aaa5b2;
    font-size: 0.7rem;
    font-weight: 900;
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.content-library-pagination-direction {
    padding: 0 11px;
}

.content-library-pagination-page {
    min-width: 36px;
    padding: 0 8px;
}

.content-library-pagination-ellipsis {
    min-width: 24px;
    border-color: transparent;
    background: transparent;
}

.content-library-pagination-direction svg {
    width: 14px;
    height: 14px;
}

.content-library-pagination-direction:hover,
.content-library-pagination-direction:focus-visible,
.content-library-pagination-page:hover,
.content-library-pagination-page:focus-visible {
    border-color: rgba(199, 255, 61, 0.38);
    background: rgba(199, 255, 61, 0.09);
    color: var(--exclusive-lime);
    transform: translateY(-1px);
}

.content-library-pagination-page.is-current {
    border-color: var(--exclusive-lime);
    background: var(--exclusive-lime);
    color: #101014;
    box-shadow: 0 7px 18px rgba(199, 255, 61, 0.14);
}

.content-library-pagination-direction.is-disabled {
    opacity: 0.36;
    pointer-events: none;
}

.content-library-pagination-direction:focus-visible,
.content-library-pagination-page:focus-visible {
    outline: 3px solid rgba(199, 255, 61, 0.18);
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .content-library-filter-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-library-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 680px) {
    body.content-library-page .content-library-main .exclusive-library-hero-card {
        gap: 18px;
        padding: 18px;
        border-radius: 19px;
    }

    body.content-library-page .content-library-main .exclusive-library-hero h1 {
        font-size: 2rem;
    }

    body.content-library-page .content-library-main .exclusive-library-stats span {
        min-height: 58px;
    }

    .content-library-filter {
        padding: 13px;
    }

    .content-library-filter-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .content-library-filter-count {
        align-self: stretch;
        justify-content: center;
    }

    .content-library-filter-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .content-library-filter-actions {
        grid-column: auto;
        align-items: stretch;
        flex-direction: column;
    }

    .content-library-filter-actions button,
    .content-library-filter-actions a {
        width: 100%;
    }

    .content-library-pagination {
        align-items: stretch;
        flex-direction: column;
        padding: 12px;
    }

    .content-library-pagination > p {
        text-align: center;
    }

    .content-library-pagination-controls {
        width: 100%;
    }

    .content-library-pagination-direction {
        flex: 1 1 110px;
    }
}

/* Cabeçalho compacto da página de conteúdo exclusivo. */
.exclusive-detail-page .exclusive-detail-hero {
    padding: 18px 0 20px;
    background:
        radial-gradient(circle at 78% 0, rgba(199, 255, 61, 0.065), transparent 30%),
        radial-gradient(circle at 16% 100%, rgba(143, 107, 223, 0.11), transparent 34%);
}

.exclusive-detail-page .exclusive-detail-hero .section-shell {
    max-width: none;
}

.content-library-detail-page .exclusive-detail-hero .section-shell {
    max-width: none;
}

.exclusive-detail-page .exclusive-detail-section {
    padding: 18px 0 clamp(56px, 7vw, 82px);
}

.exclusive-detail-page .exclusive-back-link {
    gap: 7px;
    margin: 0 0 11px 2px;
    color: #9693a4;
    font-size: 0.78rem;
    font-weight: 800;
}

.exclusive-detail-page .exclusive-detail-heading {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 20px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background:
        radial-gradient(circle at 94% 0, rgba(199, 255, 61, 0.09), transparent 30%),
        linear-gradient(135deg, rgba(24, 22, 36, 0.98), rgba(13, 14, 18, 0.98));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.025);
}

.exclusive-detail-page .exclusive-detail-heading::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -1px 38px auto;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--exclusive-lime), transparent);
    opacity: 0.72;
}

.exclusive-detail-page .exclusive-detail-heading::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 150px;
    height: 150px;
    right: -86px;
    bottom: -105px;
    border: 28px solid rgba(199, 255, 61, 0.035);
    border-radius: 50%;
}

.exclusive-detail-page .exclusive-eyebrow {
    gap: 7px;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
}

.exclusive-detail-page .exclusive-eyebrow svg {
    width: 15px;
    height: 15px;
}

.exclusive-detail-page .exclusive-detail-heading h1 {
    max-width: 700px;
    margin: 7px 0 6px;
    font-size: clamp(1.9rem, 3.6vw, 3.2rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.exclusive-detail-page .exclusive-detail-heading > div > p {
    max-width: 680px;
    color: #9c99a9;
    font-size: 0.84rem;
    line-height: 1.45;
}

.exclusive-detail-page .exclusive-detail-lock {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 2px 10px;
    align-items: center;
    min-width: 188px;
    padding: 11px 13px;
    border-color: rgba(199, 255, 61, 0.18);
    border-radius: 14px;
    background: rgba(199, 255, 61, 0.055);
}

.exclusive-detail-page .exclusive-detail-lock > svg {
    grid-row: 1 / 3;
    width: 22px;
    height: 22px;
    margin: 0;
}

.exclusive-detail-page .exclusive-detail-lock small {
    font-size: 0.55rem;
    line-height: 1.1;
    letter-spacing: 0.1em;
}

.exclusive-detail-page .exclusive-detail-lock strong {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.25;
}

@media (max-width: 760px) {
    .exclusive-detail-page .exclusive-detail-section {
        padding-top: 12px;
    }

    .exclusive-detail-page .exclusive-detail-heading {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 17px 16px;
        border-radius: 18px;
    }

    .exclusive-detail-page .exclusive-detail-heading h1 {
        font-size: clamp(1.8rem, 9vw, 2.35rem);
    }

    .exclusive-detail-page .exclusive-detail-lock {
        min-width: 0;
        justify-self: start;
    }
}

@media (max-width: 460px) {
    .exclusive-detail-page .exclusive-detail-hero {
        padding-bottom: 14px;
    }

    .exclusive-detail-page .exclusive-detail-lock {
        width: 100%;
    }
}

/* Cabeçalho mais baixo para aproximar o conteúdo da área de leitura. */
.content-library-detail-page .exclusive-detail-hero,
.individual-exclusive-detail-page .exclusive-detail-hero {
    padding: 10px 0 11px;
}

.content-library-detail-page .exclusive-back-link,
.individual-exclusive-detail-page .exclusive-back-link {
    margin-bottom: 7px;
}

.content-library-detail-page .exclusive-detail-heading,
.individual-exclusive-detail-page .exclusive-detail-heading {
    padding: 13px 18px;
    border-radius: 16px;
}

.content-library-detail-page .exclusive-detail-heading h1,
.individual-exclusive-detail-page .exclusive-detail-heading h1 {
    margin: 4px 0 3px;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    line-height: 1;
}

.content-library-detail-page .exclusive-detail-heading > div > p,
.individual-exclusive-detail-page .exclusive-detail-heading > div > p {
    font-size: 0.78rem;
    line-height: 1.35;
}

.content-library-detail-page .exclusive-detail-lock,
.individual-exclusive-detail-page .exclusive-detail-lock {
    padding: 8px 10px;
}

.content-library-detail-page .exclusive-detail-section,
.individual-exclusive-detail-page .exclusive-detail-section {
    padding-top: 8px;
}

/* Vitrine dos lançamentos Prime na área do usuário. */
.area-prime-showcase {
    --area-prime-gold: #ffd86b;
    --area-prime-purple: #8b5cf6;
    position: relative;
    overflow: hidden;
    padding: clamp(18px, 2vw, 24px);
    background:
        radial-gradient(circle at 94% 4%, rgba(255, 177, 71, 0.15), transparent 25%),
        radial-gradient(circle at 3% 100%, rgba(139, 92, 246, 0.23), transparent 34%),
        linear-gradient(145deg, #171620, #101017 72%);
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.04);
}

.area-prime-showcase::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--area-prime-purple), var(--area-prime-gold), #ff884d);
    box-shadow: 0 0 20px rgba(255, 190, 71, 0.24);
    content: "";
}

.area-prime-showcase::after {
    position: absolute;
    right: -38px;
    bottom: -58px;
    width: 170px;
    height: 170px;
    border: 28px solid rgba(255, 216, 107, 0.025);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.area-prime-showcase > * {
    position: relative;
    z-index: 1;
}

.area-prime-showcase-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.area-prime-showcase-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 216, 107, 0.22);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(255, 177, 71, 0.17));
    color: var(--area-prime-gold);
    box-shadow: 0 13px 28px rgba(139, 92, 246, 0.16);
}

.area-prime-showcase-icon svg {
    width: 19px;
    height: 19px;
}

.area-prime-showcase-heading > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.area-prime-showcase-heading small {
    color: var(--area-prime-gold);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.area-prime-showcase-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.1vw, 1.95rem);
    letter-spacing: -0.04em;
    line-height: 1.02;
}

.area-prime-showcase-count {
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid rgba(255, 216, 107, 0.2);
    border-radius: 999px;
    background: rgba(255, 216, 107, 0.07);
    color: var(--area-prime-gold);
    font-size: 0.59rem;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.area-prime-showcase-intro {
    margin: 8px 0 0 50px;
    color: #9f9aaa;
    font-size: 0.78rem;
    line-height: 1.45;
}

.area-prime-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-top: 15px;
}

.area-prime-preview-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 17px;
    background: linear-gradient(150deg, rgba(27, 26, 37, 0.98), rgba(15, 15, 22, 0.98));
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.2);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.area-prime-preview-card:hover {
    border-color: rgba(255, 216, 107, 0.24);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
    transform: translateY(-2px);
}

.area-prime-preview-card.is-unlocked {
    border-color: rgba(111, 255, 164, 0.22);
}

.area-prime-preview-cover {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 8.2;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    background: linear-gradient(135deg, #2b2340, #171720);
}

.area-prime-preview-cover::after {
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(transparent, rgba(7, 7, 12, 0.66));
    content: "";
    pointer-events: none;
}

.area-prime-preview-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 180ms ease, transform 220ms ease;
}

.area-prime-preview-card:hover .area-prime-preview-cover img {
    transform: scale(1.025);
}

.area-prime-preview-card.is-locked .area-prime-preview-cover img {
    filter: saturate(0.45) brightness(0.58);
}

.area-prime-preview-placeholder {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 216, 107, 0.2);
    border-radius: 15px;
    background: rgba(255, 216, 107, 0.08);
    color: var(--area-prime-gold);
}

.area-prime-preview-placeholder svg {
    width: 22px;
    height: 22px;
}

.area-prime-preview-access,
.area-prime-preview-featured {
    position: absolute;
    top: 8px;
    z-index: 3;
    display: inline-flex;
    min-height: 23px;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 0.54rem;
    font-weight: 950;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.area-prime-preview-access {
    left: 8px;
    border: 1px solid rgba(255, 216, 107, 0.23);
    background: rgba(9, 9, 15, 0.76);
    color: var(--area-prime-gold);
}

.is-unlocked .area-prime-preview-access {
    border-color: rgba(111, 255, 164, 0.27);
    color: #7dffa9;
}

.area-prime-preview-featured {
    right: 8px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: linear-gradient(135deg, #ff3d8d, #b43cff 52%, #6757ff);
    color: #ffffff;
    box-shadow: 0 7px 18px rgba(193, 55, 255, 0.28);
}

.area-prime-preview-access svg,
.area-prime-preview-featured svg {
    width: 11px;
    height: 11px;
}

.area-prime-preview-lock {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 216, 107, 0.27);
    border-radius: 12px;
    background: rgba(9, 9, 15, 0.74);
    color: var(--area-prime-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
    transform: translate(-50%, -50%);
}

.area-prime-preview-lock svg {
    width: 18px;
    height: 18px;
}

.area-prime-preview-body {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 11px 12px 13px;
}

.area-prime-preview-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}

.area-prime-preview-meta span {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: var(--area-prime-gold);
    font-size: 0.57rem;
    font-weight: 950;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.area-prime-preview-meta span svg {
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
}

.area-prime-preview-meta small {
    overflow: hidden;
    color: #8e8999;
    font-size: 0.57rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.area-prime-preview-body h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 2.45em;
    margin: 0;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: -0.015em;
    line-height: 1.22;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.area-prime-showcase-empty {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    border: 1px dashed rgba(255, 216, 107, 0.2);
    border-radius: 17px;
    color: #918c9a;
    text-align: center;
}

.area-prime-showcase-empty svg {
    width: 21px;
    height: 21px;
    color: var(--area-prime-gold);
}

.area-prime-showcase-cta {
    display: flex;
    min-height: 49px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 17px;
    padding: 0 17px;
    border: 1px solid #e5ba46;
    border-radius: 13px;
    background: linear-gradient(135deg, #ffe17d, #f0b942);
    color: #191309;
    font-size: 0.79rem;
    font-weight: 950;
    box-shadow: 0 13px 28px rgba(240, 185, 66, 0.14);
    transition: border-color 160ms ease, box-shadow 160ms ease, filter 160ms ease, transform 160ms ease;
}

.area-prime-showcase-cta:hover {
    border-color: #f8d76f;
    box-shadow: 0 17px 34px rgba(240, 185, 66, 0.2);
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.area-prime-showcase-cta svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 680px) {
    .area-prime-showcase {
        padding: 17px 15px;
    }

    .area-prime-showcase-heading {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .area-prime-showcase-heading h2 {
        font-size: 1.48rem;
    }

    .area-prime-showcase-count {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .area-prime-showcase-intro {
        margin-left: 0;
    }

    .area-prime-preview-grid {
        grid-template-columns: none;
        grid-auto-columns: minmax(230px, 82%);
        grid-auto-flow: column;
        overflow-x: auto;
        padding: 0 2px 8px;
        scroll-snap-type: x proximity;
        scrollbar-color: rgba(255, 216, 107, 0.25) transparent;
        scrollbar-width: thin;
    }

    .area-prime-preview-card {
        scroll-snap-align: start;
    }
}

/* Programação ao vivo e conteúdos individuais na área do usuário. */
.area-personal-section {
    margin-top: 20px;
}

.area-live-now-card,
.area-personal-showcase {
    position: relative;
    overflow: hidden;
    padding: clamp(19px, 2.2vw, 25px);
}

.area-live-now-card {
    --area-live-red: #ff4d6d;
    --area-live-cyan: #4bdcff;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 77, 109, 0.14), transparent 32%),
        radial-gradient(circle at 0 100%, rgba(75, 220, 255, 0.1), transparent 32%),
        linear-gradient(145deg, #171620, #0e1118 74%);
    box-shadow: 0 23px 58px rgba(0, 0, 0, 0.27), inset 0 1px rgba(255, 255, 255, 0.04);
}

.area-live-now-card::before,
.area-personal-showcase::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    content: "";
}

.area-live-now-card::before {
    background: linear-gradient(90deg, #ff3e65, #ff864d, #4bdcff);
    box-shadow: 0 0 18px rgba(255, 77, 109, 0.22);
}

.area-live-now-card > *,
.area-personal-showcase > * {
    position: relative;
    z-index: 1;
}

.area-live-now-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.area-live-now-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--area-live-red);
    font-size: 0.61rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.area-live-now-heading > span svg {
    width: 15px;
    height: 15px;
}

.area-live-now-heading > a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #8f94a2;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.area-live-now-heading > a:hover {
    border-color: rgba(75, 220, 255, 0.28);
    background: rgba(75, 220, 255, 0.08);
    color: var(--area-live-cyan);
}

.area-live-now-heading > a svg {
    width: 16px;
    height: 16px;
}

.area-live-now-main {
    display: grid;
    grid-template-columns: minmax(125px, 0.7fr) minmax(0, 1fr);
    gap: 15px;
    margin-top: 14px;
}

.area-live-now-visual {
    position: relative;
    display: grid;
    min-height: 170px;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: linear-gradient(135deg, #282333, #151721);
    color: var(--area-live-cyan);
}

.area-live-now-visual::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 9, 14, 0.08), rgba(8, 9, 14, 0.68));
    content: "";
    pointer-events: none;
}

.area-live-now-visual > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.area-live-now-visual.is-placeholder > svg {
    width: 34px;
    height: 34px;
}

.area-live-now-badge {
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 999px;
    background: rgba(209, 28, 63, 0.9);
    color: #ffffff;
    font-size: 0.56rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 22px rgba(220, 31, 69, 0.28);
}

.area-live-now-card.is-waiting .area-live-now-badge {
    background: rgba(78, 83, 98, 0.88);
    box-shadow: none;
}

.area-live-now-badge svg {
    width: 11px;
    height: 11px;
}

.area-live-now-card.is-on-air .area-live-now-badge svg {
    fill: currentColor;
    animation: area-live-pulse 1.7s ease-in-out infinite;
}

@keyframes area-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.84); }
}

.area-live-now-progress {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.area-live-now-progress > i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--area-live-red), #ffb34d);
    box-shadow: 0 0 10px rgba(255, 77, 109, 0.38);
}

.area-live-now-copy {
    display: grid;
    align-content: center;
    min-width: 0;
}

.area-live-now-copy > small {
    color: var(--area-live-red);
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.area-live-now-copy h2 {
    margin: 6px 0 7px;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 1.95rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.area-live-now-copy > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #9a9fac;
    font-size: 0.76rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.area-live-now-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 11px;
}

.area-live-now-meta span {
    display: inline-flex;
    min-height: 26px;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid rgba(75, 220, 255, 0.14);
    border-radius: 999px;
    background: rgba(75, 220, 255, 0.055);
    color: #89d9eb;
    font-size: 0.57rem;
    font-weight: 850;
}

.area-live-now-meta svg {
    width: 11px;
    height: 11px;
}

.area-live-now-next {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
    align-items: center;
    margin-top: 11px;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.area-live-now-next > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #7c8290;
    font-size: 0.54rem;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.area-live-now-next > span svg {
    width: 12px;
    height: 12px;
    color: var(--area-live-cyan);
}

.area-live-now-next strong {
    overflow: hidden;
    color: #e8eaf0;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.area-live-now-next time {
    color: var(--area-live-cyan);
    font-size: 0.64rem;
    font-weight: 950;
}

.area-live-now-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.area-live-now-actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.045);
    color: #b3b6c0;
    font-size: 0.67rem;
    font-weight: 950;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.area-live-now-actions a.is-primary {
    border-color: #e83d60;
    background: linear-gradient(135deg, #ff4d70, #d92852);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(217, 40, 82, 0.18);
}

.area-live-now-actions a:hover {
    border-color: rgba(75, 220, 255, 0.28);
    background: rgba(75, 220, 255, 0.08);
    color: #ffffff;
    transform: translateY(-1px);
}

.area-live-now-actions a.is-primary:hover {
    border-color: #ff6f8b;
    background: linear-gradient(135deg, #ff637f, #e33059);
}

.area-live-now-actions svg {
    width: 15px;
    height: 15px;
}

.area-personal-showcase {
    --area-personal-purple: #a581ff;
    --area-personal-cyan: #5fdcff;
    background:
        radial-gradient(circle at 96% 0, rgba(165, 129, 255, 0.18), transparent 31%),
        radial-gradient(circle at 2% 100%, rgba(95, 220, 255, 0.1), transparent 32%),
        linear-gradient(145deg, #171622, #10111a 74%);
    box-shadow: 0 23px 58px rgba(0, 0, 0, 0.27), inset 0 1px rgba(255, 255, 255, 0.04);
}

.area-personal-showcase::before {
    background: linear-gradient(90deg, #8b5cf6, #d869ff, #5fdcff);
    box-shadow: 0 0 18px rgba(165, 129, 255, 0.2);
}

.area-personal-showcase-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
}

.area-personal-showcase-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(165, 129, 255, 0.22);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(95, 220, 255, 0.1));
    color: #b596ff;
}

.area-personal-showcase-icon svg {
    width: 20px;
    height: 20px;
}

.area-personal-showcase-heading > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.area-personal-showcase-heading small {
    color: var(--area-personal-purple);
    font-size: 0.59rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.area-personal-showcase-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.area-personal-showcase-heading p {
    margin: 1px 0 0;
    color: #9597a6;
    font-size: 0.74rem;
    line-height: 1.4;
}

.area-personal-showcase-count {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 9px;
    border: 1px solid rgba(165, 129, 255, 0.2);
    border-radius: 999px;
    background: rgba(165, 129, 255, 0.07);
    color: #b99fff;
    font-size: 0.59rem;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.area-personal-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 230px));
    gap: 10px;
    margin-top: 16px;
}

.area-personal-preview-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.area-personal-preview-card:hover {
    border-color: rgba(165, 129, 255, 0.28);
    background: rgba(165, 129, 255, 0.065);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.19);
    transform: translateY(-2px);
}

.area-personal-preview-card.is-featured {
    border-color: rgba(165, 129, 255, 0.22);
}

.area-personal-preview-cover {
    position: relative;
    display: grid;
    grid-column: 1 / -1;
    aspect-ratio: 16 / 8;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    background: linear-gradient(135deg, #2d2640, #181923);
    color: var(--area-personal-cyan);
}

.area-personal-preview-cover::after {
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(8, 8, 14, 0.58));
    content: "";
    pointer-events: none;
}

.area-personal-preview-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 200ms ease;
}

.area-personal-preview-card:hover .area-personal-preview-cover > img {
    transform: scale(1.035);
}

.area-personal-preview-cover.is-placeholder > svg {
    width: 25px;
    height: 25px;
}

.area-personal-preview-cover > b {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: inline-flex;
    min-height: 23px;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: linear-gradient(135deg, #8b5cf6, #d85fff);
    color: #ffffff;
    font-size: 0.54rem;
    font-weight: 950;
    text-transform: uppercase;
    box-shadow: 0 7px 18px rgba(139, 92, 246, 0.24);
}

.area-personal-preview-cover > b svg {
    width: 10px;
    height: 10px;
}

.area-personal-preview-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 10px 4px 12px 11px;
}

.area-personal-preview-copy small {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: #a98eff;
    font-size: 0.54rem;
    font-weight: 950;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.area-personal-preview-copy small svg {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
}

.area-personal-preview-copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.81rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.area-personal-preview-card > svg {
    align-self: center;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    color: #686477;
}

.area-personal-showcase-cta {
    display: flex;
    min-height: 41px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding: 0 13px;
    border: 1px solid rgba(165, 129, 255, 0.23);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(95, 220, 255, 0.08));
    color: #c2adff;
    font-size: 0.68rem;
    font-weight: 950;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.area-personal-showcase-cta:hover {
    border-color: rgba(165, 129, 255, 0.42);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.23), rgba(95, 220, 255, 0.12));
    color: #ffffff;
    transform: translateY(-1px);
}

.area-personal-showcase-cta svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 900px) {
    .area-personal-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    }
}

@media (max-width: 680px) {
    .area-personal-section {
        margin-top: 14px;
    }

    .area-live-now-card,
    .area-personal-showcase {
        padding: 17px 15px;
    }

    .area-live-now-main {
        grid-template-columns: 1fr;
    }

    .area-live-now-visual {
        min-height: 0;
        aspect-ratio: 16 / 7.8;
    }

    .area-live-now-copy h2 {
        font-size: 1.55rem;
    }

    .area-live-now-actions {
        grid-template-columns: 1fr;
    }

    .area-personal-showcase-heading {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
    }

    .area-personal-showcase-heading h2 {
        font-size: 1.5rem;
    }

    .area-personal-showcase-count {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .area-personal-preview-grid {
        grid-template-columns: none;
        grid-auto-columns: minmax(220px, 76%);
        grid-auto-flow: column;
        overflow-x: auto;
        padding-bottom: 7px;
        scroll-snap-type: x proximity;
        scrollbar-color: rgba(165, 129, 255, 0.25) transparent;
        scrollbar-width: thin;
    }

    .area-personal-preview-card {
        scroll-snap-align: start;
    }
}

/* Vitrine editorial da Biblioteca na área do usuário. */
.area-library-section {
    margin-top: 20px;
}

.area-library-showcase {
    --area-library-lime: #c7ff3d;
    --area-library-cyan: #49d8ff;
    position: relative;
    overflow: hidden;
    padding: clamp(20px, 2.4vw, 28px);
    background:
        radial-gradient(circle at 96% 2%, rgba(73, 216, 255, 0.14), transparent 27%),
        radial-gradient(circle at 2% 100%, rgba(199, 255, 61, 0.1), transparent 30%),
        linear-gradient(145deg, #141720, #0e1119 72%);
    box-shadow: 0 24px 62px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.04);
}

.area-library-showcase::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--area-library-lime), var(--area-library-cyan), #795cff);
    box-shadow: 0 0 18px rgba(73, 216, 255, 0.2);
    content: "";
}

.area-library-showcase::after {
    position: absolute;
    top: -72px;
    right: 12%;
    width: 190px;
    height: 190px;
    border: 34px solid rgba(73, 216, 255, 0.025);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.area-library-showcase > * {
    position: relative;
    z-index: 1;
}

.area-library-showcase-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.area-library-showcase-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(73, 216, 255, 0.2);
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(73, 216, 255, 0.15), rgba(199, 255, 61, 0.1));
    color: var(--area-library-lime);
    box-shadow: 0 12px 28px rgba(48, 196, 235, 0.1);
}

.area-library-showcase-icon svg {
    width: 21px;
    height: 21px;
}

.area-library-showcase-heading > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.area-library-showcase-heading small {
    color: var(--area-library-lime);
    font-size: 0.6rem;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.area-library-showcase-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.45rem, 2.3vw, 2.15rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.area-library-showcase-heading p {
    margin: 2px 0 0;
    color: #9298a7;
    font-size: 0.78rem;
    line-height: 1.45;
}

.area-library-showcase-count {
    display: inline-flex;
    min-height: 29px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(73, 216, 255, 0.19);
    border-radius: 999px;
    background: rgba(73, 216, 255, 0.07);
    color: #75e4ff;
    font-size: 0.61rem;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.area-library-editorial {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.78fr);
    gap: 12px;
    margin-top: 18px;
}

.area-library-editorial.has-0-previews {
    grid-template-columns: 1fr;
}

.area-library-highlight {
    display: grid;
    grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.05fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 19px;
    background: linear-gradient(145deg, rgba(25, 29, 39, 0.98), rgba(14, 16, 24, 0.98));
    box-shadow: 0 17px 38px rgba(0, 0, 0, 0.22);
}

.area-library-highlight.is-featured {
    border-color: rgba(199, 255, 61, 0.2);
}

.area-library-highlight-cover {
    position: relative;
    display: grid;
    min-height: 235px;
    place-items: center;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.075);
    background:
        radial-gradient(circle at 30% 25%, rgba(73, 216, 255, 0.18), transparent 35%),
        linear-gradient(135deg, #253342, #171b25);
}

.area-library-highlight-cover::after {
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(7, 9, 14, 0.66));
    content: "";
    pointer-events: none;
}

.area-library-highlight-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 220ms ease;
}

.area-library-highlight:hover .area-library-highlight-cover img {
    transform: scale(1.025);
}

.area-library-highlight-cover.is-placeholder > span:first-child {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(199, 255, 61, 0.2);
    border-radius: 19px;
    background: rgba(199, 255, 61, 0.08);
    color: var(--area-library-lime);
}

.area-library-highlight-cover.is-placeholder > span:first-child svg {
    width: 28px;
    height: 28px;
}

.area-library-featured-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    background: linear-gradient(135deg, #9eea25, #40d2f4);
    color: #0d1514;
    font-size: 0.57rem;
    font-weight: 950;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(73, 216, 255, 0.18);
}

.area-library-featured-badge svg {
    width: 11px;
    height: 11px;
}

.area-library-highlight-copy {
    display: grid;
    align-content: center;
    min-width: 0;
    padding: clamp(17px, 2.2vw, 25px);
}

.area-library-content-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.area-library-content-meta span,
.area-library-content-meta small {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.59rem;
    font-weight: 950;
    text-transform: uppercase;
}

.area-library-content-meta span {
    color: var(--area-library-lime);
}

.area-library-content-meta small {
    color: #79ddf5;
}

.area-library-content-meta svg {
    width: 12px;
    height: 12px;
}

.area-library-highlight-copy h3 {
    margin: 9px 0 7px;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    letter-spacing: -0.04em;
    line-height: 1.03;
}

.area-library-highlight-copy > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #9ca1af;
    font-size: 0.79rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.area-library-highlight-copy > a {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    justify-self: start;
    margin-top: 14px;
    padding: 0 13px;
    border: 1px solid rgba(199, 255, 61, 0.28);
    border-radius: 11px;
    background: rgba(199, 255, 61, 0.1);
    color: var(--area-library-lime);
    font-size: 0.69rem;
    font-weight: 950;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.area-library-highlight-copy > a:hover {
    border-color: rgba(199, 255, 61, 0.5);
    background: rgba(199, 255, 61, 0.16);
    transform: translateY(-1px);
}

.area-library-highlight-copy > a svg {
    width: 15px;
    height: 15px;
}

.area-library-preview-list {
    display: grid;
    align-content: start;
    gap: 9px;
    min-width: 0;
}

.area-library-editorial.has-1-previews .area-library-preview-list {
    grid-template-rows: 1fr;
}

.area-library-editorial.has-2-previews .area-library-preview-list {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.area-library-editorial.has-3-previews .area-library-preview-list {
    grid-template-rows: repeat(3, minmax(0, 1fr));
}

.area-library-preview-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    gap: 11px;
    min-height: 73px;
    align-items: center;
    overflow: hidden;
    padding: 8px 10px 8px 8px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.area-library-preview-item:hover {
    border-color: rgba(73, 216, 255, 0.24);
    background: rgba(73, 216, 255, 0.06);
    transform: translateX(2px);
}

.area-library-preview-cover {
    display: grid;
    width: 104px;
    height: 66px;
    place-items: center;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #243441, #171c25);
    color: var(--area-library-lime);
}

.area-library-preview-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 200ms ease;
}

.area-library-preview-item:hover .area-library-preview-cover img {
    transform: scale(1.04);
}

.area-library-preview-cover > svg {
    width: 22px;
    height: 22px;
}

.area-library-preview-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.area-library-preview-copy small {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: #78dff8;
    font-size: 0.56rem;
    font-weight: 950;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.area-library-preview-copy small svg {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
}

.area-library-preview-copy strong {
    display: -webkit-box;
    overflow: hidden;
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.area-library-preview-item > svg {
    width: 15px;
    height: 15px;
    color: #657180;
}

.area-library-showcase-empty {
    display: flex;
    min-height: 160px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    border: 1px dashed rgba(73, 216, 255, 0.2);
    border-radius: 17px;
    color: #949ba9;
    text-align: center;
}

.area-library-showcase-empty svg {
    width: 22px;
    height: 22px;
    color: var(--area-library-lime);
}

.area-library-showcase-cta {
    display: flex;
    min-height: 47px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 15px;
    padding: 0 16px;
    border: 1px solid #a7e82c;
    border-radius: 12px;
    background: linear-gradient(135deg, #cfff52, #85df43 55%, #55d5cf);
    color: #0c1510;
    font-size: 0.76rem;
    font-weight: 950;
    box-shadow: 0 12px 28px rgba(128, 225, 76, 0.12);
    transition: filter 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.area-library-showcase-cta:hover {
    box-shadow: 0 16px 34px rgba(128, 225, 76, 0.18);
    filter: brightness(1.04);
    transform: translateY(-1px);
}

.area-library-showcase-cta svg {
    width: 17px;
    height: 17px;
}

@media (max-width: 900px) {
    .area-library-editorial {
        grid-template-columns: 1fr;
    }

    .area-library-editorial.has-1-previews .area-library-preview-list,
    .area-library-editorial.has-2-previews .area-library-preview-list,
    .area-library-editorial.has-3-previews .area-library-preview-list {
        grid-template-rows: auto;
    }

    .area-library-preview-list {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }

    .area-library-preview-item {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .area-library-preview-cover {
        width: 82px;
    }

    .area-library-preview-item > svg {
        display: none;
    }
}

@media (max-width: 680px) {
    .area-library-section {
        margin-top: 14px;
    }

    .area-library-showcase {
        padding: 17px 15px;
    }

    .area-library-showcase-heading {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 10px;
    }

    .area-library-showcase-heading h2 {
        font-size: 1.5rem;
    }

    .area-library-showcase-heading p {
        font-size: 0.73rem;
    }

    .area-library-showcase-count {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .area-library-editorial {
        margin-top: 15px;
    }

    .area-library-highlight {
        grid-template-columns: 1fr;
    }

    .area-library-highlight-cover {
        min-height: 0;
        aspect-ratio: 16 / 8.5;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.075);
    }

    .area-library-highlight-copy {
        padding: 16px;
    }

    .area-library-highlight-copy h3 {
        font-size: 1.45rem;
    }

    .area-library-preview-list {
        grid-template-columns: none;
        grid-auto-columns: minmax(270px, 86%);
        grid-auto-flow: column;
        overflow-x: auto;
        padding-bottom: 7px;
        scroll-snap-type: x proximity;
        scrollbar-color: rgba(73, 216, 255, 0.25) transparent;
        scrollbar-width: thin;
    }

    .area-library-preview-item {
        grid-template-columns: 88px minmax(0, 1fr);
        scroll-snap-align: start;
    }

    .area-library-preview-cover {
        width: 88px;
    }
}

/* Ritmo vertical compacto entre o menu do usuário e o conteúdo privado. */
body.has-member-hub .member-hub-nav + main .user-dashboard-top,
body.has-member-hub .member-hub-nav + main .user-account-heading {
    padding-top: 18px;
}

/* Cabeçalho compacto da página Minha conta. */
body.has-member-hub.user-account-page .member-hub-nav + .user-account-main .user-account-heading {
    padding: 10px 0 12px;
}

body.user-account-page .user-account-heading-card {
    gap: 20px;
    padding: 18px 22px;
    border-radius: 22px;
}

body.user-account-page .user-account-heading-card h1 {
    margin: 8px 0 7px;
    font-size: clamp(2.1rem, 3.5vw, 3.35rem);
    line-height: 1;
}

body.user-account-page .user-account-heading-card p {
    font-size: 0.86rem;
    line-height: 1.45;
}

body.user-account-page .user-account-avatar {
    width: clamp(64px, 7vw, 82px);
    height: clamp(64px, 7vw, 82px);
    border-radius: 21px;
    font-size: clamp(1.2rem, 2.3vw, 1.65rem);
}

body.user-account-page .user-account-profile-card form label,
body.user-account-page .user-account-profile-card form input,
body.user-account-page .user-account-profile-card form label small,
body.user-account-page .user-account-profile-card form .secondary-action {
    font-weight: 400;
}

@media (max-width: 680px) {
    body.has-member-hub.user-account-page .member-hub-nav + .user-account-main .user-account-heading {
        padding: 8px 0 10px;
    }

    body.user-account-page .user-account-heading-card {
        gap: 15px;
        padding: 17px;
        border-radius: 19px;
    }

    body.user-account-page .user-account-heading-card h1 {
        font-size: 1.95rem;
    }

    body.user-account-page .user-account-avatar {
        width: 60px;
        height: 60px;
        border-radius: 17px;
    }
}

body.has-member-hub .member-hub-nav + main .exclusive-library-hero,
body.has-member-hub .member-hub-nav + main .exclusive-detail-hero {
    padding-top: 20px;
}

/* Cabeçalho compacto do catálogo de conteúdos exclusivos. */
body.has-member-hub.exclusive-catalog-page .member-hub-nav + .exclusive-library-main .exclusive-library-hero {
    padding: 10px 0 8px;
}

body.exclusive-catalog-page .exclusive-library-hero-card {
    gap: 26px;
    padding: 18px 24px;
    border-radius: 22px;
}

body.exclusive-catalog-page .exclusive-library-hero h1 {
    margin: 8px 0;
    font-size: clamp(2.15rem, 3.5vw, 3.35rem);
    line-height: 1;
}

body.exclusive-catalog-page .exclusive-library-hero-copy > p {
    font-size: 0.86rem;
    line-height: 1.45;
}

body.exclusive-catalog-page .exclusive-user-name {
    color: inherit;
    font-weight: 900;
}

body.exclusive-catalog-page .exclusive-library-stats {
    gap: 7px;
}

body.exclusive-catalog-page .exclusive-library-stats span {
    min-height: 64px;
    padding: 10px 12px;
    border-radius: 13px;
}

body.exclusive-catalog-page .exclusive-library-stats strong {
    font-size: 1.35rem;
}

body.exclusive-catalog-page .exclusive-library-stats small {
    margin-top: 4px;
    font-size: 0.58rem;
}

body.exclusive-catalog-page .exclusive-library-main .exclusive-library-section {
    padding-top: 18px;
}

@media (max-width: 680px) {
    body.has-member-hub.exclusive-catalog-page .member-hub-nav + .exclusive-library-main .exclusive-library-hero {
        padding-top: 8px;
    }

    body.exclusive-catalog-page .exclusive-library-hero-card {
        gap: 18px;
        padding: 18px;
        border-radius: 19px;
    }

    body.exclusive-catalog-page .exclusive-library-hero h1 {
        font-size: 2rem;
    }

    body.exclusive-catalog-page .exclusive-library-stats span {
        min-height: 58px;
    }

    body.exclusive-catalog-page .exclusive-library-main .exclusive-library-section {
        padding-top: 14px;
    }
}

/* Conteúdos Prime: catálogo bloqueado com liberação individual. */
body.prime-content-page {
    --prime-gold: #ffd86b;
    --prime-orange: #ff9f43;
    --prime-purple: #8b5cf6;
    --prime-panel: #14141e;
    background: #08080e;
    color: #f8f8fc;
}

.member-hub-prime-link {
    border-color: rgba(255, 190, 71, 0.16) !important;
}

.member-hub-prime-link svg { color: #d68f19; }
.member-hub-prime-link:hover,
.member-hub-prime-link.is-active {
    border-color: rgba(255, 190, 71, 0.35) !important;
    background: linear-gradient(135deg, rgba(255, 216, 107, 0.13), rgba(139, 92, 246, 0.11)) !important;
    color: #7a4a00 !important;
}

.prime-library-main {
    min-height: 70vh;
    background:
        radial-gradient(circle at 78% 4%, rgba(139, 92, 246, 0.17), transparent 28%),
        radial-gradient(circle at 12% 34%, rgba(255, 159, 67, 0.07), transparent 26%),
        #08080e;
}

.prime-library-hero { padding: 8px 0 10px; }
.prime-library-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    overflow: hidden;
    padding: clamp(18px, 2.35vw, 29px);
    border: 1px solid rgba(255, 210, 107, 0.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 10%, rgba(255, 178, 71, 0.14), transparent 28%),
        radial-gradient(circle at 55% 120%, rgba(139, 92, 246, 0.2), transparent 36%),
        linear-gradient(135deg, #181722, #101018 70%);
    box-shadow: 0 28px 78px rgba(0, 0, 0, 0.36), inset 0 1px rgba(255, 255, 255, 0.04);
}

.prime-library-hero-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #ffd86b, #ff8b4d);
    box-shadow: 0 0 18px rgba(255, 190, 71, 0.3);
}

.prime-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--prime-gold);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.14em;
}
.prime-eyebrow svg { width: 17px; height: 17px; }
.prime-library-hero h1 { margin: 6px 0; color: #fff; font-size: clamp(2.35rem, 4vw, 3.9rem); letter-spacing: -0.06em; line-height: 0.95; }
.prime-library-hero h1 em { color: var(--prime-gold); font-style: normal; }
.prime-library-hero p { max-width: 730px; margin: 0; color: #aaa6b8; font-size: .92rem; line-height: 1.48; }
.prime-library-summary { display: grid; grid-template-columns: repeat(3, minmax(92px, 1fr)); gap: 8px; }
.prime-library-summary span { display: grid; min-height: 70px; align-content: center; padding: 11px 13px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(255,255,255,.045); }
.prime-library-summary strong { color: #fff; font-size: 1.45rem; line-height: 1; }
.prime-library-summary small { margin-top: 5px; color: #8e8999; font-size: .59rem; font-weight: 850; text-transform: uppercase; }

.prime-catalog-section { padding-top: 24px; padding-bottom: clamp(65px, 8vw, 100px); background: transparent; }
.prime-catalog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.prime-catalog-layout.without-pix { grid-template-columns: 1fr; }
.prime-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.prime-section-heading > div > span { color: var(--prime-gold); font-size: .7rem; font-weight: 950; letter-spacing: .14em; }
.prime-section-heading h2 { margin: 7px 0 0; color: #fff; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.045em; }
.prime-section-heading p { margin: 6px 0 0; color: #8f8b99; }
.prime-secure-label { display: inline-flex; align-items: center; gap: 7px; min-height: 37px; padding: 0 12px; border: 1px solid rgba(255,216,107,.18); border-radius: 999px; background: rgba(255,216,107,.06); color: var(--prime-gold); font-size: .7rem; font-weight: 900; white-space: nowrap; }
.prime-secure-label svg { width: 15px; height: 15px; }

.prime-filter-panel { position: relative; display: grid; gap: 14px; margin-bottom: 18px; padding: 15px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: radial-gradient(circle at 0 0,rgba(132,75,255,.11),transparent 35%),rgba(20,20,29,.94); box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.prime-filter-panel::before { position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg,#8c4cff,var(--prime-gold),#ff6d93); content: ""; opacity: .78; }
.prime-filter-panel > header { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.prime-filter-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,216,107,.16); border-radius: 12px; background: rgba(255,216,107,.08); color: var(--prime-gold); }
.prime-filter-icon svg { width: 18px; height: 18px; }
.prime-filter-panel > header > div { display: grid; gap: 2px; }
.prime-filter-panel > header strong { color: #fff; font-size: .87rem; }
.prime-filter-panel > header small { color: #8f8b99; font-size: .7rem; }
.prime-filter-count { display: inline-flex; min-height: 27px; align-items: center; padding: 0 9px; border: 1px solid rgba(140,76,255,.2); border-radius: 999px; background: rgba(140,76,255,.09); color: #c5a9ff; font-size: .62rem; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
.prime-filter-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 9px; }
.prime-filter-grid.is-simple { grid-template-columns: repeat(2,minmax(0,1fr)); }
.prime-filter-grid label { display: grid; align-content: start; gap: 6px; min-width: 0; color: #918c9c; font-size: .59rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.prime-filter-grid label > div { position: relative; }
.prime-filter-grid label > div > svg { position: absolute; top: 50%; left: 11px; width: 16px; height: 16px; color: #777282; pointer-events: none; transform: translateY(-50%); }
.prime-filter-grid input,
.prime-filter-grid select { width: 100%; height: 39px; min-width: 0; padding: 0 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; outline: 0; background: rgba(8,8,14,.8); color: #f5f3f8; font: inherit; font-size: .72rem; font-weight: 750; letter-spacing: 0; text-transform: none; color-scheme: dark; transition: border-color 160ms ease,background 160ms ease,box-shadow 160ms ease; }
.prime-filter-grid input { padding-left: 36px; }
.prime-filter-grid input::placeholder { color: #686472; }
.prime-filter-grid input:focus,
.prime-filter-grid select:focus { border-color: rgba(255,216,107,.45); background: #0d0d15; box-shadow: 0 0 0 3px rgba(255,216,107,.07); }
.prime-filter-search { grid-column: span 2; }
.prime-filter-panel > footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 11px; border-top: 1px solid rgba(255,255,255,.07); }
.prime-filter-panel > footer p { margin: 0; color: #85808e; font-size: .72rem; }
.prime-filter-panel > footer p strong { color: var(--prime-gold); font-size: .9rem; }
.prime-filter-panel > footer > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.prime-filter-panel > footer a,
.prime-filter-panel > footer button,
.prime-filter-empty > a { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border-radius: 10px; font-size: .69rem; font-weight: 900; text-decoration: none; cursor: pointer; }
.prime-filter-panel > footer a { border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #aaa5b1; }
.prime-filter-panel > footer button { border: 1px solid #e4bd4e; background: linear-gradient(135deg,#ffe17d,#f0bc42); color: #19140a; box-shadow: 0 8px 18px rgba(240,188,66,.12); }
.prime-filter-panel > footer a:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.prime-filter-panel > footer button:hover { border-color: #f7d66e; background: linear-gradient(135deg,#ffe998,#f5c954); transform: translateY(-1px); }
.prime-filter-panel > footer svg,
.prime-filter-empty > a svg { width: 15px; height: 15px; }

.prime-filter-panel.is-compact { gap: 7px; margin-bottom: 14px; padding: 10px 12px; border-radius: 14px; }
.prime-filter-compact-bar { display: grid; grid-template-columns: auto repeat(3,minmax(115px,1fr)) auto auto; align-items: end; gap: 8px; }
.prime-filter-compact-title { display: inline-flex; height: 36px; align-items: center; gap: 7px; padding: 0 4px; color: #fff; font-size: .76rem; white-space: nowrap; }
.prime-filter-compact-title > svg { width: 17px; height: 17px; color: var(--prime-gold); }
.prime-filter-compact-bar label { display: grid; gap: 4px; min-width: 0; color: #888391; font-size: .54rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.prime-filter-compact-bar select { width: 100%; height: 36px; min-width: 0; padding: 0 9px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; outline: 0; background: rgba(8,8,14,.82); color: #f5f3f8; font: inherit; font-size: .69rem; font-weight: 780; letter-spacing: 0; text-transform: none; color-scheme: dark; }
.prime-filter-compact-bar select:focus { border-color: rgba(255,216,107,.45); box-shadow: 0 0 0 3px rgba(255,216,107,.07); }
.prime-filter-compact-submit,
.prime-filter-compact-clear { display: inline-flex; height: 36px; align-items: center; justify-content: center; gap: 6px; border-radius: 9px; font-size: .67rem; font-weight: 900; text-decoration: none; cursor: pointer; }
.prime-filter-compact-submit { padding: 0 12px; border: 1px solid #e4bd4e; background: linear-gradient(135deg,#ffe17d,#f0bc42); color: #19140a; }
.prime-filter-compact-clear { width: 36px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: #aaa5b1; }
.prime-filter-compact-submit svg,
.prime-filter-compact-clear svg { width: 15px; height: 15px; }
.prime-filter-compact-submit:hover { border-color: #f7d66e; background: linear-gradient(135deg,#ffe998,#f5c954); }
.prime-filter-compact-clear:hover { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.prime-filter-compact-result { display: flex; align-items: center; gap: 5px; margin: 0; padding-top: 7px; border-top: 1px solid rgba(255,255,255,.065); color: #817c89; font-size: .64rem; }
.prime-filter-compact-result strong { color: var(--prime-gold); font-size: .74rem; }
.prime-filter-compact-result span { margin-left: auto; color: #a98ce7; font-size: .57rem; font-weight: 900; text-transform: uppercase; }

.prime-content-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(238px, 278px)); gap: 13px; justify-content: start; }
.prime-content-card { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: linear-gradient(150deg, #171720, #111118); box-shadow: 0 18px 40px rgba(0,0,0,.22); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.prime-content-card:hover { transform: translateY(-3px); border-color: rgba(255,216,107,.25); box-shadow: 0 28px 60px rgba(0,0,0,.31); }
.prime-content-card.is-unlocked { border-color: rgba(111,255,164,.25); }
.prime-content-card.is-featured { background: radial-gradient(circle at 90% 0, rgba(255,216,107,.09), transparent 30%), linear-gradient(150deg,#1b1920,#121119); }
.prime-card-cover { position: relative; display: grid; aspect-ratio: 16/7.6; place-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.08); background: linear-gradient(135deg,#262139,#171720); }
.prime-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: filter 180ms ease, transform 220ms ease; }
.prime-content-card:hover .prime-card-cover img { transform: scale(1.025); }
.prime-content-card.is-locked .prime-card-cover img { filter: saturate(.45) brightness(.56); }
.prime-card-cover.is-placeholder > span:first-child { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,216,107,.18); border-radius: 15px; background: rgba(255,216,107,.07); color: var(--prime-gold); }
.prime-card-cover.is-placeholder > span:first-child svg { width: 22px; height: 22px; }
.prime-access-badge,.prime-featured-badge { position: absolute; top: 9px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; min-height: 24px; padding: 0 8px; border-radius: 999px; font-size: .57rem; font-weight: 950; text-transform: uppercase; backdrop-filter: blur(12px); }
.prime-access-badge { left: 9px; border: 1px solid rgba(255,216,107,.22); background: rgba(9,9,15,.72); color: var(--prime-gold); }
.is-unlocked .prime-access-badge { border-color: rgba(111,255,164,.25); color: #7dffa9; }
.prime-featured-badge {
    right: 9px;
    overflow: hidden;
    min-height: 27px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.38);
    background: linear-gradient(135deg, #ff3d8d 0%, #b43cff 52%, #6757ff 100%);
    color: #fff;
    font-size: .6rem;
    letter-spacing: .035em;
    text-shadow: 0 1px 2px rgba(35,10,55,.5);
    box-shadow: 0 7px 20px rgba(193,55,255,.36);
}
.prime-access-badge svg,.prime-featured-badge svg { width: 11px; height: 11px; }
.prime-featured-badge svg { filter: drop-shadow(0 1px 2px rgba(35,10,55,.42)); }
.prime-card-lock-visual { position: absolute; z-index: 2; display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid rgba(255,216,107,.25); border-radius: 14px; background: rgba(10,9,16,.72); color: var(--prime-gold); box-shadow: 0 14px 28px rgba(0,0,0,.28); backdrop-filter: blur(10px); }
.prime-card-lock-visual svg { width: 19px; height: 19px; }
.prime-card-body { display: grid; gap: 8px; padding: 14px; }
.prime-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.prime-card-meta span { display: inline-flex; align-items: center; gap: 5px; color: var(--prime-gold); font-size: .62rem; font-weight: 900; text-transform: uppercase; }
.prime-card-meta span svg { width: 12px; height: 12px; }
.prime-card-meta small { color: #777381; font-size: .68rem; font-weight: 850; }
.prime-card-body h3 { margin: 0; color: #fff; font-size: 1.04rem; letter-spacing: -.02em; }
.prime-card-body > p { display: -webkit-box; min-height: 38px; overflow: hidden; margin: 0; color: #9995a4; font-size: .77rem; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.prime-card-body footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 5px; border-top: 1px solid rgba(255,255,255,.07); }
.prime-card-price { display: grid; gap: 3px; }
.prime-card-price small { color: #777381; font-size: .6rem; font-weight: 950; letter-spacing: .12em; }
.prime-card-price strong { color: var(--prime-gold); font-size: .92rem; }
.prime-card-price.is-unlocked strong { color: #7dffa9; }
.prime-card-action { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 33px; padding: 0 9px; border: 1px solid rgba(255,216,107,.24); border-radius: 9px; background: rgba(255,216,107,.1); color: var(--prime-gold); font-size: .63rem; font-weight: 900; white-space: nowrap; }
.prime-card-action svg { width: 13px; height: 13px; }
.prime-card-action.is-disabled { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.035); color: #777381; cursor: not-allowed; }

.prime-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: rgba(18,18,26,.9); }
.prime-pagination > p { margin: 0; color: #85808f; font-size: .7rem; white-space: nowrap; }
.prime-pagination > p strong { color: #fff; }
.prime-pagination-controls,
.prime-pagination-pages { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }
.prime-pagination-direction,
.prime-pagination-page,
.prime-pagination-ellipsis { display: inline-flex; min-height: 34px; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; background: rgba(255,255,255,.035); color: #aaa5b2; font-size: .68rem; font-weight: 900; text-decoration: none; }
.prime-pagination-direction { padding: 0 10px; }
.prime-pagination-page { min-width: 34px; padding: 0 8px; }
.prime-pagination-ellipsis { min-width: 24px; border-color: transparent; background: transparent; }
.prime-pagination-direction svg { width: 14px; height: 14px; }
.prime-pagination-direction:hover,
.prime-pagination-page:hover { border-color: rgba(255,216,107,.35); background: rgba(255,216,107,.08); color: var(--prime-gold); }
.prime-pagination-page.is-current { border-color: #e8bd4a; background: linear-gradient(135deg,#ffe17d,#edb93e); color: #181208; box-shadow: 0 7px 16px rgba(237,185,62,.14); }
.prime-pagination-direction.is-disabled { opacity: .38; pointer-events: none; }

.prime-pix-card { position: sticky; top: 116px; overflow: hidden; padding: 23px; border: 1px solid rgba(255,216,107,.22); border-radius: 23px; background: radial-gradient(circle at 100% 0, rgba(139,92,246,.23), transparent 36%), linear-gradient(150deg,#191721,#111118); box-shadow: 0 26px 62px rgba(0,0,0,.32); }
.prime-pix-glow { position: absolute; width: 150px; height: 150px; right: -70px; bottom: -70px; border: 26px solid rgba(255,216,107,.045); border-radius: 50%; }
.prime-pix-card header { position: relative; display: flex; align-items: center; gap: 12px; }
.prime-pix-card header > span { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: linear-gradient(135deg,#8b5cf6,#ffb547); color: #fff; box-shadow: 0 13px 28px rgba(139,92,246,.25); }
.prime-pix-card header svg { width: 22px; height: 22px; }
.prime-pix-card header small { color: var(--prime-gold); font-size: .62rem; font-weight: 950; letter-spacing: .12em; }
.prime-pix-card .prime-pix-secure-label { justify-content: center; min-width: 150px; min-height: 30px; padding: 0 12px; border-color: rgba(255,216,107,.24); background: rgba(255,216,107,.075); font-size: .68rem; letter-spacing: .01em; }
.prime-pix-card .prime-pix-secure-label svg { width: 14px; height: 14px; }
.prime-pix-card h2 { margin: 3px 0 0; color: #fff; font-size: 1.45rem; }
.prime-pix-card > p { position: relative; margin: 17px 0; color: #aaa6b5; font-size: .83rem; line-height: 1.6; }
.prime-pix-key { position: relative; display: grid; gap: 5px; padding: 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 15px; background: rgba(5,5,10,.35); }
.prime-pix-key small { color: #777381; font-size: .6rem; font-weight: 950; letter-spacing: .12em; }
.prime-pix-key strong { color: var(--prime-gold); font-size: .78rem; }
.prime-pix-key code { overflow-wrap: anywhere; color: #fff; font-family: inherit; font-size: .93rem; font-weight: 850; }
.prime-pix-copy { position: relative; display: inline-flex; width: 100%; min-height: 43px; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; border: 0; border-radius: 12px; background: linear-gradient(135deg,#ffd86b,#ffac43); color: #17110a; font-weight: 950; cursor: pointer; }
.prime-pix-copy svg { width: 17px; height: 17px; }
.prime-pix-card .copy-feedback { display: block; min-height: 18px; margin-top: 5px; color: #7dffa9; font-size: .7rem; font-weight: 800; text-align: center; }
.prime-whatsapp-confirm { position:relative; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center; min-height:52px; padding:9px 12px; border:1px solid rgba(80,255,145,.28); border-radius:13px; background:linear-gradient(135deg,#1cbd68,#0c8e4b); color:#fff; box-shadow:0 12px 28px rgba(11,142,74,.2); transition:transform 160ms ease,filter 160ms ease; }
.prime-whatsapp-confirm:hover { transform:translateY(-1px); filter:brightness(1.06); }
.prime-whatsapp-confirm > svg { width:19px; height:19px; }
.prime-whatsapp-confirm > svg:last-child { width:15px; height:15px; opacity:.82; }
.prime-whatsapp-confirm > span { display:grid; gap:2px; }
.prime-whatsapp-confirm strong { font-size:.78rem; }
.prime-whatsapp-confirm small { color:rgba(255,255,255,.76); font-size:.62rem; }
.prime-pix-card footer { position: relative; display: flex; gap: 9px; align-items: center; margin-top: 11px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.07); color: #8e8999; }
.prime-pix-card footer > svg { flex: 0 0 auto; width: 17px; height: 17px; color: #7dffa9; }
.prime-pix-card footer span { display: grid; gap: 2px; }
.prime-pix-card footer strong { color: #dcd9e4; font-size: .73rem; }
.prime-pix-card footer small { font-size: .64rem; }
.prime-empty-state { display: grid; min-height: 280px; place-items: center; align-content: center; gap: 10px; padding: 30px; border: 1px dashed rgba(255,216,107,.2); border-radius: 22px; color: #8f8b99; text-align: center; }
.prime-empty-state > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; background: rgba(255,216,107,.08); color: var(--prime-gold); }
.prime-empty-state h1,.prime-empty-state h3 { margin: 0; color: #fff; }
.prime-empty-state p { margin: 0; }
.prime-filter-empty > a { margin-top: 5px; border: 1px solid rgba(255,216,107,.25); background: rgba(255,216,107,.08); color: var(--prime-gold); }
.prime-filter-empty > a:hover { border-color: rgba(255,216,107,.48); background: rgba(255,216,107,.14); }
.prime-denied-state { min-height: 520px; }
.prime-detail-main {
    background:
        radial-gradient(circle at 82% 4%, rgba(255,216,107,.075), transparent 26%),
        radial-gradient(circle at 12% 45%, rgba(139,92,246,.12), transparent 30%),
        #090910;
}
.prime-detail-hero { padding: 9px 0 11px; background: transparent; }
.prime-detail-page .exclusive-back-link { margin-bottom: 7px; color: #aaa6b5; }
.prime-detail-page .exclusive-back-link:hover { color: var(--prime-gold); }
.prime-detail-page .exclusive-detail-heading {
    align-items: center;
    gap: 18px;
    padding: 13px 18px;
    border: 1px solid rgba(255,216,107,.14);
    border-radius: 16px;
    background:
        radial-gradient(circle at 94% 0, rgba(255,178,71,.12), transparent 31%),
        linear-gradient(135deg, rgba(25,24,35,.97), rgba(15,15,23,.97));
    box-shadow: 0 22px 58px rgba(0,0,0,.27), inset 0 1px rgba(255,255,255,.035);
}
.prime-detail-page .exclusive-detail-heading h1 { margin: 4px 0; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1; }
.prime-detail-page .exclusive-detail-heading > div > p { max-width: 760px; margin: 0; font-size: .78rem; line-height: 1.35; }
.prime-detail-page .exclusive-detail-lock { min-width: 176px; padding: 8px 10px; border-radius: 14px; background: rgba(125,255,169,.055); }
.prime-detail-page .exclusive-detail-lock > svg { width: 21px; height: 21px; margin: 0; }
.prime-detail-page .exclusive-detail-section { padding: 8px 0 clamp(62px, 8vw, 92px); }
.prime-detail-page .exclusive-detail-shell { max-width: 980px; gap: 20px; }
.prime-video-stage {
    position: relative;
    width: 100%;
    max-width: 880px;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid rgba(255,216,107,.18);
    border-radius: 22px;
    background:
        radial-gradient(circle at 95% 0, rgba(139,92,246,.14), transparent 28%),
        linear-gradient(145deg, #171620, #0f0f16);
    box-shadow: 0 26px 70px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.04);
}
.prime-video-stage::before {
    content: "";
    position: absolute;
    inset: -1px 42px auto;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #8b5cf6, var(--prime-gold), transparent);
    box-shadow: 0 0 15px rgba(255,216,107,.3);
}
.prime-video-stage > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 11px; }
.prime-video-stage > header span,
.prime-video-stage > header small { display: inline-flex; align-items: center; gap: 7px; font-weight: 900; }
.prime-video-stage > header span { color: var(--prime-gold); font-size: .66rem; letter-spacing: .12em; }
.prime-video-stage > header small { color: #7dffa9; font-size: .67rem; }
.prime-video-stage > header svg { width: 14px; height: 14px; }
.prime-video-stage .exclusive-video-frame { border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.34); }
.prime-player-controls {
    gap: 8px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    background: rgba(9,9,15,.9);
}
.prime-player-controls .icon-button { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; }
.prime-player-controls .icon-button:hover,
.prime-player-controls .icon-button.is-active { border-color: rgba(255,216,107,.48); background: rgba(255,216,107,.1); color: var(--prime-gold); }
.prime-player-status { overflow: hidden; max-width: 210px; color: #8e8999; font-size: .65rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.prime-video-info-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 880px;
    margin: 2px auto 0;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid rgba(255,216,107,.16);
    border-radius: 22px;
    background:
        radial-gradient(circle at 94% 0, rgba(139,92,246,.16), transparent 30%),
        linear-gradient(145deg, #171620, #0f0f16);
    box-shadow: 0 22px 58px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.035);
}
.prime-video-info-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, var(--prime-gold), #8b5cf6); }
.prime-video-info-card > header { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 13px; align-items: center; }
.prime-video-info-icon { display: grid; width: 45px; height: 45px; place-items: center; border: 1px solid rgba(255,216,107,.2); border-radius: 14px; background: rgba(255,216,107,.08); color: var(--prime-gold); }
.prime-video-info-icon svg { width: 20px; height: 20px; }
.prime-video-info-card small { color: var(--prime-gold); font-size: .62rem; font-weight: 950; letter-spacing: .12em; }
.prime-video-info-card h2 { margin: 4px 0 0; color: #fff; font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: -.025em; }
.prime-video-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.075); }
.prime-video-meta span { display: inline-flex; min-height: 28px; align-items: center; gap: 6px; padding: 0 9px; border: 1px solid rgba(255,255,255,.085); border-radius: 999px; background: rgba(255,255,255,.035); color: #aaa6b5; font-size: .64rem; font-weight: 850; }
.prime-video-meta span:last-child { border-color: rgba(125,255,169,.18); color: #7dffa9; }
.prime-video-meta svg { width: 12px; height: 12px; color: var(--prime-gold); }
.prime-video-info-card > p { margin: 15px 0 0; color: #aaa6b5; font-size: .9rem; line-height: 1.7; }
.prime-video-back { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid rgba(255,216,107,.24); border-radius: 11px; background: rgba(255,216,107,.08); color: var(--prime-gold); font-size: .7rem; font-weight: 900; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease; }
.prime-video-back:hover { border-color: rgba(255,216,107,.46); background: rgba(255,216,107,.14); transform: translateY(-1px); }
.prime-video-back svg { width: 15px; height: 15px; }
.prime-engagement-panel { display: grid; gap: 10px; margin-top: 19px; padding: 16px; border: 1px solid rgba(139,92,246,.2); border-radius: 16px; background: linear-gradient(135deg,rgba(139,92,246,.08),rgba(255,216,107,.035)); }
.prime-engagement-actions { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 3px; }
.prime-engagement-action { display: inline-flex; min-height: 37px; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.04); color: #aaa6b5; font-size: .68rem; font-weight: 900; cursor: pointer; transition: transform 150ms ease,border-color 150ms ease,background 150ms ease,color 150ms ease; }
.prime-engagement-action[hidden] { display: none !important; }
.prime-engagement-action:hover { border-color: rgba(255,216,107,.34); color: #fff; transform: translateY(-1px); }
.prime-engagement-action.is-resume { border-color: rgba(255,216,107,.25); background: rgba(255,216,107,.09); color: var(--prime-gold); }
.prime-engagement-action.is-active { border-color: rgba(125,255,169,.27); background: rgba(125,255,169,.085); color: #7dffa9; }
.prime-engagement-action.is-active svg { fill: currentColor; }
.prime-engagement-action svg { width: 14px; height: 14px; }
.prime-engagement-feedback { min-height: 16px; color: #8e8999; font-size: .64rem; font-weight: 800; }
.prime-engagement-feedback.is-error { color: #ff8e9b; }
.prime-opinion-card { position:relative; display:grid; width:100%; max-width:880px; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:18px; margin:2px auto 0; padding:18px 20px; overflow:hidden; border:1px solid rgba(139,92,246,.24); border-radius:19px; background:radial-gradient(circle at 92% 10%,rgba(255,216,107,.1),transparent 30%),linear-gradient(135deg,#171522,#111118); box-shadow:0 18px 42px rgba(0,0,0,.2); }
.prime-opinion-card::before { position:absolute; inset:0 auto 0 0; width:4px; background:linear-gradient(180deg,#8b5cf6,var(--prime-gold),#7dffa9); content:""; }
.prime-opinion-card > header { display:flex; align-items:center; gap:12px; min-width:0; }
.prime-opinion-icon { display:grid; flex:0 0 auto; width:45px; height:45px; place-items:center; border:1px solid rgba(255,216,107,.2); border-radius:14px; background:linear-gradient(135deg,rgba(139,92,246,.3),rgba(255,216,107,.16)); color:var(--prime-gold); }
.prime-opinion-icon svg { width:21px; height:21px; }
.prime-opinion-card header div { display:grid; gap:2px; }
.prime-opinion-card header small { color:var(--prime-gold); font-size:.57rem; font-weight:950; letter-spacing:.11em; }
.prime-opinion-card h2 { margin:0; color:#fff; font-size:1.05rem; }
.prime-opinion-card header p { margin:0; color:#8f8a99; font-size:.72rem; line-height:1.45; }
.prime-opinion-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.prime-opinion-button { display:inline-flex; min-height:42px; align-items:center; justify-content:center; gap:7px; padding:0 13px; border:1px solid rgba(255,255,255,.1); border-radius:11px; background:rgba(255,255,255,.04); color:#aaa6b5; font:inherit; font-size:.69rem; font-weight:900; cursor:pointer; transition:transform 150ms ease,border-color 150ms ease,background 150ms ease,color 150ms ease,box-shadow 150ms ease; }
.prime-opinion-button svg { width:15px; height:15px; }
.prime-opinion-button:hover { border-color:rgba(255,216,107,.3); color:#fff; transform:translateY(-1px); }
.prime-opinion-button.is-liked.is-active { border-color:rgba(125,255,169,.4); background:rgba(125,255,169,.12); color:#7dffa9; box-shadow:0 8px 22px rgba(58,194,111,.1); }
.prime-opinion-button.is-not-for-me.is-active { border-color:rgba(255,125,145,.38); background:rgba(255,125,145,.1); color:#ff91a2; }
.prime-opinion-button.is-loved.is-active { border-color:rgba(255,105,176,.48); background:linear-gradient(135deg,rgba(255,74,149,.17),rgba(168,86,255,.13)); color:#ff7fbd; box-shadow:0 8px 24px rgba(255,74,149,.12); }
.prime-opinion-button.is-active svg { fill:currentColor; }
.prime-opinion-button:disabled { cursor:wait; opacity:.65; transform:none; }
.prime-opinion-feedback { grid-column:1/-1; min-height:15px; color:#7dffa9; font-size:.63rem; font-weight:800; }
.prime-opinion-feedback.is-error { color:#ff91a2; }
.prime-materials-card,
.prime-next-content-card { width: 100%; max-width: 880px; margin: 2px auto 0; border: 1px solid rgba(255,216,107,.14); border-radius: 20px; background: linear-gradient(145deg,#16151e,#101017); box-shadow: 0 20px 50px rgba(0,0,0,.24); }
.prime-materials-card { padding: clamp(20px,3vw,27px); }
.prime-materials-card > header { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,.075); }
.prime-materials-card > header > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: rgba(139,92,246,.12); color: #ad8dff; }
.prime-materials-card > header svg { width: 19px; height: 19px; }
.prime-materials-card small,
.prime-next-content-card small { color: var(--prime-gold); font-size: .61rem; font-weight: 950; letter-spacing: .12em; }
.prime-materials-card h2,
.prime-next-content-card h2 { margin: 4px 0 0; color: #fff; font-size: 1.25rem; }
.prime-materials-content { padding-top: 16px; color: #aaa6b5; font-size: .86rem; line-height: 1.65; }
.prime-materials-content > *:first-child { margin-top: 0; }
.prime-materials-content > *:last-child { margin-bottom: 0; }
.prime-materials-content h2,.prime-materials-content h3,.prime-materials-content h4 { color: #fff; }
.prime-materials-content a { color: var(--prime-gold); font-weight: 850; text-decoration: underline; text-underline-offset: 3px; }
.prime-materials-content img { max-width: 100%; height: auto; border-radius: 14px; }
.prime-materials-content li + li { margin-top: 6px; }
.prime-next-content-card { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 18px; align-items: center; padding: 13px; }
.prime-next-cover { display: grid; aspect-ratio: 16/9; place-items: center; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg,#2b2340,#161622); color: var(--prime-gold); }
.prime-next-cover img { width: 100%; height: 100%; object-fit: cover; }
.prime-next-cover svg { width: 28px; height: 28px; }
.prime-next-content-card p { display: -webkit-box; overflow: hidden; margin: 7px 0 11px; color: #918d9c; font-size: .76rem; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.prime-next-content-card a { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; padding: 0 11px; border-radius: 10px; background: linear-gradient(135deg,var(--prime-gold),#ffad45); color: #17110a; font-size: .68rem; font-weight: 950; }
.prime-next-content-card a svg { width: 14px; height: 14px; }
.prime-article-detail-page .exclusive-detail-shell { max-width:1160px; }
.prime-book-reader { --prime-reader-scale:1; display:grid; gap:10px; width:100%; }
.prime-book-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:11px 13px; border:1px solid rgba(255,216,107,.16); border-radius:15px; background:linear-gradient(135deg,rgba(24,22,34,.97),rgba(13,13,20,.97)); box-shadow:0 14px 34px rgba(0,0,0,.2); }
.prime-book-toolbar-title { display:flex; align-items:center; gap:10px; min-width:0; }
.prime-book-toolbar-title > span { display:grid; flex:0 0 auto; width:38px; height:38px; place-items:center; border:1px solid rgba(255,216,107,.18); border-radius:11px; background:rgba(255,216,107,.075); color:var(--prime-gold); }
.prime-book-toolbar-title svg { width:18px; height:18px; }
.prime-book-toolbar-title div { display:grid; gap:2px; }
.prime-book-toolbar-title small { color:var(--prime-gold); font-size:.54rem; font-weight:950; letter-spacing:.12em; }
.prime-book-toolbar-title strong { color:#fff; font-size:.84rem; }
.prime-book-controls { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:7px; }
.prime-book-font-status { min-width:72px; color:#96919f; font-size:.61rem; font-weight:850; text-align:center; }
.prime-book-controls button { display:inline-flex; min-width:39px; min-height:37px; align-items:center; justify-content:center; gap:5px; padding:0 10px; border:1px solid rgba(255,255,255,.1); border-radius:10px; background:rgba(255,255,255,.04); color:#bbb6c4; font:inherit; font-size:.67rem; font-weight:900; cursor:pointer; transition:border-color 150ms ease,background 150ms ease,color 150ms ease,transform 150ms ease; }
.prime-book-controls button:hover { border-color:rgba(255,216,107,.32); color:#fff; transform:translateY(-1px); }
.prime-book-controls button:disabled { cursor:not-allowed; opacity:.35; transform:none; }
.prime-book-controls button svg { width:13px; height:13px; }
.prime-book-controls button > span:not([data-prime-book-theme-label]) { font-family:Georgia,"Times New Roman",serif; font-size:.83rem; }
.prime-book-theme-button.is-active { border-color:rgba(255,216,107,.3); background:rgba(255,216,107,.1); color:var(--prime-gold); }
.prime-book-cover { position:relative; padding:16px 19px 20px; border:1px solid rgba(255,216,107,.19); border-radius:22px; background:linear-gradient(135deg,#322446 0%,#191527 48%,#30223c 100%); box-shadow:0 32px 80px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.07),inset 0 0 0 7px rgba(8,7,13,.24); }
.prime-book-cover::before,.prime-book-cover::after { position:absolute; top:28px; bottom:31px; width:8px; border-radius:999px; background:linear-gradient(180deg,rgba(255,216,107,.55),rgba(139,92,246,.35),rgba(255,216,107,.45)); content:""; opacity:.48; }
.prime-book-cover::before { left:7px; }
.prime-book-cover::after { right:7px; }
.prime-book-bookmark { position:absolute; z-index:5; top:0; right:clamp(54px,8vw,92px); display:grid; width:34px; height:70px; place-items:center; padding-bottom:13px; clip-path:polygon(0 0,100% 0,100% 100%,50% 78%,0 100%); background:linear-gradient(180deg,#f1bd43,#da8035); color:#39200d; filter:drop-shadow(0 5px 5px rgba(0,0,0,.24)); }
.prime-book-bookmark svg { width:15px; height:15px; }
.prime-book-pages { position:relative; overflow:hidden; border:1px solid rgba(98,68,36,.25); border-radius:13px 13px 17px 17px; background:linear-gradient(90deg,#f4ead3 0%,#fffaf0 5%,#fffdf6 44%,#e6d7ba 49.55%,#b59d79 50%,#e5d6b9 50.45%,#fffdf6 56%,#fffaf0 95%,#f2e6cf 100%); box-shadow:0 15px 34px rgba(0,0,0,.34),inset 0 0 45px rgba(116,83,42,.08); }
.prime-book-pages::before { position:absolute; z-index:1; inset:0 auto 0 50%; width:54px; background:linear-gradient(90deg,transparent,rgba(66,43,22,.08) 34%,rgba(63,40,19,.19) 49%,rgba(255,255,255,.28) 52%,rgba(77,50,24,.08) 67%,transparent); content:""; pointer-events:none; transform:translateX(-50%); }
.prime-book-pages::after { position:absolute; inset:11px; border:1px solid rgba(128,91,48,.11); border-radius:8px 8px 13px 13px; content:""; pointer-events:none; }
.prime-book-article.dynamic-page-content { position:relative; z-index:2; margin:0; padding:clamp(42px,5.5vw,70px) clamp(38px,5vw,64px) 48px; border:0; border-radius:0; background:transparent; box-shadow:none; color:#3e342b; font-family:Georgia,"Times New Roman",serif; font-size:calc(1rem * var(--prime-reader-scale)); line-height:1.86; column-count:2; column-gap:clamp(72px,8vw,110px); column-rule:1px solid rgba(115,82,43,.12); transition:color 180ms ease,font-size 180ms ease; }
.prime-book-article.dynamic-page-content p,.prime-book-article.dynamic-page-content li { color:#51463b; font-size:1em; line-height:inherit; }
.prime-book-article.dynamic-page-content p { margin:0 0 1.25em; text-align:justify; text-wrap:pretty; }
.prime-book-article.dynamic-page-content p:first-of-type::first-letter { float:left; margin:.08em .12em 0 0; color:#8e5629; font-family:Georgia,"Times New Roman",serif; font-size:3.15em; font-weight:800; line-height:.76; text-shadow:0 2px rgba(255,255,255,.7); }
.prime-book-article.dynamic-page-content h1,.prime-book-article.dynamic-page-content h2,.prime-book-article.dynamic-page-content h3,.prime-book-article.dynamic-page-content h4 { break-after:avoid-column; color:#31271f; font-family:Georgia,"Times New Roman",serif; letter-spacing:-.025em; }
.prime-book-article.dynamic-page-content h1 { font-size:calc(2rem * var(--prime-reader-scale)); }
.prime-book-article.dynamic-page-content h2 { font-size:calc(1.55rem * var(--prime-reader-scale)); }
.prime-book-article.dynamic-page-content h3 { font-size:calc(1.22rem * var(--prime-reader-scale)); }
.prime-book-article.dynamic-page-content a { color:#7b4720; text-decoration-color:rgba(123,71,32,.34); }
.prime-book-article.dynamic-page-content blockquote { break-inside:avoid-column; margin:1.4em 0; padding:17px 18px; border:1px solid rgba(142,86,41,.18); border-left:4px solid #9c6333; border-radius:4px 11px 11px 4px; background:rgba(154,101,54,.075); color:#45382d; font-style:italic; }
.prime-book-article.dynamic-page-content ul,.prime-book-article.dynamic-page-content ol,.prime-book-article.dynamic-page-content img,.prime-book-article.dynamic-page-content table,.prime-book-article.dynamic-page-content pre { break-inside:avoid-column; }
.prime-book-article.dynamic-page-content img { border:5px solid rgba(255,255,255,.62); border-radius:4px; box-shadow:0 12px 25px rgba(73,49,27,.18); }
.prime-book-article.dynamic-page-content th { background:#ead9bb; color:#603b20; }
.prime-book-article.dynamic-page-content td,.prime-book-article.dynamic-page-content th { border-color:rgba(112,77,39,.2); }
.prime-book-article.dynamic-page-content pre { background:#302a27; }
.prime-book-page-footer { position:relative; z-index:2; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:15px; margin:0 clamp(34px,5vw,62px); padding:13px 0 16px; border-top:1px solid rgba(112,77,39,.14); color:#8b765e; font-family:Georgia,"Times New Roman",serif; font-size:.54rem; font-weight:800; letter-spacing:.16em; }
.prime-book-page-footer span:last-child { text-align:right; }
.prime-book-page-footer svg { width:12px; height:12px; color:#a66f36; }
.prime-book-reader.is-night .prime-book-pages { border-color:rgba(192,160,114,.2); background:linear-gradient(90deg,#161924 0%,#202431 6%,#232735 44%,#11131b 49.7%,#080a0f 50%,#11131b 50.3%,#232735 56%,#202431 94%,#161924 100%); box-shadow:0 18px 42px rgba(0,0,0,.55),inset 0 0 50px rgba(0,0,0,.18); }
.prime-book-reader.is-night .prime-book-pages::before { background:linear-gradient(90deg,transparent,rgba(0,0,0,.24),rgba(0,0,0,.55) 49%,rgba(255,255,255,.04) 52%,rgba(0,0,0,.2),transparent); }
.prime-book-reader.is-night .prime-book-pages::after { border-color:rgba(255,255,255,.055); }
.prime-book-reader.is-night .prime-book-article.dynamic-page-content { color:#e3ded5; }
.prime-book-reader.is-night .prime-book-article.dynamic-page-content p,.prime-book-reader.is-night .prime-book-article.dynamic-page-content li { color:#cbc5bb; }
.prime-book-reader.is-night .prime-book-article.dynamic-page-content h1,.prime-book-reader.is-night .prime-book-article.dynamic-page-content h2,.prime-book-reader.is-night .prime-book-article.dynamic-page-content h3,.prime-book-reader.is-night .prime-book-article.dynamic-page-content h4 { color:#fffaf0; }
.prime-book-reader.is-night .prime-book-article.dynamic-page-content p:first-of-type::first-letter { color:#f0be65; text-shadow:none; }
.prime-book-reader.is-night .prime-book-article.dynamic-page-content a { color:#e8bd72; text-decoration-color:rgba(232,189,114,.35); }
.prime-book-reader.is-night .prime-book-article.dynamic-page-content blockquote { border-color:rgba(232,189,114,.16); border-left-color:#d4a454; background:rgba(232,189,114,.065); color:#ddd5c8; }
.prime-book-reader.is-night .prime-book-article.dynamic-page-content th { background:#343140; color:#f1d39c; }
.prime-book-reader.is-night .prime-book-article.dynamic-page-content td,.prime-book-reader.is-night .prime-book-article.dynamic-page-content th { border-color:rgba(255,255,255,.1); }
.prime-book-reader.is-night .prime-book-page-footer { border-top-color:rgba(255,255,255,.08); color:#8f91a0; }
@media(max-width:900px){.prime-article-detail-page .exclusive-detail-shell{max-width:760px}.prime-book-cover{padding:12px 13px 16px}.prime-book-cover::before,.prime-book-cover::after{width:6px}.prime-book-bookmark{right:42px}.prime-book-pages{background:linear-gradient(90deg,#f2e5cd,#fffdf6 7%,#fffaf0 94%,#f0e2c9)}.prime-book-pages::before{display:none}.prime-book-article.dynamic-page-content{padding:48px clamp(28px,7vw,54px) 38px;column-count:1;column-gap:0;column-rule:0}.prime-book-reader.is-night .prime-book-pages{background:linear-gradient(90deg,#171a24,#232735 7%,#202431 94%,#151821)}}
@media(max-width:640px){.prime-book-toolbar{align-items:flex-start;flex-direction:column}.prime-book-controls{width:100%;justify-content:flex-start}.prime-book-font-status{margin-right:auto;text-align:left}.prime-book-theme-button{margin-left:auto}.prime-book-cover{padding:8px 8px 12px;border-radius:16px}.prime-book-bookmark{right:27px;width:30px;height:61px}.prime-book-article.dynamic-page-content{padding:42px 24px 31px;font-size:calc(.97rem * var(--prime-reader-scale));line-height:1.78;text-align:left}.prime-book-article.dynamic-page-content p{text-align:left}.prime-book-page-footer{margin:0 23px}}
.prime-video-detail-page .prime-detail-hero { display: none; }
.prime-video-detail-page .exclusive-detail-section { padding: 4px 0 28px; }
.prime-video-detail-page .exclusive-detail-shell { max-width: 980px; }
.prime-video-detail-page .prime-video-stage { max-width: 880px; }
.prime-video-detail-page .prime-video-stage .exclusive-video-frame {
    aspect-ratio: auto;
    height: min(480px, calc(56.25vw - 20px), calc(100svh - 210px));
    min-height: 190px;
}
body.prime-player-lights-off .site-header,
body.prime-player-lights-off .member-hub-nav,
body.prime-player-lights-off .site-footer { opacity: .18; filter: saturate(.35) brightness(.42); pointer-events: none; transition: opacity 180ms ease, filter 180ms ease; }
body.prime-player-lights-off::before {
    content: "";
    position: fixed;
    z-index: 50;
    inset: 0;
    background: #030306;
    pointer-events: none;
}
body.prime-player-lights-off .prime-detail-main { background: #030306; }
body.prime-player-lights-off .prime-video-stage { z-index: 51; isolation: isolate; border-color: rgba(255,216,107,.32); background: #08080d; box-shadow: 0 30px 100px rgba(0,0,0,.7), 0 0 34px rgba(139,92,246,.13); }
body.prime-player-lights-off .prime-video-stage .exclusive-video-frame { background: #000; }
body.prime-player-tv-mode { overflow: hidden; }
body.prime-player-tv-mode .site-header,
body.prime-player-tv-mode .member-hub-nav,
body.prime-player-tv-mode .site-footer,
body.prime-player-tv-mode .back-to-top,
body.prime-player-tv-mode .page-pattern { display: none !important; }
body.prime-player-tv-mode .prime-detail-main { display: grid; min-height: 100svh; height: 100svh; }
body.prime-player-tv-mode .exclusive-detail-section { display: grid; min-height: 100svh; padding: 8px; place-items: center; }
body.prime-player-tv-mode .exclusive-detail-shell { width: 100%; max-width: none; }
body.prime-player-tv-mode .prime-video-stage,
.prime-video-stage:fullscreen {
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    width: 100%;
    max-width: 1180px;
    height: calc(100svh - 16px);
    padding: 10px;
    border-radius: 18px;
    background: #07070b;
}
body.prime-player-tv-mode .prime-video-stage .exclusive-video-frame,
.prime-video-stage:fullscreen .exclusive-video-frame { height: 100% !important; min-height: 0; border-radius: 12px; }
.prime-video-stage:fullscreen { max-width: none; height: 100vh; border: 0; border-radius: 0; }
.prime-video-stage:fullscreen .prime-player-controls { margin-top: 8px; }
.prime-detail-unlocked { border-color: rgba(125,255,169,.25) !important; color: #7dffa9 !important; }
.prime-resource-card { border-color: rgba(255,216,107,.2) !important; }

@media (max-width: 1080px) {
    .prime-library-hero-card,.prime-catalog-layout { grid-template-columns: 1fr; }
    .prime-pix-card { position: relative; top: auto; max-width: 620px; }
}
@media (max-width: 740px) {
    .content-library-player-stage {
        padding: 8px;
        border-radius: 17px;
    }

    .content-library-player-stage > header {
        padding: 3px 3px 9px;
    }

    .content-library-player-stage .exclusive-video-frame-prime-size {
        width: 100%;
        border-radius: 12px;
    }

    .exclusive-video-frame-prime-size {
        width: calc(100% - 18px);
        height: min(calc(56.25vw - 20px), calc(100svh - 190px));
        min-height: 160px;
        border-radius: 12px;
    }

    .exclusive-video-description {
        width: calc(100% - 18px);
        padding: 18px 17px;
        border-radius: 15px;
    }

    .prime-library-hero-card { grid-template-columns: 1fr; padding: 19px 16px; border-radius: 19px; }
    .prime-library-hero h1 { font-size: 2.25rem; }
    .prime-library-summary { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .prime-library-summary span { min-height: 72px; padding: 10px; }
    .prime-library-summary strong { font-size: 1.35rem; }
    .prime-section-heading { align-items: flex-start; flex-direction: column; }
    .prime-filter-panel { padding: 13px; }
    .prime-filter-panel > header { grid-template-columns: 38px minmax(0,1fr); }
    .prime-filter-count { grid-column: 2; justify-self: start; }
    .prime-filter-grid { grid-template-columns: minmax(0,1fr); }
    .prime-filter-grid.is-simple { grid-template-columns: minmax(0,1fr); }
    .prime-filter-search { grid-column: auto; }
    .prime-filter-panel > footer { align-items: flex-start; flex-direction: column; }
    .prime-filter-panel > footer > div { width: 100%; justify-content: stretch; }
    .prime-filter-panel > footer a,
    .prime-filter-panel > footer button { flex: 1 1 150px; }
    .prime-filter-compact-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .prime-filter-compact-title { grid-column: 1 / -1; height: 28px; padding: 0; }
    .prime-filter-compact-submit { width: 100%; }
    .prime-filter-compact-clear { width: 36px; }
    .prime-content-grid { grid-template-columns: minmax(0, 1fr); }
    .prime-pagination { align-items: stretch; flex-direction: column; }
    .prime-pagination > p { text-align: center; }
    .prime-pagination-controls { width: 100%; }
    .prime-pagination-direction { flex: 1 1 auto; }
    .prime-card-body footer { align-items: stretch; flex-direction: column; }
    .prime-card-action { width: 100%; }
    .prime-pix-card { padding: 20px 17px; }
    .prime-detail-hero { padding: 8px 0 10px; }
    .prime-detail-page .exclusive-detail-heading { gap: 14px; padding: 13px 14px; border-radius: 16px; }
    .prime-detail-page .exclusive-detail-heading h1 { font-size: clamp(1.65rem, 9vw, 2.1rem); }
    .prime-detail-page .exclusive-detail-section { padding-top: 8px; }
    .prime-video-stage { padding: 8px; border-radius: 17px; }
    .prime-video-stage > header { padding: 3px 3px 9px; }
    .prime-video-stage .exclusive-video-frame { border-radius: 12px; }
    .prime-player-controls { gap: 5px; margin-top: 7px; padding: 7px; border-radius: 12px; }
    .prime-player-controls .icon-button { flex-basis: 37px; width: 37px; height: 37px; }
    .prime-player-status { display: none; }
    .prime-video-info-card { padding: 18px 15px; border-radius: 17px; }
    .prime-video-info-card > header { grid-template-columns: auto minmax(0,1fr); }
    .prime-video-back { grid-column: 1 / -1; width: 100%; margin-top: 3px; }
    .prime-video-info-card > p { margin-top: 15px; padding-top: 14px; font-size: .84rem; }
    .prime-engagement-panel { padding: 13px 11px; }
    .prime-engagement-actions { display: grid; grid-template-columns: 1fr; }
    .prime-engagement-action { width: 100%; }
    .prime-materials-card { padding: 18px 15px; border-radius: 17px; }
    .prime-next-content-card { grid-template-columns: 1fr; gap: 13px; border-radius: 17px; }
    .prime-next-cover { max-height: 190px; }
    .prime-next-content-card a { width: 100%; justify-content: center; }
    .prime-video-detail-page .exclusive-detail-section { padding-top: 3px; }
    .prime-video-detail-page .prime-video-stage .exclusive-video-frame { height: min(calc(56.25vw - 20px), calc(100svh - 190px)); min-height: 160px; }
    body.prime-player-tv-mode .exclusive-detail-section { padding: 4px; }
    body.prime-player-tv-mode .prime-video-stage { height: calc(100svh - 8px); padding: 7px; border-radius: 13px; }
}
@media(max-width:700px){.prime-opinion-card{grid-template-columns:1fr;gap:13px;padding:16px}.prime-opinion-actions{justify-content:flex-start}.prime-opinion-button{flex:1 1 145px}.prime-opinion-feedback{grid-column:1}}

@media (max-width: 460px) {
    .prime-filter-compact-bar { grid-template-columns: minmax(0,1fr) auto; }
    .prime-filter-compact-title,
    .prime-filter-compact-bar label { grid-column: 1 / -1; }
}

/* Cabeçalho futurista e compacto da área privada. */
body.area-private-page .user-dashboard-main {
    background:
        linear-gradient(rgba(9, 9, 16, 0.965), rgba(9, 9, 16, 0.985)),
        repeating-linear-gradient(90deg, rgba(88, 104, 255, 0.08) 0 1px, transparent 1px 52px),
        repeating-linear-gradient(0deg, rgba(88, 104, 255, 0.06) 0 1px, transparent 1px 52px),
        #090910;
}

body.area-private-page .user-dashboard-top {
    padding: 18px 0 22px;
    background:
        radial-gradient(circle at 78% 0, rgba(98, 56, 255, 0.22), transparent 34%),
        radial-gradient(circle at 18% 34%, rgba(0, 205, 255, 0.08), transparent 28%),
        transparent;
}

body.area-private-page .user-dashboard-welcome {
    isolation: isolate;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    gap: clamp(22px, 3vw, 40px);
    padding: clamp(23px, 3vw, 36px);
    border-color: rgba(132, 113, 255, 0.28);
    border-radius: 26px;
    background:
        radial-gradient(circle at 94% 6%, rgba(21, 104, 255, 0.24), transparent 26%),
        radial-gradient(circle at 52% 110%, rgba(199, 255, 61, 0.085), transparent 34%),
        linear-gradient(122deg, #12131d 0%, #171525 55%, #251347 100%);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(106, 91, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.area-private-page .user-dashboard-welcome::before {
    z-index: 3;
    height: 5px;
    background: linear-gradient(90deg, #7a3cff 0 30%, #16cfff 30% 51%, #c7ff3d 51% 72%, #ff4d8d 72% 88%, #ff9a1f 88%);
    box-shadow: 0 0 22px rgba(102, 83, 255, 0.44);
}

body.area-private-page .user-dashboard-welcome::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(120, 130, 255, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 130, 255, 0.12) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.18;
    mask-image: linear-gradient(105deg, transparent 8%, #000 56%, #000 100%);
}

body.area-private-page .user-dashboard-welcome-copy,
body.area-private-page .user-dashboard-identity {
    z-index: 1;
}

body.area-private-page .user-dashboard-kicker {
    color: #c7ff3d;
    text-shadow: 0 0 18px rgba(199, 255, 61, 0.24);
}

body.area-private-page .user-dashboard-welcome h1 {
    margin: 0;
    font-size: clamp(2.55rem, 4.35vw, 4.2rem);
    line-height: 0.96;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
}

.user-dashboard-greeting-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 7px 18px;
    width: 100%;
    margin-top: 8px;
}

body.area-private-page .user-dashboard-welcome .user-dashboard-welcome-message {
    grid-column: 1 / -1;
    max-width: none;
    margin: 1px 0 0;
    color: #aaa8bd;
    font-size: clamp(0.78rem, 0.95vw, 0.9rem);
    line-height: 1.45;
    white-space: nowrap;
}

.user-dashboard-site-signature {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    min-height: 60px;
    margin-left: auto;
    padding: 3px 5px 3px 15px;
    border: 1px solid rgba(93, 195, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0.065), rgba(80, 64, 180, 0.1));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 30px rgba(0, 0, 0, 0.12);
}

.user-dashboard-site-signature > strong {
    overflow: hidden;
    color: #f7f7ff;
    font-size: clamp(0.88rem, 1.35vw, 1.08rem);
    font-weight: 900;
    letter-spacing: 0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dashboard-play-logo {
    display: grid;
    flex: 0 0 96px;
    width: 96px;
    height: 60px;
    place-items: center;
    margin: -17px -5px -17px 0;
}

.user-dashboard-play-logo img {
    display: block;
    width: 96px;
    height: 96px;
    object-fit: contain;
    filter: drop-shadow(0 7px 12px rgba(44, 28, 255, 0.34)) drop-shadow(0 0 9px rgba(255, 37, 214, 0.16));
}

body.area-private-page .user-dashboard-identity {
    grid-template-columns: 58px minmax(0, 1fr) 18px;
    justify-items: start;
    align-items: center;
    gap: 12px;
    padding: 17px;
    border-color: rgba(110, 91, 255, 0.3);
    border-radius: 20px;
    background:
        radial-gradient(circle at 96% 0, rgba(22, 207, 255, 0.12), transparent 34%),
        rgba(8, 8, 15, 0.48);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 18px 42px rgba(0, 0, 0, 0.19);
    text-align: left;
}

body.area-private-page .user-dashboard-avatar {
    position: relative;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #8b44ff 4%, #29c8ff 47%, #d0ff3d 100%);
    font-size: 1.12rem;
    box-shadow: 0 12px 28px rgba(89, 61, 255, 0.28), 0 0 0 5px rgba(110, 91, 255, 0.07);
}

body.area-private-page .user-dashboard-avatar::after {
    content: "";
    position: absolute;
    right: 1px;
    bottom: 2px;
    width: 10px;
    height: 10px;
    border: 2px solid #171525;
    border-radius: 50%;
    background: #c7ff3d;
    box-shadow: 0 0 12px rgba(199, 255, 61, 0.65);
}

body.area-private-page .user-dashboard-identity > svg {
    align-self: center;
    color: #60dcff;
}

body.area-private-page .area-private-stats {
    gap: 10px;
    margin-top: 12px;
}

body.area-private-page .area-private-stats article {
    position: relative;
    overflow: hidden;
    min-height: 80px;
    padding: 13px;
    border-color: rgba(105, 91, 205, 0.22);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(22, 22, 34, 0.96), rgba(13, 14, 23, 0.96));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.area-private-page .area-private-stats article::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, #7144ff, #1dcfff);
    opacity: 0.72;
}

body.area-private-page .area-private-stats article:nth-child(2)::before { background: linear-gradient(90deg, #1dcfff, #c7ff3d); }
body.area-private-page .area-private-stats article:nth-child(3)::before { background: linear-gradient(90deg, #c7ff3d, #ffae28); }
body.area-private-page .area-private-stats article:nth-child(4)::before { background: linear-gradient(90deg, #ffae28, #ff4d93); }

body.area-private-page .area-private-stats article > span {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(73, 205, 255, 0.15);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(101, 68, 255, 0.17), rgba(28, 207, 255, 0.08));
    color: #69dcff;
}

body.area-private-page .area-private-stats article:nth-child(2) > span { color: #c7ff3d; }
body.area-private-page .area-private-stats article:nth-child(3) > span { color: #ffd052; }
body.area-private-page .area-private-stats article:nth-child(4) > span { color: #ff75a7; }

body.area-private-page .user-dashboard-grid {
    align-items: start;
}

.user-dashboard-side-column {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.area-private-email-notice {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(71, 205, 255, 0.22);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(68, 203, 255, 0.13), transparent 38%),
        linear-gradient(145deg, rgba(20, 22, 34, 0.98), rgba(13, 14, 23, 0.98));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    color: #ffffff;
}

.area-private-email-notice::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, #26ccff, #8f72ff 58%, #c7ff3d);
    box-shadow: 0 0 16px rgba(38, 204, 255, 0.3);
}

.area-private-email-notice-icon {
    display: grid;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(66, 207, 255, 0.22);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(35, 202, 255, 0.14), rgba(127, 86, 255, 0.13));
    color: #69dcff;
    box-shadow: 0 10px 26px rgba(30, 180, 255, 0.08);
}

.area-private-email-notice-icon svg {
    width: 21px;
    height: 21px;
}

.area-private-email-notice > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.area-private-email-notice small {
    color: #c7ff3d;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.area-private-email-notice strong {
    color: #ff9f43;
    font-size: 0.92rem;
    line-height: 1.25;
}

.area-private-email-notice p {
    margin: 2px 0 0;
    color: #aaa8b7;
    font-size: 0.76rem;
    line-height: 1.58;
}

.area-private-communications {
    position: relative;
    overflow: hidden;
    padding: 17px;
    border: 1px solid rgba(153, 106, 255, 0.23);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(126, 76, 247, 0.13), transparent 42%),
        linear-gradient(145deg, rgba(22, 20, 33, 0.99), rgba(12, 13, 20, 0.99));
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    color: #ffffff;
}

.area-private-communications::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, #8f63ff, #6f89ff 56%, #31d5ff);
    box-shadow: 0 0 15px rgba(116, 103, 255, 0.28);
}

.area-private-communications-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 13px;
}

.area-private-communications-heading > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.area-private-communications-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(162, 111, 255, 0.3);
    border-radius: 13px;
    background: rgba(126, 76, 247, 0.14);
    color: #c7ff3d;
    box-shadow: 0 10px 26px rgba(89, 45, 194, 0.16);
}

.area-private-communications-icon svg {
    width: 19px;
    height: 19px;
}

.area-private-communications-heading small {
    color: #c7ff3d;
    font-size: 0.61rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.area-private-communications-heading strong {
    color: #ff5e62;
    font-size: 0.96rem;
    line-height: 1.25;
}

.area-private-communications-heading p {
    margin: 0;
    color: #aaa8b7;
    font-size: 0.7rem;
    line-height: 1.5;
}

.area-private-communications-count {
    display: grid;
    min-width: 30px;
    height: 30px;
    place-items: center;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 950;
}

.area-private-communications-list {
    display: grid;
    gap: 10px;
}

.area-private-communications-all {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 0 12px;
    border: 1px solid rgba(153, 106, 255, 0.2);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(126, 76, 247, 0.12), rgba(49, 213, 255, 0.055));
    color: #c3adff;
    font-size: 0.67rem;
    font-weight: 950;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.area-private-communications-all:hover {
    border-color: rgba(153, 106, 255, 0.38);
    background: linear-gradient(135deg, rgba(126, 76, 247, 0.2), rgba(49, 213, 255, 0.09));
    color: #ffffff;
    transform: translateY(-1px);
}

.area-private-communications-all svg {
    width: 15px;
    height: 15px;
}

.area-private-communication {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 13px 14px 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 14px;
    background: rgba(6, 7, 13, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.area-private-communication::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #9b5cff, #6e7cff);
}

.area-private-communication > header {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin-bottom: 10px;
}

.area-private-communication > header > span {
    display: grid;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(145deg, #7e4cf7, #9b5cff);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(106, 57, 217, 0.2);
}

.area-private-communication > header svg {
    width: 15px;
    height: 15px;
}

.area-private-communication-heading-copy {
    display: grid;
    flex: 1 1 auto;
    gap: 2px;
    min-width: 0;
}

.area-private-communication h3 {
    margin: 0;
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.35;
}

.area-private-communication time {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    color: #8f8d9d;
    font-size: 0.63rem;
    font-weight: 750;
    white-space: nowrap;
}

.area-private-communication time svg {
    width: 13px;
    height: 13px;
    color: #a987ff;
}

.area-private-communication-content {
    overflow-wrap: anywhere;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    color: #f4f3f8;
    font-size: 0.70rem;
    line-height: 1.75;
}

.area-private-communication-content > :first-child { margin-top: 0; }
.area-private-communication-content > :last-child { margin-bottom: 0; }

.area-private-communication-content p {
    margin: 0 0 0.72em;
}

.area-private-communication-content h1,
.area-private-communication-content h2,
.area-private-communication-content h3,
.area-private-communication-content h4 {
    margin: 1em 0 0.42em;
    color: #ffffff;
    line-height: 1.3;
}

.area-private-communication-content ul,
.area-private-communication-content ol {
    margin: 0.55em 0 0.8em;
    padding-left: 1.35rem;
}

.area-private-communication-content a {
    color: #7be4ff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.area-private-communication-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 10px 0;
    border-radius: 12px;
}

.area-private-communication-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.area-private-communication-content th,
.area-private-communication-content td {
    padding: 7px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.area-private-communication-content blockquote {
    margin: 0.8em 0;
    padding: 8px 12px;
    border-left: 3px solid #c7ff3d;
    border-radius: 0 9px 9px 0;
    background: rgba(199, 255, 61, 0.06);
}

/* Página completa de comunicados dos usuários. */
body.user-communications-page {
    background: #090910;
    color: #f7f6fb;
}

.user-communications-main {
    min-height: 72vh;
    background:
        radial-gradient(circle at 84% 3%, rgba(126, 76, 247, 0.15), transparent 28%),
        radial-gradient(circle at 8% 44%, rgba(49, 213, 255, 0.07), transparent 26%),
        #090910;
}

.user-communications-hero {
    padding: 18px 0 20px;
}

.user-communications-back {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #9692a2;
    font-size: 0.72rem;
    font-weight: 900;
    transition: color 160ms ease, transform 160ms ease;
}

.user-communications-back:hover {
    color: #c6adff;
    transform: translateX(-2px);
}

.user-communications-back svg {
    width: 15px;
    height: 15px;
}

.user-communications-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    overflow: hidden;
    padding: clamp(21px, 3vw, 31px);
    border: 1px solid rgba(153, 106, 255, 0.22);
    border-radius: 23px;
    background:
        radial-gradient(circle at 96% 0, rgba(126, 76, 247, 0.2), transparent 33%),
        radial-gradient(circle at 52% 130%, rgba(49, 213, 255, 0.12), transparent 39%),
        linear-gradient(145deg, #181622, #101018 74%);
    box-shadow: 0 25px 66px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.04);
}

.user-communications-hero-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, #8f63ff, #ff5e78, #31d5ff);
    box-shadow: 0 0 19px rgba(116, 103, 255, 0.26);
    content: "";
}

.user-communications-hero-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(162, 111, 255, 0.28);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(126, 76, 247, 0.25), rgba(49, 213, 255, 0.1));
    color: #c7ff3d;
    box-shadow: 0 14px 32px rgba(89, 45, 194, 0.17);
}

.user-communications-hero-icon svg {
    width: 27px;
    height: 27px;
}

.user-communications-hero-card > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.user-communications-hero-card > div > small {
    color: #c7ff3d;
    font-size: 0.63rem;
    font-weight: 950;
    letter-spacing: 0.14em;
}

.user-communications-hero-card h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.45rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.user-communications-hero-card p {
    max-width: 720px;
    margin: 3px 0 0;
    color: #aaa6b4;
    font-size: 0.84rem;
    line-height: 1.55;
}

.user-communications-hero-card p strong {
    color: #ffffff;
}

.user-communications-total {
    display: grid;
    min-width: 112px;
    min-height: 76px;
    place-items: center;
    align-content: center;
    gap: 5px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
}

.user-communications-total strong {
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1;
}

.user-communications-total small {
    color: #a88bff;
    font-size: 0.58rem;
    font-weight: 950;
    text-transform: uppercase;
}

.user-communications-content {
    padding: 0 0 clamp(66px, 8vw, 100px);
}

.user-communications-shell {
    max-width: 1040px;
}

.user-communications-list-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.user-communications-list-heading > div {
    display: grid;
    gap: 4px;
}

.user-communications-list-heading > div small {
    color: #a581ff;
    font-size: 0.62rem;
    font-weight: 950;
    letter-spacing: 0.13em;
}

.user-communications-list-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.8vw, 2.4rem);
    letter-spacing: -0.045em;
}

.user-communications-list-heading > span {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border: 1px solid rgba(199, 255, 61, 0.16);
    border-radius: 999px;
    background: rgba(199, 255, 61, 0.055);
    color: #c7ff3d;
    font-size: 0.63rem;
    font-weight: 900;
    white-space: nowrap;
}

.user-communications-list-heading > span svg {
    width: 14px;
    height: 14px;
}

.user-communications-list {
    display: grid;
    gap: 13px;
}

.user-communication-entry {
    position: relative;
    overflow: hidden;
    padding: clamp(18px, 2.4vw, 25px);
    border: 1px solid rgba(153, 106, 255, 0.16);
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0, rgba(126, 76, 247, 0.09), transparent 32%),
        linear-gradient(145deg, rgba(20, 19, 29, 0.98), rgba(12, 13, 20, 0.98));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.23), inset 0 1px rgba(255, 255, 255, 0.03);
}

.user-communication-entry::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, #9b5cff, #6e7cff, #31d5ff);
    content: "";
}

.user-communication-entry > header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

.user-communication-entry > header > span {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #7e4cf7, #9b5cff);
    color: #ffffff;
    box-shadow: 0 9px 22px rgba(106, 57, 217, 0.21);
}

.user-communication-entry > header > span svg {
    width: 19px;
    height: 19px;
}

.user-communication-entry > header > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.user-communication-entry > header small {
    color: #a987ff;
    font-size: 0.57rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

.user-communication-entry h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.16rem;
    letter-spacing: -0.02em;
}

.user-communication-entry time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8f8d9d;
    font-size: 0.65rem;
    font-weight: 800;
}

.user-communication-entry time svg {
    width: 13px;
    height: 13px;
    color: #a987ff;
}

.user-communication-entry-content.area-private-communication-content {
    padding-top: 14px;
    color: #e9e7ef;
    font-size: 0.84rem;
    line-height: 1.75;
}

.user-communications-empty {
    display: grid;
    min-height: 300px;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 30px;
    border: 1px dashed rgba(153, 106, 255, 0.22);
    border-radius: 22px;
    color: #9692a0;
    text-align: center;
}

.user-communications-empty > span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    background: rgba(126, 76, 247, 0.11);
    color: #b394ff;
}

.user-communications-empty > span svg {
    width: 26px;
    height: 26px;
}

.user-communications-empty h2,
.user-communications-empty p {
    margin: 0;
}

.user-communications-empty h2 {
    color: #ffffff;
}

.user-communications-empty a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 7px;
    margin-top: 5px;
    padding: 0 12px;
    border: 1px solid rgba(153, 106, 255, 0.24);
    border-radius: 10px;
    background: rgba(126, 76, 247, 0.1);
    color: #c2adff;
    font-size: 0.68rem;
    font-weight: 900;
}

.user-communications-empty a svg {
    width: 15px;
    height: 15px;
}

@media (max-width: 680px) {
    .user-communications-hero {
        padding-top: 12px;
    }

    .user-communications-hero-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
        padding: 19px 17px;
        border-radius: 20px;
    }

    .user-communications-hero-icon {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }

    .user-communications-hero-icon svg {
        width: 22px;
        height: 22px;
    }

    .user-communications-hero-card h1 {
        font-size: 2.2rem;
    }

    .user-communications-hero-card p {
        grid-column: 1 / -1;
    }

    .user-communications-total {
        grid-column: 1 / -1;
        grid-template-columns: auto auto;
        min-width: 0;
        min-height: 48px;
        justify-content: start;
        gap: 7px;
    }

    .user-communications-list-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .user-communication-entry {
        padding: 17px 15px;
        border-radius: 17px;
    }
}

@media (max-width: 980px) {
    body.area-private-page .user-dashboard-welcome {
        grid-template-columns: 1fr;
    }

    body.area-private-page .user-dashboard-welcome .user-dashboard-welcome-message {
        white-space: normal;
    }
}

@media (max-width: 680px) {
    body.area-private-page .user-dashboard-top {
        padding-top: 12px;
    }

    body.area-private-page .user-dashboard-welcome {
        padding: 21px 18px;
        border-radius: 22px;
    }

    body.area-private-page .user-dashboard-welcome h1 {
        font-size: 2.5rem;
    }

    .user-dashboard-greeting-row {
        grid-template-columns: 1fr;
    }

    body.area-private-page .user-dashboard-welcome .user-dashboard-welcome-message {
        grid-column: 1;
    }

    .user-dashboard-site-signature {
        justify-content: space-between;
        width: 100%;
        margin-left: 0;
    }

    .user-dashboard-play-logo {
        flex-basis: 82px;
        width: 82px;
    }

    .user-dashboard-play-logo img {
        width: 82px;
        height: 82px;
    }

    body.area-private-page .user-dashboard-identity {
        grid-template-columns: 48px minmax(0, 1fr);
        padding: 15px;
    }

    body.area-private-page .user-dashboard-avatar {
        width: 48px;
        height: 48px;
        font-size: 0.92rem;
    }

    body.area-private-page .area-private-stats article {
        min-height: 104px;
        padding: 12px;
    }

    .user-dashboard-side-column {
        gap: 13px;
    }

    .area-private-email-notice {
        gap: 12px;
        padding: 16px 14px;
        border-radius: 18px;
    }

    .area-private-email-notice-icon {
        width: 42px;
        height: 42px;
    }

    .area-private-communications {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .area-private-communications-heading {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 11px;
    }

    .area-private-communications-icon {
        width: 42px;
        height: 42px;
    }

    .area-private-communication {
        padding: 12px;
    }
}

/* Progresso, novidades, leitura de comunicados e estados vazios da área privada. */
.area-content-new-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    display: inline-flex;
    min-height: 23px;
    align-items: center;
    gap: 4px;
    padding: 0 7px;
    border: 1px solid rgba(199, 255, 61, 0.44);
    border-radius: 999px;
    background: rgba(20, 29, 12, 0.9);
    color: #d8ff75;
    font-size: 0.54rem;
    font-weight: 950;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 7px 18px rgba(76, 113, 20, 0.2);
    backdrop-filter: blur(10px);
}

.area-content-new-badge svg {
    width: 10px;
    height: 10px;
}

.area-library-highlight-cover .area-content-new-badge {
    right: 10px;
    bottom: 10px;
}

.area-personal-preview-cover .area-content-new-badge {
    right: 8px;
    bottom: 8px;
}

.area-content-new-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
    display: grid;
    min-width: 31px;
    height: 17px;
    place-items: center;
    padding: 0 5px;
    border: 1px solid rgba(199, 255, 61, 0.38);
    border-radius: 999px;
    background: rgba(17, 25, 10, 0.92);
    color: #d8ff75;
    font-size: 0.43rem;
    font-weight: 950;
    text-transform: uppercase;
}

.area-library-preview-cover {
    position: relative;
}

.area-showcase-empty.area-prime-showcase-empty,
.area-showcase-empty.area-library-showcase-empty,
.area-showcase-empty.area-personal-showcase-empty {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 126px;
    align-items: center;
    justify-content: initial;
    gap: 13px;
    margin-top: 16px;
    padding: 18px;
    text-align: left;
}

.area-showcase-empty > span {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.055);
}

.area-showcase-empty > span svg {
    width: 22px;
    height: 22px;
}

.area-showcase-empty > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.area-showcase-empty strong {
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.3;
}

.area-showcase-empty p {
    margin: 0;
    color: #9492a0;
    font-size: 0.72rem;
    line-height: 1.55;
}

.area-personal-showcase-empty {
    border: 1px dashed rgba(165, 129, 255, 0.22);
    border-radius: 17px;
}

.area-personal-showcase-empty > span {
    color: #b89cff;
}

.area-personal-showcase-empty > a {
    grid-column: 2;
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 11px;
    border: 1px solid rgba(165, 129, 255, 0.2);
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.09);
    color: #c4afff;
    font-size: 0.65rem;
    font-weight: 900;
}

.area-personal-showcase-empty > a svg {
    width: 14px;
    height: 14px;
}

.area-continue-section {
    margin-top: 20px;
}

.area-continue-card {
    display: grid;
    grid-template-columns: minmax(155px, 190px) minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    overflow: hidden;
    padding: 17px;
    border-color: rgba(255, 216, 107, 0.18);
    background:
        radial-gradient(circle at 92% 0, rgba(255, 216, 107, 0.1), transparent 30%),
        linear-gradient(145deg, #171720, #101118 72%);
}

.area-continue-cover {
    position: relative;
    display: grid;
    aspect-ratio: 16 / 8.5;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    background: linear-gradient(135deg, #302641, #171821);
    color: #ffd86b;
}

.area-continue-cover > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.area-continue-cover > svg {
    width: 27px;
    height: 27px;
}

.area-continue-cover > span {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(9, 9, 15, 0.72);
    color: #ffffff;
    backdrop-filter: blur(9px);
}

.area-continue-cover > span svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.area-continue-copy {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.area-continue-copy > small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffd86b;
    font-size: 0.58rem;
    font-weight: 950;
    letter-spacing: 0.11em;
}

.area-continue-copy > small svg {
    width: 13px;
    height: 13px;
}

.area-continue-copy h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.area-continue-copy > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #9995a3;
    font-size: 0.72rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.area-continue-progress {
    display: grid;
    grid-template-columns: minmax(100px, 220px) auto;
    gap: 9px;
    align-items: center;
    margin-top: 4px;
}

.area-continue-progress > span {
    height: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
}

.area-continue-progress > span > i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8b5cf6, #ffd86b);
}

.area-continue-progress > small {
    color: #817d8b;
    font-size: 0.59rem;
    font-weight: 800;
    white-space: nowrap;
}

.area-continue-action {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid #e7bd4c;
    border-radius: 11px;
    background: linear-gradient(135deg, #ffe17d, #efb942);
    color: #191309;
    font-size: 0.69rem;
    font-weight: 950;
    white-space: nowrap;
}

.area-continue-action svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.area-private-communication-title-row,
.user-communication-entry-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.area-private-communication-title-row > small,
.user-communication-entry-kicker > b {
    display: inline-flex;
    min-height: 19px;
    align-items: center;
    padding: 0 6px;
    border: 1px solid rgba(199, 255, 61, 0.25);
    border-radius: 999px;
    background: rgba(199, 255, 61, 0.07);
    color: #cfff55;
    font-size: 0.48rem;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.area-private-communication.is-read,
.user-communication-entry.is-read {
    border-color: rgba(255, 255, 255, 0.075);
}

.area-private-communication.is-read::before,
.user-communication-entry.is-read::before {
    background: #4c4b58;
}

.area-private-communication.is-read .area-private-communication-title-row > small,
.user-communication-entry.is-read .user-communication-entry-kicker > b {
    border-color: rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.045);
    color: #8e8b98;
}

.area-private-communication-read-toggle,
.user-communication-read-toggle {
    display: inline-flex;
    min-height: 31px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid rgba(153, 106, 255, 0.2);
    border-radius: 9px;
    background: rgba(126, 76, 247, 0.08);
    color: #bca7f9;
    font: inherit;
    font-size: 0.56rem;
    font-weight: 900;
    cursor: pointer;
}

.area-private-communication-read-toggle:disabled,
.user-communication-read-toggle:disabled {
    cursor: wait;
    opacity: 0.55;
}

.area-private-communication-read-toggle svg,
.user-communication-read-toggle svg {
    width: 13px;
    height: 13px;
}

.area-private-communication-feedback,
.user-communications-read-feedback {
    display: block;
    min-height: 15px;
    margin-top: 5px;
    color: #8fdca8;
    font-size: 0.58rem;
    font-weight: 800;
}

.area-private-communication-feedback.is-error,
.user-communications-read-feedback.is-error {
    color: #ff8e9b;
}

.area-private-communications-empty {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px dashed rgba(153, 106, 255, 0.18);
    border-radius: 13px;
    color: #9c98a8;
}

.area-private-communications-empty > svg {
    width: 24px;
    height: 24px;
    color: #aa8bff;
}

.area-private-communications-empty > div {
    display: grid;
    gap: 3px;
}

.area-private-communications-empty strong {
    color: #ffffff;
    font-size: 0.76rem;
}

.area-private-communications-empty span {
    font-size: 0.66rem;
    line-height: 1.45;
}

.area-private-communications.has-no-unread .area-private-communications-count {
    border-color: rgba(125, 255, 169, 0.18);
    color: #7dffa9;
}

.user-communication-entry > header {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.user-communication-entry-kicker > b {
    justify-self: start;
}

.user-communications-list-heading > span em {
    font-style: normal;
}

@media (max-width: 900px) {
    .area-continue-card {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .area-continue-action {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .area-continue-section {
        margin-top: 14px;
    }

    .area-continue-card {
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 15px;
    }

    .area-continue-cover {
        aspect-ratio: 16 / 8.2;
    }

    .area-continue-progress {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .area-continue-progress > small {
        white-space: normal;
    }

    .area-continue-action {
        grid-column: 1;
        width: 100%;
    }

    .area-showcase-empty.area-prime-showcase-empty,
    .area-showcase-empty.area-library-showcase-empty,
    .area-showcase-empty.area-personal-showcase-empty {
        grid-template-columns: 42px minmax(0, 1fr);
        min-height: 0;
        padding: 15px 13px;
    }

    .area-showcase-empty > span {
        width: 42px;
        height: 42px;
    }

    .area-personal-showcase-empty > a {
        grid-column: 1 / -1;
        width: 100%;
    }

    .area-private-communication > header {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .area-private-communication-read-toggle {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 36px;
    }

    .user-communication-entry > header {
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: start;
    }

    .user-communication-entry > header > span {
        width: 38px;
        height: 38px;
    }

    .user-communication-read-toggle {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 38px;
    }

    .user-communication-entry-kicker {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .area-private-communications-heading p {
        display: none;
    }
}

@media (max-width: 420px) {
    body.area-private-page .area-private-stats {
        grid-template-columns: 1fr 1fr;
    }

    body.area-private-page .area-private-stats article {
        min-width: 0;
    }

    .area-prime-preview-grid,
    .area-personal-preview-grid {
        grid-auto-columns: minmax(215px, 91%);
    }

    .area-library-preview-list {
        grid-auto-columns: minmax(235px, 92%);
    }

    .area-private-communications-heading {
        grid-template-columns: 38px minmax(0, 1fr) auto;
        gap: 8px;
    }

    .area-private-communications-icon {
        width: 38px;
        height: 38px;
    }

    .area-private-communication-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}

/* Moldura 3D de anúncios abaixo do player da home */
.home-player-ads-frame {
    --home-ad-accent: #b9ff29;
    position: relative;
    isolation: isolate;
    min-height: 132px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 22px;
    background:
        linear-gradient(145deg, #11111a, #08080e) padding-box,
        linear-gradient(115deg, rgba(185, 255, 41, 0.52), rgba(124, 58, 237, 0.62), rgba(53, 215, 255, 0.45)) border-box;
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.4),
        0 0 26px rgba(124, 58, 237, 0.13),
        inset 0 1px rgba(255, 255, 255, 0.06);
    perspective: 1000px;
}

.home-player-ads-frame::before,
.home-player-ads-frame::after {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    content: "";
    filter: blur(25px);
    opacity: 0.32;
    pointer-events: none;
}

.home-player-ads-frame::before {
    top: -65px;
    left: 12%;
    width: 210px;
    height: 110px;
    background: #7c3aed;
}

.home-player-ads-frame::after {
    right: 7%;
    bottom: -72px;
    width: 230px;
    height: 120px;
    background: #b9ff29;
}

.home-player-ads-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(100deg, transparent 0 24%, rgba(255, 255, 255, 0.035) 35%, transparent 48%),
        repeating-linear-gradient(90deg, transparent 0 54px, rgba(255, 255, 255, 0.018) 55px 56px);
    pointer-events: none;
}

.home-player-ads-frame-header {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    padding: 7px 11px 5px 14px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.6rem;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.home-player-ads-frame-header > span,
.home-player-ads-frame-status,
.home-player-ads-frame-status > span {
    display: flex;
    align-items: center;
}

.home-player-ads-frame-header > span { gap: 6px; }
.home-player-ads-frame-header > span svg { width: 14px; height: 14px; color: var(--home-ad-accent); }
.home-player-ads-frame-status { gap: 7px; }
.home-player-ads-frame-status > span { gap: 3px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0; }
.home-player-ads-frame-status b { color: #ffffff; font-size: 0.7rem; }
.home-player-ads-frame-status em { color: rgba(255, 255, 255, 0.28); font-style: normal; }
.home-player-ads-frame-status small { color: rgba(255, 255, 255, 0.45); font-size: 0.62rem; }

.home-player-ads-frame-status button {
    display: grid;
    width: 25px;
    height: 25px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.home-player-ads-frame-status button:hover,
.home-player-ads-frame-status button:focus-visible {
    border-color: color-mix(in srgb, var(--home-ad-accent) 60%, transparent);
    background: color-mix(in srgb, var(--home-ad-accent) 12%, transparent);
    color: var(--home-ad-accent);
}

.home-player-ads-frame-status button svg { width: 13px; height: 13px; }
.home-player-ads-viewport { position: absolute; inset: 36px 9px 9px; overflow: hidden; border-radius: 15px; transform-style: preserve-3d; }

.home-player-ad-card {
    --ad-accent: #b9ff29;
    --ad-accent-rgb: 185, 255, 41;
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 42px;
    gap: 12px;
    align-items: center;
    padding: 10px 13px;
    overflow: hidden;
    border: 1px solid rgba(var(--ad-accent-rgb), 0.22);
    border-radius: 15px;
    background:
        radial-gradient(circle at 8% 0%, rgba(var(--ad-accent-rgb), 0.18), transparent 38%),
        linear-gradient(135deg, rgba(31, 27, 48, 0.98), rgba(11, 11, 18, 0.99));
    color: #ffffff;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-78%) rotateX(32deg) scale(0.96);
    transform-origin: 50% 100%;
    transition: opacity 620ms ease, transform 720ms cubic-bezier(0.2, 0.78, 0.2, 1), filter 620ms ease;
    filter: blur(3px) saturate(0.8);
    backface-visibility: hidden;
}

.home-player-ad-card::before {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 48%, transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 45%);
    content: "";
    pointer-events: none;
}

.home-player-ad-card::after {
    position: absolute;
    right: 13%;
    bottom: -25px;
    width: 180px;
    height: 42px;
    border-radius: 50%;
    background: rgba(var(--ad-accent-rgb), 0.25);
    content: "";
    filter: blur(24px);
    pointer-events: none;
}

.home-player-ad-card.theme-violet { --ad-accent: #c598ff; --ad-accent-rgb: 169, 106, 255; background: radial-gradient(circle at 12% 0%, rgba(169, 106, 255, 0.29), transparent 40%), linear-gradient(135deg, #21173a, #0b0a12 72%); }
.home-player-ad-card.theme-lime { --ad-accent: #c8ff4f; --ad-accent-rgb: 185, 255, 41; background: radial-gradient(circle at 12% 0%, rgba(185, 255, 41, 0.22), transparent 40%), linear-gradient(135deg, #18230e, #090c08 72%); }
.home-player-ad-card.theme-coral { --ad-accent: #ff8ca2; --ad-accent-rgb: 255, 94, 130; background: radial-gradient(circle at 12% 0%, rgba(255, 94, 130, 0.25), transparent 40%), linear-gradient(135deg, #34141e, #0d090b 72%); }
.home-player-ad-card.theme-cyan { --ad-accent: #67e9ff; --ad-accent-rgb: 53, 215, 255; background: radial-gradient(circle at 12% 0%, rgba(53, 215, 255, 0.25), transparent 40%), linear-gradient(135deg, #102735, #080b0e 72%); }

.home-player-ad-card.is-active {
    z-index: 2;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) rotateX(0) scale(1);
    filter: blur(0) saturate(1);
}

.home-player-ad-card.is-leaving {
    z-index: 1;
    opacity: 0;
    transform: translateY(82%) rotateX(-30deg) scale(0.96);
    transform-origin: 50% 0;
    filter: blur(3px) saturate(0.82);
}

.home-player-ad-notice-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(var(--ad-accent-rgb), 0.32);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--ad-accent);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 8px 20px rgba(0, 0, 0, 0.18);
}

.home-player-ad-notice-icon svg { width: 19px; height: 19px; stroke-width: 2.2; }

.home-player-ad-content { position: relative; z-index: 1; min-width: 0; }
.home-player-ad-kicker { display: block; margin-bottom: 2px; color: var(--ad-accent); font-size: 0.55rem; font-weight: 950; letter-spacing: 0.1em; text-transform: uppercase; }
.home-player-ad-content h3 { overflow: hidden; margin: 0; color: #ffffff; font-size: clamp(0.92rem, 1.35vw, 1.12rem); font-weight: 950; line-height: 1.13; text-overflow: ellipsis; white-space: nowrap; }
.home-player-ad-detail-row { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 4px; }
.home-player-ad-rich-text { min-width: 0; overflow: hidden; color: rgba(255, 255, 255, 0.69); font-size: 0.7rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.home-player-ad-rich-text p { display: inline; margin: 0; }
.home-player-ad-rich-text strong,
.home-player-ad-rich-text b { color: #ffffff; font-weight: 950; }
.home-player-ad-rich-text a { color: var(--ad-accent); font-weight: 900; text-decoration: none; border-bottom: 1px solid rgba(var(--ad-accent-rgb), 0.5); }
.home-player-ad-rich-text a:hover,
.home-player-ad-rich-text a:focus-visible { color: #ffffff; border-bottom-color: #ffffff; }
.home-player-ad-cta { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 4px; padding-left: 10px; border-left: 1px solid rgba(var(--ad-accent-rgb), 0.35); color: var(--ad-accent); font-size: 0.67rem; font-weight: 950; line-height: 1; text-decoration: none; }
.home-player-ad-cta svg { width: 13px; height: 13px; transition: transform 160ms ease; }
.home-player-ad-cta:hover,
.home-player-ad-cta:focus-visible { color: #ffffff; }
.home-player-ad-cta:hover svg,
.home-player-ad-cta:focus-visible svg { transform: translate(2px, -2px); }

.home-player-ad-symbol {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--ad-accent);
    color: #0a0a0f;
    box-shadow: 0 0 20px rgba(var(--ad-accent-rgb), 0.24);
}

.home-player-ad-symbol::before {
    position: absolute;
    z-index: -1;
    inset: -5px;
    border: 1px solid rgba(var(--ad-accent-rgb), 0.45);
    border-radius: inherit;
    content: "";
    opacity: 0.35;
    animation: homePlayerAdHalo 2.4s ease-in-out infinite;
}

.home-player-ad-symbol::after {
    position: absolute;
    top: 2px;
    right: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 9px #ffffff;
    content: "";
}

.home-player-ad-symbol svg { width: 17px; height: 17px; stroke-width: 2.5; }

@keyframes homePlayerAdHalo {
    0%, 100% { opacity: 0.2; transform: scale(0.92); }
    50% { opacity: 0.62; transform: scale(1.08); }
}
.home-player-ads-frame.is-paused .home-player-ads-frame-status button { color: var(--home-ad-accent); }

body.focus-mode .home-player-ads-frame { opacity: 0; pointer-events: none; }

body.home-player-cinema-mode .home-player-ads-frame { display: none; }

@media (min-width: 1051px) {
    body.site-theme-studio.home-page .watch-section.has-home-player-ads { padding-bottom: 14px; }
}

@media (max-width: 1050px) {
    .home-player-ads-frame { min-height: 140px; margin-top: 14px; }
}

@media (max-width: 680px) {
    .home-player-ads-frame { min-height: 150px; margin-top: 12px; border-radius: 18px; }
    .home-player-ads-frame-header { padding-inline: 11px; }
    .home-player-ads-viewport { right: 7px; bottom: 8px; left: 7px; }
    .home-player-ad-card { grid-template-columns: minmax(0, 1fr) 34px; gap: 8px; padding: 10px 11px; border-radius: 13px; }
    .home-player-ad-notice-icon { display: none; }
    .home-player-ad-content h3 { font-size: 0.94rem; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .home-player-ad-detail-row { gap: 7px; }
    .home-player-ad-rich-text { font-size: 0.66rem; }
    .home-player-ad-cta { padding-left: 7px; font-size: 0.64rem; }
    .home-player-ad-symbol { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .home-player-ad-card { transition: opacity 120ms linear; transform: none; filter: none; }
    .home-player-ad-card.is-leaving { transform: none; }
    .home-player-ad-symbol::before { animation: none; }
}
