*{box-sizing:border-box}html{scroll-behavior:smooth;color-scheme:dark}body{margin:0;background:#13070a;color:#f8eedd;font:16px/1.5 system-ui,sans-serif}.mast,main,footer{max-width:1500px;margin:auto}.mast{display:flex;align-items:end;gap:35px;padding:0 2%}.logo{width:clamp(200px,23vw,350px);height:auto}nav{display:flex;flex-wrap:wrap}a{color:inherit;text-decoration:none}nav a{font-weight:650;padding:10px 17px}a:hover,button:hover{color:#ffe092}main{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px;padding:18px 14px}.column{display:grid;gap:12px;align-content:start}section{min-width:0;scroll-margin:10px}h1,h2,h3{font-family:Georgia,serif;color:#ffd78f;line-height:1.15;margin:0}h1,h2{display:flex;align-items:center;gap:12px;font-size:clamp(24px,2.4vw,38px);padding:8px 0 14px;border-bottom:1px solid #795536}h1 img,h2 img{width:40px;height:38px;object-fit:contain}#tabs{display:flex;gap:4px;margin:12px 0}button{font:inherit;color:inherit;cursor:pointer}.tab{flex:1;font-weight:700}.scroll{overflow:auto;max-height:480px}table{border-collapse:collapse;width:100%;font-size:clamp(14px,1.15vw,18px)}th,td{text-align:left;padding:10px 7px;white-space:nowrap}th{color:#ebd6ad;font-size:.88em;background:#32191a}tbody td{border-bottom:1px solid #624337}tr.selected{background-color:#781320}.person{border:0;background:transparent;padding:4px 0;font-weight:650;text-align:left}.small{width:26px;height:26px;object-fit:contain;vertical-align:middle;margin-right:8px}.meta,footer{font-size:.88rem;color:#d6c3a5}footer{padding:0 22px 20px}.identity{text-align:center;padding:18px 6px}.identity h3{font-size:32px}.kit{display:grid;grid-template-columns:minmax(64px,1fr) minmax(70px,3.7fr) minmax(64px,1fr);align-items:center;gap:4px}.portrait{width:100%;max-height:525px;object-fit:contain}.slots{display:grid;gap:14px;align-content:center}.slot{margin:0;text-align:center;font-size:13px}.slot img{display:block;width:min(100%,84px);height:auto;margin:auto}.note{text-align:center;color:#cebfae}.item{color:#ffda8f}button:focus-visible,a:focus-visible{outline:2px solid #ffdb91} @media(max-width:850px){main{grid-template-columns:1fr}.mast{align-items:center;flex-direction:column;gap:0}.mast nav{justify-content:center}.logo{width:210px}nav a{padding:8px;font-size:14px}.kit{max-width:560px;margin:auto}.scroll{max-height:380px}}@media(max-width:480px){main{padding:9px 5px}th,td{padding:8px 4px}.small{width:18px;height:18px;margin-right:3px}.slot{font-size:12px}.tab{font-size:14px}}
.tab{text-align:center}.person{display:inline-flex;align-items:center;min-height:42px}.kit .portrait{width:100%;height:auto}
@media(max-width:850px){main{display:flex;flex-direction:column}.column{display:contents}#ranking{order:1}#gear{order:2}#loot{order:3}}

/* Member lookup, equipment slots and live status */
body {
    min-height:100vh;
    background-color:#170d10;
    background-image:radial-gradient(ellipse 95% 50rem at 48% 0%,#3c2021 0%,transparent 85%);
}
header{border-bottom:1px solid #89633e}
.mast{min-height:100px;gap:clamp(12px,3vw,48px)}.mast>a{line-height:0}
.mast nav .current {
    color:#ffdc9d;
    box-shadow:inset 0 -2px #d19c52;
}
.mast nav a:hover{background-color:#c0985b16}
main{max-width:1460px;align-items:start}.column{min-width:0}

.scroll{scrollbar-width:thin;scrollbar-color:#805637 #210e10}#ranking .scroll{max-height:247px}#loot .scroll{max-height:260px}
th{position:sticky;top:0;z-index:1}.score{font-weight:800;font-variant-numeric:tabular-nums}
.badge{width:34px;height:34px;object-fit:contain}.person{gap:8px}.date{display:block;font-size:.7em;color:#c2ab92}
.notice{margin:12px auto 0;max-width:1420px;background:#3d2420;color:#ffe0a6;text-align:center;padding:10px 16px}
.meta,.note,.muted{color:#d8bf9e}.meta{margin:8px 0 10px}.note{font-size:12px;line-height:1.45}
.lookup{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 0;color:#ead4b0;font-size:14px}
.lookup>div{display:flex;max-width:70%}.lookup input{width:155px;min-width:0;background:#170a0b;color:#fff1dc;border:1px solid #8d633d;padding:8px;font:inherit;border-radius:3px 0 0 3px}
.lookup button{white-space:nowrap;background:#66111c;border:1px solid #a57f48;padding:7px 13px;color:#ffe4b0;border-radius:0 3px 3px 0}
.lookup input:focus-visible{outline:2px solid #ffdb91;outline-offset:2px}
#gear {
    background:radial-gradient(ellipse at 50% 54%,#79545a29,transparent 66%),#0c070a33;
}
.identity{padding:14px 0}.identity h3{text-shadow:0 2px 9px #090203}
.kit{grid-template-columns:minmax(72px,1fr) minmax(88px,2.9fr) minmax(72px,1fr);position:relative;align-items:center}
.portrait-area{display:grid;place-items:center;min-width:0}.kit .portrait{max-height:420px;filter:drop-shadow(0 8px 15px #110507)}
.slots{gap:9px}.slot{min-width:0}.tile{margin:auto;width:clamp(39px,5.4vw,70px);aspect-ratio:1;display:grid;place-items:center;color:#9c784a;font:27px Georgia;background:radial-gradient(#312027,#11080b);border:1px solid #96743f;border-radius:6px;box-shadow:inset 0 0 0 2px #251618}
.tile img{width:100%;height:100%;object-fit:contain;border-radius:5px}.empty .tile{opacity:.5}.slot small,.slot strong{display:block;line-height:1.22}.slot small{color:#c4a179;margin:4px 0 2px}.slot strong{overflow-wrap:anywhere;font-size:12px}.empty strong{font-weight:400;color:#b7a596}
.accessories{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;padding:14px 0 0}.accessories .slot{width:76px}.accessories .tile{width:32px}
.empty-profile{min-height:270px;display:grid;justify-items:center;align-content:center;color:#cab69f;gap:12px}.empty-profile img{width:62px}
@media(max-width:850px){.mast{gap:0}#ranking .scroll{max-height:260px}.portrait-area .portrait{max-height:350px}.tile{width:52px}}
@media(max-width:480px){.mast nav a{font-size:12px;padding:7px 6px}.mast .logo{width:170px}.badge{width:22px;height:22px}.person{gap:4px}.lookup{font-size:13px}.kit{grid-template-columns:minmax(62px,1fr) minmax(70px,2.3fr) minmax(62px,1fr)}.slots{gap:6px}.tile{width:43px}#gear .portrait{max-height:288px}.meta{font-size:12px}.slot strong{font-size:11px}.score{padding-right:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media(max-width:850px){main{align-items:stretch}.mast nav{width:100%}}
@media(max-width:480px){.mast nav{flex-wrap:nowrap;overflow-x:auto;justify-content:safe center}.mast nav a{white-space:nowrap}}

.gear-model{display:block;width:100%;height:clamp(280px,33vw,446px);touch-action:pan-y;cursor:grab;outline-offset:2px}.gear-model:active{cursor:grabbing}.gear-model[hidden]{display:none}.portrait-area{width:100%;grid-template-columns:minmax(0,1fr)}.portrait-area small{color:#ccb79d;font-size:11px;text-align:center}.tile img{object-fit:contain}
@media(max-width:480px){.gear-model{height:282px}}
.tile{position:relative;overflow:hidden}.tile .pc-sheet{display:block;position:absolute;max-width:none;width:1600%;height:400%;border-radius:0;object-fit:fill}
.tile .pc-level-0{left:0%}
.tile .pc-level-1{left:-100%}
.tile .pc-level-2{left:-200%}
.tile .pc-level-3{left:-300%}
.tile .pc-level-4{left:-400%}
.tile .pc-level-5{left:-500%}
.tile .pc-level-6{left:-600%}
.tile .pc-level-7{left:-700%}
.tile .pc-level-8{left:-800%}
.tile .pc-level-9{left:-900%}
.tile .pc-level-10{left:-1000%}
.tile .pc-level-11{left:-1100%}
.tile .pc-level-12{left:-1200%}
.tile .pc-level-13{left:-1300%}
.tile .pc-level-14{left:-1400%}
.tile .pc-level-15{left:-1500%}
.tile .pc-look-0{top:0%}
.tile .pc-look-1{top:-100%}
.tile .pc-look-2{top:-200%}
.tile .pc-look-3{top:-300%}

/* Native panel borders and navigation scale with text size and section height. */
main section {
    position:relative;
    padding:clamp(12px,1.35vw,21px);
    background-color:#0c070a33;
    border:1px solid #8b6840;
    border-radius:6px;
    box-shadow:inset 0 1px #e0bd7b12;
}
main section::before {
    content:"";
    position:absolute;
    inset:4px;
    pointer-events:none;
    border:1px solid #654a30;
    border-radius:3px;
}
/* The supplied logo and heading artwork have dark pixels baked into their edges. */
.logo,h1 img,h2 img,.empty-profile img { filter:url(#bxh-gold-cutout) }
/* PC icons use RGB 7,7,7 as their matte. Map it to black before blending. */
#loot .pickup-item img,.tile img {
    filter:contrast(1.08);
    mix-blend-mode:screen;
}
.art-filters { position:absolute;width:0;height:0;overflow:hidden;pointer-events:none }
#tabs .tab {
    display:grid;place-items:center;min-height:34px;padding:5px 10px;
    border:1px solid #70523e;border-radius:4px;
    background:linear-gradient(#402528,#29171c);color:#e9dbca;
}
#tabs .tab:hover,#tabs .tab:focus-visible {border-color:#d2ae71;color:#fff2cd}
#tabs .tab[aria-current=page] {
    border-color:#c59b5c;background:linear-gradient(#8d2030,#641421);
    color:#ffedbc;box-shadow:inset 0 -2px #c99d5a;
}
.rank-number {display:inline-grid;min-width:2.3em;place-items:center;font-variant-numeric:tabular-nums}
.rank-number.podium {
    padding:.12em .35em;border-radius:3px;border:1px solid currentColor;
    font-weight:700;font-variant-numeric:tabular-nums;
}
.rank-1{color:#f6cf80;background:#49301b}
.rank-2{color:#d7dee6;background:#303038}
.rank-3{color:#dfac86;background:#39251e}
@media(max-width:480px){main section{padding:10px}#tabs .tab{padding-inline:6px}}

#tabs{flex-wrap:wrap}

main.classic097 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: 1000px;
    align-items: stretch;
}
.classic097 .kit {max-width: 640px; margin-inline: auto}
