/* A film: one episode, no grid and no «Серии» tab; the dub is picked on the player. */
#room[data-film] .room-episodes, #room[data-film] #tab-eps { display: none !important; }
/* Chat: reactions hide behind one button next to «send», the menu opens upwards. */
.room-emoji{position:relative;flex:none;display:flex}
.room-emoji>.room-icon{background:#ffffff0a;border:1px solid var(--line);color:var(--muted)}
.room-emoji>.room-icon:hover,.room-emoji>.room-icon[aria-expanded=true]{color:var(--text);background:#ffffff14}
#quick.room-pop{top:auto;bottom:calc(100% + 8px);right:-52px;min-width:0;width:max-content;padding:6px;
  display:grid;grid-template-columns:repeat(5,40px);gap:4px;transform-origin:bottom right}
#quick.room-pop[hidden]{display:none}
#quick.room-pop button{justify-content:center;width:40px;height:40px;padding:0;font-size:20px;border-radius:9px;background:#ffffff0a}
#quick.room-pop button:hover,#quick.room-pop button:focus-visible{background:#ffffff1a;transform:translateY(-1px)}

/* «Смотрим» look, «Кинозал, янтарь» (owner, 2026-11-16). The colours of the copied
   styles are turned amber and graphite by the server (server/theme.py); here are the
   font of the headings, the logo and the background. */
@font-face{font-family:Unbounded;font-weight:200 900;font-display:swap;src:url('fonts/unbounded-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Unbounded;font-weight:200 900;font-display:swap;src:url('fonts/unbounded-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
.wordmark,.page-title,.cr-shelf h2,.cr-setup h1,.room-join h1,.room-join-cap h2{font-family:Unbounded,Manrope,sans-serif;letter-spacing:-.02em;font-weight:700}
.wordmark{font-size:22px}
.brand-mark{background:url('icon.svg') center/contain no-repeat;font-size:0;color:transparent;border-radius:0;width:38px;height:38px}
body::before{background:radial-gradient(1100px 520px at 50% -160px,#efb24924,transparent 70%),radial-gradient(900px 700px at 105% 110%,#8a3c1426,transparent 65%),linear-gradient(#141210,#100e0c)!important;opacity:1!important}
@media (max-width:767px){.wordmark{font-size:19px}.brand-mark{width:32px;height:32px}}
/* The site's anime landscape is not «Смотрим»: where a title has no picture, a warm empty screen. */
img[src*="art/forest-"]{visibility:hidden}
.room-join-art,.room-ended{background:radial-gradient(90% 60% at 50% 0%,#efb2492e,transparent 70%),radial-gradient(70% 50% at 100% 100%,#8a3c1430,transparent 70%),#1b1815}

/* Header: «Комнаты» and a tab for each open room of this browser (rooms-bar.js):
   a small cover, the title, how many are in; the creator's tab has a cross. */
.masthead{gap:28px}
.masthead nav{gap:0}
.wt-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:8px;padding:0 6px;border-radius:10px;background:var(--mint);color:#1c1915;font-size:11px;font-weight:800}
.wt-count[hidden]{display:none}
.wt-tabs{flex:1;min-width:0;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 2px;align-self:center}
.wt-tabs::-webkit-scrollbar{display:none}
.wt-tab{position:relative;flex:none;display:flex;align-items:center;height:46px;max-width:270px;border-radius:12px;background:var(--surface);border:1px solid var(--line);transition:border-color .2s,background .2s}
.wt-tab:hover{background:var(--raised)}
.wt-tab.is-current{border-color:var(--mint);background:var(--raised)}
.wt-tab>a{display:flex;align-items:center;gap:10px;min-width:0;height:100%;padding:0 12px 0 6px;border-radius:12px}
.wt-tab.is-owner>a{padding-right:4px}
.wt-tab-cover{position:relative;flex:none;width:26px;height:36px;border-radius:6px;overflow:hidden;background:radial-gradient(120% 80% at 50% 0%,#efb24933,transparent 70%),#2a251f}
.wt-tab-cover img{width:100%;height:100%;object-fit:cover;display:block}
.wt-tab-live{position:absolute;right:2px;top:2px;width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 2px #1c1915}
.wt-tab-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700;color:var(--text)}
.wt-tab-count{flex:none;display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:800;color:var(--muted);font-variant-numeric:tabular-nums}
.wt-tab-count svg{width:14px;height:14px}
.wt-tab-close{flex:none;display:grid;place-items:center;width:26px;height:26px;margin-right:8px;border:0;border-radius:8px;background:transparent;color:var(--muted);cursor:pointer}
.wt-tab-close:hover,.wt-tab-close:focus-visible{background:#43212a;color:#ffb5b8}
.wt-tab-close svg{width:14px;height:14px}
.wt-close-error{color:#ffb5b8;min-height:0;margin:0}
.wt-close-error:empty{display:none}
@media (max-width:767px){
  .masthead{gap:10px 16px}
  .masthead nav{order:0;flex-basis:auto;margin-left:auto;height:auto}
  .masthead nav a[aria-current]:after{display:none}
  .wt-tabs{order:3;flex-basis:100%;margin:0 -20px;padding:2px 20px}
  .wt-tabs:empty{display:none}
  .wt-tab{height:42px;max-width:220px}
}
/* «Комнаты»: a warm empty frame instead of the site's landscape, three actions in a row. */
.rm-frame{background:radial-gradient(90% 70% at 50% 0%,#efb24930,transparent 70%),#221e1a}
main.rooms-page{padding-top:32px}
.rm-act .button{flex:1 1 auto;justify-content:center;padding:0 14px;height:42px;gap:6px}
.rm-act .button svg{width:16px;height:16px}
@media (max-width:767px){.rooms-page{padding:16px 16px 40px}.rm-grid{grid-template-columns:1fr}}
.rooms-page .rm-head{margin-top:26px}
