:root {
  --bg: #050604;
  --ink: #090b08;
  --panel: rgba(16, 18, 13, 0.91);
  --panel-strong: #10130d;
  --panel-soft: rgba(25, 29, 19, 0.78);
  --line: rgba(190, 181, 128, 0.16);
  --line-strong: rgba(190, 181, 128, 0.36);
  --text: #f0ecd8;
  --muted: #9f9986;
  --gold: #c4b676;
  --green: #9cab61;
  --red: #c56b5d;
  --blue: #7fa1c7;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --cs-loading-bg: rgba(5, 6, 4, 0.8);
  --cs-loading-panel: var(--panel);
  --cs-loading-line: var(--line-strong);
  --cs-loading-text: var(--text);
  --cs-loading-muted: var(--muted);
  --cs-loading-gold: var(--gold);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
    radial-gradient(circle at top left, rgba(103, 113, 57, 0.24), transparent 34rem),
    radial-gradient(circle at top right, rgba(201, 184, 111, 0.12), transparent 30rem),
    linear-gradient(180deg, #050604, #0b0d09 58%, #050604);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
  color: var(--text);
  font-family: "Rajdhani", "DIN Condensed", "Arial Narrow", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell :where(p, li, dd, .muted, .rich-text, .inline-note) a:not(.solid-button):not(.ghost-button),
.site-legal-footer a {
  color: #d9ca82;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(217, 202, 130, 0.58);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-shell :where(p, li, dd, .muted, .rich-text, .inline-note) a:not(.solid-button):not(.ghost-button):hover,
.site-legal-footer a:hover {
  color: #f0dda0;
  text-decoration-color: currentColor;
}

.site-shell a:focus-visible {
  outline: 2px solid rgba(217, 202, 130, 0.78);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.cs-password-toggle {
  display: flex;
  width: 100%;
  min-width: 0;
  gap: 8px;
  align-items: stretch;
}

.cs-password-toggle input {
  min-width: 0;
  flex: 1 1 auto;
}

.cs-password-toggle-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 14px;
  background: rgba(196, 182, 118, 0.1);
  color: var(--gold);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.cs-password-toggle-button:hover,
.cs-password-toggle-button:focus-visible {
  border-color: rgba(196, 182, 118, 0.52);
  background: rgba(196, 182, 118, 0.18);
  color: var(--text);
  outline: none;
}

.app-shell {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 22px;
  width: min(1460px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 72px;
}

.site-shell {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0 0 72px;
}

.side-menu {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: calc(100vh - 36px);
  min-height: 680px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(20, 23, 15, 0.92), rgba(7, 9, 6, 0.92)),
    rgba(8, 10, 7, 0.84);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.mobile-topbar,
.mobile-dock {
  display: none;
}

.brand,
.nav,
.auth-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  padding: 4px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 22%, rgba(244, 232, 174, 0.26), transparent 28%),
    linear-gradient(145deg, #7d8750 0%, #46512d 58%, #202719 100%);
  color: var(--gold);
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 20px rgba(5, 6, 4, 0.22),
    0 12px 28px rgba(0, 0, 0, 0.32);
}

.brand-mark::before {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(240, 236, 216, 0.18);
  border-radius: 11px;
  content: "";
}

.brand-mark svg {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.34));
}

.brand-mark-shield,
.brand-mark-star {
  fill: rgba(241, 234, 210, 0.12);
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.brand-mark-star {
  fill: rgba(201, 184, 111, 0.28);
  stroke-width: 1.7;
}

.brand-mark-cross {
  fill: none;
  stroke: #f1ead2;
  stroke-linecap: round;
  stroke-width: 1.55;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.muted,
.data-table small,
.product-card p,
.status-box small {
  color: var(--muted);
}

.nav {
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.primary-nav {
  display: grid;
  align-content: start;
  justify-content: stretch;
  gap: 7px;
  overflow: auto;
  padding-right: 3px;
}

.primary-nav .nav-item {
  justify-content: flex-start;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 14px;
  color: #d5d0b9;
  background: transparent;
}

.primary-nav .nav-item span {
  display: grid;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--gold);
  background: rgba(196, 182, 118, 0.06);
  font-size: 13px;
}

.nav-counter {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  margin-left: auto;
  padding: 0 7px;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.44);
  border-radius: 999px;
  background: rgba(196, 182, 118, 0.12);
  color: var(--gold);
  font-size: 11px;
  line-height: 1;
}

.primary-nav .nav-item:hover,
.primary-nav .nav-item-accent {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(196, 182, 118, 0.075);
}

.side-footer {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.site-legal-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
  margin-top: 32px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 9, 7, 0.48);
}

.site-legal-footer > div,
.site-legal-footer nav {
  display: grid;
  gap: 8px;
}

.site-legal-footer strong {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-legal-footer span {
  color: var(--muted);
  font-size: 13px;
}

.site-legal-footer nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-legal-footer a,
.legal-acceptance-links a {
  color: var(--text);
  text-decoration-color: rgba(196, 182, 118, 0.38);
  text-underline-offset: 4px;
}

.site-legal-footer a:hover,
.legal-acceptance-links a:hover {
  color: var(--gold);
}

.legal-document-meta {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(196, 182, 118, 0.08);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.legal-document-panel {
  max-width: 980px;
}

.legal-document-panel .rich-text {
  line-height: 1.75;
}

.legal-acceptance-card {
  border-color: rgba(196, 182, 118, 0.32);
}

.legal-acceptance-control {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(196, 182, 118, 0.05);
  cursor: pointer;
}

.legal-acceptance-control:has(> input:checked) {
  border-color: rgba(156, 171, 97, 0.58);
  background: rgba(156, 171, 97, 0.11);
}

.legal-acceptance-copy {
  min-width: 0;
  color: var(--text);
  font-weight: 750;
  line-height: 1.35;
}

.legal-acceptance-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.legal-acceptance-links .legal-document-link {
  display: grid;
  gap: 12px;
  min-height: 98px;
  padding: 15px 16px;
  border: 1px solid rgba(196, 182, 118, 0.34);
  border-radius: 14px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(196, 182, 118, 0.15), rgba(196, 182, 118, 0.045));
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.legal-acceptance-links .legal-document-link:hover {
  border-color: rgba(196, 182, 118, 0.72);
  color: var(--text);
  background: linear-gradient(135deg, rgba(196, 182, 118, 0.22), rgba(196, 182, 118, 0.08));
  transform: translateY(-1px);
}

.legal-document-link-title {
  font-size: 16px;
  font-weight: 750;
  line-height: 1.3;
}

.legal-document-link-action {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  align-self: end;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-document-link-action svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.legal-consent-group + .legal-consent-group {
  margin-top: 16px;
}

.legal-operator-card {
  margin-top: 32px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: rgba(196, 182, 118, 0.06);
}

.legal-operator-card h2 {
  margin: 8px 0 20px;
}

.legal-operator-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
}

.legal-operator-card dl div {
  min-width: 0;
}

.legal-operator-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.legal-operator-card dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.legal-operator-warning {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(224, 162, 125, 0.42);
  border-radius: 14px;
  color: #e0a27d;
  background: rgba(224, 162, 125, 0.08);
}

@media (max-width: 620px) {
  .legal-operator-card dl {
    grid-template-columns: 1fr;
  }

  .legal-acceptance-links {
    grid-template-columns: 1fr;
  }

  .legal-acceptance-links .legal-document-link {
    min-height: 88px;
  }
}

.user-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.34);
}

.user-panel strong,
.user-panel small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-panel small {
  color: var(--muted);
}

.player-balance-line {
  color: var(--gold) !important;
  font-weight: 800;
}

.mobile-user-chip {
  display: none;
}

.mobile-account-actions,
.mobile-account-actions form {
  display: contents;
}

.mobile-logout-button {
  display: none;
}

.small-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 12px;
}

.side-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.side-actions form,
.side-actions button,
.side-actions a {
  width: 100%;
}

.auth-actions {
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-actions form,
.inline-form {
  display: inline;
  margin: 0;
}

.nav a,
.ghost-button,
.solid-button,
.user-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 13px;
  overflow: hidden;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.01em;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    filter 0.18s ease,
    transform 0.18s ease;
}

.nav a,
.ghost-button,
.user-chip {
  border: 1px solid rgba(190, 181, 128, 0.3);
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(7, 9, 7, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 10px 26px rgba(0, 0, 0, 0.16);
}

.nav a:hover,
.ghost-button:hover {
  color: var(--text);
  border-color: var(--line-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 14px 34px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.solid-button {
  border: 1px solid rgba(218, 203, 128, 0.38);
  background:
    radial-gradient(circle at 22% 18%, rgba(244, 232, 174, 0.28), transparent 24px),
    linear-gradient(180deg, #89945a 0%, #566331 58%, #3f4a28 100%);
  color: var(--text);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -10px 18px rgba(28, 35, 17, 0.22),
    0 12px 30px rgba(0, 0, 0, 0.28);
}

.solid-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.ghost-button:focus-visible,
.solid-button:focus-visible,
.nav a:focus-visible,
.user-chip:focus-visible {
  outline: 2px solid rgba(201, 184, 111, 0.64);
  outline-offset: 3px;
}

.large {
  min-height: 48px;
  padding-inline: 18px;
}

.hero,
.page-heading,
.panel,
.auth-card,
.content-hero,
.game-hero-detail,
.mission-card,
.entity-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(201, 184, 111, 0.08), rgba(103, 113, 57, 0.04)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 24px;
  align-items: stretch;
  min-height: 420px;
  margin-bottom: 18px;
  padding: clamp(28px, 6vw, 54px);
  overflow: hidden;
}

.tactic-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(5, 6, 4, 0.96) 0%, rgba(5, 6, 4, 0.74) 46%, rgba(5, 6, 4, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 6, 4, 0.14), rgba(5, 6, 4, 0.82)),
    url("portal-hero.png") center / cover no-repeat;
}

.tactic-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 4, 0.24), rgba(5, 6, 4, 0.02)),
    radial-gradient(circle at 72% 18%, rgba(156, 171, 97, 0.23), transparent 18rem);
  content: "";
  pointer-events: none;
}

.tactic-hero > * {
  position: relative;
}

.hero h1,
.page-heading h1,
.auth-card h1,
.content-hero h1,
.game-hero-detail h1 {
  margin: 10px 0 0;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero p,
.page-heading p,
.content-hero p,
.game-hero-detail p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-device,
.hero-panel,
.balance-card {
  display: grid;
  align-content: stretch;
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(28, 31, 22, 0.96), rgba(10, 12, 9, 0.96)),
    var(--panel-strong);
}

