/* ---------- Leaderboard ---------- */
#menu .space-y-4 > * + *{margin-top:12px}
#menu .space-y-4 > button{padding-top:13px;padding-bottom:13px}

#hof{z-index:600;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 40%,rgba(60,38,10,.6),rgba(0,0,0,.92));animation:hofIn .35s ease both}
#hof.closing{animation:hofOut .25s ease both}
@keyframes hofIn{from{opacity:0}}
@keyframes hofOut{to{opacity:0}}
.hof-card{position:relative;width:480px;max-width:calc(100% - 24px);max-height:calc(100% - 24px);overflow-y:auto;padding:26px 36px 22px;text-align:center;border:1px solid #b8975788;border-radius:6px;
  background:linear-gradient(160deg,rgba(38,25,14,.98),rgba(14,9,5,.98));box-shadow:0 30px 80px #000,0 0 50px rgba(255,200,90,.15),inset 0 0 40px rgba(200,150,60,.08);animation:hofRise .5s cubic-bezier(.2,1.4,.4,1) both}
.hof-card:before,.hof-card:after{content:'';position:absolute;left:14px;right:14px;height:1px;background:linear-gradient(90deg,transparent,#e8c87a,transparent)}
.hof-card:before{top:8px}.hof-card:after{bottom:8px}
@keyframes hofRise{from{transform:translateY(30px) scale(.94);opacity:0}}
.hof-crest{display:block;width:46px;height:46px;margin:0 auto 6px;color:#e8c87a;filter:drop-shadow(0 0 10px rgba(255,200,90,.45))}
.hof-card h2{font:32px 'Cinzel',Georgia,serif;margin:6px 0 2px;background:linear-gradient(90deg,#c9a24a,#fff1c8,#c9a24a);-webkit-background-clip:text;background-clip:text;color:transparent}
.hof-sub{font:italic 14px/1.4 Georgia,serif;color:#b9a47a;margin-top:2px}
.hof-body{margin-top:16px;min-height:120px;display:flex;flex-direction:column;justify-content:center}
.hof-note{font:italic 15px/1.5 Georgia,serif;color:#d9c7a0;padding:20px 10px}
.hof-retry,.hof-link{align-self:center;margin-top:4px;padding:6px 18px;border:1px solid #b8975799;border-radius:4px;color:#f4d99a;font:13px 'Cinzel',Georgia,serif;letter-spacing:1px;transition:all .25s}
.hof-retry:hover,.hof-link:hover{border-color:#f0cf7a;box-shadow:0 0 16px rgba(255,200,90,.3)}

.hof-list{list-style:none;margin:0;padding:0;text-align:left}
.hof-list li{display:flex;align-items:center;gap:12px;padding:6px 10px;border-bottom:1px solid #c3a5651f;opacity:0;animation:hofRow .4s ease forwards}
.hof-list li:last-child{border-bottom:0}
.hof-list li:nth-child(1){animation-delay:.15s}.hof-list li:nth-child(2){animation-delay:.2s}.hof-list li:nth-child(3){animation-delay:.25s}
.hof-list li:nth-child(4){animation-delay:.3s}.hof-list li:nth-child(5){animation-delay:.35s}.hof-list li:nth-child(6){animation-delay:.4s}
.hof-list li:nth-child(7){animation-delay:.45s}.hof-list li:nth-child(8){animation-delay:.5s}.hof-list li:nth-child(9){animation-delay:.55s}.hof-list li:nth-child(10){animation-delay:.6s}
@keyframes hofRow{from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:none}}
.hof-rank{flex:none;width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;font:12px 'Cinzel',Georgia,serif;color:#d6b67c;border:1px solid #8b735566;background:radial-gradient(circle at 35% 30%,#3d2817,#1a0f08)}
.hof-name{font:17px Georgia,serif;color:#f1ddb0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hof-dots{flex:1;min-width:16px;border-bottom:1px dotted #c3a56555;transform:translateY(5px)}
.hof-time{font:17px Georgia,serif;color:#ffe3a3;font-variant-numeric:tabular-nums}
.hof-list .r1 .hof-rank{color:#3a2400;border-color:#fff1b8;background:radial-gradient(circle at 35% 30%,#fff3c4,#e2b23c 55%,#8a6110);box-shadow:0 0 14px rgba(255,210,90,.55)}
.hof-list .r2 .hof-rank{color:#262626;border-color:#f4f4f4;background:radial-gradient(circle at 35% 30%,#fff,#c4c8cc 55%,#6c7176)}
.hof-list .r3 .hof-rank{color:#2a1305;border-color:#f3c39a;background:radial-gradient(circle at 35% 30%,#ffd2a8,#c27b3e 55%,#6a3b14)}
.hof-list .r1 .hof-name,.hof-list .r1 .hof-time{color:#ffe08a;font-size:19px}
.hof-list li.me{background:linear-gradient(90deg,rgba(255,200,90,.16),rgba(255,200,90,.04));border-radius:4px;box-shadow:inset 2px 0 0 #f0cf7a}

/* inscribing a finished journey, inside the ultimate victory card */
#level-complete.ultimate .lc-card{padding:22px 36px 20px}
#level-complete.ultimate .lc-art,#level-complete.ultimate .lc-art canvas{width:130px;height:130px}
#level-complete.ultimate .lc-art{margin:6px auto 0}
#level-complete.ultimate .lc-stats{margin-top:10px;padding:8px 0}
#level-complete.ultimate .lc-actions{margin-top:14px}
.lc-hof{margin-top:12px;display:flex;flex-direction:column;align-items:center}
.hof-form label{display:block;font:11px 'Cinzel',Georgia,serif;letter-spacing:2px;color:#e8c87a;margin-bottom:7px}
.hof-row{display:flex;gap:8px;justify-content:center}
.hof-row input{width:220px;padding:9px 14px;border:1px solid #8b7355;border-radius:4px;background:rgba(10,6,3,.85);color:#ffe6b0;font:16px Georgia,serif;outline:none;transition:border-color .2s,box-shadow .2s}
.hof-row input::placeholder{color:#8b7a5c;font-style:italic}
.hof-row input:focus{border-color:#f0cf7a;box-shadow:0 0 14px rgba(255,200,90,.3)}
.hof-row button{padding:9px 20px;border:1px solid #f0cf7a;border-radius:4px;background:linear-gradient(135deg,#a07a2e,#6d4d17);color:#fff5d8;font:14px 'Cinzel',Georgia,serif;letter-spacing:1px;transition:box-shadow .25s,opacity .2s}
.hof-row button:hover{box-shadow:0 0 18px rgba(255,200,90,.4)}
.hof-row :disabled{opacity:.55;cursor:progress}
.hof-error{min-height:18px;margin-top:4px!important;font:italic 13px Georgia,serif!important;color:#ff9a7a!important}
.hof-result{font:italic 16px/1.5 Georgia,serif!important;color:#f1ddb0!important;margin:0 0 6px!important}
.hof-result strong{font-style:normal;color:#ffe08a}
.portrait .hof-row input{width:180px}
