@font-face{font-family:RA;src:url("/assets/noto-arabic-regular.ttf") format("truetype");font-weight:400;font-display:swap}
@font-face{font-family:RA;src:url("/assets/noto-arabic-bold.ttf") format("truetype");font-weight:700 900;font-display:swap}
:root{color-scheme:dark;--bg:#110c1c;--panel:#1a1328;--panel-raised:#231a34;--border:#ffffff13;--muted:#b1a5c4;--text:#f6f1ff;--purple:#a078ff;--purple-deep:#7544d4;--orange:#ffa266;--orange-deep:#f68b41;--green:#96deb5;--radius:20px;--ease:cubic-bezier(.2,.7,.2,1)}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:30px}
body{margin:0;background:var(--bg);color:var(--text);font-family:RA,Tahoma,sans-serif;font-size:14px;line-height:1.85}
button,input{font:inherit}
button,a,input{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button{cursor:pointer}
a{color:inherit;text-decoration:none}
button:disabled{opacity:.42;cursor:not-allowed}
input{width:100%;min-width:0;border:1px solid #ffffff1a;border-radius:11px;background:#110d1c;color:var(--text);padding:11px 14px;min-height:49px;font-size:12px;outline:none;transition:border-color .2s,box-shadow .2s}
input::placeholder{color:#94869f}
input:focus{border-color:var(--purple);box-shadow:0 0 0 3px #a078ff18}
input[dir=ltr]{text-align:left;font-family:Arial,sans-serif}
label{display:block;font-size:11px;color:#d5c9e5;margin-bottom:7px}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--orange);outline-offset:5px}
::selection{background:#a078ff55;color:white}
svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
svg use[href="#i-play"],svg use[href="#i-pause"],svg use[href="#i-spark"]{fill:currentColor;stroke:none}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.hidden{display:none!important}
.page{min-height:100vh}
.shell{width:min(1260px,calc(100% - 96px));margin-inline:auto}
.skip-link{position:fixed;top:-100px;right:20px;z-index:100;background:var(--orange);color:var(--bg);padding:12px;border-radius:8px}
.skip-link:focus{top:15px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:45px;padding:9px 19px;border:1px solid transparent;border-radius:11px;font-size:12px;font-weight:700;transition:background .2s,transform .2s,box-shadow .2s}
.button:hover:not(:disabled){transform:translateY(-2px)}
.button-primary{background:var(--orange);color:#281507;border-color:var(--orange);box-shadow:0 5px 22px #f68b4118}
.button-primary:hover:not(:disabled){background:#ffb47e;box-shadow:0 7px 28px #f68b4130}
.button-outline{background:transparent;border-color:#ffffff24;color:#e6dcf7}
.button-outline:hover:not(:disabled){background:#ffffff09;border-color:#a078ff80}
.button-soft{background:#a078ff16;color:#d8c6ff;border-color:#a078ff40}
.button-soft:hover{background:#a078ff25}
.button-wide{width:100%}
.button-arrow{margin-right:auto}
.text-button{border:0;background:none;color:var(--purple);padding:7px 3px;font-size:11px}
.text-button:hover{color:var(--orange)}
.icon-button{width:38px;height:38px;display:inline-grid;place-items:center;border:1px solid transparent;background:transparent;color:#d5c7e8;border-radius:10px;flex-shrink:0}
.icon-button:hover:not(:disabled){background:#ffffff0d;color:white}
.live-dot{display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px #96deb510;flex-shrink:0}
.brand{display:flex;align-items:center;gap:11px}
.brand-mark{width:42px;height:44px;border-radius:13px;background:#9b66f2;display:grid;place-items:center;position:relative;box-shadow:inset 0 0 0 1px #ffffff20}
.brand-mark:after{content:"";position:absolute;width:17px;height:17px;border:2px solid var(--orange);bottom:-4px;left:-4px;border-radius:5px;background:#110c1c;transform:rotate(-15deg)}
.brand-mark svg{width:23px;height:23px;color:var(--orange)}
.brand b{display:block;font-family:Arial,sans-serif;font-size:28px;font-weight:800;letter-spacing:1px;line-height:1.1}
.brand-dot{color:var(--orange)}
.brand small{color:var(--muted);font-size:8px;display:block;margin-top:5px}
.home{overflow:hidden;background:radial-gradient(ellipse at 0 20%,#54298816,transparent 40%),var(--bg)}
.topbar{height:108px;display:flex;align-items:center;justify-content:space-between;gap:30px;border-bottom:1px solid var(--border)}
.home-nav{display:flex;align-items:center;gap:30px;color:#bfb1d0;font-size:11px}
.home-nav a:hover{color:var(--orange)}
.home-nav .text-button{color:#bfb1d0}
.nav-join{min-height:40px;font-size:11px;padding-inline:15px}
.nav-join svg{width:15px}
.home-main{display:grid;grid-template-columns:1.02fr 1fr;gap:7%;align-items:center;padding:70px 0 68px}
.eyebrow{font-size:10px;color:var(--purple);display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.1px}
.hero-copy h1{font-size:clamp(35px,3.7vw,53px);line-height:1.65;letter-spacing:-1.8px;margin:19px 0 14px;font-weight:700}
.gradient-text{color:#be9aff;background:linear-gradient(90deg,#ae80ff 5%,#cfb7ff 70%,#ffd2ae);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-description{max-width:470px;color:var(--muted);font-size:12px;line-height:2.2;margin:0 0 27px}
.create-card{background:#1e162c;border:1px solid #b28ada24;border-radius:17px;padding:20px 23px 15px;max-width:475px;box-shadow:0 12px 45px #0002}
.create-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.create-heading strong{font-size:13px;display:block;line-height:1.6}
.create-heading small{font-size:9px;color:var(--muted)}
.mini-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#a078ff15;color:#bd94ff}
.pill{font-size:8px;border:1px solid #ffffff13;color:#c6b5df;border-radius:6px;padding:3px 8px;margin-right:auto;white-space:nowrap}
.create-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:15px}
.optional{font-size:8px;color:#9c8bad;margin-right:6px}
.create-card .button-primary{min-height:49px}
.create-card .button-primary svg:first-child{width:18px}
.small-note{color:#9e8eb2;font-size:8px;text-align:center;margin:12px 0 0;display:flex;justify-content:center;align-items:center;gap:6px}
.small-note svg{width:11px;height:11px}
.home-features{display:flex;gap:18px;font-size:8px;color:#b7a7cd;margin-top:20px;flex-wrap:wrap}
.home-features span{display:flex;gap:6px;align-items:center}
.home-features i{height:4px;width:4px;border-radius:50%;background:var(--purple)}
.home-features span:nth-child(2) i{background:var(--orange)}
.hero-art{min-width:0;position:relative;direction:ltr;padding:55px 4px 48px;margin-top:20px}
.art-orbit{position:absolute;inset:3% -9%;border:1px solid #a078ff15;border-radius:50%;transform:rotate(-29deg);z-index:0}
.orbit-tilt{inset:-4% 6%;transform:rotate(30deg);border-color:#ffa26610}
.art-coordinate{position:absolute;left:15%;top:9px;font:8px Arial,sans-serif;letter-spacing:2.8px;color:#8f799f}
.art-window{position:relative;z-index:1;background:#21172f;border:1px solid #b895e540;border-radius:17px;padding:11px;transform:rotate(-4deg);box-shadow:18px 40px 70px #0006,0 0 80px #8946d616}
.art-top{height:36px;padding:0 5px 10px;display:flex;align-items:center;justify-content:space-between}
.art-window-brand{font:8px Arial,sans-serif;letter-spacing:1.8px;color:#c7b6da}
.art-window-brand i{color:var(--orange);padding:0 5px}
.art-live{font-size:8px;display:flex;align-items:center;gap:7px;direction:rtl;color:var(--green)}
.art-live .live-dot{width:4px;height:4px}
.art-movie{height:clamp(255px,23vw,330px);position:relative;border-radius:9px;overflow:hidden;background:radial-gradient(ellipse at 50% 25%,#673b9c 0,#322247 45%,#150f22 80%)}
.starfield{position:absolute;inset:0;opacity:.7;background-image:radial-gradient(1px 1px at 12% 16%,#fff 95%,transparent),radial-gradient(1px 1px at 26% 31%,#fff 95%,transparent),radial-gradient(2px 2px at 43% 12%,#edcdff 95%,transparent),radial-gradient(1px 1px at 78% 23%,#fff 95%,transparent),radial-gradient(1px 1px at 88% 45%,#fff 95%,transparent),radial-gradient(1px 1px at 68% 8%,#fff 95%,transparent),radial-gradient(1px 1px at 9% 50%,#fff 95%,transparent)}
.art-moon{position:absolute;width:34%;aspect-ratio:1;border-radius:50%;left:35%;top:11%;background:radial-gradient(circle at 32% 25%,#ffd9a5,#f39664 40%,#cc625b 65%,#713d70);box-shadow:0 0 65px #f4996240,inset -16px -10px 25px #57345d50}
.planet-ring{position:absolute;z-index:1;width:63%;height:22%;left:21%;top:27%;border:12px solid #e8a0b26b;border-top-color:#a172a550;border-radius:50%;transform:rotate(-28deg);box-shadow:0 2px 10px #ffa26620}
.art-hills{position:absolute;width:145%;height:65%;border-radius:50%;left:-25%;background:#2d1c40;bottom:-39%;transform:rotate(-16deg);box-shadow:0 -1px 0 #ce8eff22}
.hill-front{background:#1b122c;bottom:-47%;left:-10%;transform:rotate(9deg)}
.scene-tag{position:absolute;top:17px;left:17px;font:7px Arial,sans-serif;letter-spacing:2px;color:#dacbea}
.art-play{position:absolute;z-index:3;left:47%;top:46%;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#ffffff15;border:1px solid #ffedd75c;backdrop-filter:blur(8px);color:#fff3df}
.art-play svg{width:18px;height:18px;margin-left:3px}
.art-caption{position:absolute;z-index:2;bottom:23px;right:22px;direction:rtl}
.art-caption small{font-size:8px;color:#d0b8e0}
.art-caption strong{display:block;font-size:17px;margin-top:2px}
.scene-number{position:absolute;bottom:25px;left:20px;font:9px Arial,sans-serif;letter-spacing:1px;color:#ba91d7}
.art-timeline{display:flex;align-items:center;gap:10px;padding:13px 5px 8px;color:#a88fbd;font:8px Arial,sans-serif}
.art-timeline>div{height:3px;flex:1;background:#ffffff12;border-radius:3px}
.art-timeline i{display:block;width:37%;height:3px;background:var(--orange);border-radius:3px}
.art-bottom{display:flex;align-items:center;justify-content:space-between;padding:5px;height:40px}
.art-avatars{display:flex;align-items:center;padding-left:6px}
.art-avatars b{height:29px;width:29px;border:3px solid #21172f;border-radius:50%;background:#8761c9;display:grid;place-items:center;font-size:9px;margin-left:-7px}
.art-avatars b:nth-child(2){background:var(--orange);color:#392015}
.art-avatars span{font-size:8px;color:#c9b7db;padding-left:10px;direction:rtl}
.art-sound{display:flex;align-items:center;gap:3px}
.art-sound i{height:9px;width:2px;border-radius:2px;background:var(--purple)}
.art-sound i:nth-child(2n){height:18px;background:var(--orange)}
.art-sound i:nth-child(3){height:24px}
.float-note{position:absolute;z-index:3;display:flex;align-items:center;gap:11px;border-radius:13px;border:1px solid #ffffff26;background:#2b1f3ceF;padding:12px 16px;backdrop-filter:blur(15px);box-shadow:0 14px 35px #0004;direction:rtl;font-size:10px}
.float-note small{display:block;color:#b6a3c9;font-size:8px}
.float-top{top:13px;right:-15px;transform:rotate(3deg)}
.floating-icon{color:var(--orange);background:#ffa26615;border-radius:9px;padding:1px 7px;font-size:25px}
.float-bottom{bottom:18px;left:-20px;transform:rotate(2deg)}
.float-avatar{height:31px;width:31px;border-radius:50%;background:var(--orange);display:grid;place-items:center;color:#332015;font-size:12px}
.float-note b{font-size:12px;padding-right:10px}
.art-sticker{position:absolute;left:-24px;top:45%;z-index:5;background:var(--orange);color:#371d16;width:80px;height:88px;border-radius:3px 18px 4px 18px;transform:rotate(9deg);font-size:12px;line-height:1.7;direction:rtl;padding:12px 14px;box-shadow:0 12px 30px #0003}
.art-sticker b{font-size:18px}
.art-sticker span{position:absolute;left:7px;top:8px;font-size:18px}
.experience-strip{display:grid;grid-template-columns:1.15fr 1fr 1fr 1fr;gap:35px;padding:35px 0 40px;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.strip-heading{border-left:1px solid var(--border);padding-left:25px}
.strip-heading small{font:8px Arial,sans-serif;letter-spacing:2.5px;color:var(--orange)}
.strip-heading h2{font-size:19px;margin:10px 0 0;line-height:1.9}
.feature-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid #a078ff30;border-radius:10px;color:var(--purple);background:#a078ff0a}
.feature-icon.orange{color:var(--orange);background:#ffa2660a;border-color:#ffa26630}
.feature-icon svg{width:17px;height:17px}
.experience-strip h3{font-size:12px;margin:14px 0 4px}
.experience-strip p{font-size:10px;color:var(--muted);margin:0;max-width:230px;line-height:2.2}
.how-section{padding:60px 0;display:grid;grid-template-columns:1fr 2fr;gap:45px}
.how-section h2{font-size:21px;margin:11px 0}
.how-section ol{display:flex;list-style:none;padding:0;gap:30px;align-items:center;margin:0}
.how-section li{flex:1;display:flex;align-items:start;gap:12px}
.how-section li>b{font-size:24px;color:#69537f;line-height:1.6}
.how-section li:first-child>b{color:var(--orange)}
.how-section strong{font-size:11px}
.how-section p{color:var(--muted);font-size:9px;margin:5px 0 0}
.home-footer{border-top:1px solid var(--border);display:flex;gap:25px;align-items:center;min-height:87px}
.footer-logo{font:700 21px Arial,sans-serif;letter-spacing:1px;color:#c7abea}
.home-footer>span{font-size:9px;color:#a18bb4}
.home-footer .text-button{margin-right:auto;font-size:9px}
.room{background:radial-gradient(ellipse at 50% 0,#663ba712,transparent 45%),var(--bg)}
.room-header{height:84px;display:flex;align-items:center;padding:0 max(4%,calc((100% - 1400px)/2));gap:30px;border-bottom:1px solid var(--border);background:#151020}
.header-center{display:flex;gap:25px;align-items:center}
.header-divider{height:32px;width:1px;background:var(--border)}
.room-heading small{display:block;color:var(--muted);font-size:9px}
.room-title-button{border:0;background:none;color:var(--text);display:flex;align-items:center;gap:10px;padding:0;text-align:right;max-width:250px}
.room-title-button strong{font-size:12px;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.room-title-button span{font-size:13px;color:var(--purple)}
.header-actions{display:flex;gap:19px;align-items:center;margin-right:auto}
.connection{font-size:10px;display:flex;align-items:center;gap:8px;color:var(--green)}
.connection.connecting{color:var(--orange)}
.connection.connecting .live-dot{background:var(--orange)}
.leave-button{color:#a393b4}
.room-shell{width:min(1400px,92%);margin:auto;padding:32px 0 50px}
.room-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}
.room-kicker{display:flex;align-items:center;gap:8px;font-size:9px;color:var(--muted)}
.room-intro h1{font-size:28px;line-height:1.8;margin:7px 0 0;letter-spacing:-.6px}
.room-intro h1 span{color:#ba94fc}
.room-intro p{color:var(--muted);font-size:11px;margin:4px 0 0}
.room-intro>.button{font-size:11px}
.room-grid{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:22px;direction:ltr;align-items:start}
.watch-column,.chat-panel{direction:rtl;min-width:0}
.player-card,.chat-panel{background:var(--panel);border:1px solid var(--border);border-radius:17px;overflow:hidden}
.player-topline{height:57px;display:flex;align-items:center;justify-content:space-between;padding:0 20px}
.player-topline>div{display:flex;align-items:center;gap:12px}
.player-label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700}
.player-label svg{color:var(--purple);width:16px}
.sync-badge{font-size:8px;color:#cfb5fc;border:1px solid #a078ff30;background:#a078ff10;border-radius:5px;padding:2px 7px}
.player-viewport{position:relative;aspect-ratio:16/9;background:#09060f;overflow:hidden;display:grid;place-items:center}
.player-viewport video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.youtube-wrap{position:absolute;inset:0}
.youtube-wrap iframe{border:0;width:100%;height:100%}
.empty-screen{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#49296d66,transparent 65%),#140e20}
.empty-screen:before,.empty-screen:after{content:"✦";color:#a078ff80;position:absolute;top:21%;left:22%;font-size:14px}
.empty-screen:after{top:73%;left:75%;font-size:9px;color:#ffa26680}
.empty-orbit{position:absolute;border:1px solid #a078ff14;aspect-ratio:1;border-radius:50%;width:48%}
.orbit-two{width:70%;border-style:dashed}
.empty-content{position:relative;text-align:center;z-index:2;padding:20px}
.empty-icon{width:65px;height:65px;display:grid;place-items:center;border:1px solid #b689ff40;background:#a078ff14;color:var(--orange);border-radius:22px;margin:0 auto 15px;box-shadow:0 0 50px #a078ff16}
.empty-icon svg{width:27px;height:27px}
.empty-content h2{font-size:19px;margin:0 0 7px}
.empty-content p{font-size:11px;color:var(--muted);margin:0 0 19px}
.empty-content .button{font-size:10px;min-height:40px}
.player-controls{padding:13px 20px 15px;position:relative}
.seek-row{display:flex;align-items:center;gap:11px;direction:ltr}
.seek-row span{font:10px Arial,sans-serif;color:#baabc9;min-width:34px}
input[type=range]{--progress:0%;min-height:22px;padding:0;border:0;box-shadow:none;cursor:pointer;accent-color:var(--orange);background:transparent;direction:ltr}
input[type=range]::-webkit-slider-runnable-track{height:3px;border-radius:4px;background:linear-gradient(to right,var(--orange) var(--progress),#ffffff20 var(--progress))}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--orange)}
.controls-row{display:flex;align-items:center;justify-content:space-between;direction:ltr;gap:8px;margin-top:5px}
.controls-main,.controls-extra,.volume-controls{display:flex;align-items:center;gap:5px}
.round-play{width:39px;height:39px;border-radius:12px;border:1px solid #b187ff55;background:#a078ff1c;color:#d6bdff;display:grid;place-items:center;flex-shrink:0}
.round-play svg{width:16px;height:16px}
.skip{font:25px Arial,sans-serif;position:relative}
.skip small{font-family:RA,Tahoma,sans-serif;font-size:7px;position:absolute;top:15px;left:14px}
.volume-controls{margin-left:10px}
.volume-controls input{width:64px}
.private-volume{font-size:8px;color:#8f7ea1;direction:rtl}
.fullscreen-controls{display:none}
.player-viewport:fullscreen{width:100vw;height:100vh;aspect-ratio:auto}
.player-viewport:fullscreen .fullscreen-controls{position:absolute;z-index:8;bottom:0;left:0;right:0;display:flex;align-items:center;gap:15px;padding:35px 25px 20px;background:linear-gradient(transparent,#000d);direction:ltr}
.player-viewport:fullscreen .empty-screen{inset:0}
.player-viewport:fullscreen .fullscreen-controls input{flex:1}
.unlock-play{display:block;background:#a078ff20;color:#e8d8ff;border:0;border-top:1px solid #a078ff30;width:100%;padding:8px;font-size:11px}
.media-error{position:absolute;z-index:5;bottom:12px;left:12px;right:12px;padding:10px 15px;background:#291d30f5;border:1px solid #ffa26650;border-radius:10px;color:#ffccaa;text-align:center;font-size:11px}
.audio-art{position:absolute;inset:0;background:radial-gradient(ellipse at 45% 40%,#6c399150,transparent 65%),#140e20;display:flex;align-items:center;justify-content:center;gap:30px}
.record{width:150px;aspect-ratio:1;border-radius:50%;display:grid;place-items:center;background:repeating-radial-gradient(circle,#130e1b 0 4px,#2d203c 5px 7px);border:1px solid #a078ff30;box-shadow:0 15px 40px #0006;animation:spin 18s linear infinite;animation-play-state:paused}
.record span{width:49px;height:49px;display:grid;place-items:center;border-radius:50%;background:var(--orange);color:#311a19;font-size:24px}
.audio-copy small{color:#c6a1ec;font-size:10px;display:block}
.audio-copy strong{display:block;font-size:21px}
.equalizer{display:flex;align-items:center;gap:4px;height:25px;position:absolute;bottom:13%}
.equalizer i{width:3px;height:6px;background:var(--purple);border-radius:3px;animation:wave .65s ease-in-out infinite alternate;animation-play-state:paused}
.equalizer i:nth-child(2n){animation-delay:.2s;background:var(--orange)}
.equalizer i:nth-child(3n){animation-delay:.4s}
.is-playing .record,.is-playing .equalizer i{animation-play-state:running}
.now-playing{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 3px}
.now-playing>div:first-child{min-width:0;flex:1}
.now-playing small{font-size:9px;color:var(--muted);display:block}
.now-playing strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;max-width:100%;unicode-bidi:plaintext}
.media-tools{display:flex;gap:7px;align-items:center;flex-shrink:0}
.media-tools .button{font-size:9px;min-height:34px;padding:5px 11px}
.under-player{display:flex;align-items:center;gap:12px;background:#a078ff08;border:1px solid #a078ff18;border-radius:12px;padding:13px 16px}
.under-icon{height:35px;width:35px;background:#a078ff15;border-radius:9px;display:grid;place-items:center;color:var(--purple);font-size:24px;flex-shrink:0}
.under-player strong{font-size:11px}
.under-player p{font-size:9px;color:var(--muted);margin:1px 0 0}
.room-library{margin-top:24px;border:1px solid var(--border);border-radius:14px;padding:18px;background:#171121}
.library-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;gap:15px}
.library-heading .eyebrow{font-size:8px}
.library-heading h2{font-size:14px;margin:3px 0}
.library-heading h2 span{font:10px Arial,sans-serif;border:1px solid #ffffff20;border-radius:5px;padding:2px 6px;margin-right:6px;color:var(--muted)}
.file-list{display:grid;gap:8px;max-height:290px;overflow:auto;scrollbar-width:thin}
.file-row{min-width:0;display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:#ffffff03}
.file-row.active{border-color:#a078ff55;background:#a078ff0a}
.file-symbol{height:33px;width:33px;flex-shrink:0;border-radius:8px;background:#a078ff15;color:var(--purple);display:grid;place-items:center;font-size:18px}
.file-copy{min-width:0;flex:1}
.file-copy strong{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;unicode-bidi:plaintext}
.file-copy small{font-size:8px;color:var(--muted)}
.file-actions{display:flex;gap:3px}
.file-actions button{width:32px;height:32px;border-radius:8px;border:1px solid #ffffff15;background:none;color:var(--purple);font-size:14px}
.file-actions button:last-child{color:#c79595}
.file-actions button:hover{background:#ffffff0a}
.library-empty{font-size:10px;color:#9e8ab5;text-align:center;padding:17px 0;line-height:2}
.storage-usage{font-size:8px;color:#9985ac;margin:11px 0 0}
.chat-panel{display:flex;flex-direction:column}
.chat-header{display:flex;align-items:center;justify-content:space-between;padding:19px 20px 15px;border-bottom:1px solid var(--border)}
.chat-header h2{font-size:15px;margin:0}
.chat-header h2 span{color:var(--orange);font-size:12px}
.chat-header p{font-size:9px;color:var(--muted);margin:2px 0 0}
.chat-bubble{width:35px;height:35px;border-radius:10px;background:#a078ff12;color:var(--purple);display:grid;place-items:center;font-size:18px}
.voice-panel{margin:16px 16px 0;padding:13px;background:#221833;border:1px solid #a078ff22;border-radius:12px}
.voice-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.voice-title{display:flex;gap:9px;align-items:center}
.voice-icon{color:var(--purple);font-size:19px}
.voice-title strong{font-size:10px;display:block}
.voice-title small{display:block;font-size:8px;color:#af9cc3;max-width:185px;line-height:1.9}
.voice-indicator{font-size:7px;border:1px solid #ffffff1a;color:#c1a5dd;padding:1px 6px;border-radius:4px;white-space:nowrap}
.voice-indicator.online{color:var(--green);border-color:#96deb540}
.voice-indicator.connecting{color:var(--orange)}
.voice-description{font-size:8px;color:var(--muted);margin:10px 0}
.voice-actions{display:flex;gap:6px}
.voice-join{flex:1;font-size:9px;min-height:34px;padding:5px 9px;background:#a078ff22;color:#dec9ff;border-color:#a078ff40;box-shadow:none}
.voice-join:hover:not(:disabled){background:#a078ff33}
.voice-square{width:32px;min-width:32px;height:34px;background:#ffffff06;border:1px solid #ffffff1a;border-radius:8px;color:#d7c3ed}
.voice-square.muted{color:var(--orange);border-color:#ffa26660}
.voice-hangup{color:#ff9b9b;background:#ff6d6d0b}
.voice-bottom{display:flex;align-items:center;gap:8px;margin-top:9px;flex-wrap:wrap}
.voice-bottom label{font-size:8px;white-space:nowrap;margin:0;color:#b8a1cc}
.voice-bottom input{flex:1;min-width:70px}
.voice-unlock{background:none;border:0;color:var(--orange);font-size:9px;width:100%;text-decoration:underline}
.members-section{padding:16px 19px 13px}
.section-label{display:flex;justify-content:space-between;font-size:8px;color:var(--muted);margin-bottom:10px}
.member-list{display:flex;gap:7px;flex-wrap:wrap}
.member{display:flex;align-items:center;gap:6px;background:#ffffff04;border:1px solid var(--border);border-radius:7px;padding:4px 7px;font-size:9px;max-width:100%;min-width:0}
.member>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px}
.avatar{height:23px;width:23px;border-radius:6px;background:#a078ff30;color:#d8bdff;display:grid;place-items:center;font-size:10px;flex-shrink:0}
.member:not(.you) .avatar{background:#ffa26625;color:var(--orange)}
.member-status{height:4px;width:4px;background:var(--green);border-radius:50%;margin:0 3px}
.chat-thread{display:flex;flex-direction:column;min-inline-size:0}
.chat-label{display:flex;align-items:center;gap:10px;min-block-size:28px;padding:0 20px;font-size:8px;color:#9d88b0}
.chat-label i{height:1px;background:var(--border);flex:1}
.messages {
  flex: none;
  block-size: clamp(240px, 36vh, 340px);
  min-block-size: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  padding: 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.messages > * { flex-shrink: 0; }
.messages:focus-visible { outline: 2px solid var(--orange); outline-offset: -2px; }
.chat-welcome{margin:auto;text-align:center;padding:20px 0;color:var(--muted)}
.chat-welcome>div{font-size:38px;line-height:1.5;color:var(--purple)}
.chat-welcome b{font-size:11px;color:#d5c1e9}
.chat-welcome p{font-size:9px;margin:4px 0}
.message{max-width:90%;align-self:flex-start;min-width:80px}
.message.mine{align-self:flex-end}
.message-meta{display:flex;justify-content:space-between;gap:15px;font-size:8px;color:#a28db8;padding:0 2px 3px}
.message-meta time{font-size:7px}
.message-bubble{background:#2c203c;border:1px solid #ffffff08;border-radius:11px 3px 11px 11px;padding:8px 12px;font-size:11px;overflow-wrap:anywhere;white-space:pre-wrap;unicode-bidi:plaintext}
.mine .message-bubble{background:#a078ff20;border-color:#a078ff24;border-radius:3px 11px 11px 11px;color:#e7d7ff}
.message.is-reaction .message-bubble{font-size:25px;background:none;border:0;padding:0 5px}
.quick-reactions{display:flex;align-items:center;gap:5px;padding:8px 17px 9px}
.quick-reactions button{background:none;border:0;padding:4px;width:30px;height:30px;border-radius:8px;font-size:17px}
.quick-reactions button:hover{background:#a078ff20;transform:translateY(-2px)}
.quick-reactions span{font-size:8px;color:#9e88b3;margin-right:auto}
.message-form{display:flex;gap:7px;margin:0 15px;padding:6px;background:#110c1c;border:1px solid #ffffff16;border-radius:11px}
.message-form:focus-within{border-color:#a078ff66}
.message-form input{border:0;background:none;min-height:36px;padding:6px 8px;font-size:10px;box-shadow:none}
.message-form button{width:36px;height:36px;flex-shrink:0;border:0;border-radius:8px;display:grid;place-items:center;background:var(--purple-deep);color:white}
.message-form svg{width:17px;height:17px;transform:scaleX(-1)}
.chat-foot{font-size:7px;color:#8f7c9f;text-align:center;margin:9px 0 13px}
.connection-banner{padding:10px 17px;border-radius:10px;border:1px solid #ffa26640;background:#ffa2660b;color:#ffccaa;font-size:11px;margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.connection-banner .text-button{color:var(--orange);white-space:nowrap}
.overlay{position:fixed;z-index:30;inset:0;background:#08040fc9;backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;padding:26px;overflow-y:auto}
.modal{position:relative;background:#20162f;border:1px solid #a078ff36;border-radius:22px;width:min(100%,440px);padding:30px;box-shadow:0 30px 100px #0008;max-height:calc(100dvh - 52px);overflow-y:auto;scrollbar-width:thin;animation:appear .2s var(--ease)}
.modal h2{font-size:22px;line-height:1.8;margin:13px 0 8px;letter-spacing:-.5px}
.modal>p{font-size:11px;color:var(--muted);line-height:2.1;margin:0 0 20px}
.modal form .button{margin-top:17px}
.modal-icon{height:51px;width:51px;border:1px solid #a078ff44;border-radius:15px;background:#a078ff13;display:grid;place-items:center;color:var(--orange);font-size:25px}
.modal-icon svg{height:23px;width:23px}
.modal-close{position:absolute;left:15px;top:15px}
.modal-eyebrow{margin-top:17px;font-size:9px}
.modal-back{display:block;text-align:center;color:var(--muted);font-size:10px;margin-top:18px}
.modal-back:hover{color:var(--orange)}
.modal #inviteLink{margin-bottom:16px}
.source-modal{width:min(100%,510px)}
.source-tabs{display:flex;border:1px solid var(--border);border-radius:10px;background:#130c20;padding:4px;gap:4px;margin:21px 0}
.source-tabs button{flex:1;border:0;background:none;color:var(--muted);font-size:10px;border-radius:7px;padding:7px}
.source-tabs button[aria-selected=true]{background:#a078ff25;color:#decbff}
.source-hint{font-size:9px!important;color:#a895bb!important;line-height:2.1;margin:12px 0 0!important}
.demo-divider{display:flex;align-items:center;gap:12px;font-size:9px;color:#a38bb7;margin:23px 0 13px}
.demo-divider span{flex:1;height:1px;background:var(--border)}
.demo-buttons{display:flex;gap:10px}
.button-demo{font-size:10px;color:#d4b8f3;background:#a078ff09;border:1px solid #a078ff30;min-height:40px}
.file-picker{padding:23px 18px;border:1px dashed #a078ff66;border-radius:13px;text-align:center;background:#a078ff08;transition:background .2s}
.file-picker.dragging{background:#a078ff25;border-color:var(--orange)}
.file-picker>strong{font-size:13px;display:block}
.file-picker>span{font-size:10px;color:var(--muted);display:block;margin:4px 0 18px}
.upload-illustration{font:35px Arial,sans-serif;color:var(--orange);line-height:1.3;margin-bottom:8px}
.file-picker .button{font-size:10px}
.upload-box{padding:12px;border:1px solid #a078ff35;border-radius:12px;margin-top:14px;background:#a078ff0a}
.upload-top,.upload-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px}
.upload-top span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;direction:ltr}
.upload-top strong{color:var(--orange)}
progress{width:100%;height:5px;accent-color:var(--purple);margin:10px 0}
progress::-webkit-progress-bar{background:#ffffff13;border-radius:5px}
progress::-webkit-progress-value{background:var(--purple);border-radius:5px}
.upload-row span{color:var(--muted);font-size:8px}
.upload-row .text-button{padding:0;font-size:9px}
.dialog-actions{display:flex;gap:10px;margin-top:24px}
.dialog-actions>*{flex:1}
.help-modal{width:min(100%,560px)}
.help-items details{border-bottom:1px solid var(--border);padding:11px 0}
.help-items summary{cursor:pointer;font-size:11px;color:#e2ccf8}
.help-items p{font-size:10px;color:var(--muted);margin:8px 0;line-height:2.3}
.shortcuts{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:20px;font-size:10px;color:var(--muted)}
.shortcuts strong,.shortcuts small{width:100%;font-size:10px}
.shortcuts small{font-size:8px}
kbd{font:10px Arial,sans-serif;padding:3px 6px;border-radius:5px;border:1px solid #ffffff25;color:#e8d7ff;background:#a078ff13;margin:0 2px;display:inline-block;min-width:22px;text-align:center}
.toast{position:fixed;z-index:60;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(90%,550px);width:max-content;background:#322242;border:1px solid #bd94ec70;box-shadow:0 10px 35px #0006;color:#f4eaff;border-radius:12px;padding:12px 22px;font-size:11px;text-align:center;animation:appear .2s var(--ease)}
.reaction-stage{position:fixed;bottom:40px;left:6%;pointer-events:none;z-index:20}
.floating-reaction{display:block;position:absolute;bottom:0;font-size:37px;animation:reaction 2.5s ease-out forwards}
.cinema-mode .room-grid{grid-template-columns:minmax(0,1fr)}
.cinema-mode .chat-panel,.cinema-mode .room-intro,.cinema-mode .under-player,.cinema-mode .room-library{display:none}
.cinema-mode .room-shell{max-width:1200px}
.cinema-mode #cinemaMode{color:var(--orange);border-color:#ffa26660}
.error-page{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;background:radial-gradient(circle,#54307d33,transparent 60%)}
.error-code{font:700 clamp(100px,25vw,210px) Arial,sans-serif;color:var(--purple);line-height:1.4}
.error-page h1{font-size:25px}
.error-page p{color:var(--muted);font-size:12px;margin-bottom:25px}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes wave{to{height:23px}}
@keyframes appear{from{opacity:0;margin-top:8px}to{opacity:1;margin-top:0}}
@keyframes reaction{0%{opacity:0;transform:translateY(0) rotate(-8deg)}15%{opacity:1}to{opacity:0;transform:translateY(-270px) rotate(15deg)}}
@media(min-width:1600px){.home-main{padding-block:90px}.hero-art{padding-top:75px;padding-bottom:70px}}
@media(max-width:1150px){.shell{width:90%}.home-main{gap:6%;padding-block:55px}.hero-copy h1{font-size:38px}.home-nav{gap:22px}.home-features{gap:12px}.float-note{padding:9px 12px;font-size:9px}.art-sticker{width:65px;height:76px;font-size:10px;left:-15px}.art-sticker b{font-size:16px}.experience-strip{gap:25px}.room-grid{grid-template-columns:minmax(0,1fr) 310px;gap:17px}.room-shell{width:94%}.room-header{padding-inline:3%;gap:20px}.header-actions{gap:12px}.room-intro h1{font-size:25px}.media-tools .button{font-size:8px;padding-inline:8px}.private-volume{display:none}.now-playing{flex-wrap:wrap}.how-section{grid-template-columns:1fr;gap:20px}.how-section ol{gap:35px}.how-section h2{margin-bottom:0}}
@media(max-width:850px){.home-nav{gap:17px}.home-nav a{font-size:10px}.home-main{grid-template-columns:1fr 1fr;gap:5%;padding-top:45px}.hero-copy h1{font-size:31px;letter-spacing:-1px}.hero-description{font-size:10px}.eyebrow{font-size:8px}.create-card{padding:16px}.create-fields{grid-template-columns:1fr;gap:8px}.create-fields input{min-height:40px;font-size:10px}.create-fields label{margin-bottom:4px}.create-heading strong{font-size:11px}.pill{font-size:7px;padding:2px 5px}.create-card .button-primary{font-size:10px;min-height:45px}.home-features{font-size:7px}.art-window{padding:8px;transform:rotate(-3deg)}.art-movie{height:245px}.art-caption strong{font-size:13px}.art-caption small{font-size:7px}.art-coordinate{font-size:6px;letter-spacing:2px}.art-window-brand{font-size:6px;letter-spacing:1px}.art-top{height:29px}.float-top{right:-10px;top:15px}.float-bottom{bottom:19px;left:-8px}.art-sticker{display:none}.art-avatars span{font-size:6px}.experience-strip{grid-template-columns:repeat(3,1fr);gap:20px}.strip-heading{grid-column:1/-1;border-left:0;display:flex;align-items:center;justify-content:space-between;padding:0}.strip-heading h2{font-size:17px;margin:0}.strip-heading h2 br{display:none}.room-grid{grid-template-columns:1fr}.chat-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.chat-header{grid-column:1/-1}
.voice-panel{grid-column:1;grid-row:2/4;align-self:start;margin-bottom:15px}
.members-section{grid-column:2;grid-row:2}
.chat-thread{grid-column:2;grid-row:3}.header-actions .connection{font-size:8px}.room-intro h1{font-size:26px}.room-title-button{max-width:180px}.room-title-button strong{max-width:150px}.room-header .brand small{display:none}.room-header .brand b{font-size:24px}.room-header .brand-mark{width:35px;height:38px}.room-shell{width:92%}.now-playing{flex-wrap:nowrap}}
@media(max-width:600px){.shell{width:88%}.topbar{height:84px;gap:15px}.brand-mark{width:34px;height:37px;border-radius:10px}.brand-mark:after{width:14px;height:14px;bottom:-3px;left:-3px}.brand b{font-size:24px}.brand small{font-size:7px}.brand{gap:9px}.home-nav{display:none}.nav-join{font-size:9px;min-height:35px;padding:6px 11px}.nav-join svg{width:13px;height:13px}.home-main{display:flex;flex-direction:column;gap:22px;padding:37px 0 30px}.hero-copy{width:100%}.hero-copy .eyebrow{font-size:9px}.hero-copy h1{font-size:clamp(33px,8.6vw,46px);line-height:1.65;margin:17px 0 12px}.hero-description{font-size:11px;max-width:400px;margin-bottom:23px}.create-card{max-width:none;padding:19px}.create-heading strong{font-size:12px}.create-heading small{font-size:9px}.create-fields{grid-template-columns:1fr 1fr;gap:10px}.create-fields input{min-height:45px;font-size:10px;padding:10px}.create-fields label{font-size:9px}.optional{font-size:7px;margin-right:3px}.pill{font-size:7px}.create-card .button-primary{font-size:12px;min-height:48px}.small-note{font-size:7px}.home-features{font-size:8px;gap:14px;margin-top:17px}.hero-art{width:92%;max-width:420px;margin-top:4px;padding:45px 3px 38px}.art-movie{height:250px}.art-window{transform:rotate(-3deg)}.art-coordinate{font-size:7px;top:10px;letter-spacing:2px}.art-caption strong{font-size:16px}.art-caption small{font-size:8px}.art-window-brand{font-size:7px}.art-top{height:32px}.art-avatars span{font-size:7px}.float-top{right:-13px;top:8px}.float-bottom{left:-13px;bottom:8px}.art-orbit{inset:0 -10%}.experience-strip{grid-template-columns:1fr;padding:26px 0;gap:25px}.strip-heading{display:block;margin-bottom:2px}.strip-heading h2{font-size:21px;margin-top:6px}.experience-strip article{display:grid;grid-template-columns:40px 1fr;column-gap:13px}.feature-icon{grid-row:1/3;height:40px;width:40px}.experience-strip h3{font-size:12px;margin:0 0 3px}.experience-strip p{max-width:100%;font-size:10px}.how-section{padding:35px 0;gap:20px}.how-section h2{font-size:23px}.how-section ol{flex-direction:column;align-items:stretch;gap:22px}.how-section li{gap:20px;align-items:center}.how-section li>b{font-size:29px}.how-section strong{font-size:12px}.how-section p{font-size:10px;margin:2px 0}.home-footer{flex-wrap:wrap;gap:12px 16px;padding-block:21px;min-height:100px}.home-footer>span{font-size:8px;flex:1}.home-footer .text-button{font-size:8px}.footer-logo{font-size:19px}.room-header{height:auto;min-height:75px;flex-wrap:wrap;padding:16px 5%;gap:12px 17px}.room-header .brand{order:1}.header-center{order:2;flex:1;gap:0}.header-divider{display:none}.room-heading{margin-right:auto;text-align:left}.room-heading small{font-size:8px}.room-title-button{max-width:190px}.room-title-button strong{font-size:11px;max-width:158px}.header-actions{order:3;width:100%;margin:5px 0 0;justify-content:space-between;border-top:1px solid var(--border);padding-top:12px;gap:12px}.header-actions .button{font-size:10px;min-height:34px;padding:5px 12px}.header-actions .connection{margin-right:auto;font-size:9px;order:1}.header-actions #copyInvite{order:2}.header-actions .leave-button{font-size:9px;order:3}.room-shell{width:90%;padding-top:24px}.room-intro{align-items:start;margin-bottom:20px}.room-intro h1{font-size:23px;margin-top:5px}.room-intro p{font-size:9px;max-width:235px}.room-kicker{font-size:8px}.room-intro>.button{font-size:0;width:39px;height:39px;padding:0;min-height:39px;margin-top:14px;flex-shrink:0}.room-intro>.button svg{width:19px;height:19px}.player-topline{height:48px;padding:0 12px}.player-label{font-size:9px;gap:5px}.player-label svg{width:13px}.player-topline>div{gap:7px}.sync-badge{font-size:6px;padding:2px 5px}.player-topline .text-button{font-size:8px}.empty-icon{width:43px;height:43px;border-radius:14px;margin-bottom:8px}.empty-icon svg{width:21px;height:21px}.empty-content{padding:10px}.empty-content h2{font-size:14px;margin-bottom:3px}.empty-content p{font-size:8px;margin-bottom:11px}.empty-content .button{min-height:32px;font-size:8px;padding:5px 12px;gap:5px}.empty-content .button svg{width:13px;height:13px}.player-controls{padding:8px 12px 12px}.controls-main{gap:1px}.volume-controls{margin-left:5px;gap:0}.volume-controls input{width:48px}.icon-button{width:33px;height:33px}.icon-button svg{width:18px;height:18px}.round-play{width:34px;height:34px;border-radius:10px}.skip{font-size:23px}.skip small{left:12px;top:13px}.seek-row span{font-size:9px}.seek-row{gap:7px}.now-playing{align-items:start;flex-wrap:wrap;padding:15px 0;gap:12px}.now-playing>div:first-child{width:100%;flex:initial}.now-playing strong{font-size:11px}.media-tools{width:100%}.media-tools .button{font-size:9px;min-height:34px;padding-inline:12px}.media-tools>.icon-button{margin-right:auto;border-color:#ffffff18}.under-player{padding:12px;gap:10px}.under-player p{font-size:8px}.under-player strong{font-size:10px}.under-icon{height:31px;width:31px}.room-library{padding:15px;margin-top:18px}.library-heading h2{font-size:12px}.library-heading .text-button{font-size:9px}.chat-panel{display:flex}.chat-header{padding:18px}.voice-panel{margin-bottom:0}.members-section{padding-top:15px}.messages{block-size:clamp(200px,35vh,290px);block-size:clamp(200px,35svh,290px)}.quick-reactions{align-self:stretch}.message-form{align-self:stretch}.modal{padding:25px 22px;border-radius:18px;max-height:calc(100dvh - 32px)}.overlay{padding:16px}.modal h2{font-size:21px}.modal>p{font-size:10px}.source-tabs{margin-block:17px}.source-tabs button{font-size:9px}.source-hint{font-size:8px!important}.demo-buttons .button{font-size:9px;padding-inline:8px}.audio-art{gap:20px}.record{width:95px}.record span{width:36px;height:36px;font-size:20px}.audio-copy strong{font-size:16px}.audio-copy small{font-size:8px}.equalizer{bottom:10%}.toast{bottom:18px;font-size:10px;padding:10px 16px}.connection-banner{font-size:9px;padding:9px 12px}.connection-banner .text-button{font-size:9px}.error-page h1{font-size:21px}.error-page p{font-size:10px}}
@media(max-width:360px){.shell{width:90%}.create-card{padding:15px}.create-fields{grid-template-columns:1fr}.hero-copy h1{font-size:32px}.hero-description{font-size:10px}.home-features{gap:10px;font-size:7px}.hero-art{width:90%}.art-movie{height:215px}.float-note{font-size:8px;gap:8px;padding:8px 10px}.float-note small{font-size:7px}.header-center{max-width:145px}.room-title-button strong{max-width:116px}.player-label{font-size:8px}.sync-badge{display:none}.empty-content h2{font-size:12px}.empty-content p{font-size:7px}.empty-icon{width:36px;height:36px}.volume-controls input{width:35px}.room-intro h1{font-size:20px}.modal h2{font-size:19px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Legible controls and consistent media sliders across browser engines. */
@media(min-width:601px){.hero-description{font-size:13px}.home-nav{font-size:12px}.create-fields label{font-size:12px}.create-fields input{font-size:12px}.small-note{font-size:9px}.home-features{font-size:9px}.experience-strip p{font-size:11px}.how-section p{font-size:10px}.voice-description{font-size:9px}.message-bubble{font-size:12px}}
input[type=range]{appearance:none;-webkit-appearance:none}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:11px;height:11px;margin-top:-4px;border:0;border-radius:50%;background:var(--orange)}
input[type=range]::-moz-range-track{height:3px;border:0;border-radius:4px;background:#ffffff20}
input[type=range]::-moz-range-progress{height:3px;background:var(--orange)}
input[type=range]::-moz-range-thumb{width:11px;height:11px;border:0;border-radius:50%;background:var(--orange)}
input[type=range]:focus-visible{outline:2px solid var(--purple);outline-offset:4px}

.guide-link-shell{text-align:center;padding:0 20px 20px;background:var(--bg)}.guide-link{font-size:10px;color:var(--purple)}.guide-link:hover{color:var(--orange)}

/* R + A 4.0 — a violet home for Reza and Aynaz. */
:root{--bg:#120b24;--panel:#201339;--panel-raised:#2b1b48;--border:#c2a0fa22;--muted:#bcb0cf;--text:#f7f1ff;--purple:#bb96ff;--purple-deep:#8a5de5;--orange:#eab17f;--green:#b3dfcc}
body{background:#120b24;font-size:14px}
.home{background:radial-gradient(ellipse at 17% 22%,#5b2d8238,transparent 46%),radial-gradient(ellipse at 82% 5%,#8057b315,transparent 38%),#120b24}
.topbar{height:105px;border-bottom-color:#c5a1ff1c}
.brand-mark{background:linear-gradient(145deg,#b394ec,#7246b9);border-radius:15px;box-shadow:0 5px 24px #8964d530}
.brand-mark:after{background:#170e2c;border-color:#bca0ea;transform:rotate(-14deg)}
.brand-mark svg{color:#f7edff}.brand-dot{color:#eab17f}.brand small{font-size:10px}
.brand b{font-weight:700;font-size:27px;letter-spacing:2px}
.home-nav,.home-nav a{font-size:12px}.nav-join{border-color:#c4a0f944;border-radius:30px;padding-inline:22px}
.home-main{padding:60px 0 66px;gap:7%;grid-template-columns:1fr 1fr}
.hero-copy h1{font-size:clamp(35px,3.6vw,52px);line-height:1.65;letter-spacing:-1.4px;margin:17px 0}
.eyebrow{font-size:11px;letter-spacing:.2px}.hero-copy>.eyebrow{border:1px solid #b897ed32;border-radius:25px;background:#b897ed0a;padding:5px 12px;width:fit-content}
.gradient-text{background:linear-gradient(100deg,#a986ee,#e7d7ff);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.hero-description{font-size:13px;line-height:2.25;color:#bdb0cf;max-width:490px}
.create-card{position:relative;background:linear-gradient(145deg,#2a1b43dc,#211534ee);border:1px solid #c7a6ff36;border-radius:24px;max-width:490px;padding:23px 25px 17px;box-shadow:0 18px 55px #06020e30,inset 0 1px 0 #e8d8ff0d}
.create-heading{margin-bottom:17px}.create-heading strong{font-size:15px}.create-heading small{font-size:11px}.pill{border-radius:30px;color:#d1c0e8;font-size:9px;border-color:#c5a1ff2b}
.profile-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:19px}
.profile-choice{display:flex;align-items:center;gap:12px;text-align:right;min-height:77px;padding:11px;border:1px solid #a788d62b;background:#170f2980;color:#e2d6f6;border-radius:15px;transition:border-color .2s,background .2s,transform .2s}
.profile-choice:hover{border-color:#ac88e4a0;transform:translateY(-2px)}
.profile-choice.selected{border-color:#b38dec;background:linear-gradient(135deg,#8154bc30,#a880ec19);box-shadow:inset 0 0 0 1px #c7a0f02a}
.profile-avatar{position:relative;width:43px;height:43px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;font-size:23px;line-height:1;color:#f8f1ff;border:1px solid #e3d3ff44;background:linear-gradient(145deg,#a27ce1,#63499c)}
.profile-avatar.aynaz{background:linear-gradient(145deg,#d1b5ee,#8655af)}
.profile-choice b{display:block;font-size:14px;line-height:1.7}.profile-choice small{display:block;font:9px Arial,sans-serif;letter-spacing:1.7px;color:#c6b3db;margin-top:2px}
.profile-check{margin-right:auto;font:12px Arial;opacity:0;width:17px;height:17px;border-radius:50%;color:#25173b;background:#c3a1f5;display:grid;place-items:center}.selected .profile-check{opacity:1}
.password-field{margin-bottom:16px}.password-field label{font-size:11px;margin-bottom:6px}.password-wrap{position:relative}.password-wrap input{background:#150e24;min-height:48px;padding-left:66px;font-size:11px;border-color:#c2a0fa29;border-radius:12px}
.password-wrap button{position:absolute;left:10px;top:9px;border:0;background:transparent;color:#d2b9f2;min-height:30px;font-size:10px;padding:0 8px}
.setup-notice{color:#e7d8fb;padding:10px;font-size:11px;background:#7e51ac33;border-radius:10px;margin-bottom:15px}.setup-notice a{color:#eac69f;text-decoration:underline}
.button-primary{background:linear-gradient(105deg,#9c75df,#c2a2f5);border:1px solid #e4d1ff3b;box-shadow:0 6px 24px #9065db24;color:#211332;border-radius:12px}
.button-primary:hover:not(:disabled){background:linear-gradient(105deg,#b08ae9,#d1b6fc);box-shadow:0 9px 30px #a076dc30}
.create-card .button-primary{min-height:49px;font-size:13px}.small-note{font-size:10px;margin-top:13px;color:#b4a0cb}
.home-features{font-size:10px;gap:20px;margin-top:21px}.home-features span:nth-child(2) i{background:#bd97e8}
.hero-art{padding:50px 0;transform:translateY(-15px)}.art-window{transform:rotate(-5deg);border:1px solid #c9a7f54a;border-radius:21px;background:linear-gradient(160deg,#382152,#241638);padding:12px;box-shadow:15px 40px 80px #08020f70,0 0 100px #70429f20}
.art-movie{height:330px;background:radial-gradient(ellipse at 45% 20%,#794cb1 0,#43285f 46%,#221331 88%);border-radius:13px}
.art-moon{width:36%;left:33%;top:13%;background:radial-gradient(circle at 32% 25%,#f7e5ff,#cb9df0 39%,#9c62bc 66%,#624075);box-shadow:0 0 80px #c69af34a,inset -16px -10px 25px #58307366}
.planet-ring{border-color:#d8aff570;border-top-color:#9a70b450;box-shadow:0 2px 20px #b489e540;top:29%;height:22%;border-width:10px}
.hill-back{background:#3d2454}.hill-front{background:#241332}.art-play{background:#efe1ff12;border-color:#dfc4fa66;backdrop-filter:blur(5px);width:53px;height:53px}
.art-caption strong{font-size:19px}.art-caption small{font-size:10px}.scene-tag{font-size:8px;letter-spacing:2.4px;color:#ecd7ff}.art-coordinate{font-size:9px;letter-spacing:2.5px;left:9%;color:#ae8cc6}
.art-window-brand{font-size:9px;letter-spacing:1px}.art-live{color:#d3b7ef;font-size:9px}.art-timeline i{background:#bf9bfa}.art-avatars b:nth-child(2){background:#c9a8ed;color:#38214e}.art-avatars span{font-size:9px}
.float-note{background:linear-gradient(130deg,#392350,#2d1e40);border-color:#c7a4f63b;box-shadow:0 12px 35px #09031050;padding:13px 16px;border-radius:14px;font-size:11px}.float-note small{font-size:9px;color:#b9a4cb}.floating-icon{color:#e7b887}.float-avatar{background:#a27bcb;color:white}.float-top{right:-18px;top:7px}.float-bottom{left:-16px;bottom:6px}.art-sticker{background:#c5a4eb;color:#322049;box-shadow:none;transform:rotate(12deg);left:-25px;bottom:87px}
.experience-strip{border-top:1px solid #be9ae522;border-bottom:1px solid #be9ae522;background:#a478db03;padding-block:34px}.experience-strip p{font-size:12px;color:#b7a8c7}.experience-strip h3{font-size:14px}.feature-icon.orange{color:#c6a2ed;background:#ad83dc14}.strip-heading h2{font-size:21px}.strip-heading small{color:#b395d1}
.how-section{padding-block:48px}.how-section p{font-size:11px}.how-section li>b{color:#c1a0eb}.home-footer{padding-block:22px;color:#ac96c1}.footer-logo{color:#c0a2e6}
.room{background:radial-gradient(ellipse at 68% 3%,#60358223,transparent 44%),#120b24}.room-header{background:#1b102e;border-bottom-color:#ba93ef22;min-height:84px;height:auto;padding-block:13px}.room-shell{padding-top:29px;max-width:1410px}.room-kicker{color:#bb94e3}.room-intro h1{font-size:28px}.room-intro h1 span{color:#d0aff3}.room-intro p{font-size:12px}
.player-card,.chat-panel{background:#201435;border:1px solid #bf9ce92d;border-radius:20px;box-shadow:0 14px 44px #08030e25}.player-topline{background:#26173e;border-bottom:1px solid #c3a4e914}.player-viewport{background:#110a1e}.empty-screen{background:radial-gradient(ellipse at 50% 55%,#432264 0,#28183d 45%,#1b102c 85%)}
.empty-orbit{border-color:#ab7dd522}.empty-icon{color:#dabafa;background:#b888e71c;border-color:#bb97e73c;box-shadow:0 0 80px #ad78de26}.empty-content h2{font-size:24px}.empty-content p{font-size:12px}.empty-content .button{margin-top:7px}.round-play{background:#c5a1ee;color:#2f1b46}.player-controls{background:#25173c}.sync-badge{background:#a582dd14;border-color:#b58ce42b;color:#d2b7ef}.under-player{background:#25163a;border-color:#b28bd524}.under-icon{color:#c0a0ea;background:#b08ade17}.under-player p{font-size:11px}.under-player strong{font-size:12px}
.chat-header{background:#2b1942}.chat-header h2{font-size:17px}.chat-header p{font-size:11px}.voice-panel{background:linear-gradient(145deg,#382052,#2b1a42);border-color:#ba91e331;border-radius:15px}.voice-title strong{font-size:12px}.voice-title small{font-size:10px}.voice-description{font-size:11px;line-height:2}.voice-mode-label{font-size:10px;color:#ccbae0;margin-block:12px}.voice-mode-label select{font:11px RA,sans-serif;display:block;width:100%;margin-top:5px;border-radius:9px;padding:8px 9px;min-height:39px;color:#e2d0f6;background:#221432;border:1px solid #cba9f22b}.voice-mode-label select:focus-visible{outline:2px solid #bd97ef}.voice-bottom label{font-size:10px}.voice-actions .voice-join{font-size:11px}.voice-icon{color:#d9b7f5}.voice-indicator{font-size:9px}.voice-square{min-height:42px}.message-form input{font-size:12px}.chat-foot{font-size:10px}.chat-welcome p{font-size:11px}.chat-welcome b{font-size:13px}.member .avatar{background:#8c65bc}.member.you .avatar{background:#c6a1ed;color:#2c193d}.member{background:#a77bd113}.message-bubble{background:#35204e}.message.you .message-bubble{background:#61417e}.quick-reactions button{min-width:36px;min-height:38px}.room-library{background:#211535;border-color:#b990db29}.file-row.active{border-color:#b28cdb6b;background:#ad7de212}.file-symbol{color:#cbabed}.modal{background:linear-gradient(145deg,#2f1e45,#20132e);border-color:#c9a1ed3d;box-shadow:0 30px 90px #0008}.overlay{backdrop-filter:blur(10px)}.modal h2{color:#efddff}.modal-icon{color:#d5b3f4;background:#bb8fe21a}.guide-link{color:#bba2d2;border-color:#b693d82b;font-size:10px}
@media(min-width:1500px){.home-main{padding-block:80px}.hero-art{padding-block:75px}.art-movie{height:360px}}
@media(max-width:1050px){.home-main{gap:5%}.create-card{padding:19px}.hero-copy h1{font-size:36px}.profile-choice{gap:8px;padding:9px}.profile-avatar{width:36px;height:36px;font-size:21px}.art-movie{height:300px}.art-sticker{display:none}.header-actions{gap:10px;flex-wrap:wrap}.room-header{gap:15px}.room-intro h1{font-size:25px}}
@media(max-width:760px){.home-main{grid-template-columns:1fr;gap:40px;padding-top:35px}.hero-copy{max-width:540px;margin:auto;width:100%}.hero-copy h1{font-size:40px}.create-card{max-width:none}.hero-art{width:86%;max-width:480px;margin:auto;transform:none;padding-block:45px}.art-movie{height:310px}.home-nav{display:none}.float-top{right:-12px}.float-bottom{left:-14px}.home-features{font-size:10px;gap:15px}.room-header{flex-wrap:wrap}.header-actions{margin-right:auto}.header-center{flex:1}.room-header .brand small{display:none}.room-intro h1{font-size:24px}.room-intro p{font-size:11px}}
@media(max-width:600px){.shell{width:90%}.topbar{height:83px}.brand small{font-size:8px}.brand b{font-size:24px}.nav-join{font-size:10px;padding:7px 13px;min-height:39px}.hero-copy h1{font-size:clamp(33px,8.7vw,42px);line-height:1.65}.hero-description{font-size:12px}.hero-copy>.eyebrow{font-size:10px}.create-card{padding:19px;border-radius:20px}.create-heading strong{font-size:14px}.create-heading small{font-size:10px}.pill{font-size:8px}.profile-choice{min-height:73px;gap:9px;padding:10px}.profile-avatar{width:38px;height:38px}.profile-choice b{font-size:14px}.profile-check{width:15px;height:15px;font-size:10px}.password-wrap input{font-size:12px;min-height:48px}.small-note{font-size:10px}.home-features{justify-content:space-between;font-size:9px;gap:6px}.hero-art{width:90%;margin-top:0}.art-movie{height:280px}.art-window-brand{font-size:8px}.art-avatars span{font-size:8px}.art-coordinate{font-size:7px;left:9%;letter-spacing:1.6px}.float-note{font-size:10px;padding:10px 13px}.float-note small{font-size:8px}.art-caption strong{font-size:18px}.art-caption small{font-size:9px}.experience-strip{gap:24px;padding-block:25px}.experience-strip p{font-size:11px}.how-section h2{font-size:23px}.how-section p{font-size:11px}.home-footer{gap:15px}.room-header{padding:14px 5%;gap:10px;align-items:center}.room-header .brand b{font-size:21px}.room-title-button strong{max-width:125px;font-size:11px}.header-center{max-width:none}.header-actions{width:100%;border-top:1px solid #b391dd20;padding-top:10px;justify-content:space-between;gap:8px}.header-actions #signOut,.header-actions #leaveRoom{font-size:10px;min-height:34px}.header-actions .button{min-height:36px;font-size:10px;padding:6px 10px}.header-actions .connection{font-size:9px}.room-intro{display:block;margin-bottom:19px}.room-intro h1{font-size:24px;line-height:1.7}.room-intro>.button{margin-top:14px;min-height:42px;font-size:11px}.player-topline{height:48px}.player-label{font-size:10px}.sync-badge{font-size:8px}.empty-content h2{font-size:18px}.empty-content p{font-size:10px}.empty-content .button{font-size:10px;min-height:38px}.empty-icon{width:42px;height:42px;margin-bottom:7px}.controls-main .icon-button,.controls-extra .icon-button{min-height:42px;width:40px}.round-play{width:42px;height:42px}.player-controls{padding:8px 13px 12px}.volume-controls input{width:54px}.under-player p{font-size:10px}.under-player strong{font-size:11px}.voice-title strong{font-size:13px}.voice-title small{font-size:11px}.voice-description{font-size:12px}.voice-actions .voice-join{font-size:12px;min-height:44px}.voice-mode-label{font-size:11px}.voice-mode-label select{font-size:12px;min-height:43px}.chat-foot{font-size:10px}.message-form input{font-size:12px}.modal{padding:26px 22px}.modal>p{font-size:12px}.source-hint{font-size:11px!important}.source-tabs button{font-size:11px}.demo-buttons .button{font-size:10px;min-height:43px}.toast{font-size:12px}.media-tools .button{min-height:40px;font-size:10px}.library-heading h2{font-size:14px}.file-actions button{min-width:38px;min-height:38px}}
@media(max-width:360px){.create-card{padding:15px}.profile-picker{gap:8px}.profile-choice{gap:7px}.profile-avatar{width:33px;height:33px}.profile-choice b{font-size:13px}.profile-check{display:none}.home-features{font-size:8px}.header-actions .connection{font-size:8px}.art-movie{height:245px}.empty-content p{font-size:9px}.volume-controls input{width:38px}}

/* Persistent notice for a storage failure; removed after the next successful save. */
.storage-warning{padding:14px 17px;margin-bottom:20px;border-radius:12px;border:1px solid #ef9293;background:#542b38;color:#fff1ef;font-size:13px;line-height:1.9}
/* Shared subtitle controls and compact voice stage */
.subtitle-display{position:absolute;z-index:7;bottom:7%;left:6%;right:6%;text-align:center;white-space:pre-line;pointer-events:none;color:#fff;font-size:clamp(15px,2.1vw,24px);line-height:1.65;font-weight:bold;text-shadow:0 2px 3px #000,1px 1px 2px #000,-1px -1px 2px #000;filter:drop-shadow(0 0 4px #000);direction:auto}
.player-viewport:fullscreen .subtitle-display{bottom:14%;font-size:clamp(20px,2.3vw,34px)}
.subtitle-modal input[type=file],.subtitle-modal select{width:100%;border:1px solid #b596d646;border-radius:10px;padding:10px;color:#f5edff;background:#211532;font:inherit;min-height:44px}
.subtitle-modal form{margin-top:13px}.subtitle-modal form label,.subtitle-modal>label{display:block;margin:12px 0 5px;font-size:11px}.subtitle-modal form .button{margin-top:10px}.subtitle-modal #removeSubtitle{margin-top:12px}.subtitle-modal .source-hint{line-height:1.8}
.voice-panel{padding:16px;background:linear-gradient(150deg,#281839,#181126);border:1px solid #a880d946;box-shadow:0 12px 30px #09051030}
.voice-head{margin-bottom:12px}.voice-title strong{font-size:13px}.voice-title small{line-height:1.7}.voice-indicator{border-radius:999px;padding:3px 9px}
.voice-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.voice-person{min-width:0;min-height:132px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:12px 6px;border:1px solid #ffffff16;border-radius:13px;background:linear-gradient(155deg,#46315f,#2e2144);transition:border-color .2s,box-shadow .2s}
.voice-person.is-active{border-color:#a8e6bc80;box-shadow:inset 0 0 0 1px #a8e6bc26}
.voice-avatar{display:grid;place-items:center;width:47px;height:47px;border-radius:50%;font-size:20px;font-weight:bold;color:#3a2551;background:linear-gradient(140deg,#f0d8ff,#c1a3e9)}
.voice-avatar-other{background:linear-gradient(140deg,#f7d0af,#d498ac);color:#4e2940}.voice-person strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#f9f1ff}.voice-person small{font-size:9px;color:#d5c5e4}
.voice-mode-label{margin:12px 0 9px}.voice-actions{align-items:stretch;gap:8px}.voice-actions .voice-join{min-height:44px}.voice-square{width:44px;min-width:44px;height:44px;border-radius:12px;font-size:17px}.voice-hangup{background:#a3354660;border-color:#ef829c55;color:#ffdce4}.voice-bottom{margin-top:11px}
.now-playing .media-tools{flex-wrap:wrap;justify-content:flex-end}.now-playing .media-tools .button{white-space:nowrap}
@media(max-width:850px){.voice-panel{grid-column:1;min-width:0}.voice-person{min-height:116px}}
@media(max-width:600px){.voice-panel{margin:14px 12px 0;padding:14px}.voice-person{min-height:115px}.voice-avatar{height:43px;width:43px}.voice-person strong{font-size:11px}.voice-person small{font-size:10px}.voice-actions .voice-join{min-height:45px}.subtitle-display{font-size:clamp(14px,4vw,20px);line-height:1.6}.now-playing .media-tools{justify-content:flex-start}.subtitle-modal{padding:24px 20px}}
.mkv-extract{margin:16px 0;padding:13px;border:1px solid #c8a3f035;background:#ffffff08;border-radius:12px}.mkv-extract strong{font-size:12px}.mkv-extract p{font-size:10px;line-height:1.9;color:#ccbada;margin:6px 0}.mkv-extract .button{margin-top:7px}.mkv-extract #cancelMkv{margin-top:9px}.mkv-extract select{margin-top:4px}
/* Compact reactions, shared GIFs and message sound. */
.chat-sound{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;border:1px solid #ffffff22;background:#ffffff0a;font-size:17px;cursor:pointer}
.chat-sound[aria-pressed=false]{opacity:.64}
.quick-reactions .reactions-more{margin-inline-start:auto;width:auto;min-width:60px;padding:4px 9px;border:1px solid #c29be245;background:#b893ec17;font-size:13px}
.reactions-modal{width:min(100%,480px)}.reaction-tabs{display:flex;gap:7px;margin:16px 0 12px}.reaction-tabs button{flex:1;min-height:38px;border-radius:10px;border:1px solid #c5a0e22b;background:#ffffff08;color:#e5d5f4;font:inherit;font-size:12px}.reaction-tabs button[aria-pressed=true]{background:#bc93ed35;border-color:#d7b9f19a;color:#fff}
.reaction-picker{max-height:min(42vh,310px);overflow:auto;display:grid;gap:8px}.reaction-picker.emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.picker-emoji{min-height:44px;border:1px solid #ffffff14;border-radius:11px;background:#ffffff08;font-size:24px;cursor:pointer}.picker-emoji:hover,.picker-asset:hover{background:#b48ce82c}
.reaction-picker.asset-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.picker-asset{min-width:0;min-height:105px;padding:5px;border:1px solid #ffffff18;border-radius:10px;background:#ffffff08;color:#f1e7fb;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.picker-asset img{width:100%;height:75px;object-fit:contain;border-radius:7px}.picker-asset small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.picker-fallback{font-size:30px}.message.is-asset .message-bubble{padding:4px;background:#ffffff08;border-radius:12px;max-width:210px}.message.is-asset img{display:block;width:100%;max-width:180px;max-height:180px;object-fit:contain;border-radius:8px}.asset-fallback{color:#e2cafa;text-decoration:underline;display:block;max-width:175px;font-size:11px;padding:7px}
@media(max-width:600px){.reaction-picker.emoji-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.reaction-picker.asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reactions-modal{padding:24px 18px}.message.is-asset img{max-width:150px;max-height:150px}}

.quick-reactions { flex-wrap: wrap; }
.reactions-modal .source-hint a { color: #e2cafa; }
.unread-messages, .play-reaction {
  border: 1px solid #e1bcff55;
  border-radius: 8px;
  background: #491d66;
  color: #fff;
  padding: 4px 8px;
  font: inherit;
  cursor: pointer;
}
.message.is-asset img { width: auto; height: 132px; max-width: 100%; }
.reaction-stage { left: max(38px, 8%); }
.reaction-wave { display: contents; }
.floating-reaction {
  left: 0;
  animation: chat-wave 2.2s ease-out both;
  font-size: 27px;
}
@keyframes chat-wave {
  0% { opacity: 0; transform: translate(0, 0) scale(.65); }
  15% { opacity: 1; }
  72% { opacity: .95; }
  100% { opacity: 0; transform: translate(var(--reaction-offset), -200px) scale(1.25); }
}