.ammo-balance-card {
  position: relative;
  isolation: isolate;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  min-width: min(360px, 100%);
  min-height: 0;
  gap: 16px;
  padding: 20px;
  overflow: hidden;
  border-color: rgba(196, 182, 118, 0.34);
  background:
    radial-gradient(circle at 22% 18%, rgba(240, 236, 216, 0.18), transparent 5.6rem),
    radial-gradient(circle at 92% 12%, rgba(156, 171, 97, 0.28), transparent 9rem),
    linear-gradient(145deg, rgba(65, 75, 40, 0.82), rgba(11, 13, 9, 0.96) 58%, rgba(5, 6, 4, 0.98)),
    var(--panel-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -22px 44px rgba(0, 0, 0, 0.24),
    0 20px 58px rgba(0, 0, 0, 0.34);
}

.ammo-balance-card::before {
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(196, 182, 118, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 18px 18px;
  content: "";
  opacity: 0.62;
}

.ammo-balance-mark {
  position: relative;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.32);
  border-radius: 24px;
  background:
    conic-gradient(from 120deg, rgba(196, 182, 118, 0.22), transparent 24%, rgba(156, 171, 97, 0.26), transparent 68%, rgba(196, 182, 118, 0.2)),
    rgba(7, 9, 7, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 14px 36px rgba(0, 0, 0, 0.26);
}

.ammo-balance-mark::before,
.ammo-balance-mark::after,
.ammo-balance-mark span {
  position: absolute;
  border-radius: 999px;
  content: "";
}

.ammo-balance-mark::before {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(240, 236, 216, 0.26);
}

.ammo-balance-mark::after {
  width: 9px;
  height: 9px;
  background: var(--gold);
  box-shadow:
    -14px 8px 0 rgba(196, 182, 118, 0.48),
    15px 8px 0 rgba(156, 171, 97, 0.54),
    0 -16px 0 rgba(240, 236, 216, 0.38);
}

.ammo-balance-mark span {
  width: 52px;
  height: 52px;
  border: 1px dashed rgba(196, 182, 118, 0.32);
}

.ammo-balance-copy {
  min-width: 0;
}

.ammo-balance-copy span,
.ammo-balance-copy small {
  display: block;
}

.ammo-balance-copy span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ammo-balance-copy strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.ammo-balance-copy small {
  margin-top: 8px;
  color: rgba(240, 236, 216, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.ammo-balance-action {
  grid-column: 1 / -1;
  justify-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(196, 182, 118, 0.26);
  border-radius: 13px;
  background: rgba(7, 9, 7, 0.38);
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ammo-balance-action:hover {
  border-color: rgba(196, 182, 118, 0.5);
  background: rgba(196, 182, 118, 0.09);
  color: var(--text);
}

.device-top,
.operator-card,
.entity-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.device-top {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.operator-card {
  justify-content: flex-start;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.avatar-fallback {
  position: relative;
  isolation: isolate;
  display: grid;
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 21px;
  background:
    radial-gradient(circle at 50% 20%, rgba(241, 234, 210, 0.2), transparent 23%),
    linear-gradient(145deg, rgba(91, 102, 54, 0.95), rgba(17, 20, 14, 0.98) 62%),
    #11140e;
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.08em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -12px 20px rgba(0, 0, 0, 0.24),
    0 12px 30px rgba(0, 0, 0, 0.24);
}

.avatar-fallback::before {
  position: absolute;
  z-index: 0;
  top: 12%;
  left: 22%;
  width: 56%;
  height: 42%;
  border: 1px solid rgba(201, 184, 111, 0.28);
  border-radius: 999px 999px 38% 38%;
  background: linear-gradient(180deg, rgba(201, 184, 111, 0.22), rgba(7, 9, 7, 0.12));
  content: "";
}

.avatar-fallback::after {
  position: absolute;
  z-index: 0;
  top: 45%;
  left: 27%;
  width: 46%;
  height: 9%;
  border-radius: 999px;
  background: rgba(7, 9, 7, 0.48);
  box-shadow: 0 10px 0 rgba(201, 184, 111, 0.08);
  content: "";
}

.profile-avatar.small-avatar {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.24);
}

.operator-card strong,
.operator-card span {
  display: block;
}

.operator-card span {
  margin-top: 4px;
  color: var(--muted);
}

.device-stats,
.hero-mini-grid,
.summary-grid,
.content-grid,
.product-grid,
.achievement-grid,
.info-grid,
.game-card-grid,
.cards-grid,
.media-gallery,
.mission-meta {
  display: grid;
  gap: 14px;
}

.device-stats,
.hero-mini-grid {
  grid-template-columns: repeat(2, 1fr);
}

.device-stats div,
.hero-mini-grid div,
.summary-card,
.product-card,
.achievement-card,
.info-grid div,
.status-box,
.mission-meta div {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.28);
}

.device-stats div,
.hero-mini-grid div,
.summary-card,
.info-grid div,
.status-box,
.product-card,
.achievement-card {
  padding: 16px;
}

.device-stats span,
.summary-card span,
.balance-card span,
.status-box span,
.info-grid span,
.product-card span,
.achievement-card span,
.mission-meta dt {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.device-stats strong,
.summary-card strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 32px;
}

.balance-card .ammo-balance-copy span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.18em;
}

.balance-card .ammo-balance-copy small {
  color: rgba(240, 236, 216, 0.68);
}

.section-label {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 950;
}

.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.summary-card {
  background: linear-gradient(180deg, rgba(23, 27, 18, 0.9), rgba(13, 15, 11, 0.9));
}

.player-profile-stats .last-game-card {
  grid-column: span 2;
}

.compact-summary-card strong,
.summary-card-link strong {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.08;
}

.compact-summary-card small,
.summary-card-link small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.summary-card-link {
  display: block;
  width: fit-content;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
}

.summary-card-link:hover strong {
  color: var(--gold);
}

.cost-card {
  border-color: rgba(196, 182, 118, 0.42);
  background:
    radial-gradient(circle at 78% 18%, rgba(196, 182, 118, 0.18), transparent 9rem),
    linear-gradient(180deg, rgba(86, 99, 49, 0.24), rgba(13, 15, 11, 0.92));
}

.cost-card strong {
  color: var(--gold);
}

.page-heading,
.content-hero,
.game-hero-detail {
  display: grid;
  gap: 22px;
  align-items: start;
  margin-bottom: 18px;
  padding: clamp(24px, 5vw, 42px);
}

.page-heading {
  grid-template-columns: minmax(0, 1fr) auto;
}

.page-heading.split {
  align-items: stretch;
}

.page-heading.split > .ghost-button,
.page-heading.split > .solid-button,
.page-heading.split > .detail-actions {
  align-self: start;
  white-space: nowrap;
}

.content-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.game-hero-detail {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr) auto;
}

.panel {
  margin-bottom: 18px;
  padding: 22px;
}

.narrow-panel,
.readable-panel {
  max-width: 900px;
}

.content-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.55fr);
  align-items: start;
}

.content-grid .wide {
  min-width: 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.1;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.24);
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.data-table.compact-table {
  min-width: 520px;
}

.data-table th,
.data-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(201, 184, 111, 0.06);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table strong {
  display: block;
}

.player-identity {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.player-stat-identity,
.mvp-player-identity {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 10px;
}

.player-stat-identity > .player-identity,
.player-stat-identity > .participant-cell,
.mvp-player-identity > div {
  min-width: 0;
}

.player-mini-avatar {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(201, 184, 111, 0.34);
  border-radius: 11px;
  background: rgba(7, 9, 7, 0.74);
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.player-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-mini-avatar.is-fallback {
  background:
    radial-gradient(circle at 50% 18%, rgba(241, 234, 210, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(91, 102, 54, 0.88), rgba(17, 20, 14, 0.98) 62%);
}

.mvp-player-identity {
  align-items: center;
}

.mvp-player-identity .player-mini-avatar {
  flex-basis: 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.player-identity strong,
.player-identity .table-link,
.player-identity .fighter-link {
  width: fit-content;
}

.player-login-line,
.player-team-line,
.player-team-stack {
  display: block;
}

.player-login-line {
  color: var(--muted);
  font-size: 12px;
}

.player-team-stack {
  display: grid;
  gap: 4px;
}

.player-team-line {
  width: fit-content;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(196, 182, 118, 0.22);
  border-radius: 999px;
  color: var(--gold);
  background:
    linear-gradient(180deg, rgba(196, 182, 118, 0.11), rgba(7, 9, 7, 0.2)),
    rgba(7, 9, 7, 0.26);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  white-space: normal;
}

a.player-team-line {
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

a.player-team-line:hover {
  border-color: rgba(226, 213, 139, 0.52);
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(196, 182, 118, 0.2), rgba(7, 9, 7, 0.28)),
    rgba(196, 182, 118, 0.08);
  transform: translateY(-1px);
}

.player-team-line.is-empty {
  color: var(--muted);
  border-color: rgba(190, 181, 128, 0.12);
  background: rgba(7, 9, 7, 0.18);
}

.data-table .player-team-line:not(.is-empty),
.stack-row .player-team-line:not(.is-empty),
.roster-member .player-team-line:not(.is-empty),
.user-mini-card .player-team-line:not(.is-empty),
.user-panel .player-team-line:not(.is-empty) {
  color: var(--gold);
  font-size: 11px;
}

.empty-panel {
  padding: 18px;
  border: 1px dashed rgba(201, 184, 111, 0.28);
  border-radius: 18px;
  background: rgba(7, 9, 7, 0.22);
}

.team-entry-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 86% 30%, rgba(196, 182, 118, 0.18), transparent 9rem),
    linear-gradient(180deg, rgba(36, 42, 25, 0.78), rgba(7, 9, 7, 0.74));
}

.team-entry-panel h2 {
  margin: 8px 0;
  font-size: 30px;
  text-transform: uppercase;
}

.team-entry-panel p {
  margin: 0;
  color: var(--muted);
}

.entity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.command-layout {
  align-items: start;
}

.team-roster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.team-roster-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 16%, rgba(196, 182, 118, 0.12), transparent 8rem),
    linear-gradient(180deg, rgba(22, 26, 18, 0.88), rgba(7, 9, 7, 0.58));
}

.team-roster-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.team-roster-card h3 {
  margin: 10px 0 0;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.team-roster-card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.roster-list {
  display: grid;
  gap: 9px;
}

.roster-member {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(201, 184, 111, 0.12);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  background: rgba(7, 9, 7, 0.28);
}

.roster-member:hover {
  border-color: rgba(201, 184, 111, 0.34);
  background: rgba(201, 184, 111, 0.06);
}

.roster-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 38px;
  padding: 6px 10px;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(201, 184, 111, 0.09);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.roster-member small,
.field-help {
  color: var(--muted);
}

.compact-command-form {
  padding: 14px;
  border: 1px solid rgba(201, 184, 111, 0.12);
  border-radius: 18px;
  background: rgba(7, 9, 7, 0.22);
}

.invite-builder-form {
  gap: 16px;
}

.invite-flow-intro,
.ammo-warning-panel,
.wallet-remaining-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(196, 182, 118, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 94% 10%, rgba(196, 182, 118, 0.12), transparent 7rem),
    rgba(7, 9, 7, 0.32);
}

.invite-flow-intro span,
.ammo-warning-panel span,
.wallet-remaining-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.invite-flow-intro strong,
.ammo-warning-panel strong,
.wallet-remaining-card strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
}

.invite-flow-intro small,
.ammo-warning-panel small,
.wallet-remaining-card small {
  color: var(--muted);
  line-height: 1.45;
}

.ammo-warning-panel.is-danger,
.wallet-remaining-card.is-danger {
  border-color: rgba(183, 87, 63, 0.46);
  background:
    radial-gradient(circle at 94% 10%, rgba(183, 87, 63, 0.16), transparent 7rem),
    rgba(42, 17, 11, 0.3);
}

.ammo-warning-panel.is-danger strong,
.wallet-remaining-card.is-danger strong {
  color: #f3c0ac;
}

.choice-builder-section {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(196, 182, 118, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.choice-builder-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.choice-builder-head span {
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.choice-builder-head small {
  max-width: 340px;
  text-align: right;
}

.choice-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
}

.choice-card {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 14px;
  border: 1px solid rgba(196, 182, 118, 0.16);
  border-radius: 16px;
  color: var(--text);
  text-align: left;
  background:
    radial-gradient(circle at 92% 0%, rgba(196, 182, 118, 0.08), transparent 6rem),
    rgba(7, 9, 7, 0.3);
  cursor: pointer;
}

.choice-card:hover {
  border-color: rgba(196, 182, 118, 0.36);
  transform: translateY(-1px);
}

.choice-card.is-selected {
  border-color: rgba(196, 182, 118, 0.54);
  background:
    radial-gradient(circle at 90% 0%, rgba(196, 182, 118, 0.2), transparent 7rem),
    linear-gradient(180deg, rgba(156, 171, 97, 0.13), rgba(7, 9, 7, 0.34));
  box-shadow: inset 0 0 0 1px rgba(196, 182, 118, 0.12);
}

.choice-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-card strong {
  font-size: 19px;
  line-height: 1.08;
}

.choice-card small {
  color: var(--muted);
  line-height: 1.35;
}

.invite-submit-panel {
  margin-top: 2px;
}

.team-invite-builder {
  gap: 14px;
}

.command-invite-step {
  padding: 15px;
  border-radius: 18px;
}

.invite-result-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px dashed rgba(196, 182, 118, 0.3);
  border-radius: 16px;
  background: rgba(196, 182, 118, 0.055);
}

.invite-result-card strong {
  color: var(--gold);
}

.invite-result-card span {
  color: var(--muted);
  line-height: 1.45;
}

.numeric-table {
  font-variant-numeric: tabular-nums;
}

.numeric-table th:nth-child(n+3),
.numeric-table td:nth-child(n+3) {
  text-align: right;
}

.team-rating-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.team-rating-card {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 85% 12%, rgba(196, 182, 118, 0.14), transparent 9rem),
    linear-gradient(135deg, rgba(201, 184, 111, 0.08), rgba(103, 113, 57, 0.035)),
    rgba(7, 9, 7, 0.34);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.team-rating-place {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 35% 22%, rgba(241, 234, 210, 0.2), transparent 42%),
    rgba(196, 182, 118, 0.1);
  color: var(--gold);
  font-weight: 950;
}

.team-rating-card span,
.club-rating-strip span,
.team-rating-score span {
  color: var(--muted);
}

.team-rating-card h3 {
  margin: 4px 0 0;
  font-size: 24px;
  line-height: 1;
  text-transform: uppercase;
}

.team-rating-score {
  grid-column: 1 / -1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.team-rating-score strong {
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
}

.team-rating-stats,
.club-rating-strip {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-rating-stats span,
.club-rating-strip span {
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 7, 0.34);
  font-size: 12px;
  font-weight: 850;
}

.club-rating-strip {
  margin-top: 14px;
}

.nowrap {
  white-space: nowrap;
}

.game-row.status-draft {
  opacity: 0.82;
}

.game-row.status-active td {
  background: rgba(156, 171, 97, 0.035);
}

.game-row.status-finished td {
  background: rgba(196, 182, 118, 0.035);
}

.table-game-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.table-thumb {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 46px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 6, 4, 0.42);
  color: var(--gold);
  font-weight: 950;
}

.table-thumb img,
.mission-media img,
.detail-cover img,
.media-gallery img,
.media-gallery video,
.profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.score-line {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) 28px 10px 28px minmax(90px, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 280px;
}

.score-line span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.score-line span:last-child {
  text-align: right;
}

.score-line b,
.score-line em {
  color: var(--gold);
  font-style: normal;
  text-align: center;
}

.score-line.multi-score {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  min-width: 0;
}

.score-side-chip {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.score-line.multi-score .score-side-chip {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 9, 7, 0.28);
}

.score-line.multi-score span,
.score-line.multi-score span:last-child {
  text-align: left;
}

