.comment-broadcast{position:absolute;z-index:45;left:24px;right:24px;bottom:48px;min-height:82px;display:flex;align-items:center;gap:15px;padding:12px 16px;border:2px solid #849b70;background:#102c25ed;box-shadow:4px 4px 0 #091c1c;color:#f3ecc4;pointer-events:auto}
.comment-speaker{flex:none;width:45px;height:45px;padding:6px;border:0;background:transparent;color:#f6ce7c;cursor:pointer}.comment-speaker svg{display:block;width:100%;height:100%;image-rendering:pixelated}.comment-speaker:hover,.comment-next:hover{background:#e1e6bb1a}.broadcast-content{min-width:0;flex:1}.broadcast-meta{display:flex;align-items:center;gap:12px;min-width:0;font-size:10px;color:#9bb68f;margin-bottom:9px;line-height:1.3}.broadcast-meta b{font-weight:400;color:#d7b4ff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:220px}.broadcast-meta time{color:#b1c49a}.broadcast-meta #broadcast-count{margin-left:auto;white-space:nowrap}.broadcast-viewport{overflow:hidden;min-width:0;width:100%;height:30px;line-height:30px}#broadcast-text{display:inline-block;min-width:100%;white-space:nowrap;font-size:22px;line-height:30px;will-change:transform;text-shadow:2px 2px #091e19}.comment-next{flex:none;align-self:center;width:32px;height:36px;background:transparent;border:1px solid #748a6566;color:#dacfa2;font-size:24px;padding:0;cursor:pointer}
.comment-history{position:absolute;z-index:60;right:24px;bottom:146px;width:min(680px,calc(100vw - 48px));max-height:calc(100dvh - 190px);border:2px solid #8b9e71;background:#112e27f5;box-shadow:4px 4px #071d18;padding:16px}.comment-history header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px}.comment-history h2{font-size:14px;line-height:1.5;margin:0;color:#f5d186}.comment-history header button{width:34px;height:30px;font-size:23px;background:transparent;border:1px solid #799467;color:#f7ebc8}.comment-history .guest-list{max-height:calc(100dvh - 285px);overflow:auto;mask-image:none;border:0}.comment-history .guest-entry{padding:12px 9px;margin:0;border:0;border-top:1px solid #6079575c;background:none}.comment-history .guest-who{font-size:12px;display:block}.comment-history .guest-message{font-size:16px;line-height:1.6;display:block;margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.comment-history .guest-message::before{content:none}.comment-history .guest-meta{font-size:10px;color:#a0b58e;display:block}.comment-history .empty-note{font-size:13px;line-height:1.6}
@keyframes comment-scroll{0%,12%{transform:translateX(0)}88%,100%{transform:translateX(var(--comment-shift,0))}}
@media(max-width:760px){.comment-broadcast{left:12px;right:12px;bottom:108px;min-height:76px;padding:10px;gap:9px}.comment-speaker{width:32px;height:36px;padding:3px}.broadcast-meta{gap:7px;font-size:8px;margin-bottom:6px}.broadcast-meta time{display:none}#broadcast-title{display:none}.broadcast-meta b{max-width:100px}.broadcast-meta #broadcast-count{font-size:8px}#broadcast-text{font-size:16px;line-height:26px}.broadcast-viewport{height:26px;line-height:26px}.comment-next{width:27px;height:30px;font-size:20px}.comment-history{left:12px;right:12px;bottom:194px;width:auto;padding:12px;max-height:calc(100dvh - 305px)}.comment-history .guest-list{max-height:calc(100dvh - 380px)}.comment-history .guest-message{font-size:14px}.comment-history h2{font-size:11px}}
@media(min-width:700px) and (max-height:520px){.comment-broadcast{left:260px;right:12px;bottom:12px;min-height:67px;padding:7px 10px}.comment-speaker{width:30px;height:30px}.broadcast-meta{margin-bottom:4px}.broadcast-viewport{height:24px}#broadcast-text{font-size:17px;line-height:24px}.game-footer{display:none}.comment-history{bottom:90px;max-height:calc(100dvh - 125px)}.comment-history .guest-list{max-height:calc(100dvh - 215px)}}
@media(prefers-reduced-motion:reduce){#broadcast-text{animation:none!important;will-change:auto}.broadcast-viewport{overflow-x:auto;scrollbar-width:thin}}

/* A compact five-line notebook, independent of the rolling feed. */
.top-rankers{position:absolute;z-index:46;top:130px;right:24px;width:min(540px,calc(100vw - 48px));padding:9px 12px 7px 21px;background:#e7dfbdf0;color:#303e31;border:2px solid #a99f79;box-shadow:4px 4px #152b2666}
.top-rankers:before{content:'';position:absolute;top:0;bottom:0;left:14px;border-left:1px solid #bc776b80;pointer-events:none}
.top-rankers h2{font-size:10px;line-height:16px;letter-spacing:1px;color:#666348;margin:0 0 5px}
#top-rankers-list{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.rank-card{display:grid;grid-template-columns:96px 76px minmax(0,1fr);align-items:center;gap:8px;min-width:0;width:100%;height:25px;text-align:left;color:#303e31;background:transparent;border:0;border-bottom:1px solid #a69f793d;padding:0 2px;cursor:pointer}
.rank-card:last-child{border-bottom:0}.rank-who{font-size:11px;line-height:20px;color:#58604a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:400}.rank-card:first-child .rank-who{color:#81582a}.rank-score{font-size:10px;color:#afc69b;white-space:nowrap}.rank-card .rank-score{display:block;color:#f7edc8;background:#344631;border:1px solid #263924;padding:1px 4px;font-size:12px;line-height:15px;font-weight:700;text-align:right;font-variant-numeric:tabular-nums}.rank-message{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:20px}.rank-card:hover,.rank-card:focus-visible{background:#bdad7340}.rank-empty{display:block;color:#97987c;font-size:11px;line-height:25px;cursor:default}
.comment-history h3{font-size:11px;color:#efcc7e;margin:12px 0}.comment-history .ranked-entry{display:grid;grid-template-columns:1fr auto;gap:7px;border-left:2px solid #d1ac64;background:#b2943f0a}.ranked-entry .rank-message{grid-column:1/-1;white-space:pre-wrap;font-size:15px;line-height:1.6;overflow:visible}.ranked-entry .rank-who{font-size:12px;color:#e6c687}
@media(max-width:900px),(max-height:520px){.top-rankers{top:96px;right:12px;width:min(420px,calc(100vw - 24px));padding:6px 8px 4px 18px}.top-rankers:before{left:12px}.top-rankers h2{font-size:9px;line-height:12px;margin-bottom:3px}.rank-card{height:20px;grid-template-columns:74px 68px minmax(0,1fr);gap:5px}.rank-who{font-size:10px;line-height:18px}.rank-message{font-size:11px;line-height:18px}.rank-empty{line-height:20px}.rank-card .rank-score{font-size:11px;line-height:13px;padding:1px 3px}}
