/* G.L.B.S — LastWave-inspired liquid glass system
   Clear surfaces, refractive edge-lighting, and spring-like motion. */

:root {
    --bg-color: #080b1b;
    --panel-bg: rgba(21, 29, 59, 0.48);
    --primary-glow: #79bdff;
    --accent-glow: #a68bff;
    --text-color: #edf1ff;
    --sub-text: #aebbdc;
    --gold-alert: #d9ceff;
    --header-cyan: #c4d7ff;
    --ui-blue: #4f9cff;
    --ui-violet: #9878ff;
    --ui-edge: rgba(207, 222, 255, 0.20);
    --liquid-x: 50vw;
    --liquid-y: 43vh;
}

html {
    background: #080b1b;
    color-scheme: dark;
    scroll-behavior: smooth;
    scrollbar-color: rgba(137, 156, 255, 0.46) #080b1b;
}

body {
    position: relative;
    isolation: isolate;
    padding: clamp(20px, 4.5vw, 64px) clamp(12px, 3.5vw, 52px) 54px;
    color: var(--text-color);
    background:
        radial-gradient(ellipse at 14% 7%, rgba(25, 85, 169, 0.18), transparent 37rem),
        radial-gradient(ellipse at 88% 15%, rgba(92, 53, 166, 0.16), transparent 35rem),
        linear-gradient(145deg, #080b1b 0%, #0b1024 52%, #090b1c 100%);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

body::before,
body::after {
    display: none !important;
}

/* One continuous liquid field sits behind the entire page. */
.liquid-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(40, 70, 133, 0.11), transparent 52%),
        linear-gradient(150deg, rgba(8, 13, 31, 0.1), rgba(15, 13, 37, 0.2));
}

.liquid-backdrop::before,
.liquid-backdrop::after {
    content: "";
    position: absolute;
    left: var(--liquid-x);
    top: var(--liquid-y);
    width: min(112vmax, 1450px);
    height: min(94vmax, 1250px);
    transform: translate(-50%, -50%);
    pointer-events: none;
    will-change: left, top, border-radius;
    mix-blend-mode: screen;
}

.liquid-backdrop::before {
    border-radius: 43% 57% 61% 39% / 48% 41% 59% 52%;
    background:
        radial-gradient(ellipse at 34% 32%, rgba(76, 164, 255, 0.35), transparent 32%),
        radial-gradient(ellipse at 63% 56%, rgba(125, 91, 255, 0.34), transparent 38%),
        radial-gradient(ellipse at 50% 72%, rgba(47, 125, 219, 0.20), transparent 44%),
        radial-gradient(ellipse at 25% 74%, rgba(168, 112, 255, 0.14), transparent 32%);
    filter: url(#glbs-liquid-warp) saturate(1.22);
    opacity: 0.82;
    transition:
        left 480ms cubic-bezier(0.2, 0.85, 0.25, 1),
        top 480ms cubic-bezier(0.2, 0.85, 0.25, 1),
        border-radius 1.4s ease;
    animation: none;
}

.liquid-backdrop::after {
    left: calc(var(--liquid-x) + 15vw);
    top: calc(var(--liquid-y) + 13vh);
    width: min(86vmax, 1100px);
    height: min(76vmax, 980px);
    border-radius: 58% 42% 38% 62% / 39% 57% 43% 61%;
    background:
        radial-gradient(ellipse at 39% 38%, rgba(91, 181, 255, 0.18), transparent 38%),
        radial-gradient(ellipse at 66% 55%, rgba(158, 105, 255, 0.27), transparent 43%),
        radial-gradient(ellipse at 44% 72%, rgba(91, 104, 230, 0.16), transparent 45%);
    filter: url(#glbs-liquid-warp) saturate(1.18);
    opacity: 0.78;
    transition:
        left 720ms cubic-bezier(0.18, 0.9, 0.2, 1),
        top 720ms cubic-bezier(0.18, 0.9, 0.2, 1);
    animation: none;
}

.header-section,
.donate-trigger,
.ad-slot,
.container {
    position: relative;
    z-index: 1;
}

#enterOverlay {
    z-index: 999999;
    overflow-x: hidden;
    overflow-y: auto;
    padding: clamp(22px, 6vh, 64px) 18px;
    background:
        radial-gradient(ellipse at 50% 12%, rgba(73, 132, 232, 0.20), transparent 34rem),
        radial-gradient(ellipse at 83% 76%, rgba(127, 80, 220, 0.17), transparent 32rem),
        rgba(5, 8, 21, 0.96);
    -webkit-backdrop-filter: saturate(150%);
    backdrop-filter: saturate(150%);
}

.entry-shell {
    width: min(100%, 670px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(18px, 3vh, 26px);
    margin: auto;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(199, 218, 255, 0.20);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.012) 46%),
        linear-gradient(135deg, rgba(20, 35, 74, 0.66), rgba(31, 24, 68, 0.62));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(180, 199, 255, 0.06),
        0 30px 100px rgba(0, 0, 0, 0.45),
        0 0 65px rgba(94, 117, 245, 0.12);
    -webkit-backdrop-filter: saturate(185%) contrast(1.06);
    backdrop-filter: saturate(185%) contrast(1.06);
}

.entry-brand {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 24px);
    text-align: left;
}

.entry-logo-frame {
    position: relative;
    flex: 0 0 clamp(68px, 13vw, 104px);
    width: clamp(68px, 13vw, 104px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 1px solid rgba(200, 224, 255, 0.34);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(97, 167, 255, 0.18), rgba(143, 108, 255, 0.14));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 12px 34px rgba(0, 0, 0, 0.24),
        0 0 30px rgba(91, 151, 255, 0.13);
}

.entry-logo-frame::before {
    content: "";
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(158, 183, 255, 0.13);
    border-radius: 34px;
}

.entry-logo {
    width: 82%;
    height: 82%;
    object-fit: cover;
    border-radius: 21px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
}

.entry-brand-copy {
    min-width: 0;
}

.entry-eyebrow,
.entry-overline {
    display: block;
    margin: 0 0 8px;
    color: #9bbdff;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

#enterOverlay #enterTitle {
    margin: 0;
    color: #f4f6ff !important;
    font-size: clamp(1.45rem, 4.8vw, 2.35rem) !important;
    line-height: 1.08;
    font-weight: 760;
    letter-spacing: -0.045em !important;
    text-transform: none;
    text-shadow: 0 8px 28px rgba(108, 151, 255, 0.16) !important;
}

.entry-tagline {
    margin: 9px 0 0;
    color: #b9c6e8;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.16em;
    text-align: left;
}

#enterOverlay .entry-warning {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: clamp(17px, 3.3vw, 25px);
    border: 1px solid rgba(172, 191, 255, 0.17);
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 55%),
        rgba(18, 27, 56, 0.44);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 14px 40px rgba(0, 0, 0, 0.18);
    opacity: 1;
    transform: none;
    -webkit-backdrop-filter: saturate(165%);
    backdrop-filter: saturate(165%);
}

.entry-warning::before {
    display: none;
}

.entry-warning-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
    text-align: left;
}

.entry-warning-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 207, 150, 0.25);
    border-radius: 14px;
    color: #ffcf96;
    background: rgba(255, 196, 132, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
    font-size: 1rem;
}

.entry-warning-heading .entry-eyebrow {
    margin-bottom: 4px;
    color: #b6c2ee;
}

#enterOverlay .entry-warning .glitch-alert-title {
    margin: 0;
    color: #f2e6d3;
    font-size: clamp(0.82rem, 2.5vw, 0.98rem);
    font-weight: 740;
    letter-spacing: 0.10em;
}

.entry-alert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 14px 55px;
}

.entry-alert-tags span {
    padding: 6px 9px;
    border: 1px solid rgba(185, 199, 255, 0.15);
    border-radius: 999px;
    color: #c4ccee;
    background: rgba(147, 160, 240, 0.07);
    font-size: 0.64rem;
    font-weight: 650;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#enterOverlay .entry-warning .warning-text {
    margin: 0;
    color: #bec9e2;
    font-size: clamp(0.86rem, 2vw, 0.98rem);
    line-height: 1.75;
    text-align: left;
}

#enterOverlay .entry-warning .warning-text strong {
    color: #fff0de;
}

#enterOverlay .entry-warning .share-prompt {
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(180, 194, 255, 0.13);
    color: #c7ceef;
    font-size: 0.79rem;
    font-weight: 550;
    line-height: 1.6;
    text-align: left;
}

#enterOverlay .enter-btn {
    align-self: flex-start;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 25px;
    border: 1px solid rgba(214, 232, 255, 0.38);
    border-radius: 999px;
    color: #f5f8ff;
    background:
        linear-gradient(115deg, rgba(91, 173, 255, 0.25), rgba(143, 108, 255, 0.24)),
        rgba(27, 37, 77, 0.68);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 12px 34px rgba(0, 0, 0, 0.24),
        0 0 28px rgba(104, 135, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0.13em;
    transition: transform 380ms cubic-bezier(0.2, 0.9, 0.25, 1.15), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
    -webkit-backdrop-filter: saturate(180%);
    backdrop-filter: saturate(180%);
}

#enterOverlay .enter-btn i {
    color: #d9d2ff;
    transition: transform 220ms ease;
}

#enterOverlay .enter-btn:hover {
    color: #10132b;
    border-color: rgba(239, 244, 255, 0.85);
    background: linear-gradient(110deg, #a6dcff, #c6b6ff);
    box-shadow: 0 15px 42px rgba(105, 140, 255, 0.24);
    transform: translateY(-2px);
}

#enterOverlay .enter-btn:hover i {
    color: #24234b;
    transform: translateX(4px);
}

#enterOverlay .enter-btn:active {
    transform: scale(0.97);
}

.entry-footnote {
    margin: -7px 0 0;
    color: rgba(174, 189, 222, 0.72);
    font-size: 0.72rem;
    line-height: 1.55;
    text-align: left;
}

.header-section {
    width: min(100%, 920px);
    margin: 0 0 clamp(22px, 4vw, 36px);
    padding: clamp(30px, 5vw, 56px) 22px clamp(32px, 5vw, 50px);
    border: 1px solid rgba(190, 212, 255, 0.19);
    border-radius: clamp(25px, 4vw, 36px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.014) 44%),
        linear-gradient(125deg, rgba(22, 43, 87, 0.40), rgba(44, 30, 88, 0.34));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(185, 201, 255, 0.06),
        0 28px 82px rgba(0, 0, 0, 0.30),
        0 0 44px rgba(86, 125, 255, 0.09);
    -webkit-backdrop-filter: saturate(185%) contrast(1.06);
    backdrop-filter: saturate(185%) contrast(1.06);
}

.header-section::before {
    left: 8%;
    width: 84%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(223, 240, 255, 0.72), rgba(190, 172, 255, 0.62), transparent);
    box-shadow: 0 0 18px rgba(132, 170, 255, 0.28);
}

.header-section::after {
    content: "";
    position: absolute;
    top: -52%;
    right: -16%;
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(146, 112, 255, 0.16), rgba(78, 165, 255, 0.08) 43%, transparent 72%);
    filter: none;
}

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

.logo-glow-container {
    width: clamp(86px, 13vw, 150px);
    height: clamp(86px, 13vw, 150px);
    margin-bottom: clamp(17px, 3vw, 25px);
}

.logo-glow-container::before {
    background: #618dff;
    filter: blur(38px);
    opacity: 0.42;
}

.logo-crest {
    border: 1px solid rgba(201, 224, 255, 0.5);
    border-radius: 30%;
    background: linear-gradient(145deg, rgba(112, 172, 255, 0.16), rgba(20, 31, 69, 0.88));
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.34),
        inset 0 -9px 20px rgba(12, 16, 45, 0.28),
        0 0 0 6px rgba(175, 196, 255, 0.045),
        0 15px 42px rgba(0, 0, 0, 0.32),
        0 0 30px rgba(83, 151, 255, 0.18);
}

.glitch-title {
    background: linear-gradient(102deg, #ffffff 0%, #c5e7ff 34%, #c9bcff 72%, #eee0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: clamp(0.09em, 1.1vw, 0.17em);
    filter: drop-shadow(0 7px 20px rgba(115, 147, 255, 0.14));
    transition: filter 240ms ease, transform 260ms ease;
}

.glitch-subtitle {
    color: #c1d4ff;
    font-size: clamp(0.66rem, 1.8vw, 0.9rem);
    letter-spacing: clamp(0.15em, 0.65vw, 0.3em);
    text-shadow: 0 0 18px rgba(127, 151, 255, 0.12);
}

.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #72c9ff, #a895ff, #d3baff, transparent);
    box-shadow: 0 0 16px rgba(117, 153, 255, 0.24);
}

/* Keep the red Pride interaction as a distinct identity state above the new blue/violet skin. */
.logo-glow-container:hover::before,
.header-section.pride-awakened .logo-glow-container::before {
    background: #ff183d;
    filter: blur(47px);
    opacity: 0.94;
}

.logo-glow-container:hover .logo-crest,
.header-section.pride-awakened .logo-crest {
    border-color: rgba(255, 78, 110, 0.92);
    box-shadow:
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        0 0 0 6px rgba(255, 24, 62, 0.1),
        0 0 30px rgba(255, 23, 62, 0.58),
        0 0 72px rgba(255, 23, 62, 0.34);
}

.glitch-title:hover,
.header-section.pride-awakened .glitch-title {
    background: none;
    color: #fff3f6;
    -webkit-text-fill-color: #fff3f6;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.68),
        0 0 20px rgba(255, 28, 64, 0.9),
        0 0 48px rgba(255, 22, 58, 0.58);
    filter: drop-shadow(0 0 16px rgba(255, 31, 66, 0.4));
    transform: scale(1.025);
}