.score-line.multi-score strong {
  color: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.status-badge,
.soft-pill,
.cost-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(7, 9, 7, 0.42);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.cost-pill {
  border-color: rgba(196, 182, 118, 0.48);
  background:
    radial-gradient(circle at 18% 16%, rgba(240, 236, 216, 0.18), transparent 18px),
    linear-gradient(180deg, rgba(105, 116, 62, 0.36), rgba(7, 9, 7, 0.5));
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cost-pill-large {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-badge.status-draft {
  color: var(--blue);
  border-color: rgba(127, 161, 199, 0.34);
}

.status-badge.status-active,
.soft-pill.positive,
.positive-text {
  color: var(--green);
  border-color: rgba(156, 171, 97, 0.42);
}

.status-badge.status-finished {
  color: var(--gold);
  border-color: rgba(196, 182, 118, 0.4);
}

.soft-pill.danger,
.danger-text {
  color: var(--red);
}

.table-link {
  display: inline-flex;
  margin-right: 8px;
  border: 0;
  background: transparent;
  color: #d9ca82;
  font-weight: 850;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(217, 202, 130, 0.58);
  text-underline-offset: 4px;
}

.table-link:hover,
.table-link:focus-visible {
  color: #f0dda0;
  text-decoration-color: currentColor;
  outline: none;
}

.table-link.danger-text {
  color: var(--red);
}

.stack-list,
.stat-list {
  display: grid;
  gap: 10px;
}

.large-stat-list {
  gap: 12px;
}

.stack-row,
.stat-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 9, 7, 0.24);
}

.placement-chart {
  display: grid;
  gap: 14px;
}

.placement-bar-row {
  display: grid;
  grid-template-columns: minmax(82px, 0.85fr) minmax(120px, 2fr) 42px;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.placement-bar-row strong {
  color: var(--text);
  text-align: right;
}

.placement-bar-track {
  overflow: hidden;
  height: 12px;
  border: 1px solid rgba(196, 182, 118, 0.2);
  border-radius: 999px;
  background: rgba(5, 6, 4, 0.58);
}

.placement-bar-track i {
  display: block;
  height: 100%;
  min-width: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--olive), var(--gold));
  box-shadow: 0 0 18px rgba(196, 182, 118, 0.18);
}

.notification-heading,
.setup-heading {
  position: relative;
  overflow: hidden;
}

.notification-heading::after,
.setup-heading::after {
  position: absolute;
  inset: auto -5% -70% 48%;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 182, 118, 0.16), transparent 66%);
  content: "";
  pointer-events: none;
}

.notification-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.signal-counter {
  display: grid;
  min-width: 132px;
  padding: 16px;
  border: 1px solid rgba(196, 182, 118, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 24% 18%, rgba(240, 236, 216, 0.18), transparent 4rem),
    rgba(7, 9, 7, 0.34);
  text-align: right;
}

.signal-counter strong {
  color: var(--gold);
  font-size: 42px;
  line-height: 0.9;
}

.signal-counter small {
  color: var(--muted);
  font-weight: 850;
}

.notification-list {
  display: grid;
  gap: 12px;
}

.notification-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(201, 184, 111, 0.045), rgba(7, 9, 7, 0.18)),
    rgba(7, 9, 7, 0.26);
}

.notification-row.is-unread {
  border-color: rgba(196, 182, 118, 0.48);
  background:
    radial-gradient(circle at 96% 12%, rgba(196, 182, 118, 0.12), transparent 9rem),
    linear-gradient(135deg, rgba(105, 116, 62, 0.18), rgba(7, 9, 7, 0.26));
}

.notification-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 16px;
  background: rgba(196, 182, 118, 0.08);
  color: var(--gold);
  font-size: 20px;
  font-weight: 950;
}

.notification-meta,
.notification-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.notification-meta {
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notification-body h2 {
  margin: 7px 0 4px;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.notification-body h2 a {
  color: inherit;
  text-decoration-color: rgba(196, 182, 118, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.notification-body h2 a:hover {
  color: var(--gold);
}

.notification-parent-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(196, 182, 118, 0.3);
  border-radius: 9px;
  background: rgba(196, 182, 118, 0.07);
}

.notification-parent-link span {
  color: currentColor;
  transition: transform 0.18s ease;
}

.notification-parent-link:hover span {
  transform: translateX(3px);
}

.notification-body p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.45;
}

.notification-preview {
  display: grid;
  gap: 9px;
}

.notification-preview-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 9, 7, 0.24);
}

.notification-preview-row::before {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(159, 153, 134, 0.46);
  content: "";
}

.notification-preview-row.is-unread::before {
  background: var(--gold);
  box-shadow: 0 0 18px rgba(196, 182, 118, 0.42);
}

.notification-preview-row span,
.notification-preview-row small {
  display: block;
}

.notification-preview-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-preview-row small {
  color: var(--muted);
}

.notification-preview-row time {
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
}

.setup-summary-grid .summary-card strong {
  font-size: clamp(22px, 2.4vw, 32px);
}

.setup-grid {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.42fr);
}

.constructor-lead {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(156, 171, 97, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 96% 12%, rgba(156, 171, 97, 0.14), transparent 8rem),
    rgba(7, 9, 7, 0.24);
}

.constructor-lead strong {
  color: var(--text);
  font-size: 18px;
}

.constructor-lead span {
  color: var(--muted);
  line-height: 1.45;
}

.phase-lane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.phase-card {
  display: grid;
  gap: 8px;
  min-height: 128px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 12%, rgba(196, 182, 118, 0.12), transparent 7rem),
    rgba(7, 9, 7, 0.28);
}

.phase-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.phase-card strong {
  font-size: 21px;
  line-height: 1.05;
  text-transform: uppercase;
}

.phase-card small,
.setup-note {
  color: var(--muted);
}

.compact-empty {
  grid-column: 1 / -1;
  padding: 18px;
}

.rule-builder-form .field-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rule-builder-form .span-2 {
  grid-column: span 3;
}

.constructor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.constructor-step {
  padding: 16px;
  border-radius: 20px;
}

.constructor-step.span-2 {
  grid-column: 1 / -1;
}

.one-column-grid {
  grid-template-columns: 1fr;
}

.rule-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rule-value-field {
  padding: 13px;
  border: 1px solid rgba(196, 182, 118, 0.16);
  border-radius: 16px;
  background: rgba(5, 6, 4, 0.24);
}

.rule-value-field.is-hidden {
  display: none;
}

.rule-value-field.is-relevant {
  border-color: rgba(196, 182, 118, 0.36);
  background:
    radial-gradient(circle at 90% 10%, rgba(196, 182, 118, 0.13), transparent 6rem),
    rgba(196, 182, 118, 0.055);
}

.rule-no-extra-field {
  display: grid;
  gap: 6px;
  align-content: center;
}

.rule-no-extra-field strong {
  color: var(--gold);
}

.rule-no-extra-field span {
  color: var(--muted);
  line-height: 1.45;
}

.balance-mode-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.balance-mode-card {
  display: grid;
  gap: 7px;
  min-height: 142px;
  padding: 14px;
  border: 1px solid rgba(196, 182, 118, 0.16);
  border-radius: 18px;
  color: var(--text);
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(5, 6, 4, 0.28);
  cursor: pointer;
}

.balance-mode-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.balance-mode-card strong {
  font-size: 16px;
  line-height: 1.1;
}

.balance-mode-card small {
  color: var(--muted);
  line-height: 1.35;
}

.balance-mode-card:hover,
.balance-mode-card:focus-visible,
.balance-mode-card.is-selected {
  border-color: rgba(196, 182, 118, 0.42);
  background:
    radial-gradient(circle at 90% 8%, rgba(196, 182, 118, 0.16), transparent 7rem),
    rgba(196, 182, 118, 0.07);
}

.balance-mode-card.is-selected {
  box-shadow: inset 0 0 0 1px rgba(196, 182, 118, 0.18);
}

.balance-settings-grid {
  margin-top: 14px;
}

.balance-mode-select-field {
  max-width: 360px;
}

.balance-imbalance-field input {
  font-size: 22px;
  font-weight: 950;
}

.balance-toggle-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(196, 182, 118, 0.16);
  border-radius: 16px;
  background: rgba(5, 6, 4, 0.24);
}

.balance-toggle-card input {
  margin-top: 3px;
}

.balance-toggle-card label {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.balance-toggle-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

.role-requirement-field textarea {
  min-height: 132px;
  font-family: "SFMono-Regular", "Consolas", monospace;
  font-size: 13px;
}

.command-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 18px;
  margin-bottom: 18px;
}

.next-game-section {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.next-game-hero {
  position: relative;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 84% 12%, rgba(156, 171, 97, 0.16), transparent 17rem),
    linear-gradient(135deg, rgba(201, 184, 111, 0.09), rgba(103, 113, 57, 0.04)),
    var(--panel);
  box-shadow: var(--shadow);
}

.next-game-hero .next-mission-card {
  box-shadow: none;
}

.next-game-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.next-game-section-head h1 {
  margin: 3px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.next-game-section-head .device-top {
  justify-content: flex-start;
  color: var(--gold);
  font-weight: 850;
}

.next-game-section-head .device-top b {
  padding: 3px 7px;
  border: 1px solid rgba(196, 182, 118, 0.34);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
}

.command-main,
.ammo-command-card,
.quick-actions-panel,
.next-mission-card,
.result-spotlight,
.result-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(201, 184, 111, 0.075), rgba(103, 113, 57, 0.035)),
    rgba(15, 18, 12, 0.9);
  box-shadow: var(--shadow);
}

.command-main,
.ammo-command-card,
.quick-actions-panel {
  padding: 22px;
}

.command-greeting {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.command-greeting h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.command-greeting p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.user-mini-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 220px;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.34);
}

.user-mini-card strong,
.user-mini-card small {
  display: block;
}

.user-mini-card small {
  color: var(--muted);
}

.dashboard-profile-heading {
  align-items: center;
  margin-bottom: 16px;
}

.dashboard-edit-profile {
  flex: 0 0 auto;
  white-space: nowrap;
}

.dashboard-edit-profile span {
  color: currentColor;
  font-size: 15px;
}

.dashboard-player-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 0;
  padding: 24px 24px 20px 38px;
  overflow: hidden;
  border: 1px solid rgba(196, 182, 118, 0.34);
  border-radius: 7px 24px 8px 7px;
  background:
    linear-gradient(rgba(196, 182, 118, 0.026) 1px, transparent 1px) 0 0 / 100% 25px,
    radial-gradient(circle at 14% 16%, rgba(196, 182, 118, 0.14), transparent 15rem),
    linear-gradient(145deg, rgba(39, 41, 28, 0.97), rgba(14, 17, 12, 0.97));
  box-shadow:
    inset 9px 0 rgba(6, 8, 5, 0.2),
    inset 10px 0 rgba(196, 182, 118, 0.12),
    0 24px 55px rgba(0, 0, 0, 0.28);
}

.dashboard-player-card::before {
  position: absolute;
  z-index: -1;
  top: 45px;
  bottom: 35px;
  left: 8px;
  width: 13px;
  background: radial-gradient(circle, #090b08 0 3px, rgba(196, 182, 118, 0.38) 3.5px 5px, transparent 5.5px) 0 0 / 13px 72px repeat-y;
  content: "";
  opacity: 0.9;
}

.dashboard-player-card::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  background: linear-gradient(225deg, #090b08 0 48%, rgba(196, 182, 118, 0.35) 49% 51%, #4a4c35 52% 100%);
  content: "";
  box-shadow: -3px 4px 10px rgba(0, 0, 0, 0.22);
}

.personnel-file-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 0 38px 14px 0;
  border-bottom: 3px double rgba(196, 182, 118, 0.3);
}

.personnel-file-header > div:first-child {
  display: grid;
  gap: 3px;
}

