*{margin:0;padding:0;box-sizing:border-box;font-family:'Roboto',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif}
html,body{width:100%;height:100%;background:#dfdfdf;overflow:hidden;user-select:none}

/* SPLASH LOADING SCREEN (OmeTV / Omegle 1:1) */
.splash-screen{position:fixed;inset:0;background:#fff;z-index:9999;display:flex;align-items:center;justify-content:center;transition:opacity .45s ease,visibility .45s ease}
.splash-screen.hidden{opacity:0;visibility:hidden;pointer-events:none}
.splash-content{display:flex;flex-direction:column;align-items:center;gap:36px;animation:splashFadeIn .4s ease-out}
@keyframes splashFadeIn{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
.splash-spinner{width:38px;height:38px;border:3px solid #e5e7eb;border-top-color:#9ca3af;border-radius:50%;animation:spin .8s linear infinite}

/* OUTER — Compact Margins (top/bottom & sides) */
.ometv-outer{width:100%;height:100vh;display:flex;justify-content:center;align-items:center;background:#dfdfdf;padding:16px 54px}
.ometv-main{width:100%;max-width:1180px;height:100%;max-height:calc(100vh - 32px);display:flex;flex-direction:column;background:#ededed;box-shadow:0 4px 24px rgba(0,0,0,.12);border-radius:10px;overflow:hidden}

/* VIDEO STAGE */
.video-stage{flex:1 1 0;min-height:0;min-width:0;display:flex;width:100%;background:#000;position:relative}
.screen-box{flex:1 1 0;min-height:0;min-width:0;height:100%;position:relative;background:#1a1a1a;overflow:hidden;display:flex;align-items:center;justify-content:center}
.left-screen{border-right:1px solid #141414}
.screen-box video{width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}
.left-screen video{transform:scaleX(-1) !important}
.right-screen video{transform:scaleX(-1)}
.right-screen video.rear-camera{transform:none !important}
.denied-box{position:absolute;inset:0;background:#1c1c1c;color:#e0e0e0;display:flex;align-items:center;justify-content:center;padding:30px;text-align:center}
.denied-box p{max-width:440px;font-size:.95rem;line-height:1.45}

/* HOVER LAYER (volume bar at bottom only) */
.hover-layer{position:absolute;bottom:0;left:0;right:0;z-index:25;pointer-events:none;opacity:0;transition:opacity .22s;display:flex;flex-direction:column;justify-content:flex-end}
.left-screen:hover .hover-layer{opacity:1;pointer-events:auto}


/* CUSTOM VOLUME BAR — OmeTV exact copy */
.vol-bar-container{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;background:rgba(0,0,0,.35);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.vol-mute-btn{background:none;border:none;cursor:pointer;display:flex;align-items:center;padding:2px;opacity:.9;flex-shrink:0}
.vol-mute-btn:hover{opacity:1}

.vol-track{flex:1;height:7px;background:rgba(255,255,255,.15);border-radius:4px;position:relative;cursor:pointer}
.vol-filled{height:100%;background:#48c78e;border-radius:4px;width:80%;pointer-events:none}
.vol-thumb{width:12px;height:12px;background:#48c78e;border-radius:50%;position:absolute;top:50%;transform:translate(-50%,-50%);left:80%;cursor:pointer;box-shadow:0 0 6px rgba(72,199,142,.6),0 1px 3px rgba(0,0,0,.4);transition:transform .08s}
.vol-thumb:hover{transform:translate(-50%,-50%) scale(1.25)}

/* TV NOISE OVERLAY */
.tv-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:10;background:#242424}
.noise-canvas{position:absolute;inset:0;width:100%;height:100%;opacity:.36;pointer-events:none}
.tv-hero{position:relative;z-index:5;display:flex;flex-direction:column;align-items:center;text-align:center}
.logo-wrap{margin-bottom:20px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.45))}
.online-row{display:flex;align-items:center;gap:8px;color:#fff;font-size:.95rem;font-weight:500;margin-bottom:22px;text-shadow:0 1px 4px rgba(0,0,0,.8)}
.green-dot-live{width:10px;height:10px;background:#52e061;border-radius:50%;box-shadow:0 0 8px #52e061}
.discord-row{display:flex;justify-content:center}
.discord-btn{display:flex;align-items:center;gap:10px;background:#5865F2;color:#fff;text-decoration:none;padding:10px 24px;border-radius:10px;font-size:.92rem;font-weight:700;letter-spacing:.3px;box-shadow:0 4px 14px rgba(88,101,242,.45);transition:transform .12s,box-shadow .12s}
.discord-btn:hover{transform:scale(1.04);box-shadow:0 6px 20px rgba(88,101,242,.55)}
.search-indicator{margin-top:14px;display:flex;align-items:center;gap:10px;color:#fff;font-size:.95rem;font-weight:500}
.spin-ring{width:18px;height:18px;border:2px solid rgba(255,255,255,.25);border-top-color:#52e061;border-radius:50%;animation:spin .75s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* BOTTOM BAR */
.bottom-bar{height:134px;min-height:134px;flex-shrink:0;display:flex;background:#e6e6e6;padding:10px 12px;gap:12px;position:relative;z-index:100}
.btns-left{flex:1;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;height:100%}
.drop-anchor{position:relative;height:100%;width:100%;display:flex}
.obtn{width:100%;height:100%;border-radius:12px;border:none;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:all .08s;user-select:none}
.obtn:active:not(:disabled){transform:translateY(3px)}
.obtn:disabled{opacity:.45;cursor:not-allowed;transform:none!important}
.btn-green{background:#48c78e;color:#fff;font-size:1.35rem;font-weight:700;box-shadow:0 4px 0 #369f70}
.btn-green:hover:not(:disabled){background:#41b983}
.btn-green:active:not(:disabled){box-shadow:0 1px 0 #369f70}
.btn-red{background:#f6a596;color:#fff;font-size:1.35rem;font-weight:700;box-shadow:0 4px 0 #db8778}
.btn-red:hover:not(:disabled){background:#ee9888}
.btn-red:active:not(:disabled){box-shadow:0 1px 0 #db8778}
.btn-white{background:#fff;color:#444;box-shadow:0 4px 0 #cfcfcf;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px 4px}
.btn-white:hover:not(:disabled){background:#fbfbfb}
.btn-white:active:not(:disabled){box-shadow:0 1px 0 #cfcfcf}
.btxt{font-size:1.12rem;font-weight:600;color:#444;line-height:1;text-align:center}
.bflag,.bgender{width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:1.45rem;line-height:1}
.bflag img{width:26px;height:26px;border-radius:50%;object-fit:cover;display:block;box-shadow:0 1px 3px rgba(0,0,0,.2);margin:0 auto}

/* COUNTRY DROPDOWN */
.country-drop{position:fixed;bottom:160px;left:50%;transform:translateX(-50%);width:620px;max-height:380px;background:#fff;border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.22);border:1px solid #d8d8d8;padding:12px;display:none;flex-direction:column;z-index:9999}
.country-drop.open{display:flex !important}
.drop-title{font-size:.9rem;font-weight:700;color:#333;padding-bottom:8px;border-bottom:1px solid #f0f0f0;margin-bottom:8px}
.drop-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;overflow-y:auto;padding-right:4px}
.c-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border-radius:6px;font-size:.84rem;color:#333;cursor:pointer;transition:background .1s;height:34px}
.c-item span{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
.c-item:hover{background:#f2f2f2}
.c-item.active{background:#48c78e;color:#fff;font-weight:700}
.c-flag{width:20px;height:20px;border-radius:50%;object-fit:cover;flex-shrink:0;display:block;box-shadow:0 1px 2px rgba(0,0,0,.2)}

/* CHAT RIGHT PANEL */
.chat-right{flex:1;background:#fff;border-radius:12px;border:1px solid #d4d4d4;box-shadow:0 2px 5px rgba(0,0,0,.04);display:flex;flex-direction:column;overflow:visible;position:relative}
.safety-head{padding:8px 12px;background:#fff;border-bottom:1px solid #f0f0f0;display:flex;align-items:flex-start;gap:10px;border-top-left-radius:12px;border-top-right-radius:12px}
.mini-badge{display:flex;align-items:center;justify-content:center;flex-shrink:0;padding-top:2px}
.safety-txt{font-size:.75rem;color:#555;line-height:1.25}
.safety-txt a{color:#38b27d;text-decoration:underline;cursor:pointer}
.warn-link{color:#d97706;font-weight:600;margin-top:2px;cursor:pointer}
.warn-link:hover{text-decoration:underline}

/* CHAT STREAM */
.chat-stream{flex:1;padding:4px 12px;overflow-y:auto;display:flex;flex-direction:column;gap:4px;font-size:.85rem}
.chat-row{display:flex;gap:6px;word-break:break-word}
.chat-row.self .utag{color:#3b82f6;font-weight:700}
.chat-row.partner .utag{color:#ff5a27;font-weight:700}

/* CHAT INPUT */
.chat-bar{height:38px;display:flex;align-items:center;padding:0 10px;border-top:1px solid #ededed;background:#fff;border-bottom-left-radius:12px;border-bottom-right-radius:12px}
.chat-bar input{flex:1;border:none;outline:none;font-size:.88rem;color:#333;background:transparent}
.chat-bar input::placeholder{color:#a8a8a8}
.chat-bar input:disabled{opacity:.5}
.smiley-btn{background:none;border:none;cursor:pointer;display:flex;align-items:center;padding:3px;border-radius:50%;transition:transform .1s}
.smiley-btn:hover{transform:scale(1.12)}

/* EMOJI PICKER (OmeTV 1:1 Style) */
.emoji-drop{position:absolute;bottom:42px;right:0;width:340px;height:420px;background:#fff;border-radius:8px;box-shadow:0 8px 30px rgba(0,0,0,.22);border:1px solid #d4d4d8;display:none;flex-direction:column;z-index:500;overflow:hidden}
.emoji-drop.open{display:flex}

.emoji-cat-tabs{display:flex;align-items:center;justify-content:space-between;padding:4px 6px;border-bottom:1px solid #e4e4e7;background:#fff;flex-shrink:0}
.ecat-btn{background:none;border:none;outline:none;cursor:pointer;padding:6px;border-radius:50%;color:#71717a;display:flex;align-items:center;justify-content:center;transition:color .12s,background .12s}
.ecat-btn:hover{color:#18181b;background:#f4f4f5}
.ecat-btn.active{color:#48c78e;background:#ecfdf5}
.symbol-icon-txt{font-size:11px;font-weight:800;font-family:sans-serif;letter-spacing:-0.5px;line-height:1}

.emoji-search-box{position:relative;padding:6px 10px;background:#fff;border-bottom:1px solid #f4f4f5;display:flex;align-items:center;flex-shrink:0}
.search-svg-icon{position:absolute;left:20px;pointer-events:none}
#emojiSearchInput{width:100%;height:32px;padding:0 10px 0 32px;border:1px solid #e4e4e7;border-radius:6px;font-size:13px;outline:none;background:#f8fafc;color:#18181b;transition:all .15s}
#emojiSearchInput:focus{border-color:#cbd5e1;background:#fff}

.emoji-scroll-body{flex:1;padding:4px 8px;overflow-y:auto;display:flex;flex-direction:column;scroll-behavior:smooth}
.emoji-section-title{font-size:12px;font-weight:600;color:#71717a;margin-top:10px;margin-bottom:4px;padding-left:4px}
.emoji-section-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;margin-bottom:6px}
.emoji-cell{width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:22px;border-radius:6px;cursor:pointer;transition:transform .08s,background .08s;user-select:none;line-height:1}
.emoji-cell:hover{background:#f1f5f9;transform:scale(1.2);z-index:2}

.emoji-footer-bar{height:40px;border-top:1px solid #f0f0f0;display:flex;align-items:center;justify-content:space-between;padding:0 12px;background:#fff;flex-shrink:0}
.footer-preview-left{display:flex;align-items:center;gap:8px;overflow:hidden}
.footer-preview-icon{font-size:22px;line-height:1;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;flex-shrink:0}
.footer-preview-name{font-size:12px;font-weight:500;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
.skin-tone-picker{width:14px;height:14px;border-radius:50%;background:#facc15;border:1.5px solid #ca8a04;display:inline-block;cursor:pointer;transition:transform .1s}
.skin-tone-picker:hover{transform:scale(1.2)}

.smiley-btn.is-open svg{display:none}
.smiley-btn.is-open::after{content:'✕';font-size:18px;font-weight:700;color:#71717a;line-height:1}

/* MODAL BACKDROP & CARDS */
.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.6);display:none;align-items:center;justify-content:center;z-index:1000}
.modal-backdrop.open{display:flex}
#rulesBackdrop, #safetyBackdrop{z-index:2500}
.modal-card{background:#fff;border-radius:16px;max-width:580px;width:90%;max-height:85vh;overflow-y:auto;padding:28px 32px;box-shadow:0 20px 60px rgba(0,0,0,.3);position:relative}

/* CLOSE 'X' ICON BUTTON FOR MODALS */
.modal-close-icon-btn{position:absolute;top:14px;right:14px;width:32px;height:32px;border-radius:50%;background:#f4f4f5;border:none;color:#71717a;font-size:15px;font-weight:700;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .12s;z-index:10}
.modal-close-icon-btn:hover{background:#e4e4e7;color:#18181b;transform:scale(1.08)}

/* RULES MODAL */
.rules-modal h2{font-size:1.3rem;font-weight:700;color:#333;margin-bottom:16px;text-align:center}
.rules-body h3{font-size:.95rem;font-weight:700;color:#444;margin:14px 0 6px}
.rules-body ul{padding-left:20px;margin-bottom:6px}
.rules-body li{font-size:.85rem;color:#555;line-height:1.5;margin-bottom:4px}

/* SAFETY MODAL */
.safety-icon-row{display:flex;align-items:center;gap:12px;margin-bottom:20px;justify-content:center}
.safety-modal-title{font-size:1.25rem;font-weight:700;color:#ff5a27}
.safety-rules-list{padding-left:20px;margin-bottom:16px}
.safety-rules-list li{font-size:.88rem;color:#444;line-height:1.5;margin-bottom:10px}
.safety-footer{text-align:center;font-size:.95rem;color:#555;margin-bottom:16px}

/* REPORT BUTTON ON VIDEO (Directly visible on stranger video during active chat) */
.report-btn{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;background:#ef4444;border:2px solid rgba(255,255,255,.85);color:#fff;display:none;align-items:center;justify-content:center;cursor:pointer;z-index:100;box-shadow:0 2px 10px rgba(0,0,0,.4);transition:transform .1s,background .15s}
body.is-connected .report-btn{display:flex}
.report-btn:hover{background:#dc2626;transform:scale(1.12)}

/* REPORT MODAL WITH SLIDER */
.report-modal{max-width:400px;text-align:center;padding:24px 20px;border-radius:16px;display:flex;flex-direction:column;align-items:center}
.report-slider-container{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;margin-bottom:8px}
.report-nav-btn{width:36px;height:36px;border-radius:50%;background:#f1f5f9;border:1px solid #cbd5e1;color:#475569;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .12s;flex-shrink:0}
.report-nav-btn:hover:not(:disabled){background:#e2e8f0;color:#0f172a;transform:scale(1.08)}
.report-nav-btn:disabled{opacity:.25;cursor:not-allowed}
.report-photo-wrap{width:150px;height:150px;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.22);background:#18181b;display:flex;align-items:center;justify-content:center;border:2px solid #e4e4e7}
.report-snapshot{width:100%;height:100%;object-fit:cover;display:block}
.report-dots{display:flex;gap:6px;align-items:center;justify-content:center;margin-bottom:12px}
.report-dot{width:8px;height:8px;border-radius:50%;background:#d1d5db;cursor:pointer;transition:all .12s}
.report-dot.active{background:#ef4444;width:18px;border-radius:4px}
.report-title{font-size:1.25rem;font-weight:700;color:#18181b;margin-bottom:8px}
.report-desc{font-size:.88rem;color:#64748b;line-height:1.45;margin-bottom:20px}
.report-actions{display:flex;gap:12px;width:100%}
.report-btn-confirm{flex:1;padding:12px 0;background:#ef4444;color:#fff;border:none;border-radius:8px;font-size:.95rem;font-weight:700;cursor:pointer;transition:background .12s}
.report-btn-confirm:hover{background:#dc2626}
.report-btn-cancel{flex:1;padding:12px 0;background:#f1f5f9;color:#475569;border:1px solid #cbd5e1;border-radius:8px;font-size:.95rem;font-weight:700;cursor:pointer;transition:background .12s}
.report-btn-cancel:hover{background:#e2e8f0}

/* OK BUTTON */
.modal-ok-btn{display:block;width:280px;margin:0 auto;padding:14px 0;background:#48c78e;color:#fff;border:none;border-radius:10px;font-size:1.05rem;font-weight:700;cursor:pointer;transition:background .12s}
.modal-ok-btn:hover{background:#3fb57e}

/* SETTINGS BUTTON ON TV SCREEN (Top Left - Only shown when logged in) */
.settings-btn{position:absolute;top:14px;left:14px;width:36px;height:36px;border-radius:50%;background:rgba(0,0,0,.5);border:1.5px solid rgba(255,255,255,.3);color:#fff;display:none;align-items:center;justify-content:center;cursor:pointer;z-index:90;backdrop-filter:blur(6px);transition:transform .2s,background .15s,border-color .15s}
.settings-btn:hover{background:rgba(0,0,0,.8);border-color:rgba(255,255,255,.7);transform:rotate(45deg) scale(1.08)}

/* AUTH / REGISTRATION MODAL */
.auth-modal{max-width:420px;padding:22px 20px;border-radius:18px;text-align:center;display:flex;flex-direction:column;align-items:center}
.auth-logo{margin-bottom:4px}
.auth-title{font-size:1.3rem;font-weight:800;color:#18181b;margin-bottom:2px}
.auth-subtitle{font-size:.84rem;color:#71717a;margin-bottom:14px}
.auth-form{width:100%;display:flex;flex-direction:column;gap:10px;text-align:left}
.auth-field{display:flex;flex-direction:column;gap:4px}
.auth-field label{font-size:.78rem;font-weight:700;color:#3f3f46}
.auth-field input[type="text"]{width:100%;height:38px;padding:0 12px;border:1.5px solid #e4e4e7;border-radius:8px;font-size:.88rem;outline:none;background:#f8fafc;color:#18181b;transition:border-color .15s,background .15s}
.auth-field input[type="text"]:focus{border-color:#ff5a27;background:#fff}
.input-at-wrap{position:relative;display:flex;align-items:center}
.at-prefix{position:absolute;left:12px;color:#a1a1aa;font-weight:700;font-size:.88rem;pointer-events:none}
.input-at-wrap input{padding-left:28px!important}

/* GENDER PILLS */
.gender-pill-group{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.gender-pill{height:34px;border:1.5px solid #e4e4e7;background:#f8fafc;border-radius:8px;font-size:.84rem;font-weight:700;color:#52525b;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .12s}
.gender-pill:hover{background:#f1f5f9;border-color:#cbd5e1}
.gender-pill.active{background:#ff5a27;border-color:#ff5a27;color:#fff}

/* TERMS CHECKBOX */
.auth-terms{margin-top:4px}
.terms-checkbox-label{display:flex;align-items:flex-start;gap:10px;font-size:.8rem;color:#71717a;cursor:pointer;line-height:1.4}
.terms-checkbox-label input[type="checkbox"]{margin-top:2px;accent-color:#ff5a27;width:16px;height:16px;flex-shrink:0;cursor:pointer}
.terms-checkbox-label a{color:#ff5a27;font-weight:600;text-decoration:underline}
.auth-submit-btn{width:100%;height:46px;background:#48c78e;color:#fff;border:none;border-radius:10px;font-size:1rem;font-weight:800;cursor:pointer;box-shadow:0 3px 0 #369f70;transition:all .12s;margin-top:6px}
.auth-submit-btn:hover{background:#41b983}
.auth-submit-btn:active{transform:translateY(2px);box-shadow:0 1px 0 #369f70}

/* SETTINGS MODAL */
.settings-modal{max-width:440px;padding:24px;border-radius:18px;text-align:left}
.settings-header{display:flex;align-items:center;gap:14px;padding-bottom:16px;border-bottom:1px solid #f4f4f5;margin-bottom:18px}
.settings-avatar{width:54px;height:54px;border-radius:50%;background:#f4f4f5;border:2px solid #e4e4e7;display:flex;align-items:center;justify-content:center;font-size:2rem;flex-shrink:0}
.settings-user-info{display:flex;flex-direction:column;gap:2px}
.settings-name{font-size:1.15rem;font-weight:800;color:#18181b}
.settings-handle{font-size:.85rem;color:#71717a;font-weight:600}
.settings-uid{font-size:.75rem;color:#a1a1aa;font-family:monospace;font-weight:700}
.settings-body{display:flex;flex-direction:column;gap:18px}
.settings-section{display:flex;flex-direction:column;gap:8px}
.setting-label{font-size:.82rem;font-weight:700;color:#3f3f46}

/* HD TOGGLE & WARNING */
.hd-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8fafc;padding:12px 14px;border-radius:10px;border:1px solid #e2e8f0}
.hd-info{display:flex;flex-direction:column;gap:2px}
.hd-title{font-size:.88rem;font-weight:700;color:#1e293b}
.hd-desc{font-size:.76rem;color:#64748b}
.switch{position:relative;display:inline-block;width:44px;height:24px;flex-shrink:0}
.switch input{opacity:0;width:0;height:0}
.slider{position:absolute;cursor:pointer;inset:0;background-color:#cbd5e1;border-radius:24px;transition:.2s}
.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;border-radius:50%;transition:.2s}
.switch input:checked + .slider{background-color:#48c78e}
.switch input:checked + .slider:before{transform:translateX(20px)}

.hd-warning-box{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;background:#fffbeb;border:1px solid #fef3c7;border-radius:8px;font-size:.76rem;color:#92400e;line-height:1.4}
.hd-warning-box .warn-icon{font-size:.9rem}

/* DANGER ZONE */
.danger-zone{margin-top:6px;padding-top:14px;border-top:1px solid #f4f4f5}
.btn-delete-account{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px 0;background:#fee2e2;color:#dc2626;border:1px solid #fca5a5;border-radius:8px;font-size:.88rem;font-weight:700;cursor:pointer;transition:all .12s}
.btn-delete-account:hover{background:#fecaca}

/* BANNED LOCK SCREEN HARDCORE ISOLATION */
body.banned-locked-mode{overflow:hidden!important}
body.banned-locked-mode #splashScreen,
body.banned-locked-mode .reg-backdrop,
body.banned-locked-mode .rules-backdrop,
body.banned-locked-mode #settingsBackdrop,
body.banned-locked-mode .report-backdrop{display:none!important}
body.banned-locked-mode .banned-backdrop{position:fixed!important;inset:0!important;background:rgba(15,23,42,.78)!important;backdrop-filter:blur(8px)!important;-webkit-backdrop-filter:blur(8px)!important;display:flex!important;align-items:center!important;justify-content:center!important;z-index:99999999!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
body.banned-locked-mode .banned-card{display:block!important;visibility:visible!important;opacity:1!important}

.banned-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.78)!important;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);z-index:999999!important;display:none;align-items:center;justify-content:center}
.banned-backdrop.open{display:flex!important}

.banned-card{max-width:430px;max-height:88vh;overflow-y:auto;padding:20px 22px;border-radius:18px;text-align:center;box-shadow:0 25px 70px rgba(0,0,0,.45);border:1.5px solid #fecaca;background:#ffffff;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}
.banned-card::-webkit-scrollbar{width:5px}
.banned-card::-webkit-scrollbar-track{background:transparent;margin:8px 0}
.banned-card::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}
.banned-card::-webkit-scrollbar-thumb:hover{background:#94a3b8}

.banned-icon-wrap{margin-bottom:6px;animation:pulseWarn 2s infinite}
.banned-icon-wrap svg{width:42px;height:42px}
@keyframes pulseWarn{0%{transform:scale(0.95)}50%{transform:scale(1.05)}100%{transform:scale(0.95)}}
.banned-title{font-size:1.3rem;font-weight:800;color:#991b1b;margin-bottom:3px}
.banned-subtitle{font-size:.8rem;color:#64748b;margin-bottom:10px;line-height:1.35}

/* BAN SNAPSHOT PROOF - SQUARE FRAME */
.ban-snapshot-container{width:180px;height:180px;margin:0 auto 12px auto;border-radius:12px;overflow:hidden;border:2.5px solid #ef4444;background:#0f172a;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(239,68,68,.25)}
.ban-snapshot-container img{width:100%;height:100%;object-fit:cover;display:block}

.banned-info-box{background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:12px;padding:10px 14px;text-align:left;display:flex;flex-direction:column;gap:5px;margin-bottom:12px}
.banned-info-row{display:flex;align-items:center;justify-content:space-between;font-size:.82rem}
.b-label{color:#64748b;font-weight:600}
.b-val{color:#1e293b;font-weight:700}
.b-val.danger{color:#dc2626}
.b-val.countdown{color:#d97706;font-family:monospace;font-size:.88rem}
.banned-appeal-box{display:flex;flex-direction:column;gap:8px;align-items:center}
.banned-appeal-box p{font-size:.74rem;color:#64748b;line-height:1.3}
.btn-discord-appeal{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:42px;background:#5865F2;color:#fff;border-radius:10px;text-decoration:none;font-weight:700;font-size:.88rem;box-shadow:0 3px 12px rgba(88,101,242,.35);transition:all .15s}
.btn-discord-appeal:hover{background:#4752c4;transform:translateY(-1px)}

/* ADMIN WARNING TOAST BANNER (3-STRIKE SYSTEM) */
.admin-warning-toast{position:fixed;top:20px;left:50%;transform:translate(-50%,-120%);background:#1e293b;border:2px solid #f59e0b;border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.6),0 0 20px rgba(245,158,11,.3);padding:14px 18px;max-width:500px;width:92%;z-index:9999999;transition:transform .3s cubic-bezier(.34,1.56,.64,1);pointer-events:none}
.admin-warning-toast.show{transform:translate(-50%,0);pointer-events:auto}
.toast-content{display:flex;align-items:flex-start;gap:12px;position:relative}
.toast-icon{font-size:2rem;line-height:1;animation:pulseWarn 1s infinite}
.toast-text{flex:1;text-align:left}
.toast-text strong{display:block;font-size:.95rem;color:#fbbf24;font-weight:800;margin-bottom:3px}
.toast-text p{font-size:.85rem;color:#f1f5f9;margin:0 0 4px 0;line-height:1.35}
.toast-text span{font-size:.76rem;color:#ef4444;font-weight:700}
.toast-close{background:transparent;border:none;color:#94a3b8;font-size:1.1rem;cursor:pointer;padding:2px 6px;border-radius:6px;transition:color .12s}
.toast-close:hover{color:#fff;background:#334155}

/* INVITE BUTTON ON STAGE - ONLY visible on idle/searching screen */
.invite-btn{position:absolute;top:14px;left:62px;width:38px;height:38px;border-radius:10px;background:rgba(15,23,42,.65);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.15);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:20;transition:all .15s}
.invite-btn:hover{background:rgba(59,130,246,.8);border-color:#3b82f6;transform:scale(1.05)}
body.is-connected .invite-btn{display:none !important}

/* INVITE FRIEND / PRIVATE ROOM MODAL — Modern Dark Glassmorphism */
.invite-card {
  max-width: 400px;
  width: 92%;
  border-radius: 20px;
  background: #18181b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  padding: 0 !important;
  text-align: left;
}
.invite-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.invite-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.invite-icon {
  font-size: 1.4rem;
}
.invite-title-wrap h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}
.invite-title-wrap span {
  font-size: 0.74rem;
  color: #a1a1aa;
  display: block;
}
.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #a1a1aa;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.invite-body {
  padding: 18px 20px 22px;
}
.invite-desc {
  font-size: 0.84rem;
  color: #a1a1aa;
  line-height: 1.45;
  margin-bottom: 16px;
  text-align: left;
}
.invite-desc strong {
  color: #fff;
}
.invite-link-wrap {
  display: flex;
  gap: 6px;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 4px 4px 4px 12px;
  align-items: center;
  margin-bottom: 16px;
}
.invite-link-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.82rem;
  font-family: 'JetBrains Mono', monospace;
  outline: none;
  min-width: 0;
}
.btn-copy-link {
  background: #ff5a27;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-copy-link:hover {
  background: #ea4f1e;
}
.btn-copy-link.copied {
  background: #22c55e;
}
.invite-share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  transition: opacity 0.15s;
}
.share-btn:hover {
  opacity: 0.9;
}
.share-wa {
  background: #22c55e;
}
.share-tg {
  background: #0284c7;
}

/* Hide mobile specific elements on desktop */
.mobile-toggle-switch,
.mobile-top-pills,
.mobile-safety-overlay,
.mobile-bottom-bar {
  display: none !important;
}

/* ============================================================
   MOBILE & TABLET RESPONSIVE OVERHAUL (OmeTV Mobile 1:1)
   ============================================================ */
@media (max-width: 900px) {
  html, body {
    height: 100dvh;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    overflow: hidden;
    background: #000;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overscroll-behavior: none;
    user-select: none;
    -webkit-user-select: none;
  }

  /* PREVENT IOS KEYBOARD AUTO-ZOOM (Must be >= 16px) */
  input, textarea, select {
    font-size: 16px !important;
    touch-action: manipulation;
  }

  .ometv-outer {
    padding: 0;
    height: 100dvh;
    height: 100vh;
    max-height: 100dvh;
    background: #000;
  }

  .ometv-main {
    max-width: 100%;
    height: 100%;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    background: #000;
  }

  /* VIDEO STAGE: 50/50 VERTICAL SPLIT */
  .video-stage {
    flex: 1;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #000;
    position: relative;
  }

  .screen-box {
    flex: 1;
    width: 100%;
    height: 50%;
    min-height: 0;
    position: relative;
    overflow: hidden;
  }

  .left-screen {
    border-right: none;
    border-bottom: 2px solid #1a1a1a;
  }

  .right-screen {
    border-top: 2px solid #1a1a1a;
  }

  /* HIDE DESKTOP BOTTOM BAR & HOVER VOLUME BAR ON MOBILE (Item 3) */
  .bottom-bar,
  .hover-layer {
    display: none !important;
  }

  /* TV HERO OVERLAY ON MOBILE */
  .logo-wrap {
    margin-bottom: 12px;
  }
  .logo-wrap svg {
    width: 170px !important;
    height: auto !important;
  }
  .online-row {
    font-size: 0.84rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
  }
  .discord-row {
    display: none !important;
  }

  /* MOBILE TOP PILLS (BEN / ÜLKE) - 50/50 Equal Width */
  .mobile-top-pills {
    display: flex !important;
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    gap: 10px;
    z-index: 30;
    width: calc(100% - 24px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .mobile-pill-btn {
    flex: 1 1 50% !important;
    width: 50% !important;
    height: 42px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 0.86rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.12s;
  }
  .mobile-pill-btn:active {
    background: rgba(60, 60, 60, 0.85);
  }
  .m-pill-val img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    vertical-align: middle;
  }

  /* STAGE ICONS ON MOBILE - Items 7, 9, 11 */
  .settings-btn {
    top: 12px;
    right: 12px;
    left: auto !important;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: opacity 0.25s ease;
  }
  .invite-btn {
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: opacity 0.25s ease;
  }
  .report-btn {
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ef4444 !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.5) !important;
    z-index: 100;
  }

  /* MOBILE SAFETY OVERLAY (Bottom Screen Left) - Item 9, 11 */
  .mobile-safety-overlay {
    display: flex !important;
    position: absolute;
    bottom: 56px;
    left: 12px;
    right: 12px;
    z-index: 25;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  .m-safety-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
  }
  .m-safety-box p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.3;
    margin-bottom: 3px;
  }
  .m-safety-box a {
    color: #48c78e;
    text-decoration: underline;
    pointer-events: auto;
  }
  .m-warn-link {
    font-size: 0.74rem;
    color: #fbbf24;
    font-weight: 700;
    pointer-events: auto;
    cursor: pointer;
  }

  /* MOBILE LIVE FLOATING CHAT STREAM (Item 8) */
  .mobile-chat-bubble-stream {
    position: absolute;
    bottom: 60px;
    left: 10px;
    right: 70px;
    max-height: 140px;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 35;
    pointer-events: none;
  }
  .m-chat-bubble {
    max-width: 85%;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.3;
    word-break: break-word;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: bubbleFadeIn 0.2s ease;
  }
  .m-chat-bubble.self {
    background: rgba(255, 90, 39, 0.65);
    align-self: flex-start;
  }
  .m-chat-bubble.partner {
    background: rgba(18, 18, 18, 0.65);
    align-self: flex-start;
  }

  /* MOBILE CHAT INPUT BAR (Item 8) */
  .mobile-chat-input-bar {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 3px 6px 3px 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 60;
  }
  .mobile-chat-input-bar input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: #111;
  }
  .mobile-chat-input-bar button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ff5a27;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
  }

  /* MOBILE BOTTOM ACTION BAR - Items 6, 7, 11 */
  .mobile-bottom-bar {
    display: flex !important;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 42px;
    align-items: center;
    justify-content: space-between;
    z-index: 40;
  }
  .m-bar-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s;
  }
  .m-bar-btn:active {
    transform: scale(0.92);
  }
  .m-reactions {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  .m-react-btn {
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    transition: transform 0.12s;
    line-height: 1;
    opacity: 0.9;
  }
  .m-react-btn:active {
    transform: scale(1.3);
  }

  /* HIDE RULES WHEN CONNECTED OR SEARCHING (Items 9 & 12) */
  body.is-connected .mobile-safety-overlay,
  body.is-searching .mobile-safety-overlay,
  body.is-connected .settings-btn,
  body.is-connected .invite-btn,
  body.is-searching .settings-btn,
  body.is-searching .invite-btn,
  body.is-connected .mobile-top-pills,
  body.is-searching .mobile-top-pills {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  /* MOBILE COUNTRY DRAWER MODAL - Item 5 */
  .country-drop {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 85vw !important;
    max-width: 320px !important;
    max-height: 100vh !important;
    height: 100vh !important;
    background: #18181b !important;
    color: #fff !important;
    border-radius: 0 !important;
    box-shadow: -8px 0 30px rgba(0,0,0,0.8) !important;
    border: none !important;
    padding: 18px 16px !important;
    transform: translateX(100%) !important;
    transition: transform 0.25s cubic-bezier(0.32, 0.72, 0, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 999999 !important;
    visibility: hidden;
    pointer-events: none;
  }
  .country-drop.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .drop-close-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .drop-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
  }
  .drop-grid {
    grid-template-columns: 1fr;
    gap: 4px;
    overflow-y: auto;
    flex: 1;
  }
  .c-item {
    font-size: 0.92rem;
    padding: 10px 12px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid transparent;
    color: #e4e4e7;
    background: rgba(255,255,255,0.04);
  }
  .c-item:hover, .c-item:active, .c-item.active {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
  }
  .c-flag {
    width: 24px;
    height: 24px;
  }

  /* MODALS ON MOBILE (Item 1) */
  .modal-card {
    width: 92%;
    max-width: 380px;
    padding: 20px;
    border-radius: 18px;
    background: #18181b;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
  }
  .invite-card {
    width: 92%;
    max-width: 380px;
  }
  .invite-share-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@keyframes bubbleFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