.glitch-subtitle:hover,
.header-section.pride-awakened .glitch-subtitle {
    color: #ffdce4;
    text-shadow: 0 0 9px rgba(255, 60, 87, 0.78), 0 0 24px rgba(255, 22, 57, 0.48);
}

.donate-trigger {
    min-height: 48px;
    padding: 0 23px;
    border: 1px solid rgba(194, 211, 255, 0.26);
    border-radius: 999px;
    color: #edf2ff;
    background:
        linear-gradient(120deg, rgba(89, 166, 255, 0.18), rgba(153, 117, 255, 0.18)),
        rgba(20, 29, 62, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 12px 30px rgba(0, 0, 0, 0.2);
    font-size: 0.79rem;
    font-weight: 720;
    letter-spacing: 0.09em;
    -webkit-backdrop-filter: saturate(180%);
    backdrop-filter: saturate(180%);
    transition: transform 380ms cubic-bezier(0.2, 0.9, 0.25, 1.15), border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.donate-trigger i {
    color: #d4c7ff;
}

.donate-trigger:hover {
    color: #10142a;
    border-color: rgba(226, 236, 255, 0.82);
    background: linear-gradient(120deg, #a4ddff, #c5b5ff);
    box-shadow: 0 14px 36px rgba(104, 139, 255, 0.2);
    transform: translateY(-2px);
}

.donate-trigger:active,
.wallet-copy:active,
.donate-close:active,
.member-item:active {
    transform: scale(0.975);
}

.ad-slot {
    margin-bottom: clamp(26px, 4vw, 40px);
}

.ad-label {
    color: rgba(184, 199, 234, 0.55);
    font-size: 9px;
    letter-spacing: 0.2em;
}

.container {
    width: min(100%, 850px);
    perspective: 1200px;
}

/* Clear glass surfaces use light transmission and edge reflections rather than a heavy blur. */
.card,
.warning-box,
.donate-dialog,
.member-item,
.wallet-row,
.badge-footer {
    -webkit-backdrop-filter: saturate(178%) contrast(1.055) brightness(1.045);
    backdrop-filter: saturate(178%) contrast(1.055) brightness(1.045);
}

.card {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
    border: 1px solid rgba(191, 209, 255, 0.17);
    border-radius: clamp(21px, 3vw, 30px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.012) 52%),
        linear-gradient(125deg, rgba(26, 47, 88, 0.47), rgba(40, 31, 83, 0.40));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -1px 0 rgba(180, 201, 255, 0.055),
        0 18px 54px rgba(0, 0, 0, 0.25),
        0 0 28px rgba(97, 129, 255, 0.055);
    transition:
        border-color 280ms ease,
        box-shadow 280ms ease,
        transform 900ms cubic-bezier(0.2, 1, 0.25, 1),
        opacity 720ms ease,
        filter 720ms ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(520px circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(225, 242, 255, 0.17), transparent 67%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.13), transparent 28%, transparent 72%, rgba(173, 148, 255, 0.055));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 0 0 1px rgba(218, 232, 255, 0.035);
}

.card::after {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0.8;
    mix-blend-mode: screen;
    background:
        radial-gradient(380px circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(105, 183, 255, 0.13), transparent 72%),
        radial-gradient(580px circle at 100% 100%, rgba(162, 124, 255, 0.06), transparent 72%);
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-title {
    gap: 13px;
    padding-left: 14px;
    border-left: 2px solid rgba(137, 199, 255, 0.85);
    color: #e1e9ff;
    font-size: clamp(0.91rem, 2.8vw, 1.12rem);
    font-weight: 740;
    letter-spacing: 0.15em;
}

.card-title i {
    color: #a9caff;
    filter: drop-shadow(0 0 8px rgba(107, 173, 255, 0.24));
}

p {
    color: #c1cde5;
    font-size: clamp(0.92rem, 1.5vw, 1.04rem);
    line-height: 1.82;
    text-align: left;
    text-wrap: pretty;
}

p strong {
    color: #f4f6ff;
    font-weight: 680;
    text-shadow: none;
}

.card:hover,
.card.slide-in-active:hover {
    border-color: rgba(174, 201, 255, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.27),
        inset 0 0 28px rgba(181, 199, 255, 0.045),
        0 24px 62px rgba(0, 0, 0, 0.3),
        0 0 34px rgba(102, 137, 255, 0.1);
}

.members-list {
    gap: 10px;
}

.member-item {
    border: 1px solid rgba(185, 204, 255, 0.12);
    border-radius: 17px;
    background:
        radial-gradient(260px circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(117, 175, 255, 0.11), transparent 72%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.012)),
        linear-gradient(120deg, rgba(26, 48, 89, 0.48), rgba(42, 31, 84, 0.38));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 7px 22px rgba(0, 0, 0, 0.12);
    transition: transform 350ms cubic-bezier(0.2, 0.9, 0.25, 1.15), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.member-item:hover {
    border-color: rgba(174, 198, 255, 0.34);
    background:
        radial-gradient(260px circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(138, 175, 255, 0.16), transparent 72%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.025)),
        linear-gradient(120deg, rgba(32, 62, 115, 0.58), rgba(58, 39, 111, 0.48));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 11px 28px rgba(0, 0, 0, 0.18);
    transform: translateX(3px);
}

.member-number {
    border: 1px solid rgba(170, 203, 255, 0.25);
    border-radius: 13px;
    color: #d5e6ff;
    background: linear-gradient(145deg, rgba(87, 170, 255, 0.2), rgba(151, 117, 255, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.member-item:hover .member-number {
    color: #111831;
    background: linear-gradient(135deg, #a5dfff, #c5b8ff);
}

.member-name { color: #f1f4ff; }

.member-role {
    border: 1px solid rgba(188, 196, 255, 0.14);
    border-radius: 999px;
    padding: 5px 10px;
    color: #c3cbed;
    background: rgba(139, 129, 230, 0.075);
    font-size: 0.72rem;
    font-weight: 600;
}

.member-icon {
    color: rgba(174, 199, 255, 0.75);
    filter: drop-shadow(0 0 7px rgba(108, 158, 255, 0.16));
}

/* The final safety panel stays warm enough to read as a notice, but belongs to the same palette. */
.warning-box {
    border: 1px solid rgba(191, 185, 255, 0.21);
    border-radius: 23px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.01) 52%),
        linear-gradient(125deg, rgba(38, 43, 82, 0.54), rgba(57, 37, 85, 0.44));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 20px 54px rgba(0, 0, 0, 0.24);
}

.warning-box::before {
    width: 2px;
    background: linear-gradient(to bottom, #d6c7ff, rgba(125, 172, 255, 0.08));
}

.glitch-alert-title {
    color: #e2d9ff;
    font-size: 0.92rem;
    letter-spacing: 0.13em;
}

.warning-text {
    color: #bdc8e2;
    font-size: 0.88rem;
}

.warning-text strong { color: #f0eaff; }

.share-prompt {
    border-top: 1px solid rgba(194, 189, 255, 0.14);
    color: #d2cbf3;
    font-size: 0.82rem;
}

.alliance-footer-node {
    color: #adbee5;
    font-size: 0.91rem;
    letter-spacing: 0.02em;
}

.alliance-footer-node a {
    color: #c8b8ff;
    text-decoration-color: rgba(200, 184, 255, 0.5);
    text-underline-offset: 4px;
}

.alliance-footer-node a:hover { color: #f0eaff; }

.badge-footer {
    border: 1px solid rgba(177, 193, 255, 0.18);
    color: #d9e0ff;
    background: linear-gradient(130deg, rgba(76, 146, 255, 0.11), rgba(149, 111, 255, 0.13));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 28px rgba(0, 0, 0, 0.16);
}

/* Donation sheet and wallet rows keep the same live, translucent material. */
.donate-modal {
    z-index: 100001;
    background: rgba(5, 7, 20, 0.76);
    -webkit-backdrop-filter: saturate(145%);
    backdrop-filter: saturate(145%);
}

.donate-dialog {
    border: 1px solid rgba(190, 204, 255, 0.22);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.018) 48%),
        linear-gradient(135deg, rgba(25, 45, 89, 0.86), rgba(48, 33, 89, 0.84));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 34px 90px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: saturate(185%) contrast(1.06);
    backdrop-filter: saturate(185%) contrast(1.06);
}

.donate-heading h2 {
    color: #f0f3ff;
    font-weight: 720;
    letter-spacing: -0.025em;
}

.donate-intro { color: #bec9e7; }

.donate-close {
    border: 1px solid rgba(191, 204, 255, 0.21);
    border-radius: 13px;
    color: #e6eaff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.025));
}

.donate-close:hover { background: rgba(132, 148, 255, 0.18); }

.wallet-row {
    border: 1px solid rgba(184, 202, 255, 0.14);
    border-radius: 16px;
    background:
        radial-gradient(240px circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(111, 166, 255, 0.10), transparent 72%),
        linear-gradient(110deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.014)),
        rgba(27, 39, 77, 0.45);
}

.wallet-row:hover {
    border-color: rgba(161, 185, 255, 0.3);
    background-color: rgba(105, 119, 215, 0.08);
}

.wallet-label {
    color: #c5d4ff;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
}

.wallet-address { color: #e8eeff; }

.wallet-copy {
    border: 1px solid rgba(183, 207, 255, 0.25);
    border-radius: 10px;
    color: #e4ebff;
    background: linear-gradient(125deg, rgba(91, 163, 255, 0.18), rgba(150, 112, 255, 0.18));
    transition: transform 300ms cubic-bezier(0.2, 0.9, 0.25, 1.15), background 180ms ease, border-color 180ms ease;
}

.wallet-copy:hover {
    color: #111831;
    border-color: #e3eaff;
    background: linear-gradient(120deg, #a6ddff, #c7b7ff);
}

.donate-note { color: #d3cdf2; }

.donation-disclaimer {
    border: 1px solid rgba(196, 186, 255, 0.17);
    border-left: 2px solid rgba(194, 173, 255, 0.65);
    border-radius: 16px;
    background: rgba(139, 113, 220, 0.06);
}

.donation-disclaimer h3 { color: #dfd3ff; }
.donation-disclaimer p { color: #c1c9e0; }
.donation-disclaimer p strong { color: #f0efff; }
.donation-disclaimer .donation-legal-note { color: #d4c6ff; }

/* Side-entering section reveal: a damped, alternating iOS-style spring. */
.card,
.warning-box,
.alliance-footer-node {
    opacity: 0;
    filter: saturate(0.88);
    will-change: transform, opacity;
    transition:
        opacity 720ms ease,
        transform 920ms cubic-bezier(0.2, 1, 0.25, 1),
        filter 760ms ease;
}

.card:nth-child(odd) {
    transform: translate3d(-68px, 22px, 0) rotateY(2.8deg) rotateZ(-0.65deg) scale(0.978);
}

.card:nth-child(even) {
    transform: translate3d(68px, 22px, 0) rotateY(-2.8deg) rotateZ(0.65deg) scale(0.978);
}

.card:nth-child(1) { transition-delay: 0ms; }
.card:nth-child(2) { transition-delay: 65ms; }
.card:nth-child(3) { transition-delay: 130ms; }

.warning-box {
    transform: translate3d(64px, 18px, 0) rotateY(-2deg) scale(0.98);
    transition-delay: 70ms;
}

.alliance-footer-node {
    transform: translate3d(-42px, 14px, 0) scale(0.985);
    transition-delay: 40ms;
}

.card.slide-in-active,
.warning-box.slide-in-active,
.alliance-footer-node.slide-in-active {
    opacity: 1;
    filter: saturate(1);
    transform: translate3d(0, 0, 0) rotateY(0) rotateZ(0) scale(1);
}

.card.slide-in-active:hover {
    transform: translate3d(0, -3px, 0) scale(1);
}

.badge-footer {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.97);
    transition: opacity 650ms ease, transform 850ms cubic-bezier(0.2, 1, 0.25, 1);
}

.badge-footer.slide-in-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Replace the click ring with a short, soft-edged liquid meniscus. */
.touch-ripple { display: none !important; }

.liquid-splash {
    position: fixed;
    z-index: 99998;
    width: clamp(180px, 31vmin, 350px);
    height: clamp(160px, 27vmin, 315px);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.25) rotate(-12deg);
    border-radius: 56% 44% 62% 38% / 42% 60% 40% 58%;
    opacity: 0;
    background:
        radial-gradient(ellipse at 35% 28%, rgba(237, 246, 255, 0.34), transparent 21%),
        radial-gradient(ellipse at 40% 40%, rgba(83, 174, 255, 0.36), transparent 49%),
        radial-gradient(ellipse at 66% 57%, rgba(155, 111, 255, 0.32), transparent 58%),
        radial-gradient(ellipse at 52% 52%, rgba(87, 117, 255, 0.12), transparent 76%);
    box-shadow:
        inset 15px 13px 30px rgba(218, 235, 255, 0.14),
        inset -15px -18px 32px rgba(137, 100, 255, 0.14),
        0 0 52px rgba(94, 145, 255, 0.16);
    mix-blend-mode: screen;
    filter: url(#glbs-liquid-warp);
    animation: liquidMeniscus 980ms cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
}

.liquid-splash::before {
    content: "";
    position: absolute;
    inset: 8% 16% 58% 12%;
    border-radius: inherit;
    transform: rotate(-14deg);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.035) 58%, transparent);
}

@keyframes liquidMeniscus {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.22) rotate(-12deg);
        border-radius: 56% 44% 62% 38% / 42% 60% 40% 58%;
    }
    18% {
        opacity: 0.86;
        transform: translate(-50%, -50%) scale(0.78) rotate(3deg);
    }
    50% {
        opacity: 0.58;
        transform: translate(-50%, -50%) scale(1.06) rotate(-4deg);
        border-radius: 42% 58% 39% 61% / 58% 40% 60% 42%;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.52) rotate(9deg);
        border-radius: 62% 38% 57% 43% / 41% 62% 38% 59%;
    }
}

.jumpscare-overlay { z-index: 99999; }

/* Small screens: the composition stacks naturally and avoids wide side-swipe motion. */
@media (max-width: 580px) {
    body { padding: 16px 12px 38px; }

    .header-section {
        padding: 34px 16px 32px;
        border-radius: 26px;
    }

    .entry-shell {
        gap: 18px;
        padding: 21px 17px;
        border-radius: 27px;
    }

    .entry-brand { gap: 14px; }

    .entry-logo-frame {
        flex-basis: 70px;
        width: 70px;
        border-radius: 21px;
    }

    .entry-logo { border-radius: 15px; }

    .entry-alert-tags { margin-left: 0; }

    #enterOverlay .enter-btn {
        width: 100%;
        align-self: stretch;
    }

    .card,
    .warning-box,
    .alliance-footer-node {
        transition-duration: 760ms;
    }

    .card:nth-child(odd) {
        transform: translate3d(-34px, 16px, 0) scale(0.985);
    }

    .card:nth-child(even) {
        transform: translate3d(34px, 16px, 0) scale(0.985);
    }

    .warning-box {
        transform: translate3d(34px, 14px, 0) scale(0.985);
    }

    .liquid-backdrop::before {
        width: 145vmax;
        height: 125vmax;
    }

    .liquid-backdrop::after {
        width: 120vmax;
        height: 108vmax;
    }

    .liquid-splash {
        width: min(74vw, 290px);
        height: min(66vw, 260px);
    }
}

@media (max-width: 380px) {
    .entry-brand { align-items: flex-start; }
    .entry-logo-frame { flex-basis: 58px; width: 58px; }
    #enterOverlay #enterTitle { font-size: 1.28rem !important; }
    .entry-tagline { font-size: 0.62rem; }
    .member-name { overflow-wrap: anywhere; }
}

/* Reduced motion keeps the layout readable without revealing animation states. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .liquid-backdrop::before,
    .liquid-backdrop::after {
        animation: none;
        transition: none;
    }

    .liquid-splash { display: none; }

    .card,
    .warning-box,
    .alliance-footer-node,
    .badge-footer {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }
}

@media (prefers-reduced-transparency: reduce) {
    .header-section,
    .card,
    .warning-box,
    .donate-dialog,
    .donate-trigger,
    .member-item,
    .wallet-row,
    .entry-shell,
    #enterOverlay .entry-warning {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background-color: rgba(17, 25, 51, 0.94);
    }

    .liquid-backdrop::before,
    .liquid-backdrop::after {
        filter: none;
    }
}

@supports not (backdrop-filter: saturate(1.5)) {
    .header-section,
    .card,
    .warning-box,
    .donate-dialog,
    .donate-trigger,
    .member-item,
    .wallet-row,
    .entry-shell {
        background-color: rgba(20, 29, 61, 0.9);
    }
}


/* Brand integration: the transparent crest is the artwork, not an app-icon tile. */
.logo-glow-container {
    position: relative;
    display: grid;
    place-items: center;
    overflow: visible;
    isolation: isolate;
    border-radius: 0;
}

.logo-glow-container::before {
    z-index: 0;
    inset: 4%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 145, 255, 0.38), rgba(127, 91, 245, 0.16) 48%, transparent 74%);
    filter: blur(22px);
    opacity: 0.85;
}

.logo-glow-container::after {
    content: "";
    position: absolute;
    inset: 8%;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(227, 195, 128, 0.13), rgba(89, 154, 255, 0.10) 42%, transparent 72%);
    filter: blur(14px);
}

.logo-crest {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    filter:
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.28))
        drop-shadow(0 0 16px rgba(79, 151, 255, 0.18));
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.15), filter 260ms ease;
}

