.qg-avatar{width:40px;height:40px;object-fit:cover;border-radius:12px;flex:none;border:2px solid #aa7af0;background:#c5c3c1;transition:border-color .15s}
.qg-avatar-win{border-color:#3ecf8e}.qg-avatar-lose{border-color:#ff7580}
.qg-character-video.qg-battle-avatar{width:40px;height:40px;object-fit:cover}
.qg-characters{margin:18px 0;padding:14px;border-radius:16px;background:#1a1f38;color:#f3f1ea}.qg-characters h3{margin:0 0 12px;font-size:18px}
.qg-character-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.qg-character-card{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px 4px;border-radius:12px;background:#242b48;text-align:center;font-size:12px}
.qg-character-active{border:2px solid #b68aff}.qg-character-card .qg-avatar{width:62px;height:62px}.qg-character-card span:not(.qg-silhouette){font-size:11px;color:#c6bed8}.qg-character-note{margin:12px 0 0;font-size:12px;color:#b5b9cf}
.qg-silhouette{position:relative;display:block;width:49px;height:62px;opacity:.65;background:#69708d;border-radius:45% 45% 28% 28%;clip-path:polygon(32% 0,68% 0,78% 12%,76% 31%,90% 42%,100% 78%,78% 82%,77% 100%,57% 100%,50% 83%,43% 100%,23% 100%,22% 82%,0 78%,10% 42%,24% 31%,22% 12%)}
.qg-silhouette-ears{clip-path:polygon(12% 0,39% 15%,62% 15%,88% 0,83% 36%,98% 67%,77% 79%,75% 100%,55% 100%,50% 87%,45% 100%,25% 100%,23% 79%,2% 67%,17% 36%)}
.qg-silhouette-tall{width:39px;transform:rotate(-5deg)}
.qg-character-result{display:flex;align-items:center;gap:12px;margin:0 0 12px}.qg-character-video{display:block;width:110px;height:146px;object-fit:contain;background:#bdbbb9;border-radius:14px;flex:none}.qg-character-caption{font-size:14px;font-weight:bold;overflow-wrap:anywhere}
.qg-character-result-tv{position:absolute;left:4vw;top:18vh;width:23vw;flex-direction:column;gap:1vh}.qg-character-result-tv .qg-character-video{width:21vw;height:51vh;border-radius:2vh}.qg-character-result-tv .qg-character-caption{font-size:2.6vh}
#итог.qg-has-character{padding-left:31vw}#итог.qg-has-character h1{font-size:6vh}#итог.qg-has-character .победитель{font-size:4.5vh;margin-bottom:2vh}#итог.qg-has-character ol{font-size:2.7vh;margin-bottom:2vh}
#игроки .игрок .qg-avatar{width:4.4vh;height:4.4vh;border-radius:1vh}.qg-tv-preview{display:flex;align-items:center;gap:2vh;margin-top:2vh;font-size:2.4vh}.qg-tv-preview .qg-character-video{width:10vh;height:13vh}
@media(max-width:360px){.qg-character-card .qg-avatar{width:48px;height:48px}.qg-character-card{font-size:11px}.qg-avatar{width:32px;height:32px}.qg-character-result .qg-character-video{width:80px;height:106px}}
@media(prefers-reduced-motion:reduce){.qg-avatar{transition:none}}

.qg-character-card{border:2px solid transparent;color:inherit;font-family:inherit}.qg-character-card[type=button]{cursor:pointer}.qg-character-card:focus-visible{outline:3px solid #8deaff;outline-offset:2px}.qg-character-card.qg-character-active{border-color:#b68aff}.qg-progress-status{font-size:12px;color:#c6bed8;margin-top:8px}

.qg-xp-bar{width:90%;height:7px;accent-color:#b68aff}.qg-daily{margin-top:16px;padding-top:14px;border-top:1px solid #48516f}.qg-mana{font-size:19px;font-weight:700;color:#8deaff}.qg-task{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 0;border-bottom:1px solid #343c59;font-size:13px}.qg-task>span{flex:1 1 150px}.qg-task strong{font-size:12px;color:#8deaff}

.qg-character-result:not(.qg-character-result-tv){flex-wrap:wrap}.qg-result-progress{flex-basis:100%;padding:10px;border-radius:10px;background:#252e48;color:#eef3ff;font-size:13px}.qg-result-progress strong{color:#8deaff}.qg-result-progress p{margin:8px 0}

.qg-daily summary,.qg-character-help summary{cursor:pointer;font-size:13px;font-weight:700;color:#c9b1f4}.qg-character-help{margin-top:12px}.qg-daily summary{color:#8deaff}.qg-daily[open] summary{margin-bottom:12px}

.qg-character-video.qg-avatar.qg-figure{width:72px;height:92px;object-fit:contain;border-radius:12px;background:#bdbbb9}.qg-has-figure{align-items:center}#игроки .игрок.qg-has-figure{grid-template-columns:11vh minmax(0,1fr) auto;min-height:15.4vh;position:relative}#игроки .игрок.qg-has-figure .qg-figure{grid-column:1;grid-row:1 / span 2;width:10.5vh;height:14vh;border-radius:1vh}#игроки .игрок.qg-has-figure .имя{grid-column:2;grid-row:1}#игроки .игрок.qg-has-figure .очки{grid-column:3;grid-row:1}#игроки .игрок.qg-has-figure .знак{position:absolute;left:8.2vh;top:.5vh;z-index:1;font-size:2.3vh}#игроки .игрок.qg-has-figure .выбор-ответа{grid-column:2 / -1;grid-row:2}#игроки.qg-many-players .игрок.qg-has-figure{grid-template-columns:7vh minmax(0,1fr) auto;min-height:9vh}#игроки.qg-many-players .игрок.qg-has-figure .qg-figure{width:6.5vh;height:8vh}#игроки.qg-many-players .игрок.qg-has-figure .знак{left:4.8vh}

.qg-browse{width:100%;margin-bottom:12px}.qg-carousel{box-sizing:border-box;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:16px 12px max(12px,env(safe-area-inset-bottom));border:0;background:radial-gradient(ellipse at 50% 45%,#51406c,#171c34 75%);color:#fff;font:inherit;overflow:hidden;flex-direction:column;align-items:center;gap:8px}.qg-carousel[open]{display:flex}.qg-carousel::backdrop{background:#14182c}.qg-carousel h2{font-size:22px;margin:12px 36px 0;text-align:center}.qg-carousel-close{position:absolute;right:14px;top:12px;z-index:3;border:0;background:#ffffff18;color:white;border-radius:50%;width:40px;height:40px;font-size:22px}.qg-carousel-stage{position:relative;flex:1;min-height:100px;width:100%;max-width:700px;overflow:hidden;touch-action:pan-y}.qg-carousel-model{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;transition:transform .2s}.qg-carousel-model video,.qg-carousel-model img{width:100%;height:100%;object-fit:contain;max-height:none;border-radius:0}.qg-carousel-model.qg-center{z-index:2;transform:scale(.78);pointer-events:none}.qg-carousel-model.qg-left{transform:translateX(-48%) scale(.78);opacity:.4;cursor:pointer}.qg-carousel-model.qg-right{transform:translateX(48%) scale(.78);opacity:.4;cursor:pointer}.qg-carousel-caption{text-align:center;display:flex;flex-direction:column;gap:4px}.qg-carousel-caption strong{font-size:28px}.qg-carousel-caption span{color:#d5c9e7;font-size:14px}.qg-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:28px}.qg-carousel-controls button{width:48px;height:44px;border:1px solid #a78bd0;background:#ffffff10;border-radius:12px;color:white;font-size:32px}.qg-carousel-controls span{color:#d3b3ff;letter-spacing:8px}.qg-carousel-select{width:min(100%,400px);min-height:48px}.qg-carousel .qg-progress-status{margin:0;min-height:18px;font-size:13px}@media(min-width:701px){.qg-carousel{width:min(700px,100vw);margin:auto;border-radius:20px}}@media(prefers-reduced-motion:reduce){.qg-carousel-model{transition:none}}

/* Full-height animated characters on the final podium. */
.qg-result-stage{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px;width:100%;align-items:end}
.qg-result-model{margin:0;min-width:0;padding:10px;border:1px solid #a78bd055;border-radius:16px;text-align:center;background:#23243e}
.qg-result-model.qg-result-winner{border-color:#eed467;background:#3b3345}
.qg-result-model.qg-result-me{box-shadow:0 0 0 2px #a58cff}
.qg-result-model .qg-character-video{width:100%;height:230px;object-fit:contain;background:transparent;border-radius:10px}
.qg-result-model .qg-character-caption{margin-top:8px;font-size:14px;line-height:1.4}
.qg-character-result:not(.qg-character-result-tv){display:block;width:100%}
.qg-character-result:not(.qg-character-result-tv)>.кн{margin-top:12px}
.qg-character-result-tv{position:static;width:100%;margin:0 0 2vh;display:block}
.qg-character-result-tv .qg-result-stage{grid-template-columns:repeat(auto-fit,minmax(16vh,1fr));gap:1.5vh}
.qg-character-result-tv .qg-result-model .qg-character-video{width:100%;height:28vh;border-radius:1vh}
.qg-character-result-tv .qg-character-caption{font-size:2vh}
#итог.qg-has-character{padding-left:4vw;overflow-y:auto}
@media(max-width:600px){.qg-result-stage{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.qg-result-model{padding:8px}.qg-result-model .qg-character-video{height:190px}.qg-result-stage>.qg-result-model:only-child{grid-column:1 / -1}.qg-result-stage>.qg-result-model:only-child .qg-character-video{height:260px}.qg-result-model .qg-character-caption{font-size:12px}}

.qg-answer-reaction[data-mood=win]{color:#72efb1}.qg-answer-reaction[data-mood=lose]{color:#ff9cac}
.qg-lobby-roster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1vh;margin-bottom:1.5vh;min-height:0}
.qg-lobby-character{margin:0;min-width:0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:.6vh}
.qg-lobby-name{font-size:2.5vh;font-weight:800;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qg-lobby-character .qg-character-video{width:100%;height:25vh;object-fit:contain;border-radius:1.2vh;background:transparent}
.qg-lobby-many .qg-lobby-character .qg-character-video{height:15vh}
.qg-lobby-many .qg-lobby-name{font-size:2vh}

/* Consistent arrow geometry independent of inherited button padding and fonts. */
.qg-carousel-controls button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;min-height:48px;padding:0;line-height:1;touch-action:manipulation}
.qg-carousel-controls button svg{display:block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.qg-carousel-controls button:focus-visible{outline:3px solid #d9f46b;outline-offset:3px}
.qg-carousel-controls button:active{background:#ffffff28}