.personnel-file-header span,
.personnel-file-number small {
  color: rgba(224, 217, 179, 0.65);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.personnel-file-header strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.personnel-file-number {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid rgba(196, 182, 118, 0.28);
  text-align: right;
}

.personnel-file-number b {
  color: var(--gold);
  font-family: "Courier New", monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.dashboard-player-identity {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px 0 20px;
}

.personnel-file-photo {
  position: relative;
  width: 160px;
  padding: 7px 7px 24px;
  border: 1px solid rgba(239, 234, 202, 0.48);
  border-radius: 2px;
  background: linear-gradient(145deg, #d3d0b4, #8f927f);
  box-shadow: 0 13px 24px rgba(0, 0, 0, 0.36);
  transform: rotate(-1.2deg);
}

.personnel-file-photo > span {
  position: absolute;
  right: 7px;
  bottom: 6px;
  left: 7px;
  color: rgba(29, 31, 25, 0.72);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.dashboard-avatar-link {
  display: block;
  width: 144px;
  height: 174px;
  overflow: hidden;
  border-radius: 1px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.dashboard-avatar-link:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.dashboard-player-card .dashboard-player-avatar {
  width: 144px;
  height: 174px;
  border: 1px solid rgba(43, 46, 37, 0.52);
  border-radius: 1px;
  box-shadow: inset 0 0 0 1px rgba(242, 239, 213, 0.16);
  object-fit: cover;
}

.dashboard-player-copy {
  min-width: 0;
}

.dashboard-player-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.88;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.dashboard-player-copy p {
  display: block;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.personnel-file-callsign {
  margin-top: 4px !important;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.personnel-file-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.personnel-file-status-row > small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.personnel-file-stamp {
  display: inline-block;
  padding: 4px 8px 3px;
  border: 2px solid rgba(186, 129, 96, 0.62);
  color: #c28c70;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.personnel-file-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
  margin: 15px 0 0;
  border-top: 1px solid rgba(196, 182, 118, 0.18);
}

.personnel-file-fields > div {
  min-width: 0;
  padding: 8px 0 7px;
  border-bottom: 1px dotted rgba(196, 182, 118, 0.24);
}

.personnel-file-fields dt {
  color: rgba(224, 217, 179, 0.58);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.personnel-file-fields dd {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.dashboard-profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.dashboard-profile-badges span {
  padding: 5px 8px 4px;
  border: 1px solid rgba(196, 182, 118, 0.26);
  border-radius: 2px;
  color: var(--gold);
  background: rgba(196, 182, 118, 0.06);
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.035em;
}

.dashboard-dog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.player-dog-tag {
  position: relative;
  display: inline-grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: center;
  min-width: 142px;
  min-height: 54px;
  padding: 7px 13px 7px 8px;
  overflow: hidden;
  border: 1px solid rgba(247, 242, 214, 0.54);
  border-radius: 12px 20px 20px 12px;
  color: #24261f;
  background:
    linear-gradient(115deg, transparent 0 23%, rgba(255, 255, 255, 0.5) 24% 30%, transparent 31% 100%),
    linear-gradient(180deg, #dedcc7, #969889 52%, #d6d4bd);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.72),
    inset 0 -1px rgba(37, 41, 34, 0.44),
    0 8px 18px rgba(0, 0, 0, 0.28);
}

.player-dog-tag::after {
  content: "";
  position: absolute;
  inset: 4px;
  pointer-events: none;
  border: 1px solid rgba(46, 48, 40, 0.28);
  border-radius: 9px 16px 16px 9px;
}

.player-dog-tag.is-empty {
  filter: saturate(0.45) brightness(0.78);
}

.player-dog-tag.is-empty .player-dog-tag-engraving strong {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.player-dog-tag-hole {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-left: 2px;
  border: 2px solid rgba(245, 243, 220, 0.72);
  border-radius: 50%;
  background: #252820;
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(40, 42, 35, 0.5);
}

.player-dog-tag-engraving {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px rgba(255, 255, 255, 0.4);
}

.player-dog-tag-engraving small {
  color: rgba(37, 39, 33, 0.7);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.player-dog-tag-engraving strong {
  color: #20221d;
  font-family: "Courier New", monospace;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.dashboard-player-data {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(196, 182, 118, 0.24);
  border-bottom: 1px solid rgba(196, 182, 118, 0.24);
}

.dashboard-data-item {
  min-width: 0;
  padding: 13px 14px;
  border: 0;
  border-left: 1px solid rgba(196, 182, 118, 0.2);
  border-radius: 0;
  background: rgba(5, 7, 5, 0.16);
}

.dashboard-data-item:first-child {
  border-left: 0;
}

.personnel-file-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  color: rgba(224, 217, 179, 0.68);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.personnel-file-section-title::after {
  flex: 1;
  height: 1px;
  background: rgba(196, 182, 118, 0.2);
  content: "";
}

.dashboard-data-item > span,
.dashboard-data-item > strong,
.dashboard-data-item > small {
  display: block;
  overflow-wrap: anywhere;
}

.dashboard-data-item > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-data-item > strong {
  margin-top: 7px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.dashboard-data-item > small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.dashboard-loadout-list {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.dashboard-loadout-row {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.dashboard-loadout-row + .dashboard-loadout-row {
  padding-top: 7px;
  border-top: 1px dotted rgba(196, 182, 118, 0.18);
}

.dashboard-loadout-row b {
  color: var(--text);
  font-size: 11px;
  line-height: 1.2;
}

.dashboard-loadout-row small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.dashboard-profile-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(196, 182, 118, 0.2);
}

.dashboard-profile-actions > span {
  max-width: 390px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: right;
}

.next-mission-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(320px, 0.38fr);
  min-height: 300px;
  overflow: hidden;
}

.next-mission-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 6, 4, 0.1), rgba(5, 6, 4, 0.85)),
    rgba(5, 6, 4, 0.45);
}

.next-mission-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(10, 12, 8, 0.55)),
    linear-gradient(180deg, transparent, rgba(5, 6, 4, 0.82));
  content: "";
}

.next-mission-media img,
.result-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next-mission-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.next-mission-copy h2,
.result-copy h2,
.result-card h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  text-transform: uppercase;
}

.next-mission-copy p,
.result-copy p,
.result-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

@media (min-width: 981px) {
  .next-game-hero.is-compact-desktop {
    gap: 9px;
    padding: 14px;
    border-radius: 20px;
  }

  .next-game-hero.is-compact-desktop .next-game-section-head h1 {
    font-size: 27px;
  }

  .next-game-hero.is-compact-desktop .next-mission-card {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    min-height: 190px;
  }

  .next-game-hero.is-compact-desktop .next-mission-media {
    align-self: center;
    height: 186px;
    min-height: 186px;
    margin: 10px 0 10px 10px;
    border-radius: 16px;
  }

  .next-game-hero.is-compact-desktop .next-mission-media img {
    object-position: 50% 38%;
  }

  .next-game-hero.is-compact-desktop .next-mission-copy {
    gap: 6px;
    padding: 14px 16px;
  }

  .next-game-hero.is-compact-desktop .next-mission-copy h2 {
    font-size: clamp(24px, 2.35vw, 31px);
  }

  .next-game-hero.is-compact-desktop .next-mission-copy > p {
    font-size: 14px;
  }

  .next-game-hero.is-compact-desktop .status-badge {
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .next-game-hero.is-compact-desktop .versus-panel,
  .next-game-hero.is-compact-desktop .result-score {
    gap: 8px;
  }

  .next-game-hero.is-compact-desktop .versus-panel div,
  .next-game-hero.is-compact-desktop .result-score div {
    padding: 9px;
    border-radius: 12px;
  }

  .next-game-hero.is-compact-desktop .versus-panel span,
  .next-game-hero.is-compact-desktop .result-score span {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .next-game-hero.is-compact-desktop .versus-panel strong,
  .next-game-hero.is-compact-desktop .result-score strong {
    margin-top: 3px;
    font-size: 23px;
  }

  .next-game-hero.is-compact-desktop .hero-actions {
    gap: 8px;
    margin-top: 4px;
  }

  .next-game-hero.is-compact-desktop .hero-actions a {
    min-height: 34px;
    padding: 7px 10px;
  }
}

.versus-panel,
.result-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.versus-panel div,
.result-score div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.28);
}

.versus-panel span,
.result-score span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.versus-panel strong,
.result-score strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.versus-panel b,
.result-score b {
  color: var(--text);
  font-size: 20px;
}

.result-score.multi-score {
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
}

.result-score.multi-score .score-side-chip {
  min-width: 0;
}

.ammo-command-card {
  display: grid;
  align-content: start;
  gap: 16px;
}

.compact-head {
  align-items: flex-start;
  margin-bottom: 0;
}

.compact-head h2 {
  font-size: 44px;
}

.ammo-mark {
  color: var(--gold);
  letter-spacing: 0.2em;
}

.command-links {
  display: grid;
  gap: 8px;
}

.command-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(7, 9, 7, 0.24);
}

.command-links a:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.quick-actions-panel {
  margin-bottom: 18px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.rating-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.content-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.content-tabs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(7, 9, 7, 0.34);
  text-decoration: none;
}

.content-tabs a > span,
.content-tabs a small {
  display: block;
}

.content-tabs a > span {
  color: inherit;
  font-weight: 900;
}

.content-tabs a small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.content-tabs strong {
  display: grid;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(196, 182, 118, 0.08);
}

.content-tabs a:hover,
.content-tabs a.is-active {
  border-color: rgba(196, 182, 118, 0.5);
  color: var(--text);
  background: linear-gradient(135deg, rgba(91, 102, 54, 0.42), rgba(7, 9, 7, 0.5));
}

.rating-tabs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 9, 7, 0.34);
  color: var(--muted);
  text-decoration: none;
}

.rating-tabs a.is-active {
  border-color: rgba(196, 182, 118, 0.5);
  background: linear-gradient(135deg, rgba(91, 102, 54, 0.42), rgba(7, 9, 7, 0.5));
  color: var(--text);
}

.rating-tabs strong {
  color: var(--gold);
}

.quick-action-tile {
  display: grid;
  min-height: 118px;
  align-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.25);
  text-align: center;
}

.quick-action-tile:hover,
.quick-action-tile.accent-tile {
  border-color: rgba(196, 182, 118, 0.58);
  background: linear-gradient(180deg, rgba(124, 133, 76, 0.24), rgba(7, 9, 7, 0.32));
}

.quick-action-tile span {
  color: var(--gold);
  font-size: 25px;
}

.quick-action-tile strong {
  color: var(--text);
  text-transform: uppercase;
}

.quick-action-tile small {
  color: var(--muted);
}

.result-spotlight {
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 0.48fr);
  gap: 0;
  margin-bottom: 18px;
  overflow: hidden;
}

.result-cover {
  display: block;
  min-height: 340px;
  overflow: hidden;
  background: rgba(5, 6, 4, 0.42);
}

.result-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 4vw, 42px);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.result-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.result-card h3 {
  margin-top: 12px;
  font-size: 25px;
}

.compact-score {
  min-width: 0;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.scoreboard-big {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
}

.scoreboard-big div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.28);
}

.scoreboard-big span {
  display: block;
  color: var(--muted);
}

.scoreboard-big strong {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-size: 56px;
  line-height: 1;
}

.scoreboard-big b {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 42px;
}

.operation-hero {
  position: relative;
  overflow: hidden;
}

.operation-hero::before {
  position: absolute;
  inset: -28% -18% auto 42%;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(196, 182, 118, 0.13), transparent 68%);
  content: "";
  pointer-events: none;
}

.operation-brief,
.operation-cover,
.operation-status-card {
  position: relative;
  z-index: 1;
}

.operation-meta {
  margin-top: 22px;
}

.operation-status-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-width: 260px;
  padding: 20px;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 14%, rgba(196, 182, 118, 0.16), transparent 8rem),
    rgba(7, 9, 7, 0.42);
}

.operation-status-card h2 {
  margin: 10px 0 8px;
  color: var(--text);
  font-size: 28px;
  line-height: 1.05;
  text-transform: uppercase;
}

.operation-status-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.organizer-shortcuts,
.action-links {
  display: grid;
  gap: 8px;
}

.organizer-shortcuts a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(7, 9, 7, 0.28);
  font-weight: 850;
}

.operation-grid {
  align-items: start;
}

.join-decision-grid,
.side-roster-grid {
  display: grid;
  gap: 14px;
}

.join-decision-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.admission-mini-card {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid rgba(196, 182, 118, 0.18);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.28);
}

.admission-mini-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admission-mini-card strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.admission-mini-card small {
  color: var(--muted);
}

.admission-mini-card.is-ok,
.positive-box {
  border-color: rgba(156, 171, 97, 0.36);
}

.admission-mini-card.is-fail,
.danger-box,
.danger-note {
  border-color: rgba(197, 107, 93, 0.42);
}

.rule-check-list {
  display: grid;
  gap: 10px;
}

.rule-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(7, 9, 7, 0.24);
}

.rule-check > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: var(--gold);
  background: rgba(196, 182, 118, 0.08);
  font-weight: 950;
}

.rule-check.is-ok {
  border-color: rgba(156, 171, 97, 0.28);
}

.rule-check.is-fail {
  border-color: rgba(197, 107, 93, 0.38);
}

.rule-check strong,
.rule-check small {
  display: block;
}

.rule-check small {
  margin-top: 3px;
  color: var(--muted);
}

.game-stage-lane {
  grid-template-columns: 1fr;
}

.phase-card.stage-active {
  border-color: rgba(156, 171, 97, 0.42);
  background:
    radial-gradient(circle at 86% 14%, rgba(156, 171, 97, 0.18), transparent 7rem),
    rgba(7, 9, 7, 0.32);
}

.phase-card.stage-past {
  opacity: 0.72;
}

.side-roster-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.side-roster-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 10%, rgba(196, 182, 118, 0.12), transparent 8rem),
    rgba(7, 9, 7, 0.26);
}

.side-roster-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.side-roster-head h3 {
  margin: 9px 0 0;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}

.side-roster-head > strong {
  color: var(--gold);
  font-size: 42px;
  line-height: 1;
}

.role-requirement-line,
.unassigned-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.role-requirement-line span,
.unassigned-strip span,
.unassigned-strip strong {
  padding: 7px 9px;
  border: 1px solid rgba(196, 182, 118, 0.18);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(7, 9, 7, 0.24);
  font-size: 12px;
  font-weight: 850;
}

.compact-roster {
  max-height: 460px;
  overflow: auto;
  padding-right: 2px;
}

.side-preferred {
  margin-top: 12px;
  color: var(--muted);
}

.side-preferred summary {
  cursor: pointer;
  color: var(--gold);
  font-weight: 850;
}

.side-preferred span {
  display: block;
  margin-top: 8px;
}

.unassigned-strip {
  margin-top: 16px;
  margin-bottom: 0;
}

.game-info-grid strong {
  white-space: normal;
}

.team-game-call-panel {
  border-color: rgba(196, 182, 118, 0.28);
  background:
    radial-gradient(circle at 92% 12%, rgba(156, 171, 97, 0.14), transparent 12rem),
    linear-gradient(135deg, rgba(201, 184, 111, 0.06), rgba(7, 9, 7, 0.18)),
    var(--panel);
}

.compact-disclosure {
  overflow: hidden;
  padding: 0;
}

.compact-disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 98px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  transition: background 180ms ease;
}

.compact-disclosure-summary::-webkit-details-marker {
  display: none;
}

.compact-disclosure-summary:hover,
.compact-disclosure-summary:focus-visible {
  background: rgba(203, 187, 118, 0.06);
}

.compact-disclosure-summary:focus-visible {
  outline: 2px solid rgba(201, 184, 111, 0.6);
  outline-offset: -3px;
}

.compact-disclosure-summary h2 {
  margin: 3px 0 4px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1;
}

.compact-disclosure-summary small {
  color: var(--muted);
  line-height: 1.4;
}

.compact-disclosure-action {
  display: inline-flex;
  min-width: 116px;
  min-height: 42px;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 8px 11px 8px 14px;
  border: 1px solid rgba(203, 187, 118, 0.25);
  border-radius: 13px;
  color: var(--gold);
  background: rgba(7, 9, 7, 0.42);
  font-size: 12px;
  font-weight: 900;
}

.compact-disclosure-action b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #171409;
  background: var(--gold);
  font-size: 19px;
  line-height: 1;
  transition: transform 180ms ease;
}

.compact-disclosure .when-open {
  display: none;
}

.compact-disclosure[open] .when-open {
  display: inline;
}

