:root {
  --bg: #060c08;
  --surface: #0a140c;
  --surface-raised: #0e1a12;
  --border: rgba(68, 204, 68, 0.18);
  --border-bright: rgba(68, 204, 68, 0.35);
  --text: #e8ffe8;
  --text-muted: #7a9088;
  --muted: var(--text-muted);
  --accent: #44cc44;
  --accent-glow: rgba(68, 204, 68, 0.3);
  --accent-dim: #228844;
  --gold: #e3a520;
  --gold-glow: rgba(227, 165, 32, 0.2);
  --danger: #cc4444;
  --success: #44cc44;
  --info: #6a9a7a;
  --purple: #9a7acc;
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --scrollbar-track: rgba(0, 0, 0, 0.35);
  --scrollbar-thumb: rgba(68, 204, 68, 0.35);
  --scrollbar-thumb-hover: rgba(68, 204, 68, 0.52);
  --scrollbar-size: 10px;
  --app-header-height: 64px;
  --mobile-header-height: 72px;
  --page-bg: var(--bg);
}

* {
  box-sizing: border-box;
}

/* Scroll works; scrollbar hidden (Firefox, Chrome/Safari, legacy Edge) */
.scrollbar-hidden {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hidden::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Shared dark/green scrollbar for app panels */
.app-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

.app-scrollbar::-webkit-scrollbar {
  width: var(--scrollbar-size);
  height: var(--scrollbar-size);
}

.app-scrollbar::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
  border-radius: 999px;
}

.app-scrollbar::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
}

@media (prefers-reduced-motion: no-preference) {
  .app-scrollbar::-webkit-scrollbar-thumb {
    transition: background 0.15s ease;
  }
}

.app-scrollbar::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
}

body.site-body {
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  transition:
    color 0.15s,
    text-shadow 0.15s;
}
a:hover {
  color: #66ee66;
  text-shadow: 0 0 8px var(--accent-glow);
}

/* ---- Navigation ---- */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  z-index: 100;
  position: relative;
}

.site-nav--sticky {
  position: sticky;
  top: 0;
  background: rgba(6, 12, 8, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(68, 204, 68, 0.08);
}

.site-nav--floating {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border: none;
}

.site-nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(68, 204, 68, 0.25);
}

.logo-mark {
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 3px rgba(68, 204, 68, 0.35));
}

.logo-wordmark {
  line-height: 1;
}

.nav-spacer {
  flex: 1;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-links a:hover {
  color: var(--text);
}

.nav-links a.nav-link--active {
  color: #66ee66;
  text-shadow: 0 0 10px rgba(68, 204, 68, 0.35);
  box-shadow: inset 0 -2px 0 rgba(85, 238, 85, 0.55);
}

.nav-links a.nav-link--admin {
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.nav-links a.nav-link--admin:hover {
  color: var(--accent);
}

.site-nav .logo.logo--active {
  color: #66ee66;
  text-shadow: 0 0 12px rgba(68, 204, 68, 0.4);
}

.nav-links a.nav-signout {
  color: var(--danger);
}

.nav-links a.nav-signout:hover {
  color: #e85555;
}

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-bright);
}

.nav-avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--border-bright);
}

.nav-bounties {
  color: var(--text-muted);
  font-size: 0.95rem;
  opacity: 0.45;
  cursor: not-allowed;
  letter-spacing: 0.04em;
}

.nav-signin {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text-muted);
}

.nav-signin:hover {
  color: var(--text);
}

/* ---- Buttons ---- */
.btn-primary {
  background: linear-gradient(180deg, #3a8a3a 0%, #2a6a2a 100%);
  color: #e8ffe8 !important;
  padding: 0.55rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  border: 1.5px solid var(--accent);
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--font-display);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0 16px var(--accent-glow);
  transition:
    filter 0.15s,
    transform 0.1s,
    box-shadow 0.15s;
}
.btn-primary:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 24px rgba(68, 204, 68, 0.5);
}
.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(8, 14, 10, 0.85);
  color: var(--text) !important;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid var(--border-bright);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: all 0.12s;
}
.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(68, 204, 68, 0.08);
}

/* Product CTA labels — title case in markup, uppercase in UI */
.hunter-profile-bounties,
.bounty-card-cta,
.bounty-slide-cta,
.btn-bounty-enter,
.btn-run-detail,
.run-card-view,
.bounty-attempts-action.btn-run-detail,
.pg-action-btn,
.landing-section-cta {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-danger {
  color: var(--danger) !important;
  border-color: var(--danger) !important;
}
.btn-danger:hover {
  background: rgba(204, 68, 68, 0.12) !important;
  border-color: var(--danger) !important;
}

.btn-secondary.btn-danger {
  background: rgba(16, 8, 8, 0.72);
  border-color: rgba(204, 68, 68, 0.72) !important;
}

.btn-secondary.btn-danger:hover {
  background: rgba(204, 68, 68, 0.14) !important;
  border-color: var(--danger) !important;
  color: #ffb4b4 !important;
}

.btn-hero {
  min-height: 58px;
  padding: 1rem 3rem;
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  letter-spacing: 0.08em;
  animation: btn-pulse 2.4s ease-in-out infinite;
}

.btn-enter-game:hover {
  box-shadow:
    0 0 24px var(--accent-glow),
    0 0 48px rgba(68, 204, 68, 0.45);
  transform: translateY(-1px);
}

@keyframes btn-pulse {
  0%,
  100% {
    box-shadow: 0 0 18px var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 36px rgba(68, 204, 68, 0.6);
  }
}

.btn-signin-subtle {
  background: none;
  border: none;
  color: var(--text-muted) !important;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  letter-spacing: 0.03em;
}
.btn-signin-subtle:hover {
  color: var(--accent) !important;
  text-shadow: none;
}

/* ---- Layout ---- */
.site-main {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  box-sizing: border-box;
}

.site-main--full {
  max-width: none;
  padding: 0;
  margin: 0;
}

.site-footer {
  flex-shrink: 0;
  text-align: center;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.site-footer--bar {
  padding: 0.65rem 1rem 0.75rem;
  margin-top: auto;
  background: rgba(6, 12, 8, 0.96);
  backdrop-filter: blur(8px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  margin-bottom: 0.35rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-links a:hover {
  color: var(--accent);
}

.site-footer-copy {
  margin: 0;
  font-size: 0.6875rem;
  color: #a3b8b0;
  letter-spacing: 0.04em;
}

.footer-links .footer-disabled {
  color: var(--text-muted);
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---- Generic components ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
}

.card h3 {
  margin-top: 0;
  color: var(--accent);
}

.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th,
td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
}
.empty-state .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.5;
}
.empty-state p {
  margin: 0.5rem 0;
}
.empty-state .btn-primary {
  margin-top: 1rem;
}

/* ---- Home / landing page ---- */
body.home-page {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

body.home-page .site-footer--home {
  z-index: 50;
  margin-top: 0;
  padding: 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(6, 12, 8, 0.96);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
  scroll-snap-align: end;
  scroll-snap-stop: normal;
}

.landing-footer-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(14rem, 36vh, 18rem);
  padding: clamp(2rem, 4.5vh, 3rem) 1.5rem clamp(1.75rem, 3.5vh, 2.5rem);
  overflow: hidden;
  box-sizing: border-box;
  border-bottom: 1px solid var(--border);
}

.landing-footer-watermark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(40vw, 220px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.065;
  pointer-events: none;
  z-index: 0;
}

.landing-footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: min(42ch, 92vw);
  text-align: center;
}

.landing-footer-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 8.5vw, 2.5rem);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(68, 204, 68, 0.28);
}

.landing-footer-lead {
  margin: 0;
  font-size: clamp(0.9375rem, 4vw, 1rem);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--text);
}

.landing-footer-lead--mobile {
  display: none;
}

.landing-footer-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(1rem + 5px);
  margin-top: 0.5rem;
  width: 100%;
}

.landing-footer-actions .btn-hero {
  width: 100%;
  max-width: min(100%, 320px);
  min-height: 48px;
  padding: 0.65rem 1.5rem;
  font-size: clamp(0.95rem, 4vw, 1rem);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.landing-footer-bounties-link {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #8faf9a;
  transition: color 0.2s;
  white-space: nowrap;
}

.landing-footer-bounties-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-footer--home .footer-links {
  padding: 0.75rem 1rem 0.35rem;
  margin-bottom: 0.35rem;
}

.site-footer--home .site-footer-copy {
  padding: 0 1rem 0.75rem;
}

@media (min-width: 769px) {
  .landing-footer-cta {
    min-height: clamp(15rem, 32vh, 19rem);
    padding: clamp(2.25rem, 4vh, 3.25rem) 1.5rem clamp(2rem, 3.5vh, 2.75rem);
  }

  .landing-footer-inner {
    max-width: min(56rem, 92vw);
    gap: 1rem;
  }

  .landing-footer-heading {
    font-size: clamp(2.75rem, 3.2vw, 3.5rem);
    letter-spacing: 0.075em;
  }

  .landing-footer-lead--desktop {
    font-size: clamp(1rem, 1vw, 1.125rem);
    max-width: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .landing-footer-actions {
    flex-direction: column;
    align-items: center;
    gap: calc(0.85rem + 5px);
    margin-top: 0.85rem;
  }

  .landing-footer-actions .btn-hero {
    width: auto;
    min-width: 210px;
    max-width: none;
    min-height: 48px;
    padding: 0.65rem 1.85rem;
    font-size: 1rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .landing-footer-bounties-link {
    font-size: clamp(0.75rem, 0.85vw, 0.875rem);
    color: #a8c8b4;
  }

  .landing-footer-watermark {
    width: min(26vw, 260px);
  }
}

@media (max-width: 768px) {
  .landing-footer-lead--desktop {
    display: none;
  }

  .landing-footer-lead--mobile {
    display: block;
  }

  .landing-footer-cta {
    min-height: clamp(13rem, 34vh, 16rem);
  }
}

.site-nav--landing {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(6, 12, 8, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(68, 204, 68, 0.08);
  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    backdrop-filter 0.4s ease;
}

.site-nav--landing.site-nav--solid {
  background: rgba(6, 12, 8, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.site-nav--landing .logo {
  font-size: 1.28rem;
  color: #55ee55;
  text-shadow: 0 0 10px rgba(68, 204, 68, 0.28);
}

.site-nav--landing .logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  filter: drop-shadow(0 0 3px rgba(68, 204, 68, 0.32));
}

.site-nav--landing .nav-links a.nav-link--active:not(.btn-primary) {
  color: #66ee66;
  text-shadow: 0 0 10px rgba(68, 204, 68, 0.35);
  box-shadow: inset 0 -2px 0 rgba(85, 238, 85, 0.55);
}

.site-nav--landing .logo.logo--active {
  color: #66ee66;
  text-shadow: 0 0 12px rgba(68, 204, 68, 0.4);
}

.site-nav--landing .nav-links a:not(.btn-primary) {
  color: #a8c4b0;
  font-weight: 600;
}

.site-nav--landing .nav-links a:not(.btn-primary):hover {
  color: var(--text);
}

.site-nav--landing .nav-links a.nav-signin {
  color: #a8c4b0;
  font-weight: 600;
}

.site-nav--landing .nav-links a.nav-signin:hover {
  color: var(--text);
}

.site-nav--landing .nav-links a.nav-signout {
  color: var(--danger);
}

.site-nav--landing .nav-links a.nav-signout:hover {
  color: #e85555;
}

.home-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.landing-sections {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.landing-section--snap:last-of-type {
  scroll-snap-stop: normal;
}

.landing-sections::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.landing-section--snap {
  min-height: 100vh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.landing-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.25rem 4.5rem;
  text-align: center;
}

.landing-inner {
  width: min(960px, 100%);
  margin: 0 auto;
}

.landing-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.5rem;
  text-shadow: 0 0 12px var(--accent-glow);
}

.landing-section-cta {
  margin-top: 1.75rem;
}

.landing-scroll-down {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.5rem;
  z-index: 5;
}

.landing-scroll-down[hidden] {
  display: none !important;
}

.landing-scroll-down:hover {
  color: var(--accent);
}

.landing-scroll-arrow {
  font-size: 1.1rem;
  animation: landing-bounce 2s ease-in-out infinite;
}

.landing-scroll-label {
  text-transform: uppercase;
}

@keyframes landing-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* Hero */
.landing-hero {
  padding-top: 6rem;
  overflow: hidden;
  background: #050a08;
}

.landing-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 44%;
  z-index: 0;
  pointer-events: none;
}

.landing-hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 10, 8, 0.88) 0%,
      rgba(5, 10, 8, 0.62) 22%,
      rgba(5, 10, 8, 0.48) 45%,
      rgba(6, 8, 16, 0.72) 100%
    ),
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(5, 10, 8, 0.82) 0%, transparent 62%),
    radial-gradient(ellipse at 50% 32%, rgba(68, 204, 68, 0.08) 0%, transparent 58%);
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.landing-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: clamp(3.5rem, 14vh, 7.5rem);
}

.landing-hero-actions .hero-stats {
  margin: 0;
}

.landing-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 10vw, 5.5rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-shadow:
    0 0 20px var(--accent-glow),
    0 0 40px rgba(68, 204, 68, 0.25);
}

.landing-animate-in {
  opacity: 0;
  animation: landing-fade-glow 1s ease-out forwards;
}

.landing-animate-in--delay {
  animation-delay: 0.35s;
}

.landing-animate-in--delay-2 {
  animation-delay: 0.5s;
}

.landing-animate-in--delay-3 {
  animation-delay: 0.7s;
}

@keyframes landing-fade-glow {
  0% {
    opacity: 0;
    transform: translateY(12px);
    filter: brightness(0.6);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: brightness(1);
  }
}

.landing-subtitle {
  margin: 0 0 0.35rem;
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  letter-spacing: 0.04em;
  color: var(--text);
  max-width: min(42ch, 92vw);
}

.landing-hero-ticker {
  margin: 0.75rem 0 0;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: rgba(10, 20, 12, 0.6);
  border: 1px solid var(--border);
  border-radius: 999px;
  max-width: min(420px, 92vw);
  transition: opacity 0.4s ease;
}

.landing-hero-ticker.is-fading {
  opacity: 0;
}

/* Hero ticker styled spans */
.ticker-name {
  color: #88ffaa;
}
.ticker-amount {
  color: var(--gold);
  font-weight: 700;
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4rem);
  margin: 1.5rem 0;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #44cc44;
  line-height: 1;
}

.hero-stat-number--gold {
  color: #e3a520;
}

