.live-game .game-chrome {
  max-width: 1450px;
  margin: auto;
  border: 1px solid #c9d2bb;
  border-top: 0;
  background: #fcfbf0;
}
.live-game main {
  width: 92%;
  max-width: 1334px;
  margin: 25px auto;
  padding-inline: 0;
}
.live-game .app-header {
  min-width: 0;
}
.live-game .app-brand strong {
  font-weight: 850;
}
.live-game .app-header > .balances {
  flex-wrap: wrap;
}
.live-game .app-header-tools .ui-btn {
  font-size: 10px;
}
.live-game .app-nav {
  position: relative;
  justify-content: center;
}
.live-game .app-nav > .nav-help {
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  text-decoration: none;
  margin: 0;
  font-size: 10px;
  white-space: nowrap;
}
.live-game .app-nav > button {
  flex: 1;
  max-width: 160px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 82px;
  padding: 11px 16px;
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}
.live-game .app-nav > button > .ui-icon {
  display: block;
  width: 32px;
  height: 32px;
}
.live-game .app-nav .nav-count {
  position: absolute;
  top: 8px;
  right: 10px;
}
.live-game .shop-subnav a {
  padding: 7px 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 11px;
  color: #6b7c5c;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-game .shop-subnav a[aria-current='page'] {
  background: #e5ebd6;
  color: #4a673d;
  border-color: #c6d2b5;
}
.live-game .page-heading {
  padding: 0 0 22px;
}
.live-game .shop-hero {
  margin-bottom: 27px;
}
.live-game .hero-art > small {
  max-width: 95%;
  text-align: center;
}
.empty-hero-cards {
  display: flex;
  align-items: center;
}
.empty-hero-cards .prism-card-back {
  position: relative;
  width: 87px;
  height: auto;
  transform: rotate(-10deg) translateX(10px);
}
.empty-hero-cards .prism-card-back:nth-child(2) {
  transform: translateY(-12px);
  z-index: 2;
}
.empty-hero-cards .prism-card-back:nth-child(3) {
  transform: rotate(10deg) translateX(-10px);
}
.live-game .shop-layout {
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: start;
  gap: 24px;
}
.live-game [data-request-clock] {
  font-size: 10px;
  margin: 5px 0 13px;
}
.live-game .request {
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid #c8d4b8;
  border-left: 4px solid #8eaa73;
  background: #e7eddc;
}
.live-game .request:last-child {
  padding: 16px;
  border: 1px solid #c8d4b8;
  border-left: 4px solid #8eaa73;
}
.live-game .request h3 {
  font-size: 13px;
}
.live-game .request .customer-payout .ui-pill {
  color: #755a2a;
}
.live-game .request .customer-payout {
  margin-bottom: 9px;
}
.live-game .request .quiet-button {
  text-align: center;
  font-size: 11px;
}
.live-game .pack-shop-grid {
  gap: 14px;
}
.live-game .pack-stage .pack-art {
  transform: rotate(-4deg);
}
.live-game .pack-content .secondary-buy {
  margin-top: 8px;
  background: #f9f7e9;
}
.live-game .pack-odds-note {
  margin-top: 13px;
  font-size: 9px;
  line-height: 1.6;
  color: #68785e;
}
.live-game .starter-offer p,
.live-game .pack-balance-note {
  font-size: 11px;
  color: #69795b;
  line-height: 1.6;
  margin-top: 8px;
}
.live-game .pack-balance-note {
  margin-top: 20px;
}
.live-game .collection-filter > .button-row {
  margin-left: auto;
}
.live-game .collection-filter .filter-chip {
  font-size: 11px;
}
.live-game .advanced-filters {
  margin: 15px 0 22px;
  border: 1px solid #ced7bd;
  padding: 14px;
  background: #f9f9ed;
}
.live-game .advanced-filters > summary {
  cursor: pointer;
  font-size: 12px;
}
.live-game .advanced-filters .collection-tools {
  margin-top: 17px;
}
.live-game .advanced-filters .button-row {
  display: none;
}
.live-game .collection-grid-new {
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
}
.live-game .owned-card.collection-v0 {
  padding: 22px 13px 15px;
  background: #e8ebdc;
  border: 1px solid #c4cfb5;
  box-shadow: inset 0 0 0 5px #f4f6e8;
}
.live-game .campaign-v1 {
  background: #f7f0df;
  border-style: dashed;
}
.live-game .game-list button {
  border-bottom: 3px solid #bccda3;
}
.live-game .campaign-level h3 {
  color: #3c5838;
  font-size: 16px;
}
.live-game .team-board {
  gap: 25px;
}
.live-game dialog {
  max-width: 940px;
}
.live-game.design-preview dialog.red-pack-results-dialog {
  padding: 14px;
}
.live-game .red-pack-results-dialog .dialog-top,
.live-game .red-pack-results-dialog .summary-heading {
  margin-bottom: 10px;
}
.live-game .red-pack-results-dialog .reveal-actions {
  margin-top: 12px;
}
.live-game .pack-results {
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px 6px;
  padding: 10px;
}
.live-game .pack-results .revealed-unit {
  gap: 4px;
}
.pack-card-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.pack-card-tags .card-rarity-tag {
  font-size: 9px;
  line-height: 12px;
  white-space: nowrap;
}
.pack-card-tags .card-specialty-tags {
  justify-content: center;
  gap: 2px;
  margin-top: 0;
}
.live-game .detail-dialog-layout {
  gap: 25px;
}
.live-game .prism-face .collectible {
  height: 100%;
  width: 100%;
}
.live-game .ui-btn:disabled {
  opacity: 0.45;
}
.live-game .ui-icon-btn {
  min-height: 34px !important;
}
.live-game .demo-footer {
  max-width: 1450px;
  margin: auto;
}
.live-game .developer-panel {
  background: #f8f8ec;
  padding: 15px;
  border: 1px dashed #bac8ac;
}
@media (max-width: 1000px) {
  .live-game .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .live-game .app-nav > .nav-help {
    display: none;
  }
  .live-game .app-header > .balances {
    justify-content: flex-start;
  }
}
@media (max-width: 700px) {
  .live-game .game-chrome {
    border-inline: 0;
  }
  .live-game main {
    width: 92%;
    padding: 0;
    margin-top: 20px;
  }
  .live-game .app-header.header-v2 {
    padding: 19px 16px;
    gap: 15px 8px;
  }
  .live-game .app-header.header-v2 > .balances {
    gap: 7px;
    width: 100%;
    justify-content: space-between;
  }
  .live-game .app-header .wallet-v2 > div {
    padding: 8px 7px;
  }
  .live-game .balances strong {
    font-size: 16px;
  }
  .live-game .balances small {
    font-size: 8px;
  }
  .live-game .balances .ui-icon {
    width: 16px;
    height: 16px;
  }
  .live-game .app-header-tools .ui-btn {
    display: inline-flex;
    font-size: 9px;
    padding: 6px;
    max-width: 125px;
    white-space: normal;
  }
  .live-game .app-nav {
    padding-inline: 10px;
    gap: 4px;
  }
  .live-game .nav-v1 > button {
    min-width: 0;
    min-height: 77px;
    padding: 10px 5px;
    font-size: 10px;
  }
  .live-game .app-nav .nav-count {
    display: none;
  }
  .live-game .shop-subnav > span {
    display: none;
  }
  .live-game .shop-hero {
    margin-bottom: 22px;
  }
  .live-game .collection-filter {
    gap: 8px;
  }
  .live-game .collection-filter > .button-row {
    margin-left: 0;
    width: 100%;
  }
  .live-game .collection-filter button {
    font-size: 10px;
  }
  .live-game .collection-grid-new {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .live-game .owned-card.collection-v0 {
    padding: 20px 8px 12px;
  }
  .live-game .team-strength {
    flex-wrap: wrap;
  }
  .live-game .team-strength strong {
    font-size: 22px;
  }
  .live-game .campaign-level {
    padding: 14px 10px;
  }
  .live-game .game-list button {
    font-size: 10px;
  }
  .live-game .detail-dialog-layout {
    display: block;
  }
  .live-game .detail-info {
    margin-top: 20px;
  }
  .live-game .prism-hand .collectible {
    --card-w: 108px;
    --card-h: 150px;
  }
}

.referral-panel {
  display: grid;
  gap: 16px;
}
.referral-panel input {
  width: 100%;
  min-width: 0;
  padding: 12px;
  font: inherit;
}
.referral-history {
  margin: 0;
  padding: 0;
  list-style: none;
}
.referral-history li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  overflow-wrap: anywhere;
}
.referral-history small {
  display: block;
}