.compact-disclosure[open] .when-closed {
  display: none;
}

.compact-disclosure[open] .compact-disclosure-action b {
  transform: rotate(45deg);
}

.compact-disclosure-body {
  padding: 20px 22px 22px;
  border-top: 1px solid rgba(203, 187, 118, 0.14);
}

.compact-disclosure-body > .section-head:first-child {
  margin-top: 0;
}

.team-call-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 16px;
  align-items: start;
}

.team-call-form,
.team-call-status {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(196, 182, 118, 0.16);
  border-radius: 18px;
  background: rgba(7, 9, 7, 0.24);
}

.team-call-overview,
.team-call-flow,
.wallet-safety-steps {
  display: grid;
  gap: 10px;
}

.team-call-overview {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 14px;
}

.team-call-flow,
.wallet-safety-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.team-call-overview article,
.team-call-flow article,
.wallet-safety-steps article {
  display: grid;
  gap: 6px;
  padding: 13px;
  border: 1px solid rgba(196, 182, 118, 0.14);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.28);
}

.team-call-overview span,
.team-call-flow span,
.wallet-safety-steps span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.team-call-overview strong {
  color: var(--text);
  font-size: 34px;
  line-height: 0.95;
}

.team-call-flow strong,
.wallet-safety-steps strong {
  color: var(--text);
  font-size: 17px;
}

.team-call-overview small,
.team-call-flow small,
.wallet-safety-steps small {
  color: var(--muted);
  line-height: 1.35;
}

.checkbox-grid > div,
.checkbox-grid ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid rgba(196, 182, 118, 0.14);
  border-radius: 13px;
  color: var(--text);
  background: rgba(7, 9, 7, 0.28);
  font-size: 13px;
}

.checkbox-grid input {
  width: auto;
  min-height: auto;
}

.team-call-status-list,
.team-call-member-list {
  display: grid;
  gap: 10px;
}

.team-call-status-card {
  display: grid;
  gap: 10px;
}

.team-call-status-head {
  display: grid;
  gap: 3px;
}

.team-call-status-head strong {
  color: var(--text);
  font-size: 20px;
  text-transform: uppercase;
}

.team-call-status-head small {
  color: var(--muted);
}

.team-call-member {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(7, 9, 7, 0.24);
}

.team-call-member small {
  color: var(--muted);
  text-align: right;
}

.team-call-member.status-available {
  border-color: rgba(156, 171, 97, 0.28);
}

.team-call-member.status-pending {
  border-color: rgba(196, 182, 118, 0.34);
}

.team-call-member.status-accepted,
.team-call-member.status-participating {
  border-color: rgba(156, 171, 97, 0.42);
  background: rgba(156, 171, 97, 0.08);
}

.info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.info-grid strong,
.status-box strong {
  display: block;
  margin-top: 6px;
}

.product-grid,
.achievement-grid,
.game-card-grid,
.cards-grid,
.media-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mission-card,
.entity-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 23, 16, 0.94), rgba(10, 12, 8, 0.94));
}

.mission-card.status-active {
  border-color: rgba(156, 171, 97, 0.36);
}

.mission-card.status-finished {
  border-color: rgba(196, 182, 118, 0.34);
}

.mission-media {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 4, 0.42);
}

.mission-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 4, 0.82));
  content: "";
}

.mission-media .status-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
}

.media-fallback {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 180px;
  place-items: center;
  background:
    linear-gradient(115deg, rgba(5, 6, 4, 0.96) 0%, rgba(5, 6, 4, 0.74) 46%, rgba(5, 6, 4, 0.2) 100%),
    radial-gradient(circle at 72% 22%, rgba(196, 182, 118, 0.28), transparent 18rem),
    radial-gradient(circle at 35% 20%, rgba(156, 171, 97, 0.28), transparent 15rem),
    url("portal-hero.png") center / cover no-repeat,
    linear-gradient(135deg, #151911, #070806);
  color: rgba(240, 236, 216, 0.72);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
}

.media-fallback::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, transparent, rgba(5, 6, 4, 0.88));
  background-size: 34px 34px, 34px 34px, auto;
  content: "";
}

.media-fallback::after {
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  width: 72px;
  height: 72px;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(196, 182, 118, 0.18) 0 2px, transparent 3px),
    conic-gradient(from 90deg, rgba(196, 182, 118, 0.18), transparent 22%, rgba(156, 171, 97, 0.22), transparent 64%, rgba(196, 182, 118, 0.16));
  content: "";
  opacity: 0.78;
}

.media-fallback span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(196, 182, 118, 0.22);
  border-radius: 999px;
  background: rgba(9, 11, 8, 0.66);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
  color: var(--text);
  font-weight: 900;
}

.media-fallback span::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 18px rgba(156, 171, 97, 0.9);
  content: "";
}

.mission-body,
.entity-card {
  padding: 18px;
}

.club-card-head,
.club-title-block,
.team-table-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.club-title-block {
  align-items: flex-start;
}

.club-card-head {
  margin-bottom: 12px;
}

.club-card-head > div,
.club-title-block > div:last-child,
.team-table-identity > a:last-child {
  min-width: 0;
}

.club-card-head > div > span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-avatar {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 24%, rgba(241, 234, 210, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(196, 182, 118, 0.2), rgba(103, 113, 57, 0.08)),
    rgba(7, 9, 7, 0.74);
  color: var(--gold);
  font-weight: 950;
  letter-spacing: 0.06em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 14px 34px rgba(0, 0, 0, 0.22);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-large {
  width: 82px;
  height: 82px;
  border-radius: 24px;
  font-size: 22px;
}

.team-avatar-small {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  font-size: 11px;
}

.mission-body h2,
.entity-card h2,
.product-card h3,
.achievement-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.05;
  text-transform: uppercase;
}

.mission-body p,
.entity-card p {
  color: var(--muted);
  line-height: 1.5;
}

.mission-meta {
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0 0;
}

.mission-meta div {
  min-width: 0;
  padding: 12px;
}

.mission-meta dd {
  overflow: hidden;
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-cover,
.detail-cover {
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(5, 6, 4, 0.42);
  object-fit: cover;
}

.detail-cover .media-fallback {
  height: 100%;
}

.media-gallery {
  margin-top: 18px;
}

.media-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(5, 6, 4, 0.32);
}

.media-gallery img,
.media-gallery video {
  display: block;
  aspect-ratio: 16 / 10;
  background: rgba(5, 6, 4, 0.7);
}

.media-gallery video {
  aspect-ratio: auto;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
}

.media-gallery figcaption {
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

.profile-avatar {
  width: 140px;
  height: 140px;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.profile-heading-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.product-card strong {
  display: block;
  color: var(--gold);
  font-size: 30px;
}

.product-card small {
  color: var(--muted);
}

.shop-order-grid {
  display: grid;
  gap: 18px;
}

.ammo-order-panel {
  margin-bottom: 0;
}

.product-pick-button {
  width: 100%;
  margin-top: 12px;
}

.ammo-calculator-form {
  gap: 16px;
}

.ammo-calculation-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 13px;
  border: 1px solid rgba(196, 182, 118, 0.18);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(196, 182, 118, 0.12), transparent 8rem),
    rgba(7, 9, 7, 0.3);
}

.ammo-calculation-card div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.ammo-calculation-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ammo-calculation-card strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ammo-calculation-card .is-total {
  border-color: rgba(196, 182, 118, 0.28);
  background: rgba(196, 182, 118, 0.08);
}

.ammo-calculation-card .is-total strong {
  color: var(--gold);
}

.shop-submit-panel,
.wallet-submit-panel {
  align-items: stretch;
}

.custom-ammo-card {
  border-color: rgba(196, 182, 118, 0.32);
  background:
    radial-gradient(circle at 85% 14%, rgba(196, 182, 118, 0.16), transparent 9rem),
    linear-gradient(135deg, rgba(201, 184, 111, 0.08), rgba(103, 113, 57, 0.035)),
    var(--panel);
}

.ammo-rate-card,
.participation-cost-note {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid rgba(196, 182, 118, 0.24);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.34);
}

.ammo-rate-card span,
.participation-cost-note span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ammo-rate-card strong,
.participation-cost-note strong {
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.ammo-rate-card small,
.participation-cost-note small {
  color: var(--muted);
}

.compact-empty {
  padding: 22px;
  text-align: left;
}

.achievement-card {
  position: relative;
  overflow: hidden;
}

.achievement-card.unlocked {
  border-color: rgba(159, 189, 104, 0.42);
  background: linear-gradient(180deg, rgba(159, 189, 104, 0.11), rgba(7, 9, 7, 0.2));
}

.achievement-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--gold);
  background: rgba(7, 9, 7, 0.32);
  font-size: 26px;
  font-weight: 950;
}

.achievement-symbol {
  display: inline-grid;
  place-items: center;
  color: inherit;
  font-size: inherit;
  font-weight: 950;
  line-height: 1;
}

.achievement-icon.rarity-rare,
.achievement-mini-icon.rarity-rare,
.rare-achievement-badge.rarity-rare {
  border-color: rgba(111, 183, 214, 0.42);
  color: #9fd6f0;
  background: rgba(37, 87, 109, 0.2);
}

.achievement-icon.rarity-epic,
.achievement-mini-icon.rarity-epic,
.rare-achievement-badge.rarity-epic {
  border-color: rgba(197, 139, 236, 0.45);
  color: #d8b2ff;
  background: rgba(92, 44, 120, 0.22);
}

.achievement-icon.rarity-legendary,
.achievement-mini-icon.rarity-legendary,
.rare-achievement-badge.rarity-legendary {
  border-color: rgba(238, 184, 83, 0.5);
  color: #ffd67a;
  background: rgba(130, 79, 21, 0.24);
}

.rare-achievement-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 4px;
}

.rare-achievement-badge {
  display: inline-flex;
  max-width: 210px;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border: 1px solid rgba(196, 182, 118, 0.25);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(7, 9, 7, 0.28);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
}

.rare-achievement-badge .achievement-symbol {
  flex: 0 0 auto;
  font-size: 13px;
}

.rare-achievement-badge > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.achievement-list-title {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.achievement-mini-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.24);
  border-radius: 10px;
  color: var(--gold);
  background: rgba(7, 9, 7, 0.32);
  font-size: 15px;
}

.reward-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.reward-line b {
  color: var(--green);
}

.rich-text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.rich-text p:first-child {
  margin-top: 0;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

.site-form {
  display: grid;
  gap: 12px;
}

.site-form p {
  display: grid;
  gap: 7px;
  margin: 0;
}

.site-form label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.form-control,
.site-form input,
.site-form select,
.site-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(7, 9, 7, 0.48);
  color: var(--text);
  caret-color: var(--gold);
  color-scheme: dark;
  -webkit-text-fill-color: var(--text);
}

.form-control::placeholder,
.site-form input::placeholder,
.site-form textarea::placeholder {
  color: rgba(159, 153, 134, 0.86);
  -webkit-text-fill-color: rgba(159, 153, 134, 0.86);
}

.form-control[readonly],
.site-form input[readonly],
.site-form textarea[readonly],
.form-control:disabled,
.site-form input:disabled,
.site-form select:disabled,
.site-form textarea:disabled {
  border-color: rgba(190, 181, 128, 0.12);
  background: rgba(7, 9, 7, 0.32);
  color: rgba(240, 236, 216, 0.68);
  opacity: 1;
  -webkit-text-fill-color: rgba(240, 236, 216, 0.68);
}

.site-form select option,
.site-form select optgroup {
  background: #10130d;
  color: var(--text);
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus,
.site-form input:-webkit-autofill,
.site-form input:-webkit-autofill:hover,
.site-form input:-webkit-autofill:focus,
.site-form textarea:-webkit-autofill,
.site-form textarea:-webkit-autofill:hover,
.site-form textarea:-webkit-autofill:focus,
.site-form select:-webkit-autofill,
.site-form select:-webkit-autofill:hover,
.site-form select:-webkit-autofill:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1000px #080a06 inset;
  caret-color: var(--gold);
  -webkit-text-fill-color: var(--text);
}

.cs-password-toggle input {
  background: rgba(7, 9, 7, 0.48);
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}

.site-form input[type="checkbox"] {
  appearance: none;
  width: 24px;
  height: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  margin: 0;
  border: 2px solid rgba(217, 202, 130, 0.62);
  border-radius: 7px;
  background: rgba(7, 9, 7, 0.72);
  cursor: pointer;
}

.site-form input[type="checkbox"]:checked {
  border-color: #aebd69;
  background-color: #748443;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m4 10 4 4 8-9' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 17px;
}

.site-form input[type="checkbox"]:focus-visible {
  outline: 3px solid rgba(217, 202, 130, 0.28);
  outline-offset: 3px;
}

.site-form input[type="file"] {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 9px;
  line-height: 1.4;
}

.site-form input[type="file"]::file-selector-button {
  min-height: 34px;
  margin-right: 12px;
  padding: 7px 12px;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 10px;
  background: rgba(196, 182, 118, 0.12);
  color: var(--gold);
  cursor: pointer;
  font-weight: 850;
}

.site-form textarea {
  resize: vertical;
}

.site-form input:focus,
.site-form select:focus,
.site-form textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(201, 184, 111, 0.09);
}

.structured-form {
  gap: 18px;
}

.form-checkbox-field {
  min-width: 0;
}

.form-checkbox-control {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 14px 15px;
  border: 1px solid rgba(196, 182, 118, 0.24);
  border-radius: 15px;
  background: rgba(7, 9, 7, 0.36);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.form-checkbox-control:has(> input:checked) {
  border-color: rgba(156, 171, 97, 0.58);
  background: linear-gradient(135deg, rgba(156, 171, 97, 0.15), rgba(7, 9, 7, 0.38));
}

.form-checkbox-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.form-checkbox-copy strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.2;
}

