/* Community Movie Theater */
#theater { max-width: 920px; margin: 0 auto; position: relative; }
.th-tomato-toggle { position: absolute; top: 8px; right: 8px; z-index: 12; background: #2a2018; border: 1px solid #5a3c0e; color: #ffce63; border-radius: 5px; padding: 4px 10px; font-size: 12px; cursor: pointer; }
.th-tomato-toggle:hover { background: #3a2c14; }
/* thrown tomato splat (positioned by % of the screen so everyone sees it in the same spot) */
.th-tomato { position: absolute; width: 18%; max-width: 170px; transform: translate(-50%, -50%); pointer-events: none; z-index: 6; }
.th-viewers { font-size: 12px; color: #5fbf6f; margin-top: 8px; }
/* emote reactions bar (custom chat smilies) */
.th-emotebar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.th-emote-btn { background: #15181f; border: 1px solid #2c323d; border-radius: 6px; padding: 3px 6px; cursor: pointer; line-height: 0; }
.th-emote-btn:hover { background: #232833; border-color: #3a4150; }
.th-emote-btn img { height: 22px; width: auto; vertical-align: middle; }
/* a reacted smilie floats up the screen for everyone */
.th-emote { position: absolute; bottom: 8px; width: auto; height: 42px; pointer-events: none; z-index: 6; transform: translateX(-50%); animation: th-float 2.5s ease-out forwards; }
@keyframes th-float { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.6); } 12% { opacity: 1; transform: translate(-50%, 0) scale(1.15); } 25% { transform: translate(-50%, -10px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -78%) scale(1); } }
/* forum-index "what's on" banner */
.th-index { display: block; background: #1a1d24; border: 1px solid #2c323d; border-left: 4px solid #ffce63; border-radius: 6px; padding: 9px 14px; margin: 0 0 12px; color: #d6dbe4; text-decoration: none; font-size: 14px; }
.th-index:hover { background: #20242c; }
.th-index.th-index-live { border-left-color: #5fbf6f; }
.th-index b { color: #ffce63; }
.th-header { background: linear-gradient(180deg, #1a1d24, #12141a); border: 1px solid #2c323d; border-radius: 8px; padding: 16px 18px; text-align: center; margin-bottom: 12px; }
.th-kicker { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #8a93a6; }
.th-title { font-size: 26px; font-weight: 800; color: #f0f3f8; margin: 4px 0; }
.th-big { font-size: 34px; font-weight: 800; color: #ffce63; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.th-sub { font-size: 13px; color: #b6bdca; margin-top: 4px; }
.th-muted { color: #8a93a6; }

.th-stage { position: relative; background: #000; border: 1px solid #2c323d; border-radius: 8px; overflow: hidden; margin-bottom: 12px; min-height: 80px; cursor: crosshair; }
.th-poster { display: flex; gap: 16px; padding: 16px; align-items: flex-start; }
.th-poster img { width: 180px; max-width: 38%; height: auto; border-radius: 6px; border: 1px solid #2c323d; }
.th-poster .th-desc { flex: 1; color: #c9d0db; font-size: 14px; line-height: 1.55; }
.th-poster .th-desc h3 { margin: 0 0 6px; color: #f0f3f8; }

.th-player { position: relative; background: #000; }
.th-player video { display: block; width: 100%; max-height: 70vh; background: #000; }
/* fullscreen: make the container a flex column so the video fills the screen (controls pinned
   at the bottom). Separate rules per vendor prefix — a browser drops the whole rule if any
   selector in a group is unknown. */
.th-player:fullscreen { display: flex; flex-direction: column; width: 100%; height: 100%; }
.th-player:-webkit-full-screen { display: flex; flex-direction: column; width: 100%; height: 100%; }
.th-player:-moz-full-screen { display: flex; flex-direction: column; width: 100%; height: 100%; }
.th-player:fullscreen video { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; }
.th-player:-webkit-full-screen video { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; }
.th-player:-moz-full-screen video { flex: 1 1 auto; width: 100%; height: auto; min-height: 0; max-height: none; object-fit: contain; }
/* custom controls bar (the only allowed controls) */
/* force a normal visible cursor over the player — overrides any equipped cosmetic cursor,
   which often renders invisibly in fullscreen */
.th-player, .th-player video { cursor: default !important; }
.th-ctl { display: flex; align-items: center; gap: 14px; padding: 7px 12px; background: #15181f; border-top: 1px solid #2c323d; }
.th-ctl button, .th-ctl .th-vol { cursor: pointer !important; }
.th-ctl button { background: none; border: 1px solid #3a4150; color: #e8edf4; border-radius: 5px; padding: 4px 10px; cursor: pointer; font-size: 14px; }
.th-ctl button:hover { background: #232833; }
.th-ctl .th-vol { width: 110px; }
.th-ctl .th-live { margin-left: auto; font-size: 12px; color: #5fbf6f; font-weight: bold; }
.th-ctl .th-live::before { content: '● '; }

/* voice + chat side by side (stacks on narrow screens) */
.th-social { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.th-social > section { flex: 1 1 320px; min-width: 280px; display: flex; flex-direction: column; border: 1px solid #2c323d; border-radius: 8px; overflow: hidden; }
.th-chat-h { background: #15181f; padding: 6px 12px; font-weight: bold; font-size: 13px; border-bottom: 1px solid #2c323d; }
.th-chat-h .th-pop { float: right; font-weight: normal; font-size: 12px; color: #6ea8fe; text-decoration: none; }
.th-chat-h .th-pop:hover { text-decoration: underline; }
.th-voice-out { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: #b6bdca; }
#th-chat, #th-voice { display: block; width: 100%; flex: 1 1 auto; min-height: 540px; border: 0; background: transparent; }
@media (max-width: 760px) { .th-social { flex-direction: column; } #th-chat, #th-voice { min-height: 420px; } }
/* hide the floating cosmetic cursor image while the pointer is over an iframe (it freezes
   there because the parent stops getting mouse events) */
html.th-overframe .fb-cursor-img { display: none !important; }

@media (max-width: 640px) {
  .th-poster img { width: 120px; }
  .th-big { font-size: 26px; }
  .th-title { font-size: 20px; }
}
