/* The selected Hall of Fame; only leaderboard presentation is affected. */
body:not(.crime-mode) #screen-game .rating-hall{--rh-ink:#203b2a;--rh-gold:#b89550;--rh-paper:#fff8e9;position:relative;max-width:1200px;margin:0 auto;border:1px solid #b6944b;border-radius:12px;background:var(--rh-paper);color:var(--rh-ink);font:14px/1.45 system-ui,sans-serif}
body:not(.crime-mode) #screen-game .rating-hall *,body:not(.crime-mode) #screen-game .rating-hall *::before,body:not(.crime-mode) #screen-game .rating-hall *::after{box-sizing:border-box;min-width:0}
body:not(.crime-mode) #screen-game .rating-hall button{font:inherit;min-height:44px;max-width:100%;cursor:pointer;white-space:normal}
body:not(.crime-mode) #screen-game .rating-hall button:focus-visible{outline:3px solid #d7b35e;outline-offset:3px}
body:not(.crime-mode) #screen-game .rating-hall.rh-no-tabs>div:first-child{position:absolute;right:24px;top:24px;margin:0!important;z-index:3}
body:not(.crime-mode) #screen-game .rating-hall.rh-no-tabs #rating-tab-empire{display:none}
body:not(.crime-mode) #screen-game .rating-hall.rh-with-tabs>div:first-child{padding:14px;margin:0!important}
body:not(.crime-mode) #screen-game .rating-hall #rating-refresh-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;height:auto;white-space:nowrap;background:linear-gradient(#164631,#082c20);color:#f2d998;border:1px solid #c6a260;border-radius:5px;padding:10px 13px;font:15px/1.3 Georgia,serif;min-height:44px;transform:none;transition:box-shadow .2s ease,border-color .2s ease}
body:not(.crime-mode) #screen-game .rating-hall #rating-refresh-btn:hover{transform:none;border-color:#f0d491;box-shadow:0 2px 8px #0003}
body:not(.crime-mode) #screen-game .rating-hall #rating-refresh-btn:active{transform:none;box-shadow:inset 0 2px 5px #0004}
body:not(.crime-mode) #screen-game .rating-hall #rating-refresh-btn svg{display:block;flex-shrink:0;width:18px;height:18px}
body:not(.crime-mode) #screen-game .rating-hall #rating-refresh-btn::after{content:attr(title)}
body:not(.crime-mode) #screen-game .rating-hall .rh-stage{padding:32px 24px 0;border-radius:11px 11px 0 0;background:linear-gradient(#041e1429,#041e1424),url('../img/rating-hall-background.webp') center/cover no-repeat,#092b1e;color:#f5df9f;border-bottom:2px solid #bc9a52}
body:not(.crime-mode) #screen-game .rating-hall .rh-stage-header{text-align:center;padding:0 130px 16px}
body:not(.crime-mode) #screen-game .rating-hall.rh-with-tabs .rh-stage-header{padding-inline:10px}
body:not(.crime-mode) #screen-game .rating-hall .rh-stage h2{font:700 clamp(30px,3.6vw,48px)/1.15 Georgia,serif;color:#f3dca2;text-shadow:0 2px 5px #0008;margin:0 0 8px;overflow-wrap:break-word}
body:not(.crime-mode) #screen-game .rating-hall .rh-stage-header p{font:18px/1.4 Georgia,serif;color:#dfc998;margin:0;text-shadow:0 1px 4px #0008}
body:not(.crime-mode) #screen-game .rating-hall .rh-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:20px;max-width:800px;margin:18px auto 0}
body:not(.crime-mode) #screen-game .rating-hall .rh-leader{--rh-step:30px;display:flex;flex-direction:column;align-items:center;align-self:end;position:relative;background:transparent;border:0;box-shadow:none;color:#efdca9;padding:0;text-align:center;width:100%;border-radius:8px 8px 0 0}
body:not(.crime-mode) #screen-game .rating-hall .rh-gold{grid-column:2;--rh-step:62px;--rh-rank:#d0a95c}
body:not(.crime-mode) #screen-game .rating-hall .rh-silver{grid-column:1;--rh-step:38px;--rh-rank:#c9ccca}
body:not(.crime-mode) #screen-game .rating-hall .rh-bronze{grid-column:3;--rh-step:20px;--rh-rank:#b88a56}
body:not(.crime-mode) #screen-game .rating-hall .rh-emblem{position:relative;width:170px;height:170px;max-width:100%;aspect-ratio:1/1;display:block;isolation:isolate}
body:not(.crime-mode) #screen-game .rating-hall .rh-emblem::after{content:'';position:absolute;inset:0;background:url('../img/rating-hall-frame.png') center/contain no-repeat;z-index:2;pointer-events:none}
body:not(.crime-mode) #screen-game .rating-hall .rh-silver .rh-emblem::after{filter:grayscale(1) brightness(1.2)}
body:not(.crime-mode) #screen-game .rating-hall .rh-bronze .rh-emblem::after{filter:sepia(.35) saturate(.8) brightness(.8)}
body:not(.crime-mode) #screen-game .rating-hall .rh-emblem :is(.rh-avatar-initial,.rh-avatar-photo){position:absolute;left:22.5%;top:28.5%;width:55%;height:55%;border-radius:50%;object-fit:cover}
body:not(.crime-mode) #screen-game .rating-hall .rh-avatar-initial{display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 30% 20%,#3c5e43,#0d3021);color:#e9cd8b;font:700 32px/1 Georgia,serif;text-shadow:0 1px 3px #0008}
body:not(.crime-mode) #screen-game .rating-hall .rh-avatar-photo{object-fit:cover;z-index:1}
body:not(.crime-mode) #screen-game .rating-hall .rh-avatar-photo[hidden]{display:none}
body:not(.crime-mode) #screen-game .rating-hall .rh-rank-seal{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border-radius:50%;margin-top:-27px;margin-bottom:-18px;background:radial-gradient(circle at 30% 20%,#fff0b5,#b58b40);border:3px double #806225;box-shadow:0 2px 5px #0009;color:#352915;font:700 28px/1 Georgia,serif}
body:not(.crime-mode) #screen-game .rating-hall .rh-silver .rh-rank-seal{background:linear-gradient(#eff1ee,#a9b0b0);border-color:#68736f}
body:not(.crime-mode) #screen-game .rating-hall .rh-bronze .rh-rank-seal{background:linear-gradient(#e8c292,#92613b);border-color:#754c2a}
body:not(.crime-mode) #screen-game .rating-hall .rh-leader-plinth{width:100%;display:flex;flex-direction:column;align-items:center;padding:27px 12px var(--rh-step);border:1px solid #bd9b53;border-bottom:0;border-radius:7px 7px 0 0;background:linear-gradient(100deg,#2d2b1b,#123423 35%,#09271c 75%,#3e3420);box-shadow:inset 0 3px 0 #ddbd7666,0 -2px 10px #0003;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game .rating-hall .rh-leader-plinth>strong{font:700 18px/1.25 Georgia,serif;color:#fff0c8;min-height:45px;display:flex;align-items:center;justify-content:center}
body:not(.crime-mode) #screen-game .rating-hall .rh-leader-value{font:700 25px/1.25 Georgia,serif;margin:8px 0;color:#edcc7c;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game .rating-hall .rh-leader-plinth>small{font-size:11px;color:#cdbb90}
body:not(.crime-mode) #screen-game .rating-hall .rh-paper{background:radial-gradient(ellipse at 30% 0,#fffdf4,#f4e8cb);border-radius:0 0 11px 11px;padding:18px 24px}
body:not(.crime-mode) #screen-game .rating-hall .rh-profile{display:grid;grid-template-columns:42px 46px minmax(0,1fr) auto 18px;grid-template-areas:'rank avatar name value arrow';align-items:center;gap:14px;text-align:left;width:100%;padding:16px 12px;border:0;background:transparent;color:var(--rh-ink);box-shadow:none}
body:not(.crime-mode) #screen-game .rating-hall .rh-row{border-bottom:1px solid #d7c59f;border-radius:0}
body:not(.crime-mode) #screen-game .rating-hall .rh-row:hover{background:#e9dbb770}
body:not(.crime-mode) #screen-game .rating-hall :is(.rh-row-rank,.rh-own-rank){grid-area:rank;text-align:center;font:700 22px/1.2 Georgia,serif;color:#806335}
body:not(.crime-mode) #screen-game .rating-hall .rh-avatar{grid-area:avatar;position:relative;display:block;width:44px;height:44px;border:2px solid #bea265;border-radius:50%;overflow:hidden;background:#173f2b}
body:not(.crime-mode) #screen-game .rating-hall .rh-avatar :is(.rh-avatar-initial,.rh-avatar-photo){position:absolute;inset:0;width:100%;height:100%;border-radius:50%}
body:not(.crime-mode) #screen-game .rating-hall .rh-avatar .rh-avatar-initial{font-size:16px}
body:not(.crime-mode) #screen-game .rating-hall :is(.rh-row-name,.rh-own-name){grid-area:name;font:700 20px/1.3 Georgia,serif;color:#253d2b;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game .rating-hall :is(.rh-row-name,.rh-own-name)>small{color:#9a783b;font:14px/1.3 Georgia,serif}
body:not(.crime-mode) #screen-game .rating-hall .rh-row-value{grid-area:value;font:700 22px/1.3 Georgia,serif;text-align:right;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game .rating-hall .rh-arrow{grid-area:arrow;font:25px Georgia,serif;color:#91713b;text-align:center}
body:not(.crime-mode) #screen-game .rating-hall .rh-own{display:flex;align-items:center;gap:12px;margin-top:12px;padding:6px 10px;border:2px solid #bd9952;border-radius:7px;background:linear-gradient(100deg,#fffae9,#ecdcad);box-shadow:inset 0 0 0 2px #fff5d5}
body:not(.crime-mode) #screen-game .rating-hall .rh-own-profile{grid-template-columns:minmax(42px,auto) 46px minmax(0,1fr) auto;grid-template-areas:'rank avatar name value';flex:1;padding:10px 2px}
body:not(.crime-mode) #screen-game .rating-hall .rh-own-rank{max-width:135px;overflow-wrap:break-word;font-size:19px}
body:not(.crime-mode) #screen-game .rating-hall .rh-own-value{grid-area:value;text-align:right;color:#2a402b}
body:not(.crime-mode) #screen-game .rating-hall .rh-own-value>strong{display:block;font:700 22px/1.3 Georgia,serif;overflow-wrap:anywhere}
body:not(.crime-mode) #screen-game .rating-hall .rh-own-value>small{display:block;font:10px/1.4 system-ui,sans-serif;color:#8d7448;margin-top:2px}
body:not(.crime-mode) #screen-game .rating-hall .rh-share{display:flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;padding:11px 14px;background:linear-gradient(#174d37,#0b3023);color:#f3d99a;border:1px solid #b9944f;border-radius:5px;font:15px/1.3 Georgia,serif}
body:not(.crime-mode) #screen-game .rating-hall .rh-share svg{width:18px;height:18px}
body:not(.crime-mode) #screen-game .rating-hall .rh-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:240px;padding:24px;text-align:center;color:#e8d5a6}
body:not(.crime-mode) #screen-game .rating-hall .rh-empty p{font:20px/1.4 Georgia,serif}
body:not(.crime-mode) #screen-game .rating-hall svg.ico [fill]:not([fill=none]){fill:#d1af67!important}
body:not(.crime-mode) #screen-game .rating-hall svg.ico [stroke]:not([stroke=none]){stroke:currentColor!important}
@media(max-width:750px){body:not(.crime-mode) #screen-game .rating-hall .rh-stage{padding:24px 14px 0}body:not(.crime-mode) #screen-game .rating-hall .rh-stage-header{padding:0 95px 16px;text-align:left}body:not(.crime-mode) #screen-game .rating-hall .rh-stage h2{font-size:32px}body:not(.crime-mode) #screen-game .rating-hall.rh-no-tabs>div:first-child{right:14px;top:24px}body:not(.crime-mode) #screen-game .rating-hall .rh-podium{gap:12px}body:not(.crime-mode) #screen-game .rating-hall .rh-emblem{width:135px;height:135px}body:not(.crime-mode) #screen-game .rating-hall .rh-leader-plinth{padding-inline:8px}body:not(.crime-mode) #screen-game .rating-hall .rh-leader-plinth>strong{font-size:15px}body:not(.crime-mode) #screen-game .rating-hall .rh-leader-value{font-size:20px}body:not(.crime-mode) #screen-game .rating-hall .rh-paper{padding:12px}body:not(.crime-mode) #screen-game .rating-hall .rh-profile{gap:10px}body:not(.crime-mode) #screen-game .rating-hall .rh-own{flex-wrap:wrap}body:not(.crime-mode) #screen-game .rating-hall .rh-share{margin-left:auto}}
@media(max-width:480px){body:not(.crime-mode) #screen-game .rating-hall .rh-stage{padding:20px 10px 0}body:not(.crime-mode) #screen-game .rating-hall .rh-stage-header{padding:0 90px 8px 0}body:not(.crime-mode) #screen-game .rating-hall .rh-stage h2{font-size:26px}body:not(.crime-mode) #screen-game .rating-hall .rh-stage-header p{font-size:13px}body:not(.crime-mode) #screen-game .rating-hall.rh-no-tabs>div:first-child{right:10px;top:21px}body:not(.crime-mode) #screen-game .rating-hall #rating-refresh-btn{gap:5px;padding:9px 7px;font-size:11px}body:not(.crime-mode) #screen-game .rating-hall #rating-refresh-btn svg{width:14px;height:14px}body:not(.crime-mode) #screen-game .rating-hall .rh-podium{gap:7px;margin-top:10px}body:not(.crime-mode) #screen-game .rating-hall .rh-emblem{width:88px;height:88px}body:not(.crime-mode) #screen-game .rating-hall .rh-emblem .rh-avatar-initial{font-size:18px}body:not(.crime-mode) #screen-game .rating-hall .rh-rank-seal{width:28px;height:28px;font-size:18px;margin-top:-12px;margin-bottom:-13px;border-width:2px}body:not(.crime-mode) #screen-game .rating-hall .rh-leader-plinth{padding:21px 4px var(--rh-step)}body:not(.crime-mode) #screen-game .rating-hall .rh-leader-plinth>strong{font-size:12px;min-height:44px}body:not(.crime-mode) #screen-game .rating-hall .rh-leader-value{font-size:13px;margin:7px 0}body:not(.crime-mode) #screen-game .rating-hall .rh-leader-plinth>small{font-size:10px}body:not(.crime-mode) #screen-game .rating-hall .rh-gold{--rh-step:38px}body:not(.crime-mode) #screen-game .rating-hall .rh-silver{--rh-step:25px}body:not(.crime-mode) #screen-game .rating-hall .rh-bronze{--rh-step:14px}body:not(.crime-mode) #screen-game .rating-hall .rh-paper{padding:8px}body:not(.crime-mode) #screen-game .rating-hall .rh-profile{grid-template-columns:25px 34px minmax(0,1fr) 12px;grid-template-areas:'rank avatar name arrow' 'rank avatar value arrow';gap:3px 8px;padding:12px 4px}body:not(.crime-mode) #screen-game .rating-hall .rh-avatar{width:32px;height:32px}body:not(.crime-mode) #screen-game .rating-hall .rh-avatar .rh-avatar-initial{font-size:12px}body:not(.crime-mode) #screen-game .rating-hall .rh-row-name{font-size:15px}body:not(.crime-mode) #screen-game .rating-hall .rh-row-value{font-size:15px;text-align:left}body:not(.crime-mode) #screen-game .rating-hall .rh-row-rank{font-size:19px}body:not(.crime-mode) #screen-game .rating-hall .rh-own{gap:7px;padding:7px;margin-top:10px}body:not(.crime-mode) #screen-game .rating-hall .rh-own-profile{width:100%;flex-basis:100%;grid-template-columns:minmax(25px,auto) 34px minmax(0,1fr);grid-template-areas:'rank avatar name' 'rank avatar value';gap:4px 7px}body:not(.crime-mode) #screen-game .rating-hall .rh-own-rank{font-size:12px;max-width:65px}body:not(.crime-mode) #screen-game .rating-hall .rh-own-name{font-size:14px}body:not(.crime-mode) #screen-game .rating-hall .rh-own-value{text-align:left}body:not(.crime-mode) #screen-game .rating-hall .rh-own-value>strong{font-size:16px}body:not(.crime-mode) #screen-game .rating-hall .rh-own-name>small{font-size:12px}body:not(.crime-mode) #screen-game .rating-hall .rh-share{font-size:12px;padding:10px 12px}}
@media(prefers-reduced-motion:reduce){body:not(.crime-mode) #screen-game .rating-hall *{transition:none!important;animation:none!important}}