.logo-glow-container:hover .logo-crest {
    transform: translateY(-3px) scale(1.035);
    filter:
        drop-shadow(0 10px 22px rgba(0, 0, 0, 0.3))
        drop-shadow(0 0 24px rgba(89, 151, 255, 0.32));
}

.header-section.pride-awakened .logo-crest,
.logo-glow-container:hover .logo-crest {
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.15), filter 260ms ease;
}

.entry-logo-frame {
    flex-basis: clamp(78px, 14vw, 112px);
    width: clamp(78px, 14vw, 112px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.entry-logo-frame::before { display: none; }

#enterOverlay .entry-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.24),
        0 0 20px rgba(92, 151, 255, 0.15);
}

/* Tighten the wordmark and give the full name its own readable supporting line. */
.glitch-title {
    margin-bottom: 3px;
    font-family: "Arial Black", "Roboto Condensed", Impact, -apple-system, sans-serif;
    font-size: clamp(3.3rem, 9vw, 6.1rem);
    font-weight: 900;
    letter-spacing: clamp(0.045em, 0.7vw, 0.105em);
    line-height: 0.98;
    transform-origin: center;
}

.glitch-subtitle {
    margin-top: 9px;
    font-size: clamp(0.69rem, 1.65vw, 0.9rem);
    font-weight: 760;
    letter-spacing: clamp(0.10em, 0.48vw, 0.22em);
    line-height: 1.5;
    text-transform: uppercase;
}

.hero-tagline {
    max-width: 520px;
    margin: 11px auto 0;
    color: #aebfe4;
    font-size: clamp(0.78rem, 1.8vw, 0.91rem);
    font-weight: 520;
    line-height: 1.6;
    letter-spacing: 0.025em;
    text-align: center;
}

.hero-primary-cta {
    position: relative;
    z-index: 2;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 22px;
    padding: 0 23px;
    border: 1px solid rgba(207, 224, 255, 0.42);
    border-radius: 999px;
    color: #f5f7ff;
    background:
        linear-gradient(118deg, rgba(83, 171, 255, 0.28), rgba(148, 116, 255, 0.30)),
        rgba(25, 34, 70, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(182, 197, 255, 0.08),
        0 12px 28px rgba(0, 0, 0, 0.22),
        0 0 27px rgba(107, 134, 255, 0.13);
    font-size: 0.76rem;
    font-weight: 780;
    letter-spacing: 0.11em;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-backdrop-filter: saturate(170%);
    backdrop-filter: saturate(170%);
    transition:
        transform 380ms cubic-bezier(0.2, 0.9, 0.25, 1.15),
        border-color 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}

.hero-primary-cta i {
    color: #d9d2ff;
    font-size: 0.8rem;
    transition: transform 220ms ease;
}

.hero-primary-cta:hover {
    color: #10152e;
    border-color: rgba(239, 245, 255, 0.9);
    background: linear-gradient(112deg, #a8ddff, #c8b8ff);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 14px 36px rgba(95, 147, 255, 0.24);
    transform: translateY(-2px);
}

.hero-primary-cta:hover i {
    color: #252449;
    transform: translateY(3px);
}

.hero-primary-cta:active { transform: scale(0.975); }

.hero-primary-cta:focus-visible {
    outline: 2px solid #bfd7ff;
    outline-offset: 4px;
}

.donate-trigger {
    min-height: 42px;
    padding: 0 18px;
    margin: 0 auto 20px;
    opacity: 0.9;
    font-size: 0.70rem;
    font-weight: 680;
    letter-spacing: 0.07em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 8px 22px rgba(0, 0, 0, 0.16);
}

#members { scroll-margin-top: 26px; }

/* Quiet depth: faint grid + oversized transparent crest watermark. */
.liquid-backdrop {
    background-image:
        linear-gradient(rgba(170, 193, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(170, 193, 255, 0.022) 1px, transparent 1px),
        radial-gradient(ellipse at 50% 0%, rgba(40, 70, 133, 0.11), transparent 52%),
        linear-gradient(150deg, rgba(8, 13, 31, 0.10), rgba(15, 13, 37, 0.20));
    background-size: 58px 58px, 58px 58px, auto, auto;
}

.crest-watermark {
    position: fixed;
    z-index: 0;
    right: clamp(-150px, -11vw, -64px);
    bottom: clamp(-170px, -12vw, -70px);
    width: min(62vw, 660px);
    aspect-ratio: 192 / 175;
    pointer-events: none;
    opacity: 0.024;
    background: url("glbslogo.png") center / contain no-repeat;
    filter: saturate(0.72);
    mix-blend-mode: screen;
    transform: rotate(-9deg);
}

@media (max-width: 580px) {
    .glitch-title {
        letter-spacing: 0.045em;
        font-size: clamp(3rem, 16vw, 4.6rem);
    }

    .glitch-subtitle {
        max-width: 94%;
        letter-spacing: 0.105em;
    }

    .hero-tagline {
        max-width: 300px;
        padding-inline: 8px;
    }

    .hero-primary-cta {
        min-height: 46px;
        margin-top: 18px;
        padding-inline: 21px;
    }

    .crest-watermark {
        right: -35vw;
        bottom: -7vh;
        width: 100vw;
        opacity: 0.018;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-crest,
    .hero-primary-cta {
        transition: none;
    }
}


/* G.L.B.S refinement — original crest, restrained glass, square controls, no liquid backdrop. */
:root {
    --bg-color: #070c19;
    --panel-bg: rgba(14, 21, 39, 0.94);
    --text-color: #eaf0ff;
    --sub-text: #a9b8d5;
    --primary-glow: #76baff;
    --accent-glow: #9885e8;
}

html {
    background: #070c19;
    color-scheme: dark;
    scrollbar-color: rgba(111, 150, 213, 0.48) #070c19;
}

body {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(ellipse at 15% 5%, rgba(43, 91, 155, 0.14), transparent 38rem),
        radial-gradient(ellipse at 87% 18%, rgba(83, 63, 137, 0.12), transparent 35rem),
        radial-gradient(ellipse at 50% 90%, rgba(24, 51, 91, 0.10), transparent 46rem),
        linear-gradient(145deg, #070c19 0%, #0a1021 52%, #070b17 100%);
    color: #eaf0ff;
}

/* Static architectural depth replaces the animated liquid backdrop. */
body::before {
    content: "";
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.30;
    background-image:
        linear-gradient(rgba(177, 199, 239, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(177, 199, 239, 0.025) 1px, transparent 1px),
        radial-gradient(circle at 1px 1px, rgba(212, 225, 255, 0.05) 0.55px, transparent 0.9px);
    background-size: 56px 56px, 56px 56px, 5px 5px;
    mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.68) 72%, transparent);
}

body::after { display: none !important; }

.liquid-backdrop,
.crest-watermark,
.liquid-splash,
.touch-ripple {
    display: none !important;
}

.header-section,
.donate-trigger,
.ad-slot,
.container {
    position: relative;
    z-index: 1;
}

/* Original crest art: hide only the white square corners; do not redraw or re-letter it. */
.logo-glow-container {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(112px, 16vw, 172px);
    height: clamp(112px, 16vw, 172px);
    margin: 0 auto clamp(16px, 2.5vw, 23px);
    overflow: visible;
    isolation: isolate;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
}

.logo-glow-container::before {
    content: "";
    position: absolute;
    inset: 4%;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle, rgba(78, 147, 242, 0.22), rgba(117, 93, 197, 0.09) 50%, transparent 73%);
    filter: blur(19px);
    opacity: 0.95;
    transition: opacity 240ms ease, transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.15);
}

.logo-glow-container::after { display: none; }

.logo-crest {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    /* The artwork itself is circular; this removes the white canvas at the corners. */
    clip-path: circle(49.5% at 50% 50%);
    filter:
        drop-shadow(0 7px 15px rgba(0, 0, 0, 0.32))
        drop-shadow(0 0 13px rgba(70, 133, 224, 0.17));
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.15), filter 260ms ease;
}

.logo-glow-container:hover::before,
.header-section.pride-awakened .logo-glow-container::before {
    opacity: 1;
    transform: scale(1.12);
}

.logo-glow-container:hover .logo-crest {
    transform: scale(1.045);
    filter:
        drop-shadow(0 9px 18px rgba(0, 0, 0, 0.38))
        drop-shadow(0 0 19px rgba(91, 154, 255, 0.28));
}

.header-section.pride-awakened .logo-glow-container::before {
    background: radial-gradient(circle, rgba(255, 23, 58, 0.34), rgba(197, 39, 72, 0.12) 52%, transparent 74%);
}

/* Keep the title bold and deliberate while the image retains its original G.L.B lettering. */
.glitch-title {
    font-family: "Arial Black", "Franklin Gothic Heavy", Impact, sans-serif;
    font-size: clamp(3.2rem, 9vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.045em;
    line-height: 0.98;
}

.glitch-subtitle {
    margin-top: 11px;
    font-size: clamp(0.7rem, 1.7vw, 0.9rem);
    font-weight: 740;
    letter-spacing: clamp(0.10em, 0.4vw, 0.19em);
    text-transform: uppercase;
}

.hero-tagline,
.hero-primary-cta {
    display: none !important;
}

/* Main sections: darker, more solid surfaces with just a little transmitted background. */
.header-section,
.entry-shell,
.card,
.warning-box,
.donate-dialog,
.member-item,
.wallet-row,
.badge-footer {
    -webkit-backdrop-filter: blur(2px) saturate(112%);
    backdrop-filter: blur(2px) saturate(112%);
}

.header-section {
    border: 1px solid rgba(174, 197, 239, 0.17);
    border-radius: 17px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 48%),
        linear-gradient(135deg, rgba(16, 27, 51, 0.93), rgba(18, 21, 46, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(137, 164, 218, 0.05),
        0 25px 62px rgba(0, 0, 0, 0.38),
        0 0 24px rgba(64, 103, 170, 0.06);
    transition: transform 420ms cubic-bezier(0.2, 0.9, 0.25, 1.15), background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.header-section::before {
    background: linear-gradient(90deg, transparent, rgba(206, 225, 255, 0.55), rgba(164, 148, 226, 0.32), transparent);
    box-shadow: none;
}

.header-section::after { opacity: 0.45; }

.card {
    border: 1px solid rgba(170, 193, 235, 0.15);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 42%),
        rgba(13, 21, 40, 0.91);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.105),
        inset 0 -1px 0 rgba(143, 168, 216, 0.035),
        0 15px 43px rgba(0, 0, 0, 0.30);
    transform-origin: center center;
    transition:
        transform 460ms cubic-bezier(0.2, 0.9, 0.25, 1.12),
        border-color 220ms ease,
        background 220ms ease,
        box-shadow 220ms ease,
        opacity 720ms ease,
        filter 720ms ease;
}

.card::before {
    opacity: 0.42;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09), transparent 29%),
        radial-gradient(360px circle at var(--shine-x, 50%) var(--shine-y, 0%), rgba(159, 190, 245, 0.075), transparent 70%);
}

.card::after { opacity: 0.25; }

.card-title {
    border-left-color: rgba(125, 178, 244, 0.8);
    color: #e2eaff;
}

.card-title i { color: #a8c5f1; }

.member-item {
    border: 1px solid rgba(165, 188, 228, 0.11);
    border-radius: 8px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.04), transparent 55%),
        rgba(15, 24, 45, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.075), 0 7px 18px rgba(0, 0, 0, 0.16);
    transform-origin: center;
    transition: transform 360ms cubic-bezier(0.2, 0.9, 0.25, 1.12), background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.member-number {
    border-radius: 6px;
    background: linear-gradient(140deg, rgba(75, 136, 212, 0.2), rgba(103, 85, 169, 0.2));
}

.warning-box {
    border: 1px solid rgba(173, 181, 220, 0.16);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 55%),
        rgba(22, 25, 43, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 14px 34px rgba(0, 0, 0, 0.25);
}

.donate-dialog {
    border-radius: 14px;
    border-color: rgba(177, 195, 235, 0.18);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 46%),
        rgba(11, 17, 34, 0.97);
}

