#gamePhaseSummary[hidden]{display:none!important}
#gamePhaseSummary{box-sizing:border-box;position:fixed;z-index:1200;left:50%;top:18%;transform:translateX(-50%);pointer-events:none;width:min(460px,calc(100vw - 24px));padding:14px 18px;border:2px solid #d8b767;border-radius:16px;background:linear-gradient(145deg,#0c2434f8,#112e32f9);color:#fff3ce;box-shadow:0 12px 48px #000c;text-align:center;font:14px/1.4 system-ui}
#gamePhaseTitle{margin:0 0 5px;font-size:clamp(19px,3vw,26px);color:#ffda73;font-weight:900}
#gamePhaseSubtitle{margin:0 0 9px;font-size:13px;color:#e4edeb}
#gamePhaseScores{display:flex;flex-direction:column;gap:5px}
.gamePhaseScoreRow{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;text-align:left;gap:9px;padding:7px 9px;border-radius:7px;background:#ffffff14}
.gamePhaseScoreRow span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gamePhaseScoreRow strong{color:#ffe29b;white-space:nowrap}
.gamePhaseScoreRow small{font-size:11px;color:#b7d8cc;white-space:nowrap}
#gamePhaseSummary[data-mode="start"]{top:26%;background:#143b36f5}
#gamePhaseSummary[data-mode="final"]{border-color:#ffe385;box-shadow:0 0 24px #e5b44f88,0 15px 48px #000b}
@media(max-width:600px){#gamePhaseSummary{top:15%;padding:10px;width:calc(100vw - 14px)}.gamePhaseScoreRow{gap:5px;padding:5px}.gamePhaseScoreRow small{font-size:10px}}
@media(max-height:500px){#gamePhaseSummary{top:8%;padding:6px 12px}#gamePhaseTitle{font-size:16px}.gamePhaseScoreRow{padding:3px}}
