@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root { --ink:#07140d; --panel:#0c1c13; --panel-2:#12261a; --line:#21402d; --muted:#91aa9a; --paper:#f4f0e4; --white:#fff; --accent:#19c86a; --accent-dark:#10a956; --danger:#e64545; --mexico-red:#c6292f; --mexico-cream:#f4f0e4; }
* { box-sizing:border-box; }
html, body { margin:0; min-height:100%; background:var(--ink); color:var(--white); font-family:'DM Sans',sans-serif; }
button, input { font:inherit; }
button { color:inherit; }
svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.svg-defs { position:absolute; width:0; height:0; overflow:hidden; }
.hidden { display:none !important; }
.theme-toggle { width:40px; height:40px; display:grid; place-items:center; border:1px solid transparent; border-radius:9px; color:inherit; background:transparent; cursor:pointer; transition:background .18s,border-color .18s,transform .18s; }
.theme-toggle:hover { transform:translateY(-1px); }
.landing-theme { position:fixed; z-index:10; top:26px; right:28px; color:#5f665f; border-color:#d5d2ca; background:rgba(242,240,234,.82); backdrop-filter:blur(10px); }
.landing-theme:hover { color:var(--ink); background:white; }
.landing { min-height:100vh; display:grid; grid-template-columns:minmax(380px,44%) 1fr; }
.brand-panel { position:relative; min-height:100vh; overflow:hidden; padding:38px 44px; display:flex; flex-direction:column; background:linear-gradient(145deg,#06130c 0%,#0b2114 55%,#15140f 100%); border-right:1px solid #244332; }
.brand-panel::before { content:''; position:absolute; inset:0; opacity:.32; background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:64px 64px; mask-image:linear-gradient(to bottom,black,transparent 88%); }
.brand-panel::after { content:''; position:absolute; width:580px; height:580px; left:-260px; bottom:-250px; border:1px solid rgba(25,200,106,.35); border-radius:50%; box-shadow:0 0 90px rgba(25,200,106,.08),0 0 0 80px rgba(244,240,228,.025),0 0 0 160px rgba(198,41,47,.025); }
.brand { position:relative; z-index:2; display:flex; align-items:center; gap:13px; width:max-content; color:white; text-decoration:none; font:800 16px 'Manrope'; letter-spacing:.06em; }
.brand-mark { width:38px; height:38px; display:grid; place-items:center; color:var(--ink); background:var(--accent); border-radius:9px; transform:rotate(-3deg); }
.brand-mark svg { width:21px; }
.mexico-mark { position:relative; overflow:hidden; color:#fff; background:linear-gradient(90deg,#14864b 0 33.333%,#f4f0e4 33.333% 66.666%,#c6292f 66.666%); box-shadow:0 0 0 1px rgba(255,255,255,.16),0 8px 24px rgba(0,0,0,.24); }
.mexico-mark::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(255,255,255,.18),transparent 48%); }
.mexico-mark b { position:relative; z-index:1; padding:3px 4px; border-radius:4px; color:#07140d; background:rgba(244,240,228,.9); font:800 9px 'Manrope'; letter-spacing:-.04em; }
.brand-muted { color:#69717d; }
.signal-art { position:absolute; z-index:0; right:-20%; top:9%; width:80%; aspect-ratio:1; border-radius:50%; border:1px solid rgba(25,200,106,.2); display:grid; place-items:center; }
.signal-art span { position:absolute; border-radius:50%; border:1px solid rgba(25,200,106,.14); }
.signal-art span:nth-child(1){inset:15%}.signal-art span:nth-child(2){inset:30%}.signal-art span:nth-child(3){inset:44%;background:var(--accent);border:0;box-shadow:0 0 45px rgba(25,200,106,.4)}.signal-art span:nth-child(4){width:7px;height:7px;background:white;border:0}
.brand-copy { position:relative; z-index:1; margin:auto 0; max-width:580px; padding:90px 0 70px; }
.eyebrow, .section-index { margin:0 0 16px; color:var(--accent); font:700 11px 'Manrope'; letter-spacing:.19em; }
.brand-copy h1 { margin:0; font:700 clamp(54px,6vw,88px)/.98 'Manrope'; letter-spacing:-.065em; }
.brand-copy h1 em { color:var(--accent); font-style:normal; }
.brand-copy > p:last-child { max-width:440px; margin:30px 0 0; color:#9ca3ad; font-size:17px; line-height:1.65; }
.privacy-note { position:relative; z-index:2; display:flex; align-items:center; gap:10px; color:#7d8591; font-size:12px; letter-spacing:.02em; }
.status-dot { flex:none; width:8px; height:8px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(25,200,106,.12); }
.entry-panel { min-height:100vh; display:grid; grid-template-columns:minmax(0,1fr); place-items:center; background:var(--paper); color:var(--ink); padding:50px; }
.entry-wrap { width:100%; max-width:460px; min-width:0; }
.mobile-brand { display:none; }
.section-index { color:#818774; }
.entry-wrap h2 { margin:0; font:700 clamp(34px,4vw,50px)/1.08 'Manrope'; letter-spacing:-.045em; }
.entry-subtitle { margin:14px 0 38px; color:#6f746e; line-height:1.6; }
.discord-auth { margin:-17px 0 26px; }
.discord-login { min-height:58px; display:flex; align-items:center; gap:14px; padding:11px 15px; border:1px solid #c9a46a; border-radius:9px; color:#302414; background:#f1dfbd; text-decoration:none; transition:.18s; }
.discord-login:hover { transform:translateY(-1px); border-color:#bf8234; background:#ead09d; box-shadow:0 8px 22px rgba(157,96,27,.14); }
.discord-login > svg { flex:none; width:27px; height:27px; color:#a9651d; fill:currentColor; stroke:none; }
.discord-login > span { display:flex; flex-direction:column; gap:3px; }
.discord-login strong { font-size:13px; }
.discord-login small { color:#70758a; font-size:11px; }
.discord-profile { min-height:60px; display:flex; align-items:center; gap:11px; padding:9px 11px; border:1px solid #d2d0c9; border-radius:9px; background:#ebe9e2; }
.discord-profile img { width:40px; height:40px; border-radius:11px; object-fit:cover; }
.discord-profile > span { min-width:0; flex:1; display:flex; flex-direction:column; gap:2px; }
.discord-profile small { color:#7d817b; font:700 8px 'Manrope'; letter-spacing:.12em; }
.discord-profile strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; }
.discord-profile button { padding:7px 9px; border:0; border-radius:6px; color:#737770; background:transparent; cursor:pointer; font-size:11px; }
.discord-profile button:hover { color:#a43835; background:#e1ddd5; }
.field input:read-only { color:#686d70; background:#e5e4df; cursor:not-allowed; }
label { display:block; margin:0 0 9px; font:700 11px 'Manrope'; letter-spacing:.1em; text-transform:uppercase; }
.field { position:relative; margin-bottom:22px; }
.field input { width:100%; height:56px; border:1px solid #d2d0c9; border-radius:8px; padding:0 17px; color:var(--ink); background:#faf9f5; outline:none; transition:.18s; }
.field input::placeholder { color:#a6aaa4; }
.field input:focus { border-color:#7d882e; box-shadow:0 0 0 3px rgba(142,158,45,.12); background:white; }
.token-field input { padding-right:50px; text-transform:uppercase; letter-spacing:.13em; font-weight:700; }
.token-field svg { position:absolute; right:17px; top:18px; color:#7c827a; }
.form-error { min-height:18px; margin:-8px 0 10px; color:#ba3936; font-size:13px; }
.primary-button { width:100%; height:58px; border:0; border-radius:8px; background:var(--ink); color:white; display:flex; align-items:center; justify-content:space-between; padding:0 18px 0 22px; cursor:pointer; font-weight:700; transition:.18s; }
.primary-button:hover { transform:translateY(-1px); background:#20242a; box-shadow:0 8px 24px rgba(11,13,16,.13); }
.primary-button:disabled { opacity:.55; cursor:wait; transform:none; }
.primary-button svg { color:var(--accent); }
.or { display:flex; align-items:center; gap:13px; margin:25px 0; color:#a2a49e; font-size:9px; letter-spacing:.15em; }
.or span { height:1px; flex:1; background:#d8d6d0; }
.secondary-button { width:100%; display:flex; align-items:center; gap:15px; text-align:left; padding:15px; border:1px solid #d2d0c9; border-radius:8px; background:transparent; color:var(--ink); cursor:pointer; transition:.18s; }
.secondary-button:hover { background:#e9e7df; border-color:#bdbbb4; }
.secondary-button > svg { width:23px; height:23px; margin:0 5px; }
.secondary-button span { display:flex; flex-direction:column; gap:3px; }
.secondary-button strong { font-size:14px; }
.secondary-button small { color:#7f837d; font-size:12px; }

.room { height:100vh; min-height:620px; display:grid; grid-template-columns:250px 1fr; background:var(--ink); overflow:hidden; }
.room-sidebar { min-width:0; padding:24px 18px 17px; display:flex; flex-direction:column; border-right:1px solid var(--line); background:#0e1115; }
.brand.compact { margin-left:4px; font-size:13px; }
.brand.compact .brand-mark { width:32px; height:32px; border-radius:8px; }
.brand.compact .brand-mark svg { width:18px; }
.sidebar-section { margin-top:50px; min-height:0; flex:1; }
.sidebar-heading { display:flex; justify-content:space-between; padding:0 7px 12px; color:#6f7782; font:700 10px 'Manrope'; letter-spacing:.14em; }
.sidebar-heading span:last-child { color:#a3abb5; }
.people-list { display:flex; flex-direction:column; gap:3px; overflow:auto; }
.person { min-width:0; display:flex; align-items:center; gap:10px; padding:9px 8px; border-radius:7px; }
.person.sharing { background:#191e22; }
.avatar { position:relative; flex:none; width:31px; height:31px; border-radius:9px; display:grid; place-items:center; color:#d6d9dc; background:#252b33; font:700 12px 'Manrope'; text-transform:uppercase; }
img.avatar { object-fit:cover; }
.person.sharing .avatar { color:var(--ink); background:var(--accent); }
.person-info { min-width:0; flex:1; display:flex; flex-direction:column; }
.person-name { min-width:0; display:flex; align-items:center; gap:6px; }
.person-name > strong { min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:13px; font-weight:600; }
.latency { flex:none; color:#7c858f; font:700 8px 'Manrope'; white-space:nowrap; }
.latency.good { color:#75d86e; }
.latency.medium { color:#e5b957; }
.latency.bad { color:#ff7771; }
.presence-dot { flex:none; width:7px; height:7px; border-radius:50%; background:#6d747d; }
.presence-dot.online { background:#74e66c; box-shadow:0 0 0 3px rgba(116,230,108,.1); animation:presence-online 1.8s ease-in-out infinite; }
.presence-dot.offline { background:#e45b57; box-shadow:0 0 0 3px rgba(228,91,87,.09); animation:presence-offline 2.6s ease-in-out infinite; }
.owner-badge { flex:none; height:18px; display:inline-flex; align-items:center; gap:4px; padding:0 5px; border:1px solid rgba(25,200,106,.28); border-radius:4px; color:var(--accent); background:rgba(25,200,106,.08); font:700 7px 'Manrope'; letter-spacing:.08em; }
.owner-badge svg { width:9px; height:9px; stroke-width:2.2; }
.person.manageable { cursor:pointer; transition:background .16s,box-shadow .16s; }
.person.manageable:hover, .person.manageable:focus-visible { background:#242a31; box-shadow:inset 0 0 0 1px #343b44; outline:none; }
.profile-action { flex:none; margin-left:auto; color:#737c86; font:800 11px 'Manrope'; letter-spacing:1px; }
.person.manageable:hover .profile-action, .person.manageable:focus-visible .profile-action { color:var(--accent); }
.person-info small { color:#6f7782; font-size:10px; }
.person.sharing .person-info small { color:#aebd6b; }
.sidebar-bottom { display:flex; align-items:center; gap:8px; padding:14px 7px 0; border-top:1px solid #242930; }
.connection { min-width:0; flex:1; display:flex; align-items:center; gap:10px; }
.connection > span:last-child { min-width:0; display:flex; flex-direction:column; }
.connection strong { overflow:hidden; text-overflow:ellipsis; font-size:12px; }
.connection small { margin-top:2px; color:#69717c; font-size:10px; }
.connection .status-dot { width:7px; height:7px; }
.icon-button, .dock-icon, .dialog-close { border:0; background:transparent; cursor:pointer; }
.icon-button { width:34px; height:34px; display:grid; place-items:center; color:#777f8a; border-radius:7px; }
.icon-button:hover { color:white; background:#242930; }
.icon-button svg { width:17px; }
.stage-shell { position:relative; min-width:0; min-height:0; display:grid; grid-template-rows:auto minmax(0,1fr) auto; background:radial-gradient(circle at 50% 25%,#191d23 0,#101318 58%,#0d0f13 100%); }
.room-header { height:82px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:0 28px; border-bottom:1px solid var(--line); background:rgba(12,15,19,.8); backdrop-filter:blur(12px); }
.room-header .eyebrow { margin-bottom:4px; color:#69717b; font-size:8px; }
.room-header h2 { margin:0; font:700 17px 'Manrope'; letter-spacing:-.02em; }
.header-actions { display:flex; align-items:center; gap:9px; }
.chat-header-control { position:relative; }
.chat-message-preview { position:absolute; z-index:20; top:49px; right:0; width:260px; max-width:min(260px,calc(100vw - 32px)); padding:10px 12px; border:1px solid #343b44; border-radius:9px; color:#cbd1d7; background:rgba(20,24,29,.97); box-shadow:0 14px 36px rgba(0,0,0,.38); cursor:pointer; text-align:left; animation:chat-preview-in .18s ease-out; }
.chat-message-preview::before { content:''; position:absolute; top:-5px; right:14px; width:8px; height:8px; border-left:1px solid #343b44; border-top:1px solid #343b44; background:#14181d; transform:rotate(45deg); }
.chat-message-preview strong, .chat-message-preview span { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.chat-message-preview strong { margin-bottom:3px; color:#fff; font-size:10px; }
.chat-message-preview span { color:#9ca4ad; font-size:11px; }
@keyframes chat-preview-in { from { opacity:0; transform:translateY(-5px); } }
.panel-button { position:relative; width:40px; height:40px; display:grid; place-items:center; border:1px solid; border-radius:9px; cursor:pointer; }
.panel-button.active { color:var(--accent); border-color:rgba(25,200,106,.42); background:rgba(25,200,106,.09); }
.panel-button svg { width:17px; height:17px; }
.panel-badge { position:absolute; right:-5px; top:-5px; min-width:17px; height:17px; padding:0 4px; display:grid; place-items:center; border:2px solid var(--panel); border-radius:10px; color:var(--ink); background:var(--accent); font:800 8px 'Manrope'; }
.room-theme { color:#858e99; border-color:#2b3038; background:#15191e; }
.room-theme:hover { color:white; background:#20252c; }
.fullscreen-prompt { width:40px; height:40px; display:grid; place-items:center; border:1px solid #2b3038; border-radius:9px; cursor:pointer; }
.fullscreen-prompt svg { width:18px; height:18px; }
.room-token { display:flex; align-items:center; gap:12px; height:42px; padding:0 5px 0 15px; border:1px solid #2b3038; border-radius:8px; background:#15191e; }
.room-token > span { color:#626a74; font:700 8px 'Manrope'; letter-spacing:.16em; }
.room-token strong { font:700 12px 'Manrope'; letter-spacing:.14em; }
.room-token strong { filter:blur(5px); opacity:.58; cursor:pointer; user-select:none; transition:filter .18s,opacity .18s; }
.room-token strong:hover, .room-token strong:focus { filter:none; opacity:1; user-select:text; outline:none; }
.stage { min-width:0; min-height:0; position:relative; overflow:auto; padding:25px 27px; display:grid; place-items:center; }
.empty-state { color:#747d88; text-align:center; }
.empty-icon { position:relative; width:80px; height:80px; margin:0 auto 24px; display:grid; place-items:center; border:1px solid #343a43; border-radius:22px; background:#171b20; transform:rotate(-3deg); }
.empty-icon svg { width:34px; height:34px; color:#79828d; }
.empty-icon i { position:absolute; right:-2px; bottom:-2px; width:17px; height:17px; border:4px solid #12151a; border-radius:50%; background:#4f5660; }
.empty-state h3 { margin:0 0 8px; color:#c5c9ce; font:600 19px 'Manrope'; }
.empty-state p { margin:0; font-size:13px; }
.video-grid { width:100%; height:100%; min-width:0; min-height:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(min(460px,100%),1fr)); grid-auto-rows:minmax(220px,1fr); align-content:center; gap:15px; }
.video-tile { position:relative; min-width:0; min-height:0; overflow:hidden; contain:layout paint; border:1px solid #303640; border-radius:12px; background:#080a0c; box-shadow:0 20px 50px rgba(0,0,0,.2); }
.video-tile:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.video-grid.has-focus { grid-template-columns:1fr; grid-template-rows:minmax(0,1fr); }
.video-grid.has-focus .video-tile:not(.focused) { display:none; }
.video-grid.has-focus .video-tile.focused { width:100%; height:100%; }
.video-tile video { width:100%; height:100%; display:block; object-fit:contain; background:#060708; }
.stream-offer-card { min-height:260px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:32px; text-align:center; background:radial-gradient(circle at 50% 30%,#20262d 0,#0a0c0f 68%); }
.stream-offer-card::before { content:''; position:absolute; inset:0; opacity:.18; background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px); background-size:34px 34px; }
.stream-offer-card > * { position:relative; z-index:1; }
.stream-offer-live { position:absolute; top:14px; left:14px; padding:5px 8px; border-radius:5px; color:#14170e; background:var(--accent); font:800 8px 'Manrope'; letter-spacing:.1em; }
.stream-offer-avatar { width:62px; height:62px; margin-bottom:15px; display:grid; place-items:center; border:2px solid #3b434c; border-radius:18px; object-fit:cover; color:#edf0f2; background:#292f36; font:800 16px 'Manrope'; font-style:normal; text-transform:uppercase; }
.stream-offer-card > strong { font:700 16px 'Manrope'; }
.stream-offer-card > p { max-width:340px; margin:7px 0 18px; color:#7f8994; font-size:11px; line-height:1.45; }
.stream-offer-button { min-height:42px; display:flex; align-items:center; justify-content:center; gap:8px; padding:0 18px; border:0; border-radius:8px; color:#10130b; background:var(--accent); cursor:pointer; font:800 10px 'Manrope'; letter-spacing:.04em; text-transform:uppercase; transition:transform .16s,background .16s; }
.stream-offer-button:hover { transform:translateY(-1px); background:#e2ff79; }
.stream-offer-button svg { width:16px; }
.stream-status { position:absolute; z-index:2; inset:0; display:grid; place-items:center; padding:24px; color:#c6cbd1; background:rgba(6,7,8,.82); font:600 12px 'Manrope'; text-align:center; }
.video-tile:fullscreen { width:100vw; height:100vh; border:0; border-radius:0; contain:none; }
.video-tile:fullscreen .fullscreen-button { position:fixed; z-index:2; top:18px; right:18px; }
.video-tile:fullscreen .audio-control { position:fixed; z-index:2; top:18px; right:62px; }
.video-meta { position:absolute; left:12px; bottom:12px; display:flex; align-items:center; gap:8px; padding:7px 10px; border:1px solid rgba(255,255,255,.1); border-radius:7px; background:rgba(8,10,12,.8); backdrop-filter:blur(8px); font-size:11px; }
.video-meta .status-dot { width:6px; height:6px; }
.fullscreen-button { position:absolute; right:12px; top:12px; width:36px; height:36px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.1); border-radius:7px; color:#c6cbd1; background:rgba(8,10,12,.78); cursor:pointer; }
.fullscreen-button:hover { color:white; background:#1c2026; }
.audio-control { position:absolute; z-index:3; right:56px; top:12px; display:flex; flex-direction:column; align-items:center; }
.sound-button { width:36px; height:36px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.1); border-radius:7px; color:#c6cbd1; background:rgba(8,10,12,.78); cursor:pointer; }
.sound-button:hover { color:white; background:#1c2026; }
.sound-button.muted { color:#ff8a84; }
.sound-button svg { width:17px; height:17px; }
.volume-slider-panel { width:36px; height:108px; margin-top:5px; display:flex; align-items:center; justify-content:center; border:1px solid rgba(255,255,255,.1); border-radius:7px; background:rgba(8,10,12,.9); opacity:0; visibility:hidden; transform:translateY(-5px); transition:.16s; }
.audio-control:hover .volume-slider-panel, .audio-control:focus-within .volume-slider-panel { opacity:1; visibility:visible; transform:none; }
.volume-slider { width:82px; accent-color:var(--accent); transform:rotate(-90deg); cursor:pointer; }
.viewer-control { position:relative; margin-left:3px; }
.viewer-button { height:23px; display:flex; align-items:center; gap:5px; padding:0 7px; border:0; border-radius:5px; color:#aeb5bd; background:rgba(255,255,255,.07); cursor:pointer; font-size:9px; }
.viewer-button:hover { color:white; background:rgba(255,255,255,.13); }
.viewer-button svg { width:12px; height:12px; }
.viewer-popover { position:absolute; z-index:5; left:0; bottom:30px; width:205px; max-height:220px; overflow:auto; padding:11px; border:1px solid #343a43; border-radius:8px; color:#dce0e4; background:#15191e; box-shadow:0 14px 38px rgba(0,0,0,.4); }
.viewer-popover > strong { display:block; margin-bottom:8px; color:#89919b; font:700 9px 'Manrope'; letter-spacing:.08em; text-transform:uppercase; }
.viewer-popover > span { min-width:0; display:flex; align-items:center; gap:8px; padding:5px 0; }
.viewer-popover img, .viewer-popover i { flex:none; width:23px; height:23px; display:grid; place-items:center; border-radius:7px; object-fit:cover; color:#cbd0d5; background:#2a3037; font:700 8px 'Manrope'; font-style:normal; }
.viewer-popover b { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.control-dock { justify-self:center; margin:0 20px 20px; height:64px; display:flex; align-items:center; gap:8px; padding:7px; border:1px solid #30353d; border-radius:12px; background:rgba(24,28,34,.95); box-shadow:0 18px 50px rgba(0,0,0,.35); backdrop-filter:blur(15px); }
.quality-summary { min-width:112px; display:flex; justify-content:center; align-items:center; gap:7px; color:#79818b; font:700 9px 'Manrope'; letter-spacing:.05em; }
.quality-summary i { width:3px; height:3px; border-radius:50%; background:#4e555e; }
.share-button { height:48px; min-width:190px; padding:0 23px; display:flex; align-items:center; justify-content:center; gap:10px; border:0; border-radius:8px; color:var(--ink); background:var(--accent); cursor:pointer; font-weight:700; transition:.18s; }
.share-button:hover { background:#e1ff70; transform:translateY(-1px); }
.share-button.live { color:white; background:#ba403d; }
.share-button.live:hover { background:#ce4a46; }
.dock-icon { width:48px; height:48px; display:grid; place-items:center; border-radius:8px; color:#8b939d; }
.dock-icon:hover { color:white; background:#292e35; }
.room-panel { position:absolute; z-index:15; top:82px; right:0; bottom:0; width:min(390px,100%); display:flex; flex-direction:column; border-left:1px solid #30363e; color:#f4f5f6; background:rgba(17,20,25,.98); box-shadow:-20px 0 55px rgba(0,0,0,.35); backdrop-filter:blur(18px); }
.room-panel-head { flex:none; height:78px; padding:17px 18px 14px 21px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid #292e36; }
.room-panel-head p { margin:0 0 3px; color:#747d87; font:700 8px 'Manrope'; letter-spacing:.16em; }
.room-panel-head h3 { margin:0; font:700 19px 'Manrope'; letter-spacing:-.03em; }
.room-panel-head button { width:34px; height:34px; border:0; border-radius:8px; color:#89919b; background:transparent; cursor:pointer; font-size:25px; }
.room-panel-head button:hover { color:white; background:#252a31; }
.room-panel-view { min-height:0; flex:1; display:flex; flex-direction:column; }
.chat-messages, .activity-list { min-height:0; flex:1; overflow:auto; padding:18px; scrollbar-width:thin; }
.panel-empty { margin:auto; max-width:240px; padding:55px 10px; color:#737b85; text-align:center; font-size:12px; line-height:1.55; }
.chat-message { display:grid; grid-template-columns:34px 1fr; gap:10px; margin-bottom:17px; }
.chat-avatar, .blocked-avatar { width:34px; height:34px; display:grid; place-items:center; border-radius:9px; object-fit:cover; color:#d9dde1; background:#292f36; font:700 10px 'Manrope'; font-style:normal; text-transform:uppercase; }
.chat-message-body { min-width:0; }
.chat-message-head { display:flex; align-items:baseline; gap:7px; }
.chat-message-head strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.chat-message-head time, .activity-entry time { flex:none; color:#606872; font-size:9px; }
.chat-message p { margin:4px 0 0; color:#c8cdd2; font-size:12px; line-height:1.48; white-space:pre-wrap; overflow-wrap:anywhere; }
.chat-image-link { display:block; width:fit-content; max-width:100%; margin-top:7px; border-radius:9px; overflow:hidden; background:#080a0c; }
.chat-image { display:block; max-width:100%; max-height:280px; object-fit:contain; }
.chat-image-link:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
.chat-form { flex:none; padding:13px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:8px; border-top:1px solid #292e36; }
.chat-form textarea { min-width:0; flex:1; max-height:120px; resize:none; padding:11px 12px; border:1px solid #343a43; border-radius:9px; outline:none; color:white; background:#1b2026; font-size:12px; line-height:1.4; }
.chat-form textarea:focus { border-color:var(--accent-dark); box-shadow:0 0 0 3px rgba(25,200,106,.08); }
.chat-form button { flex:none; width:40px; height:40px; display:grid; place-items:center; border:0; border-radius:9px; color:#111419; background:var(--accent); cursor:pointer; }
.chat-form button:hover { background:#e1ff70; }
.chat-form button svg { width:17px; }
.chat-image-preview { position:relative; grid-column:1/-1; width:100%; max-height:180px; overflow:hidden; border:1px solid #343a43; border-radius:9px; background:#090b0d; }
.chat-image-preview img { display:block; width:100%; max-height:180px; object-fit:contain; }
.chat-image-preview button { position:absolute; top:7px; right:7px; width:28px; height:28px; border:1px solid rgba(255,255,255,.18); border-radius:50%; color:#fff; background:rgba(10,12,14,.86); font-size:20px; line-height:1; box-shadow:0 3px 12px rgba(0,0,0,.35); }
.chat-image-preview button:hover { color:#111419; background:var(--accent); }
.activity-list { flex:1; padding-bottom:9px; }
.activity-entry { position:relative; padding:0 0 17px 27px; color:#aeb5bd; font-size:11px; line-height:1.45; }
.activity-entry::before { content:''; position:absolute; left:5px; top:4px; width:7px; height:7px; border-radius:50%; background:#69717b; box-shadow:0 0 0 4px rgba(105,113,123,.1); }
.activity-entry::after { content:''; position:absolute; left:8px; top:16px; bottom:2px; width:1px; background:#292e36; }
.activity-entry:last-child::after { display:none; }
.activity-entry strong { color:#e2e5e8; font-weight:600; }
.activity-entry time { display:block; margin-top:3px; }
.activity-entry[data-action="share-started"]::before { background:var(--accent); box-shadow:0 0 0 4px rgba(25,200,106,.12); }
.activity-entry[data-action="blocked"]::before, .activity-entry[data-action="removed"]::before { background:var(--danger); }
.blocked-section { flex:none; max-height:42%; padding:14px 18px 18px; border-top:1px solid #292e36; overflow:auto; }
.panel-section-title { margin-bottom:10px; display:flex; justify-content:space-between; color:#737c86; font:700 9px 'Manrope'; letter-spacing:.12em; text-transform:uppercase; }
.blocked-list { display:flex; flex-direction:column; gap:7px; }
.blocked-person { display:flex; align-items:center; gap:10px; padding:9px; border:1px solid #30363e; border-radius:9px; background:#1a1f25; }
.blocked-person > span { min-width:0; flex:1; display:flex; flex-direction:column; }
.blocked-person strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
.blocked-person small { margin-top:2px; color:#717983; font-size:9px; }
.blocked-person button { flex:none; height:30px; padding:0 9px; display:flex; align-items:center; gap:5px; border:0; border-radius:7px; color:#cbd1d6; background:#292f36; cursor:pointer; font-size:9px; }
.blocked-person button:hover { color:#171a1e; background:var(--accent); }
.blocked-person button svg { width:12px; }
.owner-room-actions { flex:none; padding:12px 18px 18px; border-top:1px solid #292e36; }
.owner-room-actions > button { width:100%; min-height:58px; padding:10px 12px; display:flex; align-items:center; gap:11px; text-align:left; border:1px solid rgba(255,101,95,.32); border-radius:9px; color:#ff8781; background:rgba(255,101,95,.06); cursor:pointer; }
.owner-room-actions > button:hover { border-color:#ff655f; background:rgba(255,101,95,.12); }
.owner-room-actions svg { flex:none; width:18px; }
.owner-room-actions span { display:flex; flex-direction:column; gap:2px; }
.owner-room-actions strong { font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.owner-room-actions small { color:#9a7474; font-size:9px; }
.settings-dialog { width:min(500px,calc(100% - 30px)); padding:0; border:1px solid #343a43; border-radius:14px; color:white; background:#15191e; box-shadow:0 28px 100px rgba(0,0,0,.6); }
.settings-dialog::backdrop { background:rgba(4,5,7,.72); backdrop-filter:blur(4px); }
.settings-dialog form { padding:26px; }
.dialog-head { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:26px; }
.dialog-head .eyebrow { margin-bottom:6px; color:#77808b; font-size:8px; }
.dialog-head h3 { margin:0; font:700 24px 'Manrope'; letter-spacing:-.035em; }
.dialog-close { color:#7e8791; font-size:27px; line-height:1; }
.dialog-close:hover { color:white; }
fieldset { margin:0 0 24px; padding:0; border:0; }
legend { margin-bottom:10px; color:#8e96a0; font:700 10px 'Manrope'; letter-spacing:.1em; text-transform:uppercase; }
.option-grid { display:grid; gap:8px; }
.resolution-options { grid-template-columns:repeat(3,1fr); }
.fps-options { grid-template-columns:repeat(2,1fr); }
.option-grid label { margin:0; text-transform:none; letter-spacing:0; cursor:pointer; }
.option-grid input { position:absolute; opacity:0; pointer-events:none; }
.option-grid label span { min-height:68px; display:flex; flex-direction:column; justify-content:center; padding:0 13px; border:1px solid #30363e; border-radius:8px; background:#1a1f25; transition:.15s; }
.option-grid label:hover span { border-color:#535b65; }
.option-grid input:checked + span { border-color:var(--accent); background:rgba(25,200,106,.08); box-shadow:inset 0 0 0 1px var(--accent); }
.option-grid strong { font-size:13px; }
.option-grid small { margin-top:3px; color:#747d87; font-size:10px; font-weight:500; }
.option-grid input:checked + span small { color:#a6b268; }
.audio-option { margin:2px 0 25px; display:flex; align-items:center; text-transform:none; letter-spacing:0; cursor:pointer; }
.audio-option > span { flex:1; display:flex; flex-direction:column; }
.audio-option strong { font-size:13px; }
.audio-option small { margin-top:4px; color:#747d87; font-size:10px; font-weight:500; }
.audio-option input { display:none; }
.audio-option i { position:relative; width:40px; height:22px; border-radius:20px; background:#353b44; transition:.18s; }
.audio-option i::after { content:''; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#8c949e; transition:.18s; }
.audio-option input:checked + i { background:var(--accent); }
.audio-option input:checked + i::after { left:21px; background:#15191e; }
.settings-dialog .primary-button { background:var(--accent); color:var(--ink); }
.settings-dialog .primary-button svg { color:var(--ink); }
.toast { position:fixed; z-index:50; left:50%; bottom:28px; transform:translate(-50%,20px); display:flex; align-items:center; gap:10px; padding:11px 15px; border:1px solid #3a414a; border-radius:8px; background:#20252b; opacity:0; pointer-events:none; transition:.22s; box-shadow:0 14px 35px rgba(0,0,0,.35); font-size:12px; }
.toast.show { opacity:1; transform:translate(-50%,0); }
.toast svg { width:15px; color:var(--accent); }
.session-overlay { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:24px; color:white; background:rgba(8,10,13,.88); backdrop-filter:blur(18px); }
.session-card { width:min(430px,100%); padding:38px; text-align:center; border:1px solid #30363e; border-radius:16px; background:#15191e; box-shadow:0 30px 100px rgba(0,0,0,.5); }
.session-card .brand-mark { margin:0 auto 26px; }
.session-card .eyebrow { margin-bottom:9px; color:#808993; }
.session-card h2 { margin:0; font:700 27px/1.15 'Manrope'; letter-spacing:-.04em; }
.session-card > p:not(.eyebrow) { margin:13px auto 24px; color:#8c949e; font-size:13px; line-height:1.6; }
.session-loader { display:block; width:28px; height:28px; margin:5px auto 0; border:2px solid #343a42; border-top-color:var(--accent); border-radius:50%; animation:session-spin .8s linear infinite; }
.session-card .primary-button { margin-top:24px; color:var(--ink); background:var(--accent); }
@keyframes session-spin { to { transform:rotate(360deg); } }
@keyframes presence-online { 50% { opacity:.45; box-shadow:0 0 0 6px rgba(116,230,108,0); } }
@keyframes presence-offline { 50% { opacity:.48; box-shadow:0 0 0 5px rgba(228,91,87,0); } }

.moderation-copy { margin:-8px 0 20px; color:#89919b; font-size:13px; }
.moderation-copy strong { color:white; }
.moderation-action { width:100%; min-height:70px; margin-top:9px; padding:13px 15px; display:flex; align-items:center; gap:14px; text-align:left; border:1px solid #30363e; border-radius:9px; color:white; background:#1a1f25; cursor:pointer; transition:.16s; }
.moderation-action:hover { transform:translateY(-1px); border-color:#555e68; background:#20262d; }
.moderation-action > svg { flex:none; width:21px; }
.moderation-action > span { display:flex; flex-direction:column; gap:4px; }
.moderation-action strong { font-size:13px; }
.moderation-action small { color:#7f8791; font-size:10px; }
.moderation-action.block-action { color:#ff8781; }
.moderation-action.block-action:hover { border-color:#873f3c; background:rgba(186,64,61,.09); }
.close-room-dialog > form > p { margin:-8px 0 24px; color:#929aa4; font-size:13px; line-height:1.6; }
.close-room-actions { display:grid; grid-template-columns:1fr 1.35fr; gap:9px; }
.close-room-actions button { min-height:46px; border-radius:8px; cursor:pointer; font-weight:700; font-size:11px; }
.cancel-close-room { border:1px solid #343a43; color:#b3bac1; background:#1a1f25; }
#confirm-close-room { display:flex; align-items:center; justify-content:center; gap:8px; border:1px solid #c9504b; color:white; background:#ba403d; }
#confirm-close-room:hover { background:#ce4a46; }
#confirm-close-room svg { width:15px; }

html[data-theme="dark"] .entry-panel { color:#f5f6f7; background:#101318; }
html[data-theme="dark"] .entry-panel .section-index { color:#879064; }
html[data-theme="dark"] .entry-subtitle, html[data-theme="dark"] .secondary-button small { color:#858d96; }
html[data-theme="dark"] .field input { color:#f2f4f5; border-color:#30363e; background:#171b21; }
html[data-theme="dark"] .field input:focus { border-color:var(--accent); background:#10251a; box-shadow:0 0 0 3px rgba(25,200,106,.12); }
html[data-theme="dark"] .field input::placeholder { color:#69717b; }
html[data-theme="dark"] .primary-button { color:var(--ink); background:var(--accent); }
html[data-theme="dark"] .primary-button svg { color:var(--ink); }
html[data-theme="dark"] .primary-button:hover { background:#e1ff70; }
html[data-theme="dark"] .secondary-button { color:#f3f5f6; border-color:#30363e; }
html[data-theme="dark"] .secondary-button:hover { background:#1a1f25; border-color:#4a525d; }
html[data-theme="dark"] .or span { background:#30363e; }
html[data-theme="dark"] .landing-theme { color:#a4acb5; border-color:#30363e; background:rgba(23,27,33,.86); }
html[data-theme="dark"] .landing-theme:hover { color:white; background:#242a31; }
html[data-theme="dark"] .discord-login { color:#fff4df; border-color:#67471f; background:#302011; }
html[data-theme="dark"] .discord-login:hover { border-color:#bd7e2f; background:#3e2812; }
html[data-theme="dark"] .discord-login small { color:#bda27b; }
html[data-theme="dark"] .discord-profile { border-color:#30363e; background:#171b21; }
html[data-theme="dark"] .discord-profile button:hover { background:#2a2021; }

html[data-theme="light"] .room { color:#171a1e; background:#e8e7e2; }
html[data-theme="light"] .room-sidebar { border-color:#d3d3ce; background:#f2f1ed; }
html[data-theme="light"] .room-sidebar .brand { color:#15181c; }
html[data-theme="light"] .sidebar-heading, html[data-theme="light"] .person-info small { color:#747a80; }
html[data-theme="light"] .person.sharing { background:#e1e3da; }
html[data-theme="light"] .avatar { color:#525961; background:#dfe1df; }
html[data-theme="light"] .sidebar-bottom { border-color:#d7d7d2; }
html[data-theme="light"] .icon-button:hover { color:#15181c; background:#dedfdb; }
html[data-theme="light"] .stage-shell { background:radial-gradient(circle at 50% 25%,#f5f4f0 0,#e9e8e3 64%,#dfded8 100%); }
html[data-theme="light"] .room-header { border-color:#d4d4cf; background:rgba(244,243,239,.86); }
html[data-theme="light"] .panel-badge { border-color:#f2f1ed; }
html[data-theme="light"] .room-panel { color:#171a1e; border-color:#cfd0cc; background:rgba(244,243,239,.98); box-shadow:-20px 0 55px rgba(45,48,43,.16); }
html[data-theme="light"] .room-panel-head, html[data-theme="light"] .chat-form, html[data-theme="light"] .blocked-section { border-color:#d3d4cf; }
html[data-theme="light"] .chat-message-preview { color:#444b52; border-color:#c9cbc7; background:rgba(255,255,255,.98); box-shadow:0 14px 36px rgba(40,44,48,.14); }
html[data-theme="light"] .chat-message-preview::before { border-color:#c9cbc7; background:#fff; }
html[data-theme="light"] .chat-message-preview strong { color:#202328; }
html[data-theme="light"] .room-panel-head button:hover { color:#171a1e; background:#dedfdb; }
html[data-theme="light"] .chat-avatar, html[data-theme="light"] .blocked-avatar { color:#525961; background:#dfe1df; }
html[data-theme="light"] .chat-message p, html[data-theme="light"] .activity-entry { color:#5f666d; }
html[data-theme="light"] .chat-message-head strong, html[data-theme="light"] .activity-entry strong { color:#202328; }
html[data-theme="light"] .chat-form textarea { color:#202328; border-color:#c9cbc7; background:#fff; }
html[data-theme="light"] .blocked-person { border-color:#ced0cc; background:#e9e9e5; }
html[data-theme="light"] .blocked-person button { color:#50575e; background:#d9dad6; }
html[data-theme="light"] .owner-room-actions { border-color:#d3d4cf; }
html[data-theme="light"] .close-room-dialog > form > p { color:#666d73; }
html[data-theme="light"] .cancel-close-room { color:#555c62; border-color:#ced0cc; background:#e9e9e5; }
html[data-theme="light"] .room-header .eyebrow { color:#777e83; }
html[data-theme="light"] .room-theme, html[data-theme="light"] .room-token { color:#60676e; border-color:#d0d1cd; background:#ebeae6; }
html[data-theme="light"] .room-theme:hover { color:#121519; background:#dedfdb; }
html[data-theme="light"] .room-token strong { color:#202328; }
html[data-theme="light"] .empty-icon { border-color:#c7cac8; background:#ecece8; }
html[data-theme="light"] .empty-icon i { border-color:#e8e7e2; }
html[data-theme="light"] .empty-state h3 { color:#44494e; }
html[data-theme="light"] .empty-state { color:#747b81; }
html[data-theme="light"] .control-dock { border-color:#cbccc8; background:rgba(246,245,241,.95); box-shadow:0 18px 50px rgba(45,48,43,.16); }
html[data-theme="light"] .dock-icon { color:#737a80; }
html[data-theme="light"] .dock-icon:hover { color:#15181c; background:#e2e2dd; }
html[data-theme="light"] .settings-dialog { color:#171a1e; border-color:#c9cac6; background:#f4f3ef; }
html[data-theme="light"] .dialog-close { color:#666d73; }
html[data-theme="light"] .option-grid label span { border-color:#ced0cc; background:#e9e9e5; }
html[data-theme="light"] .audio-option small, html[data-theme="light"] .option-grid small { color:#71777b; }
html[data-theme="light"] .owner-badge { color:#667719; border-color:#b8c282; background:#e8eccf; }
html[data-theme="light"] .person.manageable:hover, html[data-theme="light"] .person.manageable:focus-visible { background:#e1e2dd; box-shadow:inset 0 0 0 1px #cccec9; }
html[data-theme="light"] .moderation-copy { color:#6f767c; }
html[data-theme="light"] .moderation-copy strong { color:#171a1e; }
html[data-theme="light"] .moderation-action { color:#171a1e; border-color:#ced0cc; background:#e9e9e5; }
html[data-theme="light"] .session-overlay { color:#171a1e; background:rgba(230,229,224,.9); }
html[data-theme="light"] .session-card { border-color:#cbccc8; background:#f5f4f0; box-shadow:0 30px 100px rgba(45,48,43,.2); }
html[data-theme="light"] .session-card > p:not(.eyebrow) { color:#6f767c; }

@media (max-width:800px) {
  .landing { display:block; }
  .brand-panel { display:none; }
  .entry-panel { padding:28px 22px; }
  .entry-wrap { overflow:hidden; }
  .mobile-brand { margin-bottom:60px; display:flex; align-items:center; gap:10px; font:800 13px 'Manrope'; letter-spacing:.06em; }
  .mobile-brand .brand-mark { width:32px; height:32px; }
  .room { min-height:100dvh; height:100dvh; display:block; }
  .room-sidebar { position:fixed; z-index:20; left:0; right:0; bottom:0; height:66px; padding:8px 13px; display:block; border:0; border-top:1px solid var(--line); }
  .room-sidebar .brand, .sidebar-section { display:none; }
  .sidebar-bottom { height:100%; padding:0; border:0; }
  .stage-shell { height:calc(100dvh - 66px); grid-template-rows:auto 1fr auto; }
  .room-header { height:68px; padding:0 15px; }
  .room-header > div:first-child .eyebrow { display:none; }
  .room-header h2 { font-size:15px; }
  .room-token { gap:7px; height:38px; padding-left:10px; }
  .room-theme { width:38px; height:38px; }
  .panel-button { width:38px; height:38px; }
  .room-panel { top:68px; width:100%; }
  .room-token > span { display:none; }
  .room-token strong { font-size:10px; }
  .stage { padding:12px; }
  .video-grid { grid-template-columns:1fr; grid-auto-rows:minmax(190px,1fr); }
  .control-dock { width:calc(100% - 24px); height:60px; margin:0 12px 12px; }
  .quality-summary { display:none; }
  .share-button { min-width:0; flex:1; height:46px; }
  .dock-icon { height:46px; }
  .resolution-options { grid-template-columns:1fr; }
  .resolution-options label span { min-height:58px; }
}

@media (max-width:520px) {
  .room-header .theme-toggle { display:none; }
  .header-actions { gap:6px; }
  .room-token { max-width:105px; }
}

/* Mexico Tech landing — v17 */
.landing { position:relative; isolation:isolate; overflow:hidden; background:#050a08; }
.tech-atmosphere { position:absolute; z-index:3; inset:0; overflow:hidden; pointer-events:none; }
.tech-atmosphere::before { content:''; position:absolute; inset:0; opacity:.13; background-image:linear-gradient(rgba(36,255,139,.22) 1px,transparent 1px),linear-gradient(90deg,rgba(36,255,139,.22) 1px,transparent 1px); background-size:52px 52px; mask-image:linear-gradient(90deg,transparent 40%,#000 68%,transparent); }
.tech-atmosphere::after { content:''; position:absolute; top:0; bottom:0; left:44%; width:1px; background:linear-gradient(transparent,rgba(37,232,130,.55),transparent); box-shadow:0 0 30px rgba(37,232,130,.35); }
.tech-atmosphere > i { position:absolute; border-radius:50%; filter:blur(1px); }
.tech-atmosphere > i:nth-child(1) { width:460px; height:460px; right:-170px; top:-190px; background:radial-gradient(circle,rgba(198,41,47,.12),transparent 68%); }
.tech-atmosphere > i:nth-child(2) { width:600px; height:600px; left:27%; bottom:-430px; background:radial-gradient(circle,rgba(25,200,106,.13),transparent 68%); }
.tech-atmosphere > i:nth-child(3) { left:44%; top:0; width:1px; height:100px; border-radius:0; background:linear-gradient(transparent,#48ff9e,transparent); animation:data-scan 5s linear infinite; box-shadow:0 0 18px #25e882; }
.brand-panel,.entry-panel { position:relative; z-index:2; }
.brand-panel { background:radial-gradient(circle at 78% 45%,rgba(13,101,57,.35),transparent 28%),linear-gradient(145deg,#030b07 0%,#061b10 58%,#10140e 100%); border-right-color:rgba(52,255,145,.22); }
.brand-panel::before { opacity:.55; background-size:52px 52px; }
.brand-panel::after { width:680px; height:680px; left:-330px; bottom:-340px; border-color:rgba(35,239,125,.32); box-shadow:0 0 90px rgba(25,200,106,.1),0 0 0 70px rgba(244,240,228,.025),0 0 0 140px rgba(198,41,47,.04); }
.signal-art { right:-15%; top:7%; width:82%; border-color:rgba(37,232,130,.28); filter:drop-shadow(0 0 24px rgba(15,179,83,.12)); }
.signal-art span { border-style:dashed; animation:signal-spin 22s linear infinite; }
.signal-art span:nth-child(2) { animation-direction:reverse; animation-duration:16s; }
.signal-art span:nth-child(3) { background:#1bea78; box-shadow:0 0 24px rgba(25,232,120,.9),0 0 80px rgba(25,200,106,.42); animation:core-pulse 2.4s ease-in-out infinite; }
.signal-art span:nth-child(4) { z-index:2; box-shadow:0 0 12px white; }
.brand { text-shadow:0 0 18px rgba(255,255,255,.12); }
.mexico-mark { border-radius:11px; box-shadow:0 0 0 1px rgba(255,255,255,.19),0 0 26px rgba(29,222,118,.2),0 10px 28px rgba(0,0,0,.34); }
.brand-copy .eyebrow,.section-index { color:#37ee90; text-shadow:0 0 16px rgba(55,238,144,.28); }
.brand-copy h1 { text-shadow:0 12px 48px rgba(0,0,0,.45); }
.brand-copy h1 em { color:#23df7d; background:linear-gradient(90deg,#25e882,#a9ffcb); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; filter:drop-shadow(0 0 18px rgba(37,232,130,.16)); }
.privacy-note { padding:9px 12px; width:max-content; border:1px solid rgba(41,214,116,.14); border-radius:99px; background:rgba(4,17,10,.5); backdrop-filter:blur(10px); }
.entry-panel { background:radial-gradient(circle at 76% 16%,rgba(24,153,83,.09),transparent 25%),radial-gradient(circle at 15% 85%,rgba(198,41,47,.065),transparent 28%),#080d0b; color:#f4f8f5; }
.entry-panel::before { content:''; position:absolute; inset:20px; border:1px solid rgba(63,106,80,.14); pointer-events:none; clip-path:polygon(0 0,90px 0,90px 1px,100% 1px,100% calc(100% - 90px),calc(100% - 90px) calc(100% - 90px),calc(100% - 90px) 100%,0 100%); }
.entry-wrap { position:relative; max-width:500px; padding:34px; border:1px solid rgba(76,125,94,.28); border-radius:20px; background:linear-gradient(145deg,rgba(17,28,22,.82),rgba(8,14,11,.74)); box-shadow:0 32px 90px rgba(0,0,0,.36),inset 0 1px rgba(255,255,255,.035),0 0 0 1px rgba(0,0,0,.2); backdrop-filter:blur(22px); }
.entry-wrap::before,.entry-wrap::after { content:''; position:absolute; width:58px; height:2px; background:linear-gradient(90deg,#25e882,transparent); }
.entry-wrap::before { top:-1px; left:28px; }
.entry-wrap::after { right:28px; bottom:-1px; transform:rotate(180deg); }
.system-status { margin-bottom:30px; display:flex; align-items:center; justify-content:space-between; color:#708078; font:700 9px 'Manrope'; letter-spacing:.16em; }
.system-status span { display:flex; align-items:center; gap:8px; color:#6f9d82; }
.system-status i { width:6px; height:6px; border-radius:50%; background:#25e882; box-shadow:0 0 0 4px rgba(37,232,130,.08),0 0 12px #25e882; animation:status-blink 1.8s ease-in-out infinite; }
.entry-wrap h2 { color:#f7faf8; }
.entry-subtitle { color:#829189; }
.discord-login { min-height:64px; border-color:rgba(111,126,226,.35); border-radius:12px; color:#f1f3ff; background:linear-gradient(135deg,rgba(47,55,96,.82),rgba(29,35,62,.78)); box-shadow:inset 0 1px rgba(255,255,255,.04); }
.discord-login:hover { border-color:#6975dc; background:linear-gradient(135deg,#343e72,#242b50); box-shadow:0 12px 34px rgba(50,62,145,.22),0 0 0 3px rgba(88,101,242,.08); }
.discord-login small { color:#a0a9c8; }
.discord-profile { border-color:#293b31; background:#0d1611; }
.field input { color:#eff8f2; border-color:#273d31; border-radius:11px; background:rgba(8,16,12,.88); }
.field input:focus { border-color:#25e882; background:#0b1d13; box-shadow:0 0 0 3px rgba(37,232,130,.09),0 0 30px rgba(37,232,130,.06); }
.field input::placeholder { color:#53635a; }
.primary-button { border-radius:11px; color:#031008; background:linear-gradient(90deg,#17bd62,#2bea83); box-shadow:0 10px 30px rgba(25,200,106,.15); }
.primary-button:hover { color:#021008; background:linear-gradient(90deg,#22db76,#62f4a4); box-shadow:0 14px 38px rgba(25,200,106,.25); }
.primary-button svg { color:#06140c; }
.secondary-button { border-color:#293b31; border-radius:11px; color:#e8f0eb; background:rgba(10,18,14,.52); }
.secondary-button:hover { border-color:#426a52; background:#101e16; }
.secondary-button small { color:#74837b; }
.or span { background:#26362d; }
.landing-theme { color:#84938a; border-color:#27352d; background:rgba(9,15,12,.78); }
.landing-theme:hover { color:#5ff3a4; border-color:#38664c; background:#101a15; }

@keyframes data-scan { from { transform:translateY(-130px); } to { transform:translateY(100vh); } }
@keyframes signal-spin { to { transform:rotate(360deg); } }
@keyframes core-pulse { 50% { transform:scale(.88); box-shadow:0 0 18px rgba(25,232,120,.8),0 0 110px rgba(25,200,106,.5); } }
@keyframes status-blink { 50% { opacity:.45; } }
@media (prefers-reduced-motion:reduce) { .tech-atmosphere > i,.signal-art span,.system-status i { animation:none !important; } }

@media (max-width:800px) {
  .tech-atmosphere::after { left:0; }
  .entry-panel { background:radial-gradient(circle at 50% 0,rgba(25,200,106,.13),transparent 35%),#080d0b; }
  .entry-panel::after { content:''; position:absolute; width:420px; height:420px; right:-230px; top:-170px; border:1px dashed rgba(37,232,130,.15); border-radius:50%; box-shadow:0 0 0 70px rgba(37,232,130,.018),0 0 0 140px rgba(198,41,47,.012); }
  .entry-wrap { z-index:1; padding:25px; }
  .mobile-brand { margin-bottom:36px; }
  .system-status { margin-bottom:24px; }
}

@media (max-width:420px) {
  .entry-panel { padding:18px; }
  .entry-wrap { padding:22px 18px; border-radius:16px; }
  .entry-panel::before { display:none; }
}

/* Mexico cinematic landing — v18 */
.landing {
  grid-template-columns:minmax(420px,58%) minmax(380px,42%);
  background:#100905 url('/mexico-hero-v2.png') center center/cover no-repeat;
}
.landing::before {
  content:''; position:absolute; z-index:0; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(8,5,3,.86) 0%,rgba(8,5,3,.48) 38%,rgba(8,5,3,.16) 57%,rgba(8,5,3,.72) 76%,rgba(5,4,3,.94) 100%),linear-gradient(0deg,rgba(7,4,2,.78),transparent 38%,rgba(13,4,5,.26));
}
.landing::after {
  content:''; position:absolute; z-index:1; inset:0; pointer-events:none;
  background:radial-gradient(circle at 46% 42%,transparent 0 20%,rgba(11,5,2,.2) 72%),linear-gradient(135deg,rgba(174,18,35,.12),transparent 30%,rgba(0,106,52,.1));
}
.tech-atmosphere { opacity:.55; mix-blend-mode:screen; }
.tech-atmosphere::before { opacity:.12; background-image:linear-gradient(rgba(255,194,82,.18) 1px,transparent 1px),linear-gradient(90deg,rgba(255,194,82,.18) 1px,transparent 1px); mask-image:linear-gradient(90deg,#000,transparent 45%,#000); }
.tech-atmosphere::after { left:auto; right:42%; background:linear-gradient(transparent,rgba(255,179,58,.65),transparent); box-shadow:0 0 28px rgba(255,160,30,.42); }
.tech-atmosphere > i:nth-child(1) { background:radial-gradient(circle,rgba(190,21,41,.24),transparent 68%); }
.tech-atmosphere > i:nth-child(2) { background:radial-gradient(circle,rgba(0,122,61,.22),transparent 68%); }
.tech-atmosphere > i:nth-child(3) { left:auto; right:42%; background:linear-gradient(transparent,#ffc553,transparent); box-shadow:0 0 18px #eaa33b; }
.brand-panel { padding:38px 48px; background:transparent; border-right:0; }
.brand-panel::before { opacity:.15; background-image:linear-gradient(90deg,rgba(255,200,100,.12) 1px,transparent 1px); background-size:84px 100%; mask-image:linear-gradient(to bottom,#000,transparent); }
.brand-panel::after { left:-360px; bottom:-410px; border-color:rgba(238,171,63,.32); box-shadow:0 0 80px rgba(238,171,63,.08),0 0 0 70px rgba(245,234,207,.035),0 0 0 140px rgba(190,21,41,.05); }
.signal-art { display:none; }
.brand-copy { max-width:660px; padding:120px 0 70px; }
.brand-copy .eyebrow { width:max-content; padding:9px 13px; border:1px solid rgba(244,185,82,.32); border-radius:99px; color:#ffd27d; background:rgba(35,15,7,.55); text-shadow:none; backdrop-filter:blur(10px); }
.brand-copy h1 { margin-top:20px; font-size:clamp(58px,6.2vw,98px); color:#fff8eb; text-shadow:0 5px 25px rgba(0,0,0,.85),0 20px 70px rgba(0,0,0,.62); }
.brand-copy h1 em { color:#f7bd4f; background:linear-gradient(90deg,#f7bd4f,#fff0ba 45%,#dc8731); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; filter:drop-shadow(0 4px 18px rgba(96,30,5,.5)); }
.brand-copy > p:last-child { color:#eee2cf; text-shadow:0 2px 12px rgba(0,0,0,.9); }
.brand { padding:8px 12px 8px 8px; border:1px solid rgba(255,216,143,.22); border-radius:13px; background:rgba(14,8,4,.58); box-shadow:0 12px 34px rgba(0,0,0,.24); backdrop-filter:blur(14px); }
.mexico-mark { box-shadow:0 0 0 1px rgba(255,255,255,.2),0 0 24px rgba(219,145,41,.25),0 10px 25px rgba(0,0,0,.4); }
.privacy-note { color:#ddcdb6; border-color:rgba(246,187,79,.24); background:rgba(20,9,4,.62); box-shadow:0 10px 30px rgba(0,0,0,.24); }
.privacy-note .status-dot { background:#eeb04b; box-shadow:0 0 0 3px rgba(238,176,75,.12),0 0 12px rgba(238,176,75,.8); }
.entry-panel { padding:72px; background:transparent; }
.entry-panel::before { inset:28px; border-color:rgba(246,190,87,.16); }
.entry-wrap { max-width:490px; padding:38px; border-color:rgba(246,190,87,.3); border-radius:24px; background:linear-gradient(150deg,rgba(20,12,8,.93),rgba(8,8,6,.9)); box-shadow:0 35px 100px rgba(0,0,0,.58),inset 0 1px rgba(255,240,207,.07),0 0 0 1px rgba(80,34,10,.2); backdrop-filter:blur(26px) saturate(1.25); }
.entry-wrap::before,.entry-wrap::after { height:2px; background:linear-gradient(90deg,#f4bd58,transparent); }
.system-status { color:#9b8162; }
.system-status span { color:#ddb66f; }
.system-status i { background:#00a34f; box-shadow:0 0 0 4px rgba(0,163,79,.12),0 0 12px #00a34f; }
.section-index { color:#db9f3d; text-shadow:0 0 16px rgba(219,159,61,.22); }
.entry-wrap h2 { color:#fff6e9; }
.entry-subtitle { color:#b6a68f; }
.discord-login { color:#fff6e9; border-color:rgba(213,151,55,.42); background:linear-gradient(135deg,rgba(93,50,14,.78),rgba(40,22,11,.86)); box-shadow:inset 0 1px rgba(255,238,194,.06),0 10px 28px rgba(0,0,0,.2); }
.discord-login:hover { border-color:#ecb34f; background:linear-gradient(135deg,#774211,#3e210d); box-shadow:0 13px 34px rgba(82,37,7,.35),0 0 0 3px rgba(231,169,67,.09); }
.discord-login > svg { color:#f0b34f; }
.discord-login small { color:#c2aa83; }
.discord-profile { color:#fff2de; border-color:#5d3e22; background:#17100a; }
.discord-profile small { color:#bb955d; }
.discord-profile button { color:#bb955d; }
.discord-profile button:hover { color:#fff0dc; background:#4b1715; }
.field input { color:#fff4e3; border-color:#4b3520; background:rgba(10,8,5,.88); }
.field input:focus { border-color:#d99d3d; background:#171008; box-shadow:0 0 0 3px rgba(217,157,61,.1),0 0 30px rgba(217,157,61,.06); }
.field input::placeholder { color:#79634b; }
.primary-button { color:#fff8e9; background:linear-gradient(100deg,#006b36,#009b4c); box-shadow:0 12px 30px rgba(0,93,44,.22),inset 0 1px rgba(255,255,255,.12); }
.primary-button:hover { color:#fff; background:linear-gradient(100deg,#008642,#00b458); box-shadow:0 16px 42px rgba(0,119,56,.3); }
.primary-button svg { color:#ffd06d; }
.secondary-button { color:#f3e8d7; border-color:#4b3520; background:rgba(19,13,8,.72); }
.secondary-button:hover { border-color:#b87831; background:#24160b; }
.secondary-button > svg { color:#dca44b; }
.secondary-button small { color:#9d8970; }
.or { color:#846e55; }
.or span { background:#493621; }
.landing-theme { color:#d4b579; border-color:#5b4225; background:rgba(18,11,6,.82); box-shadow:0 8px 28px rgba(0,0,0,.28); }
.landing-theme:hover { color:#ffe2a5; border-color:#b57a32; background:#2a180a; }
html[data-theme="dark"] .entry-panel { color:#f8f0e4; background:transparent; }
html[data-theme="dark"] .discord-login { color:#fff6e9; border-color:rgba(213,151,55,.42); background:linear-gradient(135deg,rgba(93,50,14,.78),rgba(40,22,11,.86)); }
html[data-theme="dark"] .discord-login:hover { border-color:#ecb34f; background:linear-gradient(135deg,#774211,#3e210d); }
html[data-theme="dark"] .discord-login small { color:#c2aa83; }
html[data-theme="dark"] .primary-button { color:#fff8e9; background:linear-gradient(100deg,#006b36,#009b4c); }
html[data-theme="dark"] .primary-button:hover { background:linear-gradient(100deg,#008642,#00b458); }
html[data-theme="dark"] .primary-button svg { color:#ffd06d; }
html[data-theme="dark"] .secondary-button { color:#f3e8d7; border-color:#4b3520; }
html[data-theme="dark"] .secondary-button:hover { border-color:#b87831; background:#24160b; }
html[data-theme="dark"] .landing-theme { color:#d4b579; border-color:#5b4225; background:rgba(18,11,6,.82); }

@media (max-width:1100px) {
  .landing { grid-template-columns:minmax(360px,52%) minmax(360px,48%); }
  .entry-panel { padding:42px; }
  .brand-copy h1 { font-size:clamp(52px,7vw,78px); }
}
@media (max-width:800px) {
  .landing { display:block; background-position:64% center; }
  .landing::before { background:linear-gradient(0deg,rgba(7,5,3,.97) 0%,rgba(7,5,3,.78) 48%,rgba(8,4,3,.36) 100%); }
  .entry-panel { min-height:100dvh; padding:24px; align-items:center; }
  .entry-panel::after { border-color:rgba(236,176,74,.16); box-shadow:0 0 0 70px rgba(236,176,74,.02),0 0 0 140px rgba(161,19,35,.018); }
  .entry-wrap { max-width:520px; padding:28px; }
  .mobile-brand { color:#fff2dc; text-shadow:0 2px 12px #000; }
  .tech-atmosphere::after,.tech-atmosphere > i:nth-child(3) { right:0; }
}
@media (max-width:420px) {
  .entry-panel { padding:14px; }
  .entry-wrap { padding:24px 19px; background:linear-gradient(150deg,rgba(20,12,8,.95),rgba(8,8,6,.93)); }
}