.hero-stat-label {
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.hero-stat-label--solo {
  display: block;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  max-width: 11ch;
}

/* Bounty section */
.landing-bounty {
  background: linear-gradient(180deg, #050a08 0%, #081510 50%, #060810 100%);
  justify-content: center;
  padding-top: clamp(3.5rem, 7vh, 5rem);
  padding-bottom: clamp(2rem, 4vh, 3rem);
}

.landing-bounty-stack {
  flex: 1;
  width: min(1320px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 0;
  gap: 0.85rem;
}

@media (min-width: 769px) {
  .landing-bounty.landing-section {
    padding-left: clamp(1.25rem, 3vw, 2.5rem);
    padding-right: clamp(1.25rem, 3vw, 2.5rem);
  }

  .landing-bounty-stack {
    width: min(1320px, calc(100% - 1rem));
  }
}

@media (min-width: 1440px) {
  .landing-bounty-stack {
    width: min(1400px, calc(100% - 2rem));
  }
}

.landing-bounty-header {
  text-align: center;
  flex-shrink: 0;
}

.landing-bounty-label {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

.landing-bounty-subtitle {
  margin: 0;
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  color: rgba(201, 255, 211, 0.55);
  letter-spacing: 0.03em;
  line-height: 1.45;
  max-width: 36rem;
  margin-inline: auto;
}

/* Bounty Banner Carousel — contract tier colour system */
.tier-free {
  --tier-accent: #44cc44;
  --bounty-accent: #44cc44;
  --bounty-accent-soft: rgba(68, 204, 68, 0.06);
  --bounty-accent-glow: rgba(68, 204, 68, 0.16);
  --tier-accent-dim: rgba(68, 204, 68, 0.15);
  --tier-glow: 0 0 40px rgba(68, 204, 68, 0.15);
  --tier-bg: linear-gradient(135deg, #060c08 0%, #0a1a0e 40%, #081210 100%);
  color: #44cc44;
}
.tier-daily {
  --tier-accent: #2299bb;
  --bounty-accent: #2299bb;
  --bounty-accent-soft: rgba(34, 153, 187, 0.06);
  --bounty-accent-glow: rgba(34, 153, 187, 0.16);
  --tier-accent-dim: rgba(34, 153, 187, 0.22);
  --tier-glow: 0 0 48px rgba(34, 153, 187, 0.22);
  --tier-bg: linear-gradient(135deg, #050a0c 0%, #0a1822 40%, #060e14 100%);
  color: #2299bb;
}
.tier-challenge {
  --tier-accent: #8855cc;
  --bounty-accent: #8855cc;
  --bounty-accent-soft: rgba(136, 85, 204, 0.06);
  --bounty-accent-glow: rgba(136, 85, 204, 0.16);
  --tier-accent-dim: rgba(136, 85, 204, 0.22);
  --tier-glow: 0 0 48px rgba(136, 85, 204, 0.22);
  --tier-bg: linear-gradient(135deg, #080510 0%, #160a28 40%, #0c0818 100%);
  color: #8855cc;
}
.tier-event {
  --tier-accent: #e3a520;
  --bounty-accent: #e3a520;
  --bounty-accent-soft: rgba(227, 165, 32, 0.06);
  --bounty-accent-glow: rgba(227, 165, 32, 0.18);
  --tier-accent-dim: rgba(227, 165, 32, 0.25);
  --tier-glow: 0 0 48px rgba(227, 165, 32, 0.28);
  --tier-bg: linear-gradient(135deg, #0c0a04 0%, #1a1408 40%, #100e06 100%);
  color: #e3a520;
}

/* Carousel layout — horizontal track (slides sit side-by-side, track translates) */
.bounty-carousel {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  height: clamp(480px, 62vh, 640px);
  min-height: 480px;
  max-height: calc(100dvh - 11rem);
  overflow: hidden;
  --carousel-accent: #44cc44;
  touch-action: pan-y;
}

.bounty-carousel-track {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Slide / mission contract billboard — one full-width panel per track slot */
.bounty-slide.bounty-billboard {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.bounty-billboard {
  --hud-accent: var(--bounty-accent, var(--tier-accent, #44cc44));
  --hud-accent-dim: color-mix(in srgb, var(--hud-accent) 55%, transparent);
  --hud-accent-soft: var(
    --bounty-accent-soft,
    color-mix(in srgb, var(--hud-accent) 6%, transparent)
  );
  --hud-accent-glow: var(
    --bounty-accent-glow,
    color-mix(in srgb, var(--hud-accent) 16%, transparent)
  );
  background:
    linear-gradient(color-mix(in srgb, var(--hud-accent) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--hud-accent) 3.5%, transparent) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 70% 45%,
      color-mix(in srgb, var(--hud-accent) 12%, transparent),
      transparent 35%
    ),
    var(--tier-bg);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto;
}

.bounty-billboard::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 42%,
    color-mix(in srgb, var(--hud-accent) 12%, transparent) 50%,
    transparent 58%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: scanSweep 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes scanSweep {
  0% {
    transform: translateX(-120%);
  }
  45% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.corner {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: color-mix(in srgb, var(--hud-accent) 80%, transparent);
  pointer-events: none;
  z-index: 4;
}
.corner-tl {
  top: 18px;
  left: 18px;
  border-top: 2px solid;
  border-left: 2px solid;
}
.corner-tr {
  top: 18px;
  right: 18px;
  border-top: 2px solid;
  border-right: 2px solid;
}
.corner-bl {
  bottom: 18px;
  left: 18px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}
.corner-br {
  bottom: 18px;
  right: 18px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

.bounty-slide-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tier-accent);
  box-shadow: var(--tier-glow);
  z-index: 3;
}

.bounty-slide-border-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--tier-accent-dim);
  z-index: 3;
}

.bounty-billboard-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto;
  grid-template-areas:
    'content mission radar'
    'actions mission radar';
  align-items: center;
  gap: clamp(1.25rem, 3.5vw, 3rem);
  height: 100%;
  padding: clamp(2.25rem, 4.5vh, 3.5rem) clamp(1.75rem, 4vw, 3.75rem);
  box-sizing: border-box;
}

.bounty-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.bounty-mission {
  grid-area: mission;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.bounty-billboard-actions {
  grid-area: actions;
  align-self: start;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bounty-billboard-actions .bounty-slide-cta {
  margin-top: 0;
}

.bounty-billboard-actions .landing-bounty-viewall {
  margin-top: 0.75rem;
  min-width: min(100%, 240px);
  box-sizing: border-box;
  color: var(--bounty-accent, var(--hud-accent, var(--accent)));
  border-color: color-mix(
    in srgb,
    var(--bounty-accent, var(--hud-accent, var(--accent))) 55%,
    transparent
  );
  background: color-mix(
    in srgb,
    var(--bounty-accent, var(--hud-accent, var(--accent))) 6%,
    transparent
  );
  box-shadow: 0 0 12px
    color-mix(in srgb, var(--bounty-accent, var(--hud-accent, var(--accent))) 16%, transparent);
}

.bounty-billboard-actions .landing-bounty-viewall:hover {
  border-color: var(--bounty-accent, var(--hud-accent, var(--accent)));
  background: color-mix(
    in srgb,
    var(--bounty-accent, var(--hud-accent, var(--accent))) 12%,
    transparent
  );
  box-shadow: 0 0 18px
    color-mix(in srgb, var(--bounty-accent, var(--hud-accent, var(--accent))) 24%, transparent);
}

.radar-module {
  grid-area: radar;
  position: relative;
  width: clamp(190px, 21vw, 300px);
  height: clamp(190px, 21vw, 300px);
  opacity: 0.92;
  justify-self: end;
  align-self: center;
}

.billboard-kicker {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.6vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bounty-accent, var(--tier-accent, var(--hud-accent)));
  text-shadow: 0 0 14px
    color-mix(in srgb, var(--bounty-accent, var(--tier-accent, var(--hud-accent))) 35%, transparent);
}

.bounty-slide-cta.btn-primary--disabled {
  cursor: default;
  opacity: 0.88;
  pointer-events: none;
  filter: none;
}

.bounty-slide--upcoming .bounty-slide-cta.btn-primary--disabled {
  background: color-mix(in srgb, var(--bounty-accent) 18%, #121812);
  border: 1.5px solid color-mix(in srgb, var(--bounty-accent) 45%, transparent);
  color: color-mix(in srgb, var(--bounty-accent) 85%, #fff) !important;
  box-shadow: none;
}

.bounty-opens-countdown {
  margin: 0.65rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.8vw, 0.82rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bounty-accent) 80%, #fff);
}

.bounty-opens-countdown.is-hidden {
  display: none;
}

.tier-free .bounty-slide-cta:not(.btn-primary--disabled) {
  background: linear-gradient(180deg, #3a8a3a 0%, #2a6a2a 100%);
  border-color: var(--tier-accent);
  color: #e8ffe8 !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--tier-accent) 40%, transparent);
}

.tier-daily .bounty-slide-cta:not(.btn-primary--disabled) {
  background: linear-gradient(180deg, #2a8aaa 0%, #1a6a88 100%);
  border-color: var(--tier-accent);
  color: #e8f8ff !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--tier-accent) 40%, transparent);
}

.tier-challenge .bounty-slide-cta:not(.btn-primary--disabled) {
  background: linear-gradient(180deg, #7a4fbb 0%, #5a3899 100%);
  border-color: var(--tier-accent);
  color: #f4ecff !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--tier-accent) 40%, transparent);
}

.tier-event .bounty-slide-cta:not(.btn-primary--disabled) {
  background: linear-gradient(135deg, #c89520, #e3a520);
  border-color: #e3a520;
  color: #0a0804 !important;
  box-shadow: 0 0 16px color-mix(in srgb, var(--tier-accent) 40%, transparent);
}

.tier-event .bounty-slide-cta:not(.btn-primary--disabled):hover {
  background: linear-gradient(135deg, #d4a530, #f0b530);
}

.bounty-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: clamp(1.25rem, 2.5vh, 1.75rem);
}

.bounty-chips span {
  border: 1px solid var(--hud-accent-dim);
  color: var(--hud-accent);
  background: var(--hud-accent-soft);
  padding: 7px 12px;
  font-size: clamp(0.72rem, 1.25vw, 0.8125rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 0 12px var(--hud-accent-glow);
}

.bounty-slide-name {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 700;
  color: #f2f6f2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.08;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.bounty-slide-reward {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #e3a520;
  text-shadow: 0 0 30px rgba(227, 165, 32, 0.4);
  margin: 0;
}

.objective-panel {
  margin: 0 0 clamp(1.25rem, 2.5vh, 1.75rem);
  max-width: 360px;
  border-left: 2px solid var(--hud-accent-dim);
  padding-left: 18px;
}

.panel-label {
  color: rgba(201, 255, 211, 0.62);
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.35vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.objective-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d4f0dc;
  font-size: clamp(0.9rem, 1.55vw, 1.05rem);
  line-height: 1.65;
}

.objective-dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.5em;
  background: var(--hud-accent);
  box-shadow: 0 0 10px var(--hud-accent);
}

.bounty-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  gap: 12px;
  max-width: 380px;
}

.bounty-stats div {
  border: 1px solid color-mix(in srgb, var(--hud-accent) 22%, transparent);
  background: color-mix(in srgb, var(--hud-accent) 4.5%, transparent);
  padding: clamp(12px, 2vh, 16px);
}

.bounty-stats strong {
  display: block;
  color: var(--hud-accent);
  font-size: clamp(1.125rem, 2.1vw, 1.375rem);
  letter-spacing: 0.06em;
  font-family: var(--font-display);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.bounty-stats span {
  color: rgba(201, 255, 211, 0.62);
  font-size: clamp(0.6875rem, 1.15vw, 0.8125rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bounty-slide-cta {
  margin-top: 0.25rem;
  min-width: min(100%, 240px);
  padding: 0.85rem 3rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-align: center;
  justify-content: center;
}

/* Carousel accent follows active slide tier */
.bounty-carousel:has(.tier-free.bounty-slide--active) {
  --carousel-accent: #44cc44;
}
.bounty-carousel:has(.tier-daily.bounty-slide--active) {
  --carousel-accent: #2299bb;
}
.bounty-carousel:has(.tier-challenge.bounty-slide--active) {
  --carousel-accent: #8855cc;
}
.bounty-carousel:has(.tier-event.bounty-slide--active) {
  --carousel-accent: #e3a520;
}

.radar-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.radar-svg circle,
.radar-svg line {
  fill: none;
  stroke: color-mix(in srgb, var(--hud-accent) 32%, transparent);
  stroke-width: 1.5;
}

.radar-core,
.radar-dot {
  fill: var(--hud-accent) !important;
  stroke: none !important;
  filter: drop-shadow(0 0 8px var(--hud-accent));
}

.radar-sweep {
  fill: color-mix(in srgb, var(--hud-accent) 8%, transparent);
  stroke: color-mix(in srgb, var(--hud-accent) 16%, transparent);
  transform-origin: 130px 130px;
  animation: radarSweep 4s linear infinite;
}

@keyframes radarSweep {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bounty-billboard::after,
  .radar-sweep {
    animation: none !important;
  }

  .bounty-carousel-track {
    transition: none !important;
  }
}

/* Carousel navigation */
.bounty-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 1px solid color-mix(in srgb, var(--carousel-accent) 35%, transparent);
  border-radius: 50%;
  background: rgba(6, 12, 8, 0.7);
  color: var(--carousel-accent);
  font-size: 1.5rem;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.bounty-carousel-arrow:hover {
  background: color-mix(in srgb, var(--carousel-accent) 14%, transparent);
  border-color: var(--carousel-accent);
}
.bounty-carousel-arrow--prev {
  left: 1.5rem;
}
.bounty-carousel-arrow--next {
  right: 1.5rem;
}

.bounty-carousel-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1.5rem 1rem;
  background: linear-gradient(
    to top,
    rgba(5, 10, 8, 0.88) 0%,
    rgba(5, 10, 8, 0.5) 65%,
    transparent 100%
  );
  pointer-events: none;
}

.bounty-carousel-footer > * {
  pointer-events: auto;
}

.bounty-carousel-dots {
  position: static;
  display: flex;
  gap: 0.5rem;
  transform: none;
}
.bounty-carousel-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.bounty-carousel-dot::before {
  content: '';
  position: absolute;
  inset: -16px;
}
.bounty-carousel-dot--active {
  background: var(--carousel-accent);
  border-color: var(--carousel-accent);
  transform: scale(1.3);
}

/* Carousel empty + view-all */
.bounty-carousel-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}
.landing-bounty-viewall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.45rem 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 1.4vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--carousel-accent, var(--accent));
  border: 1px solid color-mix(in srgb, var(--carousel-accent, var(--accent)) 55%, transparent);
  background: color-mix(in srgb, var(--carousel-accent, var(--accent)) 6%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--carousel-accent, var(--accent)) 16%, transparent);
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s,
    color 0.2s;
}
.landing-bounty-viewall:hover {
  text-decoration: none;
  border-color: var(--carousel-accent, var(--accent));
  background: color-mix(in srgb, var(--carousel-accent, var(--accent)) 12%, transparent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--carousel-accent, var(--accent)) 24%, transparent);
}

.btn-gold {
  background: linear-gradient(180deg, #c99218 0%, #9a7010 100%);
  color: #fff8e8 !important;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  border: 1.5px solid var(--gold);
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-display);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 0 20px var(--gold-glow);
  transition:
    filter 0.15s,
    transform 0.1s,
    box-shadow 0.15s;
}

.btn-gold:hover {
  filter: brightness(1.12);
  box-shadow: 0 0 28px rgba(227, 165, 32, 0.45);
}

/* How the hunt works */
.landing-how {
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--accent) 3.5%, transparent) 1px,
      transparent 1px
    ),
    radial-gradient(ellipse at center, rgba(68, 204, 68, 0.07) 0%, transparent 65%),
    linear-gradient(180deg, #050a08 0%, #081510 50%, #060810 100%);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto;
}

.landing-how.landing-section {
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  box-sizing: border-box;
}

.landing-how-inner {
  width: min(1040px, 100%);
  flex: 0 1 auto;
  margin-block: auto;
}

.landing-how .landing-heading {
  margin-bottom: 0.65rem;
}

.landing-how-subtitle {
  margin: 0 0 1.75rem;
  font-size: clamp(0.85rem, 1.8vw, 1rem);
  color: rgba(201, 255, 211, 0.55);
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-align: center;
}

.landing-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.landing-step {
  position: relative;
  z-index: 1;
  --hud-accent: var(--accent);
  overflow: hidden;
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--accent) 3.5%, transparent) 1px,
      transparent 1px
    ),
    radial-gradient(
      circle at 80% 20%,
      color-mix(in srgb, var(--accent) 8%, transparent),
      transparent 42%
    ),
    rgba(6, 12, 9, 0.88);
  background-size:
    28px 28px,
    28px 28px,
    auto,
    auto;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 2px;
  padding: 1.65rem 1.35rem 1.5rem;
  text-align: left;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.landing-step .corner {
  width: 22px;
  height: 22px;
}

.landing-step .corner-tl,
.landing-step .corner-tr {
  top: 10px;
}

.landing-step .corner-bl,
.landing-step .corner-br {
  bottom: 10px;
}

.landing-step .corner-tl,
.landing-step .corner-bl {
  left: 10px;
}

.landing-step .corner-tr,
.landing-step .corner-br {
  right: 10px;
}

.landing-step:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 0 28px var(--accent-glow);
  transform: translateY(-2px);
}

.landing-step-kicker {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 85%, #fff);
  margin-bottom: 0.7rem;
  text-shadow: 0 0 10px var(--accent-glow);
}

.landing-step-kicker-mark {
  color: color-mix(in srgb, var(--accent) 55%, transparent);
  margin-right: 0.35em;
  letter-spacing: 0;
}

.landing-step h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.15rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f2f6f2;
  line-height: 1.2;
}

.landing-step p {
  margin: 0;
  color: rgba(201, 255, 211, 0.62);
  font-size: clamp(0.88rem, 1.6vw, 0.95rem);
  line-height: 1.5;
}

.landing-step-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent);
  text-underline-offset: 0.15em;
  transition:
    color 0.2s,
    text-decoration-color 0.2s;
}

.landing-step-link:hover {
  color: #e8ffe8;
  text-decoration-color: var(--accent);
}

@media (min-width: 769px) {
  .landing-how-inner {
    width: min(1120px, calc(100% - 2rem));
  }

  .landing-how .landing-heading {
    margin-bottom: 3.25rem;
  }

  .landing-how-subtitle {
    margin-bottom: 2rem;
  }

  .landing-steps {
    gap: 1.85rem;
  }

  .landing-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent 0%,
      color-mix(in srgb, var(--accent) 22%, transparent) 12%,
      color-mix(in srgb, var(--accent) 28%, transparent) 50%,
      color-mix(in srgb, var(--accent) 22%, transparent) 88%,
      transparent 100%
    );
    box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 12%, transparent);
    pointer-events: none;
    z-index: 0;
  }

  .landing-step {
    min-height: 12.75rem;
    padding: 2rem 1.65rem 1.85rem;
  }

  .landing-step h3 {
    font-size: 1.22rem;
    margin-bottom: 0.85rem;
  }

  .landing-step p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .landing-step-kicker {
    font-size: 0.72rem;
    margin-bottom: 0.9rem;
  }

  .landing-trust-badges {
    margin-top: 2rem;
  }
}

/* Trust badges */
.landing-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin: 1.75rem auto 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(201, 255, 211, 0.58);
  letter-spacing: 0.02em;
}

.landing-how .landing-section-cta {
  margin-top: 1.5rem;
  width: 100%;
  max-width: min(100%, 320px);
}

@media (min-width: 769px) {
  .landing-how .landing-section-cta {
    width: clamp(220px, 18vw, 260px);
    min-width: 220px;
    max-width: 260px;
    margin-top: 3.5rem;
  }
}

.trust-badge-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

/* Section indicator dots */
.section-dots {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 150;
}

.section-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(68, 204, 68, 0.5);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.section-dot--active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
}

.section-dot:hover {
  border-color: var(--accent);
}

/* Scroll reveal (landing + legacy) */
.reveal-on-scroll,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible,
.reveal-stagger > *.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .landing-sections {
    scroll-behavior: auto;
  }

  .landing-scroll-arrow,
  .landing-animate-in,
  .btn-hero {
    animation: none !important;
  }

  .landing-animate-in {
    opacity: 1;
  }

  .reveal-on-scroll,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .landing-hero-video {
    display: none;
  }

  .bounty-card {
    transition: none;
  }
}

@media (max-width: 960px) {
  .bounty-carousel {
    height: clamp(420px, 54vh, 540px);
    min-height: 420px;
    max-height: calc(100dvh - 12rem);
  }

  .bounty-billboard-grid {
    padding: 1.5rem 1.25rem;
    gap: 0.85rem 1.15rem;
  }

  .radar-module {
    width: clamp(120px, 14vw, 180px);
    height: clamp(120px, 14vw, 180px);
  }

  .bounty-slide-name {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
  }

  .bounty-slide-reward {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
  }
}

