.oanim, .oanim * { box-sizing: border-box; }
.pillar-preview:has(.oanim) {
background: #fff;
}
.oanim {
position: absolute;
inset: 0;
overflow: hidden;
background: #fff;
box-shadow: inset 0 0 0 1px rgba(43, 41, 45, .1);
container-type: inline-size;
font-family: 'Montserrat', 'Montserrat Fb', 'Montserrat Fb A', sans-serif;
line-height: 1.25;
color: #2B292D;
}
.oanim-stage {
position: absolute;
inset: 7.3% 4.1%;
font-size: 9px;
font-size: clamp(8px, 4.4px + 1.06cqw, 14.5px);
--oanim-col: 34%;
--oanim-out: 55%;
--oanim-r: .45em;
--sp-1: .5em;
--oanim-shadow: 0 .15em .6em rgba(43, 41, 45, .16);
}
.oanim-col {
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: var(--oanim-col);
display: flex;
flex-direction: column;
justify-content: center;
align-items: stretch;
gap: .55em;
}
.oanim-op {
flex: 0 0 auto;
display: block;
font-size: 1.5em;
font-weight: 400;
line-height: 1;
text-align: center;
color: rgba(43, 41, 45, .45);
}
.oanim-op--eq {
position: absolute;
top: 50%;
left: calc((var(--oanim-col) + 100% - var(--oanim-out)) / 2);
transform: translate(-50%, -50%);
}
.oanim-poll {
display: block;
padding: var(--sp-1) calc(var(--sp-1) + .15em) calc(var(--sp-1) + .15em);
border-radius: var(--oanim-r);
background: #fff;
box-shadow: var(--oanim-shadow);
}
.oanim-poll--src {
flex: 0 0 auto;
box-shadow: var(--oanim-shadow), inset 0 0 0 1px rgba(43, 41, 45, .08);
}
.oanim-q {
display: block;
overflow: hidden;
margin-bottom: calc(var(--sp-1) * .8);
font-size: 1em;
font-weight: 700;
line-height: 1.3;
white-space: nowrap;
text-overflow: ellipsis;
}
.oanim-row { display: block; }
.oanim-row + .oanim-row { margin-top: calc(var(--sp-1) * .7); }
.oanim-meta {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: var(--sp-1);
margin-bottom: .25em;
font-size: .78em;
line-height: 1.3;
}
.oanim-name { font-weight: 700; color: rgba(43, 41, 45, .8); }
.oanim-pct  { font-weight: 700; font-variant-numeric: tabular-nums; color: rgba(43, 41, 45, .55); }
.oanim-track {
display: block;
height: .4em;
overflow: hidden;
border-radius: .2em;
background: rgba(43, 41, 45, .08);
}
.oanim-fill {
display: block;
height: 100%;
border-radius: inherit;
}
.oanim-fill--a { width: 62%; background: #00ffff; }
.oanim-fill--b { width: 38%; background: rgba(43, 41, 45, .24); }
.oanim-win {
flex: 0 0 auto;
overflow: hidden;
border-radius: var(--oanim-r);
background: #2B292D;
box-shadow: var(--oanim-shadow);
}
.oanim-winbar {
display: flex;
align-items: center;
height: 1.2em;
padding: 0 .55em;
background: rgba(255, 255, 255, .06);
}
.oanim-wintitle {
display: block;
width: 28%;
height: .3em;
border-radius: .15em;
background: rgba(255, 255, 255, .22);
}
.oanim-winshot {
position: relative;
display: block;
width: 100%;
aspect-ratio: 16 / 9;
overflow: hidden;
background: rgba(255, 255, 255, .06);
}
.oanim-frame {
position: absolute;
inset: 0;
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 50% 50%;
}
.oanim-windock {
display: flex;
align-items: center;
gap: .3em;
height: 1.1em;
padding: 0 .55em;
}
.oanim-tab {
display: block;
width: 18%;
height: .3em;
border-radius: .15em;
background: rgba(255, 255, 255, .14);
}
.oanim-tab:first-child { background: rgba(255, 255, 255, .3); }
.oanim-out {
position: absolute;
top: 50%;
left: calc(100% - var(--oanim-out));
width: var(--oanim-out);
aspect-ratio: 16 / 9;
transform: translateY(-50%);
overflow: hidden;
border-radius: var(--oanim-r);
background: rgba(43, 41, 45, .045);
box-shadow: inset 0 0 0 1px rgba(43, 41, 45, .08);
}
.oanim-media {
position: absolute;
inset: 0;
z-index: 1;
display: block;
overflow: hidden;
background: rgba(43, 41, 45, .08);
}
.oanim .dw-live {
top: 8.9%;
left: 5%;
z-index: 3;
font-size: .8em;
transform-origin: left top;
}
.oanim .dw-live .dw-live-dot { animation: dw-pulse 2.5s ease-in-out infinite; }
.oanim-poll--on {
position: absolute;
z-index: 2;
left: 5%;
bottom: 8.9%;
width: 54%;
transform-origin: left bottom;
}
.oanim-media    { animation: oanim-pic   10s linear infinite; }
.oanim-poll--on { animation: oanim-poll  10s linear infinite; }
.oanim .dw-live { animation: oanim-live  10s linear infinite; }
@keyframes oanim-pic {
0%, 8%     { opacity: 0; transform: scale(1.03); animation-timing-function: cubic-bezier(.25, .1, .25, 1); }
15%, 86%   { opacity: 1; transform: scale(1);    animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
95%, 100%  { opacity: 0; transform: scale(1); }
}
@keyframes oanim-poll {
0%, 26%    { opacity: 0; transform: translateY(6%) scale(.97); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
32%, 86%   { opacity: 1; transform: translateY(0)  scale(1);   animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
95%, 100%  { opacity: 0; transform: translateY(0)  scale(1); }
}
@keyframes oanim-live {
0%, 42%    { opacity: 0; transform: scale(.9); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
46%, 86%   { opacity: 1; transform: scale(1);  animation-timing-function: cubic-bezier(.4, 0, .6, 1); }
95%, 100%  { opacity: 0; transform: scale(1); }
}
.pillar-panel:not(.is-active) .oanim,
.pillar-panel:not(.is-active) .oanim * {
animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
.oanim *, .oanim *:before, .oanim *:after { animation: none !important; }
}
