/* Live cumulative points only. Never styles the end-of-round summary. */
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list{position:relative;box-sizing:border-box;gap:0;padding:7px 5px;border:12px solid transparent;border-image:url('./assets/ongoing-scores-frame-v213.webp') 28 32 stretch;border-radius:0;background:radial-gradient(ellipse at top,#102d30aa,transparent 70%),#061218;box-shadow:0 5px 22px #0006;scrollbar-width:thin;scrollbar-color:#a58b52 transparent;}
body:not(.is-setup) .reference-hud #scoreList::after{content:none!important;display:none!important;}
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list .score-row.ongoing213-row{position:relative;display:grid;grid-template-columns:66px minmax(0,1fr) 46px;align-items:center;gap:9px;flex:0 0 auto;min-width:0;min-height:60px;margin:0;padding:7px 3px;border:0;border-bottom:1px solid #9b7c454d;border-radius:0;background:transparent;box-shadow:none;color:#eee5ce;font:500 14px/1.3 Georgia,serif;}
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list .score-row.ongoing213-row:last-child{border-bottom:0;}
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list .score-row.ongoing213-row::after{content:'◆';position:absolute;bottom:-4px;left:50%;font-size:6px;line-height:7px;color:#ae8c47;}
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list .score-row.ongoing213-row:last-child::after{content:none;}
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list .score-row.ongoing213-row.active{background:linear-gradient(90deg,#92713725,transparent);}
.ongoing213-identity{position:relative;display:block;width:64px;height:44px;overflow:visible!important;}
.ongoing213-portrait{display:flex;align-items:center;justify-content:center;position:absolute;left:0;top:0;width:44px;height:44px;border:2px solid #a88d53;border-radius:50%;background:#102a32;box-shadow:0 0 0 2px #293129,0 0 0 3px #77613a;overflow:hidden;}
.ongoing213-portrait>img{width:100%;height:100%;min-width:0;object-fit:cover;object-position:center top;}
.ongoing213-portrait>span{color:#f7ddb3;font:600 15px Georgia,serif;}
.ongoing213-team .ongoing213-portrait>img{flex:1;width:0;object-fit:cover;}
.ongoing213-number{position:absolute;top:7px;right:0;display:grid;place-items:center;width:28px;height:30px;border:1px solid #ba9753;border-radius:50%;background:radial-gradient(ellipse,#263134,#061319);color:#ebd195;font:600 19px/1 Georgia,serif;box-shadow:0 0 0 2px #70613f55;text-shadow:0 1px 4px #000;}
.ongoing213-number::before,.ongoing213-number::after{position:absolute;top:5px;color:#c6a462;font-size:21px;line-height:23px;content:'❧';left:-9px;transform:rotate(75deg);}
.ongoing213-number::after{left:auto;right:-9px;transform:scaleX(-1) rotate(75deg);}
[data-score-seat='2'] .ongoing213-number{color:#d7e1de;border-color:#8daba9;}[data-score-seat='3'] .ongoing213-number{color:#d8a476;border-color:#a17c54;}[data-score-seat='4'] .ongoing213-number{color:#afd6ba;}[data-score-seat='5'] .ongoing213-number{color:#9cbfd8;}[data-score-seat='6'] .ongoing213-number{color:#c6a0da;}
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list .ongoing213-name{display:block;min-width:0;overflow-wrap:anywhere;white-space:normal;color:#f0e7d1;font:500 14px/1.25 Georgia,serif;}
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list .ongoing213-name small{display:block;margin-top:3px;color:#a9bdbb;font:10px/1.3 Georgia,serif;}
body:not(.is-setup) :is(#scoreList,#scoreListMobile).score-list .score-row>strong.ongoing213-points{display:grid;place-items:center;box-sizing:border-box;width:46px;min-width:0;min-height:33px;padding:5px 2px;border:1px solid #a08851;border-radius:3px;background:linear-gradient(145deg,#12282a,#071319);box-shadow:inset 0 0 0 2px #092027,0 0 0 1px #4d4d32;color:#f4e9cb;font:600 20px/1.1 Georgia,serif;font-variant-numeric:tabular-nums;}
@media(min-width:901px) and (hover:hover) and (pointer:fine){
body:not(.is-setup) .controls.reference-hud{grid-template-columns:minmax(0,1fr) clamp(180px,16vw,230px) minmax(230px,280px);}
body:not(.is-setup) .reference-hud #endTurnBtn.check-art-v205{position:relative;flex:0 0 78px;width:100%;height:78px;min-height:78px;margin:0;clip-path:none!important;}
body:not(.is-setup) .reference-hud #endTurnBtn.check-art-v205::before{inset:0;background-image:url('./assets/mobile-check-v209.webp');background-size:contain;}
body:not(.is-setup) .reference-hud #scoreList .score-row.ongoing213-row{min-height:57px;grid-template-columns:60px minmax(0,1fr) 42px;gap:7px;}
body:not(.is-setup) .reference-hud #scoreList .ongoing213-identity{transform:scale(.9);transform-origin:left center;}
body:not(.is-setup) .reference-hud #scoreList .ongoing213-name{font-size:12px;}
body:not(.is-setup) .reference-hud #scoreList .score-row>strong.ongoing213-points{width:42px;font-size:18px;}
}

body:not(.is-setup) #scoreList.score-list{max-height:100%;}
body:not(.is-setup) #scoreListMobile.score-list{display:none;flex-direction:column;max-height:min(55dvh,530px);height:auto;flex:0 0 auto;overflow:auto;}
@media(max-width:900px),(pointer:coarse) and (max-width:1200px){body:not(.is-setup) #scoreListMobile.score-list{display:flex;}body:not(.is-setup) .journal-reference-v136{flex:0 0 auto;}}

/* The native Scores button also opens the full-size live standings on PC. */
@media(min-width:901px) and (hover:hover) and (pointer:fine){
body:not(.is-setup) .topbar #hudBtn{display:inline-grid;}
body:not(.is-setup).hud-open .log-panel{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 48px));height:auto!important;max-height:86dvh;display:flex!important;visibility:visible;overflow-x:hidden;overflow-y:auto;z-index:840;padding:18px;}
body:not(.is-setup).hud-open .journal-reference-v136{flex:0 0 auto;}
body:not(.is-setup).hud-open #hudCloseBtn{display:inline-grid;}
body:not(.is-setup).hud-open #scoreListMobile.score-list{display:flex;max-height:65dvh;}
body:not(.is-setup).hud-open #scoreListMobile .score-row.ongoing213-row{grid-template-columns:84px minmax(0,1fr) 76px;min-height:76px;gap:16px;padding:10px 12px;}
body:not(.is-setup).hud-open #scoreListMobile .ongoing213-identity{transform:scale(1.2);transform-origin:left center;}
body:not(.is-setup).hud-open #scoreListMobile .ongoing213-name{font-size:21px;}
body:not(.is-setup).hud-open #scoreListMobile .score-row>strong.ongoing213-points{width:76px;min-height:43px;font-size:28px;}
body:not(.is-setup).hud-open #hudBackdrop{display:block;position:fixed;inset:0;z-index:830;width:100%;height:100%;border:0;border-radius:0;background:#000b;box-shadow:none;}
}