@media (max-width: 768px) {
  .landing-section {
    padding: 4.5rem 1rem 4rem;
  }

  .landing-bounty.landing-section {
    justify-content: center;
    align-items: center;
    padding: 4.25rem 1rem 1.5rem;
    min-height: 100svh;
    min-height: 100dvh;
    text-align: center;
  }

  .landing-bounty-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    min-height: 0;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
  }

  .landing-bounty-header {
    margin-bottom: 0;
    flex-shrink: 0;
    text-align: center;
    width: 100%;
  }

  .landing-bounty-label {
    font-size: 0.88rem;
    letter-spacing: 0.16em;
    margin-bottom: 0;
  }

  .landing-bounty-subtitle {
    font-size: 0.82rem;
  }

  .landing-title {
    letter-spacing: 0.1em;
  }

  .landing-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .landing-step {
    padding: 1.3rem 1.1rem 1.2rem;
  }

  .landing-how.landing-section {
    justify-content: center;
    align-items: center;
    padding: 5rem 1rem 4.5rem;
    min-height: 100dvh;
    box-sizing: border-box;
  }

  .landing-how-inner {
    width: 100%;
    margin-block: auto;
    flex: 0 1 auto;
  }

  .landing-how .landing-heading {
    margin-bottom: 0.75rem;
  }

  .landing-how-subtitle {
    margin-bottom: 1.15rem;
    font-size: 0.88rem;
  }

  .landing-how .landing-section-cta {
    margin-top: 1.15rem;
  }

  .bounty-carousel {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    max-height: calc(100dvh - 9.5rem);
    height: calc(100dvh - 9.5rem);
    margin: 0 auto;
    box-sizing: border-box;
  }

  .bounty-carousel-track,
  .bounty-slide.bounty-billboard {
    height: 100%;
    box-sizing: border-box;
  }

  .bounty-slide .corner {
    display: none;
  }

  .bounty-billboard-grid {
    display: flex;
    flex-direction: column;
    grid-template-areas: none;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 1rem 1.1rem 2.5rem;
    gap: 0;
    text-align: left;
    overflow: hidden;
    box-sizing: border-box;
  }

  .bounty-content {
    order: 1;
    flex-shrink: 0;
    justify-content: flex-start;
    width: 100%;
    align-items: flex-start;
  }

  .bounty-mission {
    order: 2;
    flex: 0 0 auto;
    margin-top: 0.75rem;
    min-height: 0;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .bounty-billboard-actions {
    order: 3;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 0.75rem;
    align-items: stretch;
    width: 100%;
  }

  .bounty-billboard-actions .landing-bounty-viewall {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0.5rem 0.85rem;
    margin-top: 0.45rem;
    font-size: 0.68rem;
    text-align: center;
    justify-content: center;
  }

  .radar-module {
    position: absolute;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: -1.25rem;
    width: 200px;
    height: 200px;
    margin: 0;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
  }

  .objective-panel {
    max-width: none;
    margin-bottom: 0.45rem;
    padding-left: 12px;
    flex: 0 0 auto;
    min-height: 0;
    overflow: visible;
  }

  .objective-panel::-webkit-scrollbar {
    display: none;
  }

  .bounty-chips {
    margin-bottom: 0.6rem;
  }

  .billboard-kicker {
    margin-bottom: 0.4rem;
    font-size: 0.65rem;
  }

  .bounty-slide-name {
    font-size: clamp(1.35rem, 7vw, 1.85rem);
    line-height: 1.05;
    margin-bottom: 0.25rem;
  }

  .bounty-slide-reward {
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
  }

  .objective-panel .objective-row:nth-child(n + 5) {
    display: none;
  }

  .objective-row {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .panel-label {
    font-size: 0.72rem;
    margin-bottom: 8px;
  }

  .bounty-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: none;
    flex-shrink: 0;
  }

  .bounty-stats div {
    padding: 8px 6px;
  }

  .bounty-stats strong {
    font-size: 0.88rem;
  }

  .bounty-stats span {
    font-size: 0.68rem;
  }

  .bounty-chips span {
    font-size: 0.68rem;
    padding: 5px 8px;
  }

  .bounty-slide-cta {
    width: 100%;
    max-width: none;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
    text-align: center;
  }

  .bounty-opens-countdown {
    margin-top: 0.45rem;
    font-size: 0.68rem;
  }

  .bounty-carousel-arrow {
    display: none;
  }

  .landing-bounty:has(.bounty-carousel) .landing-scroll-down {
    display: none;
  }

  .bounty-carousel-footer {
    padding: 0.85rem 1rem 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .landing-trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .section-dots {
    display: none;
  }
}

@media (max-width: 375px) {
  .landing-hero .btn-hero {
    width: 100%;
    max-width: 280px;
  }
}

/* Shared panel (bounties detail, etc.) */
.home-panel {
  background: rgba(10, 20, 12, 0.82);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.page-note {
  color: var(--text-muted);
}

.static-page--credits {
  max-width: 860px;
}

.static-page .credits-panel {
  text-align: left;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 2rem 2rem;
  overflow-wrap: anywhere;
}

.credits-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.credits-body p {
  margin: 0 0 1rem;
  color: rgba(232, 255, 232, 0.78);
  font-size: 0.94rem;
  line-height: 1.6;
}

.credits-body p:last-child {
  margin-bottom: 0;
}

.credits-hero {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.credits-contact {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.credits-contact-heading {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.credits-contact p {
  margin: 0;
}

.credits-contact a {
  color: var(--accent);
}

.credits-contact a:hover {
  color: #e8ffe8;
}

.credits-copyright {
  margin: 1.25rem 0 0;
  color: rgba(232, 255, 232, 0.55);
  font-size: 0.85rem;
}

@media (max-width: 720px) {
  .static-page--credits .credits-panel {
    padding: 1.5rem;
  }
}

/* Web leaderboards — shared styles in leaderboard.css */
.site-main:has(.leaderboards-app) .page-title {
  margin: 0 0 0.35rem;
}

.site-main:has(.leaderboards-app) .page-lead {
  margin: 0 0 0.65rem;
}

.leaderboards-app {
  margin-top: 0;
  --screen-section-gap: 0.55rem;
}

/* ---- Profile / Dashboard ---- */
.dashboard-page {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-hero {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  margin-bottom: 0;
  box-shadow: 0 0 24px rgba(68, 204, 68, 0.06);
}

.hunter-profile-card {
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: linear-gradient(145deg, rgba(10, 22, 14, 0.98), rgba(6, 12, 8, 0.98));
  border-color: rgba(68, 204, 68, 0.22);
  box-shadow:
    0 0 32px rgba(68, 204, 68, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hunter-profile-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.65rem 1rem;
  align-items: start;
  width: 100%;
}

.hunter-profile-avatar-wrap {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  flex-shrink: 0;
}

.hunter-profile-body {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.hunter-avatar {
  --hunter-avatar-size: 96px;
  position: relative;
  flex-shrink: 0;
  width: var(--hunter-avatar-size);
  height: var(--hunter-avatar-size);
}

.hunter-avatar--lg {
  --hunter-avatar-size: 96px;
}

.hunter-avatar--md {
  --hunter-avatar-size: 72px;
}

.hunter-avatar::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(68, 204, 68, 0.4);
  box-shadow:
    0 0 22px rgba(68, 204, 68, 0.18),
    inset 0 0 12px rgba(68, 204, 68, 0.06);
  pointer-events: none;
  z-index: 2;
}

.hunter-avatar-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(68, 204, 68, 0.32);
  background: radial-gradient(
    circle at 50% var(--hunter-pattern-shift, 36%),
    rgba(68, 204, 68, 0.16) 0%,
    rgba(10, 22, 14, 0.98) 42%,
    rgba(4, 8, 6, 1) 100%
  );
}

.hunter-avatar-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from var(--hunter-pattern-angle, 0deg),
    transparent 0deg 7deg,
    rgba(68, 204, 68, var(--hunter-pattern-opacity, 0.06)) 7deg 8deg
  );
  pointer-events: none;
}

.hunter-avatar-fallback::after {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px dashed rgba(68, 204, 68, var(--hunter-ring-opacity, 0.14));
  pointer-events: none;
}

.hunter-avatar-mark {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54%;
  height: auto;
  opacity: 0.2;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(68, 204, 68, 0.25));
}

.hunter-avatar-monogram {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: calc(var(--hunter-avatar-size) * 0.3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #e8ffe8;
  text-shadow:
    0 0 16px rgba(68, 204, 68, 0.5),
    0 0 4px rgba(68, 204, 68, 0.35);
}

.dashboard-hero {
  background: linear-gradient(135deg, rgba(10, 20, 12, 0.95), rgba(6, 12, 8, 0.98));
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-bright);
}

.hunter-profile-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.85;
}

.hunter-profile-email {
  margin: 0.12rem 0 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: #8faf9a;
  letter-spacing: 0.02em;
}

.hunter-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  width: 100%;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(68, 204, 68, 0.12);
}

.hunter-profile-play {
  flex: 1;
  min-width: min(100%, 180px);
  text-align: center;
  justify-content: center;
}

.hunter-profile-bounties {
  flex: 1;
  min-width: min(100%, 180px);
  text-align: center;
  justify-content: center;
}

.hunter-profile-name {
  margin: 0;
  padding: 0;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text);
}

.hunter-profile-id {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a9a8a;
}

.hunter-profile-id-label {
  color: #5f7a6e;
  font-weight: 700;
  margin-right: 0.35rem;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 0;
  line-height: 1;
}

.profile-edit-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 1.75rem;
  min-width: 1.75rem;
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
}
.profile-name-edit {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  align-items: center;
}

.profile-name-edit[hidden] {
  display: none !important;
}

.profile-name-row[hidden] {
  display: none !important;
}

.profile-edit-btn:hover {
  color: var(--accent);
  border-color: var(--border-bright);
}
.profile-name-edit input {
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  min-width: 160px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.25;
  touch-action: manipulation;
}

.profile-name-edit .btn-primary,
.profile-name-edit .btn-secondary {
  box-sizing: border-box;
  min-width: 6.75rem;
  min-height: 2.5rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.profile-name-edit .btn-secondary {
  box-shadow: none;
}
.profile-name-error {
  color: var(--danger);
  font-size: 0.85rem;
  width: 100%;
  margin: 0;
}

.dashboard-section,
.dashboard-panel {
  margin: 0;
  padding: 1.25rem;
  background: rgba(10, 20, 12, 0.72);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Dashboard skeleton loading */
@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton {
  display: block;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(10, 18, 12, 0.96) 0%,
    rgba(22, 38, 26, 0.88) 42%,
    rgba(10, 18, 12, 0.96) 84%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.65s ease-in-out infinite;
  border: 1px solid rgba(68, 204, 68, 0.14);
  box-shadow: 0 0 10px rgba(68, 204, 68, 0.05);
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: rgba(12, 20, 14, 0.94);
  }
}

.skeleton-line {
  height: 0.72rem;
  width: 100%;
  max-width: 8rem;
}

.skeleton-line--xs {
  width: 5.5rem;
  height: 0.62rem;
}

.skeleton-line--sm {
  width: 7rem;
  height: 0.68rem;
}

.skeleton-line--md {
  width: 9.5rem;
  height: 0.68rem;
}

.skeleton-line--lg {
  width: min(100%, 11rem);
  height: 0.95rem;
}

.skeleton-line--date {
  width: 5.25rem;
  height: 0.68rem;
}

.skeleton-line--survival {
  width: 6.5rem;
  height: 1.15rem;
  max-width: none;
}

.skeleton-line--stat {
  width: 4.25rem;
  height: 0.72rem;
}

.skeleton-line--stat-value {
  width: 3.5rem;
  height: 1.35rem;
  max-width: none;
  margin: 0 auto;
}

.skeleton-line--stat-label {
  width: 4.75rem;
  height: 0.55rem;
  max-width: none;
  margin: 0.35rem auto 0;
}

.skeleton-line--tile-label {
  width: 4.5rem;
  height: 0.62rem;
}

.skeleton-line--tile-value {
  width: 5.5rem;
  height: 1.25rem;
  max-width: none;
}

.skeleton-line--tile-note {
  width: 6.75rem;
  height: 0.58rem;
}

.skeleton-line--bounty-value {
  width: 3rem;
  height: 1.1rem;
  max-width: none;
}

.skeleton-line--bounty-name {
  width: min(100%, 10rem);
  height: 0.85rem;
}

.skeleton-line--bounty-prize {
  width: min(100%, 5rem);
  height: 0.85rem;
}

.skeleton-line--bounty-title {
  flex: 1 1 auto;
  width: min(100%, 9rem);
  height: 0.95rem;
  max-width: none;
}

.skeleton-line--bounty-reward {
  width: min(100%, 7.5rem);
  height: 0.88rem;
}

.skeleton-line--bounty-entry {
  width: min(100%, 5.5rem);
  height: 0.72rem;
}

.skeleton-line--bounty-slots {
  width: min(100%, 8rem);
  height: 0.72rem;
}

.skeleton-line--bounty-slots-secondary {
  width: min(100%, 6.5rem);
  height: 0.78rem;
}

.skeleton-line--bounty-slots-bar {
  width: 100%;
  height: 5px;
  max-width: none;
  border-radius: 3px;
}

.skeleton-line--bounty-obj {
  width: min(100%, 11rem);
  height: 0.68rem;
}

.skeleton-pill--obj {
  width: 5.35rem;
  height: 1.55rem;
  border-radius: 999px;
}

.skeleton-pill--obj-short {
  width: 3.35rem;
}

.skeleton-pill--difficulty {
  width: 3.75rem;
  height: 1.28rem;
  border-radius: 999px;
}

.skeleton-line--bounty-obj-label {
  width: 4.25rem;
  height: 0.55rem;
}

.skeleton-line--back {
  width: 7.5rem;
  height: 0.68rem;
}

.skeleton-line--detail-heading {
  width: 6.75rem;
  height: 0.62rem;
  max-width: none;
}

.skeleton-line--flavor {
  width: min(100%, 18rem);
  height: 0.78rem;
  max-width: none;
}

.skeleton-line--flavor-short {
  width: min(100%, 13.5rem);
  height: 0.78rem;
  max-width: none;
}

.skeleton-line--rule-md {
  width: min(100%, 16rem);
  height: 0.72rem;
  max-width: none;
}

.skeleton-line--rule-sm {
  width: min(100%, 12.5rem);
  height: 0.72rem;
  max-width: none;
}

.bounty-slots-meta--skeleton {
  gap: 0.12rem;
}

.bounty-detail--skeleton .bounty-detail-stat .skeleton-line--stat-label,
.bounty-detail--skeleton .bounty-detail-stat .skeleton-line--stat-value {
  margin: 0;
}

.bounty-detail-skeleton-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bounty-detail-skeleton-flavor {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.bounty-detail-skeleton-section {
  margin-top: 0.35rem;
}

.bounty-detail-skeleton-rules {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.bounty-detail-skeleton-rule {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.bounty-detail-skeleton-rule::before {
  content: '';
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(68, 204, 68, 0.28);
}

.bounty-detail-skeleton-cta-bottom {
  display: none;
  margin-top: 0.5rem;
}

.bounty-detail-skeleton-cta-bottom .skeleton-button--bounty-cta {
  margin-top: 0;
}

.bounty-card-entry-row--skeleton {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.45rem;
}

.skeleton-button--bounty-cta {
  width: 100%;
  height: 2.15rem;
  max-width: none;
  margin-top: auto;
}

.bounty-scroll .bounty-attempts-wrap,
.bounty-board-results .bounty-attempts-wrap {
  margin-top: 0;
}

.bounty-scroll #bounties-root,
.bounty-board-results #bounties-root {
  box-sizing: border-box;
}

.bounty-scroll #bounties-root:has(.bounty-grid--skeleton-compact),
.bounty-board-results #bounties-root:has(.bounty-grid--skeleton-compact),
.bounty-board-stage--fit-content .bounty-board-results #bounties-root {
  min-height: 0;
}

.bounty-scroll #bounties-root:has(.bounty-panel-state-wrap),
.bounty-board-stage--attempts .bounty-board-results #bounties-root:has(.bounty-panel-state-wrap) {
  min-height: 100%;
}

.bounty-scroll .dashboard-empty-state,
.bounty-scroll .dashboard-hint,
.bounty-scroll .empty-state--panel,
.bounty-scroll .bounty-panel-state-wrap,
.bounty-board-results .dashboard-empty-state,
.bounty-board-results .dashboard-hint,
.bounty-board-results .empty-state--panel,
.bounty-board-results .bounty-panel-state-wrap {
  margin: 0;
}

.skeleton-line--title {
  width: min(100%, 12rem);
  height: 1.05rem;
  max-width: none;
}

.skeleton-line--group-title {
  width: 5rem;
  height: 0.72rem;
  margin-bottom: 0.55rem;
}

.skeleton-line--row-label {
  width: 5.5rem;
  height: 0.68rem;
}

.skeleton-line--row-value {
  width: 3.25rem;
  height: 0.68rem;
}

.skeleton-line--hero-value {
  width: 3.75rem;
  height: 1.35rem;
  max-width: none;
  margin: 0 auto;
}

.skeleton-line--hero-label {
  width: 4rem;
  height: 0.58rem;
  max-width: none;
  margin: 0.35rem auto 0;
}

.skeleton-line--settings-title {
  width: 6rem;
  height: 0.72rem;
  margin-bottom: 0.65rem;
}

.skeleton-line--settings-label {
  width: 6.5rem;
  height: 0.68rem;
}

.skeleton-line--settings-control {
  width: 3.5rem;
  height: 0.68rem;
  margin-left: auto;
}

.skeleton-pill {
  width: 4.75rem;
  height: 1.35rem;
  border-radius: 999px;
}

.skeleton-pill--type {
  width: 4.25rem;
}

.skeleton-pill--status {
  width: 3.75rem;
}

.skeleton-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  flex-shrink: 0;
}

.skeleton-circle--xs {
  width: 1.75rem;
  height: 1.75rem;
}

.skeleton-button {
  height: 2.15rem;
  width: 5.5rem;
  border-radius: 8px;
}

.skeleton-button--compact {
  width: 4.75rem;
  height: 1.85rem;
}

.skeleton-button--hero {
  flex: 1;
  min-width: min(100%, 180px);
  height: 2.75rem;
  border-radius: 10px;
}

.skeleton-button--secondary {
  flex: 1;
  min-width: min(100%, 180px);
  height: 2.75rem;
  border-radius: 10px;
}

