:root{
  --bg:#0d0d0c;
  --panel:#121211;
  --panel-2:#151514;
  --panel-3:#191817;
  --line:#282724;
  --line-strong:#3b382f;
  --gold:#e6aa2e;
  --gold-bright:#f7bd3e;
  --gold-dark:#8b641b;
  --red:#d9524f;
  --red-bg:#261514;
  --text:#f1f0ec;
  --muted:#aaa69d;
  --muted-2:#77736c;
  --shell:1120px;
}

*{box-sizing:border-box}
html{background:var(--bg);color-scheme:dark}
body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font:14px/1.55 Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{color:inherit}
img{display:block;max-width:100%}
.shell{width:min(calc(100% - 40px),var(--shell));margin-inline:auto}
main{min-height:66vh}

/* Header */
.site-header{height:62px;border-bottom:1px solid var(--line);background:#101010}
.nav-row{height:62px;display:flex;align-items:center;gap:34px}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;letter-spacing:.08em;font-size:17px}
.brand-logo{width:28px;height:28px;object-fit:cover;border-radius:3px}
.main-nav{height:100%;display:flex;align-items:stretch;gap:27px}
.main-nav a{display:flex;align-items:center;position:relative;color:#b7b4ad;font-weight:700;font-size:12px}
.main-nav a:hover{color:#fff}
.main-nav a.active{color:#fff}
.main-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--text)}
.nav-actions{margin-left:auto;display:flex;align-items:center;gap:9px}
.login-button,.cart-link{height:36px;border:1px solid var(--line-strong);background:#171716;border-radius:3px;display:flex;align-items:center;gap:8px;padding:0 12px;font-size:12px;font-weight:700;cursor:pointer}
.login-button:hover{border-color:#555149}
.user-icon{color:#c8c4bc;font-size:15px}
.cart-link{background:var(--gold);border-color:var(--gold);color:#17120a}
.cart-link:hover{background:var(--gold-bright)}
.cart-symbol{font-size:15px}
.cart-link em{font-style:normal;display:grid;place-items:center;min-width:19px;height:19px;border-radius:3px;background:#17120a;color:#fff;font-size:10px;padding:0 5px}

/* Shared headings */
.crumb,.back-link{color:#7f7b74;font:600 11px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.01em}
.landing-heading{padding:41px 0 31px}
.landing-heading h1,.vote-heading h1,.legal-page h1{margin:13px 0 0;text-transform:uppercase;font-size:42px;line-height:1.05;letter-spacing:-.035em}

/* Store landing page */
.gamemode-band{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#101110}
.gamemode-feature{min-height:330px;display:grid;grid-template-columns:.95fr 1.05fr;align-items:center}
.gamemode-copy{padding:55px 0 55px 0}
.gamemode-copy h2{margin:0;text-transform:uppercase;font-size:58px;line-height:.95;letter-spacing:-.045em}
.mode-currency{margin:18px 0 19px;color:var(--gold);font:700 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase;letter-spacing:.12em}
.primary-link{display:inline-flex;align-items:center;gap:17px;background:var(--gold);color:#181108;padding:12px 16px;border-radius:3px;font-weight:800;font-size:13px}
.primary-link:hover{background:var(--gold-bright)}
.gamemode-art{position:relative;height:330px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.gamemode-art .art-word{position:absolute;font-size:104px;font-weight:900;color:transparent;-webkit-text-stroke:1px #51401c;opacity:.7;letter-spacing:-.05em;white-space:nowrap}
.gamemode-art img{position:relative;width:330px;height:260px;object-fit:contain;z-index:1}

/* Skyblock page */
.mode-hero{border-bottom:1px solid var(--line);background:#101110}
.mode-hero-inner{min-height:260px;display:grid;grid-template-columns:1fr 1fr;align-items:center}
.mode-hero-copy{padding:38px 0}
.mode-hero-copy h1{margin:24px 0 9px;text-transform:uppercase;font-size:62px;line-height:.95;letter-spacing:-.05em}
.mode-hero-copy p{max-width:500px;margin:0;color:#bbb7ae;font-size:13px;line-height:1.6}
.mode-hero-copy p strong{color:var(--gold)}
.mode-hero-art{height:260px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.mode-hero-art span{position:absolute;font-size:90px;font-weight:900;letter-spacing:-.06em;color:transparent;-webkit-text-stroke:1px #49391a;opacity:.8}
.mode-hero-art img{position:relative;z-index:1;width:300px;height:235px;object-fit:contain}

.product-section{padding:43px 0 68px}
.product-heading.rainy-heading{display:grid;grid-template-columns:1fr auto auto;gap:16px;align-items:center;margin-bottom:20px}
.section-label,.currency-label{color:#89857d;font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase;letter-spacing:.13em}
.pack-note{border:1px solid #5d481e;background:#17140e;color:#d9aa3d;padding:6px 11px;border-radius:3px;font-size:10px;font-weight:800}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.product-card{overflow:hidden;background:#141413;border:1px solid var(--line);border-radius:3px}
.product-card:hover{border-color:#5e4b25}
.pack-art{height:178px;position:relative;display:grid;place-items:center;background:#11151a;border-bottom:1px solid var(--line);overflow:hidden}
.krona-pack-image{width:96%;height:96%;object-fit:contain;transform:scale(1.05)}
.product-note{position:absolute;z-index:2;left:10px;top:10px;background:var(--gold);color:#181108;padding:5px 8px;border-radius:2px;font:900 8px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase;letter-spacing:.08em}
.product-bonus{position:absolute;z-index:2;right:10px;top:10px;width:55px;height:51px;display:grid;place-content:center;text-align:center;background:var(--gold-bright);color:#171108;border-radius:2px;line-height:1}
.product-bonus b{font-size:17px;letter-spacing:-.04em}.product-bonus small{margin-top:4px;text-transform:uppercase;font-size:7px;font-weight:900;letter-spacing:.1em}
.product-content{padding:14px 14px 15px}
.product-content h3{margin:0;color:#f2b63a;font-size:27px;line-height:1;font-weight:900;letter-spacing:-.04em}.product-content h3 span{font-size:12px;margin-left:1px}
.pack-breakdown{min-height:17px;margin:9px 0 10px;color:#8b877f;font:700 9px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase;letter-spacing:.05em}.pack-breakdown span{color:#65615b}.pack-breakdown strong{color:var(--gold)}
.pack-tier{display:grid;grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:12px}.pack-tier i{height:3px;background:#302f2c;border-radius:2px}.pack-tier i.filled{background:var(--gold)}
.price{display:block;margin-bottom:12px;font-size:12px;color:#fff}
.add-button,.checkout-button,.input-row button{width:100%;border:0;border-radius:3px;background:var(--gold);color:#171108;font-weight:900;padding:11px 12px;cursor:pointer}.add-button:hover,.checkout-button:hover,.input-row button:hover{background:var(--gold-bright)}

/* Vote */
.vote-page{padding:46px 0 120px}
.vote-heading h1{font-size:39px}.vote-heading>p:last-child{margin:17px 0 0;color:#b7b3ab;font-size:13px}
.bedrock-warning{margin-top:42px;border:1px solid #713332;background:var(--red-bg);display:flex;align-items:flex-start;gap:14px;padding:16px 18px;border-radius:3px}
.warning-icon{width:36px;height:36px;display:grid;place-items:center;background:#44201f;color:#f0645f;border-radius:3px;font-weight:900}
.bedrock-warning strong{display:block;color:#ef6a65;font-size:13px}.bedrock-warning p{margin:4px 0 0;color:#d4a5a2;font-size:11px}
.vote-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}
.vote-card{min-height:92px;border:1px solid var(--line);background:#161615;display:grid;grid-template-columns:44px 1fr 24px;gap:14px;align-items:center;padding:18px 20px;border-radius:3px}.vote-card:hover{border-color:#514d46;background:#191918}
.vote-icon{width:40px;height:40px;display:grid;place-items:center;background:var(--gold);color:#171108;border-radius:3px;font-weight:900}.vote-copy strong,.vote-copy small{display:block}.vote-copy strong{text-transform:uppercase;font-size:18px;line-height:1.1}.vote-copy small{margin-top:5px;color:#85817a;font:600 10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.external-arrow{color:#85817a;font-size:17px;text-align:right}.vote-card-disabled{opacity:.55;cursor:not-allowed}

/* Cart */
.hero{padding:45px 0 18px}.hero h1{margin:12px 0 0;font-size:38px;text-transform:uppercase;letter-spacing:-.03em}.hero p{color:var(--muted);margin:8px 0 0}
.cart-wrap{display:grid;grid-template-columns:1fr 320px;gap:38px;padding:22px 0 80px}.cart-lines{border-top:1px solid var(--line)}.cart-line{display:grid;grid-template-columns:1fr 92px 95px 64px;gap:14px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.cart-line span{display:block;color:var(--muted-2);font-size:9px;letter-spacing:.1em;margin-top:2px}.cart-line label{color:var(--muted);font-size:11px}.cart-line input{width:48px;background:#0c0a07;border:1px solid var(--line);color:var(--text);padding:6px}.link-button,.quiet-button{border:0;background:transparent;color:var(--muted);cursor:pointer;padding:0}.link-button:hover,.quiet-button:hover{color:var(--text)}.quiet-button{margin-top:16px;color:#d5b66d;font-weight:700}.checkout-summary{height:max-content;border:1px solid var(--line);background:#141413;padding:20px;border-radius:3px}.summary-line,.player-confirm{display:flex;justify-content:space-between;gap:20px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line)}.checkout-summary .checkout-button{margin-top:4px}.tiny-copy{color:var(--muted-2);font-size:10px;line-height:1.5;margin:13px 0 0}.empty-cart{border-top:1px solid var(--line);padding-top:24px}.empty-cart h2{margin:0 0 5px}.empty-cart p{color:var(--muted);margin:0 0 14px}.empty-cart a{color:var(--gold);font-weight:800}

/* Legal + messages */
.legal-page,.message-page{padding:55px 0 110px}.legal-page h1{font-size:40px}.legal-copy{max-width:760px;margin-top:28px;color:#b6b2aa}.legal-copy p{margin:0 0 18px}.message-page h1{margin:0 0 8px}.message-page p{color:var(--muted)}

/* Footer */
.site-footer{border-top:1px solid var(--line);background:#101010;padding:40px 0 18px}
.footer-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:55px;padding-bottom:38px}.footer-columns h3{margin:0 0 10px;color:#85817a;font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase;letter-spacing:.13em}.footer-columns p{margin:0;color:#aaa69e;font-size:12px;line-height:1.65}.footer-columns a{color:#e2b34c;text-decoration:underline;text-underline-offset:2px}.footer-rule{border-top:1px solid var(--line)}
.footer-bottom{padding-top:17px;display:flex;justify-content:space-between;gap:30px;color:#78746e;font:600 10px/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.footer-bottom nav{display:flex;flex-wrap:wrap;gap:18px}.footer-bottom a:hover{color:#ddd9d1}

/* Login dialog */
.player-dialog{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:100;display:grid;place-items:center;padding:20px}.player-dialog[hidden]{display:none}.player-panel{position:relative;width:min(460px,100%);background:#121211;border:1px solid #42391f;padding:28px;border-radius:3px}.dialog-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:var(--muted);font-size:25px;cursor:pointer}.dialog-kicker{color:var(--gold);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.16em}.player-panel h2{margin:8px 0 8px;font-size:27px}.player-panel p{margin:0;color:var(--muted)}.player-form{margin-top:20px}.player-form>label{display:block;margin-bottom:7px;font-weight:800;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.input-row{display:grid;grid-template-columns:1fr 110px}.input-row input{min-width:0;background:#0b0b0a;color:var(--text);border:1px solid var(--line-strong);padding:11px;outline:none}.input-row input:focus{border-color:#7e5f26}.edition-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.edition-picker label{cursor:pointer}.edition-picker input{position:absolute;opacity:0;pointer-events:none}.edition-picker span{display:block;border:1px solid var(--line-strong);background:#0b0b0a;padding:10px 11px}.edition-picker b,.edition-picker small{display:block}.edition-picker b{font-size:12px}.edition-picker small{margin-top:2px;color:var(--muted-2);font-size:9px}.edition-picker input:checked+span{border-color:var(--gold);background:#18140d}.login-note{margin:9px 0 0!important;color:var(--muted-2)!important;font-size:10px!important}.login-error{margin-top:12px;border-left:2px solid var(--red);background:#211313;padding:9px 11px;color:#e9b1af;font-size:11px}

@media(max-width:900px){.product-grid{grid-template-columns:repeat(2,1fr)}.gamemode-feature,.mode-hero-inner{grid-template-columns:1fr 1fr}.footer-columns{gap:28px}.product-heading.rainy-heading{grid-template-columns:1fr auto}.pack-note{grid-column:1/-1;grid-row:2}}
@media(max-width:700px){.shell{width:min(calc(100% - 28px),var(--shell))}.site-header{height:auto}.nav-row{height:auto;min-height:62px;flex-wrap:wrap;padding:12px 0}.main-nav{order:3;width:100%;height:38px}.main-nav a{align-items:flex-end;padding-bottom:8px}.nav-actions{gap:6px}.brand span{display:none}.login-button,.cart-link{padding:0 9px}.gamemode-feature,.mode-hero-inner{grid-template-columns:1fr}.gamemode-art{height:220px}.gamemode-copy h2,.mode-hero-copy h1{font-size:47px}.mode-hero-art{height:210px}.product-grid,.vote-grid,.footer-columns{grid-template-columns:1fr}.product-heading.rainy-heading{grid-template-columns:1fr auto}.footer-bottom{flex-direction:column}.cart-wrap{grid-template-columns:1fr}.cart-line{grid-template-columns:1fr 80px}.cart-line>strong,.cart-line>.link-button{grid-column:2}.landing-heading h1,.vote-heading h1{font-size:34px}}
@media(max-width:480px){.product-grid{grid-template-columns:1fr}.pack-art{height:210px}.input-row{grid-template-columns:1fr;gap:8px}.gamemode-art .art-word,.mode-hero-art span{font-size:68px}.gamemode-art img,.mode-hero-art img{width:260px}.footer-bottom nav{gap:12px}}
/* Velham originality pass */
.user-icon-svg,.cart-icon{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.main-nav a.active:after{left:0;right:auto;width:18px;height:2px;background:var(--gold)}
.gamemode-band,.mode-hero{background:#101110;background-image:none}
.gamemode-feature,.mode-hero-inner{position:relative}
.gamemode-feature:before,.mode-hero-inner:before{content:"ᚠ  ᚱ  ᛟ  ᚾ  ᚨ";position:absolute;top:15px;right:0;color:#4a402a;font:700 11px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.45em}
.gamemode-art .art-word,.mode-hero-art span{-webkit-text-stroke:1px #3d3424;opacity:.4}
.primary-link{border-radius:0;border:1px solid #b38426;background:#c99225;color:#15110a;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,8px 100%,0 calc(100% - 8px))}
.primary-link:hover{background:#e2aa32}
.product-heading.rainy-heading{grid-template-columns:1fr auto;position:relative;padding-bottom:12px;border-bottom:1px solid #282724}
.product-heading .currency-label{grid-column:2;grid-row:1}.product-heading .pack-note{grid-column:1/-1;grid-row:2;justify-self:start;border:0;border-left:2px solid var(--gold);background:transparent;color:#bba36f;padding:2px 0 2px 10px;border-radius:0;font-weight:700}
.product-grid{gap:18px}
.product-card{position:relative;border-radius:0;border-color:#312d24;background:#121211;clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px))}
.product-card:before{content:"";position:absolute;z-index:3;top:0;left:0;width:54px;height:2px;background:var(--gold)}
.product-card:hover{border-color:#725827}
.pack-art{height:190px;background:#101111;border-bottom:1px solid #302c23}
.krona-pack-image{width:100%;height:100%;object-fit:contain;transform:scale(1.12)}
.product-note{left:11px;top:12px;background:#1c1912;border:1px solid #7e622b;color:#e0ba62;border-radius:0;padding:6px 9px;clip-path:polygon(0 0,calc(100% - 5px) 0,100% 5px,100% 100%,0 100%)}
.product-bonus{right:10px;top:10px;width:auto;min-width:62px;height:auto;padding:8px 9px;background:#b88620;border:1px solid #e4b84e;color:#15110a;border-radius:0;clip-path:polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px)}
.product-bonus b{font-size:15px}.product-bonus small{font-size:7px}
.product-content{padding:15px 15px 17px}.product-content h3{color:#e9b33e;font-size:29px}.product-content h3 span{color:#a48645}
.pack-tier i{height:2px;border-radius:0;background:#2c2923}.pack-tier i.filled{background:#b88928}
.add-button,.checkout-button,.input-row button{border-radius:0;background:#c99225;border:1px solid #dfad3f;color:#15110a;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,7px 100%,0 calc(100% - 7px))}
.add-button:hover,.checkout-button:hover,.input-row button:hover{background:#e2aa32}
.login-button,.cart-link{border-radius:0}.cart-link{background:#c99225;border-color:#c99225}.cart-link em{border-radius:0}
.vote-card,.checkout-summary,.player-panel,.bedrock-warning{border-radius:0}
.vote-icon{border-radius:0;background:#c99225}
