/* ============================================================
   Public Pages — Anonymous read-only views
   Clean, church-friendly design. No AdminLTE dependency.
   ============================================================ */

/* Layout */
.pub-header .pub-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.pub-brand-text {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #3B82F6;
}

.pub-org-name {
    font-size: 1rem;
    color: #666;
    margin-left: 0.5rem;
}

.pub-main {
    min-height: calc(100vh - 200px);
    background-color: #f0f2f5;
}

.pub-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.pub-footer {
    background-color: #fff;
}

.pub-cta {
    font-size: 1.1rem;
}

/* ═══════════════════ COVER BANNER ═══════════════════ */
.pub-cover {
    margin: -1.5rem calc(-50vw + 50%) 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -1.5rem;
}

.pub-cover-banner {
    position: relative;
    width: 100%;
    max-height: 400px;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    background: #000;
}

.pub-cover-blur {
    position: absolute;
    inset: -40px;
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    object-fit: cover;
    filter: blur(20px) brightness(0.55);
    z-index: 0;
}

.pub-cover-main {
    position: relative;
    display: block;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    object-position: center;
    z-index: 1;
}

.pub-cover-default {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ═══════════════════ PROFILE HEADER ═══════════════════ */
.pub-profile-header {
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 0 32px 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.pub-avatar-wrap {
    margin-top: -40px;
    z-index: 3;
    flex-shrink: 0;
}

.pub-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
    background: #f0f2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.pub-avatar-placeholder {
    background: #e4e6eb;
}

.pub-profile-info {
    padding-top: 16px;
    flex: 1;
    min-width: 0;
}

.pub-profile-name {
    font-size: 28px;
    font-weight: 800;
    color: #1c1e21;
    margin: 0 0 4px;
    line-height: 1.2;
}

.pub-profile-desc {
    font-size: 1.05rem;
    color: #65676b;
    margin: 0;
    line-height: 1.4;
}

/* ═══════════════════ TWO-COLUMN LAYOUT ═══════════════════ */
.pub-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.pub-sidebar {
    width: 35%;
    min-width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

.pub-content {
    flex: 1;
    min-width: 0;
}

/* ═══════════════════ ABOUT CARD ═══════════════════ */
.pub-about-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 16px;
    overflow: hidden;
}

.pub-about-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 16px;
}

.pub-about-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.pub-about-item:last-child {
    margin-bottom: 0;
}

