/* TV commentator cameo and independent voice controls. Do not change game layout. */
.ccc-commentary-controls{display:grid;gap:8px;margin:12px 0 4px;padding:12px;border-radius:14px;border:1px solid #8fb4e177;background:linear-gradient(145deg,#172e54,#1d3151);color:#edf5ff}
.ccc-commentary-controls>strong{font-size:13px;letter-spacing:.055em;color:#ffe39b}
.ccc-commentary-controls p{margin:0;color:#d7e5fa;font-size:12px;line-height:1.4}
.ccc-commentary-controls label{display:grid;gap:5px;font-size:12px;font-weight:800;color:#f5ecce}
.ccc-commentary-controls select{width:100%;min-height:35px;padding:6px 9px;border:1px solid #89a6cb;background:#122544;color:white;border-radius:9px;font-size:12px}
.ccc-commentary-volume-row{display:flex;align-items:center;gap:10px}
.ccc-commentary-volume-row input{flex:1;min-height:22px;padding:0;accent-color:#ffd675}
.ccc-commentary-volume-row output{width:36px;font-size:12px;text-align:right}
.ccc-commentary-controls .ccc-commentary-test{background:linear-gradient(#ffdd87,#e8a44f);color:#142340;min-height:36px;padding:7px 10px;font-size:12px}
.ccc-commentary-controls small{color:#bccfe7;font-size:11px;line-height:1.4}
#r20MiniGame .ccc-commentary-cameo{position:absolute!important;z-index:26!important;right:clamp(12px,2.3vw,30px);bottom:clamp(58px,11vh,125px);box-sizing:border-box;display:flex;align-items:center;gap:10px;width:min(265px,22vw);min-height:78px;padding:9px 10px;border:1px solid #ffe09cbb;border-radius:16px;background:linear-gradient(145deg,#102b4af5,#1e2950f2);box-shadow:0 10px 35px #030f2dcc,0 0 18px #ffc87733;pointer-events:none!important;animation:cccCommentatorEnter .28s ease-out both}
#r20MiniGame .ccc-commentary-cameo[hidden]{display:none!important}
#r20MiniGame .ccc-commentary-portrait{position:relative;display:grid;place-items:center;flex:0 0 clamp(50px,6vw,73px);height:clamp(58px,7vw,79px);filter:drop-shadow(0 4px 6px #0009)}
#r20MiniGame .ccc-commentary-portrait img{height:100%;width:100%;object-fit:contain}
#r20MiniGame .ccc-commentary-accessory{position:absolute;right:-4px;top:-5px;font-size:21px;filter:drop-shadow(0 2px 2px #000)}
#r20MiniGame .ccc-commentary-copy{min-width:0;display:grid;gap:4px;color:#fff}
#r20MiniGame .ccc-commentary-name{font-size:clamp(9px,.9vw,12px);line-height:1.2;letter-spacing:.04em;color:#ffe6a6}
#r20MiniGame .ccc-commentary-line{font-size:clamp(11px,1vw,15px);line-height:1.25;font-weight:750;overflow-wrap:break-word}
#r20MiniGame .ccc-commentary-cameo.is-speaking .ccc-commentary-portrait{animation:cccCommentatorTalk .65s ease-in-out infinite alternate}
#r20MiniGame .ccc-commentary-cameo[data-actor="detective"]{border-color:#9bbfff}
#r20MiniGame .ccc-commentary-cameo[data-actor="presenter"]{border-color:#fca5e3}
@keyframes cccCommentatorEnter{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes cccCommentatorTalk{from{transform:translateY(1px) rotate(-2deg)}to{transform:translateY(-3px) rotate(2deg)}}
@media(max-width:850px){#r20MiniGame .ccc-commentary-cameo{width:min(205px,28vw);gap:5px;padding:7px}#r20MiniGame .ccc-commentary-portrait{flex-basis:52px;height:57px}}
@media(max-height:650px){#r20MiniGame .ccc-commentary-cameo{bottom:52px;min-height:56px}#r20MiniGame .ccc-commentary-portrait{flex-basis:46px;height:51px}}
@media(prefers-reduced-motion:reduce){#r20MiniGame .ccc-commentary-cameo,#r20MiniGame .ccc-commentary-cameo.is-speaking .ccc-commentary-portrait{animation:none!important}}
