@layer chat-interface {
/* Private chat only. School styles and layout are not part of this design. */
body.river-chat{--bg:#0a0a0c;--panel:#151518;--panel2:#202024;--panel3:#2b2b30;--line:#ffffff16;--text:#f4f4f7;--muted:#a3a3ac;--soft:#797983;--accent:#8ebaff;--accent-bg:#8ebaff15;--green:#67d79b;--chat-solid:#0a0a0c;background:var(--chat-solid) !important;color:var(--text) !important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;overflow:hidden !important;}
body.river-chat #sidebar,body.river-chat .topbar,body.river-chat .site-footer{display:none !important;}
body.river-chat .app-main,body.river-chat #content.chat-page{margin:0 !important;padding:0 !important;width:100% !important;height:100dvh !important;max-width:none !important;background:var(--chat-solid) !important;}
body.river-chat [hidden]{display:none !important;}body.river-chat button{font-family:inherit !important;letter-spacing:0 !important;box-shadow:none !important;cursor:pointer !important;transition:background .15s,opacity .15s !important;}
body.river-chat button:focus-visible,body.river-chat a:focus-visible{outline:2px solid var(--accent) !important;outline-offset:3px !important;}
body.river-chat .icon-btn{display:inline-flex !important;align-items:center !important;justify-content:center !important;width:40px !important;height:40px !important;min-height:40px !important;padding:9px !important;border-radius:50% !important;border:0 !important;color:var(--text) !important;background:transparent !important;}
body.river-chat .icon-btn:hover{background:#ffffff10 !important;}body.river-chat .icon-btn svg{width:21px !important;height:21px !important;stroke-width:1.7 !important;}
body.river-chat .primary{background:var(--accent) !important;color:#071326 !important;border:0 !important;border-radius:99px !important;padding:11px 22px !important;font-size:14px !important;min-height:44px !important;}
body.river-chat .secondary{background:var(--panel2) !important;color:var(--text) !important;border:1px solid var(--line) !important;border-radius:99px !important;padding:10px 18px !important;font-size:13px !important;min-height:42px !important;}
body.river-chat input,body.river-chat textarea,body.river-chat select{font-family:inherit !important;color:var(--text) !important;background:var(--panel2) !important;border:1px solid var(--line) !important;border-radius:12px !important;font-size:15px !important;padding:12px !important;box-shadow:none !important;}
body.river-chat select{appearance:auto !important;min-height:46px !important;}body.river-chat input[type=checkbox]{appearance:auto !important;width:20px !important;height:20px !important;padding:0 !important;accent-color:var(--accent) !important;border-radius:4px !important;flex:none !important;}body.river-chat input[type=color]{appearance:auto !important;padding:3px !important;width:48px !important;height:36px !important;min-height:36px !important;cursor:pointer !important;border-radius:9px !important;}
body.river-chat input[type=range]{padding:0 !important;accent-color:var(--accent) !important;height:22px !important;border:0 !important;background:transparent !important;}
body.river-chat .hint,body.river-chat .muted{color:var(--muted) !important;font-size:13px !important;line-height:1.6 !important;}body.river-chat .text-btn{font-size:13px !important;color:var(--accent) !important;}
body.river-chat .chat-shell.river-workspace{position:relative !important;display:block !important;inset:0 !important;width:100% !important;height:100dvh !important;overflow:hidden !important;border:0 !important;border-radius:0 !important;background:var(--chat-solid) !important;}
body.river-chat .river-workspace .conversation{position:absolute !important;inset:0 !important;display:flex !important;width:100% !important;height:100% !important;min-width:0 !important;min-height:0 !important;border:0 !important;padding:0 !important;border-radius:0 !important;background:var(--chat-solid) !important;}
body.river-chat .conversation-surface{position:relative !important;display:flex !important;flex-direction:column !important;flex:1 !important;width:100% !important;height:100% !important;min-width:0 !important;min-height:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;overflow:hidden !important;background:transparent !important;}
body.river-chat .conversation-surface:before{content:"" !important;position:absolute !important;inset:0 !important;background-image:var(--chat-photo,none) !important;background-size:var(--chat-photo-size,cover) !important;background-position:var(--chat-photo-position,center) !important;opacity:var(--wallpaper-opacity,.3) !important;filter:blur(var(--wallpaper-blur,0px)) !important;pointer-events:none !important;z-index:0 !important;}
body.river-chat .conversation-header{position:relative !important;display:flex !important;align-items:center !important;flex-shrink:0 !important;width:100% !important;height:76px !important;min-height:76px !important;padding:12px 26px !important;gap:13px !important;border:0 !important;background:#0a0a0cb8 !important;backdrop-filter:blur(24px) !important;z-index:7 !important;}
body.river-chat #togglePeople{display:flex !important;background:#ffffff0c !important;border:1px solid var(--line) !important;border-radius:50% !important;}
body.river-chat #roomIdentity{display:flex !important;gap:11px !important;align-items:center !important;min-width:0 !important;cursor:default !important;}body.river-chat #roomIdentity .avatar{width:38px !important;height:38px !important;min-width:38px !important;background:var(--panel3) !important;color:var(--text) !important;font-size:13px !important;border-radius:50% !important;}body.river-chat #roomIdentity strong{display:block !important;font-size:16px !important;font-weight:600 !important;}body.river-chat #roomIdentity small{display:block !important;font-size:11px !important;color:var(--muted) !important;max-width:250px !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
body.river-chat #connectionState{font-size:10px !important;color:var(--soft) !important;margin-left:8px !important;}body.river-chat .conversation-tools{display:flex !important;align-items:center !important;gap:2px !important;margin-left:auto !important;padding:3px !important;border:1px solid var(--line) !important;background:#ffffff08 !important;border-radius:99px !important;}body.river-chat #assistantOpen,body.river-chat #chatThemeBtn{display:none !important;}body.river-chat #backStudy{order:9 !important;}body.river-chat #headerActivityCard{max-width:230px !important;min-width:0 !important;height:44px !important;border:0 !important;background:var(--panel) !important;border-radius:10px !important;margin-left:20px !important;}
body.river-chat .message-list{position:relative !important;z-index:1 !important;flex:1 !important;min-height:0 !important;width:100% !important;max-width:none !important;padding:20px 4vw 24px !important;overflow-y:auto !important;overscroll-behavior:contain !important;scrollbar-width:thin !important;scrollbar-color:#ffffff25 transparent !important;background:transparent !important;}
body.river-chat .message-date{display:flex !important;align-items:center !important;justify-content:center !important;font-size:11px !important;color:var(--soft) !important;margin:20px 0 30px !important;letter-spacing:0 !important;}body.river-chat .message-date:before,body.river-chat .message-date:after{display:none !important;}
body.river-chat .message{display:flex !important;align-items:flex-end !important;gap:10px !important;width:fit-content !important;max-width:min(80%,900px) !important;padding:0 !important;margin:14px 0 !important;border:0 !important;background:none !important;position:relative !important;}
body.river-chat .message.own{margin-left:auto !important;flex-direction:row-reverse !important;}body.river-chat .message>.avatar{width:30px !important;height:30px !important;min-width:30px !important;margin:0 0 3px !important;font-size:10px !important;border-radius:50% !important;}
body.river-chat .message-content{padding:12px 17px !important;min-width:0 !important;max-width:100% !important;border:0 !important;border-radius:22px 22px 22px 6px !important;background:#252529 !important;box-shadow:none !important;}
body.river-chat .message.own .message-content{background:var(--bubble-color,#254976) !important;border:0 !important;border-radius:22px 22px 6px 22px !important;}
body.river-chat .message-author{display:flex !important;align-items:center !important;gap:9px !important;margin:0 0 5px !important;}body.river-chat .message-author strong{font-size:11px !important;font-weight:600 !important;color:var(--muted) !important;}body.river-chat .message-author time,body.river-chat .message-author small{font-size:10px !important;color:var(--muted) !important;}body.river-chat .message-text{font-size:15px !important;line-height:1.65 !important;color:var(--text) !important;overflow-wrap:anywhere !important;letter-spacing:0 !important;}body.river-chat .message-grouped{margin-top:5px !important;}body.river-chat .message-grouped>.avatar{visibility:hidden !important;}body.river-chat .message-grouped .message-author{display:none !important;}
body.river-chat .message-actions{position:absolute !important;top:-32px !important;right:0 !important;bottom:auto !important;left:auto !important;display:flex !important;background:#303036 !important;border:1px solid #ffffff15 !important;border-radius:99px !important;padding:3px !important;z-index:4 !important;opacity:0 !important;pointer-events:none !important;transform:none !important;}body.river-chat .message:hover .message-actions,body.river-chat .message:focus-within .message-actions{opacity:1 !important;pointer-events:auto !important;}body.river-chat .message-actions .icon-btn{width:30px !important;height:28px !important;min-height:28px !important;padding:5px !important;}body.river-chat .message-actions svg{width:16px !important;height:16px !important;}body.river-chat .message-content img{max-width:min(580px,65vw) !important;max-height:65dvh !important;object-fit:contain !important;border-radius:14px !important;}body.river-chat .reactions button{border-radius:99px !important;padding:4px 9px !important;background:var(--panel3) !important;border:1px solid var(--line) !important;font-size:14px !important;min-height:28px !important;}body.river-chat .reactions button.mine{border-color:var(--accent) !important;background:var(--accent-bg) !important;}
body.river-chat #typingIndicator{position:relative !important;z-index:1 !important;min-height:24px !important;height:24px !important;padding:0 4vw !important;font-size:12px !important;color:var(--muted) !important;}body.river-chat .chat-empty{height:100% !important;min-height:160px !important;display:flex !important;align-items:center !important;justify-content:center !important;flex-direction:column !important;color:var(--soft) !important;padding:30px !important;}body.river-chat .chat-empty>span{background:none !important;border:0 !important;box-shadow:none !important;color:var(--muted) !important;}body.river-chat .chat-empty h3{font-size:22px !important;font-weight:500 !important;color:var(--text) !important;letter-spacing:-.03em !important;}body.river-chat .chat-empty p{font-size:13px !important;}
body.river-chat .composer-wrap{position:relative !important;z-index:8 !important;padding:0 26px max(18px,env(safe-area-inset-bottom)) !important;background:transparent !important;border:0 !important;}
body.river-chat #messageForm{border:1px solid #ffffff20 !important;border-radius:29px !important;background:#202024dd !important;backdrop-filter:blur(20px) !important;padding:0 !important;box-shadow:none !important;}
body.river-chat .composer-row{display:flex !important;align-items:flex-end !important;gap:10px !important;min-height:58px !important;padding:8px !important;border:0 !important;border-radius:29px !important;background:transparent !important;box-shadow:none !important;}body.river-chat #messageInput{flex:1 !important;min-width:0 !important;min-height:40px !important;max-height:180px !important;margin:0 !important;padding:8px 4px !important;border:0 !important;background:transparent !important;border-radius:0 !important;box-shadow:none !important;font-size:16px !important;line-height:1.5 !important;resize:none !important;}
body.river-chat .composer-plus{width:40px !important;height:40px !important;min-height:40px !important;border-radius:50% !important;background:#ffffff12 !important;color:var(--text) !important;}body.river-chat .composer-primary-tools{display:flex !important;gap:0 !important;align-items:center !important;}.river-chat .composer-primary-tools .icon-btn{width:36px !important;height:40px !important;min-height:40px !important;padding:8px !important;}.river-chat #attachBtn,.river-chat #gifBtn,.river-chat #cameraBtn{display:none !important;}
body.river-chat #sendBtn{display:flex !important;align-items:center !important;justify-content:center !important;width:40px !important;min-width:40px !important;height:40px !important;min-height:40px !important;padding:9px !important;background:var(--accent) !important;color:#071427 !important;border:0 !important;border-radius:50% !important;}.river-chat #sendBtn svg{width:22px !important;height:22px !important;}.river-chat .composer-hint{display:none !important;}.river-chat .jump-latest{bottom:110px !important;background:#2c2c32 !important;color:var(--text) !important;border:1px solid var(--line) !important;border-radius:99px !important;padding:9px 15px !important;z-index:5 !important;}
body.river-chat .chat-sidebar{position:absolute !important;inset:0 auto 0 0 !important;display:flex !important;flex-direction:column !important;width:320px !important;max-width:88vw !important;height:100% !important;padding:28px 18px 20px !important;background:#17171bf2 !important;backdrop-filter:blur(30px) !important;border:0 !important;border-right:1px solid var(--line) !important;transform:translateX(-102%) !important;transition:transform .22s cubic-bezier(.2,.8,.2,1) !important;visibility:hidden !important;z-index:35 !important;overflow:auto !important;}
body.river-chat .people-open .chat-sidebar{transform:translateX(0) !important;visibility:visible !important;}.river-chat .chat-brand{display:flex !important;align-items:center !important;justify-content:space-between !important;padding:0 7px 24px !important;background:none !important;border:0 !important;}.river-chat .chat-brand h2{font-size:28px !important;font-weight:650 !important;letter-spacing:-.04em !important;}.river-chat #closePeople{display:flex !important;}.river-chat .member-search{display:flex !important;gap:10px !important;align-items:center !important;margin:0 0 16px !important;padding:4px 12px !important;border:0 !important;border-radius:13px !important;background:#ffffff08 !important;}.river-chat .member-search input{background:none !important;border:0 !important;padding:10px 0 !important;font-size:14px !important;}.river-chat .room-link,.river-chat .member-link{display:flex !important;align-items:center !important;width:100% !important;gap:12px !important;padding:12px !important;margin:4px 0 !important;border:0 !important;border-radius:13px !important;background:none !important;min-height:62px !important;}.river-chat .room-link.active,.river-chat .member-link.active{background:#ffffff10 !important;box-shadow:none !important;color:var(--text) !important;}.river-chat .chat-sidebar .avatar{width:38px !important;height:38px !important;min-width:38px !important;font-size:12px !important;}.river-chat .member-link strong,.river-chat .room-link>span:last-child{font-size:14px !important;}.river-chat .member-link small{font-size:11px !important;}.river-chat .chat-section-label{padding:14px 12px 4px !important;font-size:10px !important;letter-spacing:.08em !important;color:var(--soft) !important;}.river-chat .conversation-filters{display:flex !important;gap:0 !important;margin:8px 0 !important;padding:3px !important;background:#ffffff08 !important;border-radius:10px !important;border:0 !important;}.river-chat .conversation-filters button{font-size:12px !important;border:0 !important;border-radius:8px !important;flex:1 !important;}.river-chat .conversation-filters button.active{background:#ffffff14 !important;color:var(--text) !important;}.river-chat #memberList{flex:1 !important;min-height:100px !important;overflow:auto !important;}.river-chat .chat-self{display:flex !important;padding:16px 6px 0 !important;margin:18px 0 0 !important;background:none !important;border:0 !important;border-top:1px solid var(--line) !important;}.river-chat .chat-self strong{font-size:13px !important;}.river-chat .chat-self small{font-size:11px !important;}.river-chat #peopleScrim:not([hidden]){display:block !important;position:fixed !important;inset:0 !important;z-index:30 !important;background:#0008 !important;border:0 !important;border-radius:0 !important;padding:0 !important;backdrop-filter:blur(3px) !important;}
body.river-chat #composerTools{position:fixed !important;inset:auto auto 92px 26px !important;width:min(680px,calc(100vw - 52px)) !important;height:auto !important;max-height:calc(100dvh - 180px) !important;overflow:auto !important;padding:24px !important;border:1px solid #ffffff20 !important;border-radius:28px !important;background:#1a1a20f5 !important;backdrop-filter:blur(28px) !important;box-shadow:0 24px 90px #0008 !important;transform:none !important;z-index:45 !important;}
.river-chat .plus-head{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:15px !important;margin-bottom:22px !important;}.river-chat .plus-head h2{font-size:19px !important;font-weight:600 !important;letter-spacing:-.03em !important;}.river-chat .plus-grid{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:6px !important;}.river-chat .plus-grid>button{display:flex !important;flex-direction:column !important;align-items:flex-start !important;justify-content:flex-start !important;gap:12px !important;padding:17px 12px !important;border:0 !important;border-radius:16px !important;background:none !important;text-align:left !important;min-height:108px !important;}.river-chat .plus-grid>button:hover{background:#ffffff09 !important;}.river-chat .plus-icon{display:grid !important;place-items:center !important;width:44px !important;height:44px !important;border-radius:14px !important;background:#ffffff0c !important;color:var(--text) !important;}.river-chat .plus-icon svg{width:24px !important;height:24px !important;}.river-chat .plus-grid strong{display:block !important;font-size:14px !important;font-weight:550 !important;}.river-chat .plus-grid small{display:block !important;font-size:11px !important;color:var(--soft) !important;margin-top:4px !important;}
/* Features are full-size screens by default, with explicit window controls. */
body.river-chat #modal.chat-feature-screen{position:fixed !important;inset:0 !important;margin:0 !important;width:100vw !important;height:100dvh !important;max-width:100vw !important;max-height:100dvh !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:var(--bg) !important;color:var(--text) !important;box-shadow:none !important;overflow:hidden !important;}
.river-chat #modal.chat-feature-screen .modal-head{position:relative !important;display:flex !important;align-items:center !important;gap:12px !important;min-height:74px !important;height:74px !important;padding:14px 28px !important;border:0 !important;border-bottom:1px solid var(--line) !important;background:var(--bg) !important;z-index:10 !important;}.river-chat .modal-head h2{font-size:22px !important;font-weight:600 !important;letter-spacing:-.04em !important;margin:0 !important;}.river-chat .modal-title-wrap{margin-right:auto !important;}.river-chat .modal-title-wrap>small{display:none !important;}.river-chat .feature-window-controls{display:flex !important;gap:3px !important;}.river-chat .feature-window-controls button{display:grid !important;place-items:center !important;width:38px !important;height:38px !important;min-height:38px !important;padding:9px !important;border-radius:50% !important;color:var(--muted) !important;}.river-chat .feature-window-controls svg{width:18px !important;height:18px !important;}
.river-chat #modal.chat-feature-screen>.modal-body{display:block !important;width:100% !important;height:calc(100% - 74px) !important;max-height:none !important;margin:0 !important;padding:28px max(28px,calc((100vw - 1200px)/2)) !important;overflow:auto !important;background:var(--bg) !important;overscroll-behavior:contain !important;}
.river-chat #modal.chat-feature-screen[data-window=floating]{inset:8vh auto auto max(20px,calc((100vw - 1050px)/2)) !important;width:min(1050px,calc(100vw - 40px)) !important;height:84dvh !important;max-width:100vw !important;max-height:100dvh !important;min-width:360px !important;min-height:300px !important;resize:both !important;overflow:auto !important;border:1px solid #ffffff20 !important;border-radius:22px !important;box-shadow:0 25px 100px #0009 !important;}.river-chat #modal.chat-feature-screen[data-window=floating] .modal-head{cursor:move !important;}.river-chat #modal.chat-feature-screen[data-window=left]{inset:0 auto 0 0 !important;width:50vw !important;border-right:1px solid var(--line) !important;}.river-chat #modal.chat-feature-screen[data-window=right]{inset:0 0 0 auto !important;width:50vw !important;border-left:1px solid var(--line) !important;}.river-chat #modal.chat-feature-screen:not([data-window=full])>.modal-body{padding:24px !important;}
.river-chat #modal::backdrop{background:#0007 !important;backdrop-filter:blur(7px) !important;}.river-chat .form-stack{max-width:800px !important;margin:0 auto !important;gap:22px !important;}.river-chat .form-stack label{font-size:14px !important;}.river-chat .form-stack input,.river-chat .form-stack textarea,.river-chat .form-stack select{width:100% !important;margin-top:8px !important;}.river-chat .form-stack>.primary{align-self:flex-end !important;width:auto !important;}
.river-chat .attachment-library{max-width:none !important;}.river-chat .search-field{display:flex !important;align-items:center !important;border:0 !important;border-radius:14px !important;background:var(--panel2) !important;padding:4px 14px !important;}.river-chat .search-field input{border:0 !important;background:none !important;}.river-chat .attachment-results{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(270px,1fr)) !important;gap:12px !important;margin-top:28px !important;}.river-chat .attachment-results>a{display:flex !important;align-items:center !important;gap:14px !important;padding:20px !important;border-radius:16px !important;background:var(--panel) !important;border:0 !important;color:var(--text) !important;}.river-chat .attachment-results strong{font-size:14px !important;}.river-chat .attachment-results small{font-size:11px !important;}.river-chat .attachment-results>a>span{color:var(--accent) !important;}.river-chat .game-catalog-v6{grid-template-columns:repeat(auto-fill,minmax(310px,1fr)) !important;gap:16px !important;}.river-chat .games-hub-hero{background:none !important;border:0 !important;padding:20px 0 !important;margin-bottom:20px !important;}.river-chat .game-card-v6{padding:22px !important;background:var(--panel) !important;border:0 !important;border-radius:20px !important;min-height:120px !important;}.river-chat .game-card-v6 strong{font-size:17px !important;}.river-chat .game-card-v6 p{font-size:13px !important;line-height:1.6 !important;}.river-chat .game-card-art{width:60px !important;height:60px !important;border-radius:17px !important;}.river-chat .game-frame{height:calc(100dvh - 140px) !important;max-height:none !important;}.river-chat .game-frame iframe{width:100% !important;height:100% !important;}.river-chat .game-card-v6 em{font-size:11px !important;}.river-chat .game-card-play{font-size:12px !important;}
/* Canvas fills its screen; paper is always visible and resizable. */
.river-chat #modal.sketch-dialog>.modal-body{padding:0 !important;overflow:hidden !important;}.river-chat .sketch-studio{height:100% !important;min-height:0 !important;background:var(--bg) !important;color:var(--text) !important;display:flex !important;flex-direction:column !important;}.river-chat .sketch-header{background:var(--bg) !important;border-color:var(--line) !important;padding:15px 24px !important;}.river-chat .sketch-logo{display:grid !important;place-items:center !important;width:42px !important;height:42px !important;border-radius:12px !important;background:var(--panel2) !important;}.river-chat .sketch-logo svg{width:24px !important;height:24px !important;}.river-chat .sketch-identity small{font-size:11px !important;color:var(--soft) !important;}.river-chat .sketch-identity strong{font-size:18px !important;}.river-chat .sketch-tools{padding:10px 20px !important;gap:6px !important;background:var(--panel) !important;border-color:var(--line) !important;}.river-chat .sketch-tools button{color:var(--muted) !important;border:0 !important;border-radius:12px !important;}.river-chat .sketch-tools button[aria-pressed=true]{background:#ffffff15 !important;color:var(--text) !important;}.river-chat .sketch-main{display:grid !important;grid-template-columns:minmax(0,1fr) 240px !important;flex:1 !important;min-height:0 !important;}.river-chat .sketch-stage{display:flex !important;align-items:center !important;justify-content:center !important;min-width:0 !important;min-height:0 !important;padding:28px !important;background:#1a1a1e !important;overflow:auto !important;}.river-chat .sketch-sheet{max-width:100% !important;max-height:100% !important;aspect-ratio:var(--paper-aspect,1.6) !important;display:flex !important;align-items:center !important;justify-content:center !important;}.river-chat #drawingCanvas{display:block !important;width:auto !important;height:auto !important;max-width:100% !important;max-height:100% !important;touch-action:none !important;box-shadow:0 10px 30px #0006 !important;}.river-chat .sketch-inspector{padding:20px !important;background:var(--bg) !important;border-left:1px solid var(--line) !important;overflow:auto !important;}.river-chat .sketch-inspector section{border-bottom:1px solid var(--line) !important;padding-bottom:20px !important;margin-bottom:20px !important;}.river-chat .sketch-inspector label{font-size:13px !important;}.river-chat .sketch-inspector select{font-size:12px !important;width:100% !important;margin:10px 0 !important;}.river-chat .sketch-label{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:8px !important;}.river-chat .sketch-brush label{display:flex !important;justify-content:space-between !important;margin:14px 0 8px !important;}.river-chat .sketch-inspector input[type=range]{width:100% !important;}.river-chat .sketch-dimensions input{width:80px !important;font-size:12px !important;}.river-chat .sketch-swatches{display:grid !important;grid-template-columns:repeat(8,1fr) !important;gap:5px !important;}.river-chat .sketch-swatch{background:var(--swatch) !important;width:20px !important;height:20px !important;min-height:20px !important;padding:0 !important;border:1px solid #ffffff25 !important;border-radius:50% !important;}.river-chat .sketch-help{font-size:11px !important;color:var(--soft) !important;line-height:1.6 !important;}.river-chat .sketch-footer{padding:10px 24px !important;background:var(--bg) !important;border-top:1px solid var(--line) !important;font-size:11px !important;color:var(--soft) !important;}
/* System-style lists rather than boxes inside boxes. */
.river-chat .call-device-settings{max-width:850px !important;margin:0 auto !important;display:flex !important;flex-direction:column !important;gap:0 !important;}.river-chat .call-device-settings>label{display:grid !important;grid-template-columns:1fr 1fr !important;align-items:center !important;gap:20px !important;padding:22px 0 !important;border-bottom:1px solid var(--line) !important;font-size:15px !important;}.river-chat .call-device-settings small{grid-column:1/-1 !important;font-size:12px !important;color:var(--soft) !important;}.river-chat .call-audio-processing{padding:25px 0 !important;background:none !important;border:0 !important;}.river-chat .setting-row{display:flex !important;align-items:center !important;justify-content:space-between !important;padding:18px 0 !important;border:0 !important;border-bottom:1px solid var(--line) !important;font-size:14px !important;background:none !important;}.river-chat .voice-fx-launch,.river-chat .snap-lens-launch{display:flex !important;justify-content:flex-start !important;padding:20px 0 !important;background:none !important;border:0 !important;border-bottom:1px solid var(--line) !important;border-radius:0 !important;}.river-chat .voice-fx-launch>svg:last-child,.river-chat .snap-lens-launch>svg:last-child{margin-left:auto !important;}.river-chat .voice-fx{max-width:1000px !important;margin:auto !important;}.river-chat .voice-fx-head{padding:10px 0 24px !important;background:none !important;border:0 !important;}.river-chat .voice-fx-head strong{font-size:22px !important;}.river-chat .voice-fx-head small{font-size:13px !important;}.river-chat .voice-fx-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:0 32px !important;}.river-chat .voice-fx-card{display:flex !important;gap:14px !important;align-items:center !important;text-align:left !important;padding:18px 4px !important;border:0 !important;border-bottom:1px solid var(--line) !important;border-radius:0 !important;background:none !important;}.river-chat .voice-fx-card>svg{width:22px !important;height:22px !important;color:var(--muted) !important;}.river-chat .voice-fx-card strong{font-size:15px !important;}.river-chat .voice-fx-card small{font-size:12px !important;color:var(--soft) !important;}.river-chat .voice-fx-card.active{background:none !important;color:var(--accent) !important;}.river-chat .voice-fx-card.active:after{content:'✓' !important;margin-left:auto !important;font-size:23px !important;color:var(--accent) !important;}.river-chat .voice-tuner{border:0 !important;border-radius:0 !important;padding:26px 0 !important;background:none !important;}.river-chat .voice-monitor-row{display:flex !important;align-items:center !important;gap:15px !important;padding:18px 0 !important;border-block:1px solid var(--line) !important;margin-bottom:20px !important;}.river-chat .voice-monitor-row label{display:flex !important;gap:12px !important;align-items:center !important;font-size:14px !important;}.river-chat .voice-monitor-row small{color:var(--soft) !important;font-size:12px !important;margin-left:auto !important;}
.river-chat .screen-share-setup{max-width:800px !important;margin:auto !important;}.river-chat .screen-share-presets{display:none !important;}.river-chat .screen-share-grid{display:flex !important;flex-direction:column !important;gap:0 !important;}.river-chat .screen-share-grid label{display:grid !important;grid-template-columns:1fr 1fr !important;gap:24px !important;align-items:center !important;padding:22px 0 !important;border-bottom:1px solid var(--line) !important;font-size:15px !important;}.river-chat .screen-share-audio{padding:22px 0 !important;display:flex !important;align-items:center !important;gap:14px !important;background:none !important;border:0 !important;}.river-chat .screen-share-note{font-size:12px !important;color:var(--soft) !important;background:none !important;border:0 !important;padding:15px 0 !important;line-height:1.7 !important;}.river-chat .screen-share-start{margin-top:24px !important;}
.river-chat .schedule-layout{display:grid !important;grid-template-columns:1fr 1fr !important;gap:60px !important;max-width:1100px !important;margin:20px auto !important;}.river-chat .schedule-layout h3{font-size:26px !important;font-weight:600 !important;margin-bottom:8px !important;letter-spacing:-.04em !important;}.river-chat .schedule-layout label{display:block !important;font-size:13px !important;margin:24px 0 !important;}.river-chat .schedule-layout input,.river-chat .schedule-layout textarea{display:block !important;width:100% !important;margin-top:10px !important;}.river-chat .schedule-presets{display:flex !important;gap:8px !important;flex-wrap:wrap !important;}.river-chat .schedule-presets button{border-radius:99px !important;padding:8px 14px !important;border:1px solid var(--line) !important;font-size:12px !important;color:var(--muted) !important;}.river-chat .scheduled-list>div{display:flex !important;align-items:center !important;gap:15px !important;padding:22px 0 !important;border-bottom:1px solid var(--line) !important;}.river-chat .scheduled-list>div>span{flex:1 !important;}.river-chat .scheduled-list strong{display:block !important;font-size:14px !important;}.river-chat .scheduled-list small{display:block !important;font-size:12px !important;color:var(--accent) !important;margin-top:8px !important;}
.river-chat .emoji-browser{width:100% !important;}.river-chat .emoji-search{display:flex !important;gap:15px !important;align-items:center !important;position:sticky !important;top:0 !important;padding-bottom:18px !important;background:var(--bg) !important;}.river-chat .emoji-search label{display:flex !important;align-items:center !important;gap:10px !important;flex:1 !important;background:var(--panel2) !important;padding:0 13px !important;border-radius:14px !important;}.river-chat .emoji-search input{border:0 !important;background:none !important;width:100% !important;}.river-chat .emoji-search select{font-size:13px !important;}.river-chat .all-emoji-grid{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(60px,1fr)) !important;gap:8px !important;}.river-chat .all-emoji-grid button{font-size:30px !important;width:60px !important;height:60px !important;min-height:60px !important;padding:9px !important;border-radius:14px !important;background:none !important;}.river-chat .all-emoji-grid button:hover{background:var(--panel2) !important;}.river-chat #emojiMore{margin:24px auto !important;display:flex !important;}
.river-chat .assistant-workspace{max-width:1000px !important;margin:auto !important;display:flex !important;flex-direction:column !important;gap:22px !important;}.river-chat .assistant-intro{display:flex !important;gap:20px !important;align-items:center !important;}.river-chat .assistant-symbol{display:grid !important;place-items:center !important;width:54px !important;height:54px !important;border-radius:17px !important;background:var(--panel2) !important;color:var(--accent) !important;}.river-chat .assistant-intro h3{font-size:32px !important;letter-spacing:-.04em !important;font-weight:500 !important;}.river-chat .assistant-intro .eyebrow{display:none !important;}.river-chat .assistant-intro p{font-size:13px !important;color:var(--soft) !important;}.river-chat .assistant-modes{display:flex !important;padding:4px !important;border-radius:14px !important;background:var(--panel) !important;gap:4px !important;}.river-chat .assistant-modes button{flex:1 !important;padding:13px 18px !important;border-radius:10px !important;flex-direction:column !important;gap:5px !important;}.river-chat .assistant-modes small{font-size:11px !important;color:var(--soft) !important;}.river-chat .assistant-modes button[aria-pressed=true]{background:var(--panel3) !important;}.river-chat .assistant-history{max-height:45dvh !important;overflow:auto !important;}.river-chat .assistant-message{padding:20px 0 !important;border-bottom:1px solid var(--line) !important;font-size:15px !important;line-height:1.8 !important;}.river-chat .assistant-message header{display:flex !important;justify-content:space-between !important;align-items:center !important;color:var(--muted) !important;font-size:12px !important;}.river-chat .assistant-message pre{overflow:auto !important;padding:15px !important;border-radius:12px !important;background:var(--panel) !important;}.river-chat .assistant-empty{padding:50px !important;text-align:center !important;display:flex !important;gap:20px !important;align-items:center !important;justify-content:center !important;color:var(--soft) !important;}.river-chat #assistantInput{display:block !important;width:100% !important;margin-top:12px !important;}.river-chat .assistant-actions{display:flex !important;gap:12px !important;justify-content:flex-end !important;margin-top:16px !important;}.river-chat .assistant-actions .text-btn{margin-right:auto !important;}.river-chat .assistant-note{font-size:11px !important;color:var(--soft) !important;}.river-chat .assistant-error{padding:12px 0 !important;color:var(--danger) !important;font-size:14px !important;}
.river-chat .theme-editor-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:34px !important;}.river-chat .chat-theme-editor{max-width:1200px !important;margin:auto !important;}.river-chat .chat-theme-preview{height:38dvh !important;max-height:none !important;border-radius:20px !important;border:1px solid var(--line) !important;}.river-chat .theme-editor-grid>section{padding:24px 0 !important;background:none !important;border:0 !important;}.river-chat .theme-editor-grid label{font-size:13px !important;display:block !important;margin:18px 0 !important;}.river-chat .theme-editor-grid input[type=range]{display:block !important;width:100% !important;margin:12px 0 !important;}.river-chat .theme-editor-actions{display:flex !important;justify-content:flex-end !important;gap:12px !important;padding:20px 0 !important;}.river-chat .ace-border-track,.river-chat .ace-hover-indicator{display:none !important;}.river-chat .ace-tilt{transform:none !important;}.river-chat .ace-dock{transform:none !important;}
@media(max-width:760px){.river-chat .conversation-header{height:68px !important;min-height:68px !important;padding:10px 12px !important;gap:8px !important;}.river-chat #roomIdentity>.avatar{display:none !important;}.river-chat #roomIdentity strong{font-size:14px !important;}.river-chat #roomIdentity small{font-size:10px !important;max-width:95px !important;}.river-chat .conversation-tools .icon-btn{width:33px !important;height:36px !important;min-height:36px !important;padding:8px !important;}.river-chat .conversation-tools svg{width:18px !important;height:18px !important;}.river-chat #connectionState,.river-chat #headerActivityCard{display:none !important;}.river-chat .message-list{padding:14px 12px !important;}.river-chat .message{max-width:94% !important;gap:6px !important;}.river-chat .message-text{font-size:15px !important;}.river-chat .message>.avatar{width:24px !important;height:24px !important;min-width:24px !important;font-size:9px !important;}.river-chat .message-content{padding:10px 14px !important;}.river-chat .composer-wrap{padding:0 10px max(12px,env(safe-area-inset-bottom)) !important;}.river-chat .composer-row{gap:4px !important;padding:6px !important;min-height:54px !important;}.river-chat #emojiBtn{display:none !important;}.river-chat .composer-primary-tools .icon-btn{width:32px !important;}.river-chat #composerTools{inset:auto 10px 82px !important;width:calc(100vw - 20px) !important;max-height:calc(100dvh - 160px) !important;padding:20px !important;}.river-chat .plus-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:2px !important;}.river-chat .plus-grid>button{padding:13px 6px !important;min-height:94px !important;gap:10px !important;}.river-chat .plus-grid strong{font-size:12px !important;}.river-chat .plus-grid small{display:none !important;}.river-chat .plus-head h2{font-size:17px !important;}.river-chat #modal.chat-feature-screen .modal-head{padding:12px 15px !important;height:64px !important;min-height:64px !important;}.river-chat .modal-head h2{font-size:19px !important;}.river-chat .feature-window-controls{display:none !important;}.river-chat #modal.chat-feature-screen>.modal-body{height:calc(100% - 64px) !important;padding:20px !important;}.river-chat #modal.chat-feature-screen:not([data-window=full]){inset:0 !important;width:100vw !important;height:100dvh !important;min-width:0 !important;border:0 !important;border-radius:0 !important;}.river-chat .schedule-layout,.river-chat .theme-editor-grid{grid-template-columns:1fr !important;gap:24px !important;}.river-chat .voice-fx-grid{grid-template-columns:1fr !important;}.river-chat .voice-monitor-row{flex-wrap:wrap !important;}.river-chat .voice-monitor-row small{margin:0 !important;}.river-chat .screen-share-grid label,.river-chat .call-device-settings>label{grid-template-columns:1fr 1fr !important;gap:12px !important;font-size:13px !important;}.river-chat .emoji-search{flex-wrap:wrap !important;gap:8px !important;}.river-chat .emoji-search label{flex-basis:100% !important;}.river-chat .emoji-search select{flex:1 !important;font-size:12px !important;}.river-chat .all-emoji-grid{grid-template-columns:repeat(auto-fill,minmax(44px,1fr)) !important;gap:4px !important;}.river-chat .all-emoji-grid button{width:44px !important;height:48px !important;min-height:48px !important;padding:5px !important;font-size:27px !important;}.river-chat .assistant-intro h3{font-size:26px !important;}.river-chat .assistant-intro p{font-size:12px !important;}.river-chat .assistant-modes small{display:none !important;}.river-chat .assistant-modes button{padding:11px 5px !important;font-size:12px !important;}.river-chat .assistant-actions{flex-wrap:wrap !important;}.river-chat .assistant-history{max-height:42dvh !important;}.river-chat .sketch-header{padding:10px 14px !important;}.river-chat .sketch-identity small{display:none !important;}.river-chat .sketch-actions button{padding:8px 10px !important;font-size:11px !important;min-height:36px !important;}.river-chat .sketch-tools{padding:7px 8px !important;gap:2px !important;overflow:auto !important;flex-wrap:nowrap !important;}.river-chat .sketch-tools button{min-width:34px !important;padding:7px !important;}.river-chat .sketch-tools button span{display:none !important;}.river-chat .sketch-main{grid-template-columns:minmax(0,1fr) !important;grid-template-rows:minmax(0,1fr) 160px !important;}.river-chat .sketch-stage{padding:12px !important;}.river-chat .sketch-inspector{display:flex !important;gap:24px !important;padding:12px !important;overflow:auto !important;border-top:1px solid var(--line) !important;border-left:0 !important;}.river-chat .sketch-inspector section{flex:0 0 210px !important;padding:0 !important;margin:0 !important;border:0 !important;}.river-chat .sketch-inspector .sketch-help{display:none !important;}.river-chat .sketch-footer{padding:6px 12px !important;font-size:9px !important;}.river-chat .sketch-footer>span:last-child{display:none !important;}.river-chat .game-catalog-v6{grid-template-columns:1fr !important;}}
@media(prefers-reduced-motion:reduce){body.river-chat *,body.river-chat *:before,body.river-chat *:after{animation:none !important;transition:none !important;scroll-behavior:auto !important;}}


body.river-chat #callPanel.call-overlay{background:#111114 !important;border-color:#ffffff20 !important;border-radius:24px !important;color:#f4f4f7 !important;overflow:hidden !important;min-width:320px !important;min-height:360px !important;}
.river-chat #callPanel .call-stage{background:#08080a !important;border-color:#ffffff0c !important;border-radius:16px !important;}
.river-chat #callPanel .call-controls,.river-chat #callPanel .call-secondary-controls{background:#202024e8 !important;border:1px solid #ffffff18 !important;backdrop-filter:blur(24px) !important;border-radius:99px !important;}
.river-chat #callPanel .call-top-btn{background:#ffffff0c !important;border:0 !important;color:#f4f4f7 !important;border-radius:50% !important;}
.river-chat #callPanel .call-workspace-return{background:#ffffff12 !important;border:1px solid #ffffff20 !important;color:#f4f4f7 !important;border-radius:99px !important;}
.river-chat #callPanel .call-control{background:none !important;color:#ececf2 !important;border-radius:50% !important;}.river-chat #callPanel .call-control:hover{background:#ffffff12 !important;}.river-chat #callPanel .call-end{background:#b62b39 !important;border-radius:99px !important;}
.river-chat #callPanel #callQuality{cursor:pointer !important;color:#9aa4b8 !important;font-size:12px !important;padding:5px 8px !important;border-radius:99px !important;background:#ffffff08 !important;}
.river-chat #callPanel .call-note{font-size:10px !important;color:#777781 !important;}.river-chat #callPanel .camera-popout-btn{border-radius:50% !important;background:#202024c9 !important;color:#fff !important;}
.river-chat #callPanel #callChatPanel{display:flex !important;flex-direction:column !important;position:absolute !important;inset:72px 18px 100px auto !important;width:360px !important;height:auto !important;max-width:calc(100% - 36px) !important;max-height:calc(100% - 172px) !important;min-height:220px !important;min-width:260px !important;transform:none !important;padding:0 !important;background:#111114f5 !important;border:1px solid #ffffff20 !important;box-shadow:0 12px 50px #0008 !important;border-radius:20px !important;z-index:8 !important;overflow:hidden !important;resize:none !important;}
.river-chat #callPanel #callChatPanel[data-position=left]{inset:72px auto 100px 18px !important;}
.river-chat #callPanel #callChatPanel[data-position=right]{inset:72px 18px 100px auto !important;}
.river-chat #callPanel #callChatPanel[data-position=full]{inset:72px 18px 100px 18px !important;width:auto !important;}
.river-chat #callPanel #callChatPanel[data-position=float]{inset:82px auto auto 30px !important;width:380px !important;height:420px !important;}
.river-chat #callPanel .call-chat-head{position:relative !important;display:flex !important;align-items:center !important;gap:6px !important;min-height:60px !important;padding:10px 12px !important;background:#1d1d22 !important;border:0 !important;border-bottom:1px solid #ffffff12 !important;border-radius:0 !important;cursor:move !important;}
.river-chat #callPanel .call-chat-head>div:first-child{font-size:12px !important;margin-right:auto !important;}.river-chat #callPanel .call-chat-head>div:first-child>svg{display:none !important;}
.river-chat #closeCallChat{order:3 !important;}.river-chat .call-message-window-tools{display:flex !important;gap:1px !important;}.river-chat .call-message-window-tools button,.river-chat #closeCallChat{display:grid !important;place-items:center !important;width:28px !important;height:30px !important;min-height:30px !important;padding:6px !important;border-radius:50% !important;background:none !important;color:#c5c5d0 !important;}.river-chat .call-message-window-tools svg{width:15px !important;height:15px !important;}
.river-chat #callPanel .call-chat-messages{flex:1 !important;min-height:0 !important;padding:14px !important;overflow:auto !important;background:transparent !important;}.river-chat #callPanel .call-chat-message{background:#25252b !important;border:0 !important;border-radius:16px !important;padding:10px 12px !important;margin:8px 0 !important;max-width:92% !important;}.river-chat #callPanel .call-chat-message.own{background:#254976 !important;margin-left:auto !important;}.river-chat #callPanel .call-chat-text{font-size:14px !important;line-height:1.55 !important;}.river-chat .call-chat-image{display:block !important;}.river-chat .call-chat-image img{display:block !important;width:auto !important;max-width:100% !important;max-height:230px !important;object-fit:contain !important;border-radius:12px !important;}
.river-chat #callPanel .call-chat-composer{display:flex !important;align-items:flex-end !important;gap:5px !important;padding:10px !important;background:#1d1d22 !important;border:0 !important;border-top:1px solid #ffffff10 !important;border-radius:0 !important;}.river-chat #callChatInput{flex:1 !important;min-width:0 !important;min-height:38px !important;max-height:100px !important;background:transparent !important;border:0 !important;font-size:14px !important;padding:9px 3px !important;color:#fff !important;}.river-chat .call-send-btn{border:0 !important;background:#8ebaff !important;color:#071427 !important;border-radius:50% !important;width:34px !important;height:34px !important;min-height:34px !important;padding:8px !important;}.river-chat .call-attachment-preview{display:flex !important;gap:6px !important;padding:8px !important;overflow:auto !important;border-top:1px solid #ffffff12 !important;}.river-chat .call-attachment-preview>span{display:flex !important;align-items:center !important;gap:5px !important;background:#292930 !important;border-radius:8px !important;padding:7px !important;font-size:10px !important;white-space:nowrap !important;}.river-chat .call-attachment-preview button{font-size:17px !important;min-height:20px !important;padding:0 3px !important;}.river-chat .call-attachment-preview svg{width:12px !important;}
.river-chat .call-image-viewer{display:flex !important;flex-direction:column !important;align-items:center !important;gap:20px !important;height:100% !important;}.river-chat .call-image-viewer img{max-width:100% !important;max-height:calc(100% - 70px) !important;object-fit:contain !important;border-radius:12px !important;}.river-chat .call-image-viewer a{display:flex !important;align-items:center !important;gap:8px !important;color:var(--accent) !important;}
.river-chat .window-resizer{position:absolute !important;right:0 !important;bottom:0 !important;width:26px !important;height:26px !important;z-index:50 !important;cursor:nwse-resize !important;touch-action:none !important;}.river-chat .window-resizer:after{content:'' !important;position:absolute !important;right:6px !important;bottom:6px !important;width:9px !important;height:9px !important;border-right:2px solid #ffffff55 !important;border-bottom:2px solid #ffffff55 !important;border-radius:0 0 4px 0 !important;}.river-chat [data-window=full]>.window-resizer,.river-chat [data-window=left]>.window-resizer,.river-chat [data-window=right]>.window-resizer,.river-chat #callChatPanel:not([data-position=float])>.window-resizer,.river-chat #callPanel.focus-remote>.window-resizer,.river-chat #callPanel.minimized>.window-resizer{display:none !important;}
.river-chat .performance-details{max-width:1100px !important;margin:auto !important;}.river-chat .performance-people{display:grid !important;grid-template-columns:1fr 1fr !important;gap:60px !important;margin-top:35px !important;}.river-chat .performance-people h3{display:flex !important;align-items:center !important;gap:12px !important;font-size:24px !important;letter-spacing:-.03em !important;margin:0 0 25px !important;}.river-chat .performance-people h3 small{font-size:11px !important;color:var(--soft) !important;}.river-chat .performance-people dl{margin:0 !important;}.river-chat .performance-people dl>div{display:flex !important;justify-content:space-between !important;gap:20px !important;padding:18px 0 !important;border-bottom:1px solid var(--line) !important;font-size:14px !important;}.river-chat .performance-people dt{color:var(--muted) !important;}.river-chat .performance-people dd{font-variant-numeric:tabular-nums !important;}.river-chat .performance-stream{padding:18px 0 !important;border-bottom:1px solid var(--line) !important;}.river-chat .performance-stream strong,.river-chat .performance-stream span,.river-chat .performance-stream small{display:block !important;}.river-chat .performance-stream span{font-size:13px !important;color:var(--muted) !important;margin:7px 0 !important;}.river-chat .performance-stream small{font-size:11px !important;color:#f4c178 !important;}
.river-chat .call-contact-list{max-width:750px !important;margin:auto !important;}.river-chat .call-contact-list>button{display:flex !important;align-items:center !important;text-align:left !important;gap:15px !important;width:100% !important;padding:20px 4px !important;border-radius:0 !important;border-bottom:1px solid var(--line) !important;}.river-chat .call-contact-list strong,.river-chat .call-contact-list small{display:block !important;}.river-chat .call-contact-list small{font-size:12px !important;color:var(--soft) !important;}.river-chat .call-contact-list>button>svg{margin-left:auto !important;}
.river-chat .game-panel:not(.game-minimized){position:fixed !important;inset:0 !important;width:100vw !important;height:100dvh !important;max-width:none !important;max-height:none !important;border:0 !important;border-radius:0 !important;background:var(--bg) !important;z-index:80 !important;display:flex !important;flex-direction:column !important;padding:0 !important;}.river-chat .game-panel:not(.game-minimized)>header{min-height:64px !important;padding:12px 22px !important;background:var(--panel) !important;border-bottom:1px solid var(--line) !important;}.river-chat .game-panel:not(.game-minimized) .game-frame-wrap{flex:1 !important;min-height:0 !important;height:auto !important;}.river-chat .game-panel iframe{width:100% !important;height:100% !important;border:0 !important;}.river-chat .game-panel footer{padding:8px 20px !important;font-size:11px !important;background:var(--panel) !important;}.river-chat .game-feature-row{display:none !important;}.river-chat .games-toolbar{display:flex !important;gap:20px !important;justify-content:space-between !important;margin-bottom:25px !important;}.river-chat .game-categories{display:flex !important;gap:4px !important;background:var(--panel) !important;border-radius:99px !important;padding:4px !important;}.river-chat .game-categories button{font-size:13px !important;border-radius:99px !important;}.river-chat .game-categories button.active{background:var(--panel3) !important;color:var(--text) !important;}
@media(max-width:700px){.river-chat #callPanel #callChatPanel{inset:65px 10px 95px 10px !important;width:auto !important;max-width:calc(100% - 20px) !important;max-height:calc(100% - 160px) !important;}.river-chat #callPanel #callChatPanel[data-position=left],.river-chat #callPanel #callChatPanel[data-position=right],.river-chat #callPanel #callChatPanel[data-position=full],.river-chat #callPanel #callChatPanel[data-position=float]{inset:65px 10px 95px 10px !important;width:auto !important;height:auto !important;min-width:0 !important;}.river-chat .call-message-window-tools button:not([data-chat-pin=full]){display:none !important;}.river-chat .performance-people{grid-template-columns:1fr !important;gap:30px !important;}.river-chat .games-toolbar{flex-direction:column !important;gap:15px !important;}.river-chat .window-resizer{display:none !important;}}

}
@layer chat-interface {
.river-chat #callPanel .call-control::after{content:none!important;display:none!important;}
.river-chat #callPanel .call-control,.river-chat #callPanel .call-end{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:48px!important;height:48px!important;min-width:48px!important;padding:12px!important;gap:0!important;}
.river-chat #callPanel .call-control svg,.river-chat #callPanel .call-end svg{width:22px!important;height:22px!important;}
.river-chat #callPanel .call-end span{display:none!important;}
.river-chat #callPanel #muteCall.off{background:#c52d48!important;border:1px solid #ed647c!important;color:#fff!important;}
.river-chat #callPanel .call-chat-text{font-family:inherit!important;font-size:14px!important;line-height:1.5!important;background:transparent!important;padding:0!important;border:0!important;}
.river-chat .message-text{font-family:inherit!important;}
.river-chat .image-attachment{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;background:transparent!important;border:0!important;padding:0!important;}
.river-chat .image-attachment img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:55dvh!important;object-fit:contain!important;}
.river-chat .conversation-header{background:color-mix(in srgb,var(--chat-solid) 85%,transparent)!important;}
.river-chat #modal .modal-head h2{font-size:21px!important;}
.river-chat .sketch-inspector section{height:auto!important;min-height:0!important;display:block!important;}
.river-chat #modal.sketch-dialog>.modal-body{height:calc(100% - 74px)!important;}
@media(max-width:760px){.river-chat #modal.sketch-dialog>.modal-body{height:calc(100% - 64px)!important;}.river-chat #callPanel .call-control,.river-chat #callPanel .call-end{width:42px!important;height:42px!important;min-width:42px!important;padding:10px!important;}}
}

@layer chat-interface {
.river-chat .attachment-results{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important;gap:20px!important;margin-top:25px!important;}
.river-chat .shared-file{display:grid!important;grid-template-columns:1fr 24px!important;text-align:left!important;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:20px!important;padding:14px!important;gap:15px!important;overflow:hidden!important;}
.river-chat .shared-file-art{grid-column:1/-1!important;height:180px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:var(--panel2)!important;overflow:hidden!important;}
.river-chat .shared-file-art img{width:100%!important;height:100%!important;object-fit:contain!important;}.river-chat .shared-file-art svg{width:44px!important;height:44px!important;color:var(--muted)!important;}
.river-chat .shared-file strong,.river-chat .shared-file small{display:block!important;overflow-wrap:anywhere!important;}.river-chat .shared-file strong{font-size:14px!important;}.river-chat .shared-file small{font-size:11px!important;color:var(--soft)!important;margin-top:7px!important;}
.river-chat .file-preview{height:100%!important;display:flex!important;flex-direction:column!important;gap:20px!important;align-items:center!important;}.river-chat .file-preview iframe{width:100%!important;flex:1!important;border:0!important;}.river-chat .file-preview audio{width:min(100%,700px)!important;margin:auto!important;}
}

@layer chat-interface {
body.river-chat *,body.river-chat{scrollbar-width:none!important;}body.river-chat *::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
.river-chat input:focus,.river-chat textarea:focus,.river-chat select:focus,.river-chat .ace-focus-within{outline:none!important;box-shadow:none!important;}.river-chat button:focus-visible{outline:1px solid #8ebaff88!important;}
.river-chat #toasts{position:fixed!important;top:max(14px,env(safe-area-inset-top))!important;bottom:auto!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100vw - 28px)!important;z-index:2147483647!important;pointer-events:none!important;}
.river-chat .toast{padding:10px 18px!important;font-size:12px!important;line-height:1.4!important;border-radius:99px!important;background:#28282eea!important;border:1px solid #ffffff18!important;box-shadow:0 8px 30px #0004!important;max-width:460px!important;}
.river-chat .window-resizer{position:absolute!important;width:22px!important;height:22px!important;touch-action:none!important;z-index:100!important;opacity:0!important;}.river-chat .window-resizer:hover{opacity:.7!important;}.river-chat .resize-nw{inset:0 auto auto 0!important;cursor:nwse-resize!important;}.river-chat .resize-ne{inset:0 0 auto auto!important;cursor:nesw-resize!important;}.river-chat .resize-sw{inset:auto auto 0 0!important;cursor:nesw-resize!important;}.river-chat .resize-se{inset:auto 0 0 auto!important;cursor:nwse-resize!important;}
.river-chat #callChatHandle{cursor:grab!important;touch-action:none!important;user-select:none!important;}.river-chat #callChatHandle:active{cursor:grabbing!important;}.river-chat #callPanel.minimized #callChatPanel{display:none!important;}
.river-chat #callPanel #callChatPanel{max-width:calc(100% - 24px)!important;max-height:calc(100% - 185px)!important;}.river-chat .call-message-window-tools{display:none!important;}
.river-chat #modal.chat-sheet{width:min(600px,calc(100vw - 32px))!important;height:auto!important;max-height:85dvh!important;min-height:0!important;inset:0!important;margin:auto!important;border-radius:24px!important;border:1px solid #ffffff20!important;background:#141417!important;}
.river-chat #modal.chat-sheet>.modal-body{height:auto!important;max-height:calc(85dvh - 74px)!important;padding:24px!important;background:#141417!important;}.river-chat #modal.chat-sheet .modal-head{background:#141417!important;}.river-chat #modal.chat-sheet .feature-window-controls,.river-chat #modal.chat-sheet>.window-resizer{display:none!important;}
.river-chat #modal.chat-sheet .schedule-layout{grid-template-columns:1fr!important;gap:22px!important;}.river-chat #modal::backdrop{background:#0006!important;backdrop-filter:blur(5px)!important;}
.river-chat .choice-control{position:relative!important;width:100%!important;margin:8px 0!important;}.river-chat .choice-control>select{display:none!important;}.river-chat .choice-trigger{display:flex!important;justify-content:space-between!important;width:100%!important;padding:12px 15px!important;min-height:44px!important;border-radius:14px!important;background:#ffffff09!important;color:var(--text)!important;border:1px solid #ffffff12!important;font-size:14px!important;text-align:left!important;}.river-chat .choice-options{position:relative!important;background:#2a2a30!important;padding:5px!important;border-radius:14px!important;max-height:230px!important;overflow:auto!important;margin-top:5px!important;z-index:20!important;}.river-chat .choice-options button{display:block!important;width:100%!important;padding:11px!important;text-align:left!important;border-radius:10px!important;font-size:13px!important;}.river-chat .choice-options button[aria-selected=true]{background:#8ebaff20!important;color:#b8d2ff!important;}
.river-chat input[type=range]{appearance:none!important;-webkit-appearance:none!important;height:5px!important;background:#ffffff24!important;border:0!important;border-radius:99px!important;margin:15px 0!important;}.river-chat input[type=range]::-webkit-slider-thumb{appearance:none!important;width:17px!important;height:17px!important;background:#dbe9ff!important;border-radius:50%!important;box-shadow:0 2px 6px #0005!important;}.river-chat input[type=range]::-moz-range-thumb{width:17px!important;height:17px!important;background:#dbe9ff!important;border:0!important;border-radius:50%!important;}
.river-chat input[type=color]{border-radius:50%!important;width:38px!important;height:38px!important;overflow:hidden!important;padding:2px!important;border:2px solid #ffffff30!important;}.river-chat input[type=color]::-webkit-color-swatch{border:0!important;border-radius:50%!important;}.river-chat input[type=color]::-webkit-color-swatch-wrapper{padding:0!important;}
.river-chat label:has(>#chatAccent){display:none!important;}.river-chat .theme-preview{max-height:270px!important;}.river-chat #typingIndicator{display:flex!important;align-items:center!important;gap:8px!important;padding:0 28px!important;font-size:12px!important;color:var(--muted)!important;}.river-chat #typingIndicator:empty{display:none!important;}.river-chat #typingIndicator .avatar{height:23px!important;width:23px!important;min-width:23px!important;font-size:9px!important;}.river-chat .typing-dots{margin-left:6px!important;letter-spacing:3px!important;}
.river-chat #activityRail:not([hidden]){position:fixed!important;display:block!important;right:0!important;top:76px!important;bottom:0!important;width:min(390px,100vw)!important;z-index:25!important;background:#151518f5!important;padding:22px!important;overflow:auto!important;border-left:1px solid var(--line)!important;box-shadow:-20px 0 60px #0005!important;}
.river-chat #callPanel.incoming-call{position:fixed!important;inset:25px 25px auto auto!important;width:min(410px,calc(100vw - 32px))!important;display:grid!important;grid-template-columns:60px 1fr 1fr!important;gap:16px!important;padding:24px!important;background:#1e1e25f5!important;border:1px solid #8ebaff50!important;border-radius:26px!important;box-shadow:0 20px 90px #0009!important;z-index:99999!important;}.river-chat #callPanel.incoming-call>div{grid-column:2/4!important;}.river-chat #callPanel.incoming-call #declineCall{grid-column:2!important;}.river-chat #callPanel.incoming-call h2{font-size:20px!important;margin:0 0 6px!important;}.river-chat #callPanel.incoming-call p{font-size:13px!important;color:var(--muted)!important;margin:0!important;}
.river-chat .profile-editor-preview{min-height:170px!important;padding:25px!important;border-radius:20px!important;margin-bottom:24px!important;}.river-chat .profile-editor-preview .avatar{width:76px!important;height:76px!important;font-size:25px!important;}.river-chat #modal label:has(#editName),.river-chat #modal label:has(#editStatus){display:grid!important;gap:8px!important;margin-bottom:18px!important;font-size:13px!important;}.river-chat #saveProfile{margin-top:22px!important;width:100%!important;}
.river-chat .sketch-stage{background-color:#18181c!important;background-image:radial-gradient(#ffffff13 1px,transparent 1px)!important;background-size:16px 16px!important;}.river-chat #drawingCanvas{cursor:crosshair!important;}.river-chat #drawingCanvas[data-tool=eraser]{cursor:cell!important;}.river-chat #drawingCanvas[data-tool=bucket]{cursor:copy!important;}.river-chat .sketch-inspector{display:block!important;}.river-chat .sketch-inspector section{padding:0 0 18px!important;margin:0 0 18px!important;}.river-chat .sketch-dimensions{display:flex!important;gap:8px!important;align-items:center!important;}.river-chat .sketch-dimensions input{width:calc(50% - 15px)!important;min-width:0!important;}.river-chat #applyBoardSize{width:100%!important;white-space:normal!important;line-height:1.4!important;font-size:12px!important;margin:12px 0!important;padding:10px!important;}.river-chat .sketch-help{margin-top:16px!important;}.river-chat .sketch-footer{flex:none!important;height:38px!important;min-height:0!important;}.river-chat .sketch-header{flex:none!important;}.river-chat .sketch-sheet{aspect-ratio:var(--paper-aspect,1.6)!important;}
@media(max-width:760px){.river-chat .sketch-inspector{display:flex!important;}.river-chat .sketch-inspector section{flex:0 0 210px!important;}.river-chat #callPanel .window-resizer{display:block!important;}.river-chat #modal.chat-sheet{width:calc(100vw - 24px)!important;}.river-chat #modal.chat-sheet>.modal-body{max-height:calc(85dvh - 64px)!important;}}
}

@layer chat-interface {
.river-chat .video-studio{display:grid!important;grid-template-columns:minmax(0,1fr) 330px!important;gap:28px!important;min-height:100%!important;}
.river-chat .video-stage{min-width:0!important;min-height:420px!important;position:relative!important;display:grid!important;place-items:center!important;border-radius:24px!important;background:#08080b!important;overflow:hidden!important;border:1px solid #ffffff10!important;}
.river-chat .video-stage video{display:block!important;width:100%!important;height:100%!important;max-height:76dvh!important;object-fit:contain!important;}
.river-chat #studioEmpty{position:absolute!important;text-align:center!important;padding:30px!important;max-width:420px!important;color:var(--muted)!important;}.river-chat #studioEmpty>svg{width:42px!important;height:42px!important;color:var(--accent)!important;}.river-chat #studioEmpty h3{font-size:24px!important;line-height:1.3!important;color:var(--text)!important;}.river-chat #studioEmpty p{font-size:14px!important;line-height:1.7!important;}
.river-chat #studioClock{position:absolute!important;top:18px!important;left:18px!important;background:#ce334e!important;border-radius:99px!important;padding:7px 14px!important;font:600 14px/1.3 monospace!important;}
.river-chat .video-editor{display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0!important;}.river-chat .studio-heading h3{font-size:22px!important;margin:0 0 7px!important;}.river-chat .studio-heading>span,.river-chat .studio-note{font-size:12px!important;color:var(--muted)!important;line-height:1.6!important;}.river-chat #studioStatus{font-size:13px!important;color:#b8d2ff!important;line-height:1.6!important;margin:0!important;min-height:42px!important;}
.river-chat #studioCapture{display:flex!important;flex-wrap:wrap!important;gap:10px!important;}.river-chat .record-video{background:#d63855!important;color:white!important;padding:12px 18px!important;border-radius:99px!important;display:flex!important;align-items:center!important;gap:8px!important;font-size:14px!important;}.river-chat .studio-upload{font-size:13px!important;color:var(--accent)!important;padding:12px 0!important;cursor:pointer!important;}
.river-chat #studioEdits{border:0!important;padding:0!important;margin:0!important;min-width:0!important;display:grid!important;gap:16px!important;}.river-chat #studioEdits:disabled{opacity:.4!important;pointer-events:none!important;}.river-chat #studioEdits legend{font-size:12px!important;color:var(--soft)!important;padding:0 0 18px!important;}.river-chat #studioEdits>label{font-size:13px!important;color:var(--muted)!important;}
.river-chat .studio-toggle{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:13px 0!important;border-bottom:1px solid var(--line)!important;}.river-chat .studio-toggle span{color:var(--text)!important;}.river-chat .studio-toggle small{display:block!important;color:var(--soft)!important;font-size:11px!important;margin-top:5px!important;}
.river-chat .studio-progress progress{width:100%!important;height:6px!important;accent-color:var(--accent)!important;}.river-chat .studio-delivery{display:flex!important;gap:10px!important;margin-top:auto!important;}.river-chat .studio-delivery button{flex:1!important;}.river-chat .video-editor button:disabled{opacity:.4!important;cursor:default!important;}
@media(max-width:900px){.river-chat .video-studio{grid-template-columns:1fr!important;gap:22px!important;}.river-chat .video-stage{min-height:240px!important;height:38dvh!important;}.river-chat .video-stage video{max-height:38dvh!important;}.river-chat .video-editor{padding-bottom:20px!important;}}
}

@layer chat-interface {
.river-chat #attachmentPreview:not([hidden]){display:flex!important;gap:10px!important;max-height:170px!important;overflow:auto!important;flex-wrap:nowrap!important;padding:10px!important;}.river-chat #attachmentPreview .staged-file{flex:0 0 100px!important;min-width:100px!important;max-width:160px!important;}.river-chat .message-attachments.multiple{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:8px 0!important;}.river-chat .message-attachments.multiple .image-attachment{width:100%!important;min-width:0!important;aspect-ratio:1!important;}.river-chat .message-attachments.multiple .image-attachment img{width:100%!important;height:100%!important;object-fit:cover!important;}.river-chat .message-attachments.multiple>audio,.river-chat .message-attachments.multiple>video,.river-chat .message-attachments.multiple>.video-attachment{grid-column:1/-1!important;max-width:100%!important;}.river-chat .dictation-sheet>textarea{width:100%!important;line-height:1.7!important;}.river-chat #dictationState{font-size:12px!important;color:var(--muted)!important;}
@media(max-width:600px){.river-chat .message-attachments.multiple{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
}

@layer chat-interface {.river-chat #callPanel:not(.minimized):not(.focus-self) #localTile{max-width:100%!important;max-height:100%!important;min-width:120px!important;min-height:90px!important;}.river-chat #localTile>.window-resizer{display:block!important;z-index:30!important;}.river-chat #callPanel.focus-self #localTile>.window-resizer,.river-chat #callPanel.minimized #localTile>.window-resizer{display:none!important;}.river-chat #localVideo{width:100%!important;height:100%!important;object-fit:cover!important;}}