.pub-aboutus-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 0 0;
    margin-top: 12px;
    border-top: 1px solid #e4e6eb;
    font-size: 15px;
    font-weight: 600;
    color: #1c1e21;
    user-select: none;
}
.pub-aboutus-toggle:hover { color: #1877f2; }
.pub-aboutus-toggle i { font-size: 12px; color: #65676b; transition: transform 0.2s; }

.pub-aboutus-content {
    padding-top: 12px;
}

.pub-about-icon {
    color: #65676b;
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.pub-about-link {
    color: #1877f2;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

.pub-about-link:hover {
    text-decoration: underline;
}

.pub-hours-content {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
}

.pub-hours-content .dot-leader-active {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.pub-hours-content p {
    margin: 0 0 2px;
}

.pub-hours-content ul,
.pub-hours-content ol {
    margin: 0;
    padding-left: 18px;
}

/* ═══════════════════ GOOGLE MAP CARD ═══════════════════ */
.pub-map-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 16px;
}

.pub-map-iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

/* ═══════════════════ UPCOMING EVENTS WIDGET (thumbnail strip) ═══════════════════ */
.upcoming-events-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    padding: 12px 0;
}
.upcoming-events-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 12px;
}
.upcoming-events-header h3 {
    font-size: 17px;
    font-weight: 700;
    color: #050505;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.upcoming-events-header h3 i { color: #1877F2; font-size: 18px; }
.upcoming-events-header .see-all {
    font-size: 15px;
    font-weight: 600;
    color: #1877F2;
    cursor: pointer;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
}
.upcoming-events-header .see-all:hover {
    background: #E7F3FF;
    text-decoration: none;
}
.upcoming-events-scroll-container { position: relative; }
.upcoming-events-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0 16px 4px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.upcoming-events-strip::-webkit-scrollbar { display: none; }

/* Scroll arrows */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #050505;
    z-index: 10;
    transition: all 0.15s;
}
.scroll-arrow:hover { background: #F2F2F2; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.scroll-arrow.left { left: 4px; }
.scroll-arrow.right { right: 4px; }
.scroll-arrow.hidden { display: none; }

/* Event thumbnail card */
.event-thumb {
    flex-shrink: 0;
    width: 148px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    scroll-snap-align: start;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1px solid #E4E6EB;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.event-thumb:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.event-thumb-image {
    position: relative;
    height: 88px;
    overflow: hidden;
    background: #ddd;
}
.event-thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.event-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: rgba(255,255,255,0.5);
    font-size: 32px;
}

/* Date badge on thumbnail */
.event-thumb-date {
    position: absolute;
    top: 6px;
    left: 6px;
    background: #fff;
    border-radius: 6px;
    text-align: center;
    min-width: 36px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    line-height: 1;
}
.event-thumb-date .month {
    display: block;
    background: #FA383E;
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 6px;
}
.event-thumb-date .day {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #050505;
    padding: 1px 6px 2px;
}

/* Today badge */
.event-thumb-today {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #FA383E;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Thumbnail info area */
.event-thumb-info { padding: 7px 9px 8px; flex: 1; }
.event-thumb-day {
    font-size: 11px;
    font-weight: 700;
    color: #FA383E;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-bottom: 2px;
}
.event-thumb-name {
    font-size: 13px;
    font-weight: 700;
    color: #050505;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 2px;
    min-height: 16px;
}
.event-thumb-host {
    font-size: 11px;
    color: #65676B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 5px;
}
.event-thumb-visibility {
    font-size: 11px;
    color: #65676B;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
}
.event-thumb-visibility i { font-size: 9px; flex-shrink: 0; }

/* ═══════════════════ NEWSFEED WIDGET ═══════════════════ */
.pub-newsfeed {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.pub-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.pub-widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0;
}

.pub-widget-title i {
    margin-right: 8px;
    color: #1877F2;
}

.pub-see-all {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1877f2;
    text-decoration: none;
}

.pub-see-all:hover {
    text-decoration: underline;
}

/* ═══════════════════ POST CARDS ═══════════════════ */
.pub-card {
    background: #fff;
    border: 1px solid #e4e6eb;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.15s ease;
    cursor: pointer;
}

.pub-newsfeed .pub-card {
    border: none;
    border-top: 1px solid #e4e6eb;
    border-radius: 0;
    padding: 16px 0;
    margin-bottom: 0;
}

.pub-newsfeed .pub-card:first-of-type {
    border-top: none;
}

.pub-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.pub-newsfeed .pub-card:hover {
    box-shadow: none;
    background: #f8f9fa;
}

.pub-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1c1e21;
}

.pub-card .pub-card-desc {
    color: #555;
    font-size: 0.95rem;
}

.pub-card-content {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.pub-card-content p {
    margin: 0 0 4px;
}

.pub-card-collapsed {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.pub-card-collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1.6em;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.pub-newsfeed .pub-card-collapsed::after {
    background: linear-gradient(transparent, #fff);
}

.pub-read-more {
    display: inline-block;
    color: #1877f2;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2px;
    text-decoration: none;
}

.pub-read-more:hover {
    color: #1877f2;
    text-decoration: underline;
}

.pub-post-images {
    margin-top: 8px;
    text-align: center;
}

.pub-card .pub-card-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-top: 0.75rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Post author line */
.pub-post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pub-post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.pub-post-author .pub-author-name {
    font-weight: 600;
    color: #1c1e21;
}

.pub-post-author .pub-post-date {
    font-size: 0.85rem;
    color: #90949c;
}

/* ═══════════════════ EVENT CARD (popup) ═══════════════════ */
.pub-event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.pub-ec-cover {
    position: relative;
    max-height: 280px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pub-ec-blur {
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    object-fit: cover;
    filter: blur(20px) brightness(0.55);
    z-index: 0;
}

.pub-ec-main {
    position: relative;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    z-index: 1;
}

.pub-ec-placeholder {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pub-ec-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 4px 12px;
    min-width: 52px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.pub-ec-date-badge .month {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    color: #FA383E; line-height: 1.2;
}

.pub-ec-date-badge .day {
    font-size: 22px; font-weight: 800; color: #1c1e21; line-height: 1.1;
}

.pub-ec-body {
    padding: 16px 20px;
}

.pub-ec-title {
    font-size: 20px; font-weight: 700;
    color: #1c1e21;
    line-height: 1.3;
    margin-bottom: 8px;
}

.pub-ec-meta {
    display: flex; flex-direction: column; gap: 6px;
    margin-bottom: 12px;
}

.pub-ec-meta-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: #65676b;
}

.pub-ec-meta-item i {
    width: 20px; text-align: center; font-size: 14px;
    color: #65676b;
}

.pub-ec-meta-item a {
    color: #1877f2; text-decoration: none;
}

.pub-ec-meta-item a:hover { text-decoration: underline; }

.pub-ec-description {
    font-size: 14px; color: #65676b;
    line-height: 1.5;
    margin-bottom: 12px;
}

.pub-ec-description ol,
.pub-ec-description ul { margin: 8px 0 8px 20px; }
.pub-ec-description li { margin-bottom: 4px; }
.pub-ec-description p { margin-bottom: 8px; }
.pub-ec-description h3 {
    font-size: 16px; font-weight: 700;
    color: #1c1e21;
    margin: 12px 0 6px;
}
.pub-ec-description em { font-style: italic; }
.pub-ec-description strong { font-weight: 700; color: #1c1e21; }
.pub-ec-description a { color: #1877f2; text-decoration: none; }
.pub-ec-description a:hover { text-decoration: underline; }

/* ═══════════════════ MODALS ═══════════════════ */
.pub-modal .modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.pub-modal .modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.25rem 1.5rem;
}

.pub-modal .modal-body {
    padding: 1.5rem;
}

.pub-modal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
    justify-content: center;
}

.pub-modal .pub-modal-image {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0 auto 1rem;
}

.pub-modal .pub-modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.pub-modal .pub-modal-meta {
    color: #666;
    margin-bottom: 1rem;
}

.pub-modal .pub-modal-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.pub-modal .pub-modal-desc * {
    max-width: 100% !important;
    width: auto !important;
}

/* ═══════════════════ NOT FOUND ═══════════════════ */
.pub-not-found {
    text-align: center;
    padding: 4rem 1rem;
}

.pub-not-found h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pub-not-found p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Empty state */
.pub-empty {
    text-align: center;
    padding: 2rem;
    color: #90949c;
    font-size: 1.05rem;
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 991px) {
    .pub-layout {
        flex-direction: column;
    }

    .pub-sidebar {
        width: 100%;
        min-width: 0;
        position: static;
    }

    .pub-content {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pub-sidebar {
        display: flex;
        gap: 16px;
    }

    .pub-about-card,
    .pub-map-card {
        flex: 1;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .pub-cover-banner {
        max-height: 200px;
    }

    .pub-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 16px 16px;
    }

    .pub-avatar {
        width: 100px;
        height: 100px;
    }

    .pub-avatar-wrap {
        margin-top: -30px;
    }

    .pub-profile-name {
        font-size: 22px;
    }

    .pub-cover {
        margin: -1.5rem -50vw 0;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .pub-sidebar {
        flex-direction: column;
    }

    .pub-modal .pub-modal-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 500px) {
    .pub-container {
        padding-left: 4px;
        padding-right: 4px;
    }
}

/* ═══════════════════ BACK BUTTON ═══════════════════ */
.pub-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3B82F6;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
}

.pub-back-btn:hover {
    color: #2563EB;
    text-decoration: none;
}

/* ═══════════════════ ABOUT GROUPIFY PAGE ═══════════════════ */
.pub-about-page {
    max-width: 800px;
    margin: 0 auto;
}

.pub-about-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.pub-about-heading {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #1c1e21;
    margin-bottom: 8px;
}

.pub-about-heading .pub-groupify-name {
    color: #3B82F6;
}

.pub-about-tagline {
    font-size: 1.15rem;
    color: #65676b;
    max-width: 500px;
    margin: 0 auto;
}

.pub-about-section {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 24px;
    margin-bottom: 16px;
}

.pub-about-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 12px;
}

.pub-about-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 16px 0 8px;
}

.pub-about-section p {
    color: #444;
    line-height: 1.6;
    margin: 0 0 10px;
}

.pub-about-section p:last-child {
    margin-bottom: 0;
}

.pub-about-section ul {
    color: #444;
    line-height: 1.6;
    padding-left: 24px;
    margin: 8px 0;
}

.pub-about-section ul li {
    margin-bottom: 6px;
}

.pub-about-section a:not(.btn) {
    color: #3B82F6;
    text-decoration: none;
}

.pub-about-section a:not(.btn):hover {
    text-decoration: underline;
}

.pub-about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.pub-feature-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 20px;
    text-align: center;
}

.pub-feature-item i {
    font-size: 28px;
    color: #1877f2;
    margin-bottom: 12px;
}

.pub-feature-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1c1e21;
    margin: 0 0 8px;
}

.pub-feature-item p {
    font-size: 0.9rem;
    color: #65676b;
    line-height: 1.4;
    margin: 0;
}

/* ═══════════════════ JOIN WIZARD ═══════════════════ */

.join-step {
    padding: 0.5rem 0;
}

.join-prompt {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 1rem;
}

.join-code-input {
    text-align: center;
    font-size: 1.75rem;
    letter-spacing: 0.5em;
    font-weight: 600;
    padding: 0.75rem;
}

.join-code-input::placeholder {
    letter-spacing: 0.5em;
    color: #ccc;
}

#joinWizardModal .modal-header {
    border-bottom: 1px solid #eee;
}

#joinWizardModal .modal-title {
    font-size: 1.15rem;
    font-weight: 600;
}

/* ─── Mobile app promo banner ───────────────────────────────────
   Custom replacement for Apple's apple-itunes-app smart banner; we
   control rendering so it works on every iOS Safari version and on
   Android Chrome. Hidden inside the MAUI WebView wrapper. */
.op-app-promo-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f6f8fa;
    border-bottom: 1px solid #d0d7de;
    font-size: 14px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.op-app-promo-close {
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #6e7781;
    padding: 0 6px;
    cursor: pointer;
    flex-shrink: 0;
}
.op-app-promo-close:hover { color: #24292f; }
.op-app-promo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    flex-shrink: 0;
}
.op-app-promo-text {
    flex: 1;
    min-width: 0;
    line-height: 1.2;
}
.op-app-promo-title {
    font-weight: 600;
    color: #1f2328;
    font-size: 14px;
}
.op-app-promo-sub {
    font-size: 12px;
    color: #6e7781;
    margin-top: 2px;
}
.op-app-promo-cta {
    background: #007aff;
    color: #fff;
    border-radius: 14px;
    padding: 6px 16px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.op-app-promo-cta:hover,
.op-app-promo-cta:focus {
    color: #fff;
    text-decoration: none;
    background: #0062cc;
}