.form-checkbox-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.form-field.is-disabled {
  opacity: 0.52;
}

.form-roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.form-roadmap-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    rgba(7, 9, 7, 0.28);
}

.form-roadmap-step.is-active {
  border-color: rgba(196, 182, 118, 0.34);
  background:
    radial-gradient(circle at 90% 12%, rgba(196, 182, 118, 0.12), transparent 6rem),
    rgba(196, 182, 118, 0.065);
}

.form-roadmap-step span,
.join-next-steps span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.3);
  border-radius: 11px;
  color: var(--gold);
  background: rgba(196, 182, 118, 0.08);
  font-weight: 950;
}

.form-roadmap-step strong,
.form-roadmap-step small {
  display: block;
}

.form-roadmap-step strong {
  color: var(--text);
  line-height: 1.1;
}

.form-roadmap-step small {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.35;
}

.form-submit-panel,
.join-submit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(196, 182, 118, 0.26);
  border-radius: 20px;
  background:
    radial-gradient(circle at 96% 16%, rgba(196, 182, 118, 0.14), transparent 8rem),
    linear-gradient(180deg, rgba(156, 171, 97, 0.08), rgba(7, 9, 7, 0.34));
}

.form-submit-panel strong,
.form-submit-panel small,
.join-submit-panel span,
.join-submit-panel strong,
.join-submit-panel small {
  display: block;
}

.form-submit-panel strong,
.join-submit-panel strong {
  color: var(--text);
  font-size: 20px;
}

.join-submit-panel span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-submit-panel small,
.join-submit-panel small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.45;
}

.join-next-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.join-next-steps article {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 150px;
  padding: 13px;
  border: 1px solid rgba(196, 182, 118, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(196, 182, 118, 0.1), transparent 6rem),
    rgba(7, 9, 7, 0.28);
}

.join-next-steps strong {
  color: var(--text);
  font-size: 18px;
}

.join-next-steps small {
  color: var(--muted);
  line-height: 1.42;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.span-2 {
  grid-column: 1 / -1;
}

.wallet-transfer-form {
  gap: 16px;
}

.confirm-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(196, 182, 118, 0.2);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.32);
}

.confirm-card input {
  margin-top: 4px;
}

.confirm-card strong,
.confirm-card small {
  display: block;
}

.confirm-card strong {
  color: var(--text);
}

.confirm-card small {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.42;
}

.form-field small,
.help-card span {
  color: var(--muted);
  line-height: 1.45;
}

.field-errors {
  color: var(--red);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.help-stack {
  display: grid;
  gap: 12px;
}

.help-card {
  display: grid;
  gap: 6px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(7, 9, 7, 0.28);
}

.help-card strong {
  color: var(--gold);
  font-size: 16px;
}

.game-create-hero {
  align-items: start;
}

.game-create-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.game-create-metrics span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(196, 182, 118, 0.22);
  border-radius: 999px;
  background: rgba(8, 10, 7, 0.48);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.game-create-metrics strong {
  color: var(--text);
}

.game-create-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.game-create-aside {
  position: sticky;
  top: 18px;
}

.game-create-main {
  min-width: 0;
}

.cost-explainer {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(196, 182, 118, 0.2), transparent 7rem),
    linear-gradient(135deg, rgba(156, 171, 97, 0.13), rgba(7, 9, 7, 0.44));
}

.cost-explainer strong,
.cost-explainer p {
  display: block;
}

.cost-explainer p {
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.cost-unit-pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0b0d09;
  background: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cost-examples {
  display: grid;
  gap: 8px;
}

.cost-examples span {
  padding: 10px 12px;
  border: 1px solid rgba(240, 236, 216, 0.08);
  border-radius: 13px;
  background: rgba(5, 6, 4, 0.34);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.setup-roadmap {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(156, 171, 97, 0.24);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(156, 171, 97, 0.11), rgba(7, 9, 7, 0.22)),
    rgba(7, 9, 7, 0.28);
}

.setup-roadmap h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.1;
}

.roadmap-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 10px;
  padding: 12px;
  border: 1px solid rgba(240, 236, 216, 0.08);
  border-radius: 14px;
  background: rgba(5, 6, 4, 0.3);
}

.roadmap-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(156, 171, 97, 0.09);
}

.roadmap-list strong,
.roadmap-list span {
  grid-column: 2;
}

.roadmap-list strong {
  color: var(--gold);
  font-size: 15px;
}

.roadmap-list span {
  color: var(--muted);
  line-height: 1.45;
}

.date-picker-field {
  min-width: 0;
}

.date-picker-control {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
}

.date-picker-button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(196, 182, 118, 0.34);
  border-radius: 12px;
  color: #0b0d09;
  background:
    linear-gradient(135deg, var(--gold), #92a050);
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.date-picker-button:hover,
.date-picker-button:focus-visible {
  color: #050604;
  border-color: rgba(240, 236, 216, 0.52);
  filter: brightness(1.04);
}

.cs-date-popover {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  width: min(340px, 100%);
  padding: 14px;
  border: 1px solid rgba(196, 182, 118, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(196, 182, 118, 0.14), transparent 8rem),
    rgba(8, 10, 7, 0.98);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.52);
}

.cs-date-popover-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.cs-date-popover-head strong {
  color: var(--text);
  font-size: 17px;
  text-align: center;
  text-transform: capitalize;
}

.cs-date-nav {
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid rgba(196, 182, 118, 0.24);
  border-radius: 10px;
  color: var(--gold);
  background: rgba(196, 182, 118, 0.07);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.cs-date-nav:hover,
.cs-date-nav:focus-visible {
  color: var(--text);
  background: rgba(196, 182, 118, 0.14);
}

.cs-date-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.cs-date-weekday,
.cs-date-empty,
.cs-date-day {
  display: inline-grid;
  min-height: 34px;
  place-items: center;
  border-radius: 10px;
  font-size: 13px;
}

.cs-date-weekday {
  color: var(--muted);
  font-weight: 900;
}

.cs-date-day {
  border: 1px solid rgba(240, 236, 216, 0.08);
  color: var(--text);
  background: rgba(5, 6, 4, 0.4);
  font-weight: 900;
  cursor: pointer;
}

.cs-date-day:hover,
.cs-date-day:focus-visible {
  border-color: rgba(196, 182, 118, 0.38);
  background: rgba(196, 182, 118, 0.12);
}

.cs-date-day.is-today {
  color: var(--gold);
  border-color: rgba(196, 182, 118, 0.38);
}

.cs-date-day.is-selected {
  color: #050604;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), #92a050);
}

.form-step-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(190, 181, 128, 0.17);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.028), transparent),
    rgba(7, 9, 7, 0.3);
}

.form-step-card-accent {
  border-color: rgba(196, 182, 118, 0.32);
  background:
    radial-gradient(circle at 96% 14%, rgba(196, 182, 118, 0.16), transparent 9rem),
    linear-gradient(180deg, rgba(156, 171, 97, 0.08), rgba(7, 9, 7, 0.34));
}

.form-step-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.form-step-head strong {
  display: block;
  color: var(--text);
  font-size: 20px;
}

.form-step-head small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.form-step-number {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(196, 182, 118, 0.34);
  border-radius: 14px;
  color: #0b0d09;
  background:
    linear-gradient(135deg, var(--gold), #8f9f55);
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
}

.form-field.is-highlighted {
  padding: 12px;
  border: 1px solid rgba(196, 182, 118, 0.26);
  border-radius: 18px;
  background: rgba(196, 182, 118, 0.055);
}

.form-field.is-highlighted label {
  color: var(--gold);
}

.form-field.is-highlighted input {
  border-color: rgba(196, 182, 118, 0.38);
  background: rgba(4, 5, 3, 0.62);
  font-size: 20px;
  font-weight: 900;
}

.inline-note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 12px 14px;
  border: 1px dashed rgba(196, 182, 118, 0.32);
  border-radius: 16px;
  background: rgba(196, 182, 118, 0.055);
  color: var(--muted);
  line-height: 1.45;
}

.inline-note strong {
  color: var(--gold);
}

.submit-next-note {
  margin: -4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.site-form .errorlist,
.messages {
  display: grid;
  gap: 8px;
}

.site-form .errorlist {
  margin: 0;
  padding: 0;
  color: var(--red);
  list-style: none;
}

.telegram-auth-card {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(196, 182, 118, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 12%, rgba(196, 182, 118, 0.12), transparent 7rem),
    rgba(7, 9, 7, 0.28);
}

.telegram-auth-card strong,
.telegram-auth-card small {
  display: block;
}

.telegram-auth-card strong {
  color: var(--text);
  font-size: 18px;
  text-transform: uppercase;
}

.telegram-auth-card small {
  margin-top: 5px;
  color: var(--muted);
}

.telegram-webview {
  background:
    linear-gradient(rgba(201, 184, 111, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 184, 111, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 80% 4%, rgba(156, 171, 97, 0.14), transparent 16rem),
    var(--page-bg);
  background-size: 26px 26px, 26px 26px, auto, auto;
}

.telegram-webview .app-shell {
  display: block;
  width: min(100% - 18px, 960px);
  padding-top: 0;
}

.telegram-webview .side-menu {
  display: none;
}

.telegram-webview .mobile-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 0 0 22px 22px;
  background: rgba(8, 10, 7, 0.92);
  backdrop-filter: blur(18px);
}

.telegram-webview .site-shell {
  width: 100%;
  margin: 0 auto;
  padding: 10px 0 88px;
}

.telegram-webview .page-heading,
.telegram-webview .panel,
.telegram-webview .content-hero,
.telegram-webview .game-hero-detail {
  border-radius: 24px;
}

.telegram-webview .mobile-dock {
  position: fixed;
  right: 9px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 9px;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(var(--mobile-dock-columns, 5), minmax(0, 1fr));
  gap: 6px;
  width: auto;
  max-width: calc(100vw - 18px);
  overflow: hidden;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 10, 7, 0.92);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.telegram-webview .mobile-dock a {
  display: inline-flex;
  min-width: 0;
  min-height: 38px;
  overflow: hidden;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-options {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.price-options small {
  display: inline-flex;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 9, 7, 0.24);
  color: var(--muted);
}

.compact-price-options {
  margin-top: 12px;
}

.messages {
  margin-bottom: 18px;
}

.message {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(7, 9, 7, 0.52);
  color: var(--text);
}

.message-success {
  border-color: rgba(159, 189, 104, 0.36);
}

.message-error {
  border-color: rgba(197, 107, 93, 0.42);
}

.auth-layout {
  display: grid;
  min-height: 68vh;
  place-items: center;
}

.auth-card {
  width: min(520px, 100%);
  padding: clamp(24px, 5vw, 42px);
}

.wide-auth {
  width: min(760px, 100%);
}

.auth-choice-card {
  width: min(790px, 100%);
}

.auth-choice-card > p {
  max-width: 620px;
  font-size: 15px;
  line-height: 1.55;
}

.auth-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.auth-choice-option {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 9px;
  min-height: 230px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 18px;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 12%, rgba(196, 182, 118, 0.13), transparent 8rem),
    rgba(7, 9, 7, 0.4);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.035);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.auth-choice-option:hover {
  border-color: rgba(196, 182, 118, 0.62);
  color: var(--text);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  transform: translateY(-3px);
}

.auth-choice-option.is-primary {
  border-color: rgba(196, 182, 118, 0.52);
  color: #11130d;
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.34), transparent 8rem),
    linear-gradient(145deg, #c8bd7b, #87944f);
}

.auth-choice-option.is-primary:hover {
  color: #090a07;
}

.auth-choice-index {
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  opacity: 0.65;
}

.auth-choice-option strong {
  max-width: 280px;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 0.95;
  text-transform: uppercase;
}

.auth-choice-option small {
  max-width: 260px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.auth-choice-option.is-primary small {
  color: rgba(17, 19, 13, 0.72);
}

.auth-choice-option b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid currentColor;
  font-size: 11px;
  text-transform: uppercase;
}

.auth-choice-option b span {
  color: currentColor;
  font-size: 18px;
  transition: transform 0.18s ease;
}

.auth-choice-option:hover b span {
  transform: translateX(4px);
}

