/* Studio56 site themes — applied via <html data-site-theme="..."> (value saved from admin → Εμφάνιση → Θέμα ιστοσελίδας).
   "current" = no overrides (original look). */
html[data-site-theme="light"]{--t-bg:#eef3fa;--t-surface:#ffffff;--t-surface2:#f3f7fc;--t-line:#d3dfee;--t-text:#17324d;--t-muted:#5b7088;--t-accent:#2879ee;--t-accent-text:#ffffff}
html[data-site-theme="dark"]{--t-bg:#12151b;--t-surface:#1b1f27;--t-surface2:#252b36;--t-line:#414957;--t-text:#e8edf5;--t-muted:#9aa6b8;--t-accent:#3289ed;--t-accent-text:#ffffff}
html[data-site-theme="blue"]{--t-bg:#0c1a30;--t-surface:#10213b;--t-surface2:#18325a;--t-line:#304d75;--t-text:#e6f0ff;--t-muted:#9db6d6;--t-accent:#3289ed;--t-accent-text:#ffffff}
html[data-site-theme="purple"]{--t-bg:#170f22;--t-surface:#20152d;--t-surface2:#2e1d40;--t-line:#573b70;--t-text:#f0e8fa;--t-muted:#b9a5d1;--t-accent:#a56bfa;--t-accent-text:#ffffff}

/* shared rules for all non-"current" themes */
html:is([data-site-theme="light"],[data-site-theme="dark"],[data-site-theme="blue"],[data-site-theme="purple"]){color-scheme:dark}
html[data-site-theme="light"]{color-scheme:light}
html[data-site-theme]:not([data-site-theme="current"]) body:not([style*="background-image"]){background:var(--t-bg)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.panel,.chat.panel,.left nav,.box,.cols form,.studio56-header,.radio-bottom-bar,.studio-modal-window,.studio56-admin-menu,.emoji-picker,.auth-card,.profile-card,.user-card-body):not([style*="background-image"]){background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-text)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(#messages .chat-message,#messages p,.left nav a,.left nav button,.user-list-button,.app>.right #on p,.app>.right #off.list p,.pm-bubble,.studio56-admin-menu-item,.pm-chat-compose,.field){background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(input,textarea,select,#body){background:var(--t-surface2)!important;color:var(--t-text)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(input,textarea)::placeholder{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(button.send-btn,.send-btn,.tab.active,.radio-play,button[type=submit]){background:var(--t-accent)!important;color:var(--t-accent-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(h1,h2,h3,.nav-label,.user-list-name,.chat-message-main,.chat-message-body,.radio-track-name,.studio56-header-username){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.chat-message-meta,small,.hint,.user-list-last-seen,.radio-track-line,.form-heading p){color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) a:not(.send-btn){color:var(--t-accent)}
html[data-site-theme]:not([data-site-theme="current"]) :is(.online-nav-count,.user-count-pill){border-color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .studio-modal-backdrop{background:rgba(0,0,0,.55)!important}

/* light only: darker text for pieces that were bright-on-dark by default */
html[data-site-theme="light"] :is(.nav-label,.user-list-name,#messages p,#messages .chat-message *:not(img):not(.avatar-online-dot):not(b),.studio56-header-username,.radio-bottom-brand){color:var(--t-text)!important}
html[data-site-theme="light"] #messages .avatar-online-dot{border-color:#fff!important}


/* ===== v2: leftover dark areas / unreadable text found in the light theme screenshot ===== */
html[data-site-theme]:not([data-site-theme="current"]) :is(.app,.left,.right,.app>.left,.app>.right,main.chat-wrap,.camera-panel){background:transparent!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.camera-frame,.left iframe){background:var(--t-surface2)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .presence-system-message{background:var(--t-surface2)!important;border-color:var(--t-line)!important;box-shadow:none!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .presence-system-message :is(b,.presence-event-copy,.presence-event-verb,span){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .presence-system-message .presence-system-icon{background:var(--t-surface)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .app>.right :is(#on,#off,#pmusers).list p :is(button,.user-list-button,.user-list-row){background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .app>.right :is(#on,#off,#pmusers).list p :is(button,.user-list-button):hover{border-color:var(--t-accent)!important;background:var(--t-surface)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.user-list-name,.user-list-details){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.user-list-last-seen,.user-list-age){color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.user-list-heading,.online-heading,.offline-heading,.app>.right>.panel>h3){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .app>.right>.panel>h3{border-bottom-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(#send,#psend){background:var(--t-surface2)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(#send,#psend) input{color:var(--t-text)!important;background:var(--t-surface)!important;border-radius:9px!important}
html[data-site-theme]:not([data-site-theme="current"]) #send>button.emoji-toggle{background:var(--t-surface)!important;color:var(--t-accent)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .radio-bottom-bar{background:var(--t-surface)!important;border-top-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.radio-controls,.radio-track-info,.radio-volume){background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .radio-bottom-brand b{color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .radio-bottom-brand small{color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.radio-track-name,.radio-track-line,.radio-live-label){color:var(--t-text)!important}

/* pills (“1 online”, counts) — readable on every theme */
html[data-site-theme="light"] :is(.online-nav-count,.user-count-pill,.online-count-pill,.app>.right>.panel>h3 span,#onc,#offc){background:#e6f7ef!important;border:1px solid #9bd9bb!important;color:#0a7a4b!important}
html[data-site-theme="light"] :is(.offline-count-pill,#offc){background:#eef2f7!important;border-color:#cbd5e1!important;color:#51657d!important}
html[data-site-theme="light"] :is(.user-list-status){color:var(--t-muted)!important}


/* ===== v3: offline row (the <p> itself is .user-list-row), scrollbars, username shine, volume ===== */
html[data-site-theme]:not([data-site-theme="current"]) .app>.right .list p.user-list-row,html[data-site-theme]:not([data-site-theme="current"]) .app>.right #off.list p{background:var(--t-surface2)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) .app>.right #off.list p.user-list-row .user-list-button{background:transparent!important;border-color:transparent!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(#messages,.list,.app>.right .list,.user-card-body,.pm-chat-messages,.pm-modal-users){scrollbar-color:var(--t-line) transparent!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.radio-volume-slider,.radio-volume input){background:var(--t-line)!important;accent-color:var(--t-accent)}
html[data-site-theme="light"]{--username-shine-color:#1f2937}


/* ===== v4: profile / moderation modal ===== */
html[data-site-theme]:not([data-site-theme="current"]) :is(.studio-modal-head,.pm-chat-head){background:var(--t-surface2)!important;border-bottom:1px solid var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .studio-modal-close{background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .studio-modal-window{border-color:var(--t-accent)!important;box-shadow:0 18px 50px rgba(0,0,0,.28)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.user-card-name,.profile-card-name){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-card-status,.moderation-panel){background:var(--t-surface2)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .moderation-panel>label{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) .moderation-panel>select{background:var(--t-surface)!important;color:var(--t-text)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .moderation-grid button{background:var(--t-accent)!important;color:var(--t-accent-text)!important}


/* ===== v5: all remaining popups — PM list/chat, emoji picker, account menu, settings & blocked iframes, legal pages ===== */
/* windows & iframes */
html[data-site-theme]:not([data-site-theme="current"]) :is(.studio-modal-frame,#studioModal .studio-modal-frame){background:var(--t-surface)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.pm-chat-window,.pm-list-window,.user-card-window){background:var(--t-surface)!important;color:var(--t-text)!important}
/* private-message list */
html[data-site-theme]:not([data-site-theme="current"]) .pm-modal-user{background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-modal-user:hover,html[data-site-theme]:not([data-site-theme="current"]) .pm-modal-user:focus-visible{background:var(--t-surface)!important;border-color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-modal-user-text small{color:var(--t-muted)!important}
/* private-message chat */
html[data-site-theme]:not([data-site-theme="current"]) :is(.pm-chat-messages,#pmChatModal .pm-chat-messages){background:var(--t-surface)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-chat-messages p{background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-chat-messages small,html[data-site-theme]:not([data-site-theme="current"]) .pm-empty,html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-chat-messages .pm-empty{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.pm-bubble.received,#pmChatModal .pm-bubble.received){background:var(--t-surface2)!important;color:var(--t-text)!important;border:1px solid var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.pm-bubble.sent,#pmChatModal .pm-bubble.sent){background:var(--t-accent)!important;color:var(--t-accent-text)!important;border:1px solid var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.pm-bubble small,.pm-bubble time){color:inherit!important;opacity:.75}
html[data-site-theme]:not([data-site-theme="current"]) :is(#pmChatModal .pm-chat-profile-action,#pmChatModal #pmChatClose){background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.pm-chat-compose,#pmChatModal #psend){background:var(--t-surface2)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.pm-chat-compose input,#pmChatModal #psend>input){background:var(--t-surface)!important;color:var(--t-text)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-voice-status{background:var(--t-surface2)!important;color:var(--t-text)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-ignore-notice{background:var(--t-surface2)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-ignore-notice p{color:var(--t-muted)!important}
/* emoji / smiley picker */
html[data-site-theme]:not([data-site-theme="current"]) .emoji-picker{background:var(--t-surface)!important;border-color:var(--t-line)!important;box-shadow:0 12px 28px rgba(0,0,0,.2)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.s56-smiley-head,.s56-smiley-grid,#emojiPicker){color:var(--t-text)!important}
/* account dropdown & small action menus */
html[data-site-theme]:not([data-site-theme="current"]) :is(.studio56-admin-menu,.pm-actions-menu){background:var(--t-surface)!important;border-color:var(--t-line)!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.studio56-admin-menu-item,.studio56-menu-logout,.pm-actions-menu button){background:transparent!important;color:var(--t-text)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.studio56-admin-menu-item,.studio56-menu-logout,.pm-actions-menu button):hover{background:var(--t-surface2)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .studio56-admin-menu-heading{color:var(--t-muted)!important;border-bottom-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .studio56-menu-divider{background:var(--t-line)!important}
/* profile card details */
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-card-copy>b,.profile-card-fallback){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-card-copy>small,.profile-card-age){color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) .profile-card-top{border-bottom-color:var(--t-line)!important}
/* settings page (profile.php inside the popup) */
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-wrap,.profile-section,.profile-preview-card,.profile-head,.profile-footer){background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-text)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-section h2,.profile-section h3,.profile-heading-copy,.profile-heading-copy *,.field-block label,.section-title-row,.save-copy){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-eyebrow,.profile-head-pill,.field-block small,.save-copy small){color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-section input,.profile-section select,.profile-section textarea){background:var(--t-surface2)!important;color:var(--t-text)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-actions button,.profile-form button[type=submit]){background:var(--t-accent)!important;color:var(--t-accent-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .profile-notice.success{background:rgba(34,160,100,.14)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .profile-notice.error{background:rgba(220,60,70,.14)!important;color:var(--t-text)!important}
/* blocked users page + legal pages */
html[data-site-theme]:not([data-site-theme="current"]) :is(.blocked-intro,.blocked-user,.blocked-empty,.legal-wrap){background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-text)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.blocked-avatar,.blocked-symbol){background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .legal-wrap :is(h1,h2,h3,p,li,small,span){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(body.profile-page,body.blocked-page,body.legal-page){background:var(--t-bg)!important}


/* ===== v6: popups opened from the left menu (Προσωπικά, Αποκλεισμένοι, Ρυθμίσεις Προφίλ) — iframe pages ===== */
html[data-site-theme]:not([data-site-theme="current"]){background:var(--t-bg)!important;--p-bg:var(--t-bg);--p-text:var(--t-text);--p-muted:var(--t-muted);--p-line:var(--t-line)}
html[data-site-theme]:not([data-site-theme="current"]) body:not([style*="background-image"]){background:var(--t-bg)!important}
html[data-site-theme]:not([data-site-theme="current"]) body{color:var(--t-text)!important}

/* Ρυθμίσεις Προφίλ */
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-head,.profile-preview-card,.profile-section,.profile-actions){background:var(--t-surface)!important;border:1px solid var(--t-line)!important;box-shadow:none!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .profile-head:after{display:none!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-head h1,.section-title-row h2,.save-copy strong,.field-block label,.preview-user-copy>strong:not(.preview-rainbow)){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-head p,.section-title-row p,.field-block small,.save-copy small,.preview-topline,.preview-live,.preview-presence,.preview-footnote,.profile-footer,.profile-footer span,.section-number,.color-control span){color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-eyebrow,.preview-footnote span,.preview-sparkle){color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.profile-icon,.section-icon,.preview-sparkle,.save-copy>span,.profile-head-pill){background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .section-title-row,html[data-site-theme]:not([data-site-theme="current"]) .preview-footnote{border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.field-block input:not([type=color]):not([type=file]),.field-block select,.color-control,.avatar-upload){background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .field-block input:not([type=color]):not([type=file]):focus,html[data-site-theme]:not([data-site-theme="current"]) .field-block select:focus{border-color:var(--t-accent)!important;background:var(--t-surface)!important}
html[data-site-theme]:not([data-site-theme="current"]) .field-block input[type=file]{color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .field-block input[type=file]::file-selector-button{background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .preview-avatar{background:var(--t-surface2)!important}
html[data-site-theme]:not([data-site-theme="current"]) .profile-actions button{background:var(--t-accent)!important;border-color:var(--t-accent)!important;color:var(--t-accent-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .profile-notice.success{background:rgba(34,160,100,.14)!important;border-color:rgba(34,160,100,.4)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .profile-notice.error{background:rgba(220,60,70,.14)!important;border-color:rgba(220,60,70,.4)!important;color:var(--t-text)!important}

/* Αποκλεισμένοι χρήστες */
html[data-site-theme]:not([data-site-theme="current"]) :is(.blocked-intro,.blocked-user,.blocked-empty){background:var(--t-surface)!important;border-color:var(--t-line)!important;box-shadow:none!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.blocked-user,.blocked-empty){background:var(--t-surface2)!important}
html[data-site-theme]:not([data-site-theme="current"]) .blocked-intro h1{color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.blocked-intro p,.blocked-role,.blocked-empty p,.blocked-note){color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) .blocked-empty h2{color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) :is(.blocked-symbol,.blocked-avatar){background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .blocked-count{background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) .unblock-btn{background:var(--t-accent)!important;border-color:var(--t-accent)!important;color:var(--t-accent-text)!important}


/* ===== v7: Προσωπικές συνομιλίες (#pmChatModal) — real class names + ID specificity ===== */
html[data-site-theme="light"] #pmChatModal{background:rgba(30,41,59,.45)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-chat-window{background:var(--t-surface)!important;border-color:var(--t-accent)!important;box-shadow:0 18px 52px rgba(0,0,0,.28)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-chat-head{background:var(--t-surface2)!important;border-bottom:1px solid var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #ptitle{color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #pmChatPresence{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-chat-avatar{background:var(--t-surface)!important;border-color:var(--t-accent)!important;color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal :is(.pm-chat-profile-action,#pmChatClose){background:var(--t-surface)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal :is(.pm-chat-profile-action,#pmChatClose):hover{border-color:var(--t-accent)!important;background:var(--t-surface2)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-chat-messages{background:var(--t-surface)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-chat-messages .pm-empty{color:var(--t-muted)!important}
/* bubbles: theirs / mine */
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble{background:var(--t-surface2)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-row.mine .pm-bubble{background:var(--t-accent)!important;border-color:var(--t-accent)!important;color:var(--t-accent-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble small{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-row.mine .pm-bubble small{color:var(--t-accent-text)!important;opacity:.8}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-message-avatar{border-color:var(--t-line)!important}
/* voice messages */
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice :is(.pm-audio-label,.pm-audio-meta,.pm-audio-time){color:inherit!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice .pm-audio-play{background:var(--t-surface)!important;border:1px solid var(--t-accent)!important;color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice .pm-audio-play:hover{background:var(--t-surface2)!important;border-color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice .pm-audio-trackline{background:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice .pm-audio-seek::-webkit-slider-runnable-track{background:linear-gradient(90deg,var(--t-accent) var(--pm-progress,0%),var(--t-line) var(--pm-progress,0%))!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice .pm-audio-seek::-moz-range-track{background:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice .pm-audio-seek::-moz-range-progress{background:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice .pm-audio-seek::-webkit-slider-thumb{border-color:var(--t-accent)!important;background:var(--t-surface)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-bubble-voice .pm-audio-seek::-moz-range-thumb{border-color:var(--t-accent)!important;background:var(--t-surface)!important}
/* notices, status, emoji */
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-ignore-notice{background:var(--t-surface2)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-ignore-notice p{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-voice-status{background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-voice-status.error{color:#dc2626!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #pmEmojiPicker{background:var(--t-surface)!important;border:1px solid var(--t-line)!important}
/* compose bar */
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #psend{background:var(--t-surface2)!important;border-top:1px solid var(--t-line)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #psend>input{background:var(--t-surface)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #psend>input::placeholder{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #psend>button{background:var(--t-surface)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #psend>button:hover{background:var(--t-surface2)!important;border-color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #psend>button.send-btn{background:var(--t-accent)!important;border-color:var(--t-accent)!important;color:var(--t-accent-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal #psend .pm-voice-btn.recording{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal .pm-voice-cancel-icon{background:var(--t-surface)!important;border-color:var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmChatModal :is(.pm-chat-messages)::-webkit-scrollbar-thumb{background:var(--t-line)!important}


/* ===== v8: windows are styled with ID selectors + !important gradient in style.css (line ~1771) — match that specificity ===== */
html[data-site-theme]:not([data-site-theme="current"]) :is(#studioModal .studio-modal-window,#pmChatModal .pm-chat-window,#pmListModal .pm-list-window,#userCardModal .user-card-window){background:var(--t-surface)!important;border:1px solid var(--t-accent)!important;box-shadow:0 18px 52px rgba(0,0,0,.28)!important;color:var(--t-text)!important}
html[data-site-theme="light"] :is(.studio-modal-backdrop,.pm-list-backdrop,#pmListModal,#studioModal,#pmChatModal,#userCardModal){background:rgba(30,41,59,.45)!important}
/* Προσωπικές συνομιλίες (list) */
html[data-site-theme]:not([data-site-theme="current"]) #pmListModal :is(.studio-modal-head,#pmListTitle){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmListModal .pm-modal-users{background:var(--t-surface)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmListModal .pm-modal-user-text b{color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #pmListModal .pm-modal-user-text small{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-user-actions-toggle{background:var(--t-surface2)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-user-actions-toggle:hover,html[data-site-theme]:not([data-site-theme="current"]) .pm-user-actions-toggle[aria-expanded="true"]{background:var(--t-surface)!important;border-color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-actions-menu .pm-delete-action{color:#dc2626!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-unignore-btn{background:var(--t-surface2)!important;color:var(--t-text)!important;border:1px solid var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .pm-unread-badge{color:#fff!important}


/* ===== v9: login / register page ===== */
/* Chrome autofill: style.css paints a dark inset shadow (#071b32) + white text */
html[data-site-theme]:not([data-site-theme="current"]) .auth-card input:-webkit-autofill,html[data-site-theme]:not([data-site-theme="current"]) .auth-card input:-webkit-autofill:hover,html[data-site-theme]:not([data-site-theme="current"]) .auth-card input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--t-surface2) inset!important;-webkit-text-fill-color:var(--t-text)!important;caret-color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card .field,html[data-site-theme]:not([data-site-theme="current"]) .auth-card:not(.register-mode) .field,html[data-site-theme]:not([data-site-theme="current"]) .auth-card.register-mode #registerForm .field{background:var(--t-surface2)!important;border:1px solid var(--t-line)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card .field:focus-within{border-color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card .field input,html[data-site-theme]:not([data-site-theme="current"]) .auth-card:not(.register-mode) .field input,html[data-site-theme]:not([data-site-theme="current"]) .auth-card.register-mode #registerForm .field input{background:transparent!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card .field input::placeholder{color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card :is(.field>span,.eye,.form-heading>span,#registerForm .form-heading>span){color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card :is(.form-heading>span,#registerForm .form-heading>span){background:var(--t-surface2)!important;border-color:var(--t-line)!important}
/* tabs */
html[data-site-theme]:not([data-site-theme="current"]) .auth-tabs,html[data-site-theme]:not([data-site-theme="current"]) .auth-card.register-mode .auth-tabs{background:var(--t-surface2)!important;border:1px solid var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-tabs .tab{background:transparent!important;color:var(--t-muted)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-tabs .tab.active{background:var(--t-accent)!important;color:var(--t-accent-text)!important}
/* texts */
html[data-site-theme]:not([data-site-theme="current"]) .auth-card :is(.form-heading h1,#registerForm .form-heading h1){color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card :is(.form-heading p,.hint,.switch-copy,.guest-separator,.terms,.terms span,#registerForm .hint,#registerForm .form-heading p){color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card .switch-copy button{color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card .terms{background:var(--t-surface2)!important;border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-card:before{color:var(--t-accent)!important}
html[data-site-theme]:not([data-site-theme="current"]) .auth-error,html[data-site-theme]:not([data-site-theme="current"]) .auth-card .err{background:rgba(220,60,70,.12)!important;border-color:rgba(220,60,70,.4)!important;color:var(--t-text)!important}
/* left brand column: remove the black glow that blurs text on a light page */
html[data-site-theme="light"] body.auth-page:not([style*="background-image"]) .auth-brand{text-shadow:none!important}
html[data-site-theme="light"] body.auth-page:not([style*="background-image"]) .auth-brand :is(.tagline,.features div,.features span,.features strong){color:#0f2438!important}
html[data-site-theme="light"] body.auth-page:not([style*="background-image"]) .auth-brand .features small,html[data-site-theme="light"] body.auth-page:not([style*="background-image"]) .auth-brand .features p{color:#1f3a52!important}


/* ===== v10: smiley / emoji picker (#emojiPicker) ===== */
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker{background:var(--t-surface)!important;border:1px solid var(--t-line)!important;box-shadow:0 12px 30px rgba(0,0,0,.2)!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-image{background:var(--t-surface2)!important;border:1px solid var(--t-line)!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-image:hover,html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-image:focus-visible{background:var(--t-surface)!important;border-color:var(--t-accent)!important;box-shadow:0 5px 13px rgba(0,0,0,.14)!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-image.smiley-missing{color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-close{background:var(--t-surface2)!important;border:1px solid var(--t-line)!important;color:var(--t-text)!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-close:hover{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-note{background:var(--t-surface2)!important;border-color:var(--t-line)!important;color:var(--t-muted)!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-grid{scrollbar-color:var(--t-line) transparent!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-grid::-webkit-scrollbar-thumb{background:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-grid::-webkit-scrollbar-track{background:var(--t-surface2)!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-tabs{scrollbar-color:var(--t-line) transparent!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-tabs::-webkit-scrollbar-thumb{background:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) #emojiPicker .s56-smiley-tabs::-webkit-scrollbar-track{background:var(--t-surface2)!important}


/* ===== v11: keep the custom backgrounds set from admin (login page, page body, chat panel) ===== */
html[data-site-theme]:not([data-site-theme="current"]):has(body[style*="background-image"]){background:transparent!important}
html[data-site-theme]:not([data-site-theme="current"]) main#chat[style*="background-image"]{border-color:var(--t-line)!important}
html[data-site-theme]:not([data-site-theme="current"]) body[style*="background-image"]{background-size:cover!important;background-position:center!important}


/* ===== v12: when a background photo is set, let it show through panels, rows and columns ===== */
html[data-site-theme="light"]:has(body[style*="background-image"]){--t-surface:color-mix(in srgb,#ffffff 72%,transparent);--t-surface2:color-mix(in srgb,#f3f7fc 62%,transparent)}
html[data-site-theme="light"]:has(body[style*="background-image"]) :is(#studioModal,#pmChatModal,#pmListModal,#userCardModal,#emojiPicker,.emoji-picker,.pm-emoji-picker,.studio56-admin-menu,.pm-actions-menu,.studio-modal-window,.pm-chat-window,.pm-list-window,.user-card-window){--t-surface:#ffffff;--t-surface2:#f3f7fc}
html[data-site-theme="dark"]:has(body[style*="background-image"]){--t-surface:color-mix(in srgb,#1b1f27 72%,transparent);--t-surface2:color-mix(in srgb,#252b36 62%,transparent)}
html[data-site-theme="dark"]:has(body[style*="background-image"]) :is(#studioModal,#pmChatModal,#pmListModal,#userCardModal,#emojiPicker,.emoji-picker,.pm-emoji-picker,.studio56-admin-menu,.pm-actions-menu,.studio-modal-window,.pm-chat-window,.pm-list-window,.user-card-window){--t-surface:#1b1f27;--t-surface2:#252b36}
html[data-site-theme="blue"]:has(body[style*="background-image"]){--t-surface:color-mix(in srgb,#10213b 72%,transparent);--t-surface2:color-mix(in srgb,#18325a 62%,transparent)}
html[data-site-theme="blue"]:has(body[style*="background-image"]) :is(#studioModal,#pmChatModal,#pmListModal,#userCardModal,#emojiPicker,.emoji-picker,.pm-emoji-picker,.studio56-admin-menu,.pm-actions-menu,.studio-modal-window,.pm-chat-window,.pm-list-window,.user-card-window){--t-surface:#10213b;--t-surface2:#18325a}
html[data-site-theme="purple"]:has(body[style*="background-image"]){--t-surface:color-mix(in srgb,#20152d 72%,transparent);--t-surface2:color-mix(in srgb,#2e1d40 62%,transparent)}
html[data-site-theme="purple"]:has(body[style*="background-image"]) :is(#studioModal,#pmChatModal,#pmListModal,#userCardModal,#emojiPicker,.emoji-picker,.pm-emoji-picker,.studio56-admin-menu,.pm-actions-menu,.studio-modal-window,.pm-chat-window,.pm-list-window,.user-card-window){--t-surface:#20152d;--t-surface2:#2e1d40}
html[data-site-theme]:not([data-site-theme="current"]):has(body[style*="background-image"]) :is(.app,.left,.right,aside.left,aside.right,.app>.left,.app>.right){background:transparent!important;border-color:transparent!important;box-shadow:none!important}
html[data-site-theme]:not([data-site-theme="current"]):has(body[style*="background-image"]) :is(#messages,.chat-wrap,main#chat>#messages){background:transparent!important}
html[data-site-theme]:not([data-site-theme="current"]):has(body[style*="background-image"]) :is(#messages .chat-message,.presence-system-message){backdrop-filter:blur(6px)}
html[data-site-theme]:not([data-site-theme="current"]):has(body[style*="background-image"]) :is(.panel,.left nav,.studio56-header,.radio-bottom-bar){backdrop-filter:blur(8px)}


/* ===== v13: photo + light theme ===== */
/* chat page: style.css hides the body photo, so the page colour must still follow the theme (was left dark in the light theme) */
html[data-site-theme]:not([data-site-theme="current"]) body[style*="background-image"]:not(.auth-page){background-color:var(--t-bg)!important}

/* ===== Neon Equalizer: σκούρο μπλε-μωβ, γυάλινα πάνελ, νέον κυανό→μωβ→ροζ (ταιριάζει με φόντο ισοσταθμιστή) ===== */
html[data-site-theme="neon"]{--t-bg:#060a24;--t-surface:rgba(8,18,52,.62);--t-surface2:rgba(16,30,78,.55);--t-line:rgba(64,128,255,.38);--t-text:#eef0ff;--t-muted:#a6bce8;--t-accent:#3b82f6;--t-accent-text:#ffffff;--neon-a:#22d3ee;--neon-b:#3b82f6;--neon-c:#6366f1;color-scheme:dark}
html[data-site-theme="neon"] body:not([style*="background-image"]){background:radial-gradient(ellipse at 20% 0%,rgba(59,130,246,.35),transparent 55%),radial-gradient(ellipse at 85% 100%,rgba(34,211,238,.28),transparent 55%),radial-gradient(ellipse at 50% 70%,rgba(99,102,241,.18),transparent 60%),#060a24!important;background-attachment:fixed!important}
/* γυάλινα πάνελ με νέον περίγραμμα */
html[data-site-theme="neon"] :is(.panel,.chat.panel,.left nav,.box,.studio56-header,.radio-bottom-bar,.auth-card,.profile-card){backdrop-filter:blur(10px) saturate(1.2);-webkit-backdrop-filter:blur(10px) saturate(1.2);border:1px solid rgba(64,128,255,.38)!important;box-shadow:0 0 0 1px rgba(34,211,238,.06) inset,0 10px 40px rgba(20,10,80,.45)!important}
html[data-site-theme="neon"] :is(.panel,.chat.panel){border-radius:22px!important}
html[data-site-theme="neon"] .studio56-header{background:rgba(6,10,36,.72)!important;border-width:0 0 1px!important;border-image:linear-gradient(90deg,transparent,#22d3ee,#3b82f6,#6366f1,transparent) 1!important}
html[data-site-theme="neon"] .radio-bottom-bar{background:rgba(6,10,36,.8)!important;border-width:1px 0 0!important;border-image:linear-gradient(90deg,transparent,#22d3ee,#3b82f6,#6366f1,transparent) 1!important}
/* μηνύματα: γυαλί + λεπτή νέον γραμμή αριστερά */
html[data-site-theme="neon"] #messages .chat-message,html[data-site-theme="neon"] .presence-system-message{background:rgba(10,22,60,.58)!important;border:1px solid rgba(64,128,255,.28)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);position:relative}
html[data-site-theme="neon"] #messages .chat-message::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;background:linear-gradient(180deg,#22d3ee,#3b82f6,#6366f1);opacity:.85}
html[data-site-theme="neon"] #messages .chat-message:hover{border-color:rgba(34,211,238,.45)!important;box-shadow:0 0 18px rgba(34,211,238,.12)!important}
/* μενού αριστερά */
html[data-site-theme="neon"] :is(.left nav a,.left nav button){background:rgba(14,28,72,.5)!important;border:1px solid rgba(64,128,255,.22)!important;transition:box-shadow .2s,border-color .2s}
html[data-site-theme="neon"] :is(.left nav a,.left nav button):hover{border-color:rgba(34,211,238,.5)!important;box-shadow:0 0 16px rgba(34,211,238,.18)!important}
html[data-site-theme="neon"] :is(.left nav a.active,.left nav a[aria-current],.tab.active){background:linear-gradient(135deg,rgba(34,211,238,.22),rgba(59,130,246,.28))!important;border-color:rgba(34,211,238,.6)!important;box-shadow:0 0 20px rgba(59,130,246,.35)!important;color:#fff!important}
/* λίστα χρηστών δεξιά */
html[data-site-theme="neon"] :is(.app>.right #on p,.app>.right #off.list p,.user-list-button){background:rgba(14,28,72,.5)!important;border:1px solid rgba(64,128,255,.25)!important}
/* κουμπιά: νέον gradient */
html[data-site-theme="neon"] :is(button.send-btn,.send-btn,.radio-play,button[type=submit]){background:linear-gradient(135deg,#22d3ee,#3b82f6 55%,#6366f1)!important;border:0!important;color:#fff!important;box-shadow:0 0 18px rgba(59,130,246,.55)!important}
html[data-site-theme="neon"] :is(button.send-btn,.send-btn,.radio-play,button[type=submit]):hover{filter:brightness(1.12);box-shadow:0 0 26px rgba(34,211,238,.6)!important}
/* πεδίο γραφής */
html[data-site-theme="neon"] :is(input,textarea,select,#body){background:rgba(8,12,40,.65)!important;border:1px solid rgba(64,128,255,.35)!important;color:#eef0ff!important}
html[data-site-theme="neon"] :is(input,textarea,select,#body):focus{border-color:#22d3ee!important;box-shadow:0 0 0 3px rgba(34,211,238,.18),0 0 18px rgba(34,211,238,.25)!important;outline:none!important}
/* παράθυρα (PM, κάρτα χρήστη, emoji) — πιο συμπαγή για να διαβάζονται */
html[data-site-theme="neon"] :is(#studioModal,#pmChatModal,#pmListModal,#userCardModal,#emojiPicker,.emoji-picker,.pm-emoji-picker,.studio56-admin-menu,.pm-actions-menu,.studio-modal-window,.pm-chat-window,.pm-list-window,.user-card-window){--t-surface:#0b1a40;--t-surface2:#13234f}
/* με φωτογραφία φόντου: ακόμα πιο διάφανα */
html[data-site-theme="neon"]:has(body[style*="background-image"]){--t-surface:rgba(10,14,46,.5);--t-surface2:rgba(14,28,72,.45)}
/* ονόματα/ετικέτες λίγο glow */
html[data-site-theme="neon"] :is(.studio56-header-username,.user-list-name){text-shadow:0 0 10px rgba(59,130,246,.45)}
html[data-site-theme="neon"] ::selection{background:rgba(59,130,246,.55);color:#fff}
html[data-site-theme="neon"] *{scrollbar-color:#2f5fd0 transparent}
html[data-site-theme="neon"] body:not(#_) :is(button.send-btn,.send-btn,.radio-play,#chat button[type=submit],.chat-compose button[type=submit]):not(#_){background:linear-gradient(135deg,#22d3ee,#3b82f6 55%,#6366f1)!important;background-image:linear-gradient(135deg,#22d3ee,#3b82f6 55%,#6366f1)!important;border:0!important;color:#fff!important;box-shadow:0 0 18px rgba(59,130,246,.55)!important}
html[data-site-theme="neon"] body:not(#_) .left nav :is(a,button).active:not(#_){box-shadow:0 0 20px rgba(59,130,246,.35)!important}
/* Neon: αρχική / σύνδεση */
html[data-site-theme="neon"] body.auth-page:not([style*="background-image"]):not(#_){background:radial-gradient(ellipse at 15% 10%,rgba(59,130,246,.38),transparent 50%),radial-gradient(ellipse at 90% 95%,rgba(34,211,238,.30),transparent 50%),radial-gradient(ellipse at 55% 60%,rgba(99,102,241,.16),transparent 55%),#060a24!important;background-attachment:fixed!important}
html[data-site-theme="neon"] body.auth-page::after{content:"";position:fixed;left:0;right:0;bottom:0;height:30vh;pointer-events:none;z-index:-1;opacity:.38;
  background:repeating-linear-gradient(0deg,transparent 0 9px,rgba(6,10,36,1) 9px 12px),linear-gradient(90deg,#22d3ee,#3b82f6 50%,#6366f1);
  -webkit-mask:linear-gradient(transparent,#000 70%);mask:linear-gradient(transparent,#000 70%);
  clip-path:polygon(0.0% 100%,0.0% 61.8%,1.67% 61.8%,1.67% 100%,2.27% 100%,2.27% 47.0%,3.95% 47.0%,3.95% 100%,4.55% 100%,4.55% 36.9%,6.22% 36.9%,6.22% 100%,6.82% 100%,6.82% 34.1%,8.49% 34.1%,8.49% 100%,9.09% 100%,9.09% 39.5%,10.76% 39.5%,10.76% 100%,11.36% 100%,11.36% 51.5%,13.04% 51.5%,13.04% 100%,13.64% 100%,13.64% 59.7%,15.31% 59.7%,15.31% 100%,15.91% 100%,15.91% 51.5%,17.58% 51.5%,17.58% 100%,18.18% 100%,18.18% 48.5%,19.85% 48.5%,19.85% 100%,20.45% 100%,20.45% 52.7%,22.13% 52.7%,22.13% 100%,22.73% 100%,22.73% 64.1%,24.4% 64.1%,24.4% 100%,25.0% 100%,25.0% 72.4%,26.67% 72.4%,26.67% 100%,27.27% 100%,27.27% 65.7%,28.95% 65.7%,28.95% 100%,29.55% 100%,29.55% 50.4%,31.22% 50.4%,31.22% 100%,31.82% 100%,31.82% 41.1%,33.49% 41.1%,33.49% 100%,34.09% 100%,34.09% 39.6%,35.76% 39.6%,35.76% 100%,36.36% 100%,36.36% 45.4%,38.04% 45.4%,38.04% 100%,38.64% 100%,38.64% 56.4%,40.31% 56.4%,40.31% 100%,40.91% 100%,40.91% 47.1%,42.58% 47.1%,42.58% 100%,43.18% 100%,43.18% 38.4%,44.85% 38.4%,44.85% 100%,45.45% 100%,45.45% 36.8%,47.13% 36.8%,47.13% 100%,47.73% 100%,47.73% 43.2%,49.4% 43.2%,49.4% 100%,50.0% 100%,50.0% 56.4%,51.67% 56.4%,51.67% 100%,52.27% 100%,52.27% 69.5%,53.95% 69.5%,53.95% 100%,54.55% 100%,54.55% 62.0%,56.22% 62.0%,56.22% 100%,56.82% 100%,56.82% 59.0%,58.49% 59.0%,58.49% 100%,59.09% 100%,59.09% 54.1%,60.76% 54.1%,60.76% 100%,61.36% 100%,61.36% 54.8%,63.04% 54.8%,63.04% 100%,63.64% 100%,63.64% 61.2%,65.31% 61.2%,65.31% 100%,65.91% 100%,65.91% 58.9%,67.58% 58.9%,67.58% 100%,68.18% 100%,68.18% 44.5%,69.85% 44.5%,69.85% 100%,70.45% 100%,70.45% 36.0%,72.13% 36.0%,72.13% 100%,72.73% 100%,72.73% 35.4%,74.4% 35.4%,74.4% 100%,75.0% 100%,75.0% 42.6%,76.67% 42.6%,76.67% 100%,77.27% 100%,77.27% 55.4%,78.95% 55.4%,78.95% 100%,79.55% 100%,79.55% 51.5%,81.22% 51.5%,81.22% 100%,81.82% 100%,81.82% 44.2%,83.49% 44.2%,83.49% 100%,84.09% 100%,84.09% 43.4%,85.76% 43.4%,85.76% 100%,86.36% 100%,86.36% 50.4%,88.04% 50.4%,88.04% 100%,88.64% 100%,88.64% 64.1%,90.31% 64.1%,90.31% 100%,90.91% 100%,90.91% 81.2%,92.58% 81.2%,92.58% 100%,93.18% 100%,93.18% 64.9%,94.85% 64.9%,94.85% 100%,95.45% 100%,95.45% 51.3%,97.13% 51.3%,97.13% 100%,97.73% 100%,97.73% 44.4%,99.4% 44.4%,99.4% 100%)}
html[data-site-theme="neon"] body.auth-page:not(#_) .auth-card:not(#_){background:rgba(8,18,52,.62)!important;backdrop-filter:blur(14px) saturate(1.3);-webkit-backdrop-filter:blur(14px) saturate(1.3);border:1px solid rgba(64,128,255,.45)!important;box-shadow:0 0 0 1px rgba(34,211,238,.08) inset,0 0 60px rgba(59,130,246,.25),0 30px 80px rgba(0,0,0,.5)!important}
html[data-site-theme="neon"] body.auth-page:not(#_) :is(.auth-card button[type=submit],.submit-btn,.auth-submit,.btn-primary):not(#_){background:linear-gradient(135deg,#22d3ee,#3b82f6 55%,#6366f1)!important;border:0!important;color:#fff!important;box-shadow:0 0 26px rgba(59,130,246,.55)!important}
html[data-site-theme="neon"] body.auth-page:not(#_) :is(.auth-tabs .tab.active,.auth-tab.active,[role=tab][aria-selected=true]):not(#_){background:linear-gradient(135deg,rgba(34,211,238,.25),rgba(59,130,246,.35))!important;border-color:rgba(34,211,238,.6)!important;color:#fff!important;box-shadow:0 0 18px rgba(59,130,246,.35)!important}
html[data-site-theme="neon"] body.auth-page :is(.brand-name,.auth-brand h1,.auth-hero h1){background:linear-gradient(90deg,#ffffff 20%,#a5f3fc 50%,#93c5fd 80%);-webkit-background-clip:text;background-clip:text;color:transparent!important;text-shadow:none!important;filter:drop-shadow(0 0 18px rgba(59,130,246,.45))}
html[data-site-theme="neon"] body.auth-page :is(.feature-icon,.auth-feature-icon,.feature i,.features li>span:first-child){box-shadow:0 0 18px rgba(59,130,246,.35)!important;border-color:rgba(64,128,255,.45)!important}
/* ΔΙΟΡΘΩΣΗ: το backdrop-filter σε «κουτιά» που περιέχουν αναδυόμενα (position:fixed) τα έκρυβε (π.χ. μενού πάνω δεξιά).
   Θόλωμα μένει μόνο στα μηνύματα· τα κουτιά γίνονται λίγο πιο συμπαγή. */
html[data-site-theme]:not([data-site-theme="current"]) :is(.studio56-header,.radio-bottom-bar,.panel,.chat.panel,.left nav,.box,.auth-card,.profile-card){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html[data-site-theme="neon"]{--t-surface:rgba(8,18,52,.78);--t-surface2:rgba(14,28,72,.62)}
html[data-site-theme="neon"]:has(body[style*="background-image"]){--t-surface:rgba(8,18,52,.62);--t-surface2:rgba(14,28,72,.5)}
html[data-site-theme="neon"] body.auth-page:not(#_) .auth-card:not(#_){background:rgba(8,18,52,.82)!important}
/* Neon: όλα τα αναδυόμενα (μενού, παράθυρα, PM, κάρτα χρήστη, emoji, ειδοποιήσεις) στο ίδιο μπλε νέον στυλ */
html[data-site-theme="neon"] body:not(#_) :is(#studio56AdminMenu,.studio56-admin-menu,.studio-modal-window,.emoji-picker,.pm-emoji-picker,.pm-actions-menu,.s56-msg-menu,.attach-menu,.s56-toast,.game-dock,.s56-dlg-card):not(#_){
  --t-surface:#0b1a40;--t-surface2:#13265a;--t-line:rgba(64,128,255,.42);--t-text:#eef4ff;--t-muted:#a6bce8;--t-accent:#3b82f6;
  --up-page:#0b1a40;--up-card:rgba(19,38,90,.75);--up-row:rgba(19,38,90,.75);--up-row-hover:rgba(34,211,238,.12);--up-field:#0a1636;--up-line:rgba(64,128,255,.35);--up-text:#eef4ff;--up-muted:#a6bce8;--up-accent:#22d3ee;--up-accent-2:#3b82f6;--up-ring-gap:#0b1a40;
  --dl-bg:#0b1a40;--dl-line:rgba(64,128,255,.45);--dl-txt:#eef4ff;--dl-mute:#a6bce8;--dl-acc:#22d3ee;--dl-acc2:#3b82f6;
  background:linear-gradient(160deg,#0d1f4d 0%,#081536 60%,#071030 100%)!important;border:1px solid rgba(64,128,255,.45)!important;color:#eef4ff!important;
  box-shadow:0 0 0 1px rgba(34,211,238,.08) inset,0 0 34px rgba(59,130,246,.28),0 20px 50px rgba(0,0,0,.55)!important}
html[data-site-theme="neon"] body:not(#_) :is(#studio56AdminMenu,.studio56-admin-menu,.pm-actions-menu,.s56-msg-menu,.attach-menu):not(#_) :is(a,button,.studio56-admin-menu-item):hover{background:linear-gradient(135deg,rgba(34,211,238,.16),rgba(59,130,246,.2))!important}
html[data-site-theme="neon"] body:not(#_) :is(.studio-modal-window,.s56-dlg-card) :is(button.primary,.btn-primary,button[type=submit],.s56-dlg-yes):not(#_){background:linear-gradient(135deg,#22d3ee,#3b82f6 55%,#6366f1)!important;color:#fff!important;border:0!important}
html[data-site-theme="neon"] body:not(#_) .studio-modal-window :is(header,.studio-modal-head,.modal-head):not(#_){background:transparent!important;border-color:rgba(64,128,255,.3)!important}
html[data-site-theme="neon"] body:not(#_) .studio-modal-window :is(.pm-bubble,.pm-chat-compose,.field,input,textarea,select):not(#_){background:#0a1636!important;border-color:rgba(64,128,255,.35)!important;color:#eef4ff!important}
html[data-site-theme="neon"] body:not(#_) .studio-modal-window .pm-bubble.mine:not(#_),html[data-site-theme="neon"] body:not(#_) .studio-modal-window .pm-bubble.is-mine:not(#_){background:linear-gradient(135deg,rgba(34,211,238,.28),rgba(59,130,246,.35))!important}