.wallet-row {
    border-radius: 8px;
    border-color: rgba(171, 192, 229, 0.12);
    background: rgba(18, 28, 52, 0.90);
}

.badge-footer { border-radius: 8px; }

/* Hover: magnify subtly and darken the whole surface, not just the border. */
@media (hover: hover) and (pointer: fine) {
    .header-section:hover {
        transform: scale(1.012);
        border-color: rgba(177, 204, 255, 0.3);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.075), transparent 48%),
            linear-gradient(135deg, rgba(7, 13, 29, 0.98), rgba(11, 12, 29, 0.98));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 28px 72px rgba(0, 0, 0, 0.52),
            0 0 30px rgba(75, 119, 198, 0.09);
    }

    .card:hover,
    .card.slide-in-active:hover {
        z-index: 3;
        transform: translate3d(0, -2px, 0) scale(1.022);
        border-color: rgba(172, 199, 247, 0.29);
        background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 44%),
            rgba(4, 9, 21, 0.985);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            inset 0 0 26px rgba(117, 153, 216, 0.035),
            0 24px 58px rgba(0, 0, 0, 0.48),
            0 0 26px rgba(74, 116, 191, 0.09);
    }

    .member-item:hover {
        z-index: 2;
        transform: translate3d(0, -1px, 0) scale(1.018);
        border-color: rgba(172, 199, 247, 0.25);
        background: rgba(4, 9, 21, 0.98);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 13px 28px rgba(0, 0, 0, 0.34);
    }

    .warning-box:hover,
    .wallet-row:hover {
        transform: scale(1.012);
        border-color: rgba(172, 199, 247, 0.25);
        background-color: rgba(4, 9, 21, 0.98);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
    }

    .header-section.pride-awakened .glitch-title,
    .header-section:has(.glitch-title:hover) .glitch-title {
        color: #fff3f6;
        -webkit-text-fill-color: #fff3f6;
        background: none;
        text-shadow: 0 0 6px rgba(255,255,255,.65), 0 0 20px rgba(255,28,64,.88), 0 0 48px rgba(255,22,58,.55);
    }
}

/* The landing panel keeps the original wording and warning, but follows the sharper system. */
#enterOverlay {
    background:
        radial-gradient(ellipse at 50% 14%, rgba(44, 83, 145, 0.14), transparent 32rem),
        linear-gradient(145deg, #070c19, #090e1c 58%, #060a15);
}

.entry-shell {
    border: 1px solid rgba(177, 197, 239, 0.16);
    border-radius: 15px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 48%),
        rgba(11, 18, 36, 0.95);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 28px 76px rgba(0, 0, 0, 0.48);
    -webkit-backdrop-filter: blur(2px) saturate(112%);
    backdrop-filter: blur(2px) saturate(112%);
}

.entry-brand {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.entry-logo-frame {
    width: clamp(112px, 18vw, 160px);
    height: clamp(112px, 18vw, 160px);
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
}

.entry-logo-frame::before { display: none; }

#enterOverlay .entry-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    clip-path: circle(49.5% at 50% 50%);
    filter: drop-shadow(0 8px 18px rgba(0,0,0,.32)) drop-shadow(0 0 12px rgba(73,132,224,.15));
}

#enterOverlay #enterTitle {
    margin: 0;
    color: #f1f5ff !important;
    font-family: "Arial Black", "Franklin Gothic Heavy", Impact, sans-serif;
    font-size: clamp(1.45rem, 4vw, 2.35rem) !important;
    font-weight: 900;
    letter-spacing: 0.085em !important;
    line-height: 1.08;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(103, 148, 222, 0.14) !important;
}

#enterOverlay .entry-warning {
    max-width: 580px !important;
    margin: 0 auto 22px !important;
    padding: 20px clamp(18px, 3vw, 26px);
    text-align: left;
}

#enterOverlay .entry-warning .glitch-alert-title {
    color: #dde6f8;
    font-size: clamp(0.85rem, 2.4vw, 1rem);
    letter-spacing: 0.075em;
}

#enterOverlay .entry-warning .warning-text {
    color: #c1cce0;
    font-size: clamp(0.86rem, 2vw, 0.97rem);
    line-height: 1.75;
}

#enterOverlay .entry-warning .share-prompt {
    color: #c9d3e9;
    border-top-color: rgba(177, 197, 239, 0.13);
}

#enterOverlay .enter-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 22px;
    border: 1px solid rgba(176, 201, 246, 0.30);
    border-radius: 6px !important;
    color: #edf3ff;
    background: linear-gradient(135deg, rgba(73, 125, 198, 0.22), rgba(105, 85, 166, 0.20)), #101a32;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 11px 28px rgba(0,0,0,.28);
    font-size: 0.77rem;
    font-weight: 740;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 260ms ease, background 200ms ease, box-shadow 200ms ease;
}

#enterOverlay .enter-btn:hover {
    color: #f4f7ff;
    background: #050a17;
    border-color: rgba(191, 213, 255, 0.6);
    box-shadow: 0 13px 32px rgba(0, 0, 0, 0.42), 0 0 18px rgba(82, 126, 198, 0.12);
    transform: translateY(-2px) scale(1.025);
}

/* All button-shaped controls use a crisp, squared silhouette. */
button,
.enter-btn,
.donate-trigger,
.wallet-copy,
.donate-close,
.jumpscare-close-btn,
.hero-primary-cta {
    border-radius: 6px !important;
}

.donate-trigger {
    min-height: 39px;
    padding: 0 15px;
    font-size: 0.68rem;
    opacity: 0.83;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 6px 18px rgba(0,0,0,.18);
}

.wallet-copy {
    border-radius: 5px !important;
    min-height: 34px;
}

.donate-close,
.jumpscare-close-btn {
    border-radius: 5px !important;
}

@media (max-width: 580px) {
    .logo-glow-container {
        width: 126px;
        height: 126px;
    }

    .glitch-title { letter-spacing: 0.04em; }

    .entry-shell { padding: 22px 17px; }

    #enterOverlay .enter-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .logo-crest,
    .card,
    .member-item,
    .header-section,
    button,
    .enter-btn,
    .donate-trigger,
    .wallet-copy {
        transition: none !important;
    }
}


/* Current layout fixes — retain the older square dark-glass design without scroll/tap transitions. */
.glitch-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-size: clamp(1.55rem, 8.5vw, 5rem) !important;
    letter-spacing: clamp(0.01em, 0.5vw, 0.045em) !important;
    line-height: 1 !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

@media (max-width: 380px) {
    .glitch-title {
        font-size: clamp(1.4rem, 8.2vw, 1.9rem) !important;
        letter-spacing: 0.01em !important;
    }
}

/* Keep the theme switcher at the upper-left on desktop and mobile. */
.theme-toggle {
    position: fixed !important;
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    z-index: 100010 !important;
}
@media (max-width: 580px) {
    .theme-toggle {
        top: 10px !important;
        left: 10px !important;
        right: auto !important;
    }
}