.auth-choice-back {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-columns button,
.two-columns .errorlist,
.two-columns > p:nth-last-child(-n + 2) {
  grid-column: 1 / -1;
}

.empty-state {
  padding: 34px;
  text-align: center;
}

@media (max-width: 1080px) {
  .app-shell {
    display: block;
    width: min(100% - 24px, 1220px);
    padding-top: 12px;
  }

  .site-shell {
    padding-bottom: 90px;
  }

  .side-menu {
    display: none;
  }

  .mobile-topbar {
    position: sticky;
    top: 10px;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 10, 7, 0.9);
    backdrop-filter: blur(16px);
  }

  .mobile-user-chip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    color: var(--text);
  }

  .mobile-account-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
  }

  .mobile-account-actions form {
    display: block;
  }

  .mobile-logout-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    border: 1px solid rgba(196, 182, 118, 0.34);
    border-radius: 11px;
    color: var(--gold);
    background: rgba(196, 182, 118, 0.08);
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
  }

  .mobile-logout-button:hover,
  .mobile-logout-button:focus-visible {
    border-color: rgba(226, 213, 139, 0.68);
    color: var(--paper);
    background: rgba(196, 182, 118, 0.16);
    outline: none;
  }

  .mobile-user-chip .small-avatar {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .mobile-user-chip strong,
  .mobile-user-chip small {
    display: block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-user-chip strong {
    font-size: 12px;
  }

  .mobile-user-chip small {
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
  }

  .mobile-dock {
    position: fixed;
    right: 12px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(var(--mobile-dock-columns, 5), minmax(0, 1fr));
    gap: 6px;
    width: auto;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 10, 7, 0.92);
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
  }

  .mobile-dock a {
    display: inline-flex;
    min-width: 0;
    min-height: 38px;
    overflow: hidden;
    padding: 0 4px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .form-roadmap,
  .join-next-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .form-submit-panel,
  .join-submit-panel {
    grid-template-columns: 1fr;
  }

  .mobile-dock a:hover {
    color: var(--text);
    background: rgba(196, 182, 118, 0.075);
  }

  .topbar,
  .hero,
  .command-dashboard,
  .next-mission-card,
  .result-spotlight,
  .content-grid,
  .game-create-layout,
  .page-heading,
  .scoreboard-big,
  .content-hero,
  .game-hero-detail {
    grid-template-columns: 1fr;
  }

  .game-create-aside {
    position: static;
  }

  .topbar {
    position: static;
  }

  .nav,
  .auth-actions {
    justify-content: flex-start;
  }

  .summary-grid,
  .team-rating-grid,
  .product-grid,
  .achievement-grid,
  .game-card-grid,
  .cards-grid,
  .media-gallery,
  .info-grid,
  .results-grid,
  .phase-lane,
  .constructor-grid,
  .rule-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .balance-mode-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-actions-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .side-roster-grid {
    grid-template-columns: 1fr;
  }

  .team-call-grid {
    grid-template-columns: 1fr;
  }

  .next-mission-media,
  .result-cover {
    min-height: 240px;
  }

  .command-greeting {
    display: grid;
  }

  .command-main {
    display: grid;
    gap: 18px;
  }

  .command-main .next-mission-card {
    order: 1;
  }

  .command-main .command-greeting {
    order: 2;
    margin-bottom: 0;
  }
}

.cockpit-heading {
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 184, 111, 0.2), transparent 16rem),
    linear-gradient(135deg, rgba(27, 34, 20, 0.96), rgba(8, 10, 7, 0.88));
}

.cockpit-summary-grid {
  grid-template-columns: repeat(6, minmax(130px, 1fr));
}

.cockpit-command-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}

.cockpit-command-panel h2 {
  margin: 6px 0 8px;
  font-size: 30px;
  line-height: 1.05;
  text-transform: uppercase;
}

.cockpit-actions,
.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.cockpit-sides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.cockpit-side-card {
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 184, 111, 0.12), transparent 12rem),
    linear-gradient(180deg, rgba(23, 29, 17, 0.94), rgba(8, 10, 7, 0.86));
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(201, 184, 111, 0.36);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(201, 184, 111, 0.09);
  font-weight: 900;
  white-space: nowrap;
}

.side-roster-list {
  display: grid;
  gap: 9px;
}

.side-roster-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(201, 184, 111, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.side-roster-row small,
.side-roster-row em {
  display: block;
  color: var(--muted);
  font-style: normal;
}

.side-roster-row b {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.cockpit-warning-panel {
  margin-bottom: 18px;
  border-color: rgba(183, 87, 63, 0.34);
  background:
    radial-gradient(circle at 92% 20%, rgba(183, 87, 63, 0.12), transparent 12rem),
    var(--panel);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cockpit-table-panel {
  margin-top: 18px;
}

.cockpit-table {
  min-width: 1080px;
}

.cockpit-table td {
  vertical-align: top;
}

.cockpit-table small,
.cockpit-table .muted {
  display: block;
  margin-top: 4px;
}

.cockpit-select-form {
  display: flex;
  gap: 6px;
  align-items: center;
}

.cockpit-select-form select {
  width: min(190px, 100%);
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(7, 9, 7, 0.74);
  padding: 8px 10px;
  font-weight: 750;
}

.mini-button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 11px;
  font-size: 12px;
}

.danger-button {
  border-color: rgba(183, 87, 63, 0.42);
  color: #f3c0ac;
  background:
    linear-gradient(180deg, rgba(183, 87, 63, 0.16), rgba(183, 87, 63, 0.05)),
    rgba(7, 9, 7, 0.34);
}

.not-found-page {
  display: grid;
  min-height: min(680px, calc(100vh - 96px));
  place-items: center;
  padding: clamp(18px, 5vw, 58px);
}

.not-found-card {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(760px, 100%);
  overflow: hidden;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(203, 187, 118, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 10%, rgba(203, 187, 118, 0.2), transparent 15rem),
    radial-gradient(circle at 0% 100%, rgba(112, 128, 67, 0.24), transparent 20rem),
    linear-gradient(135deg, rgba(27, 31, 20, 0.94), rgba(7, 9, 7, 0.96));
  box-shadow: var(--shadow);
}

.not-found-card::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(203, 187, 118, 0.12);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.not-found-code {
  position: absolute;
  right: clamp(18px, 5vw, 44px);
  bottom: clamp(-18px, -2vw, -8px);
  color: rgba(203, 187, 118, 0.08);
  font-size: clamp(96px, 18vw, 190px);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.82;
}

.not-found-card h1 {
  position: relative;
  max-width: 620px;
  margin: 0;
  color: var(--text);
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.not-found-card p {
  position: relative;
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.not-found-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.not-found-hint {
  position: relative;
  display: grid;
  gap: 5px;
  max-width: 620px;
  padding: 14px 16px;
  border: 1px solid rgba(203, 187, 118, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.not-found-hint strong {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.not-found-hint span {
  color: var(--muted);
  line-height: 1.5;
}

.equipment-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.55fr);
  gap: clamp(22px, 4vw, 56px);
  overflow: hidden;
  margin-bottom: 18px;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid rgba(203, 187, 118, 0.2);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(7, 9, 7, 0.96) 0%, rgba(12, 16, 10, 0.88) 58%, rgba(35, 41, 22, 0.76) 100%),
    repeating-linear-gradient(135deg, transparent 0 32px, rgba(203, 187, 118, 0.04) 32px 33px),
    #11150d;
  box-shadow: var(--shadow);
}

.equipment-hero::after {
  position: absolute;
  top: -90px;
  right: 16%;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(203, 187, 118, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(203, 187, 118, 0.025), 0 0 0 84px rgba(203, 187, 118, 0.018);
  content: "";
  pointer-events: none;
}

.equipment-hero > * {
  position: relative;
  z-index: 1;
}

.equipment-hero h1 {
  max-width: 680px;
  margin: 8px 0 14px;
  font-size: clamp(42px, 7vw, 78px);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.equipment-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.equipment-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.equipment-balance-card {
  align-self: end;
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid rgba(203, 187, 118, 0.22);
  border-radius: 22px;
  background: rgba(4, 6, 4, 0.72);
  backdrop-filter: blur(14px);
}

.equipment-balance-card > span,
.equipment-balance-card > small {
  color: var(--muted);
}

.equipment-balance-card > strong {
  color: var(--accent);
  font-size: clamp(42px, 6vw, 64px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.equipment-balance-card a {
  margin-top: 12px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.equipment-how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.equipment-how-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 13px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(15, 18, 13, 0.72);
  min-width: 0;
}

.equipment-how-grid article > span {
  grid-row: span 2;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.equipment-how-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.equipment-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.application-equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.equipment-product-card,
.application-equipment-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(27, 31, 20, 0.88), rgba(7, 9, 7, 0.9));
}

.equipment-product-media,
.application-equipment-media {
  position: relative;
  display: grid;
  min-height: 164px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(203, 187, 118, 0.18), transparent 38%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.018) 18px 19px),
    #0b0e09;
}

.equipment-product-media img,
.application-equipment-media img {
  width: 100%;
  height: 100%;
  min-height: 164px;
  object-fit: cover;
}

.equipment-product-media > span,
.application-equipment-media > span {
  color: rgba(203, 187, 118, 0.55);
  font-size: 52px;
  font-weight: 950;
}

.equipment-product-media > b,
.application-equipment-media > b {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(203, 187, 118, 0.18);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 7, 5, 0.78);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.equipment-vip-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(246, 225, 132, 0.48);
  border-radius: 999px;
  color: #171409;
  background: linear-gradient(135deg, #f6e184, #b99d44);
  box-shadow: 0 8px 26px rgba(201, 184, 111, 0.28);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.equipment-vip-inline {
  justify-self: end;
  padding: 5px 8px;
  border-radius: 999px;
  color: #171409;
  background: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.application-count-score {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.application-count-score > div,
.application-count-line > div {
  min-width: 0;
}

.application-count-line {
  justify-content: space-between;
}

.application-count-line > div {
  display: flex;
  align-items: center;
  gap: 9px;
}

.application-count-line strong {
  color: var(--gold);
}

.equipment-product-copy,
.application-equipment-copy {
  display: grid;
  gap: 8px;
  padding: 17px 17px 10px;
}

.equipment-product-copy > div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.equipment-product-copy h3,
.application-equipment-copy h3 {
  margin: 0;
  font-size: 19px;
}

.equipment-product-copy p,
.application-equipment-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.equipment-product-copy small,
.application-equipment-copy small {
  color: var(--muted);
}

.equipment-buy-form,
.application-equipment-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: auto;
  padding: 12px 17px 17px;
}

.equipment-buy-form label,
.application-equipment-controls label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.equipment-buy-form label span,
.application-equipment-controls label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.equipment-buy-form input,
.equipment-buy-form select,
.application-equipment-controls select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(4, 6, 4, 0.72);
  padding: 9px 11px;
}

.application-equipment-controls input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  background: rgba(4, 6, 4, 0.72);
  padding: 9px 11px;
}

.equipment-buy-form button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.equipment-buy-form .solid-button {
  grid-column: 1 / -1;
  width: 100%;
}

.equipment-order-list {
  display: grid;
  gap: 9px;
}

.equipment-rental-intro {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

.equipment-rental-catalog {
  display: grid;
  gap: 14px;
}

.equipment-rental-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(25, 29, 19, 0.8), rgba(7, 9, 7, 0.9));
}

.equipment-rental-card.is-vip {
  border-color: rgba(218, 198, 105, 0.44);
  background:
    radial-gradient(circle at 20% 10%, rgba(218, 198, 105, 0.14), transparent 15rem),
    linear-gradient(145deg, rgba(39, 36, 19, 0.88), rgba(7, 9, 7, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 237, 150, 0.08);
}

.equipment-rental-media {
  position: relative;
  display: grid;
  min-height: 100%;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(196, 182, 118, 0.2), transparent 42%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.018) 18px 19px),
    #0b0e09;
}

.equipment-rental-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.equipment-rental-media > span {
  color: rgba(203, 187, 118, 0.58);
  font-size: 64px;
  font-weight: 950;
}

.equipment-rental-badges {
  position: absolute;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: space-between;
}

.equipment-rental-badges b,
.equipment-rental-options b {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 7, 5, 0.82);
  font-size: 12px;
  line-height: 1.2;
}

.equipment-rental-badges b.is-vip {
  border-color: rgba(246, 225, 132, 0.5);
  color: #171409;
  background: linear-gradient(135deg, #f6e184, #b99d44);
}

.equipment-rental-badges b.is-tactical {
  border-color: rgba(190, 203, 121, 0.42);
  background: rgba(102, 119, 50, 0.68);
  color: #f2f7cf;
}

.application-equipment-traits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.55rem 0 0.25rem;
}

.application-equipment-traits span {
  border: 1px solid rgba(190, 203, 121, 0.22);
  border-radius: 999px;
  background: rgba(111, 125, 56, 0.1);
  color: var(--portal-accent-soft, #d9e58f);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.28rem 0.52rem;
}

.equipment-rental-copy {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.equipment-rental-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.equipment-rental-title small {
  color: var(--muted);
}

.equipment-rental-title h3 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.08;
  text-transform: uppercase;
}

.equipment-rental-title > strong {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 24px;
  white-space: nowrap;
}

.equipment-rental-title > strong small {
  color: inherit;
  font-size: 13px;
}

.equipment-rental-copy > p {
  margin: 0;
  color: var(--muted);
}

.equipment-rental-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.equipment-rental-specs > div {
  min-width: 0;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.equipment-rental-specs dt,
.equipment-rental-options > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.equipment-rental-specs dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 850;
}

.equipment-rental-options {
  display: grid;
  gap: 7px;
}

.equipment-rental-options > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.equipment-rental-options b {
  background: rgba(196, 182, 118, 0.08);
}

.equipment-rental-options b.is-empty {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
  opacity: 0.62;
}

.equipment-rental-copy footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 2px;
}

.equipment-rental-copy footer > span {
  color: var(--muted);
  font-size: 13px;
}

.equipment-order-list article {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.equipment-order-list header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.equipment-order-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.equipment-application-step {
  gap: 18px;
}

.application-commerce-hub {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.application-commerce-hub a {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 118px;
  gap: 7px;
  align-content: center;
  overflow: hidden;
  padding: 15px 42px 15px 16px;
  border: 1px solid rgba(203, 187, 118, 0.2);
  border-radius: 17px;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(203, 187, 118, 0.16), transparent 9rem),
    linear-gradient(145deg, rgba(27, 31, 20, 0.84), rgba(7, 9, 7, 0.82));
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.application-commerce-hub a::after {
  position: absolute;
  right: 16px;
  color: var(--gold);
  content: "\2192";
  font-size: 21px;
  font-weight: 900;
}

.application-commerce-hub a:hover,
.application-commerce-hub a:focus-visible {
  border-color: rgba(226, 213, 139, 0.52);
  background:
    radial-gradient(circle at 100% 0%, rgba(203, 187, 118, 0.23), transparent 9rem),
    linear-gradient(145deg, rgba(31, 36, 22, 0.92), rgba(10, 13, 9, 0.9));
  transform: translateY(-2px);
}

.application-commerce-hub a:focus-visible {
  outline: 2px solid rgba(201, 184, 111, 0.62);
  outline-offset: 2px;
}

.application-commerce-hub span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.application-commerce-hub strong {
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.1;
}

.application-commerce-hub small {
  color: var(--muted);
  line-height: 1.35;
}

.application-equipment-groups {
  display: grid;
  gap: 20px;
}

.application-equipment-group {
  min-width: 0;
  scroll-margin-top: 92px;
}

.application-equipment-group + .application-equipment-group {
  padding-top: 20px;
  border-top: 1px solid rgba(203, 187, 118, 0.16);
}

.application-equipment-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.application-equipment-group-head div {
  display: grid;
  gap: 3px;
}

.application-equipment-group-head span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.application-equipment-group-head strong {
  font-size: 18px;
}

.application-equipment-group-head > b {
  display: grid;
  min-width: 35px;
  min-height: 35px;
  padding: 6px;
  place-items: center;
  border: 1px solid rgba(203, 187, 118, 0.24);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(203, 187, 118, 0.08);
}

.application-equipment-grid {
  margin-top: 16px;
}

.application-equipment-card {
  transition: opacity 180ms ease, border-color 180ms ease;
}

.application-equipment-card.is-role-hidden {
  display: none;
}

.application-equipment-copy > strong {
  display: flex;
  gap: 8px;
  align-items: baseline;
  color: var(--accent);
  font-size: 18px;
}

.application-equipment-controls {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.equipment-application-total,
.participation-equipment-summary {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(203, 187, 118, 0.24);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(203, 187, 118, 0.11), rgba(112, 128, 67, 0.08));
}

.equipment-application-total > span,
.participation-equipment-summary span,
.equipment-application-total > small,
.participation-equipment-summary > small {
  color: var(--muted);
}

.equipment-application-total > strong {
  color: var(--accent);
  font-size: 27px;
}

.participation-equipment-summary > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.equipment-order-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.equipment-order-chips span {
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
}

@media (max-width: 980px) {
  .cockpit-summary-grid,
  .cockpit-command-panel,
  .cockpit-sides-grid {
    grid-template-columns: 1fr;
  }

  .cockpit-actions {
    justify-content: flex-start;
  }

  .equipment-product-grid,
  .application-equipment-grid,
  .application-commerce-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .equipment-hero,
  .equipment-how-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding-top: 10px;
  }

  .summary-grid,
  .team-rating-grid,
  .product-grid,
  .achievement-grid,
  .game-card-grid,
  .cards-grid,
  .media-gallery,
  .mission-meta,
  .info-grid,
  .two-columns,
  .device-stats,
  .field-grid,
  .quick-actions-grid,
  .results-grid,
  .versus-panel,
  .result-score,
  .join-decision-grid,
  .form-roadmap,
  .join-next-steps,
  .side-roster-grid,
  .team-call-grid,
  .team-call-overview,
  .team-call-flow,
  .choice-card-grid,
  .ammo-calculation-card,
  .wallet-safety-steps,
  .checkbox-grid > div,
  .checkbox-grid ul {
    grid-template-columns: 1fr;
  }

  .equipment-hero,
  .equipment-how-grid,
  .equipment-product-grid,
  .application-equipment-grid,
  .application-commerce-hub {
    grid-template-columns: 1fr;
  }

  .application-commerce-hub a {
    min-height: 100px;
  }

  .compact-disclosure-summary {
    min-height: 88px;
    padding: 16px;
  }

  .compact-disclosure-summary small {
    display: block;
  }

  .compact-disclosure-action {
    min-width: 42px;
    padding: 8px;
  }

  .compact-disclosure-action > span {
    display: none;
  }

  .compact-disclosure[open] .compact-disclosure-action .when-open {
    display: none;
  }

  .compact-disclosure-body {
    padding: 16px;
  }

  .equipment-hero {
    padding: 22px;
    border-radius: 20px;
  }

  .table-wrap:has(.invitation-table) {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .invitation-table,
  .invitation-table.compact-table {
    display: block;
    min-width: 0;
  }

  .invitation-table thead {
    display: none;
  }

  .invitation-table tbody,
  .invitation-table tr,
  .invitation-table td {
    display: block;
    width: 100%;
  }

  .invitation-table tbody {
    display: grid;
    gap: 12px;
  }

  .invitation-table tr {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(10, 13, 9, 0.76);
  }

  .invitation-table td {
    display: grid;
    grid-template-columns: minmax(82px, 0.35fr) minmax(0, 1fr);
    gap: 12px;
    padding: 10px 12px;
    text-align: left;
  }

  .invitation-table td::before {
    color: var(--gold);
    content: attr(data-label);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .invitation-table td[colspan]::before {
    display: none;
  }

  .invitation-table td[colspan] {
    display: block;
  }

  .invitation-table .inline-form {
    display: inline-flex;
    margin: 0 10px 4px 0;
  }

  .equipment-hero h1 {
    font-size: 44px;
  }

  .command-main,
  .ammo-command-card,
  .quick-actions-panel {
    padding: 18px;
  }

  .dashboard-profile-heading {
    gap: 14px;
  }

  .dashboard-edit-profile {
    width: 100%;
  }

  .dashboard-player-card {
    padding: 18px 14px 16px 28px;
    border-radius: 6px 18px 7px 6px;
  }

  .personnel-file-header {
    gap: 10px;
    padding: 0 24px 11px 0;
  }

  .personnel-file-header strong {
    font-size: 17px;
  }

  .personnel-file-header span,
  .personnel-file-number small {
    font-size: 6px;
  }

  .personnel-file-number {
    padding-left: 9px;
  }

  .personnel-file-number b {
    font-size: 10px;
  }

  .dashboard-player-identity {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0 17px;
  }

  .personnel-file-photo {
    width: 100px;
    padding: 5px 5px 19px;
  }

  .dashboard-avatar-link,
  .dashboard-player-card .dashboard-player-avatar {
    width: 88px;
    height: 108px;
    border-radius: 1px;
  }

  .personnel-file-status-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .personnel-file-status-row > small {
    font-size: 7px;
  }

  .dashboard-player-copy h2 {
    margin-top: 9px;
    font-size: 29px;
  }

  .personnel-file-fields {
    grid-template-columns: 1fr;
    margin-top: 11px;
  }

  .personnel-file-fields > div {
    padding: 6px 0 5px;
  }

  .player-dog-tag {
    min-width: 132px;
    min-height: 50px;
  }

  .dashboard-player-data {
    grid-template-columns: 1fr;
  }

  .dashboard-data-item {
    padding: 12px 8px;
    border-top: 1px solid rgba(196, 182, 118, 0.18);
    border-left: 0;
  }

  .dashboard-data-item:first-child {
    border-top: 0;
  }

  .dashboard-profile-actions {
    display: grid;
  }

  .dashboard-profile-actions .ghost-button {
    width: 100%;
  }

  .dashboard-profile-actions > span {
    max-width: none;
    text-align: left;
  }

  .auth-choice-grid {
    grid-template-columns: 1fr;
  }

  .auth-choice-option {
    min-height: 190px;
  }

  .next-mission-copy,
  .result-copy {
    padding: 18px;
  }

  .quick-action-tile {
    min-height: 94px;
    text-align: left;
  }

  .result-actions {
    grid-template-columns: 1fr;
  }

  .phase-lane,
  .rule-builder-form .field-grid,
  .team-roster-grid,
  .team-entry-panel,
  .game-create-layout,
  .constructor-grid,
  .rule-value-grid,
  .balance-mode-cards,
  .balance-settings-grid {
    grid-template-columns: 1fr;
  }

  .game-create-metrics span {
    width: 100%;
  }

  .form-step-card {
    padding: 15px;
    border-radius: 18px;
  }

  .form-step-head {
    align-items: start;
  }

  .choice-builder-head {
    display: grid;
  }

  .choice-builder-head small {
    max-width: none;
    text-align: left;
  }

  .date-picker-control {
    grid-template-columns: 1fr;
  }

  .rule-builder-form .span-2 {
    grid-column: auto;
  }

  .constructor-step.span-2 {
    grid-column: auto;
  }

  .hero,
  .page-heading,
  .panel,
  .auth-card,
  .content-hero,
  .game-hero-detail {
    border-radius: 18px;
  }

  .hero h1,
  .page-heading h1,
  .auth-card h1,
  .content-hero h1,
  .game-hero-detail h1 {
    font-size: 40px;
  }
}

/* Readability pass: keep the dense tactical layout, but remove 10–12 px body copy. */
body {
  font-size: 17px;
  line-height: 1.5;
}

p,
li,
.muted,
.product-card p,
.equipment-product-copy p,
.application-equipment-copy p,
.equipment-how-grid p,
.not-found-hint span {
  font-size: 16px;
  line-height: 1.58;
}

small,
.data-table,
.data-table small,
.compact-summary-card small,
.summary-card-link small,
.equipment-product-copy small,
.application-equipment-copy small,
.equipment-rental-title small,
.equipment-rental-specs,
.equipment-order-list small,
.price-options small {
  font-size: 14px;
  line-height: 1.45;
}

.section-label,
.device-stats span,
.summary-card span,
.balance-card span,
.status-box span,
.info-grid span,
.product-card > span,
.achievement-card span,
.mission-meta dt,
.equipment-buy-form label span,
.application-equipment-controls label span {
  font-size: 13px;
}

.primary-nav .nav-item,
.solid-button,
.ghost-button,
button,
input,
select,
textarea {
  font-size: 15px;
}

.commerce-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(7, 9, 7, 0.76);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.commerce-switcher > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  min-height: 66px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 15px;
  color: var(--muted);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.commerce-switcher > a:hover,
.commerce-switcher > a:focus-visible,
.commerce-switcher > a.is-active {
  border-color: rgba(196, 182, 118, 0.3);
  color: var(--text);
  background: linear-gradient(135deg, rgba(196, 182, 118, 0.14), rgba(103, 113, 57, 0.09));
  outline: none;
}

.commerce-switcher > a > span:first-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--gold);
  background: rgba(196, 182, 118, 0.08);
  font-size: 17px;
}

.commerce-switcher strong,
.commerce-switcher small {
  display: block;
}

.shop-payment-paused {
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(197, 107, 93, 0.42);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(197, 107, 93, 0.13), rgba(7, 9, 7, 0.82));
}

.shop-payment-paused strong {
  display: block;
  color: #e9b0a6;
  font-size: 18px;
}

.shop-payment-paused p {
  margin: 5px 0 0;
  color: var(--muted);
}

.shop-submit-panel .solid-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.65);
  opacity: 0.48;
}

