#roomColumns #videoWrap > #v5855VideoVote {
 position: absolute;
 inset: 0;
 z-index: 130;
 display: flex !important;
 visibility: visible !important;
 flex-direction: column;
 justify-content: safe center;
 gap: 6px;
 box-sizing: border-box;
 padding: clamp(7px, 1.75vw, 16px);
 overflow: auto;
 overscroll-behavior: contain;
 background: linear-gradient(145deg, #231636f5, #100919f7);
 color: #fbf6ff;
 font-family: system-ui, sans-serif;
}
#v5855VideoVote > header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 8px;
}
#v5855VideoVote > header > h2 {
 margin: 0;
 font-size: clamp(.9rem, 2.2vw, 1.25rem);
 line-height: 1.15;
}
#v5855VideoVote > p {
 margin: 0;
 font-size: .8rem;
 line-height: 1.3;
 color: #eddefe;
}
#v5855VideoVote > p:empty { display: none; }
.v5855-vote-clock {
 padding: 3px 7px;
 border: 1px solid #b784ef;
 border-radius: 10px;
 color: #f7e9ff;
 font-size: .75rem;
 font-weight: 700;
 font-variant-numeric: tabular-nums;
 white-space: nowrap;
}
.v5855-vote-options {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 5px;
}
.v5855-vote-card {
 display: flex;
 flex-direction: column;
 align-self: start;
 min-width: 0;
 border: 1px solid #754c9e;
 border-radius: 9px;
 background: #2d2040;
}
#v5855VideoVote .v5855-vote-option {
 display: grid;
 grid-template-columns: clamp(30px, 11vw, 84px) minmax(0, 1fr);
 align-items: center;
 gap: 6px;
 min-height: 44px;
 padding: 5px;
 border: 0;
 border-radius: 8px;
 background: transparent;
 box-shadow: none;
 text-align: start;
 color: inherit;
 touch-action: manipulation;
}
#v5855VideoVote .v5855-vote-option[aria-pressed=true] {
 background: #674398;
 box-shadow: inset 0 0 0 2px #d9b4ff;
}
#v5855VideoVote .v5855-vote-option[aria-disabled=true] { cursor: default; }
#v5855VideoVote :is(button, .v5855-voters):focus-visible {
 outline: 2px solid #f4daff;
 outline-offset: -2px;
}
.v5855-vote-thumbnail {
 display: block;
 width: 100%;
 aspect-ratio: 16 / 9;
 border-radius: 4px;
 object-fit: cover;
 background: #160c23;
}
.v5855-vote-option strong {
 display: -webkit-box;
 overflow: hidden;
 -webkit-box-orient: vertical;
 -webkit-line-clamp: 2;
 color: inherit;
 font-size: clamp(.68rem, 1.7vw, .92rem);
 line-height: 1.13;
 overflow-wrap: anywhere;
}
.v5855-vote-option small {
 display: block;
 color: #f4e1ff;
 font-size: .66rem;
 line-height: 1.25;
}
.v5855-voters:not([hidden]) {
 display: flex;
 gap: 3px;
 padding: 2px 5px 4px;
 overflow-x: auto;
 scrollbar-width: thin;
}
.v5855-voters[hidden] { display: none; }
.v5855-voter-avatar {
 display: inline-grid;
 place-items: center;
 flex: 0 0 17px;
 width: 17px;
 height: 17px;
 border-radius: 50%;
 object-fit: cover;
 background: #784fb0;
 color: white;
 font-size: 10px;
 font-weight: 700;
}
.v5855-vote-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
}
#v5855VideoVote .v5855-vote-actions button {
 min-height: 34px;
 padding: 5px 10px;
 font-size: .8rem;
}
#roomColumns:is(:fullscreen, .v26-pseudo-stage) #videoWrap > #v5855VideoVote {
 inset: 43px 0 38px;
}
#videoWrap:has(> #v5855VideoVote) > :is(#v53ModesToolbar, #v27OverlayComposer.v27-compose-open) {
 z-index: 140 !important;
}

