@font-face { font-family: Barlow; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Barlow; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url(../fonts/barlow-condensed-latin-800-normal.woff2) format('woff2'); }

:root {
  --bg: #ffffff;
  --ink: #14161a;
  --muted: #5a606b;
  --faint: #8a909b;
  --seam: #d9dde3;
  --edge: #c3c8d0;
  --steel-hi: #f8f9fb;
  --steel-lo: #eef0f3;
  --red: #d42a20;
  --sans: Barlow, 'Helvetica Neue', Arial, sans-serif;
  --cond: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --h: 255;
  --c: 0.12;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 16px/1.45 var(--sans); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; width: 100%; }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 25px/1 var(--cond); letter-spacing: .035em; text-transform: uppercase; white-space: nowrap; }
.door { flex: none; }
.top.is-center .top-in { justify-content: center; height: auto; padding-top: 38px; padding-bottom: 34px; }
.brand-h { font: inherit; }
.brand-h .brand { font-size: 42px; gap: 15px; letter-spacing: .03em; }
.back { font: 700 17px/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.back:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }

.sorts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: -10px 0 22px; }
.sort { font: 700 16px/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #fff; border: 1px solid var(--seam); border-bottom: 2px solid var(--edge); border-radius: 8px; padding: 10px 14px 9px; white-space: nowrap; }
.sort:hover { color: var(--ink); border-color: var(--edge); }
.sort.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.bank { --open: clamp(340px, 45vh, 400px); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--seam); border: 1px solid var(--seam); border-bottom: 4px solid var(--edge); border-radius: 18px; overflow: hidden; box-shadow: 0 26px 40px -30px rgba(20, 22, 26, .3); }
.bay { background: linear-gradient(180deg, var(--steel-hi), var(--steel-lo)); }
.bay-box { display: block; padding: 0 12px 12px; }
.bay.is-spare { display: none; }
.bay-top { display: flex; align-items: center; height: 42px; position: relative; }
.plate { font: 700 14px/1 var(--cond); letter-spacing: .06em; color: var(--muted); background: #fff; border: 1px solid var(--seam); border-bottom-color: var(--edge); border-radius: 4px; padding: 4px 7px 3px; font-variant-numeric: tabular-nums; }
.bay-note { margin-left: auto; font: 700 15px/1 var(--cond); letter-spacing: .03em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vents { position: absolute; left: 50%; top: 50%; width: 46px; height: 17px; transform: translate(-50%, -50%); background: repeating-linear-gradient(180deg, #c6cbd3 0 3px, transparent 3px 7px); }
.bay-open { display: block; position: relative; height: var(--open); border-radius: 10px; background: linear-gradient(180deg, oklch(0.86 calc(0.075 * var(--c)) var(--h)) 0%, oklch(0.925 calc(0.05 * var(--c)) var(--h)) 34%, oklch(0.95 calc(0.035 * var(--c)) var(--h)) 100%); box-shadow: inset 0 0 0 1px rgba(20, 22, 26, .09), inset 0 18px 18px -15px rgba(20, 22, 26, .4); }
.bay-open::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .2)); border-top: 1px solid rgba(20, 22, 26, .07); }
.bay-open::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: 10px; background: rgba(255, 255, 255, .28); box-shadow: inset 0 0 0 3px var(--ink); opacity: 0; transition: opacity .14s; pointer-events: none; }
.bay-open .skin { position: absolute; z-index: 3; left: 50%; bottom: 14px; height: 84%; width: auto; max-width: none; transform: translateX(-50%); transform-origin: 50% 100%; transition: transform .18s cubic-bezier(.2, .8, .3, 1); }
.bay-name { display: block; margin-top: 10px; height: 46px; background: #fff; border: 1px solid var(--seam); border-bottom: 2px solid var(--edge); border-radius: 8px; font: 800 25px/43px var(--cond); letter-spacing: .01em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; transition: background-color .16s, color .16s, border-color .16s; }
.bay-link:hover .bay-open::after, .bay-link:focus-visible .bay-open::after { opacity: 1; }
.bay-link .bay-open { container-type: size; }
.bay-link .bay-open .skin { height: min(84cqh, 150cqw); }
.bay-open .skin.is-hover { opacity: 0; }
.bay-link:hover .has-hover .skin, .bay-link:focus-visible .has-hover .skin { opacity: 0; }
.bay-link:hover .has-hover .skin.is-hover, .bay-link:focus-visible .has-hover .skin.is-hover { opacity: 1; }
.bay-link:hover .skin, .bay-link:focus-visible .skin { transform: translateX(-50%) translateY(-5px) scale(1.05); }
.bay-link:hover .bay-name, .bay-link:focus-visible .bay-name { background: var(--ink); border-color: var(--ink); color: #fff; }
.bay-link:focus-visible { outline-offset: -4px; }

.bay.is-off .bay-open { --c: 0.1; }
.bay.is-off .skin { filter: grayscale(1) opacity(.45); }
.off-tag { position: absolute; z-index: 4; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; background: #fff; border: 1px solid var(--seam); border-bottom: 2px solid var(--edge); border-radius: 6px; padding: 7px 11px 5px; font: 700 15px/1 var(--cond); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.off-lock { flex: none; margin-top: -2px; }
.off-tag.is-sold { color: var(--red); }
.bay.is-off .bay-name { color: var(--faint); }
.bay.is-off .bay-note { color: var(--faint); }
.bay.is-off .bay-link:hover .bay-name, .bay.is-off .bay-link:focus-visible .bay-name { background: var(--muted); border-color: var(--muted); color: #fff; }
.bay.is-off .bay-open::after { box-shadow: inset 0 0 0 3px var(--muted); }

.bay-door { display: block; position: relative; height: var(--open); border-radius: 10px; background: linear-gradient(180deg, #f6f7f9, #e8ebef); box-shadow: inset 0 0 0 1px #d0d5dc, inset 0 2px 0 #fff, inset 0 -4px 0 rgba(20, 22, 26, .06); }
.bay-door::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(#bfc5cd, #bfc5cd) 0 15% / 5px 28px no-repeat, linear-gradient(#bfc5cd, #bfc5cd) 0 85% / 5px 28px no-repeat; }
.door-vents { position: absolute; left: 24%; right: 24%; height: 59px; background: repeating-linear-gradient(180deg, #c3c8d0 0 4px, #fbfcfd 4px 5px, transparent 5px 11px); }
.door-vents.is-top { top: 8%; }
.door-vents.is-low { bottom: 8%; }
.door-latch { position: absolute; right: 13px; top: 50%; width: 24px; height: 66px; margin-top: -33px; border-radius: 6px; background: linear-gradient(180deg, #dde1e6, #eceef2); box-shadow: inset 0 0 0 1px var(--edge), inset 0 3px 4px rgba(20, 22, 26, .16); }
.door-latch::after { content: ''; position: absolute; left: 8px; top: 13px; width: 8px; height: 30px; border-radius: 3px; background: linear-gradient(90deg, #f9fafb, #b9bfc8); box-shadow: 0 0 0 1px #a8aeb8, 0 2px 2px rgba(20, 22, 26, .2); }
.padlock { position: absolute; right: 17px; top: calc(50% + 12px); filter: drop-shadow(0 2px 1px rgba(20, 22, 26, .18)); }
.bay.is-spare .bay-name { background: linear-gradient(180deg, #eceef2, #f4f5f8); border-color: #d0d5dc; border-bottom-color: #d0d5dc; box-shadow: inset 0 2px 3px rgba(20, 22, 26, .07); }
.bay.is-spare .plate { color: var(--faint); }
@media (min-width: 1000px) { .bay.is-spare.show-5 { display: block; } }

.bank.is-profile { margin-top: 6px; grid-template-columns: var(--grid); }
.bank.is-profile.is-lone { max-width: var(--span); margin-left: auto; margin-right: auto; }
.bank.is-profile .bay-box { display: flex; flex-direction: column; height: 100%; }
.bank.is-profile .bay-top { flex: none; gap: 9px; }
.bay-skin .bay-open { flex: 1 1 auto; height: auto; min-height: 400px; display: flex; flex-direction: column; }
.bay-skin .bay-open::before { display: none; }
.bay-skin .bay-name { flex: none; }
.skin-stage { position: relative; flex: 1 1 auto; min-height: 220px; }
.skin-stage::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 20%; background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .2)); border-top: 1px solid rgba(20, 22, 26, .07); }
.skin-stage .skin { height: 92%; bottom: 8px; }
.skin-stage.is-3d .skin { visibility: hidden; }
.skin-canvas { position: absolute; inset: 0; z-index: 3; width: 100% !important; height: 100% !important; border-radius: 10px 10px 0 0; cursor: grab; outline: none; }
.skin-canvas:active { cursor: grabbing; }
.rack { flex: none; position: relative; z-index: 4; margin: 0 7px 7px; background: #fff; border: 1px solid var(--seam); border-bottom: 2px solid var(--edge); border-radius: 8px; }
.rack-head { display: flex; align-items: baseline; gap: 6px; padding: 9px 9px 0; }
.rack-title { font: 800 16px/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; }
.rack-count { font: 700 15px/1 var(--cond); color: var(--faint); font-variant-numeric: tabular-nums; }
.rack-now { margin-left: auto; min-width: 0; font: 600 12.5px/1.2 var(--sans); color: var(--muted); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.capes { display: grid; grid-template-columns: repeat(6, minmax(0, 30px)); justify-content: space-between; align-content: start; gap: 6px 0; padding: 8px 9px 9px; max-height: 119px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--edge) transparent; }
.cape { display: block; padding: 0; border: 0; background: none; border-radius: 1px; cursor: pointer; outline: 2px solid transparent; outline-offset: 1px; transition: outline-color .1s; }
.cape img { width: 100%; height: auto; aspect-ratio: 10 / 16; image-rendering: pixelated; }
.cape:hover { outline-color: var(--edge); }
.cape.is-on { outline-color: var(--ink); }
.cape:focus-visible { outline-color: var(--red); }
.strip-logo { height: 24px; width: auto; }
.strip-title { font: 800 21px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; }
.sheet { flex: 1 1 auto; background: #fff; border: 1px solid var(--seam); border-bottom: 2px solid var(--edge); border-radius: 10px; padding: 13px 16px 14px; }
.sheet:has(> .rows) { padding-top: 2px; padding-bottom: 2px; }
.rows { display: grid; grid-auto-rows: minmax(40px, 1fr); height: 100%; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--seam); min-width: 0; }
.row:first-child { border-top: 0; }
.row dt { font: 500 14.5px/1.2 var(--sans); color: var(--muted); }
.row dd { font: 800 24px/1 var(--cond); letter-spacing: .005em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bay-buy .sheet { display: flex; flex-direction: column; padding: 14px 14px 14px; }
.lead { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid var(--seam); }
.lead-num { font: 800 54px/1 var(--cond); letter-spacing: .005em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lead-label { font: 500 14.5px/1.2 var(--sans); color: var(--muted); }
.lead.is-off .lead-num { color: var(--faint); }
.bay-buy .lead { container-type: inline-size; }
.bay-buy .lead-num { font-size: min(54px, calc(208cqw / var(--n, 6))); }
.rows.is-flat { height: auto; grid-auto-rows: minmax(38px, auto); }
.rows.is-flat .row dd { font-size: 20px; }
.bay-buy .row { padding: 8px 0; }
.bay-buy .row dd { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: normal; text-align: right; }
.cta-row { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 14px; }
.cta { display: block; width: 100%; font: 800 19px/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; text-align: center; color: #fff; background: var(--ink); border: 0; border-bottom: 3px solid #000; border-radius: 8px; padding: 14px 12px 11px; cursor: pointer; }
.cta:hover { background: #2a2d34; }
.cta[disabled], .cta[disabled]:hover { color: #fff; background: #c3c8d0; border-bottom-color: #aab0ba; cursor: not-allowed; }
.cta.is-alt[disabled], .cta.is-alt[disabled]:hover { color: var(--faint); background: var(--steel-lo); border-color: var(--seam); }
.cta-note { font: 600 14px/1.3 var(--sans); color: var(--muted); text-align: center; }
.cta.is-alt { color: var(--ink); background: #fff; border: 1px solid var(--seam); border-bottom: 2px solid var(--edge); padding: 13px 12px 11px; }
.cta.is-alt:hover { border-color: var(--edge); background: var(--steel-hi); }
.figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 12px; }
.fig { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 3px; min-width: 0; }
.fig dd { font: 800 24px/1 var(--cond); letter-spacing: .005em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.fig dt { font: 500 13.5px/1.2 var(--sans); color: var(--muted); }
.game { margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--seam); }
.game h3 { font: 800 16px/1 var(--cond); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
.rank-green { color: #1f9d3a; }
.rank-aqua { color: #0c9fb4; }
.rank-gold { color: #dc9200; }
.rank-red { color: #e23a3a; }
.figs.is-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 8px; }
.figs.is-row .fig dd { font-size: 20px; }
.figs.is-row .fig dt { font-size: 12px; }

.missing { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 90px; }
.missing h1 { font: 800 56px/1 var(--cond); text-transform: uppercase; }

.strip-head { margin: 28px 0 10px; font: 800 22px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; }
.bank.is-strip { grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; background: linear-gradient(180deg, var(--steel-hi), var(--steel-lo)); border-bottom-width: 3px; box-shadow: 0 18px 30px -26px rgba(20, 22, 26, .3); }
.bank.is-strip .bay { background: none; box-shadow: 1px 0 0 var(--seam), 0 1px 0 var(--seam); }
.strip-link { display: flex; align-items: center; gap: 10px; padding: 10px; }
.strip-window { flex: none; position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: linear-gradient(180deg, oklch(0.86 calc(0.075 * var(--c)) var(--h)), oklch(0.94 calc(0.04 * var(--c)) var(--h))); box-shadow: inset 0 0 0 1px rgba(20, 22, 26, .09), inset 0 10px 10px -9px rgba(20, 22, 26, .4); }
.strip-window img { position: absolute; left: 50%; bottom: 0; width: 58px; height: 58px; transform: translateX(-50%); }
.strip-name { flex: 1 1 auto; min-width: 0; height: 44px; background: #fff; border: 1px solid var(--seam); border-bottom: 2px solid var(--edge); border-radius: 8px; font: 800 21px/41px var(--cond); letter-spacing: .01em; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; transition: background-color .16s, color .16s, border-color .16s; }
.strip-link:hover .strip-name, .strip-link:focus-visible .strip-name { background: var(--ink); border-color: var(--ink); color: #fff; }
.strip-link:focus-visible { outline-offset: -4px; }
.strip-link.is-off .strip-window { --c: 0.1; }
.strip-link.is-off .strip-window img { filter: grayscale(1) opacity(.45); }
.strip-lock { position: absolute; right: 4px; bottom: 4px; }
.strip-link.is-off .strip-name { color: var(--faint); }
.strip-link.is-off:hover .strip-name, .strip-link.is-off:focus-visible .strip-name { background: var(--muted); border-color: var(--muted); color: #fff; }

.prose { padding-top: 26px; padding-bottom: 10px; }
.prose > * { max-width: 820px; }
.prose h1 { font: 800 44px/1 var(--cond); text-transform: uppercase; margin-bottom: 8px; }
.prose h2 { font: 800 24px/1.1 var(--cond); text-transform: uppercase; letter-spacing: .02em; margin: 28px 0 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.6; color: #2b2f37; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose h1 + p { margin-top: 16px; }
.prose-date { color: var(--muted); font-size: 15px; }
.prose ul { display: grid; gap: 10px; padding-left: 20px; list-style: square; }
.prose a { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose .fine { font-size: 14px; line-height: 1.55; color: var(--muted); }

.foot { margin-top: 64px; border-top: 1px solid var(--seam); color: var(--muted); font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px 60px; flex-wrap: wrap; padding-top: 30px; padding-bottom: 26px; }
.foot-about { max-width: 460px; }
.foot-about .brand { color: var(--ink); font-size: 23px; margin-bottom: 12px; }
.foot-about p { font-size: 14.5px; line-height: 1.5; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.foot-col h2 { font: 700 16px/1 var(--cond); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin-bottom: 4px; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.foot-base { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 22px; border-top: 1px solid var(--seam); font-size: 13.5px; color: var(--faint); }

@media (max-width: 1099px) {
  .bank.is-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bank.is-profile:not(.is-lone) { grid-template-columns: 256px minmax(0, 1fr); }
  .bank.is-profile.has-buy .bay-buy { order: 1; }
  .bank.is-profile.has-buy .bay-hypixel { order: 2; }
  .bank.is-profile:not(.has-buy) > .bay-hypixel { grid-column: 1 / -1; }
}

@media (min-width: 700px) and (max-width: 999px) {
  .bank { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bay.is-spare.show-3 { display: block; }
}

@media (max-width: 699px) {
  .wrap { padding: 0 14px; }
  .top.is-center .top-in { padding-top: 26px; padding-bottom: 22px; }
  .brand-h .brand { font-size: 34px; gap: 12px; }
  .brand-h .door { width: 21px; height: 33px; }
  .bank { --open: 270px; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 14px; }
  .bank.is-profile, .bank.is-profile:not(.is-lone) { max-width: none; grid-template-columns: minmax(0, 1fr); }
  .bank.is-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-head { margin-top: 22px; }
  .strip-link { gap: 8px; padding: 8px; }
  .strip-window { width: 48px; height: 48px; }
  .strip-window img { width: 44px; height: 44px; }
  .strip-name { height: 40px; font-size: 17px; line-height: 37px; padding: 0 6px; }
  .bank.is-profile > .bay-hypixel { grid-column: auto; }
  .bank.is-profile.has-buy .bay-buy, .bank.is-profile.has-buy .bay-hypixel { order: 0; }
  .bank.is-profile .bay-skin .bay-box { width: 256px; max-width: 100%; margin: 0 auto; padding: 0 12px 12px; }
  .bank.is-profile .bay-skin .bay-name { height: 46px; font-size: 25px; line-height: 43px; margin-top: 10px; }
  .bank.is-profile .bay-panel:not(.bay-skin) .bay-box { height: auto; }
  .bay.is-spare.show-2 { display: block; }
  .bay-box { padding: 0 8px 8px; }
  .bay-top { height: 36px; }
  .bank.is-sorted .vents { display: none; }
  .bay-note { font-size: 14px; }
  .off-tag { bottom: 10px; font-size: 13.5px; padding: 6px 9px 4px; gap: 6px; }
  .sorts { margin: -6px 0 16px; gap: 6px; }
  .sort { font-size: 14.5px; padding: 9px 11px 8px; }
  .bay-name { height: 40px; font-size: 21px; line-height: 37px; margin-top: 8px; }
  .door-latch { right: 9px; width: 20px; height: 54px; margin-top: -27px; }
  .door-latch::after { left: 6px; top: 10px; height: 26px; }
  .padlock { right: 11px; top: calc(50% + 8px); }
  .door-vents { height: 48px; }
  .foot { margin-top: 44px; }
  .foot-in { padding-top: 24px; gap: 22px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .skin, .bay-open::after, .bay-name { transition: none; }
}