.telegram-link-status {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(196, 182, 118, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 10%, rgba(127, 161, 199, 0.14), transparent 9rem),
    rgba(7, 9, 7, 0.48);
}

.telegram-link-status.is-linked {
  border-color: rgba(156, 171, 97, 0.44);
  background:
    radial-gradient(circle at 90% 10%, rgba(156, 171, 97, 0.18), transparent 9rem),
    rgba(7, 9, 7, 0.48);
}

.telegram-link-status span,
.telegram-link-status strong,
.telegram-link-status small {
  display: block;
}

.telegram-link-status > div > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.telegram-link-status strong {
  margin-top: 4px;
  color: var(--text);
  font-size: 19px;
}

.telegram-link-status small {
  max-width: 680px;
  margin-top: 5px;
  color: var(--muted);
}

.telegram-link-widget {
  min-width: 210px;
  text-align: right;
}

.telegram-linked-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(156, 171, 97, 0.48);
  border-radius: 16px;
  color: #dbe7ab;
  background: rgba(156, 171, 97, 0.16);
  font-size: 24px;
  font-weight: 950;
}

.commerce-switcher strong {
  color: inherit;
  font-size: 16px;
}

.commerce-switcher small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.ammo-product-card {
  overflow: hidden;
  padding: 0;
}

.ammo-product-media {
  position: relative;
  display: grid;
  min-height: 180px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(196, 182, 118, 0.21), transparent 40%),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.018) 18px 19px),
    #0b0e09;
}

.ammo-product-media img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ammo-product-media > b {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(203, 187, 118, 0.24);
  border-radius: 999px;
  color: var(--text);
  background: rgba(5, 7, 5, 0.8);
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.ammo-product-fallback {
  color: rgba(203, 187, 118, 0.62);
  font-size: 54px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.ammo-product-copy {
  display: grid;
  align-content: start;
  height: 100%;
  padding: 18px;
}

.ammo-product-copy h3 {
  margin: 0 0 10px;
}

.ammo-product-copy p {
  margin: 0 0 14px;
}

.ammo-product-copy .price-options {
  margin-top: 10px;
}

.ammo-product-copy .product-pick-button {
  align-self: end;
  margin-top: 16px;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  p,
  li,
  .muted,
  .product-card p,
  .equipment-product-copy p,
  .application-equipment-copy p,
  .equipment-how-grid p {
    font-size: 16px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .commerce-switcher {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .commerce-switcher > a {
    min-height: 58px;
  }

  .equipment-rental-card {
    grid-template-columns: 1fr;
  }

  .equipment-rental-media,
  .equipment-rental-media img {
    min-height: 210px;
    max-height: 260px;
  }

  .equipment-rental-title,
  .equipment-rental-copy footer {
    align-items: stretch;
    flex-direction: column;
  }

  .equipment-rental-title > strong {
    font-size: 22px;
  }

  .equipment-rental-copy footer .ghost-button {
    width: 100%;
  }

  .telegram-link-status {
    grid-template-columns: 1fr;
  }

  .telegram-link-widget {
    min-width: 0;
    text-align: left;
  }

  .site-legal-footer {
    grid-template-columns: 1fr;
    margin-bottom: 22px;
    padding: 20px;
  }

  .site-legal-footer nav {
    grid-template-columns: 1fr;
  }
}

.device-stats {
    display: none;
}