/* RC11: four equal full-bleed video choices, without changing the chat. */
#roomColumns #videoWrap > #v5855VideoVote.v5855-vote-grid-active {
 inset: 0; padding: 4px; gap: 4px; justify-content: flex-start; overflow: hidden;
}
#v5855VideoVote.v5855-vote-grid-active > header {
 position: static !important; flex: 0 0 auto; min-height: 0; padding: 2px 5px !important;
 background: transparent !important; box-shadow: none; border: 0; backdrop-filter: none;
}
#v5855VideoVote.v5855-vote-grid-active > header > h2 { font-size: clamp(12px, 2.5vw, 18px); }
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-options {
 flex: 1 1 0; min-height: 0; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 4px;
}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-card {
 position: relative; align-self: stretch; min-height: 0; overflow: hidden; border-radius: 5px;
}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-option {
 position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0;
 display: block; overflow: hidden; border-radius: 4px !important; transform: none;
}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-thumbnail {
 position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0;
}
#v5855VideoVote .v5855-vote-meta {
 position: absolute; inset: auto 0 0; padding: 12px 5px 4px;
 background: linear-gradient(transparent, rgba(0,0,0,.9) 55%); color: white;
}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-option strong { -webkit-line-clamp: 1; font-size: clamp(10px, 2.1vw, 15px); }
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-option[aria-pressed=true]::after {
 content: ''; position: absolute; inset: 0; border: 3px solid #d9b4ff; border-radius: 4px; pointer-events: none;
}
#v5855VideoVote.v5855-vote-grid-active .v5855-voters:not([hidden]) {
 position: absolute; top: 4px; left: 4px; right: 4px; z-index: 2; padding: 1px; gap: 3px;
 pointer-events: none; overflow-x: auto;
}
#v5855VideoVote.v5855-vote-grid-active .v5855-voter-avatar {
 flex: 0 0 clamp(19px, 5vw, 32px); width: clamp(19px, 5vw, 32px); height: clamp(19px, 5vw, 32px);
 border: 1px solid white; box-shadow: 0 1px 5px #000a;
}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-feedback:not(:empty) { flex: 0 0 auto; font-size: 11px; }

/* RC12: edge-to-edge Rave reference, overlays do not consume grid space. */
#roomColumns #videoWrap > #v5855VideoVote.v5855-vote-grid-active {padding:0;gap:0;background:#000;}
#v5855VideoVote.v5855-vote-grid-active > header {position:absolute!important;inset:0 0 auto auto;z-index:5;pointer-events:none;padding:3px!important;}
#v5855VideoVote.v5855-vote-grid-active > header > h2 {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-clock {background:#000c;border:1px solid #fff;border-radius:50%;min-width:28px;text-align:center;}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-options {gap:0;width:100%;height:100%;}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-card {border:0;border-radius:0;}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-option {border-radius:0!important;}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-meta {position:static;display:block;background:none;padding:0;}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-option strong {position:absolute;inset:auto 0 0;padding:3px 5px;background:#0009;-webkit-line-clamp:2;font-size:clamp(11px,3vw,18px);font-weight:500;}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-option small {position:absolute;left:4px;top:4px;background:#b92b18;border-radius:12px;padding:2px 5px;}
#v5855VideoVote.v5855-vote-grid-active .v5855-voters:not([hidden]) {top:25px;left:5px;right:38px;flex-wrap:wrap;max-height:48%;overflow:auto;pointer-events:auto;}
#v5855VideoVote.v5855-vote-grid-active .v5855-voter-avatar {width:clamp(24px,7vw,46px);height:clamp(24px,7vw,46px);flex-basis:clamp(24px,7vw,46px);}
#v5855VideoVote.v5855-vote-grid-active .v5855-vote-feedback:not(:empty) {position:absolute;bottom:0;left:0;right:0;z-index:6;background:#000d;padding:3px;pointer-events:none;}