.skeleton-card {
  border-radius: 10px;
  border: 1px solid rgba(68, 204, 68, 0.14);
  background: rgba(0, 0, 0, 0.18);
}

.skeleton-stat-card {
  padding: 0.75rem 0.65rem;
  text-align: center;
}

.skeleton-wallet-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
}

.skeleton-bounty-tile {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
}

.skeleton-bounty-empty {
  min-height: 7.5rem;
  margin-top: 0.85rem;
  border-style: dashed;
  border-color: rgba(68, 204, 68, 0.18);
  background: rgba(0, 0, 0, 0.12);
}

.skeleton-run-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 0.95rem 1rem;
}

.skeleton-run-card--compact {
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
}

.skeleton-run-card--compact .skeleton-run-card-performance {
  gap: 0.35rem 0.75rem;
}

.skeleton-line--survival {
  width: 5.5rem;
  height: 1.1rem;
}

.skeleton-line--stat {
  width: 7.5rem;
  height: 0.75rem;
}

.skeleton-run-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.skeleton-run-card-header-left,
.skeleton-run-card-header-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.skeleton-run-card-header-right {
  margin-left: auto;
}

.skeleton-run-card-performance {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.skeleton-line--profile-kicker {
  width: 7.25rem;
  height: 0.72rem;
  max-width: none;
}

.skeleton-line--profile-name {
  width: min(100%, 11rem);
  height: 1.35rem;
  max-width: none;
}

.skeleton-line--profile-id {
  width: 8.5rem;
  height: 0.78rem;
  max-width: none;
}

.skeleton-line--profile-email {
  width: min(100%, 12rem);
  height: 0.85rem;
  max-width: none;
}

.skeleton-circle--profile-edit {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.hunter-profile-card.is-loading .hunter-profile-live {
  display: none !important;
}

.hunter-profile-card:not(.is-loading) .hunter-profile-skeleton {
  display: none !important;
}

.hunter-profile-skeleton--identity {
  width: 100%;
}

.hunter-profile-skeleton--avatar {
  width: 96px;
  height: 96px;
}

.hunter-profile-actions > .hunter-profile-skeleton-btn {
  display: inline-flex;
  flex: 1;
  min-width: min(100%, 180px);
  padding: 0;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
  color: transparent !important;
  animation: skeleton-shimmer 1.65s ease-in-out infinite;
}

.hunter-profile-actions > .hunter-profile-skeleton-btn.btn-primary {
  background: linear-gradient(
    90deg,
    rgba(10, 18, 12, 0.96) 0%,
    rgba(22, 38, 26, 0.88) 42%,
    rgba(10, 18, 12, 0.96) 84%
  );
  background-size: 200% 100%;
  border: 1px solid rgba(68, 204, 68, 0.14);
}

.hunter-profile-actions > .hunter-profile-skeleton-btn.btn-secondary {
  background: linear-gradient(
    90deg,
    rgba(10, 18, 12, 0.96) 0%,
    rgba(22, 38, 26, 0.88) 42%,
    rgba(10, 18, 12, 0.96) 84%
  );
  background-size: 200% 100%;
  border: 1px solid rgba(68, 204, 68, 0.14);
}

.hunter-profile-actions > .hunter-profile-skeleton-btn.hunter-profile-play {
  min-height: 58px;
  border-radius: 8px;
  animation: skeleton-shimmer 1.65s ease-in-out infinite;
}

.hunter-profile-actions > .hunter-profile-skeleton-btn.hunter-profile-bounties {
  min-height: 2.4rem;
  border-radius: 8px;
}

.dashboard-stat-card--skeleton {
  pointer-events: none;
}

.skeleton-run-detail-head {
  margin: 0 2.75rem 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.skeleton-run-detail-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 1rem 0.85rem;
}

.skeleton-run-detail-hero-stat {
  text-align: center;
}

.skeleton-run-detail-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.skeleton-run-detail-group {
  padding: 0.85rem 0.95rem;
}

.skeleton-run-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

.skeleton-settings-card {
  padding: 0.85rem 1rem;
}

.skeleton-settings-card--wide,
.skeleton-settings-card--keyboard {
  grid-column: 1 / -1;
}

.skeleton-settings-rows {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.skeleton-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.skeleton-settings-kb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}

.skeleton-settings-kb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.skeleton-button--keycap {
  width: 3.25rem;
  height: 1.85rem;
  flex-shrink: 0;
}

.skeleton-button--reset {
  width: 9.5rem;
  height: 2.15rem;
  max-width: 100%;
}

.dashboard-settings-saving {
  margin-left: 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dashboard-settings-footer.is-loading {
  text-align: left;
}

.site-confirm-error {
  margin: 0 0 1rem;
  color: var(--danger);
  font-size: 0.9rem;
  line-height: 1.5;
}

.dashboard-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dashboard-panel-head--split {
  flex-wrap: wrap;
}

.dashboard-panel-head h2,
.dashboard-section h2 {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.dashboard-panel-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.dashboard-panel-link:hover {
  color: var(--accent);
}

.dashboard-panel-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.dashboard-section h2 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(68, 204, 68, 0.2);
}

.dashboard-subheading {
  margin: 1.25rem 0 0.65rem;
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.dashboard-subheading:first-of-type {
  margin-top: 0;
}

.dashboard-settings-note {
  margin-bottom: 0.85rem;
}

.dashboard-settings-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.dashboard-settings-card {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.dashboard-settings-card--wide,
.dashboard-settings-card--keybindings {
  grid-column: 1 / -1;
}

.dashboard-settings-card-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.dashboard-settings-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dashboard-settings-kb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}

.dashboard-settings-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.15rem;
  border-top: 1px solid rgba(68, 204, 68, 0.12);
  text-align: left;
}

.settings-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.settings-row--toggle {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.settings-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.settings-row-label {
  font-size: 0.88rem;
  color: var(--text);
}

.settings-row-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.settings-row-feedback {
  flex: 0 0 100%;
  text-align: right;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: -0.15rem 0 0;
}

.settings-row-feedback--saving {
  color: var(--text-muted);
}

.settings-row-feedback--saved {
  color: var(--accent);
}

.settings-row-feedback--error {
  color: var(--danger);
}

.settings-row-feedback--warn {
  color: var(--gold);
}

.settings-row-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.settings-toggle-state {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  min-width: 1.75rem;
  text-align: right;
}

.settings-toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.settings-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.settings-toggle-track {
  display: block;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(80, 90, 80, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.settings-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(230, 235, 230, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}

.settings-toggle-input:checked + .settings-toggle-track {
  background: rgba(68, 204, 68, 0.45);
  border-color: rgba(68, 204, 68, 0.55);
}

.settings-toggle-input:checked + .settings-toggle-track::after {
  transform: translateX(20px);
}

.settings-toggle-input:focus-visible + .settings-toggle-track {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.settings-slider {
  width: 100%;
  height: 6px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
  touch-action: pan-y;
}

.dashboard-kb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.35rem 0;
}

.dashboard-kb-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.dashboard-kb-keycol {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.dashboard-kb-feedback {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.dashboard-kb-feedback--warn {
  color: var(--gold);
}

.dashboard-kb-feedback--saved {
  color: var(--accent);
}

.dashboard-kb-feedback--error {
  color: var(--danger);
}

.dashboard-kb-cancel {
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
}

.dashboard-kb-btn {
  min-width: 3.25rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  text-transform: none;
}

.dashboard-kb-btn.listening {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  min-width: 0;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  font-size: 0.78rem;
}

.dashboard-kb-btn.saving {
  color: var(--text-muted);
  border-color: rgba(68, 204, 68, 0.25);
  min-width: 0;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  font-size: 0.78rem;
}

.dashboard-collapse {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(10, 20, 12, 0.45);
  overflow: hidden;
}

.dashboard-collapse--danger {
  border-color: rgba(204, 68, 68, 0.25);
  background: rgba(22, 10, 10, 0.35);
}

.dashboard-collapse--danger .dashboard-collapse-summary {
  background: rgba(204, 68, 68, 0.04);
}

.dashboard-account-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(210, 200, 200, 0.88);
  max-width: 58ch;
}

.dashboard-collapse-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.dashboard-collapse-summary::-webkit-details-marker {
  display: none;
}

.dashboard-collapse-summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1;
}

.dashboard-collapse[open] .dashboard-collapse-summary::after {
  content: '−';
  color: var(--accent);
}

.dashboard-collapse-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.dashboard-collapse-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-left: auto;
  margin-right: 0.75rem;
}

.dashboard-collapse-body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid rgba(68, 204, 68, 0.1);
}

.dashboard-collapse-body.dashboard-account-body {
  padding-top: 1rem;
}

.dashboard-settings-collapse .dashboard-collapse-body {
  padding-top: 1rem;
  padding-bottom: 1.35rem;
}

.dashboard-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed rgba(68, 204, 68, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
}

.dashboard-empty-state p {
  margin: 0;
}

.dashboard-empty-state--compact {
  padding: 1.15rem 1rem;
  margin-top: 0.85rem;
}

.dashboard-empty-state-lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 32ch;
  color: rgba(200, 210, 200, 0.82);
}

.dashboard-hint {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dashboard-email {
  margin: 0;
  color: var(--text-muted);
}

.hunter-profile-body .dashboard-email {
  color: #8faf9a;
  font-weight: 500;
}

/* Run History */
.runs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.runs-table th {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 2px solid var(--border-bright);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.runs-table td {
  padding: 0.5rem;
  border-bottom: 1px solid rgba(68, 204, 68, 0.08);
}
.runs-table tbody tr:hover {
  background: rgba(68, 204, 68, 0.04);
}

.run-result {
  display: inline-block;
  padding: 0.15em 0.5em;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}
.run-result--free_play {
  background: rgba(68, 204, 68, 0.12);
  color: var(--accent);
}
.run-result--bounty_completed {
  background: rgba(68, 204, 68, 0.18);
  color: #66ee66;
}
.run-result--bounty_failed {
  background: rgba(204, 68, 68, 0.15);
  color: #f87171;
}
.run-result--pending_review {
  background: rgba(227, 165, 32, 0.15);
  color: var(--gold);
}
.run-result--invalid {
  background: rgba(120, 120, 120, 0.15);
  color: #9ca3af;
}
.run-result--payout_pending {
  background: rgba(227, 165, 32, 0.15);
  color: var(--gold);
}
.run-result--payout_paid {
  background: rgba(68, 204, 68, 0.18);
  color: #66ee66;
}
.run-result--payout_denied {
  background: rgba(204, 68, 68, 0.15);
  color: #f87171;
}

.detail-bounty {
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.detail-bounty-payout {
  margin: 0.35rem 0 0;
  color: var(--gold);
}

.detail-bounty-verify {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.btn-run-detail {
  padding: 0.2em 0.6em;
  font-size: 0.8rem;
}

.runs-pagination {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}
.runs-pagination[hidden],
.bounty-attempts-footer[hidden] {
  display: none !important;
}
.runs-pagination span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Run Detail Modal */
.run-detail-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.run-detail-overlay[hidden] {
  display: none !important;
}
body.run-detail-open {
  overflow: hidden;
  overflow-x: hidden;
}

/* Site confirm dialog */
.site-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
body.site-confirm-open {
  overflow: hidden;
}

.site-confirm-panel {
  display: flex;
  flex-direction: column;
  background: rgba(8, 14, 10, 0.98);
  border: 1.5px solid var(--accent);
  border-radius: 12px;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 0 32px var(--accent-glow);
}

.site-confirm-title {
  margin: 0;
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.site-confirm-lines {
  margin: 0.875rem 0 0;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.site-confirm-lines p {
  margin: 0.5rem 0 0;
}

.site-confirm-lines p:first-child {
  margin-top: 0;
}

.site-confirm-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.875rem;
}

.site-confirm-actions .btn-primary,
.site-confirm-actions .btn-secondary {
  min-width: 120px;
  justify-content: center;
}

@media (max-width: 768px) {
  .site-confirm-overlay {
    padding: 1rem;
  }

  .site-confirm-panel {
    padding: 1.5rem;
  }

  .site-confirm-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 2rem;
    gap: 0.65rem;
  }

  .site-confirm-actions .btn-primary,
  .site-confirm-actions .btn-secondary {
    min-width: 0;
    width: 100%;
  }
}

/* Bounty enter acknowledgment modal */
.bounty-enter-panel {
  max-width: 480px;
}

.bounty-enter-title {
  width: 100%;
  text-align: center;
}

.bounty-enter-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 1rem;
}

.bounty-enter-meta-line {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(220, 236, 222, 0.96);
}

.bounty-enter-section {
  margin: 0 0 0.85rem;
}

.bounty-enter-section-title {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(168, 198, 176, 0.94);
}

.bounty-enter-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(208, 230, 208, 0.94);
  font-size: 0.875rem;
  line-height: 1.55;
}

.bounty-enter-list li + li {
  margin-top: 0.28rem;
}

.bounty-enter-section--important .bounty-enter-list {
  color: rgba(214, 228, 214, 0.96);
}

.bounty-enter-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.bounty-enter-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  line-height: 1.45;
  font-size: 0.9rem;
  color: var(--text);
}

.bounty-enter-check:hover {
  border-color: rgba(68, 204, 68, 0.35);
  background: rgba(68, 204, 68, 0.05);
}

.bounty-enter-checkbox {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  cursor: pointer;
}

.bounty-enter-check-text {
  flex: 1;
}

.bounty-enter-actions .btn-primary[hidden] {
  display: none;
}

.bounty-enter-actions .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.bounty-enter-actions {
  justify-content: center;
}

.bounty-enter-actions .btn-primary,
.bounty-enter-actions .btn-secondary {
  min-width: 140px;
  min-height: 2.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bounty-detail-section {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bounty-detail-section .bounty-detail-heading {
  margin-top: 0;
}

.run-detail-modal {
  position: relative;
  box-sizing: border-box;
  background: var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  padding: 2rem;
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: 0 0 40px var(--accent-glow);
}

#run-detail-content,
.run-detail-body {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.run-detail-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(68, 204, 68, 0.22);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(210, 220, 210, 0.88);
  font-size: 1.85rem;
  font-weight: 400;
  cursor: pointer;
  line-height: 1;
}

.run-detail-close:hover {
  color: var(--text);
  border-color: rgba(68, 204, 68, 0.38);
  background: rgba(68, 204, 68, 0.08);
}

.run-detail-head {
  margin: 0 2.75rem 1rem 0;
}

.run-detail-title {
  margin: 0;
  font-size: 1.2rem;
  font-family: var(--font-display);
  color: var(--accent);
  letter-spacing: 0.04em;
}

.run-detail-date {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.run-detail-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 1rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(68, 204, 68, 0.22);
  background: linear-gradient(135deg, rgba(68, 204, 68, 0.1), rgba(0, 0, 0, 0.18));
}

.run-detail-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
}

.run-detail-hero-value {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}

.run-detail-hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.run-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin: 0 0 1.15rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.run-detail-meta-item {
  white-space: nowrap;
}

.run-detail-bounty {
  margin: 0 0 1.15rem;
  padding: 1rem;
  border: 1px solid rgba(227, 165, 32, 0.28);
  border-radius: 10px;
  background: rgba(227, 165, 32, 0.06);
}

.run-detail-bounty-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.run-detail-bounty-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.run-detail-bounty-name {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
  font-family: var(--font-display);
  color: var(--text);
}

.run-detail-verdict {
  flex-shrink: 0;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.run-detail-verdict--passed {
  color: #66ee66;
  border-color: rgba(68, 204, 68, 0.4);
  background: rgba(68, 204, 68, 0.12);
}

.run-detail-verdict--failed {
  color: #f87171;
  border-color: rgba(204, 68, 68, 0.35);
  background: rgba(204, 68, 68, 0.1);
}

.run-detail-verdict--pending {
  color: var(--gold);
  border-color: rgba(227, 165, 32, 0.35);
  background: rgba(227, 165, 32, 0.1);
}

.run-detail-bounty-objective {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(210, 220, 210, 0.9);
}

.run-detail-bounty-objective-label {
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 0.25rem;
}

.run-detail-objective-status-wrap {
  margin-top: 0.35rem;
}

.run-detail-objective-status-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.run-detail-objective-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.run-detail-objective-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.88rem;
}

.run-detail-objective-row--muted {
  grid-template-columns: 1fr;
  color: var(--text-muted);
}

.run-detail-objective-metric {
  font-weight: 600;
  color: var(--text);
}

.run-detail-objective-values {
  color: var(--text-muted);
  white-space: nowrap;
}

.run-detail-objective-status {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  white-space: nowrap;
}

.run-detail-objective-status--passed {
  color: #66ee66;
  background: rgba(68, 204, 68, 0.12);
  border: 1px solid rgba(68, 204, 68, 0.3);
}

.run-detail-objective-status--failed {
  color: #f87171;
  background: rgba(204, 68, 68, 0.1);
  border: 1px solid rgba(204, 68, 68, 0.28);
}

.run-detail-bounty-payout {
  margin: 0.65rem 0 0;
  color: var(--gold);
  font-size: 0.88rem;
}

.run-detail-bounty-verify {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.run-detail-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.run-detail-group {
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.16);
}

.run-detail-group--full {
  grid-column: 1 / -1;
  margin-bottom: 0.85rem;
}

.run-detail-group-title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.run-detail-stat-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.run-detail-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.run-detail-stat-row dt {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.run-detail-stat-row dd {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.run-detail-kills-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.run-detail-kills-entry {
  background: rgba(68, 204, 68, 0.08);
  border: 1px solid rgba(68, 204, 68, 0.16);
  padding: 0.22rem 0.5rem;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.run-detail-kills-entry strong {
  color: var(--text);
}

.run-detail-advanced {
  margin-top: 0.35rem;
  border: 1px solid rgba(68, 204, 68, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.12);
}

.run-detail-advanced summary {
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  list-style: none;
}

.run-detail-advanced summary::-webkit-details-marker {
  display: none;
}

.run-detail-advanced summary::after {
  content: '+';
  float: right;
  color: var(--accent);
}

.run-detail-advanced[open] summary::after {
  content: '−';
}

.run-detail-advanced-body {
  padding: 0 0.9rem 0.85rem;
  border-top: 1px solid rgba(68, 204, 68, 0.1);
}

.run-detail-advanced-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.run-detail-advanced-row strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.detail-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.detail-stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}
.detail-stats-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid rgba(68, 204, 68, 0.08);
  font-size: 0.9rem;
}
.detail-stats-table td:first-child {
  color: var(--text-muted);
  width: 50%;
}
.detail-perks,
.detail-breakdown {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.detail-breakdown strong {
  display: block;
  margin-bottom: 0.25rem;
}
.detail-map {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.detail-map-entry {
  background: rgba(68, 204, 68, 0.06);
  padding: 0.2em 0.5em;
  border-radius: 4px;
  font-size: 0.8rem;
}

/* ---- How to play / About / static pages ---- */
.static-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
  text-align: center;
}

.static-page .page-title {
  margin: 0 0 1rem;
}

.static-page .page-lead {
  margin: 0 auto 1.75rem;
}

.static-page:has(.careers-grid) .page-lead {
  margin: 0 auto 0.75rem;
}

.static-page--careers {
  max-width: 1080px;
  padding-left: 1rem;
  padding-right: 1rem;
  --careers-body-text: rgba(232, 255, 232, 0.92);
  --careers-soft-text: rgba(200, 224, 204, 0.88);
}

.careers-header {
  text-align: left;
  margin-bottom: 1.75rem;
}

.careers-header .page-title {
  text-align: left;
}

.careers-header .page-lead,
.careers-intro {
  text-align: justify;
  text-wrap: pretty;
  margin: 0 0 0.75rem;
  max-width: none;
  color: var(--careers-body-text);
  font-size: 0.92rem;
  line-height: 1.55;
}

.careers-header .page-lead {
  margin-bottom: 0.75rem;
}

.static-page--careers .careers-note {
  text-align: left;
  color: var(--careers-body-text);
}

.careers-board {
  margin-top: 1.75rem;
  text-align: left;
}

.careers-toolbar-host {
  margin-bottom: 0.75rem;
}

.careers-toolbar {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.careers-toolbar-search {
  display: block;
}

.careers-toolbar-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font: inherit;
}

.careers-toolbar-input:focus {
  outline: none;
  border-color: var(--border-bright);
  box-shadow: 0 0 0 2px rgba(68, 204, 68, 0.12);
}

.careers-toolbar-filters {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.careers-toolbar-field {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}

.careers-toolbar-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--careers-soft-text);
}

.careers-toolbar-select {
  width: 100%;
}

.careers-toolbar .gh-select-menu {
  z-index: 50;
}

.careers-count {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  color: var(--careers-soft-text);
}

.careers-empty {
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  color: var(--careers-body-text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  grid-column: 1 / -1;
}

.careers-empty--filters {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
}

.careers-empty--error {
  border-color: rgba(255, 120, 120, 0.35);
}

.careers-reset-btn {
  cursor: pointer;
}

.career-card-cta {
  display: inline-flex;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-bright);
  color: var(--text) !important;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    border-color 0.15s,
    background 0.15s;
}

button.career-card-cta {
  cursor: pointer;
  font: inherit;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.career-card-cta:hover {
  border-color: var(--accent);
  background: rgba(68, 204, 68, 0.08);
}

.careers-grid {
  display: grid;
  gap: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .careers-toolbar-filters {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .careers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.career-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.career-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 20px var(--accent-glow);
}

.career-card-dept {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.career-card-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.career-card-title-link {
  color: inherit;
  text-decoration: none;
}

.career-card-title-link:hover {
  color: var(--accent);
}

.career-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.career-card-apply-secondary {
  display: inline-flex;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--text-muted) !important;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    border-color 0.15s,
    color 0.15s,
    background 0.15s;
}

.career-card-apply-secondary:hover {
  border-color: var(--border-bright);
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.03);
}

.career-card-salary {
  margin: 0 0 0.75rem;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
}

.career-card-desc {
  margin: 0 0 0.65rem;
  color: var(--careers-body-text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.career-card-meta {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--careers-soft-text);
}

.career-card-application {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--careers-soft-text);
}

.career-card-apply {
  display: inline-flex;
  padding: 0.45rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-bright);
  color: var(--text) !important;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    border-color 0.15s,
    background 0.15s;
}

.career-card-apply:hover {
  border-color: var(--accent);
  background: rgba(68, 204, 68, 0.08);
}

.careers-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.career-card--skeleton {
  pointer-events: none;
}

.career-card--skeleton .skeleton-line--career-title {
  width: 70%;
  height: 1.35rem;
  margin-bottom: 0.5rem;
}

.career-card--skeleton .skeleton-line--career-salary {
  width: 45%;
  margin-bottom: 0.75rem;
}

.career-card--skeleton .skeleton-line--career-desc {
  width: 100%;
  margin-bottom: 0.4rem;
}

.career-card--skeleton .skeleton-line--career-desc-short {
  width: 82%;
  margin-bottom: 0.65rem;
}

.career-card--skeleton .skeleton-line--career-meta,
.career-card--skeleton .skeleton-line--career-application {
  width: 55%;
  margin-bottom: 0.75rem;
}

.career-card--skeleton .career-card-actions--skeleton {
  display: flex;
  gap: 0.65rem;
}

.career-card--skeleton .skeleton-button--career-cta {
  width: 6.5rem;
  height: 2rem;
}

.career-card--skeleton .skeleton-pill--career-dept {
  width: 6rem;
  margin-bottom: 0.5rem;
}

.career-card--skeleton .skeleton-button--career-apply {
  width: 5.5rem;
  height: 2rem;
}

.career-detail-back {
  margin: 0 0 1.25rem;
  text-align: left;
}

.career-detail-back a {
  color: var(--careers-soft-text);
  text-decoration: none;
  font-size: 0.9rem;
}

.career-detail-back a:hover {
  color: var(--accent);
}

.career-detail {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
}

.career-detail-header {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.career-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.career-detail-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.05em;
  color: var(--text);
}

.career-detail-summary {
  margin: 1rem 0 1.25rem;
  color: var(--careers-body-text);
  line-height: 1.5;
}

.career-detail-section {
  margin-bottom: 1.25rem;
}

.career-detail-section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.career-detail-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--careers-body-text);
  line-height: 1.5;
}

.career-detail-list li + li {
  margin-top: 0.35rem;
}

.career-detail-apply-note {
  margin: 0 0 1rem;
  color: var(--careers-body-text);
  font-size: 0.92rem;
}

.career-detail-apply {
  margin-top: 0.25rem;
}

.career-detail-empty {
  text-align: center;
  padding: 2rem 1rem;
}

.career-detail--skeleton {
  pointer-events: none;
}

.career-detail--skeleton .skeleton-line--career-title {
  width: 75%;
  height: 1.75rem;
  margin-bottom: 0.65rem;
}

.career-detail-skeleton-section {
  margin: 1rem 0;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: 0.08em;
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}

.page-lead {
  color: var(--text-muted);
  max-width: 640px;
}

.about-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 640px;
}

.static-page--about {
  max-width: 960px;
}

.static-page--about .about-panel {
  max-width: none;
  padding: 1.75rem 2rem 2rem;
}

.about-intro p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-trust {
  margin-top: 1.5rem;
  padding: 1.1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: rgba(68, 204, 68, 0.05);
  border-radius: 0 8px 8px 0;
}

.about-trust p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.about-trust p + p {
  margin-top: 0.45rem;
}

.about-trust-emphasis {
  font-family: var(--font-display);
  font-size: 0.95rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent) !important;
  text-shadow: 0 0 10px var(--accent-glow);
}

.about-how {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.about-how-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
}

.about-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-step {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 0.95rem;
  text-align: left;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.about-step:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 16px var(--accent-glow);
}

.about-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-shadow: 0 0 8px var(--accent-glow);
}

.about-step-text {
  margin: 0;
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
}

.about-closing {
  margin: 1.75rem 0 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.about-brand-line {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.85;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

.about-actions .btn-primary,
.about-actions .btn-secondary {
  flex: 1 1 0;
  min-width: 10rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.4rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  box-sizing: border-box;
  border-width: 1.5px;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .static-page--about .about-panel {
    padding: 1.5rem;
  }

  .about-steps {
    grid-template-columns: 1fr;
  }

  .about-actions {
    flex-direction: column;
  }

  .about-actions .btn-primary,
  .about-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

.static-page--terms {
  max-width: 860px;
}

.static-page .terms-panel {
  text-align: left;
  margin: 0 auto;
}

.terms-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 2rem 2rem;
  text-align: left;
  overflow-wrap: anywhere;
}

.terms-meta {
  margin: 0 0 1.25rem;
  color: rgba(232, 255, 232, 0.72);
  font-size: 0.88rem;
}

.terms-intro {
  padding-bottom: 0.25rem;
}

.terms-intro p {
  margin: 0 0 0.85rem;
  color: rgba(232, 255, 232, 0.82);
  font-size: 0.94rem;
  line-height: 1.6;
}

.terms-intro p:last-child {
  margin-bottom: 0;
}

.terms-sections {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.terms-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  overflow: hidden;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.terms-section[open] {
  border-color: var(--border-bright);
  box-shadow: 0 0 12px rgba(68, 204, 68, 0.08);
}

.terms-section summary {
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.1rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
  transition:
    background 0.15s,
    color 0.15s;
}

.terms-section summary::-webkit-details-marker {
  display: none;
}

.terms-section summary::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
  color: rgba(232, 255, 232, 0.55);
  transition: color 0.15s;
}

.terms-section[open] summary::after {
  content: '\2212';
}

.terms-section summary:hover {
  background: rgba(68, 204, 68, 0.06);
}

.terms-section summary:hover::after {
  color: var(--accent);
}

.terms-section summary:focus {
  outline: none;
}

.terms-section summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.terms-section__body {
  padding: 0.85rem 1.15rem 1.2rem;
  border-top: 1px solid var(--border);
}

.terms-section__body h3 {
  margin: 1.1rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 255, 232, 0.92);
}

.terms-section__body h3:first-child {
  margin-top: 0.95rem;
}

.terms-section__body p {
  margin: 0 0 0.95rem;
  color: rgba(232, 255, 232, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.terms-section__body p:last-child {
  margin-bottom: 0;
}

.terms-section__body a {
  color: var(--accent);
  word-break: break-word;
}

.terms-section__body a:hover {
  color: #e8ffe8;
}

@media (max-width: 720px) {
  .static-page--terms .terms-panel {
    padding: 1.5rem;
  }

  .terms-section summary {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 0.9rem 1rem;
  }

  .terms-section__body {
    padding: 0.75rem 1rem 1.1rem;
  }
}

/* ---- Mobile nav ---- */
.nav-drawer-header {
  display: none;
}

.nav-drawer-body {
  display: contents;
}

.nav-drawer-links {
  display: contents;
}

.nav-drawer-account {
  display: contents;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}
.nav-overlay {
  display: none;
}
body.nav-open {
  overflow: hidden;
  touch-action: none;
  padding-right: var(--nav-scrollbar-width, 0);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  body.nav-open .site-nav {
    padding-right: calc(1.5rem + var(--nav-scrollbar-width, 0));
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.24s ease,
      visibility 0.24s ease;
  }

  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(8, 14, 10, 0.98);
    border-left: 1px solid rgba(68, 204, 68, 0.22);
    box-shadow:
      -10px 0 36px rgba(0, 0, 0, 0.45),
      -2px 0 24px rgba(68, 204, 68, 0.08),
      inset 1px 0 0 rgba(68, 204, 68, 0.12);
    padding: 0;
    transform: translate3d(100%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0.26s;
    z-index: 160;
    overflow: hidden;
    will-change: transform;
  }

  .nav-links.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0s linear 0s;
  }
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.65rem 0.55rem 0.65rem 1rem;
    border-bottom: 1px solid rgba(68, 204, 68, 0.12);
    background: rgba(0, 0, 0, 0.22);
  }
  .nav-drawer-title {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  .nav-drawer-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(68, 204, 68, 0.18);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.28);
    color: rgba(210, 220, 210, 0.92);
    cursor: pointer;
    transition:
      border-color 0.15s ease,
      background 0.15s ease,
      color 0.15s ease;
  }
  .nav-drawer-close:hover {
    border-color: rgba(68, 204, 68, 0.35);
    background: rgba(68, 204, 68, 0.08);
    color: var(--text);
  }
  .nav-drawer-close-icon {
    font-size: 1.65rem;
    line-height: 1;
    margin-top: -0.08rem;
  }
  .nav-drawer-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    padding: 0.45rem 0 0;
  }
  .nav-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.2rem 0 0.35rem;
    flex: 0 0 auto;
  }
  .nav-drawer-account {
    margin-top: auto;
    flex-shrink: 0;
    padding: 0.85rem 0 1rem;
    border-top: 1px solid rgba(68, 204, 68, 0.12);
  }
  .nav-links a,
  .nav-links .btn-primary {
    padding: 0.88rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border: none;
    box-shadow: none;
  }
  .nav-links a.nav-link--active {
    color: #66ee66;
    background: rgba(68, 204, 68, 0.06);
    box-shadow: inset 3px 0 0 rgba(85, 238, 85, 0.7);
  }
  .nav-links a.nav-signout,
  .nav-links a.nav-signin {
    margin-top: 0;
  }
  .site-nav {
    z-index: 170;
  }

  .site-main {
    padding: 1rem;
  }
}

