:root { color-scheme: dark; }
body.chls-app { margin: 0; background: radial-gradient(circle at top left, rgba(0, 196, 65, 0.22), transparent 30%), radial-gradient(circle at top right, rgba(255, 48, 48, 0.08), transparent 18%), linear-gradient(180deg, #020502 0%, #07110a 34%, #05080d 100%); color: #f8fafc; font-family: "Segoe UI", sans-serif; }
.chls-backdrop { position: fixed; inset: 0; background: linear-gradient(160deg, rgba(3, 7, 4, 0.9), rgba(9, 17, 13, 0.82)), radial-gradient(circle at center, rgba(0, 205, 55, 0.12), transparent 42%); pointer-events: none; }
.chls-layout { position: relative; z-index: 1; max-width: 1400px; margin: 0 auto; padding: 24px; }
.chls-header, .chls-footer-row, .chls-section-head, .chls-chat-head, .chls-form-actions, .chls-actions, .chls-hero-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.chls-header, .chls-panel, .chls-card, .chls-video-shell { border: 1px solid rgba(177, 255, 199, 0.14); background: rgba(10, 18, 14, 0.88); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34); }
.chls-header, .chls-panel, .chls-card { border-radius: 24px; }
.chls-header, .chls-panel, .chls-footer { margin-bottom: 24px; }
.chls-header, .chls-panel, .chls-card { padding: 24px; }
.chls-app-home .chls-header, .chls-app-live .chls-header { background: transparent !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; padding: 0 !important; margin-bottom: 2px; }
.chls-brand img, .chls-footer img, .chls-hero-logo { max-height: 56px; width: auto; display: block; }
.chls-brand span { color: #ffffff; font-weight: 800; letter-spacing: 0.06em; }
.chls-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.chls-nav a, .chls-text-link { color: #f5fff7; text-decoration: none; font-weight: 600; }
.chls-nav a:hover, .chls-text-link:hover { color: #96ffae; }
.chls-app-home .chls-header, .chls-app-live .chls-header { justify-content: flex-end; }
.chls-header-whatsapp { white-space: nowrap; gap: 12px; }
.chls-whats-icon { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: #0f8f43; color: #eaffef; font-size: 13px; line-height: 1; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.chls-live-hero, .chls-live-layout { display: grid; gap: 24px; }
.chls-live-hero { grid-template-columns: 1fr; align-items: stretch; }
.chls-hero-brand { display: grid; align-items: center; justify-items: center; min-height: 84px; padding: 0; }
.chls-hero-logo { max-height: 72px; }
.chls-logo-placeholder { width: min(100%, 480px); height: 84px; border-radius: 18px; border: 1px dashed rgba(177, 255, 199, 0.24); background: rgba(255, 255, 255, 0.03); }
.chls-copy h1, .chls-overview-hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.95; margin: 12px 0 18px; letter-spacing: -0.04em; }
.chls-copy p, .chls-overview-hero p, .chls-card p, .chls-eyebrow, .chls-dashboard-form small, .chls-inline-field small { color: #d4e3d7; }
.chls-pill, .chls-chat-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(34, 197, 94, 0.16); color: #f8fff8; border: 1px solid rgba(137, 255, 168, 0.2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.chls-button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; padding: 14px 18px; background: var(--chls-primary); color: #061018; font-weight: 700; cursor: pointer; text-decoration: none; }
.chls-button:hover { filter: brightness(1.08); }
.chls-button.is-secondary { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); }
.chls-status-card { display: grid; align-content: start; gap: 14px; width: min(100%, 360px); padding: 28px; border-radius: 24px; background: linear-gradient(155deg, rgba(0, 128, 40, 0.26), rgba(255, 255, 255, 0.05)); border: 1px solid rgba(111, 255, 154, 0.22); }
.chls-status-card strong { display: block; font-size: 1.7rem; margin-bottom: 10px; color: #fff; }
.chls-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; background: var(--chls-primary); }
.chls-grid-two, .chls-status-grid, .chls-form-grid, .chls-sponsors, .chls-dashboard { display: grid; gap: 18px; }
.chls-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chls-status-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.chls-status-grid article { padding: 20px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); }
.chls-status-grid span { color: #bfe3c6; }
.chls-status-grid strong, .chls-card h3, .chls-panel h2, .chls-dashboard-form label span, .chls-inline-field span { display: block; color: #ffffff; }
.chls-status-grid strong { font-size: 1.4rem; margin-top: 8px; }
.chls-live-layout { grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr); align-items: stretch; }
.chls-live-main, .chls-chat-side { display: flex; flex-direction: column; gap: 24px; }
.chls-live-main { height: 100%; }
.chls-chat-side { height: 100%; }
.chls-video-shell { position: relative; overflow: hidden; border-radius: 28px; min-height: 520px; padding: 0; border-color: rgba(119, 255, 151, 0.18); }
.chls-video-overlay { position: absolute; top: 18px; left: 18px; right: 18px; z-index: 2; display: flex; justify-content: space-between; align-items: center; }
.chls-video-overlay strong { color: #ffffff; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); }
#chls-player, .video-js { width: 100%; min-height: 520px; background: #02050b; }
.chls-video-fallback { display: none; position: absolute; inset: 0; padding: 28px; place-items: center; text-align: center; background: linear-gradient(180deg, rgba(4, 7, 13, 0.6), rgba(4, 7, 13, 0.96)); color: #fff; }
.chls-video-fallback.is-visible { display: grid; }
.chls-chat-title { display: grid; gap: 2px; line-height: 1.05; }
.chls-chat-title .chls-eyebrow { margin: 0; }
.chls-chat-title h2 { margin: 0; font-size: 1.55rem; }
.chls-chat-head { align-items: flex-start; }
.chls-chat-head .chls-chat-badge { margin-top: 2px; }
.chls-chat-log { height: 340px; overflow: auto; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 16px; }
.chls-chat-message { padding: 10px 12px; border-radius: 14px; margin-bottom: 10px; background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.chls-chat-message strong { display: block; margin-bottom: 6px; }
.chls-chat-form, .chls-dashboard-form, .chls-repeater { display: grid; gap: 16px; }
.chls-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chls-dashboard-form input:not([type="checkbox"]), .chls-dashboard-form textarea, .chls-dashboard-form select, .chls-chat-form input:not([type="checkbox"]), .chls-chat-form textarea { width: 100%; border: 1px solid rgba(194, 255, 209, 0.22); border-radius: 14px; background: rgba(255, 255, 255, 0.09); color: #ffffff; padding: 14px; box-sizing: border-box; font-size: 0.98rem; }
.chls-dashboard-form input:not([type="checkbox"])::placeholder, .chls-dashboard-form textarea::placeholder, .chls-chat-form input:not([type="checkbox"])::placeholder, .chls-chat-form textarea::placeholder { color: #d9e8dc; opacity: 0.85; }
.chls-dashboard-form input:not([type="checkbox"]):focus, .chls-dashboard-form textarea:focus, .chls-dashboard-form select:focus, .chls-chat-form input:not([type="checkbox"]):focus, .chls-chat-form textarea:focus { outline: none; border-color: rgba(124, 255, 159, 0.9); box-shadow: 0 0 0 3px rgba(57, 255, 106, 0.16); background: rgba(255, 255, 255, 0.12); }
.chls-dashboard-form input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--chls-primary); }
.chls-dashboard-form label, .chls-inline-field, .chls-repeater-card { display: grid; gap: 8px; }
.chls-dashboard-form label, .chls-inline-field { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.06); }
.chls-dashboard-form label span, .chls-inline-field span { font-size: 0.96rem; font-weight: 700; letter-spacing: 0.01em; }
.chls-dashboard-form label small, .chls-inline-field small { font-size: 0.84rem; line-height: 1.45; }
.chls-upload-button { margin-top: 6px; width: fit-content; }
.chls-section-head--dashboard { margin-bottom: 10px; }
.chls-tabs { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.chls-tabs button { border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: #eefbf0; padding: 10px 14px; cursor: pointer; font-weight: 700; }
.chls-tabs button.is-active { background: linear-gradient(135deg, #1bff55, #96ff00); color: #031106; border-color: rgba(170, 255, 191, 0.5); }
.chls-tab-panel { display: none; }
.chls-tab-panel.is-active { display: block; }
.chls-repeater-card { padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chls-repeater-actions { display: flex; justify-content: space-between; gap: 12px; }
.chls-banner-zone { min-height: 90px; }
.chls-banner-zone:empty { min-height: 0; }
.chls-live-main > .chls-banner-zone:empty { display: none; }
.chls-ad-panel { margin-top: auto; }
.chls-chat-side .chls-panel { margin-top: auto; }
.chls-banner-item, .chls-sponsor-item { display: block; border-radius: 20px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.05); }
.chls-banner-item img, .chls-sponsor-item img { display: block; width: 100%; height: auto; }
.chls-sponsors { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 18px; }
.chls-ad-panel { padding-top: 20px; }
.chls-form-feedback { color: #d9f8de; font-weight: 600; }
.chls-login-error { padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 110, 110, 0.4); background: rgba(120, 12, 12, 0.32); color: #ffe3e3; margin-bottom: 16px; }
.chls-footer { margin-bottom: 0; padding-bottom: 4px; }
.chls-footer-copy { text-align: center; color: #d8e7db; padding: 4px 0 2px; }
.chls-footer-copy small { color: #d8e7db; font-size: 11px; line-height: 1.2; }
.chls-footer-copy a { color: inherit; text-decoration: none; }
.chls-footer-copy img { display: inline-block; vertical-align: middle; object-fit: contain; }
.chls-dashboard .chls-panel, .chls-public .chls-panel, .chls-chat-side .chls-card { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22); }
select option { background: #102015; color: #ffffff; }
@media (max-width: 980px) { .chls-live-hero, .chls-live-layout, .chls-grid-two, .chls-status-grid, .chls-form-grid, .chls-repeater-card { grid-template-columns: 1fr; } .chls-header, .chls-footer-row, .chls-section-head, .chls-form-actions, .chls-actions, .chls-hero-actions { align-items: flex-start; flex-direction: column; } .chls-layout { padding: 16px; } .chls-status-card { width: 100%; } .chls-app-home .chls-header, .chls-app-live .chls-header { padding-top: 0; } .chls-chat-head { align-items: center; flex-direction: row; } }
