/* @CST:FILE:a7c1:eventspy/static/eventspy_app.css EventSpy - Infosort Master theme */
* { margin: 0; padding: 0; box-sizing: border-box; }

body, body.dark {
    font-family: 'DM Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #1a1025; color: #e0e0e0;
    min-height: 100vh; transition: background 0.3s, color 0.3s;
}
body.light {
    background: #f5f0ff; color: #1a1025;
}
a { color: inherit; }

/* Banner */
.es-banner {
    width: 100%; padding: 14px 20px; text-align: center; color: #fff;
    background: linear-gradient(135deg, #0a0a0a, #00c853, #1a1a1a, #d50000, #0a0a0a);
}
body.light .es-banner {
    background: linear-gradient(135deg, #0a0a0a, #00c853, #1a1a1a, #d50000, #0a0a0a);
}
.es-banner h1 { font-size: 2.4em; font-weight: 400; font-family: 'Bodoni Moda', serif; text-shadow: 2px 2px 8px rgba(0,0,0,0.3); letter-spacing: 0.02em; }
.es-banner p { font-size: 0.9em; opacity: 0.9; margin-top: 4px; }

/* Layout */
.es-app-layout { display: flex; max-width: 100%; margin: 0; gap: 0; }

/* Sidebar */
.es-sidebar {
    width: 180px; min-width: 140px; max-width: 240px; padding: 8px 0;
    max-height: calc(100vh - 120px); overflow-y: auto;
    position: sticky; top: 0; flex-shrink: 0;
    border-right: 1px solid #3d2855;
    background: #1a1025;
}
body.light .es-sidebar {
    border-right-color: #d1c4e9;
    background: #f5f0ff;
}
.es-sidebar.collapsed { width: 0; min-width: 0; padding: 0; overflow: hidden; display: none; }
.es-sidebar-hdr { font-size: 0.72em; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 8px 14px 4px; opacity: 0.5; }
.es-sidebar-item {
    display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 14px;
    border: none; background: transparent; color: inherit; cursor: pointer;
    font-size: 0.85em; text-align: left; transition: background 0.15s;
    font-family: inherit;
}
.es-sidebar-item:hover { background: rgba(128,128,128,0.12); }
.es-sidebar-item.active {
    background: #2d1b4e;
    color: #cf6bff; font-weight: 600;
}
body.light .es-sidebar-item.active {
    background: #1565c0;
    color: #fff;
}
.es-sidebar-emoji { font-size: 1.1em; width: 22px; text-align: center; }

/* Main content */
.es-main { flex: 1; padding: 16px 20px; min-width: 0; }

/* Toolbar */
.es-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.es-toolbar-left { display: flex; align-items: center; gap: 8px; }
.es-toolbar-right { font-size: 0.85em; opacity: 0.7; display: flex; align-items: center; gap: 8px; }
.es-tb-btn {
    cursor: pointer; user-select: none; font-size: 2.4em; min-width: 1.4em; min-height: 1.4em;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform 0.2s; line-height: 1;
}
.es-tb-btn:hover { transform: scale(1.18); }
.es-tb-btn.es-tb-active {
    filter: drop-shadow(0 0 12px rgba(244,64,96,1)) brightness(1.4) !important;
    transform: scale(1.1);
}
.es-theme-btn { border: none; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-size: 0.85em; font-family: inherit; }
body.dark .es-theme-btn { background: #2d1b4e; color: #cf6bff; }
body.light .es-theme-btn { background: #1565c0; color: #fff; }

/* Search row */
.es-search-row {
    display: flex; align-items: center; gap: 16px; padding: 8px 14px;
    background: rgba(128,128,128,0.06); border: 1px solid rgba(128,80,200,0.4);
    border-radius: 8px; font-size: 0.82em; flex-wrap: wrap; margin-bottom: 12px;
    box-shadow: 0 0 10px rgba(128,80,200,0.3);
}
.es-search-group { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.es-search-group input {
    flex: 1; max-width: 300px; height: 28px; border-radius: 4px;
    border: 1px solid #555; background: rgba(128,128,128,0.15);
    color: inherit; font-size: 0.85em; padding: 2px 8px; font-family: inherit;
}
.es-search-icon {
    font-size: 1.6em; cursor: pointer; user-select: none;
    display: inline-flex; align-items: center; justify-content: center;
}
.es-search-status { font-size: 0.82em; opacity: 0.5; white-space: nowrap; }
.es-filter-group { display: flex; align-items: center; gap: 4px; }
.es-filter-select, .es-filter-input {
    height: 28px; border-radius: 4px;
    border: 1px solid rgba(128,80,200,0.4);
    background: rgba(26,16,37,0.95);
    color: #e0e0e0; font-size: 0.85em; padding: 2px 8px; font-family: inherit;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23cf6bff'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 8px center; background-size: 10px 6px;
    padding-right: 24px; cursor: pointer;
}
.es-filter-select option {
    background: #1a1025; color: #e0e0e0;
}
.es-filter-select:focus, .es-filter-input:focus {
    outline: none; border-color: #cf6bff; box-shadow: 0 0 6px rgba(207,107,255,0.3);
}
body.light .es-filter-select, body.light .es-filter-input {
    background: rgba(245,240,255,0.95); color: #1a1025;
    border-color: #d1c4e9;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%231565c0'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 8px center; background-size: 10px 6px;
}
body.light .es-filter-select option {
    background: #fff; color: #1a1025;
}
body.light .es-filter-select:focus, body.light .es-filter-input:focus {
    border-color: #1565c0; box-shadow: 0 0 6px rgba(21,101,192,0.3);
}

/* Content panel */
.es-content-panel { min-height: 200px; }

/* Content sections */
.es-content-section { margin-bottom: 20px; }
.es-panel {
    border-radius: 10px; margin-bottom: 10px; overflow: visible;
}
body.dark .es-panel { background: #1a1025; border: 1px solid #3d2855; }
body.light .es-panel { background: #fff; border: 1px solid #d1c4e9; }
.es-panel-header {
    padding: 10px 14px; display: flex; align-items: center; gap: 10px;
    cursor: pointer; user-select: none; font-weight: 600; border-radius: 10px 10px 0 0;
}
body.dark .es-panel-header { background: #2d1b4e; color: #cf6bff; }
body.light .es-panel-header { background: #1565c0; color: #fff; }

/* Welcome state */
.es-welcome { text-align: center; padding: 60px 20px; }
.es-welcome-text { color: #888; font-size: 1.1em; }

/* Event list heading */
.es-section-title {
    font-size: 1.3em; font-weight: 700; color: #cf6bff;
    margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
body.light .es-section-title { color: #1565c0; }
.es-event-count { font-size: 0.7em; color: #888; font-weight: 400; }

/* Headline rows (CowAI pattern) */
.adhd-hl-row, .es-hl-row {
    padding: 6px 14px; border-bottom: 1px solid rgba(128,128,128,0.08);
    display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
    cursor: pointer; transition: background 0.15s;
}
.adhd-hl-row:hover, .es-hl-row:hover { background: rgba(128,128,128,0.06); }
.es-hl-title {
    font-size: 0.88em; font-weight: 500; color: inherit; display: block;
    word-wrap: break-word; text-decoration: none;
}
.es-hl-title:hover { opacity: 0.7; }
.es-hl-meta {
    display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
    margin-top: 2px; font-size: 0.78em; opacity: 0.6;
}
.es-hl-date { white-space: nowrap; }
.es-hl-venue { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 30ch; }
.es-hl-badge {
    font-size: 0.85em; padding: 1px 6px; border-radius: 3px;
    background: rgba(79,195,247,0.15); color: #4fc3f7; white-space: nowrap;
}
.es-hl-free { background: rgba(76,175,80,0.15); color: #66bb6a; }
.es-hl-region { background: rgba(128,128,128,0.15); opacity: 0.7; }
/* @CST:add:n6b1:cat_badge */
.es-hl-cat { font-size: 0.8em; opacity: 0.8; }

/* Section header (collapsible) */
.es-section-hdr {
    padding: 10px 14px; font-weight: 700; font-size: 0.95em;
    display: flex; align-items: center; gap: 8px;
    cursor: pointer; user-select: none;
    border-bottom: 1px solid rgba(128,128,128,0.15);
    border-radius: 10px 10px 0 0; transition: background 0.15s;
}
body.dark .es-section-hdr { background: #2d1b4e; color: #cf6bff; }
body.light .es-section-hdr { background: #1565c0; color: #fff; }
.es-section-hdr:hover { opacity: 0.9; }
.es-section-arrow { font-size: 0.7em; transition: transform 0.2s; width: 14px; text-align: center; }

/* Scroll container (CowAI pattern) */
.es-section-body.scroll-container {
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(128,128,128,0.4) transparent;
    border-radius: 0 0 6px 6px;
}
.es-section-body.scroll-container::-webkit-scrollbar { width: 8px; }
.es-section-body.scroll-container::-webkit-scrollbar-track { background: transparent; }
.es-section-body.scroll-container::-webkit-scrollbar-thumb {
    background: rgba(128,128,128,0.4); border-radius: 4px;
}
.es-section-body.scroll-container::-webkit-scrollbar-thumb:hover { background: rgba(128,128,128,0.6); }
body.dark .es-section-body { background: #1a1025; border: 1px solid #3d2855; border-top: none; }
body.light .es-section-body { background: #fff; border: 1px solid #d1c4e9; border-top: none; }

/* Lightbox overlay */
.es-lb-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.7); z-index: 10001;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(3px);
}
.es-lb-popup {
    width: 92vw; max-width: 800px; max-height: 88vh;
    border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column;
    box-shadow: 0 16px 56px rgba(0,0,0,0.5), 0 0 20px rgba(156,39,176,0.5);
    background: #1a1025; color: #e0e0e0;
    border: 1px solid #3d2855;
}
body.light .es-lb-popup { background: #fff; color: #333; border-color: #d1c4e9; }
.es-lb-header {
    padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    border-bottom: 1px solid rgba(128,128,128,0.2); flex-shrink: 0;
    background: linear-gradient(135deg, rgba(156,39,176,0.1), rgba(124,77,255,0.1));
}
.es-lb-title { font-size: 1.1em; font-weight: 700; flex: 1; min-width: 200px; padding-right: 30px; }
.es-lb-close {
    position: absolute; top: 12px; right: 16px; font-size: 1.5em;
    cursor: pointer; opacity: 0.6; line-height: 1; padding: 4px;
}
.es-lb-close:hover { opacity: 1; }
.es-lb-body {
    padding: 16px 20px; overflow-y: auto; flex: 1;
    font-size: 0.9em; line-height: 1.6;
}
.es-lb-image { width: 100%; max-height: 300px; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }
.es-lb-venue-card {
    padding: 10px 14px; border-radius: 8px; margin: 12px 0;
    border-left: 3px solid #e65100;
    background: rgba(230,81,0,0.08); font-size: 0.9em;
}
.es-lb-actions {
    padding: 12px 20px; border-top: 1px solid rgba(128,128,128,0.15);
    display: flex; gap: 8px; flex-wrap: wrap;
}
.es-lb-action-btn {
    padding: 6px 14px; border-radius: 6px; border: 1px solid rgba(128,128,128,0.3);
    background: transparent; color: inherit; cursor: pointer; font-size: 0.8em; font-weight: 600;
    text-decoration: none; transition: background 0.15s;
}
.es-lb-action-btn:hover { background: rgba(128,128,128,0.12); }

@media (max-width: 768px) {
    .es-hl-row { padding: 5px 10px; gap: 7px; }
    .es-section-body.scroll-container { max-height: calc(100vh - 160px); }
}



/* Saved items panel */
.es-saved-panel { padding: 12px 14px; }
.es-saved-row {
    display: flex; align-items: center; gap: 8px; padding: 5px 6px;
    border-bottom: 1px solid rgba(128,128,128,0.08); cursor: pointer;
    transition: background 0.15s; border-radius: 4px;
}
.es-saved-row:hover { background: rgba(128,128,128,0.08); }
.es-saved-thumb {
    width: 36px; height: 28px; border-radius: 4px; object-fit: cover; flex-shrink: 0;
}
.es-saved-title {
    flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 0.85em; color: #4fc3f7; cursor: pointer;
}
.es-saved-title:hover { opacity: 0.7; }
.es-saved-remove {
    cursor: pointer; color: #ff4444; opacity: 0.4; font-size: 1.1em;
    flex-shrink: 0; transition: opacity 0.15s; padding: 0 2px;
}
.es-saved-remove:hover { opacity: 1; }
body.light .es-saved-title { color: #1565c0; }

/* Calendar panel */
.es-calendar-panel { padding: 12px 14px; }
.es-cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; width: 100%;
}
.es-cal-hdr {
    font-size: 0.7em; font-weight: 700; text-align: center; padding: 4px 0;
    opacity: 0.5; text-transform: uppercase;
}
.es-cal-day {
    min-height: 48px; border-radius: 4px; padding: 2px;
    border: 1px solid rgba(128,128,128,0.1); position: relative; cursor: default;
    font-size: 0.72em; overflow: hidden;
}
.es-cal-day.has-events { cursor: pointer; border-color: rgba(207,107,255,0.3); }
.es-cal-day.has-events:hover { background: rgba(207,107,255,0.08); }
.es-cal-day.today { border-color: #4fc3f7; background: rgba(79,195,247,0.06); }
.es-cal-day.other-month { opacity: 0.25; }
.es-cal-daynum { font-weight: 600; font-size: 0.9em; padding: 1px 3px; }
.es-cal-thumbs { display: flex; flex-wrap: wrap; gap: 1px; margin-top: 1px; }
.es-cal-thumb {
    width: 18px; height: 14px; border-radius: 2px; object-fit: cover;
}
.es-cal-more {
    font-size: 0.65em; color: #cf6bff; font-weight: 600; padding: 0 2px;
}
.es-cal-popup {
    margin-top: 8px; padding: 10px 12px; width: 100%;
    background: rgba(45,27,78,0.95); border: 1px solid rgba(207,107,255,0.3);
    border-radius: 8px; max-height: 300px; overflow-y: auto;
}
body.light .es-cal-popup {
    background: rgba(255,255,255,0.98); border-color: #d1c4e9;
}
.es-cal-popup-item {
    display: flex; align-items: center; gap: 8px; padding: 5px 4px;
    border-bottom: 1px solid rgba(128,128,128,0.1); cursor: pointer;
    transition: background 0.15s; border-radius: 4px;
}
.es-cal-popup-item:hover { background: rgba(128,128,128,0.08); }
.es-cal-popup-item:last-child { border-bottom: none; }
.es-cal-popup-thumb { width: 36px; height: 28px; border-radius: 4px; object-fit: cover; flex-shrink: 0; }
.es-cal-popup-title { font-size: 0.85em; font-weight: 600; color: #4fc3f7; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-cal-popup-meta { font-size: 0.75em; opacity: 0.6; }
body.light .es-cal-popup-title { color: #1565c0; }

/* No-sidebar layout */
.es-no-sidebar { display: block; }
.es-no-sidebar .es-main { max-width: 1200px; margin: 0 auto; }

/* Category chip grid */
.es-cat-chips {
    display: flex; flex-wrap: wrap; gap: 6px; width: 100%;
}
.es-cat-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 12px; border-radius: 20px; font-size: 0.82em;
    border: 1.5px solid rgba(128,128,128,0.3); background: transparent;
    color: #e0e0e0; cursor: pointer; font-family: inherit;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    white-space: nowrap;
}
.es-cat-chip:hover { background: rgba(128,128,128,0.12); transform: scale(1.03); }
.es-cat-chip.active {
    background: rgba(207,107,255,0.15); border-color: currentColor;
    font-weight: 600; color: #cf6bff;
}
body.light .es-cat-chip { color: #1a1025; }
body.light .es-cat-chip.active { background: rgba(21,101,192,0.1); color: #1565c0; }
.es-category-panel { padding: 12px 14px; }

/* Date picker button + panel */
.es-date-btn {
    height: 28px; min-width: 28px; border-radius: 4px;
    border: 1px solid rgba(128,80,200,0.4);
    background: rgba(26,16,37,0.95); color: #cf6bff;
    font-size: 1.1em; cursor: pointer; display: inline-flex;
    align-items: center; justify-content: center; padding: 0 8px;
    transition: background 0.15s, border-color 0.15s; font-family: inherit;
}
.es-date-btn:hover { border-color: #cf6bff; background: rgba(45,27,78,0.8); }
.es-date-btn.active { border-color: #cf6bff; background: #2d1b4e; box-shadow: 0 0 8px rgba(207,107,255,0.3); }
body.light .es-date-btn { background: rgba(245,240,255,0.95); color: #1565c0; border-color: #d1c4e9; }
body.light .es-date-btn:hover { border-color: #1565c0; }
body.light .es-date-btn.active { background: #e3f2fd; border-color: #1565c0; }

.es-date-panel {
    display: none; padding: 10px 14px;
    background: rgba(26,16,37,0.98); border: 1px solid rgba(128,80,200,0.4);
    border-radius: 8px; margin-top: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    gap: 8px; align-items: center; flex-wrap: wrap;
}
.es-date-panel.open { display: flex; }
body.light .es-date-panel {
    background: rgba(255,255,255,0.98); border-color: #d1c4e9;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.es-date-panel label {
    font-size: 0.8em; opacity: 0.7; white-space: nowrap;
}
.es-date-panel input[type="date"] {
    height: 28px; border-radius: 4px;
    border: 1px solid rgba(128,80,200,0.4);
    background: rgba(26,16,37,0.95); color: #e0e0e0;
    font-size: 0.85em; padding: 2px 8px; font-family: inherit;
}
.es-date-panel input[type="date"]:focus {
    outline: none; border-color: #cf6bff;
}
body.light .es-date-panel input[type="date"] {
    background: #fff; color: #1a1025; border-color: #d1c4e9;
}
.es-date-apply {
    height: 26px; border-radius: 4px; border: none;
    background: #2d1b4e; color: #cf6bff; font-size: 0.8em;
    padding: 0 12px; cursor: pointer; font-family: inherit; font-weight: 600;
}
.es-date-apply:hover { background: #3d2855; }
body.light .es-date-apply { background: #1565c0; color: #fff; }
.es-date-clear {
    height: 26px; border-radius: 4px; border: 1px solid rgba(128,128,128,0.3);
    background: transparent; color: inherit; font-size: 0.8em;
    padding: 0 10px; cursor: pointer; font-family: inherit; opacity: 0.6;
}
.es-date-clear:hover { opacity: 1; }

/* Thumbnail placeholder (CowAI cow pattern) */
.es-thumb-placeholder {
    width: 60px; height: 45px; border-radius: 4px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5em;
    background: rgba(128,128,128,0.1);
}
/* Empty state */
.es-empty { text-align: center; padding: 40px 20px; }
.es-muted { color: #888; }

/* Load more */
.es-load-more { text-align: center; margin-top: 16px; }
.es-btn {
    font-family: inherit; font-size: 0.9em; padding: 8px 20px;
    border-radius: 6px; cursor: pointer; transition: all 0.2s;
}
.es-btn-outline {
    background: transparent; border: 1px solid #cf6bff; color: #cf6bff;
}
body.light .es-btn-outline { border-color: #1565c0; color: #1565c0; }
.es-btn-outline:hover { background: #2d1b4e; color: #fff; }
body.light .es-btn-outline:hover { background: #1565c0; color: #fff; }

/* Footer */
.es-footer { text-align: center; padding: 20px; font-size: 0.78em; opacity: 0.35; }

/* Spinner */
.es-spinner {
    display: none; position: fixed; top: 50%; left: 50%;
    transform: translate(-50%, -50%); z-index: 9999;
}
.htmx-request .es-spinner, .es-spinner.htmx-request { display: block; }
.es-spinner-ring {
    width: 40px; height: 40px;
    border: 3px solid #3d2855; border-top-color: #cf6bff;
    border-radius: 50%; animation: es-spin 0.8s linear infinite;
}
@keyframes es-spin { to { transform: rotate(360deg); } }

/* Mobile */
@media (max-width: 768px) {
    .es-app-layout { flex-direction: column; }
    .es-sidebar {
        width: 100% !important; min-width: 100% !important; max-width: 100% !important;
        max-height: none; position: static; border-right: none;
        border-bottom: 1px solid rgba(128,128,128,0.2); padding: 8px;
        display: grid; grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: 8px;
    }
    .es-sidebar-hdr { display: none; }
    .es-sidebar-item {
        width: auto; padding: 4px 10px; border-radius: 16px; font-size: 0.78em;
        background: rgba(128,128,128,0.1); justify-content: flex-start; text-align: left;
    }
    .es-sidebar-item > span:last-child {
        font-size: clamp(0.6em, 2.6vw, 0.85em);
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
    }
    .es-main { padding: 8px 10px; }
    .es-banner h1 { font-size: 1.8em; }
    .es-banner p { font-size: 0.85em; }
    .es-banner { padding: 12px 14px 10px; }
    .es-search-row { flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 8px 10px; }
    .es-search-group { flex: 1; min-width: 0; }
    .es-search-group input { max-width: none; width: 100%; font-size: 16px !important; height: 36px; }
    .es-filter-group { flex-shrink: 0; }
    .es-filter-select { height: 36px; font-size: 0.85em; }
    .es-date-btn { height: 36px; font-size: 1.2em; }
    .es-date-panel { width: 100%; }
    .es-tb-btn { font-size: 2em !important; }
    .es-footer { font-size: 0.7em; padding: 12px; }
}
@media (max-width: 480px) {
    .es-banner h1 { font-size: 1.6em; }
}
html, body { overflow-x: hidden; max-width: 100vw; }
.es-app-layout { max-width: 100vw; overflow-x: hidden; }


/* @CST:add:m4g1:meetup_groups_styles */
.es-mg-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.15s;
}
.es-mg-row:hover {
    background: rgba(207,107,255,0.1);
}
.es-mg-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.es-mg-thumb-placeholder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    background: rgba(207,107,255,0.15);
    border-radius: 6px;
    flex-shrink: 0;
}
.es-mg-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.es-mg-name {
    font-weight: 600;
    font-size: 0.88em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.es-mg-meta {
    font-size: 0.78em;
    opacity: 0.6;
}
.es-glb-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.es-glb-card {
    background: #1a1025;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
body.light .es-glb-card {
    background: #fff;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
.es-glb-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 2em;
    cursor: pointer;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    line-height: 1;
}
.es-glb-hero {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.es-glb-body {
    padding: 18px 22px 22px;
}
.es-glb-body h2 {
    margin: 0 0 8px;
    font-size: 1.3em;
    font-weight: 700;
}
.es-glb-meta {
    font-size: 0.9em;
    opacity: 0.7;
    margin-bottom: 14px;
    line-height: 1.6;
}
.es-glb-link {
    display: inline-block;
    padding: 8px 18px;
    background: #9c27b0;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    transition: background 0.15s;
}
.es-glb-link:hover {
    background: #ab47bc;
}
body.light .es-glb-link {
    background: #7b1fa2;
}
@media (max-width: 768px) {
    .es-glb-card {
        max-width: 95vw;
        margin: 10px;
    }
    .es-glb-hero {
        max-height: 220px;
    }
}