.bounties-page .empty-state {
  text-align: left;
}

.bounty-card-flavor a {
  color: inherit;
  text-decoration: none;
}
.bounty-card-flavor a:hover {
  color: var(--accent);
}

/* ---- Bounties page ---- */
.bounties-page {
  width: 100%;
  text-align: left;
}

.bounties-page--list {
  display: flex;
  flex-direction: column;
  padding-top: 0.25rem;
  gap: 0.55rem;
  overflow: visible;
}

.bounties-header {
  flex-shrink: 0;
  margin: 0;
}

.bounties-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.bounties-lead {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.bounties-app {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0;
  width: 100%;
  overflow: visible;
}

.bounty-tabs {
  flex-shrink: 0;
  display: flex;
  gap: 0.35rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}

.bounty-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.bounty-tab:hover {
  color: var(--text);
}

.bounty-tab--active {
  background: rgba(68, 204, 68, 0.1);
  color: #66ee66;
  box-shadow: inset 0 0 0 1px rgba(68, 204, 68, 0.22);
}

.bounty-panel {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.bounty-board-toolbar-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
  padding: 0.75rem 0.85rem 0.7rem;
}

.bounty-board-toolbar-sticky {
  flex-shrink: 0;
}

.bounties-list-sticky {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-shrink: 0;
}

.bounties-page--list .bounties-list-sticky:not([hidden]) {
  position: sticky;
  z-index: 20;
  background: var(--page-bg);
  padding: 8px 0 12px;
  margin: 0;
  overflow: visible;
}

.bounties-page--list .bounties-list-sticky:not([hidden]) .bounty-tabs,
.bounties-page--list .bounties-list-sticky:not([hidden]) .bounty-board-toolbar-card {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: visible;
  background: rgba(6, 12, 8, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.bounties-page--list .bounties-list-sticky .gh-select-menu {
  z-index: 25;
}

@media (max-width: 768px) {
  .bounties-page--list .bounties-list-sticky:not([hidden]) {
    top: calc(var(--mobile-header-height, 72px) + 8px);
  }
}

@media (min-width: 769px) {
  .bounties-page--list .bounties-list-sticky:not([hidden]) {
    top: calc(var(--app-header-height, 64px) + 12px);
  }
}

.bounty-board-stage {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bounty-board-stage--available {
  border: none;
  background: transparent;
}

.bounty-board-stage--attempts {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
}

.bounty-board-filter .gh-select,
.bounty-board-sort .gh-select {
  min-width: 7.25rem;
}

.bounty-board-results {
  padding: 0.35rem 0 0.55rem;
}

.bounty-board-stage--attempts .bounty-board-results {
  padding: 0.65rem 0.75rem 0.55rem;
}

.bounty-board-load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0 0.35rem;
}

.bounty-board-load-more-btn {
  min-width: min(100%, 16rem);
}

.bounty-board-load-more-meta {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(232, 255, 232, 0.58);
  text-align: center;
}

.bounty-board-load-more-meta--end {
  padding: 0.85rem 0 0.15rem;
}

.bounty-board-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.55rem 0.65rem;
}

.bounty-board-search {
  flex: 1 1 12rem;
  min-width: 0;
}

.bounty-board-search-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 2.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 0.92rem;
}

.bounty-board-search-input::placeholder {
  color: rgba(232, 255, 232, 0.42);
}

.bounty-board-search-input:focus {
  outline: 2px solid rgba(68, 204, 68, 0.45);
  outline-offset: 1px;
  border-color: var(--border-bright);
}

.bounty-board-toolbar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.45rem 0.55rem;
}

.bounty-board-filter,
.bounty-board-sort {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.bounty-board-filter-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 255, 232, 0.55);
}

.bounty-board-filter-hint {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(232, 255, 232, 0.52);
  max-width: 14rem;
}

.bounty-board-filter--sheet .bounty-board-filter-hint {
  max-width: none;
}

.gh-select {
  position: relative;
  min-width: 0;
}

.gh-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.gh-select-trigger {
  width: 100%;
  min-height: 2.35rem;
  padding: 0.35rem 2rem 0.35rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-size: 0.86rem;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  position: relative;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.gh-select-trigger:hover,
.gh-select--open .gh-select-trigger {
  border-color: var(--border-bright);
}

.gh-select-trigger:focus-visible {
  outline: 2px solid rgba(68, 204, 68, 0.45);
  outline-offset: 1px;
}

.gh-select-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gh-select-chevron {
  position: absolute;
  right: 0.65rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid rgba(232, 255, 232, 0.55);
  border-bottom: 2px solid rgba(232, 255, 232, 0.55);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.15s ease;
}

.gh-select--open .gh-select-chevron {
  transform: translateY(-25%) rotate(-135deg);
}

.gh-select-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 0.3rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  background: rgba(8, 14, 10, 0.98);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  max-height: 14rem;
  overflow-y: auto;
}

