/* Modular cathedral: crown + repeated stone courses + plinth. No vertical image stretching. */
.cathedral-backdrop{display:none;position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;background:#090911}
.cathedral-mode .cathedral-backdrop{display:block}.cathedral-wall{position:absolute;inset:0 0 auto;height:calc(100vh + max(150vw,1350px));background:url('assets/cathedral/cathedral.webp') center top/max(100vw,900px) auto repeat-y;will-change:transform}
body.cathedral-mode{background:#090911;overflow-x:hidden}.cathedral-mode .world,.cathedral-mode .floor-fire{display:none!important}
.cathedral-mode header{height:68px!important;min-height:0!important;padding:8px 3vw!important;background:linear-gradient(#08080de8,transparent);position:relative}.cathedral-mode header>a img{width:102px!important}.cathedral-mode header nav{margin-left:auto}
.cathedral-mode #results,.standalone-halls main.screen{position:relative;width:100%!important;max-width:none!important;padding:0 0 70px!important;min-height:calc(100svh - 68px);overflow:visible!important}
.cathedral-mode #results .results-sheet{padding:0!important;background:none!important;border:0!important;box-shadow:none!important;width:100%!important;max-width:none!important;margin:0!important;overflow:visible!important}
.cathedral-mode #results .results-sheet:before,.cathedral-mode #results .results-sheet>.kicker,.cathedral-mode #results .results-sheet>h1,.cathedral-mode #resultStep{display:none!important}
#cathedralBoard{width:100%;position:relative;min-height:calc(100svh - 95px);display:flex;align-items:flex-end;justify-content:center}
.monument{position:relative;width:min(1040px,98vw);margin:0 auto;user-select:none;-webkit-user-select:none;touch-action:pan-y;isolation:isolate;color:#f0dcc0;container-type:inline-size}
.monument-crown{position:relative;aspect-ratio:1155/335;margin:0;z-index:1}.monument-art{display:block;width:100%;height:100%;pointer-events:none}
.monument-title{position:absolute;left:17%;right:17%;bottom:5%;margin:0!important;text-align:center;color:#f5dec0!important;font:bold clamp(22px,4.1vw,47px)/1 Georgia,serif!important;letter-spacing:.015em!important;text-shadow:0 2px 3px #000,0 0 12px #000}
.monument-reaper{position:absolute;left:46.3%;top:22%;width:7.7%;height:42%;object-fit:contain;pointer-events:none;background:#16060a;border-radius:45%;padding:2px}
.monument-shaft{position:relative;margin-top:-1px;min-height:220px;background:url('assets/cathedral/course.webp') center top/100% auto repeat-y}
.monument-shaft:before{content:'';position:absolute;inset:0 0 auto;aspect-ratio:1155/325;background:url('assets/cathedral/drapes.webp') center top/100% auto no-repeat;pointer-events:none}
.stone-content{position:relative;margin:0 17.3%;padding:8px 0 0;min-width:0;z-index:1}.monument-foot{height:auto;aspect-ratio:1155/230;margin-top:-1px;background:url('assets/cathedral/foot.webp') center top/100% auto no-repeat;pointer-events:none}
.cathedral-ground{position:absolute;z-index:4;left:0;right:0;bottom:0;height:clamp(130px,28vw,390px);background:url('assets/cathedral/ground.webp') center bottom/100% auto no-repeat;pointer-events:none}
.season-toolbar{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:0 0 10px;padding:0;border:0;background:none;box-shadow:none}
.season-current{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;align-items:center}.season-current strong{font:bold clamp(18px,2.1vw,25px)/1.1 Georgia;color:#ffe0a9;text-transform:capitalize}.season-seal{font:bold 12px/1.1 Georgia;letter-spacing:.06em;color:#ffb382;padding:6px 9px;border:1px solid #a76149;background:#41121be6;white-space:nowrap}.season-seal.sealed{background:#171721;color:#baa991;border-color:#726459}
.season-archive{position:relative;z-index:10;font-size:14px}.season-archive summary{cursor:pointer;color:#e8bc88}.season-archive label{position:absolute;top:100%;right:0;background:#15121c;padding:14px;border:2px ridge #a77c56;min-width:210px}.season-archive select{width:100%;font-size:16px;padding:8px;background:#16121c;color:#f5dbb7;border:1px solid #947556}
.ledger-status{text-align:center;font-size:14px!important;line-height:1.4!important;margin:8px 0!important;color:#d7c0a0;min-height:1.4em}.ledger-tools{display:flex;align-items:end;gap:9px;margin:12px 0}.ledger-search{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;font-size:13px;color:#cbb89f}.ledger-search input{background:#080810b8;border:1px solid #785d4b;border-radius:0;padding:10px;color:#f7dfbc;min-width:0;width:100%;font-size:16px;box-shadow:inset 0 2px 5px #000;user-select:text;-webkit-user-select:text}.ledger-tools button{font-size:14px;min-height:44px!important;padding:3px 9px!important;flex-shrink:0}
.ledger-direction{font:italic 13px/1.4 Georgia!important;text-align:center;color:#c3a782;margin:10px 0!important}.stone-load-zone{display:flex;align-items:center;flex-direction:column;gap:6px;margin:12px 0}.stone-load-zone button{font-size:14px}.stone-load-zone>span{font-size:12px;color:#bbaa91}
.stone-names{display:flex;flex-direction:column-reverse;gap:8px;list-style:none;margin:0;padding:0}.stone-entry{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:3px 12px;position:relative;min-height:96px;padding:18px 29px;border:0;background:url('assets/rpg-buttons/obsidian-idle.webp') center/100% 100% no-repeat;text-shadow:0 2px 2px #000}
.entry-place{grid-row:1/3;font:bold clamp(19px,2.2vw,29px)/1 Georgia;color:#e4ac65}.entry-player{min-width:0;display:flex;align-items:baseline;gap:10px}.entry-player strong{font:bold clamp(15px,1.6vw,20px)/1.2 Georgia;color:#f4ddbb;overflow-wrap:anywhere}.entry-player small{font-size:12px;color:#c1947b}.entry-time{font:bold clamp(18px,2vw,26px)/1 Georgia;color:#ffdaa0;white-space:nowrap}.entry-badges{grid-column:2/4;display:flex;gap:4px;flex-wrap:wrap}.stone-entry .stone-medal{width:34px;height:34px;padding:0;border:0;background:none;box-shadow:none;display:block;min-height:0;cursor:pointer}.stone-medal img{width:100%;height:100%;object-fit:contain;display:block}.stone-medal:hover{transform:scale(1.15)}.stone-medal:focus-visible{outline:2px solid #ffb965;outline-offset:2px}.your-entry{background-image:url('assets/rpg-buttons/crimson-idle.webp')}
.empty-stone{text-align:center;font:italic 20px/1.6 Georgia!important;color:#d6bda0;padding:38px 4px;min-height:140px;margin:0!important}.stone-lore-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin:20px 0 0}.stone-lore-actions button{font-size:14px;min-height:45px!important;padding:4px 12px!important}
/* Verdict and diploma share the cathedral and the same physical stone frame. */
.cathedral-mode #results .season-submit,.cathedral-mode #results .certificate-section{border:0;background:none;padding:10px 0;box-shadow:none;margin:0}.cathedral-mode #results .season-submit h2,.cathedral-mode #results .certificate-section h2{font:bold clamp(23px,3vw,35px)/1.12 Georgia;margin:20px 0 12px;color:#ffdfaa}.cathedral-mode #results .certificate-section>h2{display:none}.cathedral-mode #results .season-submit p,.cathedral-mode #results .certificate-section p{font-size:15px;line-height:1.5}.cathedral-mode #results .result-row{background:url('assets/rpg-buttons/obsidian-idle.webp') center/100% 100% no-repeat;border:0;box-shadow:none;margin:9px 0;padding:14px 20px}.cathedral-mode #results .result-row h3{margin:0;color:#f6d5a6}.cathedral-mode #results #resultIntegrity{font-size:13px;line-height:1.5;color:#c8ad94}.cathedral-mode #results .result-actions{position:relative;z-index:6;margin:-95px auto 0!important;padding:0 0 20px;max-width:720px;width:70%;justify-content:center}.cathedral-mode #results .result-actions button{font-size:16px}.cathedral-mode #results .certificate-controls{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;margin:16px 0}.cathedral-mode #certificatePreview{width:100%;height:auto;display:block;box-shadow:0 10px 25px #0008}.cathedral-mode #certificateStatus{font-size:14px!important;text-align:center}.eligibility-status{display:flex;align-items:center;gap:10px}.eligibility-status strong{font:700 18px/1.2 Georgia;color:#f1c68f}.eligibility-emblem{color:#eb8d56;font-size:25px}.eligibility-status.blocked .eligibility-emblem{color:#a18c84}.eligibility-track{height:9px;border:1px solid #82674c;background:#0c0a11;margin:10px 0 16px;overflow:hidden}.eligibility-track span{display:block;height:100%;width:0;background:linear-gradient(90deg,#a81724,#ef8850);transition:width 1s ease}.publish-consent{color:#cdb69d;font-size:13px!important}#publishResult{width:100%;font-size:18px;min-height:54px}#rankingWinners{color:#ffcc98;font-weight:700}.cathedral-mode #purchaseReview{margin:20px 0;font-size:14px}.cathedral-mode #purchaseReview form{display:grid;gap:8px}.cathedral-mode #purchaseReview label{display:grid;gap:3px}.cathedral-mode #purchaseReview input,.cathedral-mode #purchaseReview select{min-width:0;width:100%;padding:9px;background:#100d16;color:#ebd7b9;border:1px solid #836647}
/* The living host remains a small companion, not a second full-width panel. */
.cathedral-mode .hall-host-slot,.cathedral-mode #results>.host-slot{position:relative;z-index:5;width:min(530px,80vw);margin:5px auto 0!important;height:80px!important;min-height:0!important;overflow:visible!important}.cathedral-mode .hall-host-slot .host,.cathedral-mode #results>.host-slot .host{position:relative!important;inset:auto!important;width:100%!important;height:100%;display:flex!important;flex-direction:row!important;gap:12px;justify-content:center}.cathedral-mode .hall-host-slot .avatar,.cathedral-mode #results>.host-slot .avatar{width:42px!important;flex:none!important}.cathedral-mode .hall-host-slot .speech,.cathedral-mode #results>.host-slot .speech{font:700 13px/1.35 Georgia!important;width:auto!important;max-width:420px!important;padding:8px 12px!important;margin:0!important;min-height:0!important}.standalone-halls main.screen{padding-top:0!important}
.medal-dialog{width:min(760px,94vw);max-height:86svh;overflow:auto;color:#f0dfc7;background:#17121d url('assets/rhr-stone-wall.webp') center/500px;border:6px ridge #997254;box-shadow:0 25px 65px #000;padding:clamp(15px,3vw,35px)}.medal-dialog::backdrop{background:#05040bd9}.medal-dialog h2{margin:0 35px 12px 0;color:#ffe1ad}.medal-dialog .dialog-close{float:right;font-size:28px;padding:2px 12px}.medal-picks{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:9px;margin:18px 0}.medal-dialog .emblem-pick{display:flex;align-items:center;flex-direction:column;gap:4px;min-height:110px;background:#17131ddd;border:2px solid #6e5648;font-size:13px}.medal-dialog .emblem-pick img{width:60px;height:60px;object-fit:contain}.medal-dialog .emblem-pick.selected{border-color:#f5af6a;background:#4d1c1f}.medal-detail{min-height:2.5em;padding:13px;background:#17101add;font-size:17px;line-height:1.5}
@media(max-width:700px){
 .cathedral-wall{height:calc(100svh + 960px);background-image:url('assets/cathedral/cathedral-mobile.webp');background-size:640px 960px}
 .cathedral-ground{height:150px;background-image:url('assets/cathedral/ground-mobile.webp');background-size:900px 300px;background-position:center bottom}
 .monument{width:100vw}.monument-title{font-size:clamp(19px,5.2vw,32px)!important;bottom:1%}.monument-shaft{min-height:235px}.stone-content{margin:0 14.5%;padding-top:12px}
 .season-toolbar{gap:5px}.season-current{gap:5px}.season-current strong{font-size:18px}.season-seal{font-size:10px;padding:4px 6px}.season-archive{font-size:13px}.ledger-tools{flex-wrap:wrap;gap:6px;margin:9px 0}.ledger-search{flex-basis:100%}.ledger-tools button{width:100%;min-height:40px!important}.ledger-status{font-size:12px!important}.ledger-direction{font-size:12px!important}.stone-load-zone>span{font-size:11px}.stone-entry{grid-template-columns:33px minmax(0,1fr) auto;gap:5px;padding:15px 14px;min-height:100px}.entry-place{font-size:18px}.entry-player{display:block}.entry-player strong{font-size:15px}.entry-player small{display:block;font-size:11px;margin-top:2px}.entry-time{font-size:18px}.entry-badges{grid-column:2/4;gap:2px}.stone-entry .stone-medal{width:29px;height:29px}.stone-names{gap:6px}.stone-lore-actions{gap:4px;margin-top:14px}.stone-lore-actions button{font-size:12px!important;min-height:43px!important;padding:2px 7px!important;width:100%}.empty-stone{font-size:17px!important;padding:24px 3px}
 .cathedral-mode header{height:58px!important;padding:6px 9px!important}.cathedral-mode header>a img{width:75px!important}.cathedral-mode header nav{gap:5px}.cathedral-mode header nav>a,.cathedral-mode header nav>button{font-size:12px!important;padding:2px 6px!important}.cathedral-mode header .language-picker select{font-size:13px;max-width:110px;padding:8px}.cathedral-mode #results .result-actions{margin:-20px auto 0!important;width:84%;gap:7px}.cathedral-mode #results .result-actions button{font-size:14px!important;padding:3px 8px!important;flex:1}.cathedral-mode #results .result-row{padding:13px 10px}.cathedral-mode #results .season-submit h2{font-size:23px}.cathedral-mode #results .season-submit p,.cathedral-mode #results .certificate-section p{font-size:14px}.cathedral-mode #results .certificate-controls button{width:100%;font-size:14px}.cathedral-mode #results .certificate-controls{gap:15px}.cathedral-mode #results #resultIntegrity{font-size:12px}.eligibility-status strong{font-size:16px}.cathedral-mode .hall-host-slot,.cathedral-mode #results>.host-slot{height:62px!important;width:90vw}.cathedral-mode .hall-host-slot .avatar,.cathedral-mode #results>.host-slot .avatar{width:30px!important}.cathedral-mode .hall-host-slot .speech,.cathedral-mode #results>.host-slot .speech{font-size:12px!important}.medal-picks{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.cathedral-wall{will-change:auto}.eligibility-track span{transition:none}}

.monument-banner-logo{position:absolute;top:6cqw;width:6.2%;height:auto;z-index:1;pointer-events:none}.monument-banner-logo.left{left:6.8%}.monument-banner-logo.right{right:6.8%}
.cathedral-brands{position:absolute;left:50%;width:max(100vw,900px);height:max(150vw,1350px);top:calc(var(--storey) * max(150vw,1350px));transform:translateX(-50%)}.cathedral-brands img{position:absolute;width:7%;height:auto;opacity:.85}.cathedral-brands .left-upper{left:9%;top:26%}.cathedral-brands .right-upper{right:9%;top:26%}.cathedral-brands .left-lower{left:9%;top:76%}.cathedral-brands .right-lower{right:9%;top:76%}@media(max-width:700px){.cathedral-brands{width:640px;height:960px;top:calc(var(--storey) * 960px)}}

.empty-ledger .ledger-tools,.empty-ledger .ledger-direction,.empty-ledger .stone-load-zone{display:none}.empty-ledger .empty-stone{min-height:110px;padding:27px 4px}.empty-ledger .monument-shaft{min-height:200px}
/* Foreground contrast and the living crest. */
.cathedral-wall{filter:brightness(.43) saturate(.72)}
.monument-art,.monument-foot{filter:brightness(.78)}
.monument-shaft{background-image:linear-gradient(#08070b42,#08070b42),url('assets/cathedral/course.webp')}
.monument-shaft:before{filter:brightness(.78)}
.monument-crown{margin-bottom:76px;background:none}
.monument-crown:after{content:'';position:absolute;left:46.1%;top:21%;width:8.2%;height:44%;border-radius:45%;background:#13080c;z-index:1;pointer-events:none}
.cathedral-mode .crown-host{position:static!important;width:auto!important;height:auto!important;margin:0!important;overflow:visible!important}
.cathedral-mode .crown-host .host{display:contents!important}
.cathedral-mode .crown-host .avatar{position:absolute!important;left:46.2%!important;top:22%!important;width:7.9%!important;height:auto!important;aspect-ratio:310/470;z-index:3;transform:none;min-height:0!important}
.cathedral-mode .crown-host .speech{position:absolute!important;top:100%!important;left:18%!important;width:64%!important;max-width:none!important;min-height:0!important;margin:8px 0 0!important;padding:9px 12px!important;box-sizing:border-box;font:700 14px/1.35 Georgia!important;z-index:4;overflow-wrap:anywhere}
.cathedral-mode #results .result-actions{width:100%!important;max-width:none;margin:26px 0 0!important;padding:0 0 12px!important;gap:12px;flex-wrap:wrap}
.cathedral-mode #results .result-actions button{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
.cathedral-mode #results .result-row{padding:24px 30px;min-width:0;gap:10px}
.cathedral-mode #results .result-row>*{min-width:0;overflow-wrap:anywhere}
.stone-content{overflow-wrap:anywhere}.entry-player{flex-wrap:wrap}.entry-date{grid-column:2/4;font:13px/1.4 Georgia;color:#cfbaa4}.entry-place{grid-row:1/4}
.stone-entry[hidden]{display:none}.stone-entry{padding:30px 30px}.entry-time{align-self:start}
@media(max-width:700px){
 .monument-crown{margin-bottom:92px}.cathedral-mode .crown-host .speech{left:17%!important;width:66%!important;font-size:12px!important;padding:7px!important}
 .stone-content{margin:0 17%}.stone-entry{grid-template-columns:25px minmax(0,1fr);padding:30px 15px;gap:5px 7px}.entry-player{grid-column:2}.entry-time{grid-column:2;grid-row:2;font-size:20px}.entry-badges,.entry-date{grid-column:2}.entry-place{grid-row:1/5;font-size:16px}.entry-player strong{font-size:16px}.entry-player small{font-size:12px}
 .cathedral-mode #results .result-row{display:flex;flex-direction:column;padding:23px 18px;gap:8px;align-items:stretch}.cathedral-mode #results .result-row>div:last-child{text-align:left!important}.cathedral-mode #results .result-row h3{font-size:18px}.cathedral-mode #results .result-actions{margin-top:20px!important}.cathedral-mode #results .result-actions button{flex-basis:100%}
}
.monument-crown:after{display:none}.monument-crown:before{content:'';position:absolute;top:100%;left:0;right:0;height:76px;background:linear-gradient(#08070b42,#08070b42),url('assets/cathedral/course.webp') center top/100% auto repeat-y;pointer-events:none}
.cathedral-mode .crown-host .host{position:static!important;transform:none!important;filter:none!important;animation:none!important}
.cathedral-mode .crown-host .avatar{background:#13080c;border-radius:45%;transform-style:flat;filter:none}
@media(max-width:700px){.monument-crown:before{height:92px}}

.stone-names{flex-direction:column}.stone-entry,.stone-entry.your-entry{background:none;border:14px solid transparent;border-image:url('assets/rpg-buttons/obsidian-idle.webp') 62 104 62 104 fill / 14px 22px / 0 stretch;padding:13px 16px;grid-template-columns:42px minmax(0,1fr) auto;gap:7px 10px;min-height:116px;isolation:isolate}
.stone-entry:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(100deg,var(--rank-tint),transparent 85%);opacity:.6}
.stone-entry[data-tier=iron]{--rank-tint:#383943;--rank-ink:#c3c6cf}.stone-entry[data-tier=bronze]{--rank-tint:#633718;--rank-ink:#d8a171}.stone-entry[data-tier=silver]{--rank-tint:#4c5768;--rank-ink:#dde3ed}.stone-entry[data-tier=gold]{--rank-tint:#6d4913;--rank-ink:#ffda86}.stone-entry[data-tier=platinum]{--rank-tint:#3d676d;--rank-ink:#c5ffff}
.stone-entry .entry-place,.stone-entry .entry-player small{color:var(--rank-ink)}.entry-place{grid-column:1;grid-row:1/4;align-self:center}.entry-player{grid-column:2;grid-row:1;display:block}.entry-player small{display:block;margin-top:5px}.entry-time{grid-column:3;grid-row:1;align-self:center}.entry-badges{grid-column:2/4;grid-row:2}.entry-date{grid-column:2/4;grid-row:3;justify-self:end}.entry-own{grid-column:2;grid-row:3;font:12px/1.4 system-ui;color:#e7c291}
.ledger-sort{display:flex;flex-direction:column;gap:4px;font-size:14px}.ledger-sort select{background:#110e17;color:#f1dbb9;padding:9px;border:1px solid #785d4b;font:inherit}.ledger-tools{flex-wrap:wrap}.ledger-search{flex-basis:180px}.ledger-sort{flex:1 1 145px}.ledger-direction{font-size:14px!important}
@media(max-width:700px){.stone-entry,.stone-entry.your-entry{grid-template-columns:minmax(0,1fr) auto;padding:12px 8px;border-width:11px;border-image-width:11px 15px;gap:9px 6px;min-height:142px}.entry-place{grid-column:1;grid-row:1;font-size:17px;align-self:start}.entry-date{grid-column:2;grid-row:1;font-size:12px;align-self:center}.entry-player{grid-column:1;grid-row:2}.entry-player strong{font-size:18px}.entry-player small{font-size:12px;line-height:1.3}.entry-time{grid-column:2;grid-row:2;font-size:23px;align-self:start}.entry-badges{grid-column:1/3;grid-row:3;gap:4px}.stone-entry .stone-medal{width:32px;height:32px}.entry-own{grid-column:1/3;grid-row:4;text-align:right}.stone-content{margin:0 14.5%}.ledger-sort{flex-basis:100%}.stone-names{gap:12px}}
/* The rebuilt crown has a vacant medallion; the real animated host lives in it. */
.monument-crown{aspect-ratio:1155/385}
.cathedral-mode .crown-host .avatar{left:46%!important;top:16%!important;width:8%!important;background:none!important;border-radius:0!important;filter:drop-shadow(0 0 7px #a9142677)!important}
.cathedral-mode .crown-host .host{display:contents!important}
.cathedral-mode .crown-host .speech{top:91%!important}
/* A carved, compact lore page keeps the selected emblem in sight. */
.medal-dialog{position:fixed;inset:0;margin:auto;width:min(740px,94vw);max-height:min(88svh,780px);padding:clamp(14px,2vw,24px);overflow:hidden;background:radial-gradient(circle at 50% 0,#67252777,transparent 36%),linear-gradient(#17121ce9,#0a0911f5),url('assets/cathedral/course.webp') center/cover;border:14px solid transparent;border-image:url('assets/rpg-buttons/obsidian-idle.webp') 62 104 62 104 fill / 14px 22px / 0 stretch;box-shadow:0 24px 80px #000d;display:none;flex-direction:column;gap:9px}
.medal-dialog[open]{display:flex}.medal-dialog h2{font:800 clamp(22px,3vw,35px)/1.05 Georgia;color:#ffe0ae;text-align:center;margin:2px 32px 1px}.medal-dialog .dialog-close{position:absolute;right:8px;top:5px;z-index:3}
.medal-spotlight{display:flex;align-items:center;gap:14px;min-height:105px;padding:10px 14px;background:linear-gradient(120deg,#3d2023e8,#120e17ed);border:2px solid #976c4b;box-shadow:inset 0 0 0 3px #0b0910,0 7px 20px #000a}
.medal-spotlight img{width:clamp(66px,12svh,94px);height:clamp(66px,12svh,94px);object-fit:contain;flex:none}.medal-selected-title{font:bold clamp(17px,2.2vw,23px)/1.1 Georgia;color:#ffd89b}.medal-detail{min-height:0;margin:5px 0 0;padding:0;background:none;font:15px/1.35 Georgia;color:#f4ddc0}
.medal-picks{overflow-y:auto;overscroll-behavior:contain;min-height:0;margin:0;padding:5px 3px 12px;grid-template-columns:repeat(auto-fit,minmax(105px,1fr));gap:8px}.medal-dialog .emblem-pick{min-height:94px;justify-content:center;background:linear-gradient(#2c2127ee,#120e17f5);border-color:#64473f}.medal-dialog .emblem-pick img{width:52px;height:52px}.medal-dialog .emblem-pick.secret-earned{box-shadow:0 0 12px #eb463766}
@media(max-width:600px){.medal-dialog{max-height:88svh}.medal-picks{grid-template-columns:repeat(3,minmax(0,1fr))}.medal-dialog .emblem-pick{font-size:11px;min-height:82px}.medal-dialog .emblem-pick img{width:42px;height:42px}}
/* The final diploma previously inherited a rule that hid every host slot. */
