/* The screening room: the same warm palette, a quieter, more useful hierarchy.
   Layout is deliberately separate from the playback and viewport mechanics. */
.room-shell{--room-ink:#624a3e;--room-soft:#947b69;--room-line:#e9dacc;--room-paper:#fffbf5;background:#f7eee5;color:var(--room-ink)}
.room-shell button,.room-dialog button{font-family:inherit;cursor:pointer}
.room-shell button:disabled,.room-dialog button:disabled{cursor:default}
.room-shell button:focus-visible,.room-dialog button:focus-visible{outline:2px solid #a97b60;outline-offset:3px}
.room-header{height:82px;min-height:82px;padding:16px 28px;background:transparent;border-bottom:0}
.room-heading{gap:12px}.room-heading-icon{width:44px;height:44px;background:#ead5c4;border:1px solid #e1c6b1;border-radius:15px;color:#866048;box-shadow:inset 0 1px #ffffff70}
.room-heading strong{font-size:17px;letter-spacing:-.35px}.room-code{font-size:10px;letter-spacing:1.3px;color:#967762;gap:6px;padding-top:6px}
.room-code:hover{color:#634537}.room-header .header-actions{gap:9px}
.people-button{position:relative;gap:8px;padding:9px 12px;border:1px solid #dfccbb;background:#fff9f1;border-radius:13px;min-height:40px;font-size:12px;color:#735541}
.people-button>b{font-size:10px;font-weight:600;display:grid;place-items:center;background:#eedfd0;min-width:20px;height:20px;border-radius:7px;color:#84654f}
.member-review-dot{position:absolute;right:0;top:0;width:8px;height:8px;border:2px solid #f8eee4;background:#c38765;border-radius:50%}
.room-invite-button,.room-header .icon-button{display:grid;place-items:center;width:39px;height:39px;min-width:39px;min-height:39px;border:1px solid transparent;background:transparent;color:#97735d;border-radius:12px}
.room-header .icon-button:hover,.room-invite-button:hover{background:#ecdccc;color:#674a38}
.room-host-action.stop-action{background:#fff8f0;border-color:#e2cdbb;color:#876048;min-height:40px}
.connection-recovery{font-size:10px;display:flex;align-items:center;gap:6px;color:#99765a}.connection-recovery .setup-spinner{width:12px;height:12px;border-width:1px}
.room-main{grid-template-columns:minmax(0,1fr) minmax(310px,350px);gap:20px;padding:0 28px 24px}
.room-main>.stage:not(:fullscreen):not(.is-fullscreen){border-radius:24px;border-color:#e2cdbc;box-shadow:0 4px 16px #76543b05}
.stage.stage-idle{background:#fbf4eb;border:1px solid #e6d4c2!important}
.stage.stage-idle video{opacity:0}
.stage-welcome{padding:30px 32px 25px;justify-content:space-between;gap:20px;overflow:auto;scrollbar-width:thin}
.screening-label{font-size:9px;letter-spacing:2.1px;color:#ab8a6d;display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0}
.screening-content{width:min(100%,460px);display:flex;flex-direction:column;align-items:center;gap:24px;margin:auto 0}
.cinema-art{width:174px;height:112px;flex-shrink:0;margin-bottom:-5px}
.stage-welcome h1{font-size:clamp(24px,2.5vw,32px);font-weight:700;letter-spacing:-1.2px;color:#684b3a;line-height:1.16;margin:0}
.screening-intro{display:flex;flex-direction:column;align-items:center;gap:10px}
.stage-welcome p{font-size:12px;line-height:1.6;color:#9d8169;max-width:310px}
.screening-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px;width:100%}
.stage-welcome .cinema-primary{min-height:46px;padding:12px 23px;font-size:13px;border-radius:14px;background:#e9b295;border:1px solid #d59d7e;box-shadow:inset 0 1px #fff7ed88,0 3px 0 #dbb39945;color:#634332;margin:0}
.cinema-primary:hover{background:#edbda3;box-shadow:inset 0 1px #fff7ed88,0 4px 10px #98644518}
.screening-footer{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;font-size:10px;color:#b1977d;flex-shrink:0}
.screening-footer>button{position:absolute;bottom:17px;right:20px;display:grid;place-items:center;width:32px;height:32px;border:1px solid #e6d7c6;background:#fff9f1;color:#9a765d;border-radius:10px}
.movie-selection-card{width:100%;display:flex;align-items:stretch;text-align:left;border:1px solid #e5d2be;background:#fffaf3;border-radius:18px;padding:10px;gap:17px;box-shadow:0 6px 20px #9d775609}
.movie-cover{position:relative;overflow:hidden;min-width:135px;width:135px;min-height:116px;border-radius:11px;background:#e9d8c5;display:grid;place-items:center;color:#b18b6b}
.movie-cover img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}
.movie-cover::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 40%,#34231c55);pointer-events:none}
.movie-cover-tag{position:absolute;left:9px;bottom:9px;z-index:1;color:#fff8ee;background:#40312b50;border:1px solid #fff4e72b;border-radius:5px;padding:4px 5px;font-size:7px;letter-spacing:.9px}
.movie-selection-info{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:7px 8px 7px 0;flex:1}
.movie-selection-info>strong{font-size:13px;line-height:1.45;color:#775741;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-weight:650}
.movie-facts{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:9px;color:#a08770}
.movie-facts>span{display:flex;align-items:center;gap:4px}
.movie-ready,.movie-processing{display:flex;align-items:center;gap:5px;font-size:10px;color:#7d8567;line-height:1.4}
.movie-processing{color:#ab825f}.movie-processing .setup-spinner{width:12px;height:12px;border-width:1px}
.ready-tracks{display:flex;gap:5px;flex-wrap:wrap}
.ready-tracks .track-trigger{color:#9b7558;background:#f3e8da;border-color:#e6d4bf;font-size:9px;height:28px;min-height:28px}
.screening-members{border:0;background:none;display:flex;align-items:center;gap:7px;color:#9a7b62;font-size:10px;padding:7px 0}
.member-avatars .avatar{border:2px solid #fbf4eb;background:#eadbc9}
.room-side{border:1px solid #e6d4c2;border-radius:24px;background:#fffbf5;box-shadow:0 4px 16px #76543b05;position:relative}
.chat{position:relative}.chat-title{padding:18px 19px;min-height:63px;border-bottom:1px solid #eee1d5;color:#816047}
.chat-title>div{gap:10px}.chat-title strong{font-size:14px;letter-spacing:-.2px;font-weight:650}.chat-title svg{color:#ab8366}
.review-inbox{display:flex;align-items:center;gap:10px;border:1px solid #e6c7af;border-radius:12px;margin:12px 14px 2px;padding:10px;background:#f6e4d3;text-align:left;color:#8c6043;flex-shrink:0}
.review-inbox-icon{display:grid;place-items:center;min-width:32px;height:32px;background:#fff5e8;border-radius:9px}
.review-inbox>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.review-inbox strong{font-size:11px}.review-inbox small{font-size:9px;color:#a17c5e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.messages{position:relative;padding:9px 10px 16px;scroll-padding:24px 0;scrollbar-width:thin;scroll-behavior:auto}
.chat-day{display:flex;align-items:center;gap:10px;color:#b59d86;font-size:9px;letter-spacing:.2px;margin:8px 10px 13px;flex-shrink:0}
.chat-day::before,.chat-day::after{content:'';height:1px;background:#eddfd1;flex:1}
.message{position:relative;border-radius:10px;padding:10px 9px 8px;gap:10px;outline-offset:-2px!important;transition:background-color .16s;touch-action:pan-y;min-height:48px}
.message>.avatar{width:34px!important;height:34px!important;min-width:34px;max-width:34px;aspect-ratio:1;object-fit:cover;padding:0;border:1px solid #e7d6c5;background:#edddcb;border-radius:50%}
.message-meta{gap:6px;margin-bottom:4px}.message-meta strong{font-size:12px;letter-spacing:-.1px;color:#79543b;max-width:65%}.message-meta time{font-size:9px;margin-left:2px;color:#b19a83}.message-host{display:flex;color:#b39364}
.message-body p,.message-own .message-body p{background:none;padding:0;border-radius:0;color:#796353;font-size:13px;line-height:1.55;width:auto;user-select:text}
.message-own .message-meta strong{color:#a26948}
.message-grouped{padding-top:2px;padding-bottom:3px;min-height:26px}
.group-time{width:34px;min-width:34px;font-size:7px;line-height:20px;color:#b49c85;opacity:0;text-align:center}
.message:hover .group-time,.message:focus-within .group-time{opacity:1}
.message:hover,.message-selected,.message-highlight{background:#f6ebde!important}
.message-highlight{box-shadow:inset 3px 0 #d39d7b}
.message-actions{position:absolute!important;right:7px;top:-20px;z-index:3;display:flex;align-items:center;gap:0;margin:0!important;padding:3px!important;border:1px solid #ddc7b2!important;border-radius:10px;box-shadow:0 3px 9px #7e59451a!important;background:#fffaf1!important;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(3px);transition:opacity .12s,transform .12s,visibility .12s}
.message-actions button{border:0!important;border-radius:7px!important;background:transparent!important;color:#9b785b;width:31px!important;height:29px!important;font-size:15px}
.message-actions button:hover{background:#f0dfcd!important;color:#734e32}
.message:hover .message-actions,.message-selected .message-actions,.message:focus-within .message-actions{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.reply-ref{position:relative;background:none;border:0;border-radius:0;padding:0;margin:0 0 6px;gap:5px;font-size:10px;line-height:15px;color:#b09077;max-width:100%;overflow:hidden}
.reply-ref b{font-size:10px;flex-shrink:0;color:#9b7659;font-weight:600;max-width:90px;overflow:hidden;text-overflow:ellipsis}
.reply-ref>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reply-ref>svg{flex-shrink:0;opacity:.6}
.reply-ref:hover{color:#7f5335}
.reaction-row.outside{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.reaction-row.outside button{border:1px solid #e5d4c1;min-height:26px;min-width:39px;padding:3px 8px;border-radius:8px;background:#f9f0e5;gap:5px}
.reaction-row.outside button.reacted{background:#f1d9c3;border-color:#cfa681}
.reaction-row.outside small{font-size:10px;font-weight:600;color:#977050}.reaction-row.outside button span{font-size:14px;line-height:18px}
.chat-empty{gap:10px;padding:24px 18px}.chat-empty-art{width:70px;height:70px;position:relative;display:grid;place-items:center;border-radius:24px;background:#f2e5d7;color:#bc9475;margin-bottom:6px;transform:rotate(-5deg)}
.chat-empty-art>span{position:absolute;right:-4px;bottom:-5px;display:grid;place-items:center;background:#f2cdb7;border:3px solid #fffbf5;border-radius:12px;width:30px;height:30px;font-size:17px;color:#9d6a4b;transform:rotate(13deg)}
.chat-empty>strong{font-size:12px;font-weight:600;line-height:1.5;color:#9b795c}.chat-empty>small{font-size:10px;color:#b79a80;line-height:1.5}
.composer{padding:12px 13px max(13px,env(safe-area-inset-bottom));border-top:0;background:#fffbf5!important}
.compose-row{gap:0;border:1px solid #e4d2bf;background:#f7eddf;border-radius:15px;padding:5px;box-shadow:inset 0 1px #ffffff80;transition:border-color .15s,box-shadow .15s}
.compose-row:focus-within{border-color:#cba17d;box-shadow:0 0 0 3px #dec0a526}
.compose-row .text-input{height:39px;min-height:39px;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:9px;padding:0 7px;color:#77563c;font-size:16px;outline:none!important}
.compose-row .text-input::placeholder{font-size:12px;color:#b0977d}
.composer-emoji{display:grid;place-items:center;width:32px;height:36px;min-width:32px;border:0;background:none;color:#ad8969;border-radius:9px;margin-right:3px}
.composer-emoji:hover{color:#805433;background:#ecdbc7}
.compose-row .primary-icon{width:35px;height:35px;min-width:35px;min-height:35px;border-radius:10px;background:#e7b192;border:1px solid #d89f7e;color:#795033;box-shadow:inset 0 1px #fce5d5}
.compose-row .primary-icon:disabled{background:#e9dbca;border-color:#e3d1bc;color:#bea58a;opacity:1;box-shadow:none}
.replying{padding:3px 5px 10px;gap:8px;font-size:10px;min-height:39px}.replying>span{display:flex;flex-direction:column;gap:3px}.replying b{font-size:10px;font-weight:600;color:#99704e}.replying small{display:block;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#b39a82}
.chat-jump{position:absolute;z-index:4;bottom:79px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:5px;white-space:nowrap;border:1px solid #d8b69a;background:#f6e5d3;color:#906545;border-radius:20px;font-size:10px;min-height:30px;padding:6px 12px;box-shadow:0 3px 10px #79573514}
.chat-jump:active:not(:disabled){transform:translateX(-50%) scale(.97)}
.controls{padding:30px 16px 14px;gap:12px;background:linear-gradient(transparent,#181411ed)}
.controls .icon-button{border-radius:10px}.controls .icon-button:hover{background:#ffffff17}
.controls .track-trigger{background:#fff5e914;border-color:#fff5e929;border-radius:10px;padding:6px 8px;min-height:34px}
.controls .seek{height:20px}.controls .playback-time{font-size:10px;letter-spacing:.1px}
.fullscreen-chat{border-color:#ead6bf!important;background:#fffbf5f5!important;border-radius:20px!important;box-shadow:0 12px 45px #0003}
.fullscreen-chat .chat-title{padding:14px 16px;min-height:52px!important}.fullscreen-chat .composer{background:#fffbf5!important}.fullscreen-chat .message-body p{color:#796353!important}.fullscreen-chat .compose-row .text-input{height:37px!important;min-height:37px!important}.fullscreen-chat .primary-icon{width:35px!important;height:35px!important}.fullscreen-chat-button{border-radius:14px;background:#382d25e6;border-color:#ecd5bd45;color:#f2d7bc}
.room-notice{top:78px;padding:11px 13px;border-radius:14px;border-color:#dfc3a8;box-shadow:0 6px 20px #70523b15;align-items:center;background:#fff9ef}
.room-dialog{padding:27px;background:#fffbf4;border:1px solid #fff7ed;border-radius:24px;box-shadow:0 24px 90px #34211733}
.room-dialog .wt-modal-heading{margin-bottom:22px}.room-dialog h2{font-size:23px;letter-spacing:-.75px;color:#70513b}.room-dialog .wt-modal-heading .icon-button{border:1px solid #eadaca;background:#f6ecdf;width:32px;height:32px;min-width:32px;min-height:32px;border-radius:10px;color:#a5866a}
.room-dialog p{font-size:12px;color:#9d8067;line-height:1.65}
.room-dialog .primary-button{background:#e9b295;border-color:#d8a080;border-radius:12px;box-shadow:inset 0 1px #fbe8d9;min-height:44px;color:#714b33}
.room-dialog .ghost-button{background:#fffaf2;border-color:#e2ceb8;color:#997558;border-radius:12px}
.room-dialog .confirm-actions{gap:10px;margin-top:22px}.room-dialog .confirm-actions>button{flex:1}
.room-dialog .confirm-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 17px}
.room-dialog .confirm-metrics>span{display:flex;flex-direction:column;align-items:flex-start;background:#f7edde;border:1px solid #e9d7bf;border-radius:14px;padding:15px 17px;gap:5px}
.room-dialog .confirm-metrics strong{font-size:27px;letter-spacing:-1px;color:#977052}.room-dialog .confirm-metrics small{font-size:10px;color:#b09576}
.start-guest-list{display:flex;flex-direction:column;gap:12px;max-height:180px;overflow:auto;padding:5px 2px}
.start-guest-list>div{display:flex;align-items:center;gap:10px;font-size:12px;color:#967454}.start-guest-list small{margin-left:auto;font-size:10px;color:#a68b6f}.start-guest-list svg{color:#939b79}
.room-dialog .avatar{border-radius:50%!important;object-fit:cover!important;aspect-ratio:1;flex-shrink:0;padding:0!important;background:#e9d7c0;border:1px solid #dcc3a4}
.room-dialog .invite-ticket{position:relative;background:#f4e4d1;border:1px solid #e0c5a8;border-radius:15px;padding:22px;gap:12px;color:#b3916d}
.room-dialog .invite-ticket::before,.room-dialog .invite-ticket::after{content:'';position:absolute;width:14px;height:14px;border:1px solid #e0c5a8;border-radius:50%;background:#fffbf4;top:50%;left:-8px;border-left-color:#fffbf4;transform:translateY(-50%) rotate(45deg)}
.room-dialog .invite-ticket::after{left:auto;right:-8px;transform:translateY(-50%) rotate(225deg)}
.room-dialog .invite-ticket strong{font-size:30px;letter-spacing:6px;color:#99704e}
.room-dialog .invite-label{font-size:10px;color:#a58a6d}.room-dialog .text-input{background:#fbf2e5;border-color:#e5d1b6;min-height:44px;font-size:12px}
.room-dialog .person-row{gap:12px;padding:14px 0;border-color:#efe0ce}.person-row strong{font-size:13px;line-height:1.4}.person-row small{font-size:11px;line-height:1.5;color:#ad9276}
.person-host{display:inline-flex;align-items:center;gap:3px;border:1px solid #e5d1b6;border-radius:5px;background:#f6ead8;font-size:8px;font-weight:500;color:#b08d61;padding:2px 4px;white-space:nowrap}
.member-review-button{border:1px solid #d6b290;background:#f3dec5;color:#956e4a;font-size:11px;padding:8px 10px;border-radius:9px}
.room-dialog .review-file-meta{background:#f6ebdb;border:1px solid #e7d3b8;border-radius:13px;padding:14px;color:#a5815b;gap:12px}.review-file-meta>svg{flex-shrink:0}.room-dialog .review-file-meta strong{font-size:13px;color:#94704e;line-height:1.5}.room-dialog .review-file-meta small{font-size:10px;color:#b09471}
.room-dialog .review-compare{padding:12px;border-left:2px solid #dcbea0;background:#fcf5ea;border-radius:0 8px 8px 0;font-size:11px;line-height:1.6}
.room-dialog .review-frames{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.room-dialog .review-frames figure{background:#f4e7d5;border-radius:12px;padding:5px}.room-dialog .review-frames img{border-radius:8px}.room-dialog .review-frames figcaption{margin:6px 0 3px;font-size:10px;color:#a78a68}
.room-dialog .emoji-grid{gap:9px}.room-dialog .emoji-grid button{background:#f9efdf;border-color:#e8d2b5;border-radius:13px;height:53px;font-size:26px;transition:transform .15s,background .15s}.room-dialog .emoji-grid button:hover{background:#f2ddc2;transform:translateY(-2px)}
.room-dialog .emoji-grid button[aria-pressed=true]{background:#f0d3b6;border-color:#cca17a}
.track-dialog{background:#fffbf4;border-radius:22px;padding:23px}.track-dialog .choice-list button{background:#f7ecdc;border:1px solid #ecddc9;min-height:48px;font-size:12px}.track-dialog .choice-list button[aria-checked=true]{background:#f0dcc4;border-color:#d9b691;color:#876242}
@media(hover:none){.message:hover:not(.message-selected){background:transparent!important}.message:not(.message-selected):not(:focus-within) .message-actions{opacity:0;visibility:hidden;pointer-events:none}.message-actions button{width:35px!important;height:33px!important}}
@media(min-width:1500px){.room-main{grid-template-columns:minmax(0,1fr) 380px}.screening-content{width:500px}.stage-welcome{padding:36px 40px 28px}.cinema-art{width:210px;height:136px}}
@media(max-width:1000px) and (min-width:761px){.room-main{grid-template-columns:minmax(0,1fr) 310px;padding:0 18px 18px;gap:14px}.room-header{padding:14px 18px}.stage-welcome{padding:24px 20px 20px}.movie-selection-card{gap:12px}.movie-cover{width:105px;min-width:105px}.screening-content{gap:20px}.screening-actions{gap:10px}.stage-welcome h1{font-size:25px}}
@media(max-width:760px){
.room-header{height:68px;min-height:68px;padding:10px 13px;gap:8px}.room-heading{gap:8px}.room-heading-icon{width:34px;height:36px;border-radius:12px}.room-heading-icon svg{width:20px;height:20px}.room-heading strong{font-size:14px;max-width:31vw}.room-code{font-size:9px;letter-spacing:1px;padding-top:4px;gap:4px}
.room-header .header-actions{gap:4px}.people-button{min-height:35px;padding:7px;gap:5px;border-radius:11px}.people-button>span{display:none}.people-button svg{width:17px;height:17px}.people-button>b{min-width:17px;height:17px;font-size:9px}.room-invite-button{display:none}.room-header .icon-button{min-width:30px;width:30px;min-height:35px;height:35px}.room-host-action.stop-action{min-height:35px;padding:7px 9px;font-size:10px}.connection-recovery{position:absolute;left:50%;top:58px;z-index:45;font-size:9px;background:#fff9ef;border:1px solid #dec8b1;border-radius:12px;padding:5px 9px;transform:translateX(-50%)}
.room-main{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,min(78vw,calc(var(--stable-room-height,100dvh)*.43))) minmax(0,1fr);gap:12px;padding:0 12px 12px}.room-main>.stage:not(:fullscreen):not(.is-fullscreen){border-radius:20px}.room-side{border-radius:20px}
.stage-welcome{padding:15px 17px 13px;gap:10px}.screening-label{font-size:7px;letter-spacing:1.5px;gap:5px}.screening-label>svg{width:13px;height:13px}.screening-content{gap:13px;margin:auto 0;max-width:400px}.cinema-art{width:112px;height:71px;margin-bottom:-4px}.screening-intro{gap:6px}.stage-welcome h1{font-size:23px;letter-spacing:-.7px}.stage-welcome p{font-size:10px;line-height:1.5;max-width:280px}.stage-welcome .cinema-primary{min-height:38px;font-size:11px;padding:9px 17px;border-radius:12px}.screening-actions{gap:10px}.screening-footer{font-size:8px;gap:4px}.screening-footer svg{width:10px;height:10px}.screening-footer>button{bottom:8px;right:10px;width:27px;height:27px}.screening-footer>button svg{width:16px;height:16px}
.movie-selection-card{gap:11px;padding:7px;border-radius:13px}.movie-cover{width:92px;min-width:92px;min-height:78px;border-radius:8px}.movie-cover-tag{font-size:6px;padding:3px;left:5px;bottom:5px;letter-spacing:.4px}.movie-selection-info{gap:5px;padding:2px 3px 2px 0}.movie-selection-info>strong{font-size:11px;line-height:1.35}.movie-facts{font-size:8px;gap:7px}.movie-facts svg{width:10px;height:10px}.movie-ready,.movie-processing{font-size:9px}.ready-tracks .track-trigger{height:23px;min-height:23px;padding:3px 5px;font-size:8px}.screening-members{font-size:9px;gap:5px;padding:3px 0}.screening-members .avatar{width:22px!important;height:22px!important}.has-movie .screening-content{gap:12px}.has-movie .screening-intro h1{font-size:21px}.has-movie .screening-intro p{font-size:9px}
.chat-title{min-height:49px;padding:13px 16px}.chat-title strong{font-size:13px}.chat-title svg{width:18px;height:18px}.messages{padding:6px 8px 14px}.message-meta strong{font-size:12px}.message-body p{font-size:13px}.chat-empty{gap:8px;padding:14px}.chat-empty-art{width:54px;height:54px;border-radius:19px}.chat-empty-art>svg{width:27px;height:27px}.chat-empty>strong{font-size:11px}.chat-empty>small{font-size:9px}.composer{padding:9px 10px max(10px,env(safe-area-inset-bottom))}.review-inbox{margin:8px 10px 2px;padding:8px;gap:8px}.review-inbox-icon{height:28px;min-width:28px}.review-inbox small{font-size:9px}.review-inbox strong{font-size:10px}
.controls{padding:24px 9px 9px;gap:7px}.controls .playback-time{font-size:9px}.controls .icon-button{min-width:27px;width:27px}.controls .track-trigger{padding:5px;min-height:29px}.room-notice{top:68px;font-size:11px;padding:9px 11px}.room-dialog{padding:22px;border-radius:23px}.room-dialog h2{font-size:21px}.room-dialog .wt-modal-heading{margin-bottom:18px}.room-dialog .review-frames{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
}
@media(max-height:720px) and (max-width:760px){.cinema-art{width:90px;height:57px}.stage-welcome{padding:11px 15px;gap:7px}.screening-content,.has-movie .screening-content{gap:9px}.screening-intro{gap:4px}.screening-label{font-size:6px}.screening-footer{font-size:7px}.stage-welcome h1{font-size:21px}.has-movie .screening-intro p{display:none}.movie-cover{min-height:66px}.movie-facts{font-size:7px}.stage-welcome .cinema-primary{min-height:34px;padding:7px 14px}.has-movie .screening-intro h1{font-size:19px}.screening-actions{gap:8px}.chat-title{min-height:44px;padding:11px 14px}}
:root[data-room-landscape="true"] .stage-welcome{padding:15px 18px;gap:10px}
:root[data-room-landscape="true"] .screening-content{gap:12px}
:root[data-room-landscape="true"] .cinema-art{width:105px;height:67px}
:root[data-room-landscape="true"] .stage-welcome h1{font-size:23px}
:root[data-room-landscape="true"] .screening-intro p{font-size:10px}
:root[data-room-landscape="true"] .screening-label{font-size:7px}
:root[data-room-landscape="true"] .screening-footer{font-size:8px}
:root[data-room-keyboard="true"] .room-side .composer{background:#fffbf5!important;border-color:#e4d2bf;padding:8px}
@media(prefers-reduced-motion:reduce){.room-shell *,.room-dialog *{scroll-behavior:auto!important;transition:none!important;animation-duration:.001ms!important}}
/* Landscape keeps preparation usable beside chat, without scrolling the stage. */
:root[data-room-landscape="true"] .room-header{height:64px;min-height:64px;padding-top:9px;padding-bottom:9px}
:root[data-room-landscape="true"] .has-movie .screening-intro p{display:none}
:root[data-room-landscape="true"] .movie-selection-card{padding:7px;gap:12px;max-width:420px;border-radius:13px}
:root[data-room-landscape="true"] .movie-cover{width:95px;min-width:95px;min-height:78px}
:root[data-room-landscape="true"] .movie-selection-info{padding:3px 4px 3px 0;gap:5px}
:root[data-room-landscape="true"] .movie-selection-info>strong{font-size:11px}
:root[data-room-landscape="true"] .stage-welcome .cinema-primary{min-height:36px;padding:8px 17px;font-size:11px}
:root[data-room-landscape="true"] .has-movie .screening-content{gap:11px}
@keyframes room-element-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.movie-selection-card,.review-inbox,.replying{animation:room-element-in .18s cubic-bezier(.2,.7,.3,1)}
@media(prefers-reduced-motion:reduce){.movie-selection-card,.review-inbox,.replying{animation:none}}
.room-heading{flex:1}.room-heading>div{flex:1;min-width:0}.room-heading strong{max-width:none}
@media(max-height:720px) and (max-width:760px){.chat-empty{padding:10px;gap:7px}.chat-empty-art{width:39px;height:39px;border-radius:14px;margin:0}.chat-empty-art>svg{width:23px;height:23px}.chat-empty-art>span{width:23px;height:23px;border-radius:9px;font-size:13px}.chat-empty>small{display:none}.chat-empty>strong{font-size:10px}}
/* Invitations and full-room states use the same ticket language as the room. */
.room-entry-card{width:min(420px,calc(100vw - 32px));padding:30px;background:#fffbf4;border:1px solid #e5cfb8;border-radius:25px;box-shadow:0 12px 40px #8863410b;max-height:calc(var(--visual-height,100dvh) - 100px);overflow:auto;text-align:left}
.entry-ticket-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}
.entry-ticket-icon{display:grid;place-items:center;width:47px;height:47px;border-radius:15px;border:1px solid #e2c7aa;background:#f1dfc9;color:#a47f58}
.entry-room-code{font-size:11px;letter-spacing:2px;color:#b09371;padding:8px 10px;border:1px dashed #e0c9af;border-radius:8px}
.room-entry-card .modal-kicker{font-size:9px;letter-spacing:1.6px;color:#b3936e;margin-bottom:9px;display:block}
.room-entry-card .small-title{font-size:27px;color:#7a573c;letter-spacing:-.7px;line-height:1.2}
.room-entry-card .modal-room-meta{display:flex;align-items:center;gap:6px;font-size:11px;color:#b29777;margin:12px 0 24px}
.entry-movie{display:flex;align-items:center;gap:12px;border:1px solid #e9d8c1;background:#f8eddd;padding:10px;border-radius:13px;margin-bottom:23px}
.entry-movie>img,.entry-movie-icon{width:65px;height:52px;flex-shrink:0;border-radius:8px;object-fit:cover;background:#edddc5;color:#b2936c;display:grid;place-items:center}
.entry-movie>div{min-width:0;display:flex;flex-direction:column;gap:6px}.entry-movie small{font-size:7px;letter-spacing:1.1px;color:#b19571}.entry-movie strong{font-size:11px;font-weight:600;line-height:1.5;overflow-wrap:anywhere;color:#9b7855}
.entry-password>label{display:block;font-size:11px;font-weight:600;color:#a48461;margin-bottom:8px}
.room-entry-card .password-popup-field{margin:0;background:#fffaf2;border-color:#e4cfb2;border-radius:12px;color:#b6956c}
.room-entry-card .password-popup-field input{background:transparent;height:46px;border:0;font-size:16px;color:#846140}
.room-entry-card .password-popup-field input::placeholder{font-size:12px;color:#bca282}
.entry-as{display:flex;align-items:center;gap:8px;font-size:10px;color:#b59a7b;margin:20px 0 0}.entry-as strong{font-weight:600;color:#9c7955}.entry-as .avatar{border-radius:50%;object-fit:cover;flex-shrink:0;border:1px solid #dcc2a3;background:#eedcc6}
.room-entry-card .primary-button{margin-top:19px;border-radius:13px;background:#eab596;border-color:#d6a17b;color:#805839;box-shadow:inset 0 1px #fae5d4;justify-content:space-between;padding:12px 17px;min-height:46px}
.room-entry-card .modal-cancel{display:block;width:100%;margin-top:8px;padding:10px;text-align:center;border:0;background:none;font-size:12px;color:#b29472;min-height:40px;border-radius:12px}
.room-entry-card .modal-cancel:hover{background:#f6ead9;color:#94714c}
.entry-full-state{text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;background:#f6ead8;border:1px solid #e8d4b8;border-radius:15px;padding:22px;color:#bc9a71}
.entry-full-state strong{font-size:16px;color:#9f7a51}.room-entry-card .entry-full-state .join-hint{font-size:11px;line-height:1.5;margin:0;color:#b69a77}
.room-entry-card .form-error{margin:13px 0 0;font-size:11px;border:1px solid #e2c2ad;border-radius:10px;background:#f9e9dd;color:#a97254}
@media(max-height:700px){.room-entry-card{padding:21px}.entry-ticket-top{margin-bottom:17px}.room-entry-card .modal-room-meta{margin-bottom:17px}.entry-movie{margin-bottom:17px}.entry-as{margin-top:14px}.room-entry-card .primary-button{margin-top:14px}}
