@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Cinzel;
  src: url('/fonts/cinzel.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
:root {
  --bg: #0e1518;
  --panel: #141e21;
  --line: #293335;
  --text: #eceee8;
  --muted: #8b9999;
  --faint: #566769;
  --gold: #d5b780;
  --gold-light: #edcf97;
  --mint: #89d4ba;
  --red: #e19189;
  --heading: Cinzel, Georgia, serif;
  --body: Manrope, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 13px var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 75% 80%, #23382c13, transparent 60%);
  z-index: -1;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline: none;
}
button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:not(:disabled),
a {
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
.hidden {
  display: none !important;
}
.icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  flex-shrink: 0;
  display: inline-block;
}
span[data-icon] {
  display: inline-flex;
}
.muted {
  color: var(--muted);
}
.gold {
  color: var(--gold);
}
.mint {
  color: var(--mint);
}
.uppercase {
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 700;
}
.status-dot,
.connection i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px #89d4ba33;
  display: inline-block;
  flex-shrink: 0;
}
.connection.offline i {
  background: var(--red);
}
.sidebar {
  width: 88px;
  position: fixed;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--line);
  background: #10191b;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 20;
}
.brand-mark {
  width: 42px;
  height: 48px;
  color: var(--gold);
  margin: 25px 0 43px;
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand-mark:hover {
  color: var(--gold-light);
  filter: drop-shadow(0 0 8px #d5b78055);
}
.nav-stack {
  width: 100%;
  display: grid;
  gap: 16px;
}
.nav-button {
  width: 64px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #82918f;
  position: relative;
  margin: auto;
  border: 1px solid transparent;
  border-radius: 5px;
}
.nav-button .icon {
  width: 23px;
  height: 23px;
}
.nav-button small {
  font-size: 8px;
  letter-spacing: 1.1px;
  font-weight: 700;
}
.nav-button:hover {
  color: var(--gold);
  background: #27342e70;
}
.nav-button.active {
  color: var(--gold);
  background: linear-gradient(135deg, #343a2c90, #23302a50);
  border-color: #6d64402b;
}
.nav-button.active::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 15px;
  bottom: 15px;
  width: 2px;
  background: var(--gold);
  box-shadow: 0 0 10px #d5b78044;
}
.sidebar-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding-bottom: 23px;
  gap: 9px;
}
.sidebar-bottom .nav-button {
  height: 45px;
}
.side-divider {
  width: 25px;
  height: 1px;
  background: var(--line);
}
.version {
  font-size: 9px;
  color: var(--faint);
  letter-spacing: 2px;
  margin-top: 6px;
}
.workspace {
  margin-left: 88px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 82px;
  flex-shrink: 0;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 27px;
  background: #0f171aba;
}
.wordmark {
  font: 600 20px var(--heading);
  letter-spacing: 2px;
  color: #f0e8d4;
}
.wordmark span {
  color: var(--gold);
}
.topbar-divider {
  width: 1px;
  height: 22px;
  background: var(--line);
}
#page-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #9eaaa7;
  font-weight: 700;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #b2c1bb;
  font-size: 10px;
  white-space: nowrap;
}
.connection em {
  font-style: normal;
  margin-left: 7px;
  color: var(--faint);
  font-size: 10px;
}
.icon-button {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: #879693;
  border-radius: 4px;
}
.icon-button:hover {
  background: #293935;
  color: var(--gold);
}
.icon-button .icon {
  width: 19px;
  height: 19px;
}
.profile-button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 0;
}
.profile-avatar {
  width: 35px;
  height: 35px;
  border: 1px solid #51645b;
  background: linear-gradient(135deg, #31453b, #202b28);
  display: grid;
  place-items: center;
  font: 500 18px var(--heading);
  color: #b4cbbb;
  position: relative;
}
.profile-avatar::after {
  content: '';
  position: absolute;
  right: -3px;
  bottom: -3px;
  width: 7px;
  height: 7px;
  background: var(--mint);
  border: 2px solid var(--bg);
  border-radius: 50%;
}
.profile-button strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
}
.profile-button small {
  display: block;
  margin-top: 3px;
  font-size: 7px;
  letter-spacing: 1.3px;
  color: var(--faint);
}
.profile-button > .icon {
  width: 13px;
  margin-left: 5px;
  color: var(--faint);
}
#main-content {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 32px 38px 25px;
  flex: 1;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
  gap: 16px;
}
.page-heading h1 {
  font: 500 29px var(--heading);
  letter-spacing: -0.7px;
  color: #ece9de;
}
.page-heading p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 8px;
  letter-spacing: 0.2px;
}
.build-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #554e354f;
  border-radius: 3px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.8px;
  padding: 8px 10px;
}
.build-badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
}
.home-main {
  min-width: 0;
}
.hero-banner {
  height: 335px;
  border: 1px solid #505e514f;
  border-radius: 7px;
  position: relative;
  overflow: hidden;
  background: #1f2d2e;
}
.banner-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 45%;
  filter: saturate(0.8) brightness(0.8);
  transition: transform 7s ease;
}
.hero-banner:hover .banner-art {
  transform: scale(1.035);
}
.banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0a1519f5 0%, #101d21c4 33%, #10201b1c 70%),
    linear-gradient(0deg, #0b151caf, transparent 45%);
}
.banner-content {
  position: relative;
  z-index: 1;
  padding: 32px 34px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.eyebrow {
  color: #b0cdbd;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.6px;
}
.eyebrow::before {
  content: '';
  width: 19px;
  height: 1px;
  background: var(--gold);
}
.banner-content h2 {
  font: 500 44px/1.13 var(--heading);
  letter-spacing: -1.4px;
  margin: 19px 0 14px;
  color: #f2eddf;
  text-shadow: 0 3px 16px #00110c33;
}
.banner-content h2 em {
  font-style: normal;
  color: #e5c690;
}
.banner-content p {
  font-size: 11px;
  line-height: 1.9;
  color: #acbcb7;
}
.banner-action {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: auto;
}
.primary-button {
  background: linear-gradient(115deg, #e5ca91, #c9aa70);
  color: #232d26;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 22px;
  min-height: 46px;
  border: 1px solid #ead5a650;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px #0002;
}
.primary-button .icon {
  width: 17px;
  height: 17px;
}
.primary-button:hover:not(:disabled) {
  background: linear-gradient(115deg, #f2dcaa, #ddbd82);
  box-shadow: 0 4px 24px #d5b78020;
  transform: translateY(-1px);
}
.primary-button.wide {
  width: 100%;
}
.banner-action .primary-button {
  min-width: 157px;
}
.instant-label {
  font-size: 7px;
  letter-spacing: 1px;
  font-weight: 600;
  color: #bac6bb;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.instant-label span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  letter-spacing: 0.3px;
  color: var(--gold);
}
.instant-label .icon {
  width: 11px;
  height: 11px;
}
.map-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 1.4px;
  padding: 7px 9px;
  border: 1px solid #bec9af3b;
  border-radius: 3px;
  background: #111f2180;
  color: #d1dbd1;
  display: flex;
  gap: 6px;
  align-items: center;
}
.map-badge .icon {
  width: 11px;
  height: 11px;
}
.explore-map {
  position: absolute;
  right: 17px;
  bottom: 19px;
  color: #d6d8c9;
  letter-spacing: 1.2px;
  font-size: 7px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 7px;
}
.explore-map .icon {
  width: 11px;
  height: 11px;
}
.explore-map:hover {
  color: var(--gold-light);
}
.roster-section {
  margin-top: 25px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.section-title h3 {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 700;
  color: #d0d8d1;
}
.section-title > span {
  font-size: 9px;
  color: var(--faint);
}
.section-title button {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.section-title button .icon {
  width: 12px;
  height: 12px;
}
.hero-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.hero-card {
  position: relative;
  border: 1px solid #39443e;
  border-radius: 4px;
  overflow: hidden;
  height: 163px;
  padding: 0;
  text-align: left;
  background: #182522;
}
.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 25px #0004;
  pointer-events: none;
}
.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: saturate(0.6) brightness(0.78);
  transition:
    filter 0.3s,
    transform 0.45s;
}
.hero-card:hover img {
  filter: saturate(0.9) brightness(0.95);
  transform: scale(1.05);
}
.hero-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px #d5b78022;
}
.hero-card.selected img {
  filter: saturate(0.85) brightness(0.92);
}
.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #10191afb 0%, #10191acc 20%, transparent 65%);
}
.hero-card-content {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 9px;
  z-index: 1;
}
.hero-card.taken {
  opacity: 0.45;
  cursor: not-allowed;
}
.hero-card.taken img {
  filter: grayscale(0.7);
}
.taken-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  border-radius: 3px;
  background: #101a17ee;
  border: 1px solid #4a5550;
  color: #c9d2c7;
}
.lobby-pick {
  margin: 18px 0 4px;
}
.lobby-pick .hero-cards {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.hero-card-content strong {
  display: block;
  font: 500 14px var(--heading);
  letter-spacing: 0.5px;
  color: #e1e6dc;
}
.hero-card-content small {
  font-size: 8px;
  color: #98aaa1;
  display: block;
  margin-top: 4px;
}
.hero-card-content small .icon {
  width: 10px;
  height: 10px;
  margin-right: 3px;
  color: var(--hero-color);
}
.hero-card.selected .hero-card.taken {
  opacity: 0.45;
  cursor: not-allowed;
}
.hero-card.taken img {
  filter: grayscale(0.7);
}
.taken-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  border-radius: 3px;
  background: #101a17ee;
  border: 1px solid #4a5550;
  color: #c9d2c7;
}
.lobby-pick {
  margin: 18px 0 4px;
}
.lobby-pick .hero-cards {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.hero-card-content strong {
  color: var(--gold-light);
}
.selected-check {
  position: absolute;
  right: 7px;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a2a22;
  display: grid;
  place-items: center;
  z-index: 2;
  box-shadow: 0 2px 8px #0005;
}
.selected-check .icon {
  width: 11px;
  height: 11px;
}
.role-indicator {
  position: absolute;
  top: 9px;
  left: 10px;
  color: #e8e6d88c;
  z-index: 2;
}
.role-indicator .icon {
  width: 14px;
  height: 14px;
}
.party-actions {
  margin-top: 23px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.party-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: linear-gradient(110deg, #19252380, #141f2166);
  padding: 19px 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  text-align: left;
}
.party-card:hover {
  border-color: #71836c88;
  background: #213027;
}
.party-card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #42504766;
  border-radius: 4px;
  background: #29393144;
  color: #a5bca9;
}
.party-card-icon .icon {
  width: 19px;
  height: 19px;
}
.party-card strong {
  font-size: 11px;
  font-weight: 650;
  display: block;
  color: #dfe5dd;
}
.party-card small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 6px;
}
.party-card > .icon {
  width: 14px;
  height: 14px;
  color: #788b80;
  margin-left: auto;
}
.briefing {
  background: linear-gradient(150deg, #192426d9, #131c1fcc);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.briefing-heading {
  padding: 19px 21px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #becac3;
}
.briefing-heading .icon {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.briefing-map {
  margin: 0 18px;
  position: relative;
  border: 1px solid #4353456b;
  border-radius: 3px;
  height: 191px;
  background: radial-gradient(ellipse, #263b31, #142422);
  overflow: hidden;
  cursor: pointer;
}
.briefing-map svg {
  width: 100%;
  height: 100%;
}
.briefing-map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #172420cc, transparent 60%);
  pointer-events: none;
}
.map-caption {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 1;
}
.map-caption strong {
  font: 500 17px var(--heading);
  letter-spacing: 0.3px;
}
.map-caption span {
  display: block;
  font-size: 8px;
  color: #a3b4a6;
  letter-spacing: 0.6px;
  margin-top: 4px;
}
.map-expand {
  position: absolute;
  right: 12px;
  bottom: 14px;
  color: var(--gold);
  z-index: 2;
}
.map-expand .icon {
  width: 13px;
  height: 13px;
}
.map-compass {
  position: absolute;
  right: 11px;
  top: 10px;
  color: #95aa9380;
  z-index: 2;
  font: 10px var(--heading);
}
.briefing-meta {
  display: flex;
  justify-content: space-around;
  padding: 17px 9px;
  border-bottom: 1px solid var(--line);
  margin: 0 18px;
}
.briefing-meta div {
  text-align: center;
  flex: 1;
  border-right: 1px solid var(--line);
}
.briefing-meta div:last-child {
  border: 0;
}
.briefing-meta strong {
  display: block;
  font-size: 11px;
  font-weight: 650;
  color: #d4ded1;
}
.briefing-meta small {
  display: block;
  font-size: 7px;
  letter-spacing: 1px;
  color: var(--faint);
  margin-top: 6px;
}
.selected-hero-summary {
  padding: 19px 20px 0;
}
.selected-label {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--faint);
  margin-bottom: 13px;
}
.hero-summary-row {
  display: flex;
  gap: 13px;
  align-items: center;
}
.hero-summary-row > img {
  width: 53px;
  height: 57px;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid #8b7756;
  border-radius: 3px;
}
.hero-summary-row h3 {
  font: 500 18px var(--heading);
  color: #e4dcc8;
}
.hero-summary-row p {
  font-size: 9px;
  color: var(--hero-color);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-summary-row p .icon {
  width: 12px;
  height: 12px;
}
.hero-summary-row > button {
  margin-left: auto;
  color: #8e9b8d;
}
.hero-summary-row > button .icon {
  width: 14px;
  height: 14px;
}
.hero-summary-quote {
  font-size: 10px;
  font-style: italic;
  line-height: 1.8;
  color: #a3afa6;
  margin: 13px 0 12px;
}
.mini-abilities {
  display: flex;
  gap: 8px;
}
.mini-ability {
  width: 34px;
  height: 32px;
  background: #26312b70;
  border: 1px solid #665b3c75;
  border-radius: 3px;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.mini-ability .icon {
  width: 18px;
  height: 18px;
}
.mini-abilities > span {
  font-size: 8px;
  color: #7f9187;
  align-self: center;
  margin-left: auto;
  line-height: 1.7;
  text-align: right;
}
.bot-assurance {
  margin: 19px 20px 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.bot-assurance > .icon {
  width: 19px;
  height: 19px;
  color: #88a592;
  margin-top: 2px;
}
.bot-assurance strong {
  font-size: 10px;
  font-weight: 600;
  color: #c0d2c0;
}
.bot-assurance p {
  font-size: 9px;
  line-height: 1.85;
  color: #87968d;
  margin-top: 5px;
}
.briefing-guide {
  margin: 16px 20px 18px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: var(--gold);
}
.briefing-guide > .icon:first-child {
  width: 15px;
  height: 15px;
}
.briefing-guide > .icon:last-child {
  width: 13px;
  height: 13px;
  margin-left: auto;
}
.briefing-guide:hover {
  color: var(--gold-light);
}
.shell-footer {
  margin: 0 38px;
  padding: 18px 0;
  border-top: 1px solid #2933358c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  color: #61726c;
  font-size: 8px;
  letter-spacing: 0.5px;
}
.shell-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #85968a;
  font-size: 9px;
  letter-spacing: 0.1px;
}
.shell-footer .status-dot {
  width: 4px;
  height: 4px;
  background: #7f9c7f;
  box-shadow: none;
}
.footer-dot {
  margin: 0 10px;
  color: #5c6b60;
}
.shell-footer button {
  display: flex;
  gap: 6px;
  font-size: 8px;
  color: #76867e;
}
.shell-footer button .icon {
  width: 11px;
  height: 11px;
}
/* Rooms, roster and field guide */
.secondary-button {
  border: 1px solid #465448;
  background: #1e2c2670;
  border-radius: 3px;
  padding: 12px 17px;
  font-size: 10px;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  color: #c6d4c6;
}
.secondary-button:hover {
  background: #304332;
  border-color: #8a9b7c;
}
.secondary-button .icon {
  width: 15px;
  height: 15px;
}
.text-button {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  padding: 8px 0;
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.lobby-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 5px;
  padding: 22px 25px;
  margin-bottom: 25px;
}
.room-code-block {
  display: flex;
  gap: 18px;
  align-items: center;
}
.room-code-block > span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.5px;
}
.room-code {
  font: 600 25px var(--heading);
  letter-spacing: 5px;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 15px;
}
.room-code .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.lobby-info p {
  font-size: 10px;
  line-height: 1.9;
  color: var(--muted);
}
.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.team-panel {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #141f21;
  overflow: hidden;
}
.team-title {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 22px 23px;
  background: linear-gradient(90deg, #5ca58c12, transparent);
}
.team-title > .icon {
  color: var(--team-color);
  width: 26px;
  height: 26px;
}
.team-title h2 {
  font: 500 20px var(--heading);
  color: var(--team-color);
}
.team-title p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.team-title > span {
  margin-left: auto;
  font-size: 9px;
  color: var(--faint);
}
.lobby-slot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 17px;
  padding: 12px 7px;
  border-top: 1px solid var(--line);
  min-height: 84px;
}
.lobby-slot.own {
  background: linear-gradient(90deg, #9ecaaf0e, transparent);
}
.lobby-slot > img {
  width: 47px;
  height: 56px;
  border: 1px solid #3f5045;
  border-radius: 3px;
  object-fit: cover;
  object-position: 50% 20%;
}
.slot-info {
  flex: 1;
  min-width: 0;
}
.slot-info h3 {
  font: 500 14px var(--heading);
  color: #d1d9cd;
}
.slot-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.slot-name {
  overflow-wrap: anywhere;
}
.slot-badge {
  flex: none;
  font: 600 8px var(--body);
  color: var(--gold);
  border: 1px solid #86734466;
  border-radius: 3px;
  padding: 2px 5px;
}
.slot-info p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.slot-info p b {
  font-weight: 500;
  color: var(--gold);
  margin-left: 8px;
  font-size: 8px;
}
.slot-label {
  font-size: 8px;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #6d837a;
  background: #22332c6e;
  border: 1px solid #3b534341;
  padding: 5px 7px;
  border-radius: 3px;
}
.slot-label.player {
  color: var(--mint);
  border-color: #89d4ba33;
}
.slot-label .icon {
  width: 11px;
  height: 11px;
}
.lobby-slot .pick-slot {
  font-size: 8px;
  color: var(--gold);
  border: 1px solid #5f593e;
  padding: 6px 8px;
  border-radius: 3px;
}
.lobby-slot .pick-slot:hover {
  background: #54482c;
}
.lobby-slot .move-player {
  color: #95a999;
  padding: 5px;
}
.move-player .icon {
  width: 15px;
  height: 15px;
}
.difficulty-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.difficulty-option {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
  padding: 9px 12px;
  border: 1px solid #39443e;
  border-radius: 4px;
  background: #141d1a;
  color: #cfd8d2;
  cursor: pointer;
}
.difficulty-option strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}
.difficulty-option small {
  font-size: 11px;
  color: #8b978f;
}
.difficulty-option:hover {
  border-color: #5a675f;
}
.difficulty-option.selected {
  border-color: #d8b676;
  background: #1d2117;
  color: #f0e6c8;
}
.difficulty-option.selected small {
  color: #b3a67e;
}
.solo-difficulty {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #2c3531;
  border-radius: 4px;
  background: #101715;
}
.solo-difficulty-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #8b978f;
  margin-bottom: 8px;
}
.lobby-difficulty-top {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lobby-difficulty-top > span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #8b978f;
  white-space: nowrap;
}
.lobby-difficulty-top .difficulty-picker {
  min-width: 300px;
}
.difficulty-picker.compact .difficulty-option {
  padding: 6px 10px;
}
.difficulty-picker.compact .difficulty-option small {
  display: none;
}
.difficulty-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 3px;
  border: 1px solid #4a5550;
  color: #c9d2c7;
}
.difficulty-badge .icon {
  width: 13px;
  height: 13px;
}
.lobby-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
  padding: 20px 25px;
  border: 1px solid #40524377;
  background: #1f31252e;
  border-radius: 5px;
}
.lobby-start h3 {
  font-size: 12px;
  color: #cfdcce;
}
.lobby-start p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
}
.lobby-start .primary-button {
  min-width: 225px;
}
.roster-page .hero-cards {
  gap: 18px;
}
.roster-page .hero-card {
  height: 280px;
}
.roster-page .hero-card-content {
  bottom: 20px;
  left: 20px;
}
.roster-page .hero-card.taken {
  opacity: 0.45;
  cursor: not-allowed;
}
.hero-card.taken img {
  filter: grayscale(0.7);
}
.taken-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 7px;
  border-radius: 3px;
  background: #101a17ee;
  border: 1px solid #4a5550;
  color: #c9d2c7;
}
.lobby-pick {
  margin: 18px 0 4px;
}
.lobby-pick .hero-cards {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.hero-card-content strong {
  font-size: 21px;
}
.roster-page .hero-card-content small {
  font-size: 10px;
}
.hero-detail {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 27px;
  margin-top: 25px;
  background: var(--panel);
}
.hero-detail h2 {
  font: 500 25px var(--heading);
  color: var(--gold-light);
}
.hero-detail .hero-tagline {
  font-size: 11px;
  color: var(--hero-color);
  margin: 8px 0 14px;
}
.hero-detail p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.hero-detail .primary-button {
  margin-top: 18px;
}
.ability-explainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ability-explainer {
  padding: 17px 16px;
  background: #101a1d;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.ability-explainer .ability-symbol {
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.ability-symbol > .icon {
  width: 28px;
  height: 28px;
}
.ability-symbol kbd {
  margin-left: auto;
}
.ability-explainer h3 {
  font-size: 11px;
  color: #d8e0d4;
  margin-bottom: 9px;
}
.ability-explainer p {
  font-size: 10px;
  line-height: 1.8;
}
.ability-cost {
  font-size: 8px;
  margin-top: 13px;
  color: #719eb3;
  line-height: 1.7;
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.guide-map {
  background: #172822;
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
  min-height: 450px;
}
.guide-map svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: contain;
}
.guide-map .map-caption {
  bottom: 25px;
  left: 25px;
}
.guide-content {
  padding: 10px 0;
}
.guide-content h2 {
  font: 500 24px var(--heading);
  color: var(--gold-light);
  margin-bottom: 14px;
}
.guide-content > p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.control-row {
  display: flex;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.control-row > .icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
}
.control-row h3 {
  font-size: 11px;
  color: #ccd9cd;
}
.control-row p {
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 4px;
}
.control-keys {
  min-width: 66px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
}
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 23px;
  padding: 0 6px;
  background: #25312e;
  color: #b7c4b5;
  border: 1px solid #495442;
  border-bottom-width: 2px;
  border-radius: 3px;
  font: 10px var(--body);
}
.guide-bottom {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rule-card {
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel);
  padding: 22px;
}
.rule-card > .icon {
  color: var(--gold);
  margin-bottom: 14px;
}
.rule-card h3 {
  font-size: 12px;
  margin-bottom: 9px;
}
.rule-card p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.9;
}
/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #050c10c7;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  animation: fade-in 0.2s;
}
.modal {
  position: relative;
  width: 480px;
  max-width: 100%;
  border: 1px solid #4c594c;
  border-radius: 8px;
  box-shadow: 0 30px 100px #0008;
  background: linear-gradient(130deg, #1b292a, #121d21);
  padding: 34px;
}
.modal.wide {
  width: 810px;
}
.modal.extra-wide {
  width: 1010px;
}
.modal-close {
  position: absolute;
  right: 14px;
  top: 13px;
  z-index: 3;
}
.modal-icon {
  width: 47px;
  height: 47px;
  border: 1px solid #86734466;
  color: var(--gold);
  background: #4b41202c;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  border-radius: 5px;
}
.modal h2 {
  font: 500 26px var(--heading);
  color: #eee4cc;
  margin-bottom: 12px;
  line-height: 1.4;
}
.modal .modal-subtitle {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 23px;
}
.modal label {
  display: block;
  font-size: 9px;
  color: #b4c4b5;
  letter-spacing: 1px;
  font-weight: 600;
  margin: 18px 0 9px;
}
.modal input[type='text'] {
  width: 100%;
  background: #0e181c;
  border: 1px solid #3e5048;
  border-radius: 4px;
  color: #e1e9dd;
  padding: 13px 14px;
  font-size: 13px;
}
.modal input.room-input {
  font: 500 29px var(--heading);
  text-align: center;
  letter-spacing: 9px;
  padding: 18px 10px;
  text-transform: uppercase;
}
.modal input::placeholder {
  color: #49594f;
}
.modal .wide-button {
  width: 100%;
  margin-top: 22px;
}
.modal-footnote {
  font-size: 9px;
  color: var(--faint);
  text-align: center;
  margin-top: 16px;
  line-height: 1.8;
}
.modal .field-error {
  font-size: 10px;
  color: var(--red);
  margin-top: 12px;
  min-height: 15px;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #c3d1c1;
}
.setting-row input[type='range'] {
  accent-color: var(--gold);
  width: 150px;
}
.setting-row input[type='checkbox'] {
  accent-color: var(--mint);
  width: 16px;
  height: 16px;
}
.setting-row p {
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 5px;
}
.about-list {
  padding: 0;
  list-style: none;
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
}
.about-list li {
  margin: 10px 0;
  padding-left: 17px;
  position: relative;
}
.about-list li::before {
  content: '◇';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.modal-action-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.modal-action-row > * {
  flex: 1;
}
.tutorial-heading {
  text-align: center;
  padding: 12px 0 4px;
}
.tutorial-heading .uppercase {
  color: var(--gold);
  margin-bottom: 13px;
}
.tutorial-heading h2 {
  font-size: 30px;
}
.tutorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 26px 0;
}
.tutorial-step {
  background: #122021;
  border: 1px solid #37483f;
  border-radius: 4px;
  padding: 24px 18px;
  text-align: center;
}
.tutorial-step > .icon {
  width: 36px;
  height: 36px;
  color: var(--gold);
  margin-bottom: 18px;
}
.tutorial-step h3 {
  font: 500 15px var(--heading);
  margin-bottom: 9px;
  color: #dfe6d7;
}
.tutorial-step p {
  font-size: 10px;
  line-height: 1.9;
  color: #99ada0;
}
.tutorial-step .control-keys {
  justify-content: center;
  margin-top: 16px;
}
.tutorial-bottom {
  text-align: center;
}
.tutorial-bottom .primary-button {
  min-width: 220px;
}
.tutorial-bottom > p {
  font-size: 9px;
  color: var(--faint);
  margin: 13px 0 0;
}
.tutorial-check {
  display: flex !important;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 9px !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
}
.tutorial-check input {
  accent-color: var(--gold);
}
#toast-stack {
  position: fixed;
  right: 24px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 9px;
  pointer-events: none;
  max-width: 400px;
}
.toast {
  background: #1d302bef;
  border: 1px solid #567456;
  border-radius: 5px;
  color: #d2e2cc;
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  box-shadow: 0 5px 30px #0004;
  animation: toast-in 0.3s;
  line-height: 1.7;
}
.toast.error {
  background: #352626ef;
  border-color: #7d514c;
  color: #f0c4b8;
}
.toast .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.spinner {
  width: 19px;
  height: 19px;
  border: 2px solid #6f724866;
  border-top-color: var(--gold);
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* In-game interface */
body.in-game {
  overflow: hidden;
}
#game-screen {
  position: fixed;
  inset: 0;
  background: #13221c;
  isolation: isolate;
}
#battlefield {
  width: 100%;
  height: 100%;
  display: block;
  cursor: default;
  outline: none;
}
.game-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 160px 35px #0005;
  background: linear-gradient(180deg, #020e1550, transparent 13%, transparent 70%, #02101780);
  z-index: 1;
}
.game-top-left,
.game-top-right {
  position: absolute;
  top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 4;
}
.game-top-left {
  left: 22px;
}
.game-top-right {
  right: 20px;
  gap: 12px;
}
.game-brand {
  width: 39px;
  height: 43px;
  color: var(--gold);
  background: #0d1b20ce;
  border: 1px solid #536044;
}
.game-brand .icon {
  width: 27px;
  height: 27px;
}
.game-map-title {
  font: 500 12px var(--heading);
  letter-spacing: 2px;
  text-shadow: 0 1px 5px #000;
}
.game-map-title small {
  display: block;
  font: 7px var(--body);
  color: #94aa96;
  letter-spacing: 1px;
  margin-top: 5px;
}
.game-top-right .connection {
  font-size: 9px;
  text-shadow: 0 2px 8px #000;
  background: #10211dcc;
  border: 1px solid #38544375;
  padding: 7px 9px;
  border-radius: 3px;
}
.game-top-right .icon-button {
  background: #10201da1;
}
.match-score-box {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  background: linear-gradient(180deg, #101d22fc, #0c1c21ee);
  border: 1px solid #62705488;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px 10px;
  gap: 22px;
  box-shadow: 0 4px 20px #0004;
}
.score-team {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 500 23px var(--heading);
}
.score-team > span {
  font: 8px var(--body);
  letter-spacing: 1.2px;
  color: #89b9a5;
}
.score-team.dusk > span {
  color: #c68f88;
}
.score-team.dawn {
  color: var(--mint);
}
.score-team.dusk {
  color: var(--red);
}
.match-time {
  text-align: center;
  border-left: 1px solid #53604b55;
  border-right: 1px solid #53604b55;
  padding: 0 18px;
  min-width: 77px;
}
.match-time strong {
  font: 500 16px var(--body);
  font-variant-numeric: tabular-nums;
  color: #ece2c7;
}
.match-time small {
  display: block;
  font-size: 6px;
  letter-spacing: 1.1px;
  color: #809988;
  margin-top: 5px;
}
.team-roster-inner {
  position: absolute;
  left: 22px;
  top: 88px;
  z-index: 3;
  display: flex;
  gap: 7px;
}
.ally-roster-portrait {
  position: relative;
  width: 37px;
  height: 47px;
  border: 1px solid #456253;
  border-radius: 3px;
  background: #132622;
}
.ally-roster-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  opacity: 0.85;
}
.ally-roster-portrait.dead img {
  filter: grayscale(1);
  opacity: 0.35;
}
.ally-roster-portrait.dead span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #efd9b9;
  font-size: 13px;
}
.ally-roster-portrait.own {
  border-color: var(--gold);
}
.ally-roster-portrait b {
  position: absolute;
  right: -3px;
  bottom: 3px;
  background: #192b27;
  border: 1px solid #657757;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  font-size: 7px;
  display: grid;
  place-items: center;
  color: #d0debf;
  font-weight: 500;
}
.ally-roster-hp {
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1b1c1c;
}
.ally-roster-hp i {
  display: block;
  height: 100%;
  background: #8aca9c;
}
.roster-label {
  position: absolute;
  top: 56px;
  font-size: 6px;
  letter-spacing: 1.2px;
  color: #9bad94;
  white-space: nowrap;
}
#objective-banner,
#kill-banner {
  position: absolute;
  top: 86px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  text-align: center;
  max-width: 500px;
}
#kill-banner {
  top: 168px;
}
.kill-notice {
  padding: 9px 26px;
  font: 500 17px var(--heading);
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-shadow: 0 2px 5px #000;
  animation: banner-pop 0.35s ease-out;
}
.kill-notice small {
  font: 9px var(--body);
  letter-spacing: 0.3em;
  display: block;
  opacity: 0.85;
}
.kill-notice.gold {
  color: #f2d488;
  background: linear-gradient(90deg, transparent, #2b2113ee 15%, #2b2113ee 85%, transparent);
}
.kill-notice.red {
  color: #f0a49a;
  background: linear-gradient(90deg, transparent, #331612ee 15%, #331612ee 85%, transparent);
}
.kill-notice.gray {
  color: #b9c4c9;
  background: linear-gradient(90deg, transparent, #1b2226ee 15%, #1b2226ee 85%, transparent);
}
@keyframes banner-pop {
  from {
    transform: scale(1.25);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.objective-notice {
  padding: 11px 24px;
  background: linear-gradient(90deg, transparent, #16271de8 15%, #16271de8 85%, transparent);
  color: #e4cb92;
  font: 500 15px var(--heading);
  line-height: 1.6;
  text-shadow: 0 2px 4px #000;
  animation: fade-in 0.5s;
}
.objective-notice small {
  font: 8px var(--body);
  display: block;
  color: #aabf9c;
  margin-top: 4px;
  letter-spacing: 1px;
}
.siege-notice {
  border: 1px solid #a68c3e88;
  padding: 7px 12px;
  background: #504b2499;
  border-radius: 4px;
  font-size: 9px;
  color: #f0d892;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.siege-notice .icon {
  width: 13px;
  height: 13px;
}
#match-feed {
  position: absolute;
  right: 23px;
  top: 84px;
  z-index: 3;
  width: 235px;
  pointer-events: none;
}
.feed-entry {
  font-size: 9px;
  line-height: 1.6;
  background: linear-gradient(90deg, transparent, #132620cc);
  text-align: right;
  color: #c5d1ba;
  padding: 7px 11px;
  border-right: 2px solid var(--gold);
  margin-bottom: 5px;
  animation: fade-in 0.3s;
}
.feed-entry span {
  color: var(--gold);
}
#respawn-banner {
  position: absolute;
  z-index: 4;
  top: 29%;
  left: 50%;
  transform: translateX(-50%);
  background: #111c21e8;
  border: 1px solid #886e5566;
  border-radius: 6px;
  padding: 23px 35px;
  text-align: center;
  min-width: 250px;
}
#respawn-banner h3 {
  font: 500 18px var(--heading);
  color: #dbc8ae;
}
#respawn-banner strong {
  font: 500 34px var(--body);
  color: var(--gold);
  display: block;
  margin: 10px 0;
}
#respawn-banner small {
  font-size: 9px;
  color: var(--muted);
}
.minimap-panel {
  position: absolute;
  bottom: 18px;
  left: 18px;
  width: 224px;
  border: 1px solid #75805b8c;
  background: #11221eec;
  z-index: 5;
  border-radius: 4px;
  box-shadow: 0 5px 25px #0006;
  overflow: hidden;
}
.minimap-heading {
  height: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 11px;
  border-bottom: 1px solid #4a624255;
  color: #becbb0;
  font-size: 7px;
  letter-spacing: 1.5px;
}
.minimap-heading .icon {
  width: 13px;
  height: 13px;
  color: var(--gold);
}
#minimap {
  width: 220px;
  height: 220px;
  display: block;
  cursor: crosshair;
}
.minimap-footer {
  font-size: 6px;
  letter-spacing: 0.6px;
  color: #849c83;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  border-top: 1px solid #4a624255;
}
.minimap-footer .status-dot {
  width: 4px;
  height: 4px;
}
.minimap-footer button {
  margin-left: auto;
  color: #9aad8e;
  font-size: 6px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.minimap-footer .icon {
  width: 10px;
  height: 10px;
}
#hero-hud {
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  width: 615px;
}
.hud-main {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: linear-gradient(130deg, #182724f5, #10201ff5);
  border: 1px solid #6774539c;
  border-radius: 6px;
  box-shadow: 0 5px 40px #0007;
  min-height: 116px;
}
.hud-hero {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 16px 13px 12px;
  border-right: 1px solid #3b4f4055;
  flex: 1;
  min-width: 0;
}
.hud-portrait {
  width: 62px;
  height: 80px;
  position: relative;
  flex-shrink: 0;
  border: 1px solid #a48c53;
  border-radius: 3px;
}
.hud-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
}
.hud-level {
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 23px;
  height: 23px;
  background: #29392d;
  border: 1px solid #b49b5b;
  border-radius: 50%;
  color: #e8d6a0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
}
.hud-stats {
  min-width: 129px;
  flex: 1;
}
.hud-stats h3 {
  font: 500 16px var(--heading);
  letter-spacing: 0.5px;
  color: #e7e4d0;
}
.hud-hero-role {
  font-size: 7px;
  letter-spacing: 0.8px;
  color: #90a68f;
  margin: 4px 0 9px;
}
.resource-bar {
  height: 13px;
  background: #081914;
  border: 1px solid #3c5a3e77;
  position: relative;
  margin-top: 4px;
  border-radius: 2px;
  overflow: hidden;
}
.resource-bar i {
  height: 100%;
  display: block;
  transition: width 0.15s linear;
  background: linear-gradient(90deg, #528b67, #91c181);
  box-shadow: 0 0 5px #87cf8966;
}
.resource-bar.mana i {
  background: linear-gradient(90deg, #355f8b, #7ab2c5);
}
.resource-bar.mana {
  height: 11px;
  border-color: #314b6277;
  background: #0c1726;
}
.resource-bar span {
  position: absolute;
  inset: 0;
  text-align: center;
  color: #e6edde;
  font-size: 7px;
  line-height: 11px;
  text-shadow: 0 1px 3px #000;
  font-variant-numeric: tabular-nums;
}
.resource-bar.mana span {
  line-height: 9px;
  font-size: 6px;
}
.xp-line {
  height: 2px;
  background: #333a24;
  margin-top: 6px;
}
.xp-line i {
  display: block;
  height: 100%;
  background: #b6a461;
  transition: width 0.3s;
}
.hud-abilities {
  display: flex;
  gap: 8px;
  padding: 20px 13px;
  align-items: center;
}
.ability-button {
  position: relative;
  width: 52px;
  height: 63px;
  border: 1px solid #8b774c;
  background: radial-gradient(ellipse, #3d4932, #1d2d27);
  border-radius: 3px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ddc183;
  box-shadow: inset 0 0 15px #0004;
}
.ability-button > .icon {
  width: 29px;
  height: 29px;
}
.ability-key {
  position: absolute;
  left: 4px;
  top: 3px;
  font-size: 9px;
  font-weight: 800;
  color: #efe3bd;
  z-index: 3;
  text-shadow: 0 2px 3px #000;
}
.ability-mana {
  position: absolute;
  right: 4px;
  bottom: 3px;
  font-size: 7px;
  color: #a0c6d6;
  z-index: 3;
}
.ability-button.ultimate {
  border-color: #a79464;
  background: radial-gradient(ellipse, #3d493b, #27362c);
  margin-left: 3px;
}
.ability-button.unavailable {
  filter: saturate(0.3);
  border-color: #415342;
  color: #72917b;
}
.ability-button.targeting {
  border-color: #dfe9b5;
  box-shadow: 0 0 18px #d5d39555;
  background: #52613a;
}
.ability-cooldown {
  position: absolute;
  inset: 0;
  background: #08141bd0;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 600;
  color: #dfdfc7;
  z-index: 2;
}
.ability-cooldown .icon {
  width: 20px;
  height: 20px;
  color: #98a695;
}
.ability-button:disabled {
  opacity: 1;
  cursor: default;
}
.ability-button:hover:not(:disabled) {
  border-color: #f3dba1;
  box-shadow: 0 0 13px #e5b75630;
}
.hud-economy {
  width: 115px;
  display: flex;
  flex-direction: column;
  padding: 14px 12px;
  align-items: center;
  border-left: 1px solid #3b4f4055;
}
.shop-button {
  color: #e0c188;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 4px 0;
  font-weight: 700;
  white-space: nowrap;
}
.shop-button .icon {
  width: 15px;
  height: 15px;
}
.shop-label {
  font-size: 6px;
  letter-spacing: 1.5px;
  color: #879c85;
  padding-top: 2px;
}
.inventory-slots {
  display: grid;
  grid-template-columns: repeat(3, 25px);
  gap: 5px;
  margin-top: 13px;
}
.inventory-slot {
  width: 25px;
  height: 26px;
  border: 1px solid #43553d;
  border-radius: 2px;
  background: #0d1c16cc;
  display: grid;
  place-items: center;
  color: #4d644c;
  font-size: 16px;
}
.inventory-slot .icon {
  width: 17px;
  height: 17px;
}
.inventory-slot.filled {
  background: #354130;
  border-color: #81784c;
  color: var(--gold);
}
.hud-controls {
  display: flex;
  justify-content: center;
  gap: 11px;
  font-size: 6px;
  letter-spacing: 0.1px;
  color: #94a78d;
  margin-top: 9px;
  text-shadow: 0 1px 3px #000;
}
.hud-controls b {
  font-weight: 700;
  color: #d4d6bc;
  margin-right: 3px;
}
.recall-progress {
  position: absolute;
  bottom: 148px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  text-align: center;
  font-size: 9px;
  color: #b0c9db;
}
.recall-progress > div {
  height: 5px;
  background: #153148;
  border: 1px solid #6686a3;
  margin-top: 8px;
  border-radius: 3px;
  overflow: hidden;
}
.recall-progress i {
  display: block;
  height: 100%;
  background: #86d0e3;
  transition: width 0.15s;
}
.recall-progress small {
  display: block;
  font-size: 7px;
  margin-top: 6px;
  color: #89a8b1;
}
.right-commands {
  position: absolute;
  bottom: 37px;
  right: 20px;
  width: 179px;
  z-index: 5;
}
.ping-buttons {
  display: flex;
  background: #11211ae6;
  border: 1px solid #5264418c;
  border-radius: 4px;
  overflow: hidden;
}
.ping-buttons button {
  display: flex;
  flex: 1;
  gap: 8px;
  flex-direction: column;
  align-items: center;
  padding: 11px 0;
  color: #b6c29c;
  border-right: 1px solid #43563877;
}
.ping-buttons button:last-child {
  border: 0;
}
.ping-buttons button:hover,
.ping-buttons button.active {
  background: #435038;
  color: var(--gold-light);
}
.ping-buttons .icon {
  width: 18px;
  height: 18px;
}
.ping-buttons small {
  font-size: 6px;
  letter-spacing: 0.7px;
}
.recall-button,
.camera-button {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 8px;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #40563f66;
  background: #11221cb3;
  border-radius: 3px;
  color: #9dac8e;
  font-size: 8px;
}
.recall-button .icon,
.camera-button .icon {
  width: 14px;
  height: 14px;
}
.recall-button kbd,
.camera-button kbd {
  font-size: 6px;
  height: 17px;
  min-width: 18px;
  padding: 0 4px;
  margin-left: auto;
}
.camera-button {
  margin-top: 5px;
  border-color: transparent;
  background: #13231a77;
  padding: 6px 8px;
  color: #819579;
}
.camera-button:hover,
.recall-button:hover {
  background: #35432a;
}
.recall-button:disabled {
  opacity: 0.55;
}
#cast-hint {
  position: absolute;
  left: 50%;
  bottom: 186px;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 10px;
  color: #e0daa3;
  text-shadow: 0 2px 5px #000;
  background: #172b23dd;
  border: 1px solid #6b79514d;
  border-radius: 4px;
  padding: 10px 15px;
  white-space: nowrap;
}
#cast-hint small {
  color: #9cae95;
  margin-left: 16px;
  font-size: 8px;
}
#game-message {
  position: absolute;
  left: 50%;
  bottom: 160px;
  transform: translateX(-50%);
  z-index: 7;
  text-align: center;
  font-size: 11px;
  color: #e9c893;
  text-shadow: 0 2px 5px #000;
  pointer-events: none;
}
.game-feedback {
  padding: 9px 17px;
  background: #24291ce8;
  border: 1px solid #6c6344;
  border-radius: 4px;
  animation: toast-in 0.2s;
}
.game-feedback.error {
  color: #efbab0;
  background: #341f1bd9;
  border-color: #7c514455;
}
#target-detail {
  position: absolute;
  left: 23px;
  top: 163px;
  padding: 12px 15px;
  min-width: 150px;
  background: #12211cdc;
  border: 1px solid #4d604688;
  border-radius: 4px;
  z-index: 4;
  pointer-events: none;
}
#target-detail h3 {
  font: 500 12px var(--heading);
  color: #d7d9bf;
}
#target-detail p {
  font-size: 8px;
  color: #a2b294;
  margin-top: 6px;
}
#target-detail .protected-hint {
  font-size: 8px;
  color: var(--gold);
  max-width: 180px;
  line-height: 1.6;
  margin-top: 8px;
}
#shop-panel {
  position: absolute;
  right: 20px;
  bottom: 225px;
  width: 366px;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
  padding: 23px;
  background: linear-gradient(135deg, #1c2b27f7, #11221ff7);
  border: 1px solid #78805a9c;
  border-radius: 6px;
  z-index: 15;
  box-shadow: 0 10px 50px #0007;
  backdrop-filter: blur(12px);
}
.shop-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.shop-heading h2 {
  font: 500 21px var(--heading);
  color: #e7d4a5;
}
.shop-subtitle {
  font-size: 9px;
  color: #8fa68d;
  line-height: 1.8;
  margin-top: 6px;
}
.shop-notice {
  font-size: 9px;
  color: #cbbd83;
  background: #4a4b282e;
  border: 1px solid #887c4238;
  border-radius: 3px;
  padding: 8px 10px;
  margin-top: 14px;
}
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 16px;
}
.shop-item {
  position: relative;
  border: 1px solid #44533c;
  border-radius: 4px;
  background: #1b2b22;
  padding: 13px 11px;
  text-align: left;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.shop-item:hover:not(:disabled) {
  border-color: #b9a46e;
  background: #2e3d2a;
}
.shop-item > .icon {
  width: 25px;
  height: 25px;
  color: var(--item-color);
  margin-bottom: 10px;
}
.shop-item strong {
  font-size: 9px;
  font-weight: 700;
  color: #dae1c9;
}
.shop-item small {
  font-size: 8px;
  color: #94ac8e;
  margin-top: 5px;
}
.shop-price {
  font-size: 9px;
  color: var(--gold);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.shop-price .icon {
  width: 11px;
  height: 11px;
}
.item-recommended {
  position: absolute;
  top: 6px;
  right: 5px;
  font-size: 5px;
  letter-spacing: 0.5px;
  color: #d5c283;
}
.shop-item.owned {
  border-color: #82a47877;
  background: #29402b55;
}
.shop-bottom {
  font-size: 8px;
  line-height: 1.8;
  color: #8fa488;
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-bottom .icon {
  width: 15px;
  height: 15px;
}
.shop-subheading {
  font-size: 9px;
  letter-spacing: 1px;
  color: #d5c283;
  margin: 18px 0 2px;
}
.shop-item.shop-signature {
  border-color: #6e5f36;
  background: #27271c;
}
.shop-item.shop-signature:hover:not(:disabled) {
  border-color: #d5c283;
  background: #3a3524;
}
.shop-owned {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.shop-owned-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  color: #dae1c9;
  border: 1px solid #44533c;
  border-radius: 4px;
  background: #1b2b22;
  padding: 5px 8px;
}
.shop-owned-item .item-art {
  width: 20px;
  height: 20px;
}
.shop-owned-item .text-button {
  font-size: 8px;
  color: var(--gold);
  padding: 2px 4px;
}
.shop-empty {
  font-size: 8px;
  color: #8fa488;
}
#game-tooltip {
  position: absolute;
  z-index: 30;
  width: 270px;
  padding: 17px;
  background: #102020f5;
  border: 1px solid #6976549c;
  border-radius: 4px;
  box-shadow: 0 5px 25px #0006;
  pointer-events: none;
}
#game-tooltip h3 {
  font: 500 16px var(--heading);
  color: #e3cea1;
}
#game-tooltip p {
  font-size: 10px;
  line-height: 1.9;
  color: #aebfaa;
  margin-top: 10px;
}
#game-tooltip small {
  font-size: 8px;
  line-height: 1.8;
  color: #86afbe;
  display: block;
  margin-top: 11px;
}
#connection-overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: #08131bdd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
#connection-overlay .spinner {
  width: 35px;
  height: 35px;
  margin-bottom: 25px;
}
#connection-overlay h2 {
  font: 500 28px var(--heading);
  color: #e9d4ad;
  margin-bottom: 18px;
}
#connection-overlay p {
  font-size: 12px;
  color: #b2c3ae;
}
#connection-overlay small {
  font-size: 10px;
  color: #7f9884;
  margin-top: 12px;
}
.result-heading {
  text-align: center;
  padding: 5px 0 22px;
}
.result-heading h2 {
  font-size: 40px;
  letter-spacing: 4px;
  margin: 12px 0 8px;
  color: #e8cf93;
}
.result-heading.defeat h2 {
  color: #d4a49b;
}
.result-heading .icon {
  width: 38px;
  height: 38px;
  color: var(--gold);
}
.result-heading p {
  font-size: 11px;
  color: #9bb49b;
}
.result-team-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 14px var(--heading);
  color: var(--team-color);
  margin: 18px 0 10px;
}
.scoreboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 10px;
}
.scoreboard-table th {
  color: #7e9680;
  font-size: 7px;
  letter-spacing: 0.8px;
  font-weight: 600;
  padding: 10px;
  border-bottom: 1px solid #3e523c;
}
.scoreboard-table td {
  padding: 8px 10px;
  color: #bdcbb2;
  border-bottom: 1px solid #32493355;
}
.scoreboard-table tr.own td {
  background: #6a764019;
  color: #e5d6a4;
}
.scoreboard-table td:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
}
.scoreboard-table img {
  width: 25px;
  height: 29px;
  object-fit: cover;
  object-position: 50% 20%;
  border: 1px solid #4d634b;
  border-radius: 2px;
}
.scoreboard-table td small {
  display: block;
  font-size: 7px;
  color: #759476;
  margin-top: 3px;
}
.scoreboard-table .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
  margin-right: 3px;
}
.scoreboards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.scoreboard-bottom {
  text-align: center;
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.result-meta {
  font-size: 9px;
  color: #769076;
  text-align: center;
  margin-top: 16px;
}
@media (min-width: 1550px) {
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 335px;
    gap: 28px;
  }
  .hero-banner {
    height: 380px;
  }
  .banner-content {
    padding: 40px;
  }
  .banner-content h2 {
    font-size: 51px;
  }
  .banner-content p {
    font-size: 12px;
  }
  .hero-card {
    height: 188px;
  }
  .briefing-map {
    height: 218px;
  }
  .briefing-heading {
    padding: 22px;
  }
  .selected-hero-summary {
    padding-top: 23px;
  }
  .bot-assurance {
    margin-top: 23px;
  }
  .briefing-guide {
    margin-top: auto;
  }
  .party-card {
    padding: 22px;
  }
  .briefing-meta {
    padding: 20px 9px;
  }
}
@media (max-height: 850px) and (min-width: 1100px) {
  .topbar {
    height: 72px;
  }
  #main-content {
    padding-top: 25px;
  }
  .page-heading {
    margin-bottom: 23px;
  }
  .hero-banner {
    height: 300px;
  }
  .banner-content {
    padding: 26px 29px;
  }
  .banner-content h2 {
    font-size: 40px;
    margin: 16px 0 12px;
  }
  .roster-section {
    margin-top: 21px;
  }
  .hero-card {
    height: 145px;
  }
  .party-actions {
    margin-top: 20px;
  }
  .party-card {
    padding: 17px;
  }
  .briefing-map {
    height: 168px;
  }
  .briefing-meta {
    padding: 15px 8px;
  }
  .briefing-heading {
    padding-top: 17px;
    padding-bottom: 14px;
  }
  .selected-hero-summary {
    padding-top: 17px;
  }
  .hero-summary-quote {
    margin: 12px 0;
  }
  .bot-assurance {
    margin-top: 16px;
    padding-top: 12px;
  }
  .briefing-guide {
    margin-top: 12px;
    padding-top: 12px;
    margin-bottom: 14px;
  }
  .shell-footer {
    padding: 15px 0;
  }
  .minimap-panel {
    width: 204px;
  }
  #minimap {
    width: 200px;
    height: 200px;
  }
  #hero-hud {
    width: 595px;
  }
  .hud-hero {
    padding-right: 11px;
  }
  .hud-stats {
    min-width: 116px;
  }
  .hud-abilities {
    padding-left: 12px;
    padding-right: 12px;
  }
  .right-commands {
    width: 168px;
  }
  .roster-page .hero-card {
    height: 230px;
  }
}
@media (max-width: 1250px) {
  .topbar {
    padding: 0 27px;
    gap: 21px;
  }
  .topbar-right {
    gap: 16px;
  }
  #main-content {
    padding-left: 27px;
    padding-right: 27px;
  }
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 273px;
    gap: 20px;
  }
  .banner-content {
    padding-left: 25px;
  }
  .banner-content h2 {
    font-size: 39px;
  }
  .hero-banner {
    height: 315px;
  }
  .hero-card {
    height: 144px;
  }
  .hero-card-content {
    left: 10px;
  }
  .hero-card.taken {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .hero-card.taken img {
    filter: grayscale(0.7);
  }
  .taken-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    border-radius: 3px;
    background: #101a17ee;
    border: 1px solid #4a5550;
    color: #c9d2c7;
  }
  .lobby-pick {
    margin: 18px 0 4px;
  }
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  @media (max-width: 1100px) {
    .lobby-pick .hero-cards {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .hero-card-content strong {
    font-size: 13px;
  }
  .party-card {
    padding: 15px 12px;
    gap: 10px;
  }
  .party-card-icon {
    width: 30px;
  }
  .party-card strong {
    font-size: 10px;
  }
  .party-card small {
    font-size: 8px;
  }
  .briefing-map {
    height: 165px;
  }
  .briefing-heading {
    padding-left: 18px;
    padding-right: 18px;
  }
  .selected-hero-summary {
    padding-left: 18px;
    padding-right: 18px;
  }
  .bot-assurance {
    margin-left: 18px;
    margin-right: 18px;
  }
  .shell-footer {
    margin: 0 27px;
  }
  .shell-footer > span:nth-child(2) {
    font-size: 7px;
  }
  .instant-label {
    display: none;
  }
  .banner-content p {
    font-size: 10px;
  }
  .explore-map {
    font-size: 6px;
  }
  .minimap-panel {
    width: 180px;
  }
  #minimap {
    width: 176px;
    height: 176px;
  }
  #hero-hud {
    width: 567px;
  }
  .hud-portrait {
    width: 53px;
    height: 73px;
  }
  .hud-hero {
    gap: 10px;
    padding-left: 10px;
  }
  .hud-stats {
    min-width: 109px;
  }
  .hud-stats h3 {
    font-size: 14px;
  }
  .hud-abilities {
    padding: 18px 10px;
    gap: 6px;
  }
  .ability-button {
    width: 47px;
    height: 59px;
  }
  .hud-economy {
    width: 103px;
    padding: 14px 8px;
  }
  .right-commands {
    width: 162px;
    right: 17px;
  }
  .hud-controls {
    font-size: 5.5px;
    gap: 8px;
  }
  .hero-detail {
    grid-template-columns: 220px 1fr;
    gap: 23px;
  }
  .hero-detail .ability-explainer-grid {
    gap: 10px;
  }
  .ability-explainer {
    padding: 15px 12px;
  }
  .lobby-slot {
    gap: 10px;
  }
  .slot-label {
    font-size: 7px;
  }
  .scoreboard-table td {
    padding: 8px 6px;
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 73px;
  }
  .brand-mark {
    width: 35px;
    margin-bottom: 33px;
  }
  .nav-button {
    width: 54px;
  }
  .nav-button.active::before {
    left: -10px;
  }
  .workspace {
    margin-left: 73px;
  }
  .topbar {
    padding: 0 22px;
  }
  .wordmark {
    font-size: 17px;
  }
  .topbar-right {
    gap: 11px;
  }
  .connection em {
    display: none;
  }
  .profile-button > span:nth-child(2) {
    display: none;
  }
  #main-content {
    padding: 26px 22px;
  }
  .home-grid {
    grid-template-columns: minmax(0, 1fr) 246px;
    gap: 17px;
  }
  .banner-content {
    padding: 24px 20px;
  }
  .banner-content h2 {
    font-size: 35px;
  }
  .hero-banner {
    height: 303px;
  }
  .hero-cards {
    gap: 7px;
  }
  .hero-card {
    height: 143px;
  }
  .hero-card-content {
    left: 8px;
    bottom: 11px;
  }
  .hero-card.taken {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .hero-card.taken img {
    filter: grayscale(0.7);
  }
  .taken-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    border-radius: 3px;
    background: #101a17ee;
    border: 1px solid #4a5550;
    color: #c9d2c7;
  }
  .lobby-pick {
    margin: 18px 0 4px;
  }
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  @media (max-width: 1100px) {
    .lobby-pick .hero-cards {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .hero-card-content strong {
    font-size: 11px;
  }
  .hero-card-content small {
    font-size: 7px;
  }
  .hero-card-content small .icon {
    display: none;
  }
  .briefing-heading {
    font-size: 8px;
    padding: 17px 16px 13px;
  }
  .briefing-map {
    margin: 0 14px;
    height: 155px;
  }
  .selected-hero-summary {
    padding: 16px 15px 0;
  }
  .hero-summary-row > img {
    width: 46px;
    height: 50px;
  }
  .hero-summary-row h3 {
    font-size: 16px;
  }
  .hero-summary-quote {
    font-size: 9px;
  }
  .bot-assurance {
    margin: 15px 15px 0;
    padding-top: 12px;
    gap: 8px;
  }
  .bot-assurance strong {
    font-size: 9px;
  }
  .bot-assurance p {
    font-size: 8px;
  }
  .briefing-guide {
    margin: 12px 15px 15px;
  }
  .party-card-icon {
    display: none;
  }
  .party-card {
    padding: 16px 12px;
  }
  .shell-footer > span:nth-child(2) {
    display: none;
  }
  .section-title > span {
    font-size: 8px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .teams-grid {
    gap: 16px;
  }
  .lobby-slot {
    margin: 0 12px;
    padding: 12px 0;
  }
  .slot-label {
    display: none;
  }
  .hero-detail {
    grid-template-columns: 1fr;
  }
  .roster-page .hero-card {
    height: 220px;
  }
  .guide-map {
    min-height: 400px;
  }
  .guide-grid {
    gap: 20px;
  }
  .guide-content h2 {
    font-size: 22px;
  }
  .minimap-panel {
    width: 161px;
    bottom: 16px;
    left: 12px;
  }
  #minimap {
    width: 157px;
    height: 157px;
  }
  .right-commands {
    width: 132px;
    right: 12px;
    bottom: 37px;
  }
  .recall-button {
    font-size: 7px;
  }
  .recall-button kbd {
    display: none;
  }
  .camera-button {
    font-size: 7px;
  }
  .camera-button kbd {
    display: none;
  }
  #hero-hud {
    width: 535px;
  }
  .hud-hero {
    gap: 8px;
  }
  .hud-portrait {
    width: 48px;
    height: 71px;
  }
  .hud-stats {
    min-width: 96px;
  }
  .hud-abilities {
    padding: 18px 8px;
  }
  .ability-button {
    width: 44px;
  }
  .hud-economy {
    width: 95px;
    padding: 14px 7px;
  }
  .inventory-slots {
    grid-template-columns: repeat(3, 23px);
    gap: 4px;
  }
  .inventory-slot {
    width: 23px;
  }
  .hud-controls {
    font-size: 5px;
    gap: 7px;
  }
  .game-map-title {
    display: none;
  }
  .game-top-right .connection {
    font-size: 7px;
  }
  .scoreboards {
    gap: 14px;
  }
  .scoreboard-table th {
    padding: 8px 5px;
    font-size: 6px;
  }
  .scoreboard-table td {
    font-size: 8px;
  }
  .guide-bottom {
    gap: 15px;
  }
  .rule-card {
    padding: 18px;
  }
}
@media (max-width: 800px) {
  .home-grid {
    grid-template-columns: 1fr;
  }
  .briefing {
    display: none;
  }
  .hero-banner {
    height: 340px;
  }
  .banner-content h2 {
    font-size: 43px;
  }
  .hero-card {
    height: 180px;
  }
  .hero-card.taken {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .hero-card.taken img {
    filter: grayscale(0.7);
  }
  .taken-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    border-radius: 3px;
    background: #101a17ee;
    border: 1px solid #4a5550;
    color: #c9d2c7;
  }
  .lobby-pick {
    margin: 18px 0 4px;
  }
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  @media (max-width: 1100px) {
    .lobby-pick .hero-cards {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .hero-card-content strong {
    font-size: 14px;
  }
  .hero-card-content small {
    font-size: 8px;
  }
  .party-card-icon {
    display: grid;
  }
  .topbar-right .connection {
    display: none;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .build-badge {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-map {
    min-height: 350px;
  }
  .guide-bottom {
    grid-template-columns: 1fr;
  }
  .teams-grid {
    grid-template-columns: 1fr;
  }
  .lobby-info {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .difficulty-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .difficulty-option {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    text-align: left;
    padding: 9px 12px;
    border: 1px solid #39443e;
    border-radius: 4px;
    background: #141d1a;
    color: #cfd8d2;
    cursor: pointer;
  }
  .difficulty-option strong {
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .difficulty-option small {
    font-size: 11px;
    color: #8b978f;
  }
  .difficulty-option:hover {
    border-color: #5a675f;
  }
  .difficulty-option.selected {
    border-color: #d8b676;
    background: #1d2117;
    color: #f0e6c8;
  }
  .difficulty-option.selected small {
    color: #b3a67e;
  }
  .solo-difficulty {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #2c3531;
    border-radius: 4px;
    background: #101715;
  }
  .solo-difficulty-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #8b978f;
    margin-bottom: 8px;
  }
  .lobby-difficulty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 4px;
    padding: 14px 18px;
    border: 1px solid #2c3531;
    border-radius: 4px;
    background: #101715;
  }
  .lobby-difficulty h3 {
    font-size: 15px;
    margin: 0 0 4px;
  }
  .lobby-difficulty p {
    font-size: 12px;
    color: #8b978f;
    margin: 0;
    max-width: 420px;
  }
  .lobby-difficulty .difficulty-picker {
    min-width: 340px;
  }
  .difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid #4a5550;
    color: #c9d2c7;
  }
  .difficulty-badge .icon {
    width: 13px;
    height: 13px;
  }
  .lobby-start {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-detail {
    padding: 20px;
  }
  .roster-page .hero-cards {
    gap: 10px;
  }
  .roster-page .hero-card {
    height: 175px;
  }
  .roster-page .hero-card-content {
    left: 9px;
    bottom: 13px;
  }
  .roster-page .hero-card.taken {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .hero-card.taken img {
    filter: grayscale(0.7);
  }
  .taken-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    border-radius: 3px;
    background: #101a17ee;
    border: 1px solid #4a5550;
    color: #c9d2c7;
  }
  .lobby-pick {
    margin: 18px 0 4px;
  }
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  @media (max-width: 1100px) {
    .lobby-pick .hero-cards {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .hero-card-content strong {
    font-size: 14px;
  }
  .roster-page .hero-card-content small {
    font-size: 8px;
  }
  .ability-explainer-grid {
    gap: 10px;
  }
  .scoreboards {
    grid-template-columns: 1fr;
  }
  .modal.extra-wide {
    max-height: 94vh;
    overflow: auto;
  }
  .tutorial-grid {
    gap: 9px;
  }
  .tutorial-step {
    padding: 18px 12px;
  }
  #hero-hud {
    left: 48%;
    width: 480px;
  }
  .hud-portrait {
    display: none;
  }
  .hud-stats {
    min-width: 105px;
  }
  .hud-hero {
    padding: 13px 10px;
  }
  .minimap-panel {
    bottom: 171px;
    width: 145px;
  }
  #minimap {
    width: 141px;
    height: 141px;
  }
  .right-commands {
    width: 124px;
    bottom: 38px;
  }
  .game-top-right {
    gap: 5px;
  }
  .game-top-right .connection {
    display: none;
  }
  .match-score-box {
    min-width: 280px;
    gap: 14px;
  }
  .hud-controls {
    display: none;
  }
  .game-top-left {
    left: 12px;
  }
  .hero-hud {
    bottom: 16px;
  }
  #shop-panel {
    right: 15px;
    bottom: 165px;
  }
  .game-map-title {
    display: none;
  }
  .game-top-right {
    right: 12px;
  }
  .minimap-footer {
    font-size: 5px;
  }
  .minimap-footer button {
    font-size: 5px;
  }
  .camera-button {
    display: none;
  }
  .shell-footer {
    font-size: 7px;
  }
  .tutorial-heading h2 {
    font-size: 24px;
  }
  .modal.wide {
    max-height: 92vh;
    overflow: auto;
  }
}
@media (max-width: 550px) {
  .sidebar {
    width: 58px;
  }
  .nav-button {
    width: 44px;
    height: 55px;
  }
  .nav-button small {
    font-size: 6px;
  }
  .nav-button .icon {
    width: 20px;
    height: 20px;
  }
  .brand-mark {
    width: 30px;
    height: 40px;
    margin: 21px 0 33px;
  }
  .workspace {
    margin-left: 58px;
  }
  .topbar {
    height: 68px;
    padding: 0 16px;
    gap: 13px;
  }
  .wordmark {
    font-size: 14px;
    letter-spacing: 1px;
  }
  #page-label {
    font-size: 8px;
  }
  .topbar-right .topbar-divider,
  .topbar-right .sound-toggle {
    display: none;
  }
  .profile-avatar {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .profile-button > .icon {
    display: none;
  }
  #main-content {
    padding: 24px 15px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .page-heading p {
    font-size: 9px;
    line-height: 1.8;
  }
  .build-badge {
    display: none;
  }
  .page-heading {
    margin-bottom: 20px;
  }
  .banner-content {
    padding: 25px 21px;
  }
  .banner-content h2 {
    font-size: 37px;
  }
  .hero-banner {
    height: 330px;
  }
  .banner-content p {
    font-size: 9px;
  }
  .map-badge {
    display: none;
  }
  .explore-map {
    right: 12px;
    bottom: 14px;
    font-size: 5px;
  }
  .hero-cards {
    gap: 7px;
    grid-template-columns: repeat(5, 1fr);
  }
  .hero-card {
    height: 120px;
  }
  .hero-card-content {
    left: 4px;
    bottom: 9px;
  }
  .hero-card.taken {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .hero-card.taken img {
    filter: grayscale(0.7);
  }
  .taken-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    border-radius: 3px;
    background: #101a17ee;
    border: 1px solid #4a5550;
    color: #c9d2c7;
  }
  .lobby-pick {
    margin: 18px 0 4px;
  }
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  @media (max-width: 1100px) {
    .lobby-pick .hero-cards {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .hero-card-content strong {
    font-size: 8px;
    letter-spacing: 0;
  }
  .hero-card-content small {
    font-size: 6px;
  }
  .selected-check {
    width: 13px;
    height: 13px;
    right: 4px;
    top: 4px;
  }
  .selected-check .icon {
    width: 9px;
    height: 9px;
  }
  .role-indicator {
    display: none;
  }
  .section-title h3 {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .section-title > span {
    display: none;
  }
  .party-actions {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 18px;
  }
  .party-card {
    padding: 17px 15px;
  }
  .party-card strong {
    font-size: 11px;
  }
  .party-card small {
    font-size: 9px;
  }
  .shell-footer {
    margin: 0 15px;
    gap: 10px;
  }
  .shell-footer > span:first-child {
    font-size: 8px;
  }
  .shell-footer button {
    font-size: 7px;
  }
  .hero-detail .ability-explainer-grid {
    grid-template-columns: 1fr;
  }
  .roster-page .hero-card {
    height: 140px;
  }
  .roster-page .hero-cards {
    gap: 7px;
  }
  .roster-page .hero-card-content {
    left: 5px;
    bottom: 10px;
  }
  .roster-page .hero-card.taken {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .hero-card.taken img {
    filter: grayscale(0.7);
  }
  .taken-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    letter-spacing: 0.12em;
    padding: 3px 7px;
    border-radius: 3px;
    background: #101a17ee;
    border: 1px solid #4a5550;
    color: #c9d2c7;
  }
  .lobby-pick {
    margin: 18px 0 4px;
  }
  .lobby-pick .hero-cards {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
  @media (max-width: 1100px) {
    .lobby-pick .hero-cards {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .hero-card-content strong {
    font-size: 9px;
  }
  .roster-page .hero-card-content small {
    font-size: 6px;
  }
  .modal {
    padding: 27px 22px;
  }
  .modal h2 {
    font-size: 22px;
  }
  .tutorial-grid {
    grid-template-columns: 1fr;
  }
  .tutorial-step {
    display: flex;
    flex-direction: column;
    padding: 15px;
  }
  .tutorial-step > .icon {
    display: none;
  }
  .tutorial-step .control-keys {
    margin-top: 8px;
  }
  .modal-backdrop {
    padding: 14px;
  }
  .tutorial-heading h2 {
    font-size: 23px;
  }
  .tutorial-heading .modal-subtitle {
    margin-bottom: 10px;
  }
  .tutorial-grid {
    margin: 12px 0;
  }
  .guide-map {
    min-height: 280px;
  }
  .guide-content h2 {
    font-size: 21px;
  }
  .control-row {
    gap: 12px;
  }
  .control-row p {
    font-size: 9px;
  }
  .control-keys {
    min-width: 55px;
  }
  .lobby-info {
    padding: 20px;
  }
  .room-code {
    font-size: 23px;
    letter-spacing: 3px;
  }
  .room-code-block {
    gap: 11px;
  }
  .room-code-block > span {
    font-size: 8px;
  }
  .lobby-slot .pick-slot {
    font-size: 7px;
    padding: 5px;
  }
  .lobby-slot > img {
    width: 40px;
    height: 49px;
  }
  .slot-info h3 {
    font-size: 12px;
  }
  .slot-info p {
    font-size: 8px;
  }
  .difficulty-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .difficulty-option {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    text-align: left;
    padding: 9px 12px;
    border: 1px solid #39443e;
    border-radius: 4px;
    background: #141d1a;
    color: #cfd8d2;
    cursor: pointer;
  }
  .difficulty-option strong {
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  .difficulty-option small {
    font-size: 11px;
    color: #8b978f;
  }
  .difficulty-option:hover {
    border-color: #5a675f;
  }
  .difficulty-option.selected {
    border-color: #d8b676;
    background: #1d2117;
    color: #f0e6c8;
  }
  .difficulty-option.selected small {
    color: #b3a67e;
  }
  .solo-difficulty {
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #2c3531;
    border-radius: 4px;
    background: #101715;
  }
  .solo-difficulty-label {
    font-size: 10px;
    letter-spacing: 0.14em;
    color: #8b978f;
    margin-bottom: 8px;
  }
  .lobby-difficulty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0 4px;
    padding: 14px 18px;
    border: 1px solid #2c3531;
    border-radius: 4px;
    background: #101715;
  }
  .lobby-difficulty h3 {
    font-size: 15px;
    margin: 0 0 4px;
  }
  .lobby-difficulty p {
    font-size: 12px;
    color: #8b978f;
    margin: 0;
    max-width: 420px;
  }
  .lobby-difficulty .difficulty-picker {
    min-width: 340px;
  }
  .difficulty-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    letter-spacing: 0.1em;
    padding: 5px 10px;
    border-radius: 3px;
    border: 1px solid #4a5550;
    color: #c9d2c7;
  }
  .difficulty-badge .icon {
    width: 13px;
    height: 13px;
  }
  .lobby-start {
    padding: 20px;
  }
  .lobby-start h3 {
    font-size: 11px;
  }
  .roster-page .hero-detail {
    margin-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
.game-vignette.damaged {
  box-shadow: inset 0 0 120px 20px #b6564355;
  transition: box-shadow 0.1s;
}
.game-vignette.lowhp {
  box-shadow:
    inset 0 0 160px 35px #0005,
    inset 0 0 150px 34px rgba(200, 70, 55, calc(var(--lowhp, 0.5) * 0.6));
}
/* Gameplay-critical numbers stay readable at ordinary desktop pixel density. */
.resource-bar {
  height: 16px;
}
.resource-bar span {
  font-size: 9px;
  line-height: 14px;
}
.resource-bar.mana {
  height: 13px;
}
.resource-bar.mana span {
  font-size: 8px;
  line-height: 11px;
}
.hud-hero-role {
  font-size: 8px;
}
.shop-button {
  font-size: 14px;
}
.ability-key {
  font-size: 11px;
}
.ability-mana {
  font-size: 8px;
}
.hud-level {
  font-size: 12px;
}
.hud-controls {
  font-size: 7px;
}
.ping-buttons small {
  font-size: 7px;
}
.recall-button,
.camera-button {
  font-size: 9px;
}
.minimap-heading {
  font-size: 8px;
}
.minimap-footer {
  font-size: 7px;
}
.match-time small {
  font-size: 7px;
}
@media (max-width: 1250px) {
  .hud-controls {
    font-size: 6px;
  }
  .recall-button,
  .camera-button {
    font-size: 8px;
  }
  .minimap-footer {
    font-size: 6px;
  }
}
@media (max-width: 1050px) {
  .recall-button,
  .camera-button {
    font-size: 7px;
  }
  .minimap-footer {
    font-size: 5px;
  }
}
/* Illustrated equipment and softly lit ability materials match the hero art. */
.shop-item > .item-art {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: -5px auto 5px;
  filter: drop-shadow(0 4px 8px #0005);
  transition: transform 0.2s ease;
}
.shop-item:hover:not(:disabled) > .item-art {
  transform: translateY(-3px) scale(1.05);
}
.shop-item {
  background:
    radial-gradient(
      ellipse at 50% 15%,
      color-mix(in srgb, var(--item-color), transparent 91%),
      transparent 76%
    ),
    linear-gradient(145deg, #23332e55, #101e1b);
}
.inventory-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.inventory-slot.filled {
  overflow: visible;
}
.ability-button {
  background:
    radial-gradient(
      ellipse at 50% 30%,
      color-mix(in srgb, var(--ability-accent, #d5b780), transparent 83%),
      transparent 85%
    ),
    linear-gradient(135deg, #2a382f, #172722);
}
.ability-button > .icon {
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--ability-accent, #d5b780), transparent 60%));
}
@media (prefers-reduced-motion: reduce) {
  .shop-item > .item-art {
    transition: none;
  }
}
.scoreboard-table td img.result-item-art {
  display: inline-block;
  float: none;
  width: 22px;
  height: 24px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  margin: 0 1px;
  vertical-align: middle;
}

.solo-keepsake {
  margin-top: 16px;
}
.keepsake-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.keepsake-option {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  border: 1px solid #44533c;
  border-radius: 4px;
  background: #1b2b22;
  padding: 9px 10px;
}
.keepsake-option:hover {
  border-color: #b9a46e;
}
.keepsake-option.selected {
  border-color: var(--keepsake-color);
  background: #2e3d2a;
}
.keepsake-option strong {
  font-size: 9px;
  color: #dae1c9;
  display: block;
}
.keepsake-option small {
  font-size: 8px;
  color: #94ac8e;
  display: block;
  margin-top: 2px;
}
.keepsake-icon {
  color: var(--keepsake-color);
  flex: none;
}
.keepsake-icon .icon {
  width: 22px;
  height: 22px;
}
.lobby-pick .keepsake-picker {
  flex-direction: row;
}
.lobby-pick .keepsake-option {
  flex: 1;
}
.slot-keepsake {
  display: block;
  font-size: 8px;
  color: #d5c283;
  margin-top: 2px;
}
#augment-panel {
  position: absolute;
  left: 20px;
  top: 24%;
  width: 302px;
  padding: 20px;
  background: linear-gradient(135deg, #1c2b27f7, #11221ff7);
  border: 1px solid #78805a9c;
  border-radius: 6px;
  z-index: 15;
  box-shadow: 0 10px 50px #0007;
  backdrop-filter: blur(12px);
}
.augment-heading h2 {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #d5c283;
}
.augment-heading span {
  font-size: 8px;
  color: #8fa488;
  letter-spacing: 0.5px;
}
.augment-cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
}
.augment-card {
  position: relative;
  border: 1px solid #44533c;
  border-radius: 4px;
  background: #1b2b22;
  padding: 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.augment-card:hover {
  border-color: #d5c283;
  background: #2e3d2a;
}
.augment-card strong {
  font-size: 10px;
  color: #dae1c9;
}
.augment-card small {
  font-size: 8px;
  color: #94ac8e;
}
.augment-key {
  font-size: 7px;
  letter-spacing: 1px;
  color: #d5c283;
}
.augment-countdown {
  position: relative;
  height: 14px;
  margin-top: 12px;
  background: #0d1c16cc;
  border: 1px solid #43553d;
  border-radius: 3px;
  overflow: hidden;
}
.augment-countdown i {
  display: block;
  height: 100%;
  background: #b9a46e;
  width: 100%;
}
.augment-countdown span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 7px;
  letter-spacing: 0.5px;
  color: #e8ecda;
}
.result-build {
  display: block;
  color: #8fa488;
  font-size: 9px;
  margin-top: 1px;
}
/* Phase 3: draft, battle modes, series. */
.mode-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mode-option,
.short-toggle {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  text-align: left;
  padding: 9px 12px;
  border: 1px solid #39443e;
  border-radius: 4px;
  background: #141d1a;
  color: #cfd8d2;
  cursor: pointer;
}
.mode-option strong,
.short-toggle strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}
.mode-option small,
.short-toggle small {
  font-size: 11px;
  color: #8b978f;
}
.mode-option:hover,
.short-toggle:hover {
  border-color: #5a675f;
}
.mode-option.selected,
.short-toggle.selected {
  border-color: #d8b676;
  background: #1d2117;
  color: #f0e6c8;
}
.mode-option.selected small,
.short-toggle.selected small {
  color: #b3a67e;
}
.mode-option:disabled {
  opacity: 0.55;
  cursor: default;
}
.lobby-mode-ribbon {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid #2c3531;
  border-radius: 4px;
  background: #101715;
}
.lobby-mode-ribbon > span {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #8b978f;
}
.lobby-mode-ribbon .mode-picker {
  flex: 1;
}
.mode-picker.wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.series-line {
  margin: 14px 0 4px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: #9aa79e;
}
.series-line b {
  font-size: 13px;
}
.series-champ {
  color: #f2d488;
}
.draft-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #8b978f;
  text-align: center;
}
.draft-track {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0;
}
.draft-chip {
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.12em;
  border: 1px solid #39443e;
  color: #8b978f;
  background: #101715;
}
.draft-chip.team-0.done {
  border-color: #79d6bd;
  color: #79d6bd;
}
.draft-chip.team-1.done {
  border-color: #f18b82;
  color: #f18b82;
}
.draft-chip.current {
  border-color: #f2d488;
  color: #f2d488;
  background: #1d2117;
}
.draft-timer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  color: #f2d488;
}
.draft-timer-track {
  width: 120px;
  height: 6px;
  border-radius: 3px;
  background: #23302b;
  overflow: hidden;
}
.draft-timer-track i {
  display: block;
  height: 100%;
  width: 100%;
  background: #d8b676;
}
.draft-bans {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 4px 0 12px;
  min-height: 44px;
}
.draft-bans-empty {
  font-size: 12px;
  color: #66716a;
}
.draft-ban img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #b65643;
  filter: grayscale(1);
}
.draft-cards {
  margin-bottom: 16px;
}
.hero-card.banned {
  filter: grayscale(1);
}
.lobby-slot.pending {
  border-style: dashed;
  opacity: 0.75;
}
.slot-silhouette {
  width: 47px;
  height: 56px;
  border: 1px solid #3f5045;
  border-radius: 3px;
  background: linear-gradient(180deg, #1c2823, #131b19);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7d8f86;
  flex: none;
}
.slot-silhouette .icon {
  width: 26px;
  height: 26px;
}
.lobby-slot.ai-slot .slot-info h3 {
  color: #93a29a;
  font-weight: 400;
}
.pref-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: var(--mint);
  background: #22332c6e;
  border: 1px solid #89d4ba33;
  padding: 3px 8px 3px 3px;
  border-radius: 11px;
}
.pref-badge img {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
}
.preference-note {
  margin: 10px 2px 0;
  font-size: 12px;
  color: #8b978f;
}
.draft-phase {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 3px;
  border: 1px solid;
}
.draft-phase.ban {
  color: #f18b82;
  border-color: #b65643;
  background: #2a1512;
}
.draft-phase.pick {
  color: #79d6bd;
  border-color: #3f7d6c;
  background: #12241f;
}
.draft-timer.ban {
  color: #f18b82;
}
.draft-timer.pick {
  color: #79d6bd;
}
.draft-timer.ban .draft-timer-track i {
  background: #b65643;
}
.draft-timer.pick .draft-timer-track i {
  background: #3f7d6c;
}
.pref-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 3px;
  background: #1d2117ee;
  border: 1px solid var(--gold);
  color: var(--gold-light);
}
.hero-card.banned .pref-tag {
  border-color: #b65643;
  color: #f18b82;
}
.draft-turn-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 4px 0 14px;
  padding: 12px 16px;
  border: 1px solid #3f7d6c;
  border-radius: 4px;
  background: #12241f99;
}
.draft-turn-panel p {
  margin: 0;
  font-size: 12px;
  color: #9db3a9;
  flex: 1;
  min-width: 240px;
}
.pick-preferred {
  white-space: nowrap;
}
.pref-unavailable {
  font-size: 13px;
  color: #f2d488;
}
