/* ==========================================================================
   1. GLOBAL RESET & BODY BASE RULES
   ========================================================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #05070d;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: #7ab8ff;
    text-decoration: none;
}

a:hover {
    color: #dddddd;
}

/* ==========================================================================
   2. MASTER GLOBAL WRAPPER
   ========================================================================== */
.global-layout-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 18px;
    width: 100%;
}

/* ==========================================================================
   3. CONTENT CARD PANELS
   ========================================================================== */
.content-panel-card {
    background: #111827;
    border: 1px solid #263244;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    width: 100%;
}

.content-panel-header h1 {
    margin: 0;
    font-size: 48px;
    line-height: 1.1;
}

/* ==========================================================================
   4. BRANDING & BRAND HEADER PANELS
   ========================================================================== */
.logo-header-panel {
    background: #05070d;
    padding: 12px 0 4px 0;
    text-align: left;
    width: 100%;
}

.logo-header-panel .logo {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    display: block;
}

.logo-header-panel .build-version {
    font-size: 9px;
    line-height: 1.1;
    letter-spacing: 0.04em;
    opacity: 0.65;
    margin: 0 0 3px 2px;
    white-space: nowrap;
}

.ad-banner-728x90 {
    max-width: 728px;
    width: 100%;
    height: 90px;
    margin: 0 auto 24px auto;
    background: #121620;
    border: 1px dashed #1f2638;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
}

.ad-placeholder-text {
    color: #7ab8ff;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* ==========================================================================
   5. NAVIGATION STYLES (Unified Single-Row Flex Layout)
   ========================================================================== */








.account-nav-right {
    text-align: right;
    color: white;
}

.account-nav-right a {
    color: #7ab8ff;
    font-weight: bold;
}

.welcome-user {
    color: #dddddd;
    font-size: 16px;
    font-weight: normal;
}

/* ==========================================================================
   6. INTERFACE COMPONENT POLISH
   ========================================================================== */
.auth-link {
    background: #1f2638;
    color: #7ab8ff !important;
    font-size: 0.9rem !important;
    font-weight: bold;
    padding: 6px 14px;
    border: 1px solid #7ab8ff;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    margin-left: 4px;
}

.auth-link:hover {
    background: #7ab8ff;
    color: #05070d !important;
    cursor: pointer;
    box-shadow: 0 0 8px rgba(122, 184, 255, 0.4);
}

/* ==========================================================================
   MUSICIAN & ENTITY PROFILE COMPONENT STYLES
   ========================================================================== */
.band-info-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.band-info-row .band-card {
    flex: 1;
    background: #111827;
    border: 1px solid #263244;
    border-radius: 14px;
    padding: 20px;
}

.member-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 12px;
}

.member-photo {
    width: 60px;
    height: 60px;
    border-radius: 10px 0 0 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #40546b;
}

