/* the title's Leaderboard screen (board.js renderBoard, #board): the character on the left as the record in focus wore him (the showcase, customize.js lookCam), and on the right a panel: the list (a tab per difficulty, a row per record) or one record's run in full; Back under either (index.html links the css/ files in cascade order: a later file wins a tie) */
#board{display:none}
#title.board>.col,#title.board #hallBoard{display:none}
#title.board{background:linear-gradient(90deg,rgba(0,0,0,0) 30%,rgba(4,5,3,.55) 56%,rgba(4,5,3,.8))}
#title.board #board{display:block;position:relative;width:1700px;height:calc(920px - var(--short));flex-shrink:0;font-family:var(--ui-body);color:#d8d2c0}
.lbSet{position:absolute;right:0;top:0;width:900px;zoom:calc(1 + var(--up1080) * .1)}
.lbSet .pgT0{margin-top:calc((var(--pageTop) - 80px) / (1 + var(--up1080) * .1));margin-bottom:calc(16px - var(--short) / 20);text-align:center} /* (the page title at --pageTop, as every title page's: its box starts 80px down, and the set is zoomed at 1080) */
/* the difficulty tabs: Customize's strip */
.lbTabs{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:12px;font-family:var(--ui-head);font-size:21px;letter-spacing:.02em;white-space:nowrap}
.lbTabs .tb{margin:0 8px;padding:4px 6px 6px;border-bottom:2px solid transparent;color:#8a8670;cursor:pointer}
.lbTabs .tb:hover{color:#b9b29a}
.lbTabs .tb.on{color:#ddd5c3;border-bottom-color:#ddd5c3}
.lbTabs .keyOn{position:static;transform:none}
/* the list: the panel over the scene, a row per record */
.lbCap,.lbRow{display:grid;grid-template-columns:44px 58px 36px 96px 1fr 110px 130px;align-items:center}
.lbCap{padding:0 14px 6px;font-family:var(--ui-head);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#b8ac9a}
.lbCap .en{grid-column:5}.lbCap .tm,.lbRow .tm{text-align:right}.lbCap .dt,.lbRow .dt{text-align:right}
.lbRows{max-height:calc(520px - var(--short) * .55);overflow:hidden;background:var(--ui-panel);border:1px solid var(--ui-panel-line)}
.lbRow{height:52px;padding:0 14px;font-size:18px;color:#cdc3b4;cursor:pointer;border:1px solid transparent;box-sizing:border-box}
.lbRow.split{border-top-color:rgba(207,199,173,.22)}
.lbRow .rk{font-size:16px;color:#b8ac9a;font-variant-numeric:tabular-nums}
.lbRow:first-child .rk{color:#fac95f}
.lbRow .pic{line-height:0}
.lbRow .pic img,.lbRow .pic:empty::before,.lbWho .pic img,.lbWho .pic:empty::before{display:block;width:44px;height:44px;object-fit:cover;border:1px solid rgba(207,199,173,.1);box-sizing:border-box;background:#15171a}
.lbRow .pic:empty::before,.lbWho .pic:empty::before{content:''}
.lbSet .won{color:#f4d452;font-size:20px}.lbSet .lost{color:#cd7c65;font-size:24px}
.lbRow .nm{font-family:var(--ui-head);font-size:21px;font-weight:600;letter-spacing:.02em;color:#fcf4d4}
.lbRow.me .nm{color:#f8de98}
.lbRow.me .rk{box-shadow:inset 3px 0 0 #7a580e;padding-left:8px;margin-left:-8px}
.lbRow .en{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lbRow .tm{font-variant-numeric:tabular-nums;color:#f7ebc9}
.lbRow .dt{font-size:15px;color:#a89f8c}
.lbRow.sel{background:var(--ui-sel-bg);color:var(--ui-sel-fg)}
.lbRow.sel .nm,.lbRow.sel .dt,.lbRow.sel .rk{color:var(--ui-sel-fg)}
.lbNote{padding:60px 0;text-align:center;font-size:19px;font-style:italic;color:#cdc3b4;background:var(--ui-panel);border:1px solid var(--ui-panel-line)}
.lbActs{width:320px;margin:calc(20px - var(--short) / 20) auto 0}
/* a record's run: who, how it ended, its times, what it did, what it was built of */
.lbWho{display:flex;align-items:center;justify-content:center;gap:16px;font-family:var(--ui-head)}
.lbWho .rk{font-size:22px;color:#b8ac9a}.lbWho .rk::before{content:'#'}
.lbWho .pic img,.lbWho .pic:empty::before{width:56px;height:56px}
.lbWho .nm{font-size:44px;font-weight:600;letter-spacing:.04em;color:#fcf4d4;text-shadow:0 1px 3px rgba(0,0,0,.85)}
.lbWho .ar{padding:0 14px;font-size:40px;line-height:1;color:#ddd5c3;cursor:pointer}.lbWho .ar.dim{color:#4f4d42;cursor:default}
.lbEnd{margin-top:2px;text-align:center;font-family:var(--ui-head);font-size:22px;letter-spacing:.02em;color:#cfc7ad}.lbEnd.o-died{color:#d88a80}
.lbTiles{display:flex;justify-content:center;gap:64px;margin-top:calc(14px - var(--short) / 30)}
.lbS{display:flex;flex-direction:column;align-items:center}
.lbS b{font-family:var(--ui-head);font-weight:400;font-size:28px;color:#e6e2d8}
.lbS span,.lbSh{font-family:var(--ui-head);font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:#b8ac9a}
.lbCols{display:flex;gap:18px;margin-top:calc(16px - var(--short) / 30);align-items:flex-start}
.lbStats,.lbBuild{box-sizing:border-box;padding:10px 18px;background:var(--ui-panel);border:1px solid var(--ui-panel-line)}
.lbStats{width:380px;flex-shrink:0}
.lbStats div{display:flex;justify-content:space-between;align-items:baseline;height:calc(29px - var(--short) / 60);font-size:17px;color:#cdc3b4}
.lbStats b{font-family:var(--ui-head);font-weight:500;font-size:20px;font-variant-numeric:tabular-nums;color:#f7ebc9}
.lbBuild{flex:1;min-height:100%}
.lbSec+.lbSec{margin-top:calc(12px - var(--short) / 45)}
.lbChips{display:flex;flex-wrap:wrap;gap:3px 16px;margin-top:3px;font-size:16px;line-height:1.35;color:#e6e2d8}
.lbChips .bi{width:16px;height:16px;vertical-align:-3px}
.lbChips .sp{color:#c9bcff}.lbChips .t-uncommon{color:#82d2b9}.lbChips .t-rare{color:#c8a0ff}.lbChips .t-trophy{color:#e6c46a}
