:root {
  color-scheme: light;
  --ink: #1d2620;
  --paper: #f1e8d4;
  --yellow: #e7dc4b;
  --red: #d8543c;
  --sage: #aeb996;
  --body: #252a23;
  --muted: #737466;
  --display: "Anton", Impact, sans-serif;
  --text: "Manrope", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--text);
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
  padding: 0 clamp(20px, 5vw, 80px);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px rgba(241, 232, 212, .12);
  transition: background-color .35s ease, color .35s ease;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  letter-spacing: .5px;
  text-decoration: none;
  text-transform: uppercase;
}
.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font: 900 19px/1 var(--display);
  transform: rotate(-7deg);
}
.header-note { color: #b4b6a4; font-size: 9px; letter-spacing: 2px; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 34px); }
.site-header nav a {
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-decoration: none;
  text-transform: uppercase;
}
.site-header nav a:hover { color: var(--yellow); }
.site-header nav .header-account { display: inline-flex; max-width: 190px; min-height: 38px; align-items: center; gap: 8px; padding: 4px 10px 4px 5px; border: 1px solid rgba(241, 232, 212, .34); color: var(--paper); letter-spacing: 0; text-decoration: none; }
.site-header nav .header-account:hover { border-color: var(--yellow); color: var(--yellow); }
.header-account-avatar, .header-account-fallback { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; }
.header-account-avatar { object-fit: cover; }
.header-account-fallback { display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 800 12px/1 var(--text); }
.header-account-name { min-width: 0; overflow: hidden; color: inherit; font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.header-credit-balance { display: inline-flex; min-height: 34px; flex: 0 0 auto; align-items: center; padding: 0 11px; background: var(--yellow); color: var(--ink); font: 400 16px/1 var(--display); white-space: nowrap; }
a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  height: min(76svh, 740px);
  min-height: 500px;
  padding: clamp(30px, 6vw, 88px);
  color: #fffdf3;
  background-color: #514432;
  background-image: url("https://preview.redd.it/beautiful-blaine-county-v0-lcswcr2ua1g81.png?width=1080&crop=smart&auto=webp&s=a7e9ffa6c3ce50a202894e3cd2869dc92acf78c8");
  background-position: center 54%;
  background-size: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 20, 17, .36);
}
.hero-copy {
  width: min(100%, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .62fr);
  grid-template-areas: "kicker logo" "title logo" "bottom logo";
  align-items: end;
  column-gap: clamp(20px, 5vw, 75px);
  row-gap: 0;
}
.hero-logo {
  grid-area: logo;
  justify-self: center;
  align-self: center;
  width: min(330px, 100%);
  max-height: 330px;
  margin: 0;
  transform: rotate(4deg);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .38));
}
.eyebrow, .hero-kicker {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero-kicker {
  grid-area: kicker;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: 2.8px;
}
.hero-kicker span { color: var(--paper); padding: 0 5px; }
.hero h1 {
  grid-area: title;
  max-width: 700px;
  margin: 0 0 22px;
  color: var(--paper);
  font: 400 116px/.82 var(--display);
  text-transform: uppercase;
}
.hero h1 span { color: var(--yellow); }
.hero-bottom {
  grid-area: bottom;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.hero-bottom p { margin: 0; color: #f3edda; font-size: 12px; line-height: 1.8; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 19px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, transform .18s ease;
}
.text-link:hover { background: #f3eb7b; color: var(--ink); transform: translateY(-2px); }
.text-link span { font-size: 18px; line-height: 0; }

.road-tape {
  overflow: hidden;
  padding: 15px 0 14px;
  background: var(--yellow);
  color: var(--ink);
}
.road-tape-track {
  display: flex;
  width: max-content;
  align-items: center;
  animation: road-roll var(--tape-duration, 24s) linear infinite;
  font: 400 20px/1 var(--display);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.road-tape-group { display: flex; flex: 0 0 auto; align-items: center; gap: 30px; padding-right: 30px; }
.road-tape-track b { font: 400 14px/1 var(--text); }
@keyframes road-roll { to { transform: translate3d(var(--tape-distance, -50%), 0, 0); } }

.intro {
  padding: clamp(72px, 9vw, 124px) clamp(22px, 8vw, 120px);
  background: var(--ink);
  color: var(--paper);
  transition: background-color .35s ease, color .35s ease;
}
.intro-inner {
  width: min(100%, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .7fr);
  gap: clamp(38px, 9vw, 132px);
  align-items: end;
}
.intro .eyebrow { color: var(--yellow); font-size: 10px; letter-spacing: 2.3px; }
.intro h2, .location h2, .details h2 {
  margin-top: 19px;
  font: 400 76px/.91 var(--display);
  text-transform: uppercase;
}
.intro-copy { color: #cacbbd; font-size: 13px; line-height: 1.9; }
.intro-copy p { margin-bottom: 15px; }
.fact-strip {
  width: min(100%, 1160px);
  margin: 72px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(241, 232, 212, .25);
}
.fact { padding: 19px 20px 0 0; }
.fact + .fact { border-left: 1px solid rgba(241, 232, 212, .25); padding-left: 24px; }
.fact span { display: block; color: #b4b6a4; font-size: 9px; letter-spacing: 1.7px; }
.fact strong { display: block; margin-top: 10px; color: var(--yellow); font: 400 28px/1 var(--display); text-transform: uppercase; }

.location {
  padding: clamp(72px, 9vw, 124px) clamp(22px, 8vw, 120px);
  background: var(--paper);
  color: var(--body);
  transition: background-color .35s ease, color .35s ease;
}
.location-inner {
  width: min(100%, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(38px, 8vw, 112px);
  align-items: center;
}
.location .eyebrow { color: #747b5b; font-size: 10px; letter-spacing: 2.2px; }
.location h2 { max-width: 430px; font-size: 69px; }
.location-copy { max-width: 390px; margin: 21px 0 27px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.location .text-link { background: var(--red); color: #fff8e9; }
.location .text-link:hover { background: #bd452f; color: white; }
.map {
  min-height: 0;
  aspect-ratio: 586 / 430;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29, 38, 32, .3);
  background-color: #e8d982;
  box-shadow: 12px 12px 0 var(--yellow);
}
.map::before, .map::after { content: none; }
.map-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.map-pin { left: 278px; top: 327px; z-index: 2; width: 0; height: 0; display: block; transform: none; }
.pin-dot { position: absolute; top: 278px; left: 327px; width: 28px; height: 28px; border: 6px solid var(--red); border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 5px rgba(216, 84, 60, .2); animation: pin-beat 2.4s ease-in-out infinite; }
@keyframes pin-beat { 50% { box-shadow: 0 0 0 10px rgba(216, 84, 60, .1); } }
.map-point-label { position: absolute; left: 360px; bottom: 205px; padding: 5px 8px; background: var(--ink); color: var(--yellow); font: 400 12px/1 var(--display); text-transform: uppercase; white-space: nowrap; }

.details {
  padding: clamp(66px, 9vw, 124px) clamp(22px, 8vw, 120px);
  background: var(--red);
  color: #fff1d8;
  transition: background-color .35s ease, color .35s ease;
}
.details-inner {
  width: min(100%, 1160px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}
.details .eyebrow { color: #ffe28c; font-size: 10px; letter-spacing: 2.2px; }
.details h2 { max-width: 540px; font-size: 74px; }
.details-note { border-left: 2px solid rgba(255, 241, 216, .68); padding: 4px 0 4px 25px; }
.details p { color: #fff1d8; font-size: 13px; line-height: 1.9; }
footer {
  padding: 24px clamp(22px, 5vw, 80px);
  font-size: 10px;
  line-height: 1.6;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  background: #151b17;
  color: #c5c5b2;
}
footer p { margin: 0; }
footer strong { color: var(--yellow); }
footer .footer-actions { justify-self: right; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
footer .footer-legal {
  justify-self: center;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid rgba(197, 197, 178, .42);
  color: #f1e8d4;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease;
}
footer .footer-legal:hover { border-color: var(--yellow); color: var(--yellow); }
.legal-notice {
  padding: clamp(52px, 7vw, 88px) clamp(22px, 8vw, 120px);
  background: #e7dfcb;
  color: #252a23;
  scroll-margin-top: 24px;
}
.legal-inner { width: min(100%, 960px); margin: 0 auto; }
.legal-notice .eyebrow { color: #747b5b; font-size: 9px; letter-spacing: 2px; }
.legal-notice h2 { margin: 12px 0 26px; font: 400 clamp(36px, 5vw, 54px)/1 var(--display); text-transform: uppercase; }
.legal-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.legal-copy p { margin: 0; color: #5e6055; font-size: 12px; line-height: 1.8; }
.legal-header .brand:last-of-type { font-size: 11px; letter-spacing: 1px; }
.legal-main { box-sizing: border-box; width: min(100%, 1040px); margin: 0 auto; padding: clamp(60px, 9vw, 112px) clamp(22px, 5vw, 48px) 96px; }
.legal-kicker { margin: 0; color: #747b5b; font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.legal-main h1 { margin: 14px 0 18px; color: var(--ink); font: 400 clamp(52px, 8vw, 88px)/.95 var(--display); text-transform: uppercase; }
.legal-lead { max-width: 680px; margin: 0 0 52px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.legal-list { border-top: 1px solid rgba(29, 38, 32, .22); }
.legal-row { display: grid; grid-template-columns: minmax(180px, .55fr) 1.45fr; gap: 32px; padding: 25px 0; border-bottom: 1px solid rgba(29, 38, 32, .22); }
.legal-row h2 { margin: 0; color: var(--ink); font: 400 24px/1.1 var(--display); text-transform: uppercase; }
.legal-row p { max-width: 640px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.85; }
.legal-row p + p { margin-top: 10px; }
.legal-note { margin-top: 30px; padding: 17px 20px; border-left: 3px solid var(--red); background: rgba(231, 220, 75, .22); color: var(--body); font-size: 11px; line-height: 1.75; }
.login-header .header-note { text-transform: uppercase; }
.login-main { box-sizing: border-box; width: min(100%, 1120px); margin: 0 auto; padding: clamp(70px, 9vw, 120px) clamp(22px, 5vw, 50px) 72px; }
.login-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); align-items: center; gap: clamp(40px, 8vw, 112px); }
.login-kicker, .profile-kicker { margin: 0; color: #777b5d; font-size: 10px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.login-main h1 { max-width: 650px; margin: 16px 0 20px; color: var(--ink); font: 400 76px/.96 var(--display); text-transform: uppercase; }
.login-description { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.login-control { min-width: 0; padding: 26px 0 0 28px; border-top: 2px solid var(--red); border-left: 1px solid rgba(29, 38, 32, .2); }
.auth-status { min-height: 40px; margin: 0 0 16px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.auth-status[data-kind="success"] { color: #456b4f; }
.auth-status[data-kind="warning"], .auth-status[data-kind="error"] { color: #a5402e; }
.discord-login { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 18px; padding: 0 18px; background: #5865f2; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-decoration: none; text-transform: uppercase; transition: background-color .18s ease, transform .18s ease; }
.discord-login:hover { background: #4752c4; transform: translateY(-2px); }
.discord-login[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.discord-profile { display: flex; align-items: center; gap: 17px; min-height: 112px; padding: 18px; border: 1px solid rgba(29, 38, 32, .3); border-top: 3px solid var(--yellow); background: rgba(255, 255, 255, .36); box-shadow: 5px 5px 0 rgba(29, 38, 32, .09); }
.discord-avatar { width: 68px; height: 68px; flex: 0 0 auto; border: 2px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(29, 38, 32, .2); }
.profile-kicker { font-size: 8px; }
.discord-profile h2 { margin: 5px 0 2px; color: var(--ink); font: 400 30px/1.05 var(--display); overflow-wrap: anywhere; }
.profile-username { margin: 0; color: var(--muted); font-size: 11px; }
.profile-id { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 13px 0 0; font-size: 10px; }
.profile-id dt { color: var(--muted); font-weight: 700; text-transform: uppercase; }
.profile-id dd { margin: 0; color: var(--body); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.logout-button { margin-top: 16px; min-height: 40px; padding: 0 13px; border: 1px solid rgba(29, 38, 32, .34); background: transparent; color: var(--body); font: 800 9px/1 var(--text); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.logout-button:hover { border-color: var(--red); color: var(--red); }
.credit-request-panel { margin-top: 18px; padding: 18px; border: 1px solid rgba(29, 38, 32, .18); border-top: 3px solid var(--yellow); background: rgba(255, 255, 255, .34); }
.request-kicker { margin: 0 0 14px; color: #777b5d; font-size: 8px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.credit-request-form { display: grid; grid-template-columns: minmax(110px, .4fr) minmax(0, 1fr); gap: 12px; }
.request-field { display: grid; gap: 6px; color: var(--body); font-size: 9px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.request-field input, .request-field select { box-sizing: border-box; width: 100%; min-height: 40px; padding: 0 12px; border: 1px solid rgba(29, 38, 32, .24); border-radius: 0; background: rgba(255, 255, 255, .7); color: var(--body); font: 600 11px/1.4 var(--text); }
.request-field-wide { grid-column: 1 / -1; }
.request-submit { grid-column: 1 / -1; min-height: 42px; border: 0; background: var(--yellow); color: var(--ink); font: 800 9px/1 var(--text); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.request-submit:hover { background: #d5ca3d; }
.admin-portal-link { display: inline-flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding: 0 13px; border: 1px solid rgba(29, 38, 32, .3); border-left: 3px solid var(--yellow); background: rgba(255, 255, 255, .32); color: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.admin-portal-link:hover { border-color: var(--yellow); color: #62601f; }
.login-footnote { margin: 58px 0 0; padding-top: 18px; border-top: 1px solid rgba(29, 38, 32, .2); color: var(--muted); font-size: 10px; line-height: 1.8; }
.login-footer { display: flex; justify-content: space-between; gap: 18px; }
.login-footer p { margin: 0; }
.login-footer a { color: #f1e8d4; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-decoration: none; text-transform: uppercase; }
.login-footer a:hover { color: var(--yellow); }
.login-footer strong { color: var(--yellow); }
.admin-main { box-sizing: border-box; width: min(100%, 1360px); margin: 0 auto; padding: clamp(48px, 7vw, 88px) clamp(20px, 4vw, 52px) 88px; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.admin-kicker { margin: 0; color: #747b5b; font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.admin-heading h1 { margin: 12px 0 10px; color: var(--ink); font: 400 64px/.95 var(--display); text-transform: uppercase; }
.admin-intro { max-width: 680px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.admin-refresh, .admin-login-link { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; padding: 0 13px; border: 1px solid rgba(29, 38, 32, .34); background: transparent; color: var(--body); font: 800 9px/1 var(--text); letter-spacing: 1px; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.admin-refresh:hover, .admin-login-link:hover { border-color: var(--red); color: var(--red); }
.admin-refresh:disabled { opacity: .55; cursor: wait; }
.admin-toolbar { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.admin-status { min-height: 20px; margin: 0; color: var(--muted); font-size: 10px; }
.admin-status[data-kind="error"] { color: #a5402e; }
.admin-status[data-kind="success"] { color: #456b4f; }
.admin-search-label { margin-left: auto; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.admin-search, .credit-form input, .credit-form select { min-height: 38px; padding: 0 10px; border: 1px solid rgba(29, 38, 32, .28); border-radius: 0; background: rgba(255, 255, 255, .45); color: var(--body); font: 500 11px/1.4 var(--text); }
.admin-search { width: min(270px, 38vw); }
.admin-table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); border-bottom: 1px solid rgba(29, 38, 32, .2); }
.admin-table { width: 100%; min-width: 980px; border-collapse: collapse; text-align: left; }
.admin-table th { padding: 13px 12px; color: #66695a; font-size: 8px; font-weight: 800; letter-spacing: 1.3px; text-transform: uppercase; }
.admin-table td { padding: 14px 12px; border-top: 1px solid rgba(29, 38, 32, .14); color: var(--body); font-size: 11px; vertical-align: middle; }
.admin-user-profile { display: flex; min-width: 240px; align-items: center; gap: 12px; }
.admin-user-avatar, .admin-user-fallback { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.admin-user-fallback { display: grid; place-items: center; background: var(--yellow); color: var(--ink); font: 800 14px/1 var(--display); }
.admin-user-profile > div { display: grid; gap: 2px; }
.admin-user-name { color: var(--ink); font-size: 12px; }
.admin-user-meta, .admin-user-id { color: var(--muted); font-size: 9px; }
.admin-user-id { font-variant-numeric: tabular-nums; }
.presence { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.presence::before { width: 7px; height: 7px; border-radius: 50%; background: #a4a391; content: ""; }
.presence.is-online { color: #456b4f; }
.presence.is-online::before { background: #5c9a67; }
.credit-balance { color: var(--ink); font: 400 18px/1 var(--display); white-space: nowrap; }
.credit-form { display: grid; grid-template-columns: 110px 88px minmax(130px, 1fr) auto; gap: 7px; min-width: 420px; }
.credit-form input, .credit-form select { width: 100%; }
.credit-form button { min-height: 38px; padding: 0 12px; border: 0; background: var(--yellow); color: var(--ink); font: 800 8px/1 var(--text); letter-spacing: .8px; text-transform: uppercase; cursor: pointer; }
.credit-form button:hover { background: #d5ca3d; }
.credit-form button:disabled { opacity: .55; cursor: wait; }
.credit-operation { appearance: none; }
.admin-empty { margin: 0; padding: 20px 12px; color: var(--muted); font-size: 11px; }
.admin-ledger { margin-top: 64px; }
.admin-ledger-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; padding-bottom: 15px; border-bottom: 2px solid var(--ink); }
.admin-ledger-heading h2 { margin: 8px 0 0; color: var(--ink); font: 400 34px/1 var(--display); text-transform: uppercase; }
.ledger-count { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.ledger-rows { margin: 0; padding: 0; list-style: none; }
.ledger-rows li { display: flex; justify-content: space-between; gap: 20px; padding: 13px 4px; border-bottom: 1px solid rgba(29, 38, 32, .14); }
.ledger-summary, .ledger-details { display: grid; gap: 3px; }
.ledger-amount { color: #456b4f; font-size: 10px; font-variant-numeric: tabular-nums; }
.ledger-user { color: var(--body); font-size: 10px; }
.ledger-details { justify-items: end; color: var(--muted); font-size: 9px; text-align: right; }
.admin-message { margin-top: 24px; padding: 18px; border-left: 3px solid var(--red); background: rgba(231, 220, 75, .18); color: var(--body); font-size: 12px; line-height: 1.8; }
.admin-message p { margin: 0 0 14px; }
.admin-requests { margin-top: 52px; }
.request-list { display: grid; gap: 14px; margin-top: 18px; }
.request-card { display: grid; gap: 10px; padding: 18px; border: 1px solid rgba(29, 38, 32, .18); background: rgba(255, 255, 255, .42); }
.request-header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.request-user { color: var(--ink); font-size: 12px; }
.request-amount { color: #456b4f; font: 400 18px/1 var(--display); }
.request-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.request-reason { margin: 0; color: var(--body); font-size: 12px; line-height: 1.7; }
.request-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.request-accept, .request-refuse { min-height: 34px; padding: 0 12px; border: 1px solid rgba(29, 38, 32, .3); background: transparent; color: var(--body); font: 800 8px/1 var(--text); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.request-accept { background: rgba(69, 107, 79, .12); border-color: rgba(69, 107, 79, .5); }
.request-refuse { background: rgba(165, 64, 46, .08); border-color: rgba(165, 64, 46, .45); }
.games-main { width: min(100%, 1100px); margin: 0 auto; padding: clamp(44px, 6vw, 88px) clamp(18px, 4vw, 42px) 80px; }
.games-catalog { min-height: calc(100svh - 74px); display: flex; align-items: center; }
.game-catalog { width: 100%; }
.game-catalog > h1 { margin: 8px 0 36px; color: var(--ink); font: 400 clamp(44px, 6vw, 72px)/.95 var(--display); text-transform: uppercase; }
.game-catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.game-launch-card { display: grid; grid-template-columns: minmax(170px, .8fr) minmax(0, 1fr); min-height: 230px; border: 1px solid rgba(29, 38, 32, .3); background: rgba(255, 255, 255, .42); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.game-launch-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(29, 38, 32, .14); }
.game-launch-art { position: relative; display: grid; align-content: center; gap: 14px; overflow: hidden; padding: 18px; background: repeating-linear-gradient(135deg, #243329 0 12px, #1d2620 12px 24px); color: var(--paper); }
.game-launch-art::after { position: absolute; inset: 9px; border: 1px dashed rgba(231, 220, 75, .45); content: ""; pointer-events: none; }
.game-launch-stamp { position: absolute; top: 16px; right: 18px; color: var(--yellow); font: 400 26px/1 var(--display); transform: rotate(8deg); }
.game-launch-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: min(100%, 160px); margin: 12px auto 0; }
.game-launch-numbers span { display: grid; aspect-ratio: 1; place-items: center; border: 1px solid rgba(241, 232, 212, .35); background: rgba(241, 232, 212, .09); color: var(--yellow); font: 400 18px/1 var(--display); }
.game-launch-art-label { color: rgba(241, 232, 212, .75); font-size: 8px; font-weight: 800; letter-spacing: 2px; text-align: center; }
.game-launch-details { display: grid; align-content: space-between; justify-items: start; gap: 18px; padding: clamp(18px, 3vw, 30px); }
.game-launch-details .eyebrow { margin: 0 0 8px; }
.game-launch-details h2 { margin: 0; font: 400 clamp(26px, 3vw, 36px)/1 var(--display); text-transform: uppercase; }
.game-launch-action { display: flex; width: 100%; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid rgba(29, 38, 32, .18); font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.game-launch-action span { color: var(--red); font-size: 18px; }
.cash-ticket-game { position: relative; display: grid; padding: clamp(18px, 3vw, 32px); border: 1px solid rgba(29, 38, 32, .3); background: repeating-linear-gradient(135deg, #243329 0 12px, #1d2620 12px 24px); }
.cash-ticket-game::before { position: absolute; inset: 9px; border: 1px dashed rgba(231, 220, 75, .45); content: ""; pointer-events: none; }
.cash-ticket-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 48px); }
.cash-ticket-info { display: grid; gap: 18px; }
.cash-ticket-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.cash-ticket-header h1 { margin: 8px 0 0; color: var(--paper); font: 400 clamp(42px, 6vw, 72px)/.94 var(--display); text-transform: uppercase; }
.cash-ticket-header .eyebrow { color: var(--yellow); }
.cash-price { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; background: var(--yellow); color: var(--ink); font: 400 18px/1 var(--display); }
.cash-ticket-panel { display: grid; gap: 12px; padding: 18px 20px; border: 1px solid rgba(29, 38, 32, .2); background: var(--paper); }
.cash-ticket-copy { margin: 0; color: var(--body); font-size: 14px; font-weight: 600; line-height: 1.7; }
.cash-ticket-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cash-ticket-button { justify-self: start; min-height: 46px; padding: 0 18px; border: 0; background: var(--red); color: white; font: 800 10px/1 var(--text); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.cash-ticket-button:hover { background: #ba3d2c; }
.cash-ticket-button:disabled { opacity: .6; cursor: wait; }
.cash-ticket-reveal-button { min-height: 46px; padding: 0 18px; border: 1px solid var(--ink); background: var(--yellow); color: var(--ink); font: 800 10px/1 var(--text); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.cash-ticket-reveal-button:hover:not(:disabled) { background: #f0e866; }
.cash-ticket-reveal-button:disabled { opacity: .55; cursor: not-allowed; }
.cash-ticket-status { min-height: 20px; margin: 0; color: var(--body); font-size: 13px; font-weight: 600; line-height: 1.5; }
.cash-ticket-status[data-kind="success"] { color: #285b36; }
.cash-ticket-status[data-kind="error"] { color: #922f23; }
.cash-ticket-winning-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; padding: 14px 16px; border: 1px solid rgba(29, 38, 32, .2); background: var(--paper); }
.cash-ticket-winning-label { color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.cash-ticket-winning-values { display: flex; flex-wrap: wrap; gap: 10px; }
.cash-ticket-winner-value { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(29, 38, 32, .2); background: #f3edd9; color: var(--ink); font: 700 20px/1 var(--display); }
.cash-ticket-winner-value.is-visible { background: var(--yellow); }
.cash-ticket-board { display: grid; grid-template-columns: repeat(3, minmax(90px, 1fr)); width: min(100%, 480px); justify-self: center; gap: 12px; margin: 0; animation: cash-board-arrive .5s cubic-bezier(.2, .75, .25, 1) both; }
.cash-ticket-cell { position: relative; display: grid; place-items: center; overflow: hidden; isolation: isolate; aspect-ratio: 1; padding: 0; border: 1px solid rgba(29, 38, 32, .3); background: #f3edd9; color: var(--ink); font: 700 18px/1 var(--display); cursor: crosshair; transition: transform .15s ease, box-shadow .2s ease; }
.cash-ticket-cell:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 7px 16px rgba(29, 38, 32, .16); }
.cash-ticket-cell:disabled { cursor: default; }
.cash-ticket-value { position: relative; z-index: 0; font: 700 clamp(22px, 3vw, 36px)/1 var(--display); }
.cash-ticket-coating { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; transition: opacity .4s ease; }
.cash-ticket-coating.is-scratched { opacity: 0; pointer-events: none; }
.cash-ticket-cell.is-winning { border-color: #9d8617; background: #e7dc4b; animation: cash-win-reveal .55s cubic-bezier(.16, 1.3, .4, 1) both; }
.cash-ticket-cell.is-losing { background: #ece2c2; color: #4c4e45; animation: cash-lose-reveal .35s ease-out both; }
.cash-ticket-winner-value.is-visible { animation: cash-number-flip .4s cubic-bezier(.2, .75, .25, 1) both; }
@keyframes cash-board-arrive { from { opacity: 0; transform: translateX(18px) scale(.98); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes cash-win-reveal { 0% { transform: scale(.88); box-shadow: 0 0 0 rgba(231, 220, 75, 0); } 55% { transform: scale(1.06); box-shadow: 0 0 26px rgba(231, 220, 75, .8); } 100% { transform: scale(1); box-shadow: 0 0 0 rgba(231, 220, 75, 0); } }
@keyframes cash-lose-reveal { from { opacity: .4; } to { opacity: 1; } }
@keyframes cash-number-flip { from { opacity: .3; transform: rotateX(75deg) scale(.8); } to { opacity: 1; transform: rotateX(0) scale(1); } }
[hidden] { display: none !important; }

html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
html.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 760px) {
  .games-catalog { min-height: auto; }
  .game-launch-card { grid-template-columns: minmax(120px, .75fr) minmax(0, 1fr); min-height: 200px; }
  .game-launch-details { padding: 18px; }
  .game-launch-art { padding: 12px; }
  .cash-ticket-layout { grid-template-columns: minmax(0, 1fr); }
  .cash-ticket-board { width: min(100%, 420px); }
  .site-header { height: 68px; padding: 0 18px; }
  .header-note { display: none; }
  .site-header nav { gap: 13px; }
  .site-header nav a { font-size: 9px; letter-spacing: .8px; }
  .site-header nav .header-account { max-width: 160px; min-height: 34px; }
  .header-account-avatar, .header-account-fallback { width: 25px; height: 25px; }
  .header-account-name { max-width: 110px; font-size: 8px; }
  .header-credit-balance { min-height: 32px; padding: 0 8px; font-size: 14px; }
  .hero { height: 68svh; min-height: 520px; padding: 26px 22px 34px; background-position: 57% center; }
  .hero-copy {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "kicker" "title" "bottom";
    align-items: start;
    row-gap: 0;
  }
  .hero-logo { justify-self: start; align-self: start; width: 135px; max-height: 125px; margin: 0 0 10px -4px; transform: rotate(-3deg); }
  .hero-kicker { margin-bottom: 11px; font-size: 9px; letter-spacing: 1.8px; }
  .hero h1 { margin-bottom: 17px; font-size: 78px; line-height: .84; }
  .hero-bottom { gap: 14px; }
  .hero-bottom p { font-size: 11px; }
  .text-link { min-height: 43px; padding: 0 13px; font-size: 8px; }
  .road-tape { padding: 13px 0; }
  .road-tape-group { gap: 20px; padding-right: 20px; }
  .road-tape-track { font-size: 17px; }
  .intro, .location { padding: 68px 22px; }
  .intro-inner, .location-inner, .details-inner { grid-template-columns: 1fr; }
  .intro-inner { gap: 25px; }
  .intro h2, .location h2, .details h2 { margin-top: 15px; font-size: 58px; }
  .intro-copy { font-size: 12px; }
  .fact-strip { margin-top: 45px; }
  .fact { padding-right: 7px; }
  .fact + .fact { padding-left: 10px; }
  .fact span { font-size: 8px; letter-spacing: 1px; }
  .fact strong { font-size: 19px; }
  .location-inner { gap: 36px; }
  .location-copy { font-size: 12px; }
  .map { min-height: 0; box-shadow: 7px 7px 0 var(--yellow); }
  .details { padding: 64px 22px; }
  .details-inner { gap: 22px; }
  .details-note { padding-left: 17px; }
  .details p { font-size: 12px; }
  footer { grid-template-columns: 1fr; justify-items: center; gap: 12px; text-align: center; }
  footer .footer-actions { grid-row: 2; }
  .legal-copy { grid-template-columns: 1fr; gap: 14px; }
  .legal-main { padding-top: 58px; }
  .legal-lead { margin-bottom: 36px; font-size: 13px; }
  .legal-row { grid-template-columns: 1fr; gap: 10px; padding: 20px 0; }
  .legal-row h2 { font-size: 22px; }
  .legal-note { padding: 14px 16px; }
  .legal-header { padding: 0 18px; }
  .login-header { padding: 0 18px; }
  .login-header .header-note { display: none; }
  .login-header nav a { font-size: 9px; letter-spacing: .8px; }
  .login-main { padding: 58px 22px 48px; }
  .login-content { grid-template-columns: 1fr; gap: 36px; }
  .login-main h1 { margin: 14px 0; font-size: 52px; }
  .login-description { font-size: 12px; }
  .login-control { padding: 22px 0 0; border-left: 0; }
  .discord-profile { gap: 13px; padding: 15px; }
  .discord-avatar { width: 58px; height: 58px; }
  .discord-profile h2 { font-size: 26px; }
  .login-footnote { margin-top: 40px; }
  .login-footer { flex-direction: column; align-items: center; text-align: center; }
  .admin-main { padding: 48px 18px 64px; }
  .admin-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 24px; }
  .admin-heading h1 { font-size: 48px; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-search-label { margin: 4px 0 0; }
  .admin-search { width: 100%; }
  .admin-table { min-width: 900px; }
  .admin-ledger { margin-top: 46px; }
  .admin-ledger-heading h2 { font-size: 29px; }
  .ledger-rows li { flex-direction: column; gap: 8px; }
  .ledger-details { justify-items: start; text-align: left; }
}

@media (max-width: 390px) {
  .brand { gap: 8px; font-size: 18px; }
  .site-header nav { gap: 10px; }
  .site-header nav a { font-size: 8px; }
  .hero h1 { font-size: 70px; }
  .hero-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}