.member-info {
    border-radius: 0 10px 10px 0;
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding-left: 16px;

    background: linear-gradient(to bottom, #4c5d72, #5c7087);
    color: #ffffff;
}

.member-info a {
    color: #ffffff;
    font-weight: bold;
}

.member-info a:hover {
    color: #7ab8ff;
}


.member-name {
    font-weight: bold;
}

.member-role {
    font-size: 0.9em;
    color: #b8c2d1;
    margin-top: 2px;
}



.gig-card {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
}

.gig-date-time {
    font-size: 14px;
    font-weight: bold;
    color: #f3f4f6;
    margin-bottom: 10px;
}

.gig-band {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

.gig-venue {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
}

.gig-actions {
    display: flex;
    gap: 8px;
}

.gig-map-button,
.gig-ticket-button {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
}

.gig-map-button {
    background: #374151;
    color: #ffffff;
}

.gig-ticket-button {
    background: #d97706;
    color: #ffffff;
}

@media (max-width: 800px) {
    .band-info-row {
        flex-direction: column;
    }
}

/* ==========================================================================
   LIKE & FOLLOW ACTION BUTTONS
   ========================================================================== */
.profile-actions-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-stats {
    font-size: 16px;
    color: #c7d2fe;
    white-space: nowrap;
}

.entity-action-form {
    margin: 0;
}

.entity-action-btn {
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.entity-action-btn:hover {
    background: #1565c0;
}

.member-photo {
    width: 60px;
    height: 60px;
    border-radius: 10px 0 0 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-headshot {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.band-table {
    width: 100%;
    border-collapse: collapse;
    background: #111827;
    color: #ffffff;
}

.band-table th {
    background: #1f2937;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #374151;
}

.band-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #263244;
}

.band-table tr:hover {
    background: #1a2433;
}

.band-table a {
    color: #7ab8ff;
    text-decoration: none;
}

.band-table a:hover {
    text-decoration: underline;
}

td.number-column {
    text-align: center;
}

.band-table th.number-header {
    text-align: center;
}

.band-list-card {
    background: #111827;
    border: 1px solid #263244;
    border-radius: 14px;
    padding: 24px;
}

.account-form {
    max-width: 450px;
}

.account-form label {
    display: block;
    margin-top: 18px;
    margin-bottom: 6px;
    font-weight: bold;
    color: #ffffff;
}

.account-form input[type=text],
.account-form input[type=email],
.account-form input[type=password] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #1f2937;
    color: white;
    font-size: 16px;
}

.submit-button {
    margin-top: 30px;
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.submit-button:hover {
    background: #1d4ed8;
}

.login-links {
    margin-top: 30px;
    line-height: 1.8;
}

.login-links a {
    color: #7ab8ff;
}
/* ==========================================================================
   8. PHONE-FIRST TOP SHARE HEADER
   ========================================================================== */






















.page-share-qr-modal[hidden] {
    display: none;
}

.page-share-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-share-qr-modal-card {
    position: relative;
    width: min(92vw, 520px);
    padding: 28px;
    background: #111827;
    border: 2px solid #334155;
    border-radius: 18px;
    text-align: center;
}

.page-share-qr-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.page-share-qr-title {
    padding: 10px 34px 18px 34px;
    color: #ffffff;
    font-size: clamp(28px, 7vw, 44px);
    font-weight: 800;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.page-share-qr-large {
    width: min(72vw, 380px);
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
}

.page-share-qr-help {
    margin-top: 16px;
    color: #cbd5e1;
    font-size: clamp(20px, 5vw, 28px);
    font-weight: 700;
}

body.qr-modal-open {
    overflow: hidden;
}

@media (max-width: 460px) {
    .global-layout-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    

    

    
}



/* ==========================================================================
   9. V9 PHONE UI POLISH
   ========================================================================== */

/* Responsive navigation becomes a readable button bar instead of tiny text. */






.account-nav-right {
    flex: 0 1 auto;
    justify-content: flex-end;
}





.account-nav-right .account-button {
    background: #1d4ed8;
    border-color: #60a5fa;
    color: #ffffff;
}

.account-nav-right .account-button:hover,
.account-nav-right .account-button:active {
    background: #2563eb;
    color: #ffffff;
}

.account-nav-right .welcome-user {
    padding: 8px 2px;
    font-size: clamp(16px, 3.6vw, 20px);
}

/* Roughly 20% larger logo / share QR while keeping all three header areas aligned. */










/* Full-screen viral-share presentation. */
.page-share-qr-modal {
    padding: 10px;
    background: rgba(0, 0, 0, 0.94);
}

.page-share-qr-modal-card {
    width: min(96vw, 820px);
    min-height: min(94vh, 900px);
    max-height: 96vh;
    padding: 26px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: auto;
    background: #05070d;
    border: 3px solid #334155;
    border-radius: 20px;
}

.page-share-qr-close {
    top: 10px;
    right: 16px;
    z-index: 2;
    font-size: 54px;
}

.page-share-qr-brand {
    color: #ef4444;
    font-size: clamp(34px, 8vw, 62px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.page-share-qr-logo {
    width: min(58vw, 330px);
    max-height: 150px;
    margin: 12px auto 10px auto;
    object-fit: contain;
}

.page-share-qr-entity-name {
    width: 100%;
    padding: 4px 38px 16px 38px;
    color: #fde047;
    font-size: clamp(32px, 8vw, 58px);
    font-weight: 900;
    line-height: 1.02;
    text-align: center;
    overflow-wrap: anywhere;
}

.page-share-qr-large {
    width: min(72vw, 560px);
    max-width: 72vh;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border: 10px solid #ffffff;
    border-radius: 12px;
}

@media (max-width: 600px) {
    

    

    

    

    

    

    .page-share-qr-modal-card {
        width: 98vw;
        min-height: 96vh;
        padding: 24px 12px 18px 12px;
    }

    .page-share-qr-logo {
        width: min(62vw, 270px);
    }

    .page-share-qr-entity-name {
        padding-left: 28px;
        padding-right: 28px;
    }

    .page-share-qr-large {
        width: min(82vw, 520px);
        max-width: 72vh;
    }
}



/* V10 Events month / weekday view toggle. */




/* ==========================================================================\n   10. V11 EVENTS SCROLL VIEWPORT / STICKY NAV\n   ========================================================================== */


@media (max-width: 600px) {
    .calendar-scroll-box {
        min-height: 280px;
    }
}


/* ==========================================================================
   11. V12 COMPACT EVENTS HEADING / LARGER NAV TOUCH TARGETS
   ========================================================================== */






/* The Events page owns its Month/Weekday toggle now; keep global nav for navigation only. */


@media (max-width: 600px) {
    

    .content-panel-card {
        padding: 16px;
    }
}


/* ==========================================================================
   12. V27.1.1 TRUE MOBILE SCALE
   The PWA viewport exposes the real device width. Keep touch targets useful
   without allowing older vw-based typography to balloon on phones.
   ========================================================================== */
@media (max-width: 600px) {
    

    .logo-header-panel .build-version {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        opacity: 0.72;
    }
}


/* ==========================================================================
   V27.2.1 COMPACT NAV / BRAND SIGN-IN
   ========================================================================== */










.brand-sign-in-button {
    width: 100%;
    min-height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 2px solid #60a5fa;
    border-radius: 8px;
    background: #1d4ed8;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.brand-sign-in-button:hover,
.brand-sign-in-button:active {
    background: #2563eb;
}

@media (max-width: 600px) {
    

    

    

    

    

    .brand-sign-in-button {
        min-height: 28px;
        flex-basis: 28px;
        font-size: 12px;
        border-radius: 7px;
    }
}

@media (min-width: 900px) {
    

    

    .brand-sign-in-button {
        min-height: 36px;
        flex-basis: 36px;
        font-size: 15px;
    }
}

/* ==========================================================================
   AUTH FLOW - TWO-STAGE SIGN IN + ADAPTIVE FOOTER
   ========================================================================== */
.auth-scroll-list {
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding: 0 4px 12px 0;
}

.auth-top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px 0;
}

.auth-top-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid #39516f;
    border-radius: 9px;
    background: #162239;
    color: #7ab8ff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.auth-message {
    margin: 0 0 14px 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
}

.auth-message-error {
    background: #3b1519;
    color: #ffb4bd;
    border: 1px solid #7f1d1d;
}

.auth-signin-form {
    width: 100%;
}

.auth-email-check-actions {
    margin-top: 12px;
}

.auth-continue-button {
    margin-top: 0;
}

.auth-show-password-label {
    font-weight: normal !important;
    margin-top: 12px !important;
}

.auth-account-alert {
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #4a5f7c;
    border-radius: 10px;
    background: #111827;
    color: #d7e0ed;
}

.auth-account-alert strong {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 17px;
}

.auth-account-alert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.auth-account-alert-actions .entity-action-btn,
.auth-account-alert-actions button {
    width: auto;
    min-width: 120px;
    margin: 0;
    text-decoration: none;
}

.auth-secondary-button {
    background: #253246;
    color: #e5edf8;
    border: 1px solid #52647d;
}

.auth-bottom-copy {
    margin-top: 20px;
    padding: 12px 2px 4px 2px;
    color: #94a3b8;
    line-height: 1.4;
    font-size: 13px;
}

@media (max-width: 600px) {
    .auth-top-links {
        gap: 6px;
    }

    .auth-top-links a {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 12px;
    }

    .auth-bottom-copy {
        font-size: 12px;
    }
}

/* V27.5.3 login signup CTA */
.auth-create-fan-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    box-sizing: border-box;
    border: 1px solid #6ee7a2;
    border-radius: 9px;
    background: #16843f;
    color: #ffffff;
    font-weight: 900;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}
.auth-create-fan-button:hover,
.auth-create-fan-button:focus-visible {
    background: #1f9d4c;
    border-color: #86efac;
}
.auth-create-fan-button[hidden] {
    display: none !important;
}
.auth-recognized-user { margin: 4px 0 16px; text-align: center; }
.auth-hello { color: #fff; font-size: clamp(20px, 5vw, 28px); font-weight: 900; }
.auth-rock-greeting {
    margin: 6px 0 8px;
    color: #7ab8ff;
    font-size: clamp(16px, 4vw, 22px);
    font-weight: 900;
    letter-spacing: .02em;
    text-shadow: 1px 1px 0 #0b1a2d, 2px 2px 0 #05080e, 0 0 10px rgba(122,184,255,.22);
}
.auth-switch-user { border: 0; background: transparent; color: #8ea6c4; text-decoration: underline; cursor: pointer; font-size: 12px; }
.auth-password-callout {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #261b0b;
    border: 1px solid #805514;
    color: #ffb43b;
    font-weight: 800;
    text-align: center;
    text-shadow: 1px 1px 0 #000;
}
.rcm-video-ad { position: relative; background: #070a10; border-style: solid; }
.rcm-video-ad-media { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcm-video-ad-marquee { position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: flex; align-items: center; }
.rcm-video-ad-marquee span {
    position: absolute;
    left: 100%;
    color: #fff;
    font-weight: 950;
    font-size: clamp(16px, 3vw, 28px);
    letter-spacing: .08em;
    white-space: nowrap;
    text-shadow: 2px 2px 0 #000, 0 0 8px #000;
}
.rcm-video-ad-marquee.is-running span { animation: rcmAdScroll 5s linear 1; }
@keyframes rcmAdScroll { from { transform: translateX(0); } to { transform: translateX(calc(-100vw - 130%)); } }

/* V27.4.7 explicit account-resolution flow + click-to-play header ad */
.auth-lost-password-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    margin-top: 9px;
    box-sizing: border-box;
    border: 1px solid #596579;
    border-radius: 8px;
    background: #202938;
    color: #d7e4f5;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}
.auth-recognized-user label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
}
#resolved-email-display {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
    color: #b9c8da;
    background: #0c1118;
    border-color: #344258;
}
.rcm-video-ad { cursor: pointer; }
.rcm-video-ad.is-paused .rcm-video-ad-media { object-fit: cover; }
.rcm-video-ad-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: clamp(12px, 2vw, 16px);
    font-weight: 900;
    text-shadow: 2px 2px 3px #000;
    background: rgba(0,0,0,.18);
}
.rcm-video-ad-play span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,.65);
    border: 1px solid rgba(255,255,255,.7);
    font-size: 13px;
    padding-left: 2px;
}

/* V27.4.8 auth/reset polish + QR tap target */
.auth-password-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}
.auth-password-actions .submit-button,
.auth-password-actions .auth-lost-password-button {
    width: 100%;
    min-height: 46px;
    margin: 0;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 800;
}
.auth-lost-password-button {
    border: 1px solid #4f8ee8;
    background: #1f5faa;
    color: #ffffff;
    text-align: center;
}
.auth-hello {
    color: #ffad33;
    font-size: clamp(26px, 6vw, 36px);
    font-weight: 950;
    line-height: 1.05;
    text-shadow: 1px 1px 0 #341d00, 2px 2px 0 #05080e, 0 0 12px rgba(255, 173, 51, .24);
}
#hello-username {
    color: #ffd35c;
}
.auth-screen-title {
    margin: 0;
    font-size: clamp(22px, 5vw, 30px);
    line-height: 1.05;
}
.auth-reset-personal {
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #805514;
    border-radius: 9px;
    background: #261b0b;
    color: #ffbd52;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}
.auth-reset-personal strong { color: #ffd35c; }
.auth-reset-intro {
    color: #c9d4e3;
    line-height: 1.45;
    font-size: 14px;
}
.auth-reset-form label,
.auth-reset-form input,
.auth-reset-form button {
    font-size: 15px;
}
.auth-show-password-row {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 12px 0 16px !important;
    color: #d7e4f5;
    font-size: 14px !important;
}
.auth-show-password-row input { width: auto; }
.auth-reset-submit { width: 100%; min-height: 46px; }
.auth-return-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    text-decoration: none;
}
.page-share-qr-large { cursor: pointer; }

@media (max-width: 600px) {
    .auth-password-actions { grid-template-columns: 1fr; }
}

/* ========================================================================== 
   SHARED ERROR PAGE
   ========================================================================== */
.rcm-error-page-title {
    margin: 0;
    color: #f8fafc;
    font-size: clamp(21px, 4.2vw, 34px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.rcm-error-page {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 6px 0 18px;
}

.rcm-error-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 18px;
    border: 1px solid #3b4759;
    border-radius: 14px;
    background: #0b1220;
}

.rcm-error-icon {
    display: block;
    width: 118px;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.rcm-error-copy {
    min-width: 0;
}

.rcm-error-copy h1 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(23px, 4.5vw, 34px);
    line-height: 1.05;
}

.rcm-error-message {
    color: #ff9a9a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.rcm-error-return-button {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #2f80d8;
    border-radius: 9px;
    background: #1976d2;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.rcm-error-return-button:hover,
.rcm-error-return-button:active {
    background: #1565c0;
}

.rcm-error-footer-note {
    margin-top: 9px;
    color: #748198;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 600px) {
    .rcm-error-card {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 13px;
    }

    .rcm-error-icon {
        width: 82px;
    }

    .rcm-error-copy h1 {
        font-size: 22px;
    }

    .rcm-error-message {
        font-size: 13px;
    }
}

/* ==========================================================================
   V27.5.0 ACCOUNT / APP SECTION COMPONENTS
   Reusable cards and feature-button groups for signed-in workspace pages.
   ========================================================================== */
.global-user-name {
    color: #ffd400;
    font-weight: 900;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.global-user-name-prominent {
    font-size: clamp(24px, 4.5vw, 38px);
    line-height: 1.05;
}

.account-nav-right .welcome-user {
    color: #f8fafc;
    font-weight: 700;
}

.account-nav-right .welcome-user .global-user-name {
    font-size: 1.12em;
}

.account-summary-card {
    margin-bottom: 24px;
    padding: 18px;
    border: 1px solid #334155;
    border-radius: 14px;
    background: #0b1220;
}

.account-welcome-line {
    display: flex;
    align-items: baseline;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    color: #e2e8f0;
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
}

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

.account-detail-item {
    min-width: 0;
    padding: 12px;
    border: 1px solid #263244;
    border-radius: 10px;
    background: #111827;
}

.account-detail-item span:first-child {
    display: block;
    margin-bottom: 5px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.055em;
}

.account-detail-item strong {
    display: block;
    min-width: 0;
    color: #f8fafc;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.account-detail-item strong.global-user-name {
    color: #ffd400;
    font-size: clamp(18px, 3vw, 24px);
}

.account-verification-inline {
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid #8a6425;
    border-radius: 9px;
    background: #3a2d16;
    color: #f4d58d;
}

.app-page-section-heading {
    margin: 6px 0 12px;
    color: #ffffff;
    font-size: clamp(22px, 4vw, 30px);
}

.app-section-card {
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid #334155;
    border-radius: 14px;
    background: #0b1220;
}

.app-section-title {
    margin: 0 0 12px;
    color: #dbeafe;
    font-size: clamp(17px, 3.5vw, 22px);
    font-weight: 900;
    letter-spacing: 0.015em;
}

.app-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.app-feature-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-feature-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-feature-link {
    display: flex;
    min-width: 0;
    min-height: 50px;
    padding: 10px 12px;
    border: 1px solid #3b4a60;
    border-radius: 9px;
    background: #172033;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.app-feature-link:hover,
.app-feature-link:active {
    border-color: #60a5fa;
    background: #1d4f85;
    color: #ffffff;
}

.app-feature-link small {
    padding: 2px 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 9px;
    letter-spacing: 0.06em;
}

.app-feature-link.is-disabled {
    border-color: #303947;
    background: #161c27;
    color: #6f7d90;
    cursor: not-allowed;
    opacity: 0.72;
}

.app-feature-link.is-disabled:hover,
.app-feature-link.is-disabled:active {
    border-color: #303947;
    background: #161c27;
    color: #6f7d90;
}

.app-feature-link-danger {
    border-color: #8f3942;
    background: #4b1f25;
    color: #ffd9dd;
}

.app-feature-link-danger:hover,
.app-feature-link-danger:active {
    border-color: #ef6f7b;
    background: #6f2630;
    color: #ffffff;
}

.app-page-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.app-page-header-row h1 {
    margin: 0;
}

.app-page-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.app-action-button {
    display: inline-flex;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid #60a5fa;
    border-radius: 9px;
    background: #1d4ed8;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.app-action-button:hover,
.app-action-button:active {
    background: #2563eb;
    color: #ffffff;
}

.app-action-button-success {
    border-color: #60b86a;
    background: #2e7d32;
}

.app-action-button-success:hover,
.app-action-button-success:active {
    background: #358d3a;
}

@media (max-width: 700px) {
    .account-details-grid {
        grid-template-columns: 1fr;
    }

    .app-feature-grid,
    .app-feature-grid-three,
    .app-feature-grid-two {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    .app-feature-grid,
    .app-feature-grid-three,
    .app-feature-grid-two {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================== 
   V27.5.0 ACCOUNT FIELD EDITING + SIGNED-IN PROFILE HEADER
   ========================================================================== */
.brand-sign-in-button.brand-profile-button {
    border-color: #63c86d;
    background: #2e7d32;
    color: #ffffff;
}

.brand-sign-in-button.brand-profile-button:hover,
.brand-sign-in-button.brand-profile-button:active {
    border-color: #7be285;
    background: #37943d;
    color: #ffffff;
}

.account-detail-value-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 8px;
    align-items: center;
}

.account-detail-value-row strong {
    min-width: 0;
}

.account-edit-button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #60a5fa;
    border-radius: 8px;
    background: #1d4ed8;
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.account-edit-button:hover,
.account-edit-button:active {
    background: #2563eb;
}

.account-edit-button.is-disabled,
.account-edit-button:disabled {
    border-color: #4b5563;
    background: #252d39;
    color: #778397;
    cursor: not-allowed;
    opacity: 0.82;
}

.account-edit-icon {
    transform: translateY(-1px);
}

.account-pending-email {
    margin-top: 8px;
    color: #f4d58d;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.account-pending-email strong {
    display: inline;
    color: #ffd400;
    font-size: inherit;
}

.account-success-inline {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid #4ea75a;
    border-radius: 9px;
    background: #17351d;
    color: #baf3c0;
    font-weight: 800;
}

.account-bottom-logout {
    margin: 24px 0 2px;
}

.account-edit-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.82);
}

.account-edit-dialog-backdrop[hidden] {
    display: none;
}

.account-edit-dialog {
    position: relative;
    width: min(520px, 94vw);
    padding: 20px;
    border: 1px solid #4b6484;
    border-radius: 14px;
    background: #0b1220;
    color: #f8fafc;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.account-edit-dialog h2 {
    margin: 0 42px 10px 0;
    color: #ffffff;
    font-size: 25px;
}

.account-edit-dialog-note {
    margin: 0 0 16px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.45;
}

.account-edit-dialog label {
    display: block;
    margin: 0 0 6px;
    color: #dbeafe;
    font-size: 13px;
    font-weight: 900;
}

.account-edit-dialog input {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    padding: 9px 11px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #111827;
    color: #ffffff;
    font: inherit;
}

.account-edit-dialog-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #172033;
    color: #ffffff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.account-edit-dialog-result {
    min-height: 1.5em;
    margin: 10px 0 0;
    color: #ffd166;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.account-edit-dialog-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.account-edit-dialog-actions button {
    min-height: 42px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #172033;
    color: #ffffff;
    cursor: pointer;
    font-weight: 900;
}

.account-edit-dialog-actions button.is-primary {
    border-color: #60a5fa;
    background: #1d4ed8;
}

.account-edit-dialog-actions button:disabled {
    cursor: wait;
    opacity: 0.55;
}


/* ========================================================================== 
   V27.5.1 ACCOUNT WORKSPACE + SHARED LIST SCROLL POLISH
   ========================================================================== */
.account-page-shell {
    width: 100%;
    max-width: 980px;
    height: calc(100dvh - 235px);
    min-height: 320px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    border: 2px solid #263244;
    border-radius: 14px;
    background: #08111f;
    -webkit-overflow-scrolling: touch;
}

.account-page-shell .account-summary-card {
    margin-bottom: 14px;
    padding: 16px;
    border: 2px solid #3b4f69;
    background: linear-gradient(180deg, #111d30 0%, #0b1220 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.account-page-shell .account-welcome-line {
    margin-bottom: 12px;
    padding-bottom: 11px;
    border-bottom: 1px solid #263244;
}

.account-page-shell .account-detail-item {
    border-color: #334155;
    background: #0f172a;
}

.account-page-shell .app-page-section-heading {
    margin: 4px 2px 9px;
    font-size: clamp(20px, 3.8vw, 28px);
}

.account-page-shell .app-section-card {
    margin-bottom: 12px;
    padding: 13px;
    border: 2px solid #263244;
    background: #0b1220;
}

.account-page-shell .app-section-title {
    margin-bottom: 9px;
    color: #f8fafc;
}

.account-page-shell .app-feature-link {
    min-height: 44px;
    background: #152033;
}

.account-page-shell .account-bottom-logout {
    margin: 18px 0 0;
    padding-top: 14px;
    border-top: 1px solid #334155;
}

.account-page-shell .account-bottom-logout .app-feature-link {
    width: 100%;
    box-sizing: border-box;
}

@media (hover: hover) and (pointer: fine) {
    .rcm-drag-scroll {
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
    }

    .rcm-drag-scroll.is-mouse-dragging {
        cursor: grabbing;
    }

    .rcm-drag-scroll button,
    .rcm-drag-scroll input,
    .rcm-drag-scroll select,
    .rcm-drag-scroll textarea {
        user-select: auto;
        -webkit-user-select: auto;
    }
}

@media (max-width: 700px) {
    .account-page-shell {
        height: calc(100dvh - 205px);
        padding: 7px;
    }

    .account-page-shell .account-summary-card,
    .account-page-shell .app-section-card {
        padding: 11px;
    }

    .account-page-shell .account-welcome-line {
        font-size: 15px;
    }

    .account-page-shell .global-user-name-prominent {
        font-size: 21px;
    }
}


/* ==========================================================================
   V27.5.4 COMPACT PAGE HEADERS
   ========================================================================== */
.app-compact-page-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(25px, 4.5vw, 38px);
    font-weight: 900;
    line-height: 1.05;
}

@media (max-width: 600px) {
    .app-compact-page-title {
        font-size: 22px;
    }
}

/* ==========================================================================
   V27.5.8 UI/UX DIAL-IN: LOGO MENU FMD / SHARE FMD / USER STRIP / BETA FOOTER
   ========================================================================== */
















.rcm-fmd[hidden] {
    display: none !important;
}

.rcm-fmd {
    position: fixed;
    inset: 0;
    z-index: 6000;
    width: 100vw;
    height: 100dvh;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
}

.rcm-fmd-card {
    position: relative;
    width: min(96vw, 820px);
    height: min(96dvh, 920px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    overflow: auto;
    border: 3px solid #334155;
    border-radius: 20px;
    background: #05070d;
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.7);
}

.rcm-fmd-close {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 3;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 44px;
    line-height: 1;
    cursor: pointer;
}

.rcm-fmd-panel {
    width: min(100%, 620px);
    margin: 0 auto;
}

.rcm-fmd-title {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: clamp(25px, 6vw, 40px);
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
}

.rcm-fmd-user-name {
    margin: 0 0 20px 0;
    color: #ffd400;
    font-size: clamp(20px, 5vw, 30px);
    font-weight: 900;
    text-align: center;
    overflow-wrap: anywhere;
}

.rcm-fmd-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rcm-fmd-action {
    min-width: 0;
    min-height: 54px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #475569;
    border-radius: 10px;
    background: #172033;
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
}

.rcm-fmd-action:hover,
.rcm-fmd-action:active {
    border-color: #60a5fa;
    background: #1e3a5f;
    color: #ffffff;
}

.rcm-fmd-action-primary {
    border-color: #60a5fa;
    background: #1d4ed8;
}

.rcm-fmd-action-success {
    border-color: #4ade80;
    background: #15803d;
}

.rcm-fmd-action-danger {
    border-color: #ef6f7b;
    background: #6f2630;
}

.rcm-fmd-back {
    min-height: 36px;
    margin: 0 0 12px 0;
    padding: 6px 10px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #172033;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.rcm-fmd-email-to {
    margin: 0 0 14px 0;
    color: #94a3b8;
    font-size: 13px;
    text-align: center;
    overflow-wrap: anywhere;
}

.rcm-fmd-email-form {
    display: grid;
    gap: 8px;
}

.rcm-fmd-email-form label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 900;
}

.rcm-fmd-email-form input,
.rcm-fmd-email-form textarea {
    width: 100%;
    border: 1px solid #475569;
    border-radius: 9px;
    background: #0f172a;
    color: #ffffff;
    font: inherit;
    font-size: 15px;
}

.rcm-fmd-email-form input {
    min-height: 44px;
    padding: 9px 11px;
}

.rcm-fmd-email-form textarea {
    min-height: 190px;
    padding: 11px;
    resize: vertical;
}

.rcm-fmd-email-form input[readonly] {
    color: #94a3b8;
    background: #111827;
}

.rcm-fmd-status {
    min-height: 22px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.rcm-fmd-status.is-success {
    color: #86efac;
}

.rcm-fmd-status.is-error {
    color: #fca5a5;
}

.rcm-share-fmd-card {
    align-items: center;
    text-align: center;
}

.rcm-fmd-brand {
    color: #ef4444;
    font-size: clamp(28px, 7vw, 54px);
    font-weight: 900;
    line-height: 1;
}

.rcm-fmd-logo {
    width: min(54vw, 300px);
    max-height: 130px;
    margin: 10px auto 8px auto;
    object-fit: contain;
}

.rcm-share-page-name {
    width: 100%;
    margin: 0 0 12px 0;
    padding: 0 30px;
    color: #fde047;
    font-size: clamp(23px, 6vw, 42px);
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: anywhere;
}


.rcm-share-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 0 auto 12px auto;
}

.rcm-share-action-button {
    border: 1px solid #60a5fa;
    border-radius: 999px;
    background: #0f172a;
    color: #ffffff;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}

.rcm-share-action-button:hover,
.rcm-share-action-button:focus,
.rcm-share-action-button:active {
    background: #1e293b;
    color: #ffffff;
}

.rcm-share-action-button[hidden] {
    display: none;
}


.rcm-share-qr-large {
    width: min(72vw, 520px);
    max-width: 60vh;
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto;
    border: 9px solid #ffffff;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
}

.rcm-share-host {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.rcm-share-target-note {
    margin-top: 5px;
    color: #86efac;
    font-size: 12px;
    font-weight: 900;
}

body.rcm-fmd-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    

    

    .rcm-fmd {
        padding: 5px;
    }

    .rcm-fmd-card {
        width: 99vw;
        height: 98dvh;
        padding: 20px 12px 14px 12px;
        border-radius: 14px;
    }

    .rcm-fmd-menu-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .rcm-fmd-action {
        min-height: 50px;
    }

    .rcm-share-page-name {
        padding-left: 26px;
        padding-right: 26px;
    }

    .rcm-share-qr-large {
        width: min(82vw, 500px);
        max-width: 58vh;
    }
}


/* ==========================================================================
   V27.5.9 HEADER CUES / ACTIVE NAV
   ========================================================================== */
.brand-logo-signin-label {
    display: block;
    width: 100%;
    margin-top: 2px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 1000;
    line-height: 1;
    letter-spacing: 0.06em;
    text-align: center;
}










/* V27.5.10 reusable legal/support pages */
.rcm-legal-title {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.05;
    font-weight: 900;
}

.rcm-legal-page {
    width: 100%;
    padding: 2px 0 140px 0;
}

.rcm-legal-card {
    width: 100%;
    padding: 16px;
    border: 1px solid #2e4058;
    border-radius: 14px;
    background: #0c1729;
    color: #d7e0ec;
    font-size: 14px;
    line-height: 1.5;
}

.rcm-legal-card h2 {
    margin: 18px 0 6px 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.2;
}

.rcm-legal-card p {
    margin: 0 0 10px 0;
}

.rcm-legal-updated {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rcm-legal-support-button {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #4ade80;
    border-radius: 8px;
    background: #15803d;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}


/* ==========================================================================
   V27.5.11 SHARE SIGN-IN CUE
   ========================================================================== */












/* ==========================================================================\n   V27.5.12 HEADER SHARE / SIGN-IN POLISH\n   ========================================================================== */
















/* ==========================================================================
   V27.5.13 LEGAL FMD + CREATE FAN POLISH
   ========================================================================== */
.rcm-fmd-legal-panel {
    max-height: calc(100dvh - 78px);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.rcm-fmd-legal-panel[hidden] {
    display: none !important;
}

.rcm-fmd-legal-scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2px 4px 10px 0;
    scrollbar-width: thin;
}

.rcm-fmd-legal-document[hidden] {
    display: none !important;
}

.rcm-fmd-legal-scroll .rcm-legal-card {
    padding: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.rcm-fmd-legal-scroll .rcm-legal-card h2 {
    font-size: 16px;
}

@media (max-width: 600px) {
    .rcm-fmd-legal-panel {
        max-height: calc(100dvh - 52px);
    }

    .rcm-fmd-legal-scroll .rcm-legal-card {
        padding: 12px;
        font-size: 13px;
    }
}

/* ==========================================================================
   V27.5.15 ROOT HOME / HEADER LOGO / ACCOUNT FMD BRANDING
   ========================================================================== */
.rcm-fmd-menu-logo-link {
    display: block;
    width: min(72vw, 360px);
    margin: 0 auto 14px auto;
    border: 2px solid #334155;
    border-radius: 14px;
    overflow: hidden;
    background: #05070d;
    box-shadow: 0 7px 18px rgba(0,0,0,.45);
}

.rcm-fmd-menu-logo {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.rcm-fmd-home-qr-wrap {
    margin-top: 20px;
    text-align: center;
}

.rcm-fmd-home-qr-label {
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 14px;
    font-weight: 900;
}

.rcm-fmd-home-qr {
    width: min(62vw, 340px);
    aspect-ratio: 1 / 1;
    display: block;
    margin: 0 auto;
    border: 8px solid #fff;
    border-radius: 12px;
    background: #fff;
}


.rcm-fmd-callout-message {
    margin: 0 0 20px 0;
    padding: 16px;
    border: 2px solid #475569;
    border-radius: 12px;
    background: #0f172a;
    color: #ffffff;
    font-size: clamp(17px, 4vw, 22px);
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}


/* ==========================================================================
   V27.5.16 LANDING PAGE CONSOLIDATION
   ========================================================================== */



/* V27.5.33 verification action inside My Account warning. */
.account-verification-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.account-verification-button {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 2px solid #facc15;
    border-radius: 8px;
    background: #facc15;
    color: #111827;
    font-weight: 900;
    cursor: pointer;
}

/* V27.5.33 Event reminder popup shown while the site/PWA is active. */
.rcm-event-reminder-popup {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 12000;
    display: flex;
    flex-direction: column;
    width: min(430px, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
    box-sizing: border-box;
    overflow: hidden;
    padding: 16px 44px 16px 16px;
    border: 3px solid #facc15;
    border-radius: 12px;
    background: #111827;
    color: #ffffff;
    box-shadow: 0 14px 40px rgba(0,0,0,.55);
}

.rcm-event-reminder-popup[hidden] { display: none; }
.rcm-event-reminder-popup-title { color: #facc15; font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.rcm-event-reminder-popup-message { font-size: 16px; font-weight: 700; line-height: 1.35; }
.rcm-event-reminder-popup-close {
    position: absolute;
    right: 8px;
    top: 7px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 25px;
    font-weight: 900;
    cursor: pointer;
}


/* V27.5.34 global profile cue and My Profile toolbar. */

.header-user-profile-label { color:#60a5fa; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:2px; font-weight:800; }

.my-profile-page-header {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:10px;
}
.my-profile-page-header .app-compact-page-title {
  margin:0;
  font-size:clamp(24px,4.4vw,36px);
  line-height:1.05;
  white-space:nowrap;
}
.my-profile-toolbar {
  display:flex;
  width:100%;
  margin:0;
  flex-wrap:nowrap;
  gap:6px;
}
.my-profile-toolbar .app-action-button {
  flex:1 1 0;
  min-width:0;
  min-height:34px;
  padding:6px 7px;
  font-size:clamp(10px,2.45vw,13px);
  white-space:nowrap;
  text-align:center;
}
@media (max-width:520px) {
  .my-profile-page-header { gap:8px; }
  .my-profile-page-header .app-compact-page-title { font-size:24px; }
  .my-profile-toolbar { gap:4px; }
  .my-profile-toolbar .app-action-button { min-height:32px; padding:5px 4px; font-size:10px; border-radius:7px; }
}

/* V27.5.34 composite My Profile Likes / Following lists. */
.preference-list-page{width:100%;max-width:980px;margin:0 auto}.preference-list-head{margin-bottom:10px}.preference-list-head h1{margin:5px 0 9px;font-size:clamp(25px,4.5vw,38px)}
.preference-list-scroll-box{width:100%;height:calc(100dvh - 270px);min-height:320px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;border:2px solid #263244;border-radius:14px;background:#0b1220}.preference-list-scroll-content{padding:7px}
.preference-group{margin-bottom:10px}.preference-group-heading{width:100%;display:flex;justify-content:space-between;align-items:center;margin:2px 0 6px;padding:7px 10px;border:1px solid #315985;border-radius:9px;background:#173653;color:#dbeafe;font:inherit;font-size:14px;font-weight:900;text-align:left;cursor:pointer}.preference-group-heading:hover{background:#1c4265}.preference-group-heading-label{display:inline-flex;align-items:center;gap:7px}.preference-fold-chevron{display:inline-block;width:14px;font-size:16px;line-height:1;transform:rotate(0deg);transition:transform .14s ease}.preference-group-heading.is-collapsed .preference-fold-chevron{transform:rotate(-90deg)}.preference-group-heading strong{min-width:28px;padding:2px 7px;border-radius:999px;background:#0f172a;color:#fff;text-align:center}.preference-group-body[hidden]{display:none}.preference-group-empty{padding:12px;color:#94a3b8;font-size:13px}
.preference-list-card{margin:0 0 7px;border:2px solid #334155;border-radius:11px;background:#111827;overflow:hidden}.preference-list-main{display:grid;grid-template-columns:minmax(0,1fr) 76px 70px;gap:6px;align-items:center;padding:8px 9px}.preference-list-identity{min-width:0}.preference-type-tag{margin-bottom:2px;color:#60a5fa;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.preference-list-name{display:block;color:#fbbf24;font-size:clamp(16px,3.5vw,20px);font-weight:900;line-height:1.05;text-decoration:none;overflow-wrap:anywhere}.preference-list-name.is-disabled{color:#94a3b8}.preference-list-location{margin-top:3px;color:#94a3b8;font-size:11px;font-weight:700}.preference-relation-actions{display:flex;align-items:center;gap:5px;margin-top:6px;flex-wrap:wrap}.preference-relation-toggle{display:inline-flex;align-items:center;gap:4px;min-height:29px;padding:4px 7px;border:1px solid #475569;border-radius:7px;background:#172033;color:#dbeafe;font-size:11px;font-weight:900;cursor:pointer}.preference-relation-toggle.is-like.is-active{border-color:#f87171;background:#4c1d1d;color:#fecaca}.preference-relation-toggle.is-follow.is-active{border-color:#60a5fa;background:#172554;color:#bfdbfe}.preference-list-number{text-align:center}.preference-list-number strong{display:block;color:#fff;font-size:19px;font-weight:900;line-height:1}.preference-list-number small{display:block;margin-top:2px;color:#94a3b8;font-size:8px;font-weight:900;text-transform:uppercase}.verification-complete-card{max-width:620px;margin:10px auto;padding:22px;border:2px solid #22c55e;border-radius:14px;background:#0f1f18;color:#e5e7eb;text-align:center}.verification-complete-icon{width:54px;height:54px;margin:0 auto 10px;display:grid;place-items:center;border-radius:50%;background:#15803d;color:#fff;font-size:34px;font-weight:900}.verification-complete-card h2{margin:0 0 12px;color:#fff;font-size:28px}.verification-complete-card p{font-size:16px;line-height:1.5}.verification-complete-note{color:#a7f3d0;font-weight:800}
@media(max-width:520px){.preference-list-main{grid-template-columns:minmax(0,1fr) 58px 54px;padding:7px}.preference-list-number strong{font-size:17px}.preference-relation-toggle{padding:3px 5px;font-size:10px}.preference-list-scroll-box{height:calc(100dvh - 260px)}}

/* V27.5.34 My Profile typography aligned with compact list/detail pages. */
.my-profile-identity-content h2 { font-size:clamp(20px,4vw,28px); line-height:1.08; }
.my-profile-location { font-size:13px; }
.my-profile-description { font-size:14px; line-height:1.42; }
.my-profile-stat strong { font-size:clamp(20px,3.5vw,26px); }
.my-profile-stat span { font-size:12px; }

/* V27.5.37 entity-card normalization for My Fan Profile composite lists. */
.preference-list-main{grid-template-columns:minmax(0,1fr) 76px 70px;grid-template-areas:"identity followers likes";align-items:center}
.preference-list-identity{grid-area:identity;min-width:0}.preference-list-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;overflow-wrap:normal}
.preference-list-number[data-preference-count="follow"]{grid-area:followers}.preference-list-number[data-preference-count="like"]{grid-area:likes}
.preference-list-location{min-height:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.preference-relation-actions{flex-wrap:nowrap;min-width:0}
@media(max-width:520px){.preference-list-main{grid-template-columns:minmax(0,1fr) 58px 54px}.preference-list-name{font-size:15px}.preference-list-location{font-size:10px}}




.rcm-fmd-callout-brand {
    display: flex;
    justify-content: center;
    margin: 0 0 12px;
}

.rcm-fmd-callout-logo {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 12px;
}

/* V27.5.44 verification/account lifecycle polish. */
.rcm-fmd-action[hidden] {
    display: none !important;
}

.header-user-unverified {
    color: #ef4444;
    font-size: 0.82em;
    font-weight: 900;
    white-space: nowrap;
}

.my-profile-remove-account-row {
    display: flex;
    justify-content: center;
    margin: 18px 0 8px;
}

.my-profile-remove-account-button {
    width: auto;
    min-width: 160px;
    border: 1px solid #ef6f7b;
    cursor: pointer;
}

.remove-account-fmd-card {
    justify-content: flex-start;
    padding-top: 52px;
}

.remove-account-rocker-copy {
    margin: 0 0 18px;
    color: #dbeafe;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.remove-account-label {
    display: block;
    margin: 12px 0 6px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
}

.remove-account-label span {
    color: #94a3b8;
    font-weight: 700;
}

.remove-account-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #475569;
    border-radius: 8px;
    background: #101827;
    color: #ffffff;
    font: inherit;
}

textarea.remove-account-input {
    resize: vertical;
}


/* V27.5.45 My Account + FMD visual normalization. */
.rcm-fmd-callout-logo {
    width: min(180px, 58vw);
    height: 78px;
    object-fit: contain;
    object-position: center;
    border-radius: 10px;
}
.rcm-fmd-callout-brand {
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.rcm-fmd-backstage-pass {
    width: 106px;
    height: 106px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}
.rcm-fmd-backstage-pass[hidden] { display: none !important; }
.account-page-v2 {
    background: #0b1220;
    border: 1px solid #334155;
}
.account-page-v2 .account-summary-card,
.account-page-v2 .app-section-card {
    border: 1px solid #334155;
    border-radius: 12px;
    background: #111827;
    box-shadow: none;
}
.account-page-v2 .account-details-grid { gap: 8px; }
.account-page-v2 .account-detail-item {
    border: 1px solid #334155;
    background: #0f172a;
}
.account-page-v2 .app-section-title {
    color: #fff;
    font-size: 18px;
}
.account-page-v2 .app-feature-link {
    border-color: #3b4a60;
    background: #172033;
}
.account-page-v2 .account-security-actions { margin-top: 12px; }
.account-remove-button {
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
}
@media (max-width: 520px) {
    .rcm-fmd-callout-logo { width: min(170px, 68vw); height: 72px; }
    .rcm-fmd-backstage-pass { width: 92px; height: 92px; }
}


/* V27.5.46 verification, My Account and landing polish. */

.rcm-fmd-backstage-pass-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 14px 0 18px;
    overflow: hidden;
}
.rcm-fmd-backstage-pass {
    width: min(220px, 62vw);
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
    background: transparent !important;
}
.rcm-fmd-callout-brand {
    justify-content: center;
}

.account-page-v2 {
    padding: 10px;
    background: #08111f;
    border: 2px solid #263244;
    border-radius: 14px;
}
.account-page-v2 .account-summary-card {
    margin-bottom: 12px;
    padding: 14px;
    border: 2px solid #3b4f69;
    background: linear-gradient(180deg, #111d30 0%, #0b1220 100%);
}
.account-page-v2 .account-welcome-line {
    margin-bottom: 12px;
    color: #dbeafe;
    font-size: clamp(16px, 3.2vw, 21px);
}
.account-page-v2 .global-user-name-prominent {
    color: #ffd400;
    font-size: clamp(21px, 4vw, 30px);
}
.account-page-v2 .account-details-grid {
    grid-template-columns: 1fr;
    gap: 7px;
}
.account-page-v2 .account-detail-item {
    padding: 10px 12px;
    border: 1px solid #334155;
    border-radius: 9px;
    background: #0f172a;
}
.account-page-v2 .account-detail-item span:first-child {
    color: #7ab8ff;
    font-size: 11px;
}
.account-page-v2 .app-page-section-heading {
    margin: 8px 2px 9px;
    color: #fff;
    font-size: 20px;
}
.account-page-v2 .app-section-card {
    margin-bottom: 10px;
    padding: 12px;
    border: 2px solid #263244;
    border-radius: 12px;
    background: #0b1220;
}
.account-page-v2 .app-section-title {
    margin-bottom: 8px;
    color: #dbeafe;
    font-size: 17px;
}
.account-page-v2 .app-feature-link {
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #3b4a60;
    border-radius: 8px;
    background: #172033;
    color: #fff;
    font-size: 14px;
}
.account-page-v2 .app-feature-link:hover,
.account-page-v2 .app-feature-link:active {
    border-color: #60a5fa;
    background: #1d4f85;
}
.account-page-v2 .app-feature-link.app-feature-link-danger,
.account-page-v2 button.app-feature-link-danger {
    border-color: #ef4444 !important;
    background: #b91c1c !important;
    color: #ffffff !important;
}
.account-page-v2 .app-feature-link.app-feature-link-danger:hover,
.account-page-v2 .app-feature-link.app-feature-link-danger:active,
.account-page-v2 button.app-feature-link-danger:hover,
.account-page-v2 button.app-feature-link-danger:active {
    border-color: #fca5a5 !important;
    background: #dc2626 !important;
}
.account-page-v2 .account-security-actions {
    border-color: #4b2630;
}
@media (max-width: 520px) {
    .rcm-fmd-backstage-pass {
        width: min(210px, 68vw);
        max-height: 280px;
    }
    .account-page-v2 .app-feature-grid,
    .account-page-v2 .app-feature-grid-two,
    .account-page-v2 .app-feature-grid-three {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}


/* V27.5.59 VIP share badge */



/* V27.5.61 VIP header badge fills the share control while remaining clickable. */





/* V27.5.61 Events list search + type filter. */
.calendar-filter-bar {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 9px auto;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(120px,180px);
    gap: 8px;
}
.calendar-search-input,
.calendar-type-filter {
    width: 100%;
    min-width: 0;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid #475569;
    border-radius: 9px;
    background: #0f172a;
    color: #ffffff;
    padding: 0 11px;
    font-size: 15px;
    font-weight: 700;
    outline: none;
}
.calendar-search-input:focus,
.calendar-type-filter:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 2px rgba(96,165,250,.16);
}
.calendar-type-filter { cursor: pointer; }
@media(max-width:520px){
    .calendar-filter-bar{grid-template-columns:minmax(0,1fr) 118px;gap:6px}
    .calendar-search-input,.calendar-type-filter{height:40px;font-size:13px;padding:0 8px}
}

/* ==========================================================================
   V27.5.64 IN-APP PWA INSTALL FLOW
   ========================================================================== */
.page-share-install-link {
    flex: 0 0 20px;
    min-height: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fbbf24;
    font: inherit;
    font-size: 12px;
    line-height: 1.05;
    font-weight: 1000;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}
.page-share-install-link:hover,
.page-share-install-link:active { color: #ffffff; }
.page-share-install-link.is-installed { color: #4ade80; }



.rcm-install-fmd-card { width: min(540px, 94vw); }
.rcm-install-icon-wrap {
    display: flex;
    justify-content: center;
    margin: 16px 0 12px;
}
.rcm-install-icon {
    width: 92px;
    height: 92px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 28px rgba(0,0,0,.45);
}
.rcm-install-actions { margin-top: 14px; }

@media (max-width: 460px) {
    .page-share-install-link {
        flex-basis: 17px;
        min-height: 17px;
        font-size: 10px;
    }
}

/* Give the extra Install App cue its own vertical room instead of shrinking the QR. */




/* V27.5.64.2 - PWA install fallback URL: readable, selectable, and easy to copy. */
.rcm-install-link-box {
    margin: 12px 0 4px;
    text-align: left;
}
.rcm-install-link-box label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #d7dbe8;
}
.rcm-install-link-row {
    display: flex;
    gap: 6px;
    align-items: stretch;
}
.rcm-install-link-row input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 7px;
    background: rgba(0,0,0,0.42);
    color: #fff;
    font-size: 0.78rem;
}
.rcm-install-link-copy {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 7px;
    background: rgba(255,255,255,0.09);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.rcm-install-link-help {
    margin-top: 5px;
    font-size: 0.72rem;
    color: #aeb5c7;
}




/* ==========================================================================
   V27.5.69 AUTH / ANALYTICS POLISH
   Keep Sign Out / Log Out red in every link state, including hover, active,
   focus and visited.
   ========================================================================== */
.page-share-signout-link,
.page-share-signout-link:visited,
.page-share-signout-link:hover,
.page-share-signout-link:active,
.page-share-signout-link:focus {
    color: #ff5b5b !important;
    text-decoration-color: #ff5b5b !important;
}



/* ==========================================================================
   V27.5.74.6 LOADING OVERLAY
   Give users immediate feedback during server navigation and event-data fetches.
   ========================================================================== */
.rcm-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    background: rgba(5, 7, 13, 0.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.rcm-loading-overlay.is-visible {
    display: flex;
}
.rcm-loading-card {
    width: min(280px, calc(100vw - 48px));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    border: 1px solid #3b82f6;
    border-radius: 14px;
    background: #0f172a;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55);
    color: #ffffff;
    text-align: center;
}
.rcm-loading-spinner {
    width: 38px;
    height: 38px;
    box-sizing: border-box;
    border: 4px solid rgba(255, 255, 255, 0.22);
    border-top-color: #facc15;
    border-radius: 50%;
    animation: rcm-loading-spin 0.78s linear infinite;
}
.rcm-loading-message {
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
@keyframes rcm-loading-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .rcm-loading-spinner {
        animation-duration: 1.8s;
    }
}


/* ==========================================================================
   V27.5.74.24 SIMPLE PER-TAB BACK UX
   Active tabs with prior history render as plain text "< Tab". No forward
   chevron controls are shown for now.
   ========================================================================== */




/* V27.5.74.24 - long-press reset is touch-only; desktop mouse holds do nothing. */




/* V27.6.0 server-side Event search range controls. */
.calendar-search-range-row{width:100%;max-width:980px;margin:-3px auto 8px;display:flex;align-items:center;gap:8px;min-height:28px}
#calendar-search-range-button{padding:5px 9px;border:1px solid #475569;border-radius:8px;background:#172033;color:#dbeafe;font-size:11px;font-weight:900;cursor:pointer}
#calendar-search-summary{min-width:0;color:#94a3b8;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#calendar-today-button{margin-left:auto;min-width:96px;min-height:32px;padding:4px 18px;border:2px solid #4ade80;border-radius:8px;background:#15803d;color:#fff;font-size:11px;font-weight:900;cursor:pointer;white-space:nowrap}#calendar-today-button:hover,#calendar-today-button:active{border-color:#86efac;background:#16a34a}#calendar-today-button:disabled{opacity:.45;cursor:default}
.calendar-search-range-modal{position:fixed;inset:0;z-index:180;background:rgba(0,0,0,.84);display:flex;align-items:center;justify-content:center;padding:12px}
.calendar-search-range-modal[hidden]{display:none}
.calendar-search-range-card{width:min(430px,94vw);padding:14px;border:1px solid #475569;border-radius:14px;background:#0f172a;box-shadow:0 20px 70px rgba(0,0,0,.65);color:#fff}
.calendar-search-range-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.calendar-search-range-head strong{font-size:17px}.calendar-search-range-head button{width:34px;height:31px;border:1px solid #64748b;border-radius:7px;background:#172033;color:#fff;font-size:21px;cursor:pointer}
.calendar-search-range-card label{display:flex;flex-direction:column;gap:5px;margin:9px 0;color:#cbd5e1;font-size:12px;font-weight:900}.calendar-search-range-card select,.calendar-search-range-card input{height:40px;border:1px solid #475569;border-radius:8px;background:#111827;color:#fff;padding:0 9px;font-size:14px}
.calendar-search-custom-range{display:grid;grid-template-columns:1fr 1fr;gap:9px}.calendar-search-range-apply{width:100%;margin-top:7px;padding:10px 12px;border:2px solid #4ade80;border-radius:9px;background:#15803d;color:#fff;font-size:14px;font-weight:900;cursor:pointer}
.calendar-search-results{padding:8px 12px 2px}.calendar-search-day{margin:0 0 10px}.calendar-search-day-heading{margin:0 0 6px;padding:7px 9px;border-radius:8px;background:#1e293b;color:#dbeafe;font-size:13px;font-weight:900}.calendar-search-day.is-past .calendar-search-day-heading{background:#30343a;color:#9ca3af}.calendar-search-day.is-past .calendar-event{background:#1d2025;border-color:#4b5563;filter:saturate(.48);opacity:.82}.calendar-search-sentinel{min-height:4px;padding:0 10px;text-align:center;color:#94a3b8;font-size:11px;font-weight:900}.calendar-search-sentinel.is-loading{min-height:32px;padding:9px 10px}.calendar-search-limit{margin:12px 4px;padding:11px;border:1px solid #f59e0b;border-radius:10px;background:#2b2110;color:#fde68a;text-align:center;font-size:11px;font-weight:800}.calendar-search-limit strong{display:block;margin-bottom:3px;font-size:14px}
@media(max-width:520px){.calendar-search-range-row{gap:6px}.calendar-search-custom-range{grid-template-columns:1fr}.calendar-search-range-card{padding:12px}}

/* V28.1.2.7: centralized user-time contract. datetime-local controls always
   declare the device timezone currently being used to interpret the entry. */
.rcm-input-timezone-note{
    display:block;
    margin-top:4px;
    color:#94a3b8;
    font-size:11px;
    line-height:1.25;
}

/* RCM_APP_28.1.3.32 — grouped/clickable reminder presentation. */
.rcm-event-reminder-popup-message{margin-bottom:8px}
.rcm-event-reminder-popup-list{margin:0;padding:0 0 0 18px;display:flex;flex-direction:column;gap:6px}
.rcm-event-reminder-popup-list li{margin:0;padding:0}
.rcm-event-reminder-popup-event{
    display:flex;flex-direction:column;gap:2px;padding:6px 8px;border:1px solid #475569;border-radius:8px;
    background:#101827;color:#fff!important;text-decoration:none!important
}
.rcm-event-reminder-popup-event:hover,.rcm-event-reminder-popup-event:active{border-color:#60a5fa;background:#172554}
.rcm-event-reminder-popup-event-name{font-size:14px;font-weight:900;line-height:1.15}
.rcm-event-reminder-popup-event-time{font-size:12px;font-weight:850;color:#facc15}

/* RCM_APP_28.1.3.33 — persistent grouped reminders + optional pocket buzz. */
/* RCM_APP_28.1.3.36 — bounded reminder/Alerts scrolling. */
.rcm-event-reminder-popup-days{display:flex;flex:1 1 auto;min-height:0;flex-direction:column;gap:8px;max-height:none;overflow-y:auto;overflow-x:hidden;padding-right:2px;-webkit-overflow-scrolling:touch;touch-action:pan-y pinch-zoom;overscroll-behavior-y:auto}
.rcm-event-reminder-day{border:1px solid #475569;border-radius:9px;background:#0b1220;overflow:hidden}
.rcm-event-reminder-day[open]{border-color:#64748b}
.rcm-event-reminder-day-header{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;cursor:pointer;background:#182235;color:#f8fafc;font-weight:950}
.rcm-event-reminder-day-header::-webkit-details-marker{display:none}
.rcm-event-reminder-day-header::before{content:'▸';color:#facc15;font-size:13px;transition:transform .12s ease}
.rcm-event-reminder-day[open]>.rcm-event-reminder-day-header::before{transform:rotate(90deg)}
.rcm-event-reminder-day-label{flex:1;font-size:13px;line-height:1.2}
.rcm-event-reminder-day-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#334155;color:#facc15;font-size:12px;font-weight:950}
.rcm-event-reminder-day .rcm-event-reminder-popup-list{padding:8px;margin:0;list-style:none;max-height:min(390px,45dvh);overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y pinch-zoom;overscroll-behavior-y:auto;scrollbar-gutter:stable}

.rcm-reminder-vibration-prompt{position:fixed;inset:0;z-index:2147482500;display:flex;align-items:center;justify-content:center;padding:18px;box-sizing:border-box;background:rgba(2,6,23,.78);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.rcm-reminder-vibration-card{width:min(420px,calc(100vw - 36px));border:2px solid #facc15;border-radius:16px;background:#0f172a;box-shadow:0 18px 60px rgba(0,0,0,.62);padding:20px;color:#fff;text-align:center}
.rcm-reminder-vibration-kicker{color:#60a5fa;font-size:11px;font-weight:950;letter-spacing:.11em;margin-bottom:7px}
.rcm-reminder-vibration-title{color:#facc15;font-size:25px;font-weight:950;line-height:1.05;margin-bottom:10px}
.rcm-reminder-vibration-message{color:#e2e8f0;font-size:15px;font-weight:750;line-height:1.4}
.rcm-reminder-vibration-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:17px}
.rcm-reminder-vibration-actions button{min-height:44px;border-radius:10px;border:1px solid #64748b;background:#172033;color:#fff;font-weight:950;cursor:pointer}
.rcm-reminder-vibration-actions .rcm-reminder-vibration-allow{border-color:#facc15;background:#facc15;color:#111827}
@media(max-width:520px){.rcm-reminder-vibration-actions{grid-template-columns:1fr}.rcm-event-reminder-popup{bottom:10px;right:10px;width:calc(100vw - 20px)}}

/* RCM_APP_28.1.3.34 — drag surfaces keep native touch panning available. */
.rcm-drag-scroll {
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}
@media (hover:hover) and (pointer:fine) {
    .rcm-drag-scroll {cursor:grab}
    .rcm-drag-scroll.is-mouse-dragging {cursor:grabbing;user-select:none}
}
