/* Supplied results illustration, with live ranks, portraits, scores and native details. */
body:not(.is-setup) .round-summary.results-reference-v144{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:170;display:flex;flex-direction:column;gap:0;width:min(600px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);height:auto;min-height:0;box-sizing:border-box;margin:0;padding:24px 28px 30px;border:0;border-radius:8px;background:#08121eed;box-shadow:0 18px 70px #000b;backdrop-filter:blur(8px);overflow:visible;color:#efe7d4;font-family:Georgia,'Times New Roman',serif;animation:none;}
body:not(.is-setup) .results-reference-v144::before{content:'';position:absolute;inset:0;z-index:3;pointer-events:none;border-style:solid;border-color:transparent;border-width:46px 22px 34px;border-image:url('./assets/results-frame-v144.webp') 94 36 67 36 stretch;}
body:not(.is-setup) .results-reference-v144 .results-head{position:relative;isolation:isolate;flex:0 0 auto;display:grid;gap:5px;place-content:center;min-height:118px;padding:12px 8px 8px;text-align:center;}
body:not(.is-setup) .results-reference-v144 .results-head::before{content:'';position:absolute;inset:0 -8px;z-index:-1;background:linear-gradient(0deg,#08121e,transparent 65%),url('./assets/results-castle-v144.webp') center top/cover no-repeat;opacity:.95;}
body:not(.is-setup) .results-reference-v144 .results-head::after{content:'';position:absolute;inset:auto 0 0;height:12px;background:url('./assets/results-divider-v144.webp') center/100% 12px no-repeat;}
body:not(.is-setup) .results-reference-v144 .results-head>span{color:#e1c68f;text-transform:uppercase;letter-spacing:.16em;font:600 12px/1.3 Georgia,serif;}
body:not(.is-setup) .results-reference-v144 .results-head>strong{display:block;margin:0;color:#fff2d3;font:700 clamp(24px,4vw,36px)/1.2 Georgia,serif;text-shadow:0 2px 6px #000;}
body:not(.is-setup) .results-reference-v144 .results-scroll{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;gap:10px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:10px 4px 4px;}
body:not(.is-setup) .results-reference-v144 .round-end-reason{flex:none;margin:0;padding:10px 12px;border:1px solid #9a7b3d88;border-radius:3px;background:linear-gradient(90deg,#70502166,#41331f88,#70502166);font:14px/1.4 Georgia,serif;text-align:center;color:#eee2c7;}
body:not(.is-setup) .results-reference-v144 .round-check-proof{flex:none;margin:0;padding:0 6px;font:12px/1.5 Georgia,serif;color:#c9d4d9;text-align:center;overflow-wrap:anywhere;}
body:not(.is-setup) .results-reference-v144 .results-scroll>small{display:block;text-align:center;color:#a8d5b3;font:14px/1.4 Georgia,serif;}
body:not(.is-setup) .results-reference-v144 .results-rows{display:grid;gap:6px;padding:12px 0;border-block:1px solid #b4935355;}
body:not(.is-setup) .results-reference-v144 .round-summary-row{display:grid;grid-template-columns:32px 48px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:67px;padding:8px 12px;margin:0;border:1px solid #61768077;border-radius:5px;background:linear-gradient(90deg,#1a2939,#26374577 65%,#14202f);text-align:left;}
body:not(.is-setup) .results-reference-v144 .round-summary-row.winner{border-color:#ac803bd9;background:linear-gradient(90deg,#9e671c99,#65482599 65%,#3a2f2099);box-shadow:inset 0 0 16px #c7983522;}
body:not(.is-setup) .results-reference-v144 .result-rank{display:grid;place-items:center;width:30px;height:34px;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);background:linear-gradient(#8da3af,#294352);color:#f0e5c9;font:bold 19px/1 Georgia,serif;}
body:not(.is-setup) .results-reference-v144 .winner .result-rank{background:linear-gradient(#e6ca85,#96611b);color:#39240d;}
body:not(.is-setup) .results-reference-v144 .result-avatar{display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border:2px solid #869695;border-radius:50%;background:#102236;box-shadow:0 0 0 2px #1c3344;}
body:not(.is-setup) .results-reference-v144 .winner .result-avatar{border-color:#d8b66d;box-shadow:0 0 0 2px #735a2c;}
body:not(.is-setup) .results-reference-v144 .result-avatar img{width:100%;height:100%;object-fit:cover;}
body:not(.is-setup) .results-reference-v144 .result-player{display:flex;flex-direction:column;gap:3px;min-width:0;font:bold 17px/1.2 Georgia,serif;overflow-wrap:anywhere;color:#f1e9d8;}
body:not(.is-setup) .results-reference-v144 .round-summary-row small{display:block;margin:0;font:12px/1.3 Georgia,serif;color:#a7d9ad;}
body:not(.is-setup) .results-reference-v144 .round-summary-row .negative{color:#efa0a0;}
body:not(.is-setup) .results-reference-v144 .round-summary-row .round-bonus{color:#efd48e;}
body:not(.is-setup) .results-reference-v144 .round-summary-row>strong{font:bold 26px/1.1 Georgia,serif;white-space:nowrap;color:#fff0ce;}
body:not(.is-setup) .results-reference-v144 .round-hands{margin:0;padding:0;border:0;display:block;}
body:not(.is-setup) .results-reference-v144 .round-hands:not([open])>:not(summary){display:none;}
body:not(.is-setup) .results-reference-v144 .round-hands>summary{display:flex;align-items:center;justify-content:center;min-height:54px;gap:8px;padding:10px 36px;box-sizing:border-box;border:1px solid #b99a5c;border-radius:4px;background:url('./assets/results-hands-button-v144.webp') center/100% 100% no-repeat,linear-gradient(90deg,#16334d,#142c43);color:#f6e8bf;font:bold 15px/1.3 Georgia,serif;cursor:pointer;list-style:none;text-align:center;}
body:not(.is-setup) .results-reference-v144 .round-hands>summary::-webkit-details-marker{display:none;}
body:not(.is-setup) .results-reference-v144 .round-hands>summary::before{content:none;}
body:not(.is-setup) .results-reference-v144 .round-hands>summary::after{content:'▸';color:#dcc083;}
body:not(.is-setup) .results-reference-v144 .round-hands[open]>summary::after{content:'▾';}
body:not(.is-setup) .results-reference-v144 .round-hand-player{margin:10px 0;padding:10px 6px;border:1px solid #816c4344;border-radius:4px;}
body:not(.is-setup) .results-reference-v144 .round-hand-player h4{margin:0 0 8px;font:600 14px/1.4 Georgia,serif;}
body:not(.is-setup) .results-reference-v144 .round-hand-cards{display:grid;grid-template-columns:repeat(auto-fit,86px);justify-content:center;gap:8px;overflow:visible;min-width:0;padding:4px 2px 8px;}
body:not(.is-setup) .results-reference-v144 .round-hand-card{flex:0 0 86px;width:86px;}
body:not(.is-setup) .results-reference-v144 .round-hand-card .game-card{width:86px;height:125px;min-height:0;transform:none;}
body:not(.is-setup) .results-reference-v144 :is(.summary-menu-button,.summary-ready-button){width:100%;min-height:42px;margin:0;border:1px solid #bb9c5c;background:linear-gradient(#81632a,#3e311b);color:#fff0ca;}
@media(max-width:480px){
body:not(.is-setup) .round-summary.results-reference-v144{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:22px 18px 25px;}
body:not(.is-setup) .results-reference-v144 .results-head{min-height:91px;}
body:not(.is-setup) .results-reference-v144 .results-scroll{gap:8px;}
body:not(.is-setup) .results-reference-v144 .round-summary-row{grid-template-columns:24px 37px minmax(0,1fr) auto;gap:7px;padding:7px;min-height:62px;}
body:not(.is-setup) .results-reference-v144 .result-avatar{width:37px;height:37px;}
body:not(.is-setup) .results-reference-v144 .result-rank{width:24px;height:29px;font-size:16px;}
body:not(.is-setup) .results-reference-v144 .result-player{font-size:14px;}
body:not(.is-setup) .results-reference-v144 .round-summary-row>strong{font-size:23px;}
body:not(.is-setup) .results-reference-v144 .round-end-reason{font-size:12px;padding:8px;}
body:not(.is-setup) .results-reference-v144 .round-hands>summary{font-size:13px;padding-inline:12px;}
}
@media(max-height:600px){body:not(.is-setup) .round-summary.results-reference-v144{padding-top:16px;padding-bottom:20px;}body:not(.is-setup) .results-reference-v144 .results-head{min-height:65px;}body:not(.is-setup) .results-reference-v144 .results-head>strong{font-size:25px;}}
