/* ScorchPVP / reclaimed metal, warm enamel and legible field labels. */
:root {
  --bg: #191b1b;
  --text: #f1eee5;
  --muted: #b5b6ac;
  --ember: #f17a42;
  --gold: #e8d9ab;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
}
html { scrollbar-color: #62665e #191b1b; }
body { background: var(--bg); }
button, a { transition-timing-function: var(--ease-out); }
button:active, .button:active { transform: scale(.98); }
:focus-visible { outline: 2px solid #f3be86; outline-offset: 5px; }
::selection { color: #191b1b; background: #f1a76e; }
.site-header {
  background: #181a19;
  border-bottom: 1px solid #3d413b;
  box-shadow: none;
  backdrop-filter: none;
}
.header-inner { min-height: 80px; justify-content: space-between; gap: 24px; }
.header-wordmark { letter-spacing: -.03em; }
.header-brand img, .header-brand:is(:hover,:focus-visible) img { filter: none; }
.header-brand:is(:hover,:focus-visible) .header-wordmark { text-shadow: none; }
.primary-nav { gap: 3px; }
.primary-nav a {
  background: transparent;
  border-color: transparent;
  border-radius: 2px;
  padding-inline: 12px;
  color: #c7c9be;
  font-size: 13px;
  letter-spacing: .02em;
  box-shadow: none;
  text-shadow: none;
}
.primary-nav a:hover, .primary-nav a:focus-visible, .primary-nav a.active {
  color: #f6eee0;
  background: #292d27;
  border-color: transparent;
  box-shadow: none;
  text-shadow: none;
}
.primary-nav .header-community { border-color: #53574d; margin-left: 12px; }
.button, .portal-card .portal-button {
  background: #e97842;
  border: 1px solid transparent;
  color: #1e201b;
  box-shadow: none;
  border-radius: 2px;
  min-height: 48px;
  font-weight: 800;
}
.button:hover, .portal-card:hover .portal-button { background: #f5965e; color: #1e201b; filter: none; transform: none; }
.button-outline { background: #292d27; border-color: #53574d; color: #f1eee5; }
.button-outline:hover { background: #363b32; }
.wordmark { letter-spacing: -.035em; text-shadow: none; }
.home-mast { padding-top: 52px; }
.home-mast .wordmark { margin-top: 0; }
.home-mast>p { color: #d6d8cb; font-size: 14px; }
.mast-facts { font-size: 10px; }
.live-server {
  background: #232720;
  border: 1px solid #41483b;
  border-radius: 3px;
  box-shadow: none;
}
.live-server-context { border-color: #4a5142; }
.live-server-context strong { color: #e0dfcd; }
.live-server-context span { color: #b5b6ac; font-size: 12px; }
.live-server-label { color: #bfc4b4; }
.portal-card { background: #20231f; border: 1px solid #45493f; border-radius: 4px; box-shadow: none; }
.portal-card::before { background: none; }
.portal-card:hover { transform: none; border-color: #aaa58a; }
.portal-copy p { color: #c1c3b7; font-size: 13px; line-height: 1.65; }
.portal-copy h2 { font-style: normal; }
.kit-feature-art { width: 51%; height: 100%; object-fit: contain; object-position: center bottom; left: 0; bottom: 0; filter: none; mix-blend-mode: normal; }
.portal-discord:before { background: none; }
.home-strip { color: #bfc0b4; }
.server-info, .future-servers article, .rules-list article { border-color: #494e42; }
.server-info p, .rules-list p, .rules-intro p { color: #bfc0b4; }
.community-section { background: #242820; border-color: #4a5040; }
.site-footer { background: #141714; border-color: #383e33; }
.site-footer nav { max-width: 100%; flex-wrap: wrap; justify-content: center; font-size: 12px; }
.site-footer p { font-size: 10px; }

/* The store opens on its purpose and reaches the artwork in the first screen. */
.armory-mast {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 58px 0 48px;
  text-align: left;
}
.armory-mast h1 {
  font: 700 clamp(44px,5.8vw,76px)/.96 var(--display);
  letter-spacing: -.035em;
}
.armory-mast h1 span { color: var(--ember); }
.armory-intro { padding-left: 36px; border-left: 1px solid #55594e; }
.armory-intro>p { color: #e3e2d6; font-size: 22px; line-height: 1.5; letter-spacing: -.02em; }
.armory-terms { display: flex; flex-wrap: wrap; gap: 6px 17px; margin-top: 18px; color: #b5b9aa; font-size: 12px; }
.armory-how { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; color: #f1a76e; font-size: 13px; font-weight: 700; }
.armory-how svg { width: 17px; height: 17px; }
.armory-how:hover { color: #ffe1b2; }
.catalog-section { padding-top: 24px; border-top: 1px solid #41463b; }
.catalog-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; text-align: left; }
.catalog-heading h2 { font-size: 30px; font-style: normal; letter-spacing: -.025em; }
.catalog-heading p { margin: 0; font-size: 12px; color: #b5b9aa; }
.catalog-note { max-width: none; margin: 12px 0 26px; text-align: left; font-size: 12px; line-height: 1.7; color: #b5b9aa; }
.rank-grid { gap: 24px; }
.rank-card, .rank-card:nth-child(4), .rank-card:nth-child(5) {
  padding: 0 24px 19px;
  background: #232720;
  border: 1px solid #484d40;
  border-radius: 4px;
  box-shadow: none;
  transition: border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}
.rank-card:hover, .rank-card:focus-within { background: #2a2f24; border-color: #c0b48e; box-shadow: none; }
.rank-spooky { border-color: #a66940; }
.rank-emblem { position: relative; display: block; height: auto; aspect-ratio: 1.06; margin: 0 -24px 18px; background: #191b1b; overflow: hidden; }
.rank-emblem img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 240ms var(--ease-out);
}
.rank-heading { text-align: left; }
.rank-heading h3 { color: #f3eee0; font: 700 31px/1.1 var(--display); letter-spacing: -.02em; }
.rank-spooky .rank-heading h3 { color: #ff9b60; }
.rank-heading p { font-size: 12px; margin-top: 8px; color: #bfc3b3; }
.rank-regular-price { display: flex; align-items: center; gap: 9px; margin-top: 20px; font-size: 11px; color: #aeb5a1; }
.rank-regular-price>span { color: #dec896; }
.rank-price { justify-content: flex-start; margin: 5px 0 20px; font-size: 39px; color: #f3eee0; font-variant-numeric: tabular-nums; }
.currency-label { color: #c3c7b7; font-size: 10px; }
.currency-label>span { color: #b5bba7; font-size: 8px; line-height: 1.6; }
.rank-kit-label { border-color: #545b47; color: #c3c8b6; font-size: 9px; letter-spacing: .03em; }
.rank-summary strong { color: #ececdf; font-size: 12px; }
.rank-summary li { padding: 12px 0; border-color: #3c4434; }
.rank-summary li>span { font-size: 11px; color: #b9c0ac; }
.kit-details { min-height: 48px; margin-top: 14px; padding: 12px 15px; background: #d5d2b9; border: 0; border-radius: 2px; color: #20231d; font-size: 12px; font-weight: 800; }
.kit-details>span { display: grid; place-items: center; }
.kit-details svg { width: 18px; height: 18px; }
.rank-card:hover .kit-details,.rank-card:focus-within .kit-details { background: #ede5c7; color: #161a13; }
.rank-spooky .kit-details { background: #f18a4c; }
.rank-duration { padding-top: 12px; font-size: 10px; color: #b7beaa; }
.kit-info { padding-top: 45px; }
.kit-policy-grid { border-color: #4d5542; }
.kit-policy-grid h3 { font-style: normal; font-size: 18px; }
.kit-policy-grid p { color: #bfc4b2; font-size: 12px; }
.store-footnote { font-size: 11px; color: #aeb6a0; line-height: 1.9; }
.store-support h2 { font-size: 30px; }
.store-support p { color: #bbc0ae; font-size: 13px; }
.store-support .button { margin-top: 20px; }

/* Inventory is functional UI: quiet surfaces, readable labels, clear focus. */
#kit-dialog { background: #232720; border: 1px solid #777c68; border-radius: 6px; }
#kit-dialog::backdrop { background: #080b07d9; }
.dialog-label { color: #c4c8b7; font: 700 11px/1.4 var(--body); letter-spacing: .08em; }
.dialog-close { min-width: 44px; min-height: 44px; }
.dialog-heading h2 { font-style: normal; letter-spacing: -.025em; }
.dialog-heading p, .dialog-preview-note { color: #c0c5b3; font-size: 12px; }
.dialog-rules { background: #1b1f17; border-color: #49503c; }
.dialog-rules ul, .dialog-fineprint { color: #b9c1a9; font-size: 11px; }
.kit-inventory-preview h3 { background: #363d2e; border-color: #535e43; color: #e1e5d6; }
.kit-slot { background: #292e23; border-color: #545e46; box-shadow: none; }
.kit-slot-empty { background: #1d2218; border-color: #404933; box-shadow: none; }
button.kit-slot:hover,button.kit-slot:focus-visible { background: #3c4431; border-color: #dfba7c; box-shadow: none; }
.kit-item-detail { border: 0; padding-left: 0; color: #e2cfaa; }
#kit-dialog .dialog-footer { background: #1b2016; border-color: #535e41; }
#kit-dialog .dialog-footer .checkout-button { border-color: transparent; box-shadow: none; }
#kit-dialog #checkout-status { color: #c1c9ae; }
.toast { border: 0; border-radius: 3px; background: #e7ddba; color: #22251c; }
@media (hover: hover) and (pointer: fine) {
  .rank-card:is(:hover,:focus-within) .rank-emblem img { transform: translateY(-5px) scale(1.035); }
}
@media (max-width: 1050px) {
  .rank-card, .rank-card:nth-child(4), .rank-card:nth-child(5) { padding-inline: 18px; }
  .rank-emblem { margin-inline: -18px; }
  .rank-heading h3 { font-size: 27px; }
  .armory-intro { padding-left: 25px; }
  .primary-nav a { padding-inline: 9px; }
}
@media (max-width: 920px) {
  .header-inner { min-height: 72px; }
  .primary-nav { background: #20241d; border-color: #4a5140; }
  .primary-nav .header-community { margin-left: 0; }
  .rank-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rank-card, .rank-card:nth-child(4), .rank-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 68px; }
  .header-wordmark { font-size: 22px; }
  .home-mast { padding-top: 38px; }
  .home-mast>p { font-size: 11px; }
  .portal-copy p { font-size: 11px; }
  .live-server-context span { font-size: 11px; }
  .armory-mast { grid-template-columns: 1fr; gap: 23px; padding: 34px 0 29px; }
  .armory-mast h1 { font-size: clamp(43px,11.5vw,66px); }
  .armory-intro { padding: 0; border: 0; }
  .armory-intro>p { font-size: 17px; }
  .armory-intro>p br { display: none; }
  .armory-terms { margin-top: 11px; font-size: 11px; gap: 5px 12px; }
  .armory-how { margin-top: 5px; }
  .catalog-heading { display: block; }
  .catalog-heading h2 { font-size: 27px; }
  .catalog-heading p { font-size: 11px; margin-top: 8px; }
  .catalog-note { max-width: none; font-size: 11px; margin-top: 10px; }
  .rank-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; max-width: none; }
  .rank-card, .rank-card:nth-child(4), .rank-card:nth-child(5) { grid-column: auto; padding: 0 18px 17px; }
  .rank-emblem { aspect-ratio: 1; height: auto; margin: 0 -18px 18px; }
  .rank-emblem img { width: 100%; height: 100%; }
  .rank-heading h3 { font-size: 29px; }
  .rank-price { font-size: 35px; }
  .rank-kit-label { flex-wrap: wrap; gap: 5px; font-size: 8px; }
  .rank-summary strong { font-size: 11px; }
  .rank-summary li>span { font-size: 10px; }
  .rank-duration { font-size: 9px; }
  .kit-policy-grid p { font-size: 12px; }
  .dialog-heading p { font-size: 11px; }
  .dialog-rules ul { font-size: 11px; }
}
@media (max-width: 540px) {
  .rank-grid { grid-template-columns: 1fr; max-width: 420px; gap: 24px; }
  .rank-card, .rank-card:nth-child(4), .rank-card:nth-child(5) { padding: 0 23px 19px; }
  .rank-emblem { aspect-ratio: 1.06; margin-inline: -23px; }
  .rank-heading h3 { font-size: 32px; }
  .rank-heading p { font-size: 13px; }
  .rank-price { font-size: 41px; }
  .rank-summary strong { font-size: 12px; }
  .rank-summary li>span { font-size: 11px; }
  .rank-kit-label { font-size: 9px; }
  .rank-duration { font-size: 10px; }
  .kit-feature-art { width: 49%; left: 0; }
  .portal-copy p { font-size: 10px; }
  .dialog-heading { flex-wrap: wrap; }
  .dialog-heading h2 { font-size: 29px; }
  .dialog-heading>span { font-size: 27px; }
  .dialog-heading p { max-width: none; font-size: 11px; }
  .dialog-preview-note { font-size: 11px; }
  .site-footer nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .rank-emblem img { transition: none; transform: none!important; }
  button:active,.button:active { transform: none; }
}