/* All content panels stay visible in one simple vertical column. */
.container.focus-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    width: 100% !important;
}
.focus-stack > .card,
.focus-stack.has-focus > .card,
.focus-stack.has-focus > .card.is-focused,
.focus-stack.has-focus > .card:not(.is-focused) {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    order: initial !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 clamp(12px, 3vw, 24px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    pointer-events: auto !important;
}
.card,
.warning-box,
.alliance-footer-node,
.badge-footer {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
}
.card:hover,
.card.slide-in-active:hover,
.member-item:hover,
.warning-box:hover,
.wallet-row:hover,
.header-section:hover,
.logo-glow-container:hover .logo-crest {
    transform: none !important;
}

/* Keep the crisp, square-edged treatment consistent across panels and rows. */
.card,
.warning-box,
.member-item,
.wallet-row,
.donate-dialog,
.entry-shell,
.badge-footer {
    border-radius: 8px !important;
}
button,
.enter-btn,
.donate-trigger,
.wallet-copy,
.donate-close,
.jumpscare-close-btn,
.theme-toggle {
    border-radius: 5px !important;
}

/* The C-OAL link is gold, not red or purple. */
.alliance-footer-node a {
    color: #ffcc00 !important;
    text-decoration-color: rgba(255, 204, 0, 0.65) !important;
}
.alliance-footer-node a:hover {
    color: #ffe680 !important;
}
html[data-theme="light"] .alliance-footer-node a {
    color: #946900 !important;
    text-decoration-color: rgba(148, 105, 0, 0.55) !important;
}
html[data-theme="light"] .alliance-footer-node a:hover {
    color: #705000 !important;
}


/* =========================================================
   G.L.B.S — MusicWave-inspired cinematic landing style
   Preserve GLBS content, square cards, gold link and controls.
   ========================================================= */

:root {
    --mw-bg: #090713;
    --mw-panel: rgba(17, 15, 31, 0.94);
    --mw-panel-raised: rgba(24, 20, 42, 0.96);
    --mw-text: #f6f3ff;
    --mw-muted: #c0b9d6;
    --mw-purple: #b69aff;
    --mw-pink: #f0a0df;
    --mw-blue: #91c8ff;
}

/* Atmospheric, static background inspired by MusicWave's hero. */
html {
    background: var(--mw-bg) !important;
    scroll-behavior: auto !important;
    scrollbar-color: rgba(182, 154, 255, .48) var(--mw-bg) !important;
}
body {
    min-height: 100vh;
    padding: clamp(74px, 8vw, 104px) clamp(12px, 3.5vw, 52px) 58px !important;
    color: var(--mw-text) !important;
    background:
        radial-gradient(ellipse at 50% -7%, rgba(111, 68, 198, .30), transparent 36rem),
        radial-gradient(ellipse at 8% 29%, rgba(56, 80, 171, .15), transparent 31rem),
        radial-gradient(ellipse at 94% 54%, rgba(154, 63, 151, .12), transparent 34rem),
        linear-gradient(155deg, #090713 0%, #100d20 50%, #090812 100%) !important;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    scroll-behavior: auto !important;
}
body::before {
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    opacity: .24 !important;
    background-image:
        linear-gradient(rgba(205, 185, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(205, 185, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
}
body::after { display: none !important; }
.liquid-backdrop,
.liquid-splash,
.touch-ripple,
.crest-watermark { display: none !important; }

.header-section,
.donate-trigger,
.ad-slot,
.container {
    position: relative !important;
    z-index: 1 !important;
}

/* Hero: oversized clean wordmark, quiet emblem and a cinematic glow. */
.header-section {
    width: min(100%, 980px) !important;
    margin: 0 auto clamp(18px, 3vw, 28px) !important;
    padding: clamp(28px, 5.8vw, 58px) clamp(14px, 3vw, 28px) clamp(26px, 4vw, 44px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    border: 1px solid rgba(195, 171, 255, .18) !important;
    border-radius: 10px !important;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(127, 83, 220, .20), transparent 66%),
        linear-gradient(145deg, rgba(255,255,255,.045), transparent 45%),
        rgba(15, 12, 29, .82) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.075),
        0 24px 70px rgba(0,0,0,.28),
        0 0 55px rgba(119, 78, 209, .075) !important;
    -webkit-backdrop-filter: blur(10px) saturate(120%) !important;
    backdrop-filter: blur(10px) saturate(120%) !important;
    animation: none !important;
    transform: none !important;
}
.header-section::before {
    left: 8% !important;
    width: 84% !important;
    height: 1px !important;
    top: 0 !important;
    background: linear-gradient(90deg, transparent, rgba(190, 160, 255, .70), rgba(239, 156, 224, .56), transparent) !important;
    box-shadow: 0 0 18px rgba(170, 118, 255, .20) !important;
}
.header-section::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    opacity: .7 !important;
    background: radial-gradient(ellipse at 50% 100%, rgba(93, 99, 196, .10), transparent 55%) !important;
}
.logo-glow-container {
    width: clamp(86px, 12vw, 132px) !important;
    height: clamp(86px, 12vw, 132px) !important;
    margin: 0 auto 18px !important;
    isolation: isolate !important;
}
.logo-glow-container::before {
    background: radial-gradient(circle, rgba(156, 111, 255, .65), rgba(100, 98, 220, .22) 52%, transparent 75%) !important;
    filter: blur(25px) !important;
    opacity: .8 !important;
}
.logo-crest {
    border: 1px solid rgba(211, 195, 255, .32) !important;
    background: rgba(18, 15, 36, .82) !important;
    box-shadow: 0 0 0 5px rgba(183, 151, 255, .045), 0 10px 30px rgba(0,0,0,.30) !important;
}
.glitch-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    font-family: Inter, "Segoe UI", Arial, sans-serif !important;
    font-size: clamp(1.85rem, 9.5vw, 5.3rem) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: clamp(.015em, .48vw, .055em) !important;
    text-align: center !important;
    color: #fff !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(100deg, #ffffff 5%, #e9ddff 48%, #e9a9e5 95%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    text-shadow: 0 8px 34px rgba(172, 127, 255, .14) !important;
    filter: none !important;
    transform: none !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}
.glitch-subtitle {
    max-width: 100% !important;
    margin-top: 12px !important;
    padding: 0 5px !important;
    color: #d6c7ff !important;
    font-size: clamp(.68rem, 1.65vw, .91rem) !important;
    font-weight: 650 !important;
    letter-spacing: clamp(.10em, .38vw, .19em) !important;
    line-height: 1.55 !important;
    text-shadow: none !important;
}
.divider-line {
    width: min(260px, 62%) !important;
    height: 1px !important;
    margin: 22px auto 0 !important;
    background: linear-gradient(90deg, transparent, #a98aff, #eaa5df, transparent) !important;
    box-shadow: 0 0 16px rgba(174, 127, 255, .23) !important;
}

/* Main content: clear editorial hierarchy and tidy rectangular surfaces. */
.container {
    width: min(100%, 900px) !important;
    max-width: 900px !important;
    margin-inline: auto !important;
}
.card,
.warning-box,
.member-item,
.wallet-row,
.donate-dialog,
.entry-shell,
.badge-footer {
    border-radius: 8px !important;
}
.card {
    padding: clamp(20px, 3.5vw, 34px) !important;
    border: 1px solid rgba(194, 175, 239, .15) !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,.035), transparent 46%),
        linear-gradient(145deg, rgba(25, 21, 44, .98), rgba(16, 14, 31, .97)) !important;
    box-shadow: 0 14px 38px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.045) !important;
    overflow: hidden !important;
}
.card::before {
    inset: 0 0 auto 0 !important;
    height: 2px !important;
    opacity: .72 !important;
    border-radius: 0 !important;
    background: linear-gradient(90deg, transparent, rgba(173, 137, 255, .62), rgba(230, 151, 224, .38), transparent) !important;
    box-shadow: none !important;
}
.card::after { display: none !important; }
.card-title {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    margin: 0 0 17px !important;
    padding: 0 0 12px 0 !important;
    border-left: 0 !important;
    border-bottom: 1px solid rgba(194, 175, 239, .15) !important;
    color: #e8ddff !important;
    font-size: clamp(.98rem, 2.2vw, 1.2rem) !important;
    font-weight: 800 !important;
    letter-spacing: .075em !important;
    line-height: 1.35 !important;
}
.card-title i { color: #c1a7ff !important; filter: none !important; }
p {
    color: #c9c3d8 !important;
    font-size: clamp(.91rem, 1.5vw, 1.03rem) !important;
    line-height: 1.8 !important;
    text-align: left !important;
}
p strong { color: #fbf8ff !important; text-shadow: none !important; }
.members-list { gap: 9px !important; }
.member-item {
    min-width: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(194, 175, 239, .11) !important;
    background: rgba(28, 23, 47, .72) !important;
    box-shadow: none !important;
}
.member-number {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgba(183, 153, 255, .26) !important;
    border-radius: 5px !important;
    color: #e3d8ff !important;
    background: rgba(158, 122, 239, .14) !important;
}
.member-name { color: #f2edff !important; }
.member-role {
    border: 1px solid rgba(198, 179, 244, .14) !important;
    border-radius: 4px !important;
    padding: 4px 8px !important;
    color: #c5badc !important;
    background: rgba(255,255,255,.035) !important;
}
.member-icon { color: #bda5ff !important; filter: none !important; }

/* Caution section keeps its own warm gold accent. */
.warning-box {
    padding: clamp(16px, 3vw, 24px) !important;
    border: 1px solid rgba(255, 204, 0, .25) !important;
    background: linear-gradient(135deg, rgba(255,204,0,.045), transparent 55%), rgba(25, 21, 32, .94) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.18) !important;
}
.warning-box::before {
    width: 3px !important;
    background: linear-gradient(to bottom, #ffcf48, rgba(255,204,0,.14)) !important;
}
.glitch-alert-title { color: #ffcf62 !important; letter-spacing: .08em !important; }
.warning-text { color: #c7bdad !important; }
.warning-text strong { color: #fff0c9 !important; }
.share-prompt { color: #d7c5eb !important; border-top-color: rgba(191, 166, 235, .15) !important; }
.alliance-footer-node { color: #bfb5d2 !important; }
.alliance-footer-node a {
    color: #ffcc00 !important;
    text-decoration-color: rgba(255,204,0,.65) !important;
}
.alliance-footer-node a:hover { color: #ffe680 !important; }

/* Actions: crisp contrast with the same purple/pink highlight. */
.theme-toggle {
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    min-height: 42px !important;
    padding: 9px 13px !important;
    border: 1px solid rgba(194, 169, 255, .32) !important;
    border-radius: 5px !important;
    color: #e4d8ff !important;
    background: rgba(18, 14, 34, .94) !important;
    box-shadow: 0 7px 22px rgba(0,0,0,.24) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    backdrop-filter: blur(12px) !important;
}
.theme-toggle i { color: #c3a8ff !important; }
.theme-toggle:hover { transform: none !important; border-color: rgba(221, 194, 255, .62) !important; }
.donate-trigger.nowpayments-trigger {
    min-height: 58px !important;
    border: 1px solid rgba(202, 180, 255, .42) !important;
    border-radius: 7px !important;
    color: #171127 !important;
    background: linear-gradient(105deg, #e8dcff, #eeb9e8) !important;
    box-shadow: 0 10px 28px rgba(129, 84, 200, .18) !important;
    transition: none !important;
}
.donate-trigger.nowpayments-trigger:hover {
    color: #171127 !important;
    transform: none !important;
    background: linear-gradient(105deg, #f0e8ff, #f5c9ee) !important;
    box-shadow: 0 10px 28px rgba(129, 84, 200, .18) !important;
}
.nowpayments-icon {
    border-radius: 5px !important;
    color: #6e4ab7 !important;
    background: rgba(255,255,255,.38) !important;
    border-color: rgba(89, 56, 145, .18) !important;
}
.nowpayments-copy strong { color: #1d1630 !important; }
.nowpayments-copy small { color: #55446d !important; }
.nowpayments-copy small b { color: #6d47ad !important; }
.nowpayments-arrow { color: #6d47ad !important; }

/* Keep the simple vertical reading order, with no scroll/tap/hover motion. */
html, body { scroll-behavior: auto !important; }
.container.focus-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
}
.focus-stack > .card,
.focus-stack.has-focus > .card,
.focus-stack.has-focus > .card.is-focused,
.focus-stack.has-focus > .card:not(.is-focused) {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 clamp(12px, 3vw, 22px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    pointer-events: auto !important;
}
.card,
.warning-box,
.member-item,
.wallet-row,
.header-section,
.logo-crest,
.logo-glow-container::before,
button,
a,
.badge-footer {
    transition: none !important;
    animation: none !important;
}
.card:hover,
.member-item:hover,
.warning-box:hover,
.wallet-row:hover,
.header-section:hover,
.logo-glow-container:hover .logo-crest,
.theme-toggle:hover,
.donate-trigger.nowpayments-trigger:hover {
    transform: none !important;
    filter: none !important;
}

/* The matching light mode is deliberately redesigned, not simply inverted. */
html[data-theme="light"] {
    color-scheme: light !important;
    --mw-bg: #f5f2fb;
    --mw-panel: #ffffff;
    --mw-panel-raised: #ffffff;
}
html[data-theme="light"] body {
    color: #252039 !important;
    background:
        radial-gradient(ellipse at 50% -8%, rgba(186, 151, 255, .18), transparent 34rem),
        radial-gradient(ellipse at 92% 40%, rgba(238, 174, 224, .12), transparent 30rem),
        linear-gradient(155deg, #f8f6fc 0%, #f1eef8 100%) !important;
}
html[data-theme="light"] body::before {
    opacity: .20 !important;
    background-image:
        linear-gradient(rgba(94, 64, 145, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94, 64, 145, .045) 1px, transparent 1px) !important;
}
html[data-theme="light"] .header-section {
    border-color: rgba(112, 82, 164, .16) !important;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(190, 161, 255, .17), transparent 66%),
        linear-gradient(145deg, #fff, #f8f5ff) !important;
    box-shadow: 0 18px 50px rgba(62, 43, 92, .08) !important;
}
html[data-theme="light"] .glitch-title {
    color: #28213e !important;
    -webkit-text-fill-color: #28213e !important;
    background: none !important;
    text-shadow: none !important;
}
html[data-theme="light"] .glitch-subtitle { color: #775da5 !important; }
html[data-theme="light"] .logo-crest {
    border-color: rgba(122, 94, 173, .22) !important;
    background: #f1ebfa !important;
}
html[data-theme="light"] .card {
    border-color: rgba(93, 74, 126, .15) !important;
    background: linear-gradient(145deg, #fff, #fbfaff) !important;
    box-shadow: 0 12px 30px rgba(57, 42, 84, .065) !important;
}
html[data-theme="light"] .card-title {
    color: #3d3158 !important;
    border-bottom-color: rgba(105, 79, 153, .15) !important;
}
html[data-theme="light"] .card-title i { color: #8064b3 !important; }
html[data-theme="light"] p { color: #565064 !important; }
html[data-theme="light"] p strong { color: #28213e !important; }
html[data-theme="light"] .member-item {
    border-color: rgba(105, 79, 153, .13) !important;
    background: #f7f4fc !important;
}
html[data-theme="light"] .member-number {
    color: #654c91 !important;
    background: #eee7f8 !important;
    border-color: rgba(105, 79, 153, .18) !important;
}
html[data-theme="light"] .member-name { color: #29233d !important; }
html[data-theme="light"] .member-role {
    color: #685b7b !important;
    background: #fff !important;
}
html[data-theme="light"] .member-icon { color: #8165b4 !important; }
html[data-theme="light"] .warning-box {
    border-color: rgba(174, 126, 20, .22) !important;
    background: linear-gradient(135deg, rgba(255,204,0,.06), transparent 60%), #fffdf7 !important;
}
html[data-theme="light"] .glitch-alert-title { color: #8a6200 !important; }
html[data-theme="light"] .warning-text { color: #655a45 !important; }
html[data-theme="light"] .warning-text strong { color: #493913 !important; }
html[data-theme="light"] .share-prompt { color: #69587f !important; }
html[data-theme="light"] .alliance-footer-node { color: #655a75 !important; }
html[data-theme="light"] .alliance-footer-node a { color: #946900 !important; }
html[data-theme="light"] .theme-toggle {
    color: #4a3a66 !important;
    background: rgba(255,255,255,.96) !important;
    border-color: rgba(112, 82, 164, .25) !important;
    box-shadow: 0 6px 20px rgba(56, 40, 86, .09) !important;
}
html[data-theme="light"] .theme-toggle i { color: #8062b4 !important; }
html[data-theme="light"] .donate-trigger.nowpayments-trigger {
    color: #241b37 !important;
    background: linear-gradient(105deg, #e5d9fb, #f2d4ec) !important;
    border-color: rgba(119, 86, 166, .25) !important;
}
html[data-theme="light"] .nowpayments-copy strong { color: #241b37 !important; }
html[data-theme="light"] .nowpayments-copy small { color: #5c4d70 !important; }
html[data-theme="light"] .nowpayments-copy small b,
html[data-theme="light"] .nowpayments-arrow { color: #7757a9 !important; }
html[data-theme="light"] .ad-slot {
    border-color: rgba(105, 79, 153, .12) !important;
    background: rgba(255,255,255,.62) !important;
}
html[data-theme="light"] .ad-label { color: #75678b !important; }
html[data-theme="light"] .donate-dialog {
    color: #29233d !important;
    background: #fff !important;
    border-color: rgba(105, 79, 153, .20) !important;
}
html[data-theme="light"] .wallet-row {
    color: #29233d !important;
    background: #f8f5fc !important;
    border-color: rgba(105, 79, 153, .16) !important;
}
html[data-theme="light"] .wallet-address { color: #343047 !important; }
html[data-theme="light"] .donation-disclaimer {
    background: #fffaf0 !important;
    border-color: rgba(174, 126, 20, .24) !important;
}
html[data-theme="light"] .donation-disclaimer p { color: #655a45 !important; }
html[data-theme="light"] .donation-disclaimer p strong { color: #493913 !important; }
html[data-theme="light"] .donation-disclaimer .donation-legal-note { color: #765800 !important; }

@media (max-width: 580px) {
    body { padding: 70px 12px 38px !important; }
    .theme-toggle { top: 10px !important; left: 10px !important; right: auto !important; }
    .theme-toggle span { display: inline !important; }
    .header-section { padding: 27px 12px 26px !important; }
    .glitch-title { font-size: clamp(1.65rem, 9.5vw, 2.5rem) !important; letter-spacing: .015em !important; }
    .glitch-subtitle { letter-spacing: .10em !important; }
    .card { padding: 19px 16px !important; }
    .member-item { gap: 9px !important; }
    .donate-trigger.nowpayments-trigger { width: min(330px, calc(100% - 18px)) !important; }
}
@media (max-width: 360px) {
    .glitch-title { font-size: 1.55rem !important; letter-spacing: 0 !important; }
    .theme-toggle { padding: 8px 9px !important; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Interactive feedback: responsive glow and focus states without card movement. */
.logo-glow-container {
    cursor: pointer !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}
.logo-glow-container::before {
    background: radial-gradient(circle, rgba(156,111,255,.48), rgba(100,98,220,.14) 52%, transparent 75%) !important;
    opacity: .62 !important;
    transition: background .24s ease, opacity .24s ease, filter .24s ease, box-shadow .24s ease !important;
}
.logo-crest {
    transition: border-color .24s ease, box-shadow .24s ease, filter .24s ease !important;
}
.logo-glow-container:hover::before,
.logo-glow-container:focus-visible::before,
.logo-glow-container.is-pride-active::before {
    background: radial-gradient(circle, rgba(255,22,58,.78), rgba(190,0,42,.38) 48%, transparent 76%) !important;
    filter: blur(30px) !important;
    opacity: 1 !important;
}
.logo-glow-container:hover .logo-crest,
.logo-glow-container:focus-visible .logo-crest,
.logo-glow-container.is-pride-active .logo-crest {
    border-color: rgba(255,55,82,.98) !important;
    box-shadow:
        0 0 0 2px rgba(255,35,65,.16),
        0 0 18px rgba(255,25,55,.78),
        0 0 42px rgba(255,0,48,.54),
        0 0 72px rgba(255,0,48,.26) !important;
    filter: saturate(1.12) !important;
    transform: none !important;
}
.logo-glow-container:focus-visible {
    outline: 2px solid #ff536f !important;
    outline-offset: 7px !important;
    border-radius: 8px !important;
}

/* Site-wide micro-interactions: highlight, depth and clear pressed states. */
.card,
.member-item,
.warning-box,
.wallet-row,
.badge-footer,
.alliance-footer-node,
button,
a,
.theme-toggle,
.donate-trigger {
    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease,
        box-shadow .2s ease,
        opacity .2s ease,
        filter .2s ease !important;
}
.card:hover,
.card:focus-within {
    border-color: rgba(190,158,255,.42) !important;
    box-shadow:
        0 16px 42px rgba(0,0,0,.28),
        0 0 24px rgba(147,103,230,.10),
        inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.member-item:hover,
.member-item:focus-within {
    border-color: rgba(190,158,255,.48) !important;
    background: rgba(44,34,69,.88) !important;
    box-shadow: 0 0 18px rgba(155,112,235,.12) !important;
}
.warning-box:hover {
    border-color: rgba(255,204,0,.52) !important;
    box-shadow: 0 12px 34px rgba(0,0,0,.22), 0 0 20px rgba(255,196,0,.08) !important;
}
.wallet-row:hover,
.wallet-row:focus-within {
    border-color: rgba(190,158,255,.48) !important;
    background: rgba(37,29,58,.94) !important;
}
button:hover,
.theme-toggle:hover,
.donate-trigger:hover {
    border-color: rgba(222,195,255,.68) !important;
    filter: brightness(1.08) !important;
}
button:active,
.theme-toggle:active,
.donate-trigger:active {
    filter: brightness(.94) !important;
    box-shadow: inset 0 1px 5px rgba(0,0,0,.20) !important;
}
a:hover {
    text-shadow: 0 0 12px currentColor !important;
}
:focus-visible {
    outline: 2px solid rgba(190,158,255,.9) !important;
    outline-offset: 4px !important;
}
html[data-theme="light"] .card:hover,
html[data-theme="light"] .card:focus-within {
    border-color: rgba(127,91,184,.36) !important;
    box-shadow: 0 14px 34px rgba(68,47,101,.10), 0 0 18px rgba(139,104,196,.08) !important;
}
html[data-theme="light"] .member-item:hover,
html[data-theme="light"] .member-item:focus-within,
html[data-theme="light"] .wallet-row:hover,
html[data-theme="light"] .wallet-row:focus-within {
    border-color: rgba(127,91,184,.40) !important;
    background: #f0eafa !important;
}
html[data-theme="light"] .logo-glow-container:hover .logo-crest,
html[data-theme="light"] .logo-glow-container:focus-visible .logo-crest,
html[data-theme="light"] .logo-glow-container.is-pride-active .logo-crest {
    border-color: rgba(255,55,82,.98) !important;
    box-shadow: 0 0 0 2px rgba(255,35,65,.12), 0 0 18px rgba(255,25,55,.62), 0 0 48px rgba(255,0,48,.32) !important;
}
html[data-theme="light"] .logo-glow-container:hover::before,
html[data-theme="light"] .logo-glow-container:focus-visible::before,
html[data-theme="light"] .logo-glow-container.is-pride-active::before {
    background: radial-gradient(circle, rgba(255,22,58,.68), rgba(190,0,42,.26) 48%, transparent 76%) !important;
}
@media (prefers-reduced-motion: reduce) {
    .logo-glow-container::before,
    .logo-crest,
    .card,
    .member-item,
    .warning-box,
    .wallet-row,
    button,
    a {
        transition: none !important;
    }
}


/* Gentle scroll experience: smooth anchor scrolling and one-time section reveals. */
html {
    scroll-behavior: smooth !important;
}
.glbs-scroll-reveal {
    opacity: 1;
    transform: none;
}
html.glbs-scroll-reveal-enabled .glbs-scroll-reveal:not(.glbs-scroll-revealed) {
    opacity: 0 !important;
    transform: translate3d(0, 22px, 0) !important;
}
html.glbs-scroll-reveal-enabled .glbs-scroll-reveal.glbs-scroll-revealed {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    transition:
        opacity 700ms cubic-bezier(.22, .72, .22, 1),
        transform 700ms cubic-bezier(.22, .72, .22, 1) !important;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    html.glbs-scroll-reveal-enabled .glbs-scroll-reveal,
    html.glbs-scroll-reveal-enabled .glbs-scroll-reveal:not(.glbs-scroll-revealed),
    html.glbs-scroll-reveal-enabled .glbs-scroll-reveal.glbs-scroll-revealed {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* Strong shared red glow: hovering or activating either the crest or wordmark lights both. */
.header-section.pride-awakened .logo-glow-container::before,
.logo-glow-container:hover::before,
.logo-glow-container:focus-visible::before,
.logo-glow-container.is-pride-active::before {
    background: radial-gradient(circle, rgba(255, 0, 38, 1) 0%, rgba(255, 0, 38, .94) 25%, rgba(205, 0, 42, .62) 53%, transparent 79%) !important;
    filter: blur(46px) saturate(1.9) !important;
    opacity: 1 !important;
}
.header-section.pride-awakened .logo-crest,
.logo-glow-container:hover .logo-crest,
.logo-glow-container:focus-visible .logo-crest,
.logo-glow-container.is-pride-active .logo-crest {
    border-color: #ff244b !important;
    box-shadow:
        0 0 0 2px rgba(255, 18, 55, .38),
        0 0 22px rgba(255, 0, 42, .98),
        0 0 52px rgba(255, 0, 42, .84),
        0 0 96px rgba(255, 0, 42, .58),
        inset 0 0 15px rgba(255, 24, 65, .22) !important;
    filter: saturate(1.45) drop-shadow(0 0 13px rgba(255, 0, 42, .76)) !important;
    transform: none !important;
}
.glitch-title:hover,
.glitch-title:focus-visible,
.glitch-title.is-pride-active,
.header-section.pride-awakened .glitch-title {
    background: none !important;
    color: #ff173d !important;
    -webkit-text-fill-color: #ff173d !important;
    text-shadow:
        0 0 3px rgba(255, 115, 140, .95),
        0 0 9px rgba(255, 0, 38, 1),
        0 0 20px rgba(255, 0, 38, .98),
        0 0 42px rgba(255, 0, 38, .88),
        0 0 72px rgba(205, 0, 36, .72),
        0 0 104px rgba(170, 0, 28, .52) !important;
    filter:
        drop-shadow(0 0 11px rgba(255, 0, 42, .92))
        drop-shadow(0 0 30px rgba(255, 0, 42, .72)) !important;
    transform: none !important;
    cursor: pointer;
}
/* A hover on either part previews the same complete red-lit identity. */
.header-section:has(.logo-glow-container:hover) .glitch-title,
.header-section:has(.glitch-title:hover) .glitch-title {
    color: #ff173d !important;
    -webkit-text-fill-color: #ff173d !important;
}
.header-section:has(.glitch-title:hover) .logo-glow-container::before {
    background: radial-gradient(circle, rgba(255, 0, 38, 1) 0%, rgba(255, 0, 38, .94) 25%, rgba(205, 0, 42, .62) 53%, transparent 79%) !important;
    filter: blur(46px) saturate(1.9) !important;
    opacity: 1 !important;
}
.header-section:has(.glitch-title:hover) .logo-crest {
    border-color: #ff244b !important;
    box-shadow: 0 0 0 2px rgba(255,18,55,.38), 0 0 22px rgba(255,0,42,.98), 0 0 52px rgba(255,0,42,.84), 0 0 96px rgba(255,0,42,.58) !important;
    filter: saturate(1.45) drop-shadow(0 0 13px rgba(255,0,42,.76)) !important;
}
.header-section.pride-awakened .glitch-title:focus-visible,
.glitch-title:focus-visible {
    outline: 2px solid rgba(255, 48, 78, .95) !important;
    outline-offset: 7px !important;
    border-radius: 3px;
}





/* G.L.B.S liquid-crystal finish: layered refraction, polished rims and inner reflections. */
.card,
.warning-box,
.member-item,
.wallet-row,
.donate-dialog,
.entry-shell,
.ad-slot {
    position: relative;
    isolation: isolate;
    -webkit-backdrop-filter: blur(22px) saturate(190%) contrast(1.09) brightness(1.10) !important;
    backdrop-filter: blur(22px) saturate(190%) contrast(1.09) brightness(1.10) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        inset 1px 0 0 rgba(219,231,255,.10),
        inset -1px 0 0 rgba(180,196,255,.08),
        inset 0 -1px 0 rgba(124,164,255,.12),
        inset 0 0 28px rgba(169,190,255,.055),
        0 18px 42px rgba(0,0,0,.26) !important;
}
.card,
.member-item,
.wallet-row,
.donate-dialog,
.entry-shell,
.ad-slot {
    border-color: rgba(196,209,255,.24) !important;
    background:
        radial-gradient(ellipse 85% 58% at 9% 0%, rgba(193,224,255,.16), transparent 66%),
        radial-gradient(ellipse 70% 70% at 100% 100%, rgba(170,137,255,.10), transparent 70%),
        linear-gradient(132deg, rgba(255,255,255,.105), rgba(255,255,255,.018) 42%, rgba(126,154,227,.045) 72%, rgba(255,255,255,.055)),
        linear-gradient(145deg, rgba(27,35,63,.78), rgba(16,19,42,.72)) !important;
}
.warning-box {
    border-color: rgba(255,214,132,.32) !important;
    background:
        radial-gradient(ellipse 85% 58% at 9% 0%, rgba(255,235,185,.15), transparent 66%),
        radial-gradient(ellipse 70% 70% at 100% 100%, rgba(181,154,255,.08), transparent 70%),
        linear-gradient(132deg, rgba(255,255,255,.095), rgba(255,255,255,.015) 44%, rgba(255,204,0,.025)),
        linear-gradient(145deg, rgba(37,32,45,.78), rgba(24,21,37,.78)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.26),
        inset 1px 0 0 rgba(255,235,190,.11),
        inset 0 -1px 0 rgba(255,204,100,.12),
        inset 0 0 28px rgba(255,220,150,.045),
        0 18px 42px rgba(0,0,0,.24) !important;
}

/* A glossy upper reflection and a faint prismatic wash sit ABOVE the glass, below text. */
.card::before {
    z-index: 0 !important;
    height: 1px !important;
    opacity: .9 !important;
    background: linear-gradient(90deg, transparent, rgba(245,250,255,.82) 18%, rgba(165,216,255,.44) 45%, rgba(208,169,255,.38) 74%, transparent) !important;
    box-shadow: 0 0 15px rgba(166,207,255,.20) !important;
}
.card::after,
.warning-box::after,
.member-item::after,
.wallet-row::after,
.donate-dialog::after,
.entry-shell::after,
.ad-slot::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(ellipse 72% 34% at 12% 0%, rgba(255,255,255,.16), transparent 72%),
        linear-gradient(118deg, rgba(255,255,255,.075) 0%, transparent 24%, transparent 66%, rgba(193,173,255,.055) 100%),
        linear-gradient(180deg, rgba(255,255,255,.045), transparent 35%, rgba(116,158,255,.025));
    opacity: .88;
}
.card > *,
.warning-box > *,
.member-item > *,
.wallet-row > *,
.donate-dialog > *,
.entry-shell > *,
.ad-slot > * {
    position: relative;
    z-index: 1;
}
.member-item {
    border-radius: 9px !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.25),
        inset 0 -1px 0 rgba(151,177,255,.10),
        0 8px 22px rgba(0,0,0,.16) !important;
}
.wallet-row {
    border-radius: 9px !important;
}
.card:hover,
.member-item:hover,
.wallet-row:hover,
.warning-box:hover {
    border-color: rgba(211,226,255,.44) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.34),
        inset 0 0 34px rgba(173,197,255,.09),
        0 18px 44px rgba(0,0,0,.28),
        0 0 22px rgba(139,175,255,.09) !important;
}


/* Normal-flow top utility bar: controls never float over the jumpscare close button. */
.top-utility-bar {
    position: relative !important;
    z-index: 3 !important;
    width: min(100%, 1180px) !important;
    margin: 0 auto clamp(18px, 2.4vw, 30px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
}
.top-utility-bar > .theme-toggle,
.top-utility-bar > .donate-trigger.nowpayments-trigger {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 2 !important;
    margin: 0 !important;
    flex: 0 0 auto !important;
}
.top-utility-bar > .theme-toggle {
    min-height: 42px !important;
    padding: 9px 13px !important;
}
.top-utility-bar > .donate-trigger.nowpayments-trigger {
    width: auto !important;
    max-width: min(290px, 55vw) !important;
    min-height: 42px !important;
    padding: 8px 13px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    border: 1px solid rgba(214,222,255,.46) !important;
    border-radius: 7px !important;
    color: #f2ecff !important;
    background:
        radial-gradient(ellipse 100% 100% at 10% 0%, rgba(255,255,255,.30), transparent 72%),
        linear-gradient(135deg, rgba(215,225,255,.19), rgba(173,147,255,.14) 52%, rgba(255,255,255,.07)),
        rgba(25,24,48,.72) !important;
    -webkit-backdrop-filter: blur(18px) saturate(190%) contrast(1.1) !important;
    backdrop-filter: blur(18px) saturate(190%) contrast(1.1) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.38),
        inset 0 -1px 0 rgba(190,200,255,.16),
        0 10px 28px rgba(0,0,0,.24),
        0 0 18px rgba(168,144,255,.10) !important;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease !important;
}
.top-utility-bar > .donate-trigger.nowpayments-trigger:hover {
    transform: none !important;
    border-color: rgba(238,230,255,.72) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.48),
        0 12px 30px rgba(0,0,0,.28),
        0 0 24px rgba(175,145,255,.18) !important;
}
.top-utility-bar .nowpayments-copy strong { color: #fff !important; }
.top-utility-bar .nowpayments-copy small { color: #d9d2ed !important; }
.top-utility-bar .nowpayments-copy small b,
.top-utility-bar .nowpayments-arrow { color: #c3b1ff !important; }

/* Crystal background: luminous geometry, fine grid lines and layered blue/violet light. */
body {
    background:
        radial-gradient(ellipse at 12% 8%, rgba(34,151,255,.22), transparent 34rem),
        radial-gradient(ellipse at 88% 19%, rgba(152,102,255,.22), transparent 33rem),
        radial-gradient(ellipse at 55% 85%, rgba(40,190,208,.13), transparent 38rem),
        linear-gradient(145deg, #070d1d 0%, #10152d 48%, #080d1c 100%) !important;
}
body::before {
    display: block !important;
    opacity: .46 !important;
    background-image:
        linear-gradient(rgba(173,207,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(173,207,255,.055) 1px, transparent 1px),
        radial-gradient(circle at 1px 1px, rgba(225,238,255,.13) .7px, transparent 1px),
        repeating-linear-gradient(135deg, transparent 0 90px, rgba(156,189,255,.025) 91px 92px, transparent 93px 180px) !important;
    background-size: 64px 64px, 64px 64px, 6px 6px, 100% 100% !important;
    mask-image: radial-gradient(ellipse at 50% 20%, #000 15%, rgba(0,0,0,.78) 68%, transparent 100%) !important;
}
body::after {
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    opacity: .82 !important;
    background:
        radial-gradient(ellipse 38rem 23rem at 8% 34%, rgba(42,166,255,.13), transparent 74%),
        radial-gradient(ellipse 34rem 28rem at 91% 55%, rgba(160,105,255,.13), transparent 73%),
        radial-gradient(ellipse 42rem 22rem at 46% 100%, rgba(57,189,211,.10), transparent 72%),
        linear-gradient(115deg, transparent 12%, rgba(153,190,255,.025) 35%, transparent 60%, rgba(188,153,255,.025) 85%, transparent) !important;
}
.top-utility-bar,
.header-section,
.ad-slot,
.container,
#jumpscareOverlay { position: relative; z-index: 2; }
#jumpscareOverlay { position: fixed !important; z-index: 99999 !important; }

/* Crystal-filter definition is applied to the backdrop, never the foreground text. */
.crystal-filter-defs {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* High-transmission crystal surfaces with real backdrop refraction and layered polished rims. */
.card,
.warning-box,
.member-item,
.wallet-row,
.donate-dialog,
.entry-shell {
    position: relative !important;
    isolation: isolate !important;
    border: 1px solid rgba(199,218,255,.30) !important;
    background:
        radial-gradient(ellipse 90% 60% at 10% 0%, rgba(212,235,255,.20), transparent 67%),
        radial-gradient(ellipse 75% 72% at 100% 100%, rgba(166,132,255,.13), transparent 72%),
        linear-gradient(132deg, rgba(255,255,255,.12), rgba(255,255,255,.025) 44%, rgba(133,170,255,.055) 76%, rgba(255,255,255,.075)),
        rgba(18,25,49,.53) !important;
    -webkit-backdrop-filter: blur(24px) saturate(205%) contrast(1.13) brightness(1.10) !important;
    backdrop-filter: blur(24px) saturate(205%) contrast(1.13) brightness(1.10) !important;
    /* Where supported, this adds a subtle real displacement/refraction to the backdrop. */
    -webkit-backdrop-filter: url(#glbs-crystal-refraction) blur(24px) saturate(205%) contrast(1.13) brightness(1.10) !important;
    backdrop-filter: url(#glbs-crystal-refraction) blur(24px) saturate(205%) contrast(1.13) brightness(1.10);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.42),
        inset 1px 0 0 rgba(211,229,255,.18),
        inset -1px 0 0 rgba(177,189,255,.12),
        inset 0 -1px 0 rgba(142,177,255,.18),
        inset 0 0 35px rgba(159,192,255,.075),
        0 18px 46px rgba(0,0,0,.27),
        0 0 24px rgba(102,158,255,.055) !important;
    overflow: hidden;
    transform-origin: center center;
    transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease, background .24s ease !important;
}
.card::before {
    z-index: 2 !important;
    opacity: .96 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(249,253,255,.92) 16%, rgba(134,214,255,.66) 48%, rgba(204,165,255,.58) 78%, transparent) !important;
    box-shadow: 0 0 15px rgba(139,197,255,.35) !important;
}
.card::after,
.warning-box::after,
.member-item::after,
.wallet-row::after,
.donate-dialog::after,
.entry-shell::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    opacity: .94 !important;
    background:
        radial-gradient(290px circle at var(--glass-x, 48%) var(--glass-y, 20%), rgba(237,249,255,.30), rgba(123,198,255,.13) 23%, rgba(169,135,255,.09) 43%, transparent 72%),
        linear-gradient(118deg, rgba(255,255,255,.12), transparent 26%, transparent 65%, rgba(185,160,255,.09)),
        linear-gradient(180deg, rgba(255,255,255,.08), transparent 34%, rgba(104,168,255,.055)) !important;
    mix-blend-mode: screen;
}
.card > *,
.warning-box > *,
.member-item > *,
.wallet-row > *,
.donate-dialog > *,
.entry-shell > * {
    position: relative;
    z-index: 3;
}
.member-item,
.wallet-row {
    border-radius: 9px !important;
    background:
        radial-gradient(ellipse 90% 60% at 10% 0%, rgba(215,237,255,.18), transparent 68%),
        linear-gradient(132deg, rgba(255,255,255,.105), rgba(255,255,255,.018) 48%, rgba(168,147,255,.09)),
        rgba(20,28,54,.50) !important;
}
.warning-box {
    border-color: rgba(255,221,155,.38) !important;
    background:
        radial-gradient(ellipse 90% 60% at 10% 0%, rgba(255,241,209,.20), transparent 68%),
        radial-gradient(ellipse 70% 65% at 100% 100%, rgba(182,154,255,.10), transparent 70%),
        linear-gradient(132deg, rgba(255,255,255,.10), rgba(255,255,255,.02)),
        rgba(37,31,43,.58) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.39),
        inset 1px 0 0 rgba(255,231,189,.15),
        inset 0 -1px 0 rgba(255,209,126,.16),
        0 18px 42px rgba(0,0,0,.24) !important;
}
.warning-box::before { z-index: 2 !important; }
.card-title,
.warning-box h3,
.warning-box p,
.member-item > *,
.wallet-row > * { text-shadow: 0 1px 1px rgba(0,0,0,.16); }

/* Pointer-positioned specular lens: the highlight follows the pointer across each crystal. */
.card.glass-lens-active,
.warning-box.glass-lens-active,
.member-item.glass-lens-active,
.wallet-row.glass-lens-active {
    border-color: rgba(220,238,255,.58) !important;
    transform: perspective(1100px) scale(1.018) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.60),
        inset 0 0 42px rgba(177,211,255,.13),
        0 22px 54px rgba(0,0,0,.32),
        0 0 30px rgba(117,180,255,.13) !important;
}
.card:hover,
.card:focus-within,
.warning-box:hover,
.warning-box:focus-within,
.member-item:hover,
.member-item:focus-within,
.wallet-row:hover,
.wallet-row:focus-within {
    border-color: rgba(220,238,255,.55) !important;
    transform: perspective(1100px) scale(1.018) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.54),
        inset 0 0 36px rgba(177,211,255,.12),
        0 20px 48px rgba(0,0,0,.30),
        0 0 26px rgba(117,180,255,.11) !important;
}
@media (hover: none) {
    .card.glass-lens-active,
    .warning-box.glass-lens-active,
    .member-item.glass-lens-active,
    .wallet-row.glass-lens-active {
        transform: none !important;
    }
}

/* Light mode: transparent pearl glass, strong lilac/blue refraction, dark readable text. */
html[data-theme="light"] body {
    background:
        radial-gradient(ellipse at 12% 10%, rgba(98,189,255,.25), transparent 34rem),
        radial-gradient(ellipse at 90% 16%, rgba(186,138,255,.24), transparent 34rem),
        radial-gradient(ellipse at 50% 90%, rgba(113,218,221,.20), transparent 38rem),
        linear-gradient(145deg, #edf5ff 0%, #f4f0ff 48%, #eaf4fb 100%) !important;
}
html[data-theme="light"] body::before {
    opacity: .68 !important;
    background-image:
        linear-gradient(rgba(95,127,175,.105) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95,127,175,.105) 1px, transparent 1px),
        radial-gradient(circle at 1px 1px, rgba(91,115,163,.20) .7px, transparent 1px),
        repeating-linear-gradient(135deg, transparent 0 90px, rgba(132,112,196,.045) 91px 92px, transparent 93px 180px) !important;
}
html[data-theme="light"] body::after {
    opacity: .9 !important;
    background:
        radial-gradient(ellipse 38rem 23rem at 8% 34%, rgba(68,171,255,.17), transparent 74%),
        radial-gradient(ellipse 34rem 28rem at 91% 55%, rgba(176,127,255,.17), transparent 73%),
        radial-gradient(ellipse 42rem 22rem at 46% 100%, rgba(44,188,197,.13), transparent 72%) !important;
    mix-blend-mode: multiply !important;
}
html[data-theme="light"] .card,
html[data-theme="light"] .member-item,
html[data-theme="light"] .wallet-row,
html[data-theme="light"] .donate-dialog,
html[data-theme="light"] .entry-shell {
    border-color: rgba(107,130,179,.30) !important;
    background:
        radial-gradient(ellipse 92% 64% at 10% 0%, rgba(255,255,255,.84), transparent 68%),
        radial-gradient(ellipse 72% 68% at 100% 100%, rgba(178,155,255,.22), transparent 72%),
        linear-gradient(132deg, rgba(255,255,255,.72), rgba(255,255,255,.30) 47%, rgba(205,225,255,.30)),
        rgba(237,244,255,.48) !important;
    -webkit-backdrop-filter: blur(24px) saturate(195%) contrast(1.10) brightness(1.04) !important;
    backdrop-filter: blur(24px) saturate(195%) contrast(1.10) brightness(1.04) !important;
    -webkit-backdrop-filter: url(#glbs-crystal-refraction) blur(24px) saturate(195%) contrast(1.10) brightness(1.04) !important;
    backdrop-filter: url(#glbs-crystal-refraction) blur(24px) saturate(195%) contrast(1.10) brightness(1.04) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.98),
        inset 1px 0 0 rgba(255,255,255,.78),
        inset -1px 0 0 rgba(167,183,223,.24),
        inset 0 -1px 0 rgba(122,148,190,.17),
        inset 0 0 34px rgba(255,255,255,.34),
        0 18px 42px rgba(74,93,134,.13) !important;
}
html[data-theme="light"] .warning-box {
    border-color: rgba(170,131,43,.31) !important;
    background:
        radial-gradient(ellipse 92% 64% at 10% 0%, rgba(255,255,255,.92), transparent 68%),
        radial-gradient(ellipse 72% 68% at 100% 100%, rgba(186,168,255,.15), transparent 72%),
        linear-gradient(132deg, rgba(255,255,255,.76), rgba(255,248,224,.50)),
        rgba(255,250,235,.58) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.98),
        inset 1px 0 0 rgba(255,255,255,.78),
        inset 0 -1px 0 rgba(211,174,101,.22),
        0 18px 40px rgba(104,81,43,.12) !important;
}
html[data-theme="light"] .card::after,
html[data-theme="light"] .warning-box::after,
html[data-theme="light"] .member-item::after,
html[data-theme="light"] .wallet-row::after,
html[data-theme="light"] .donate-dialog::after,
html[data-theme="light"] .entry-shell::after {
    background:
        radial-gradient(290px circle at var(--glass-x, 48%) var(--glass-y, 20%), rgba(255,255,255,.76), rgba(120,190,255,.17) 25%, rgba(179,148,255,.13) 47%, transparent 74%),
        linear-gradient(118deg, rgba(255,255,255,.30), transparent 30%, transparent 65%, rgba(173,153,231,.10)),
        linear-gradient(180deg, rgba(255,255,255,.24), transparent 34%, rgba(117,166,228,.08)) !important;
    mix-blend-mode: screen !important;
}
html[data-theme="light"] .card > *,
html[data-theme="light"] .warning-box > *,
html[data-theme="light"] .member-item > *,
html[data-theme="light"] .wallet-row > * { text-shadow: none !important; }
html[data-theme="light"] .card:hover,
html[data-theme="light"] .warning-box:hover,
html[data-theme="light"] .member-item:hover,
html[data-theme="light"] .wallet-row:hover,
html[data-theme="light"] .card.glass-lens-active,
html[data-theme="light"] .warning-box.glass-lens-active,
html[data-theme="light"] .member-item.glass-lens-active,
html[data-theme="light"] .wallet-row.glass-lens-active {
    border-color: rgba(104,134,194,.48) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 0 38px rgba(117,164,238,.16),
        0 22px 48px rgba(66,86,130,.16),
        0 0 28px rgba(108,154,229,.13) !important;
}
html[data-theme="light"] .warning-text { color: #665b47 !important; }
html[data-theme="light"] .warning-text strong { color: #40331d !important; }
html[data-theme="light"] .glitch-alert-title { color: #806000 !important; }

/* Top utility controls stay in the same document-flow row on phones and desktops. */
@media (max-width: 580px) {
    .top-utility-bar {
        width: 100% !important;
        gap: 8px !important;
        margin-bottom: 18px !important;
    }
    .top-utility-bar > .theme-toggle {
        min-height: 39px !important;
        padding: 8px 10px !important;
        max-width: 47% !important;
    }
    .top-utility-bar > .donate-trigger.nowpayments-trigger {
        min-height: 39px !important;
        max-width: 53% !important;
        padding: 7px 9px !important;
        gap: 7px !important;
    }
    .top-utility-bar .nowpayments-copy strong {
        font-size: .76rem !important;
        white-space: nowrap !important;
    }
    .top-utility-bar .nowpayments-copy small,
    .top-utility-bar .nowpayments-arrow { display: none !important; }
    .top-utility-bar .nowpayments-icon {
        width: 25px !important;
        height: 25px !important;
        flex: 0 0 25px !important;
    }
    .card,
    .warning-box,
    .member-item,
    .wallet-row,
    .donate-dialog,
    .entry-shell {
        -webkit-backdrop-filter: blur(17px) saturate(190%) contrast(1.10) brightness(1.08) !important;
        backdrop-filter: blur(17px) saturate(190%) contrast(1.10) brightness(1.08) !important;
    }
}
@media (max-width: 360px) {
    .top-utility-bar { gap: 6px !important; }
    .top-utility-bar > .theme-toggle { padding-inline: 7px !important; }
    .top-utility-bar > .donate-trigger.nowpayments-trigger { padding-inline: 7px !important; }
    .top-utility-bar .nowpayments-copy strong { font-size: .70rem !important; }
}

/* Respect reduced transparency with a solid fallback while preserving readable contrast. */
@media (prefers-reduced-transparency: reduce) {
    .card, .warning-box, .member-item, .wallet-row, .donate-dialog, .entry-shell {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }
    .card, .member-item, .wallet-row, .donate-dialog, .entry-shell {
        background: rgba(25,29,48,.97) !important;
    }
    .warning-box { background: rgba(35,30,39,.98) !important; }
    html[data-theme="light"] .card,
    html[data-theme="light"] .member-item,
    html[data-theme="light"] .wallet-row,
    html[data-theme="light"] .donate-dialog,
    html[data-theme="light"] .entry-shell {
        background: rgba(250,248,255,.98) !important;
    }
}

/* Remove the old mobile/desktop utility offsets which were only for fixed controls. */


/* ===== Official ShaderGradient water background for the G.L.B.S hero ===== */
.header-section {
    position: relative !important;
    isolation: isolate !important;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 145, 181, .10), transparent 66%),
        linear-gradient(145deg, rgba(255,255,255,.035), transparent 45%),
        rgba(5, 13, 25, .54) !important;
    -webkit-backdrop-filter: blur(8px) saturate(125%) !important;
    backdrop-filter: blur(8px) saturate(125%) !important;
}
.shader-gradient-host {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden !important;
    border-radius: inherit !important;
    pointer-events: none !important;
    opacity: .94;
    background:
        radial-gradient(ellipse 80% 75% at 72% 14%, rgba(0, 174, 205, .34), transparent 72%),
        radial-gradient(ellipse 75% 90% at 15% 88%, rgba(19, 94, 161, .42), transparent 70%),
        radial-gradient(ellipse 48% 62% at 51% 48%, rgba(22, 133, 160, .22), transparent 74%),
        linear-gradient(135deg, #06172b 0%, #07334a 52%, #07182d 100%);
}
.shader-gradient-host > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.shader-gradient-host canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
}
.shader-gradient-host[data-shadergradient="loading"],
.shader-gradient-host[data-shadergradient="fallback"] {
    background-size: 165% 165%, 155% 155%, 150% 150%, 100% 100%;
    animation: glbs-shader-fallback-drift 16s ease-in-out infinite alternate;
}
.shader-gradient-host[data-shadergradient="active"] { animation: none; }
.shader-gradient-host[data-shadergradient="active"] canvas { opacity: 1; }
.shader-gradient-host[data-shadergradient="fallback"] canvas { opacity: 0; }
.shader-gradient-host::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 10, 24, .18), transparent 48%, rgba(3, 10, 24, .20)),
        linear-gradient(180deg, rgba(3, 12, 24, .02), rgba(3, 12, 24, .24));
}
@keyframes glbs-shader-fallback-drift {
    0% {
        background-position: 0% 12%, 100% 88%, 42% 30%, 0 0;
        filter: saturate(1);
    }
    50% {
        background-position: 82% 58%, 8% 18%, 80% 82%, 0 0;
        filter: saturate(1.18);
    }
    100% {
        background-position: 14% 100%, 91% 8%, 18% 12%, 0 0;
        filter: saturate(1.08);
    }
}
.header-section > * { position: relative; z-index: 1; }
.header-section > .shader-gradient-host {
    position: absolute !important;
    z-index: 0 !important;
}

/* Let the liquid color remain visible through the light-mode pearl-glass hero. */
html[data-theme="light"] .header-section {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(113, 190, 235, .18), transparent 66%),
        linear-gradient(145deg, rgba(255,255,255,.76), rgba(248,245,255,.68)) !important;
}
html[data-theme="light"] .shader-gradient-host {
    opacity: .68;
    filter: saturate(.82) brightness(1.42);
}
html[data-theme="light"] .shader-gradient-host::after {
    background:
        linear-gradient(90deg, rgba(240,248,255,.14), transparent 48%, rgba(238,246,255,.16)),
        linear-gradient(180deg, rgba(245,250,255,.05), rgba(238,247,255,.20));
}
html[data-theme="light"] .shader-gradient-host[data-shadergradient="loading"],
html[data-theme="light"] .shader-gradient-host[data-shadergradient="fallback"] {
    background:
        radial-gradient(ellipse 80% 75% at 72% 14%, rgba(0, 157, 190, .34), transparent 72%),
        radial-gradient(ellipse 75% 90% at 15% 88%, rgba(67, 133, 204, .30), transparent 70%),
        radial-gradient(ellipse 48% 62% at 51% 48%, rgba(35, 162, 181, .22), transparent 74%),
        linear-gradient(135deg, #dceef7 0%, #d4eaf3 52%, #e5eafa 100%);
    background-size: 165% 165%, 155% 155%, 150% 150%, 100% 100%;
}
@media (max-width: 760px) {
    .shader-gradient-host { opacity: .88; }
    html[data-theme="light"] .shader-gradient-host { opacity: .62; }
}
@media (prefers-reduced-motion: reduce) {
    .shader-gradient-host[data-shadergradient="loading"],
    .shader-gradient-host[data-shadergradient="fallback"] { animation: none; }
}

/* OpenGlass UI 0.5.1 — visual material layer only.
   Existing GLBS cards, content, spacing, focus and pointer interactions stay intact. */
.glbs-ogui-surface-host {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none !important;
}

.glbs-ogui-surface-host > * {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
}

.glbs-open-glass-surface {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    border: 1px solid var(--ogui-hairline, rgba(191, 209, 255, .22)) !important;
    border-radius: inherit !important;
    color: transparent !important;
    pointer-events: none !important;
    background:
        radial-gradient(
            420px circle at var(--glass-x, 50%) var(--glass-y, 0%),
            rgba(115, 190, 246, .12),
            transparent 72%
        ),
        linear-gradient(145deg, rgba(255, 255, 255, .105), rgba(255, 255, 255, .012) 50%),
        rgba(17, 37, 66, .10) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .20),
        inset 0 -1px 0 rgba(180, 201, 255, .055),
        0 0 22px rgba(87, 153, 215, .055) !important;
    -webkit-backdrop-filter: blur(3px) saturate(165%) contrast(1.045);
    backdrop-filter: blur(3px) saturate(165%) contrast(1.045);
}

.card:hover .glbs-open-glass-surface,
.card:focus-visible .glbs-open-glass-surface {
    border-color: rgba(177, 218, 250, .34) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .24),
        inset 0 0 24px rgba(171, 207, 247, .045),
        0 0 26px rgba(87, 153, 215, .09) !important;
}

html[data-theme="light"] .glbs-open-glass-surface {
    border-color: rgba(62, 126, 155, .22) !important;
    background:
        radial-gradient(
            420px circle at var(--glass-x, 50%) var(--glass-y, 0%),
            rgba(68, 157, 195, .10),
            transparent 72%
        ),
        linear-gradient(145deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .12) 50%),
        rgba(238, 249, 253, .08) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .86),
        inset 0 -1px 0 rgba(68, 130, 156, .045),
        0 0 18px rgba(62, 143, 173, .045) !important;
    -webkit-backdrop-filter: blur(3px) saturate(150%) contrast(1.025);
    backdrop-filter: blur(3px) saturate(150%) contrast(1.025);
}

@media (prefers-reduced-transparency: reduce) {
    .glbs-open-glass-surface {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        background: transparent !important;
    }
}

@media (forced-colors: active) {
    .glbs-ogui-surface-host {
        display: none !important;
    }
}


/* Dark theme refinement: softer crystal reflections with clearer card typography. */
html[data-theme="dark"] .container.focus-stack > .card {
    background:
        radial-gradient(ellipse 90% 60% at 10% 0%, rgba(212,235,255,.13), transparent 67%),
        radial-gradient(ellipse 75% 72% at 100% 100%, rgba(166,132,255,.085), transparent 72%),
        linear-gradient(132deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 44%, rgba(133,170,255,.04) 76%, rgba(255,255,255,.045)),
        rgba(14,22,42,.62) !important;
    -webkit-backdrop-filter: url(#glbs-crystal-refraction) blur(22px) saturate(170%) contrast(1.08) brightness(.97) !important;
    backdrop-filter: url(#glbs-crystal-refraction) blur(22px) saturate(170%) contrast(1.08) brightness(.97) !important;
}

html[data-theme="dark"] .container.focus-stack > .card::before {
    opacity: .68 !important;
    background: linear-gradient(90deg, transparent, rgba(249,253,255,.62) 16%, rgba(134,214,255,.42) 48%, rgba(204,165,255,.34) 78%, transparent) !important;
    box-shadow: 0 0 10px rgba(139,197,255,.22) !important;
}

html[data-theme="dark"] .container.focus-stack > .card::after {
    opacity: .58 !important;
    background:
        radial-gradient(290px circle at var(--glass-x, 48%) var(--glass-y, 20%), rgba(237,249,255,.18), rgba(123,198,255,.085) 23%, rgba(169,135,255,.06) 43%, transparent 72%),
        linear-gradient(118deg, rgba(255,255,255,.065), transparent 26%, transparent 65%, rgba(185,160,255,.055)),
        linear-gradient(180deg, rgba(255,255,255,.045), transparent 34%, rgba(104,168,255,.035)) !important;
}

html[data-theme="dark"] .container.focus-stack > .card .card-title {
    color: #f3f7ff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.68) !important;
}

html[data-theme="dark"] .container.focus-stack > .card p {
    color: #dce8f8 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.62) !important;
}

html[data-theme="dark"] .container.focus-stack > .card p strong,
html[data-theme="dark"] .container.focus-stack > .card .member-name {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.68) !important;
}

html[data-theme="dark"] .container.focus-stack > .card .member-role {
    color: #cbd9ed !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.60) !important;
}

html[data-theme="dark"] .container.focus-stack > .card .glbs-open-glass-surface {
    border-color: rgba(191,209,255,.15) !important;
    background:
        radial-gradient(420px circle at var(--glass-x, 50%) var(--glass-y, 0%), rgba(115,190,246,.065), transparent 72%),
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.008) 50%),
        rgba(17,37,66,.055) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        inset 0 -1px 0 rgba(180,201,255,.035),
        0 0 16px rgba(87,153,215,.035) !important;
    -webkit-backdrop-filter: blur(2px) saturate(145%) contrast(1.02) !important;
    backdrop-filter: blur(2px) saturate(145%) contrast(1.02) !important;
}

html[data-theme="dark"] .container.focus-stack > .card:hover .glbs-open-glass-surface,
html[data-theme="dark"] .container.focus-stack > .card:focus-visible .glbs-open-glass-surface {
    border-color: rgba(177,218,250,.24) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.16),
        inset 0 0 20px rgba(171,207,247,.03),
        0 0 20px rgba(87,153,215,.06) !important;
}