.gh-select-menu[hidden],
.gh-select:not(.gh-select--open) .gh-select-menu {
  display: none !important;
}

.bounty-filter-sheet .gh-select-menu {
  z-index: 300;
}

.gh-select-option {
  padding: 0.45rem 0.55rem;
  border-radius: 6px;
  color: rgba(232, 255, 232, 0.82);
  font-size: 0.86rem;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.gh-select-option:hover,
.gh-select-option.is-selected {
  background: rgba(68, 204, 68, 0.12);
  color: #e8ffe8;
}

.bounty-board-select {
  width: 100%;
}

.bounty-board-toolbar-controls {
  display: contents;
}

.bounty-board-filters-btn {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  white-space: nowrap;
  transition: border-color 0.15s;
}

.bounty-board-filters-btn:hover {
  border-color: var(--border-bright);
}

.bounty-board-filters-btn--active {
  border-color: rgba(68, 204, 68, 0.35);
  color: var(--accent);
}

.bounty-board-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(68, 204, 68, 0.1);
}

.bounty-board-count {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(232, 255, 232, 0.62);
}

.bounty-board-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.bounty-board-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(68, 204, 68, 0.22);
  background: rgba(68, 204, 68, 0.08);
  color: rgba(232, 255, 232, 0.82);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.bounty-board-chip--reset {
  cursor: pointer;
  font-family: inherit;
  color: var(--accent);
  border-color: rgba(68, 204, 68, 0.35);
}

.bounty-filter-sheet {
  width: min(100%, 26rem);
  max-width: calc(100% - 1.5rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  overflow: hidden;
}

.bounty-filter-sheet::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.bounty-filter-sheet-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.bounty-filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.bounty-filter-sheet-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.bounty-filter-sheet-close {
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.bounty-filter-sheet-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.bounty-board-filter--sheet {
  min-width: 0;
  width: 100%;
}

.bounty-board-filter--sheet .gh-select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.bounty-filter-sheet-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.55rem;
  padding: 0.75rem 1rem 1rem;
  flex-shrink: 0;
  border-top: 1px solid var(--border);
}

.bounty-filter-sheet-actions .btn-primary,
.bounty-filter-sheet-actions .btn-secondary {
  min-height: 2.75rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bounty-attempts-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 0.6rem 0.85rem 0.7rem;
  border-top: 1px solid rgba(68, 204, 68, 0.1);
  background: linear-gradient(
    to top,
    rgba(6, 12, 8, 0.98) 50%,
    rgba(6, 12, 8, 0.9) 72%,
    rgba(6, 12, 8, 0.55) 88%,
    transparent
  );
}

.bounty-attempts-footer .btn-secondary {
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
}

.bounties-detail-host {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.bounties-page--detail {
  padding-bottom: 0.5rem;
}
.bounties-page--detail #bounties-list-sticky,
.bounties-page--detail #bounties-header,
.bounties-page--detail #bounties-panel,
.bounties-page--detail #bounties-attempts-pagination {
  display: none !important;
}
.bounties-page--detail .bounty-back {
  margin: 0 0 0.5rem;
}
.bounty-detail.home-panel {
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.bounty-detail .bounty-card-head {
  align-items: flex-start;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 0.15rem;
}
.bounty-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}
.bounty-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
}
.bounty-detail-cta {
  flex-shrink: 0;
  margin: 0;
}
.bounty-good-to-know {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0.35rem 0 0;
}
.bounty-enter-rules {
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 180, 80, 0.35);
  background: rgba(255, 180, 80, 0.07);
}
.bounty-enter-rules .bounty-detail-heading {
  margin: 0 0 0.4rem;
  color: #ffb84d;
  font-size: 0.88rem;
}
.bounty-enter-rules-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.45;
}
.bounty-enter-rules-item + .bounty-enter-rules-item {
  margin-top: 0.3rem;
}
.bounty-good-to-know-item {
  font-size: 0.78rem;
  line-height: 1.3;
  color: var(--text-muted);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 180, 80, 0.28);
  background: rgba(255, 180, 80, 0.06);
}
.bounty-detail-actions {
  margin: 0.5rem 0 0;
}
.bounty-detail-cta--bottom .btn-bounty-enter {
  width: auto;
}
.bounty-collapse-section + .bounty-collapse-section,
.bounty-collapse-section--divider {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bounty-collapse-subhead {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bounty-collapse--before-play {
  border-color: rgba(68, 170, 85, 0.22);
  background: rgba(20, 40, 28, 0.35);
}
@media (min-width: 641px) {
  .bounty-detail-actions {
    display: none;
  }
}
.bounty-detail .bounty-card-title {
  font-size: 1.2rem;
}
.bounty-detail-heading {
  margin: 0.35rem 0 0.25rem;
  font-size: 0.95rem;
}
.bounty-detail .bounty-condition-list {
  padding-left: 1rem;
}
.bounty-detail .bounty-condition-item {
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
  line-height: 1.35;
}
.bounty-detail .bounty-condition-item:last-child {
  margin-bottom: 0;
}
.bounty-detail-section--run-rules {
  margin-top: 0.35rem;
}
.bounty-detail-flavor,
.bounty-detail-flavor-item,
.bounty-rule-item {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(208, 230, 208, 0.94);
}
.bounty-rule-list {
  margin: 0;
  padding-left: 1rem;
  list-style: disc;
}
.bounty-rule-item {
  margin-bottom: 0.28rem;
}
.bounty-rule-item:last-child {
  margin-bottom: 0;
}
.bounty-detail-collapse {
  margin-top: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}
.bounty-detail-collapse--full-rules {
  padding: 0.45rem 0.65rem 0.55rem;
}
.bounty-detail-collapse-summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(200, 230, 200, 0.92);
  list-style: none;
}
.bounty-detail-collapse-summary::-webkit-details-marker {
  display: none;
}
.bounty-detail-collapse-summary::before {
  content: '+ ';
  color: var(--accent);
}
.bounty-detail-collapse[open] .bounty-detail-collapse-summary::before {
  content: '− ';
}
.bounty-rule-list--full {
  margin-top: 0.45rem;
}
.bounty-rule-list--full .bounty-rule-item {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(178, 200, 178, 0.82);
}
.bounty-run-rules-list {
  margin: 0;
  padding-left: 1rem;
  list-style: disc;
}
.bounty-run-rules-item {
  margin-bottom: 0.15rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text-muted);
}
.bounty-run-rules-item:last-child {
  margin-bottom: 0;
}
.bounty-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.15rem 0 0;
}
.bounty-detail-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}
.bounty-detail-stat--reward {
  border-color: rgba(227, 165, 32, 0.35);
  background: rgba(227, 165, 32, 0.07);
}
.bounty-detail-stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.bounty-detail-stat-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.bounty-detail-stat-value--reward {
  font-size: 1.15rem;
  color: var(--gold);
  text-shadow: 0 0 10px var(--gold-glow);
}
.bounty-detail-stat--slots {
  border-color: rgba(68, 204, 68, 0.18);
  background: rgba(68, 204, 68, 0.04);
}
.bounty-detail-stat-value--slots {
  color: rgba(200, 240, 200, 0.95);
  font-size: 1rem;
  font-weight: 700;
}
.bounty-detail-stat-hint--slots {
  color: rgba(120, 180, 120, 0.88);
}
.bounty-detail-stat-hint--claim {
  color: rgba(196, 224, 198, 0.92);
  line-height: 1.4;
}
.bounty-detail-credit-notice {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  color: #ff9966;
}
.bounty-detail-flavor-list {
  margin: 0.15rem 0 0;
  padding-left: 1rem;
  list-style: disc;
}
.bounty-detail-flavor-item {
  margin-bottom: 0.28rem;
}
.bounty-detail-flavor-item:last-child {
  margin-bottom: 0;
}
.bounty-detail-stat-hint {
  font-size: 0.72rem;
  line-height: 1.25;
  color: var(--text-muted);
}
.bounty-detail-extras {
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.bounty-detail .bounty-collapse-summary {
  padding: 0.5rem 0.7rem;
  font-size: 0.86rem;
  line-height: 1.3;
}
.bounty-detail-flavor {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(208, 230, 208, 0.94);
}
.btn-bounty-enter {
  width: auto;
  min-height: 40px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  animation: none;
}
.btn-bounty-enter--blocked,
.btn-bounty-enter:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
  filter: none;
  box-shadow: none;
  transform: none;
}
.bounty-detail-closes {
  margin: 0;
  font-size: 0.85rem;
}
@media (max-width: 640px) {
  .bounty-detail-stats {
    grid-template-columns: 1fr;
  }
  .bounty-detail-stat--reward {
    order: -1;
  }
  .bounty-detail-header {
    flex-direction: column;
    align-items: stretch;
  }
  .bounty-detail-cta--header {
    display: none;
  }
  .bounty-detail-cta {
    align-self: flex-start;
  }
  .bounty-detail-actions {
    display: block;
  }
  .bounty-detail-actions .btn-bounty-enter {
    width: 100%;
    max-width: 280px;
  }
  .bounty-detail--skeleton .bounty-detail-header > .skeleton-button--bounty-cta {
    display: none;
  }
  .bounty-detail-skeleton-cta-bottom {
    display: block;
  }
}

.bounty-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  width: 100%;
  align-items: stretch;
}

.bounty-grid--single {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(100%, 34rem);
  margin-inline: 0;
}

.bounty-grid--single .bounty-card {
  min-height: 0;
  padding: 1rem 1.15rem;
  gap: 0.55rem;
}

.bounty-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bounty-card {
  background: rgba(12, 24, 15, 0.88);
  border: 1px solid rgba(68, 204, 68, 0.16);
  border-radius: 10px;
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  min-height: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.bounty-card--skeleton {
  pointer-events: none;
  min-height: 0;
}

.bounty-grid--skeleton-compact {
  max-width: min(100%, 34rem);
  margin-inline: 0;
}

.bounty-grid--skeleton {
  pointer-events: none;
}

/* Board and detail use different skeleton hosts — never mix layouts. */
#bounties-root .bounty-detail--skeleton,
#bounties-root .bounty-detail-skeleton-briefing,
#bounties-root .bounty-detail-skeleton-section,
#bounties-root .bounty-detail-skeleton-rules,
#bounties-root .bounty-detail-skeleton-flavor {
  display: none !important;
}

#bounties-detail-host .bounty-grid--skeleton-board,
#bounties-detail-host .bounty-card--skeleton {
  display: none !important;
}

.bounty-card--skeleton:hover {
  border-color: var(--border);
  box-shadow: none;
}

.bounty-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 0 20px rgba(68, 204, 68, 0.07);
}

.bounty-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.55rem;
}

.bounty-card-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: rgba(244, 252, 246, 0.98);
  min-width: 0;
}

.bounty-card-reward-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.bounty-card-reward,
.bounty-detail-reward {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  color: #f0c040;
  text-shadow: 0 0 12px rgba(240, 192, 64, 0.35);
}

.bounty-card-entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.bounty-card-entry {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(204, 224, 206, 0.92);
}

.bounty-card-entry--short {
  color: #ff9966;
}

.bounty-difficulty {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.bounty-difficulty--easy {
  color: var(--accent);
  background: rgba(68, 204, 68, 0.12);
  border: 1px solid rgba(68, 204, 68, 0.25);
}

.bounty-difficulty--medium {
  color: var(--gold);
  background: rgba(227, 165, 32, 0.12);
  border: 1px solid rgba(227, 165, 32, 0.28);
}

.bounty-difficulty--hard {
  color: #ff9966;
  background: rgba(255, 120, 60, 0.12);
  border: 1px solid rgba(255, 120, 60, 0.28);
}

.bounty-difficulty--elite {
  color: #cc88ff;
  background: rgba(136, 85, 204, 0.15);
  border: 1px solid rgba(136, 85, 204, 0.35);
}

.bounty-card-objectives-label {
  margin: 0.15rem 0 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(168, 198, 176, 0.94);
}

.bounty-slots-meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.bounty-slots-meta .bounty-slots-bar {
  margin-top: 0.18rem;
}

.bounty-slots-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(196, 216, 198, 0.9);
}

.bounty-slots-text--secondary {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  color: #72f072;
  text-shadow: 0 0 10px rgba(102, 238, 102, 0.18);
}

.bounty-slots-bar {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.bounty-slots-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 3px;
}

.bounty-slots-bar--high .bounty-slots-fill {
  background: linear-gradient(90deg, var(--gold), #ff8855);
}

.bounty-card-objectives {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  align-content: flex-start;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-height: 1.75rem;
  max-height: 4.75rem;
  overflow: hidden;
}

.bounty-card-objective {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  width: auto;
  margin: 0;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: rgba(214, 234, 214, 0.96);
  background: rgba(68, 204, 68, 0.1);
  border: 1px solid rgba(68, 204, 68, 0.22);
}

.bounty-card-objective span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bounty-card-objective--more {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  padding: 0.2rem 0.55rem;
}

.bounty-card-objective--more a {
  color: rgba(180, 205, 186, 0.94);
  text-decoration: none;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.bounty-card-objective--more a:hover {
  color: var(--accent);
  text-shadow: none;
}

.bounty-card-objectives--skeleton {
  flex-wrap: wrap;
  max-height: none;
  min-height: 1.55rem;
}

.bounty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bounty-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(68, 204, 68, 0.08);
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bounty-status {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.bounty-status--open {
  background: rgba(68, 204, 68, 0.15);
  color: var(--accent);
  border: 1px solid rgba(68, 204, 68, 0.25);
}

.bounty-status--closing_soon {
  background: rgba(227, 165, 32, 0.15);
  color: var(--gold);
  border: 1px solid rgba(227, 165, 32, 0.28);
}

.bounty-status--full {
  background: rgba(120, 120, 120, 0.15);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.bounty-status--completed {
  background: rgba(68, 204, 68, 0.1);
  color: rgba(180, 210, 180, 0.92);
  border: 1px solid rgba(120, 150, 120, 0.35);
}

.bounty-card-cta {
  width: 100%;
  margin-top: auto;
  text-align: center;
  justify-content: center;
  min-height: 2.15rem;
  font-size: 0.82rem;
}

.bounty-card-cta--blocked,
.bounty-card-cta:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 10, 0.45);
  color: var(--text-muted) !important;
  box-shadow: none;
  transform: none;
}

.bounty-card-cta--blocked:hover,
.bounty-card-cta:disabled:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 10, 0.45);
  filter: none;
}

.empty-state--panel {
  padding: 2rem 1rem;
  text-align: center;
}

.bounty-panel-state-wrap {
  min-height: min(100%, 22rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 0.5rem 2rem;
  box-sizing: border-box;
}

.bounty-panel-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--text-muted);
  border: 1px dashed rgba(68, 204, 68, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.15);
}

.bounty-panel-state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.1rem;
  color: rgba(68, 204, 68, 0.72);
}

.bounty-panel-state-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bounty-panel-state-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(200, 230, 200, 0.92);
}

.bounty-panel-state-body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 34ch;
  color: rgba(200, 210, 200, 0.82);
}

.bounty-panel-state-action {
  margin-top: 0.35rem;
}

.bounty-panel-state--error .bounty-panel-state-icon {
  color: rgba(68, 204, 68, 0.58);
}

.bounty-back {
  margin: 0 0 1rem;
}
.bounty-back a {
  color: var(--text-muted);
  text-decoration: none;
}
.bounty-back a:hover {
  color: var(--accent);
}
.bounty-detail {
  max-width: none;
}
.bounty-detail-heading {
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  color: rgba(130, 240, 130, 0.96);
}
.bounty-condition-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
}
.bounty-condition-item {
  margin-bottom: 0.35rem;
}

.bounty-hud-track {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
}
.bounty-hud-track-heading {
  margin-bottom: 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.bounty-detail-extras {
  display: flex;
  flex-direction: column;
}
.bounty-collapse {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
}
.bounty-collapse--rules {
  border-color: rgba(255, 180, 80, 0.28);
  background: rgba(255, 180, 80, 0.04);
}
.bounty-collapse--hud {
  border-color: rgba(68, 170, 85, 0.22);
  background: rgba(20, 40, 28, 0.35);
}
.bounty-collapse-summary {
  cursor: pointer;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  color: var(--accent);
  list-style: none;
  line-height: 1.35;
  font-size: 0.95rem;
}
.bounty-collapse--rules .bounty-collapse-summary {
  color: #ffb84d;
}
.bounty-collapse-summary::-webkit-details-marker {
  display: none;
}
.bounty-collapse-summary::after {
  content: ' ▾';
  color: var(--text-muted);
  font-size: 0.85em;
}
.bounty-collapse[open] .bounty-collapse-summary::after {
  content: ' ▴';
}
.bounty-collapse-body {
  padding: 0 0.75rem 0.75rem;
}
.bounty-collapse--hud .bounty-hud-track-list {
  margin: 0;
}
.bounty-hud-track-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.bounty-hud-track-item {
  display: grid;
  grid-template-columns: minmax(0, 11.5rem) 1fr;
  gap: 0.75rem;
  align-items: center;
}
.bounty-hud-track-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.bounty-hud-track-label {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--text);
}
.bounty-hud-track-detail {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}
.bounty-hud-mock-vital {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}
.bounty-hud-mock-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}
.bounty-hud-mock-icon .hud-icon-mask {
  width: 18px;
  height: 18px;
}
.bounty-hud-mock-label {
  flex-shrink: 0;
  width: 3.6rem;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1;
  color: rgba(230, 240, 232, 0.92);
}
.bounty-hud-mock-bar {
  position: relative;
  flex: 1;
  min-width: 0;
  height: 1.05rem;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bounty-hud-mock-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 3px;
}
.bounty-hud-mock-fill--health {
  background: linear-gradient(90deg, #2a8a2a, #44cc44);
}
.bounty-hud-mock-fill--hits {
  background: linear-gradient(90deg, #2a6a3a, #44aa55);
}
.bounty-hud-mock-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 3px #000;
  pointer-events: none;
}
.bounty-hud-mock-vital--hits .bounty-hud-mock-bar {
  position: relative;
}
.bounty-hud-mock-kills,
.bounty-hud-mock-timer {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: rgba(200, 220, 205, 0.9);
  white-space: nowrap;
}
@media (max-width: 560px) {
  .bounty-hud-track-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }
}

.bounty-card-flavor--detail {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.bounty-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: baseline;
  margin: 0.5rem 0 0.25rem;
}
.bounty-detail-meta-item {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.bounty-detail-meta .bounty-detail-reward {
  margin: 0;
}
.bounty-setup-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.bounty-setup-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: auto;
  min-width: 5.5rem;
  max-width: 7.5rem;
  padding: 0.4rem 0.5rem 0.45rem;
  text-align: center;
  border: 1px solid rgba(200, 232, 200, 0.1);
  border-radius: 0.4rem;
  background: rgba(12, 24, 16, 0.35);
}
.bounty-setup-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.1;
}
.bounty-setup-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  line-height: 1;
  min-height: 2.75rem;
}
.bounty-setup-icons .bounty-item-icons {
  padding-top: 0;
  min-width: 0;
  justify-content: center;
  gap: 0.35rem;
}
.bounty-setup-detail {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.bounty-detail .bounty-setup-card .hud-icon-mask,
.bounty-detail .bounty-setup-card .hud-icon-svg {
  width: 42px;
  height: 42px;
}
.bounty-detail .bounty-setup-card .hud-icon-svg {
  flex-shrink: 0;
  display: block;
}
.bounty-item-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  flex-shrink: 0;
}
.bounty-detail .hud-icon-mask {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: var(--icon-color, currentColor);
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.bounty-detail .hud-icon-svg {
  flex-shrink: 0;
  display: block;
}
.bounty-rules-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}
.bounty-collapse--attempts .bounty-detail-attempts,
.bounty-collapse--attempts .bounty-detail-best {
  margin-top: 0;
}
.bounty-collapse--attempts .bounty-detail-best {
  margin-bottom: 0.5rem;
}
.bounty-rules-item + .bounty-rules-item {
  margin-top: 0.35rem;
}
.bounty-detail-closes,
.bounty-detail-attempts,
.bounty-detail-best,
.bounty-detail-entry {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.bounty-card-entry {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.bounty-attempts-table {
  margin-bottom: 0.25rem;
}
.dashboard-bounty-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.dashboard-bounty-stats strong {
  color: var(--gold);
}
.dashboard-bounty-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dashboard-bounty-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.dashboard-bounty-item:last-child {
  border-bottom: none;
}
.dashboard-bounty-item a {
  font-weight: 600;
  text-decoration: none;
}

.account-status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(204, 68, 68, 0.45);
  color: #f87171;
  background: rgba(204, 68, 68, 0.12);
}

.dashboard-quick-stats,
.hunter-profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
  gap: 0.65rem;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 0.15rem;
  width: 100%;
}

.dashboard-stat-card {
  background: rgba(68, 204, 68, 0.05);
  border: 1px solid rgba(68, 204, 68, 0.14);
  border-radius: 10px;
  padding: 0.75rem 0.65rem;
  text-align: center;
}

.dashboard-stat-value {
  display: block;
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.dashboard-stat-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.dashboard-stat-sub {
  display: block;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
  opacity: 0.85;
}

/* ---------------------------------------------------------------------------
   Progression — rank badge, XP bar, achievements
   --------------------------------------------------------------------------- */
.rank-badge-wrap {
  margin: 0.15rem 0 0.35rem;
}

.streak-display-wrap {
  margin: 0.35rem 0 0;
}

.streak-display {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.streak-fire {
  font-size: 1.15rem;
  line-height: 1;
}

.streak-count {
  font-size: 1.25rem;
  font-weight: 800;
  color: #44cc44;
  line-height: 1.1;
}

.streak-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gh-text-muted, #9ab09a);
  text-transform: lowercase;
}

.streak-inactive {
  font-size: 0.82rem;
  color: #888888;
  font-weight: 600;
}

.streak-best {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--gh-text-muted, #9ab09a);
}

.streak-display--hot .streak-count,
.streak-display--hot .streak-label {
  color: #e3a520;
}

.streak-display--hot {
  text-shadow: 0 0 12px rgba(227, 165, 32, 0.35);
}

.streak-display--blazing .streak-count {
  background: linear-gradient(90deg, #e3a520, #ff7722);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: streak-blazing-pulse 1.8s ease-in-out infinite;
}

.streak-display--blazing .streak-fire {
  animation: streak-blazing-pulse 1.8s ease-in-out infinite;
}

@keyframes streak-blazing-pulse {
  0%,
  100% {
    filter: brightness(1);
    transform: scale(1);
  }
  50% {
    filter: brightness(1.15);
    transform: scale(1.04);
  }
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.65rem;
  border: 2px solid var(--rank-color, #888);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
}

.rank-badge--sm {
  display: inline-flex;
  margin-left: 0.4rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.62rem;
  border-width: 1px;
  vertical-align: middle;
}

.rank-badge-tier {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--rank-color, #888);
  opacity: 0.9;
}

.rank-badge-name {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rank-color, #888);
}

.xp-bar {
  position: relative;
  width: 100%;
  height: 8px;
  margin: 0.65rem 0 1.35rem;
  border-radius: 999px;
  background: #1a1a1a;
  overflow: visible;
}

.xp-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--rank-color, #44cc44);
  transition: width 0.5s ease;
}

.xp-bar-label,
.xp-bar-numbers {
  position: absolute;
  top: 12px;
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.xp-bar-label {
  left: 0;
}

.xp-bar-numbers {
  right: 0;
}

.dashboard-achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.achievement-card {
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(120, 140, 120, 0.2);
  background: rgba(8, 14, 10, 0.75);
}

.achievement-card--earned {
  border-color: rgba(68, 204, 68, 0.45);
  background: rgba(12, 24, 14, 0.85);
}

.achievement-card--locked {
  opacity: 0.55;
}

.achievement-card__head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.achievement-card__name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.achievement-card__desc {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.achievement-card__xp {
  margin: 0;
  font-size: 0.75rem;
  color: #e3a520;
  font-weight: 700;
}

.achievement-card__date {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.dashboard-achievements-toggle {
  margin-top: 0.25rem;
}

.dashboard-wallet-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.dashboard-wallet-layout {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.wallet-tiles--main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.wallet-tile {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.wallet-tile--standalone {
  width: 100%;
}

.wallet-tile-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wallet-tile-value {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
}

.wallet-tile-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 0.15rem;
}

.wallet-tile--earned .wallet-tile-value {
  color: var(--gold);
}

.wallet-tile--bonus .wallet-tile-value {
  color: var(--accent);
}

.wallet-tile--pending {
  border-color: rgba(227, 165, 32, 0.35);
  background: rgba(227, 165, 32, 0.06);
}

.wallet-tile--pending .wallet-tile-value {
  color: var(--gold);
}

.wallet-tile--total {
  border-color: rgba(68, 204, 68, 0.38);
  background: linear-gradient(135deg, rgba(68, 204, 68, 0.14), rgba(68, 204, 68, 0.05));
  box-shadow: 0 0 22px rgba(68, 204, 68, 0.08);
}

.wallet-tile--total .wallet-tile-value {
  color: var(--text);
  font-size: clamp(1.3rem, 3.5vw, 1.65rem);
}

.wallet-tile--total .wallet-tile-label {
  color: rgba(180, 220, 180, 0.92);
}

.dashboard-reward-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.reward-claim-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid rgba(227, 165, 32, 0.35);
  background: linear-gradient(135deg, rgba(227, 165, 32, 0.12), rgba(10, 20, 12, 0.85));
  overflow: hidden;
}

.reward-claim-glow {
  position: absolute;
  inset: -40% auto auto -20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 165, 32, 0.22), transparent 70%);
  pointer-events: none;
}

.reward-claim-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.reward-claim-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  color: var(--gold);
  border: 1px solid rgba(227, 165, 32, 0.45);
  background: rgba(227, 165, 32, 0.12);
}

.reward-claim-badge--referral {
  margin-bottom: 0.35rem;
}

.reward-claim-name {
  font-size: 1rem;
  color: var(--text);
}

.reward-claim-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
}

.reward-claim-expiry {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.reward-claim-btn {
  flex-shrink: 0;
  min-width: 5.5rem;
}

.dashboard-referral-wrap {
  margin-top: 0.75rem;
}

.dashboard-referral-card {
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.bounty-summary-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.bounty-summary-tile {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.bounty-summary-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bounty-summary-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}

.bounty-summary-tile--won .bounty-summary-value {
  color: var(--accent);
}

.bounty-summary-tile--earned .bounty-summary-value {
  color: var(--gold);
}

.bounty-summary-tile--pending {
  border-color: rgba(227, 165, 32, 0.35);
  background: rgba(227, 165, 32, 0.06);
}

.bounty-summary-tile--pending .bounty-summary-value {
  color: var(--gold);
}

.bounty-attempts-wrap {
  margin-top: 0.85rem;
}

.bounty-attempts-desktop {
  display: block;
}

.bounty-attempts-mobile {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bounty-attempts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.bounty-attempts-table thead th {
  padding: 0.45rem 0.65rem;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.bounty-attempts-table tbody td {
  padding: 0.48rem 0.65rem;
  border-bottom: 1px solid rgba(68, 204, 68, 0.08);
  vertical-align: middle;
}

.bounty-attempts-row:last-child td {
  border-bottom: none;
}

.bounty-attempts-cell--prize {
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.bounty-attempts-cell--date {
  color: var(--text-muted);
  white-space: nowrap;
}

.bounty-attempts-action {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bounty-attempts-table--full .bounty-attempts-action.btn-run-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.85rem;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(68, 204, 68, 0.32);
  border-radius: 6px;
  background: rgba(68, 204, 68, 0.08);
  text-decoration: none;
  white-space: nowrap;
}

.bounty-attempts-table--full .bounty-attempts-action.btn-run-detail:hover {
  background: rgba(68, 204, 68, 0.14);
  border-color: rgba(68, 204, 68, 0.45);
}

.bounty-attempts-action:hover {
  color: #66ee66;
}

.bounty-attempts-action--empty {
  color: var(--text-muted);
  text-decoration: none;
  cursor: default;
}

.bounty-attempt-status {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.bounty-attempt-status--won {
  color: var(--gold);
  border-color: rgba(227, 165, 32, 0.4);
  background: rgba(227, 165, 32, 0.1);
}

.bounty-attempt-status--review {
  color: #88bbff;
  border-color: rgba(100, 160, 255, 0.35);
  background: rgba(100, 160, 255, 0.1);
}

.bounty-attempt-status--not-won {
  color: #c8a0a0;
  border-color: rgba(200, 120, 120, 0.35);
  background: rgba(200, 120, 120, 0.08);
}

.bounty-attempt-status--entered {
  color: var(--accent);
  border-color: rgba(68, 204, 68, 0.35);
  background: rgba(68, 204, 68, 0.1);
}

.bounty-attempt-status--expired,
.bounty-attempt-status--cancelled,
.bounty-attempt-status--refunded {
  color: var(--text-muted);
  border-color: rgba(140, 160, 150, 0.35);
  background: rgba(140, 160, 150, 0.08);
}

.bounty-attempts-table-skeleton {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bounty-attempts-skeleton-row {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.8fr 0.7fr;
  gap: 0.65rem;
  align-items: center;
}

.bounty-attempt-card {
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(68, 204, 68, 0.12);
  background: rgba(10, 20, 12, 0.72);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.bounty-attempt-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.bounty-attempt-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.25;
}

.bounty-attempt-card-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bounty-attempt-card-prize {
  color: var(--gold);
  font-weight: 600;
}

.bounty-attempt-card-sep {
  color: var(--text-muted);
}

.bounty-attempt-card-date {
  color: var(--text-muted);
}

.bounty-attempt-card-action {
  margin-top: 0.1rem;
}

.bounty-attempt-card--skeleton {
  gap: 0.55rem;
}

.bounty-attempts-back {
  margin: 0 0 1rem;
}

.bounty-attempts-back a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.bounty-attempts-back a:hover {
  color: var(--accent);
}

.bounty-attempts-page-root {
  margin-top: 0.5rem;
}

.bounty-result-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bounty-result-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.bounty-result-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.bounty-result-meta {
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.bounty-result-meta-row {
  display: grid;
  grid-template-columns: minmax(4.5rem, auto) 1fr;
  gap: 0.75rem;
  align-items: baseline;
}

.bounty-result-meta-row dt {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bounty-result-meta-row dd {
  margin: 0;
  color: var(--text);
}

.bounty-result-section-title {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bounty-result-objectives .run-detail-objective-list {
  margin: 0;
}

.bounty-result-objective-empty {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.bounty-result-run-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--text);
  font-size: 0.92rem;
}

.skeleton-bounty-result {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skeleton-bounty-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.skeleton-bounty-result-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.skeleton-bounty-result-section {
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (max-width: 768px) {
  .bounty-attempts-desktop {
    display: none;
  }

  .bounty-attempts-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .bounty-attempts-skeleton-row {
    display: none;
  }
}

.dashboard-runs-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.run-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.run-card--standout {
  border-color: rgba(68, 204, 68, 0.34);
  background: linear-gradient(135deg, rgba(68, 204, 68, 0.1), rgba(0, 0, 0, 0.22));
  box-shadow: 0 0 18px rgba(68, 204, 68, 0.06);
}

.run-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.run-card-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-width: 0;
}

.run-card-header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
}

.run-card-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.run-type-pill {
  display: inline-block;
  padding: 0.15em 0.55em;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.run-type-pill--free {
  color: var(--accent);
  background: rgba(68, 204, 68, 0.12);
  border: 1px solid rgba(68, 204, 68, 0.22);
}

.run-type-pill--bounty {
  color: var(--gold);
  background: rgba(227, 165, 32, 0.12);
  border: 1px solid rgba(227, 165, 32, 0.28);
}

.run-status-pill {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.run-status-pill--completed,
.run-status-pill--ended {
  color: rgba(180, 210, 180, 0.92);
  border-color: rgba(120, 150, 120, 0.35);
  background: rgba(120, 150, 120, 0.12);
}

.run-status-pill--best {
  color: var(--gold);
  border-color: rgba(227, 165, 32, 0.45);
  background: rgba(227, 165, 32, 0.12);
}

.run-status-pill--won {
  color: #66ee66;
  border-color: rgba(68, 204, 68, 0.4);
  background: rgba(68, 204, 68, 0.12);
}

.run-status-pill--failed,
.run-status-pill--not-won {
  color: #f87171;
  border-color: rgba(204, 68, 68, 0.35);
  background: rgba(204, 68, 68, 0.1);
}

.run-status-pill--review {
  color: var(--gold);
  border-color: rgba(227, 165, 32, 0.35);
  background: rgba(227, 165, 32, 0.1);
}

.run-status-pill--invalid {
  color: #9ca3af;
  border-color: rgba(120, 120, 120, 0.35);
  background: rgba(120, 120, 120, 0.12);
}

.run-card-performance {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}

.run-card-survival {
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}

.run-card-survival-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.run-card-stat-line {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(200, 210, 200, 0.78);
}

.run-card-stat {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(200, 210, 200, 0.78);
}

.run-card-view {
  white-space: nowrap;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
}

.dashboard-wallet-debt {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.dashboard-wallet-debt strong {
  color: var(--gold);
}

.dashboard-wallet-pending {
  color: var(--gold);
  font-weight: 600;
}

.dashboard-wallet-pending-note {
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.dashboard-wallet-hint {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.dashboard-grant-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.dashboard-grant-card:last-child {
  margin-bottom: 0;
}

.dashboard-grant-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.dashboard-grant-name {
  font-size: 1rem;
}

.dashboard-grant-amount {
  font-weight: 700;
  color: var(--gold);
}

.dashboard-grant-expiry {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dashboard-grant-claim {
  flex-shrink: 0;
}

.dashboard-referral-card {
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.dashboard-referral-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dashboard-referral-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.dashboard-referral-label {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.dashboard-referral-code {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.dashboard-referral-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

.dashboard-referral-stats strong {
  color: var(--gold);
}

.dashboard-referral-copy {
  margin-left: auto;
}

.run-bounty-badge {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  vertical-align: middle;
  border: 1px solid rgba(227, 165, 32, 0.45);
  color: var(--gold);
  background: rgba(227, 165, 32, 0.12);
}

.site-toast-root {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  width: min(92vw, 420px);
}

.site-toast {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-bright);
  background: var(--surface-raised);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: site-toast-in 0.22s ease;
  pointer-events: auto;
}

.site-toast--out {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.site-toast--success {
  border-color: rgba(68, 204, 68, 0.45);
  background: rgba(10, 30, 14, 0.95);
}

.site-toast--error {
  border-color: rgba(204, 68, 68, 0.45);
  background: rgba(30, 10, 10, 0.95);
}

.site-toast-message {
  font-size: 0.92rem;
}

@keyframes site-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .dashboard-quick-stats,
  .hunter-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hunter-profile-main {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: center;
  }

  .hunter-profile-avatar-wrap {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
  }

  .hunter-profile-body {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }

  .hunter-profile-stats {
    grid-row: 3;
    margin-top: 0.35rem;
  }

  .profile-name-row {
    justify-content: center;
  }

  .profile-edit-btn {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    padding: 0;
    font-size: 1.25rem;
    border-radius: 8px;
  }

  .profile-name-edit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  .profile-name-edit input {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
  }

  .profile-name-edit .btn-primary,
  .profile-name-edit .btn-secondary {
    width: 100%;
    min-width: 0;
  }

  .profile-name-error {
    grid-column: 1 / -1;
    text-align: center;
  }

  .hunter-profile-actions {
    flex-direction: column;
  }

  .hunter-profile-play,
  .hunter-profile-bounties {
    width: 100%;
    max-width: none;
  }

  .hunter-profile-skeleton--identity .skeleton-line--profile-kicker,
  .hunter-profile-skeleton--identity .skeleton-line--profile-name,
  .hunter-profile-skeleton--identity .skeleton-line--profile-id,
  .hunter-profile-skeleton--identity .skeleton-line--profile-email {
    margin-left: auto;
    margin-right: auto;
  }

  .skeleton-circle--profile-edit {
    width: 2.75rem;
    height: 2.75rem;
  }

  .dashboard-collapse-hint {
    display: none;
  }

  .dashboard-settings-cards,
  .dashboard-settings-kb-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-settings-card--wide,
  .dashboard-settings-card--keybindings {
    grid-column: auto;
  }

  .dashboard-settings-footer .btn-secondary {
    width: 100%;
  }

  .reward-claim-card {
    flex-direction: column;
    align-items: stretch;
  }

  .reward-claim-btn {
    width: 100%;
  }

  .dashboard-referral-row {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-referral-copy {
    margin-left: 0;
    width: 100%;
  }

  .run-card-header {
    align-items: flex-start;
    gap: 0.35rem;
  }

  .run-card-header-left {
    flex: 1 1 100%;
  }

  .run-card-header-right {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
    gap: 0.45rem;
  }

  .run-card-date {
    font-size: 0.75rem;
  }

  .run-card-view {
    min-height: 2.1rem;
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }

  .run-card-performance {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
  }

  .run-card-survival {
    font-size: 1.15rem;
  }

  .wallet-tiles--main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wallet-tile--total {
    grid-column: 1 / -1;
  }

  .bounty-summary-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bounty-summary-tile--earned,
  .bounty-summary-tile--pending {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .run-detail-overlay {
    padding: 0;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
  }

  .run-detail-modal {
    width: calc(100vw - 24px);
    max-width: none;
    min-width: 0;
    margin: 12px;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 1.25rem 1rem 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #run-detail-content,
  .run-detail-body,
  .run-detail-bounty,
  .run-detail-groups,
  .run-detail-group {
    max-width: 100%;
    overflow-x: hidden;
  }

  .run-detail-head {
    margin: 0 2.75rem 0.85rem 0;
  }

  .run-detail-title {
    font-size: 1.05rem;
    word-break: break-word;
  }

  .run-detail-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .run-detail-hero {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding: 0.85rem 0.75rem;
  }

  .run-detail-hero-stat {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    text-align: left;
    width: 100%;
  }

  .run-detail-hero-value {
    font-size: 1.2rem;
  }

  .run-detail-bounty {
    padding: 0.85rem 0.75rem;
  }

  .run-detail-bounty-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .run-detail-bounty-objective {
    word-break: break-word;
  }

  .run-detail-groups {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .run-detail-group {
    width: 100%;
    min-width: 0;
  }

  .run-detail-stat-row {
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
  }

  .run-detail-stat-row dd {
    text-align: left;
    word-break: break-word;
  }

  .run-detail-objective-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
    align-items: start;
  }

  .run-detail-objective-metric {
    display: block;
  }

  .run-detail-objective-values {
    display: block;
    white-space: normal;
    word-break: break-word;
  }

  .run-detail-objective-status {
    justify-self: start;
    margin-top: 0.1rem;
  }

  .skeleton-run-detail-groups {
    grid-template-columns: 1fr;
  }

  .skeleton-run-detail-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .bounty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bounty-grid--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: min(100%, 34rem);
    margin-inline: 0;
  }
}

@media (max-width: 768px) {
  .bounty-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .bounty-card {
    min-height: 0;
    padding: 0.65rem 0.72rem;
    gap: 0.35rem;
  }

  .bounty-card-title {
    font-size: 1rem;
  }

  .bounty-card-objective {
    font-size: 0.875rem;
    padding: 0.24rem 0.66rem;
  }

  .bounty-card-objective--more a {
    font-size: 0.875rem;
  }

  .bounty-card--skeleton-desktop-only {
    display: none;
  }

  .bounty-board-results {
    padding: 0.55rem 0 0.45rem;
  }

  .bounty-tabs {
    width: 100%;
  }

  .bounty-tab {
    flex: 1 1 0;
    justify-content: center;
    min-width: 0;
    padding: 0.48rem 0.55rem;
    font-size: 0.8rem;
  }

  .site-main:has(.bounties-page--list) {
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .bounties-page--list {
    gap: 0.4rem;
  }

  .bounties-lead {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .bounty-board-toolbar-filters {
    display: none;
  }

  .bounty-board-toolbar-controls {
    display: flex;
    flex: 1 1 100%;
    align-items: flex-end;
    gap: 0.55rem;
    min-width: 0;
    width: 100%;
  }

  .bounty-board-filters-btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 2.75rem;
    height: 2.75rem;
    padding: 0 0.85rem;
  }

  .bounty-board-toolbar-controls .bounty-board-sort {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }

  .bounty-board-toolbar-controls .gh-select-trigger {
    min-height: 2.75rem;
    height: 2.75rem;
  }

  .bounty-board-toolbar-row {
    align-items: stretch;
    gap: 0.55rem;
  }

  .bounty-board-search {
    flex: 1 1 100%;
  }

  .bounty-board-search-input {
    min-height: 2.75rem;
  }

  .bounty-board-toolbar-card {
    padding: 0.65rem 0.7rem 0.6rem;
    overflow: visible;
  }

  .bounty-filter-sheet {
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    margin: 0;
    border: none;
    border-top: 1px solid var(--border-bright);
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    overflow-x: clip;
    overscroll-behavior: contain;
  }

  .bounty-filter-sheet[open] {
    animation: bounty-filter-sheet-in 0.22s ease-out;
  }

  @keyframes bounty-filter-sheet-in {
    from {
      transform: translateY(100%);
    }

    to {
      transform: translateY(0);
    }
  }

  .bounty-filter-sheet-form {
    max-height: 80vh;
  }

  .bounty-filter-sheet-body {
    flex: 1 1 auto;
    min-height: 0;
  }

  .bounty-filter-sheet-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.75rem 1rem max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .bounty-filter-sheet-actions .btn-primary,
  .bounty-filter-sheet-actions .btn-secondary {
    width: 100%;
    min-width: 0;
    box-shadow: none;
  }

  .bounty-filter-sheet-actions .btn-primary {
    box-shadow: none;
  }

  .bounty-filter-sheet .gh-select-menu {
    max-width: 100%;
  }

  .bounty-board-load-more {
    padding-bottom: 0.5rem;
  }

  .skeleton-run-card-header-right {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .skeleton-settings-kb-grid {
    grid-template-columns: 1fr;
  }
}

/* Active bounty alert (Recent Runs) — only injected when there is content */
.dashboard-active-bounty-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(227, 165, 32, 0.32);
  border-radius: 8px;
  background: rgba(227, 165, 32, 0.08);
}

.dashboard-active-bounty-alert-title {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
}

.dashboard-active-bounty-alert-title strong {
  color: var(--gold);
}

.dashboard-active-bounty-alert-lead {
  margin: 0.35rem 0 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.dashboard-active-bounty-alert-link {
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 0.1rem;
}

@media (max-width: 640px) {
  .dashboard-active-bounty-alert {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Wallet history amounts & status */
.wallet-history-amount--credit {
  color: var(--success, #6ecf8a);
  font-weight: 600;
}

.wallet-history-amount--debit {
  color: #f87171;
  font-weight: 600;
}

.wallet-history-amount--zero {
  color: var(--text-muted);
}

.skeleton-pill--status {
  width: 4.5rem;
  height: 1.35rem;
  border-radius: 999px;
  display: inline-block;
}

.dashboard-panel-head-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.dashboard-panel-head-main .dashboard-panel-meta {
  margin: 0;
}

.dashboard-panel-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-left: auto;
}

body.withdraw-open {
  overflow: hidden;
}

.withdraw-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.withdraw-overlay[hidden] {
  display: none !important;
}

.withdraw-modal {
  position: relative;
  box-sizing: border-box;
  width: min(100%, 28rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 1.35rem 1.25rem 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-bright);
  background: var(--surface);
  box-shadow: 0 0 40px var(--accent-glow);
}

.withdraw-modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(68, 204, 68, 0.22);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(210, 220, 210, 0.88);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
}

.withdraw-modal-title {
  margin: 0 2.5rem 0.75rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.withdraw-modal-balance {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.withdraw-modal-balance strong {
  color: var(--gold);
}

.withdraw-form,
.withdraw-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.withdraw-fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.withdraw-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.withdraw-field-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.withdraw-field input {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
}

.withdraw-form-error {
  margin: 0.75rem 0 0;
  color: var(--danger);
  font-size: 0.88rem;
}

.withdraw-form-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.withdraw-success-title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  color: var(--accent);
}

.withdraw-success-lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* ---- History pages (Run / Wallet) ---- */
body.site-body:has(.history-page) {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
}

.site-main:has(.history-page) {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.history-page {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-top: 0.25rem;
  gap: 0.55rem;
  overflow: hidden;
}

.history-back {
  flex-shrink: 0;
  margin: 0;
}

.history-back a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
}

.history-back a:hover {
  color: var(--accent);
}

.history-header {
  flex-shrink: 0;
  margin: 0;
}

.history-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: none;
}

.history-lead {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.history-panel {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.history-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
  padding: 0.55rem 0.65rem 0.3rem;
}

.history-root {
  min-width: 0;
}

.history-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 0.6rem 0.85rem 0.7rem;
  border-top: 1px solid rgba(68, 204, 68, 0.1);
  background: linear-gradient(
    to top,
    rgba(6, 12, 8, 0.98) 50%,
    rgba(6, 12, 8, 0.9) 72%,
    rgba(6, 12, 8, 0.55) 88%,
    transparent
  );
}

.history-footer .btn-secondary {
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
}

.history-desktop {
  display: block;
}

.history-mobile {
  display: none;
  flex-direction: column;
  gap: 0.42rem;
}

.history-table-wrap {
  overflow-x: auto;
  min-width: 0;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  table-layout: fixed;
}

.history-table th,
.history-table td {
  vertical-align: middle;
  padding: 0.45rem 0.65rem;
  text-align: left;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.history-table tbody tr {
  min-height: 2.35rem;
  transition: background-color 0.12s ease;
}

@media (prefers-reduced-motion: reduce) {
  .history-table tbody tr {
    transition: none;
  }
}

.history-table tbody tr:hover {
  background: rgba(68, 204, 68, 0.05);
}

.history-table tbody tr:focus-within {
  background: rgba(68, 204, 68, 0.07);
}

.history-table tbody tr:last-child td {
  border-bottom: none;
}

.history-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(106, 154, 122, 0.92);
  background: rgba(4, 10, 6, 0.98);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(68, 204, 68, 0.14);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

/* Run history column widths */
.run-history-table col.history-col--type {
  width: 11%;
}
.run-history-table col.history-col--result {
  width: 12%;
}
.run-history-table col.history-col--date {
  width: 14%;
}
.run-history-table col.history-col--survival {
  width: 11%;
}
.run-history-table col.history-col--kills {
  width: 8%;
}
.run-history-table col.history-col--accuracy {
  width: 10%;
}
.run-history-table col.history-col--action {
  width: 11%;
}

/* Wallet history column widths */
.wallet-history-table col.history-col--date {
  width: 13%;
}
.wallet-history-table col.history-col--activity {
  width: 44%;
}
.wallet-history-table col.history-col--status {
  width: 18%;
}
.wallet-history-table col.history-col--amount {
  width: 15%;
}

.history-table-cell--type,
.history-table-cell--result,
.history-table-cell--date,
.history-table-cell--activity,
.history-table-cell--status,
.history-table th.history-table-cell--type,
.history-table th.history-table-cell--result,
.history-table th.history-table-cell--date,
.history-table th.history-table-cell--activity,
.history-table th.history-table-cell--status,
.history-table td.history-table-cell--type,
.history-table td.history-table-cell--result,
.history-table td.history-table-cell--date,
.history-table td.history-table-cell--activity,
.history-table td.history-table-cell--status {
  text-align: left;
}

.history-table-cell--date,
.history-table time {
  white-space: nowrap;
}

.history-table-cell--numeric,
.history-table th.history-table-cell--numeric,
.history-table td.history-table-cell--numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.history-table-cell--amount,
.history-table th.history-table-cell--amount,
.history-table td.history-table-cell--amount {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

.history-table-cell--amount .wallet-history-amount {
  font-weight: 500;
}

.history-table td.history-table-cell--amount .skeleton-line--stat-value {
  display: inline-block;
  width: 4.5rem;
}

.wallet-history-table td.history-table-cell--amount .wallet-history-amount {
  display: inline-block;
}

.history-table-cell--action,
.history-table th.history-table-cell--action,
.history-table td.history-table-cell--action {
  text-align: right;
  white-space: nowrap;
}

.history-table-cell--activity {
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-table-cell--status {
  white-space: nowrap;
}

.history-table-cell--type .run-type-pill,
.history-table-cell--result .run-status-pill,
.history-table-cell--status .wallet-tx-status {
  vertical-align: middle;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.run-history-table .btn-run-detail--compact {
  display: inline-block;
  vertical-align: middle;
  max-width: 100%;
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.history-card {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.58rem 0.72rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
}

.history-card-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.history-card-row--meta {
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.05rem;
}

.history-card-row--title {
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem;
}

.history-card-amount {
  flex-shrink: 0;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.history-card-amount .wallet-history-amount {
  font-size: inherit;
  font-weight: inherit;
}

.history-card-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-card-emphasis {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.history-card-emphasis-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.history-card-emphasis--amount {
  font-size: 1rem;
}

.wallet-tx-status {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

.wallet-tx-status--credited,
.wallet-tx-status--paid {
  color: #66ee66;
  border-color: rgba(68, 204, 68, 0.35);
  background: rgba(68, 204, 68, 0.1);
}

.wallet-tx-status--pending {
  color: var(--gold);
  border-color: rgba(227, 165, 32, 0.35);
  background: rgba(227, 165, 32, 0.1);
}

.wallet-tx-status--refunded {
  color: var(--info);
  border-color: rgba(106, 154, 122, 0.35);
  background: rgba(106, 154, 122, 0.12);
}

.wallet-tx-status--failed {
  color: #f87171;
  border-color: rgba(204, 68, 68, 0.35);
  background: rgba(204, 68, 68, 0.1);
}

.wallet-tx-status--cancelled {
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.history-card-muted {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.history-card-muted--wrap {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  min-width: 0;
}

.history-card-muted-sep {
  opacity: 0.55;
}

.history-card-detail {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-card-action {
  flex-shrink: 0;
  min-height: 0;
  padding: 0.28rem 0.62rem;
  font-size: 0.78rem;
  white-space: nowrap;
}

.wallet-activity-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.history-card--wallet > .history-card-muted.history-card-detail {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.history-card--skeleton {
  pointer-events: none;
}

.history-card--skeleton .history-card-row--title .skeleton-line--md {
  width: 8rem;
}

.history-card--skeleton .history-card-row--title .skeleton-line--amount {
  width: 4.5rem;
  height: 0.95rem;
}

.history-card--skeleton .history-card-row--meta .skeleton-line--date {
  width: 6.5rem;
}

.history-card--skeleton .skeleton-line--survival {
  width: 7rem;
  height: 0.98rem;
}

.history-card--skeleton .history-card-row--meta .skeleton-button--compact {
  width: 4.75rem;
  height: 1.65rem;
}

.history-card--skeleton .skeleton-line--stat {
  width: 9rem;
}

.history-card--skeleton .skeleton-line--amount {
  width: 5.5rem;
  height: 1rem;
}

.history-card--skeleton .skeleton-line--wallet-detail {
  width: 100%;
  max-width: 14rem;
}

.run-history-row--skeleton td,
.wallet-history-row--skeleton td {
  vertical-align: middle;
}

.dashboard-wallet-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.dashboard-wallet-heading {
  margin: 0;
  font-size: 1.1rem;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.dashboard-wallet-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin-left: auto;
}

.dashboard-wallet-history-link {
  white-space: nowrap;
}

.dashboard-withdraw-btn.btn-primary:not(:disabled) {
  min-height: 2.4rem;
}

.dashboard-withdraw-btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.wallet-history-status-empty {
  color: var(--text-muted);
}

.wallet-withdrawal-status {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.wallet-withdrawal-status--pending,
.wallet-withdrawal-status--processing {
  color: var(--gold);
  border-color: rgba(227, 165, 32, 0.35);
  background: rgba(227, 165, 32, 0.1);
}

.wallet-withdrawal-status--paid {
  color: #66ee66;
  border-color: rgba(68, 204, 68, 0.35);
  background: rgba(68, 204, 68, 0.1);
}

.wallet-withdrawal-status--failed {
  color: #f87171;
  border-color: rgba(204, 68, 68, 0.35);
  background: rgba(204, 68, 68, 0.1);
}

.wallet-withdrawal-status--cancelled {
  color: var(--text-muted);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

@media (min-width: 769px) {
  .history-mobile,
  .history-skeleton.history-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .site-main:has(.history-page) {
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .history-page {
    gap: 0.4rem;
  }

  .history-title {
    font-size: 1.05rem;
  }

  .history-lead {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .history-scroll {
    padding: 0.5rem 0.55rem 0.25rem;
  }

  .history-desktop {
    display: none;
  }

  .history-mobile {
    display: flex;
  }

  .history-skeleton.history-desktop {
    display: none;
  }

  .history-skeleton.history-mobile {
    display: flex;
  }

  .dashboard-wallet-panel-top {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.85rem;
  }

  .dashboard-wallet-actions {
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    width: 100%;
    gap: 0.55rem;
  }

  .dashboard-wallet-actions .dashboard-withdraw-btn {
    width: 100%;
    justify-content: center;
  }

  .dashboard-wallet-history-link {
    align-self: flex-start;
    padding: 0.15rem 0;
  }

  .dashboard-panel-actions {
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-panel-actions .dashboard-panel-link,
  .dashboard-panel-actions .dashboard-withdraw-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .dashboard-panel-head--split {
    align-items: stretch;
  }

  .withdraw-form-actions {
    flex-direction: column-reverse;
  }

  .withdraw-form-actions .btn-primary,
  .withdraw-form-actions .btn-secondary {
    width: 100%;
  }
}
